diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-12-09 20:40:34 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-12-09 20:40:34 (GMT) |
commit | 414d7b3bbfad8ec16237c3708af188ecaee62886 (patch) | |
tree | bbe6210f1426dabef9dcedc0d7d025f79fae6225 /configure | |
parent | cce8b9505201c95443798341d3d6176922db9253 (diff) | |
download | Doxygen-414d7b3bbfad8ec16237c3708af188ecaee62886.zip Doxygen-414d7b3bbfad8ec16237c3708af188ecaee62886.tar.gz Doxygen-414d7b3bbfad8ec16237c3708af188ecaee62886.tar.bz2 |
Doxygen-1.2.12-20011209
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 52 |
1 files changed, 28 insertions, 24 deletions
@@ -216,27 +216,29 @@ if test "$f_plf_auto" = NO; then fi #- check for qt -------------------------------------------------------------- -# -# echo -n " Checking for Qt..." -# if test -z "$QTDIR"; then -# echo "QTDIR not set!" -# echo -# echo "tmake requires the QTDIR environment variable to be set." -# echo "check your Qt installation!" -# exit 2 -# else -# if test ! -d "$QTDIR/lib"; then -# echo "QTDIR is set, but library directory does not exist!" -# exit 2 -# fi -# if test ! -d "$QTDIR/include"; then -# echo "QTDIR is set, but include directory does not exist!" -# exit 2 -# fi -# echo " headers $QTDIR/include," -# echo " libraries $QTDIR/lib" -# fi -# + +if test "$f_wizard" = YES; then + echo -n " Checking for Qt..." + if test -z "$QTDIR"; then + echo "QTDIR not set!" + echo + echo "tmake requires the QTDIR environment variable to be set." + echo "check your Qt installation!" + exit 2 + else + if test ! -d "$QTDIR/lib"; then + echo "QTDIR is set, but library directory does not exist!" + exit 2 + fi + if test ! -d "$QTDIR/include"; then + echo "QTDIR is set, but include directory does not exist!" + exit 2 + fi + echo " headers $QTDIR/include," + echo " libraries $QTDIR/lib" + fi +fi + # - check for make ------------------------------------------------------------ echo -n " Checking for GNU make tool... " @@ -275,9 +277,11 @@ if test "$f_insttool" = NO; then for i in $install_names; do for j in $install_dirs; do if test -x "$j/$i"; then - install_found=YES - install_prog="$j/$i" - break 2 + if test -n "`$j/$i --version 2>/dev/null | grep fileutils`"; then + install_found=YES + install_prog="$j/$i" + break 2 + fi fi done done |