Context:
I'm doing research on library migration. I'm testing a semi-automated approach for transforming a software project that uses an obsolete third-party library to start using another functionally-equivalent library.
As has been noted in a recent post in FileZilla's development diary, FileZilla used different XML libraries, i.e., old FileZilla versions used TinyXML and new FileZilla versions use PugiXML.
Problem:
I've applied the semi-automated transformation approach on FileZilla 3.11 (which used TinyXML) and:
- generated a set of new header and source files; for simplicity assume that only two files are generated, i.e., TinyXMLNew.h and TineXMLNew.cpp
- changed all the necessary (I think) configuration files, i.e., configure.ac, src/Makefile.am, src/interface/Makefile.am,
- created an fz_check_tinyxmlnew.m4 in m4 directory and applied the necessary renamings
- defined the necessary Makefile.am in src/TinyXMLNew based on src/tinyxml/Makefile.am
- reconfigured the project using autoreconf -i -m configure.ac
- ran the script for compiling FileZilla on OSX available at this post
Code: Select all
set dummy xdg-open; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_xdgopen+:} false; then :
$as_echo_n "(cached) " >&6
else
case $xdgopen in
\\/* | ?:\\/*
fi
ac_cv_path_xdgopen="$xdgopen" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_xdgopen="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
Any help/ideas about this problem and how to resolve it would be greatly appreciated.
Thanks,
Simos