Skip to content
Snippets Groups Projects
Commit fcc22915 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

really require fltk to be *installed*
parent dcd09fb9
No related branches found
No related tags found
No related merge requests found
......@@ -2744,48 +2744,6 @@ esac
fi
FLTKCONFIG=$ac_cv_path_FLTKCONFIG
if test -n "$FLTKCONFIG"; then
echo "$as_me:$LINENO: result: $FLTKCONFIG" >&5
echo "${ECHO_T}$FLTKCONFIG" >&6
else
echo "$as_me:$LINENO: result: no" >&5
echo "${ECHO_T}no" >&6
fi
fi
if test "x${FLTKCONFIG}" = "x" ; then
# Extract the first word of "fltk-config", so it can be a program name with args.
set dummy fltk-config; ac_word=$2
echo "$as_me:$LINENO: checking for $ac_word" >&5
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
if test "${ac_cv_path_FLTKCONFIG+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
case $FLTKCONFIG in
[\\/]* | ?:[\\/]*)
ac_cv_path_FLTKCONFIG="$FLTKCONFIG" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in ${HOME}/SOURCES/fltk-1.1
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_FLTKCONFIG="$as_dir/$ac_word$ac_exec_ext"
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
test -z "$ac_cv_path_FLTKCONFIG" && ac_cv_path_FLTKCONFIG=""""
;;
esac
fi
FLTKCONFIG=$ac_cv_path_FLTKCONFIG
if test -n "$FLTKCONFIG"; then
echo "$as_me:$LINENO: result: $FLTKCONFIG" >&5
echo "${ECHO_T}$FLTKCONFIG" >&6
......
dnl "$Id: configure.in,v 1.5 2003-02-11 22:01:43 geuzaine Exp $"
dnl "$Id: configure.in,v 1.6 2003-02-11 22:09:53 geuzaine Exp $"
dnl
dnl Machine independent configuration script for Gmsh.
dnl
......@@ -90,9 +90,6 @@ if test "x$enable_gui" != "xno"; then
if test "x${FLTKCONFIG}" = "x" -a "x${FLTK_PREFIX}" != "x" ; then
AC_PATH_PROG(FLTKCONFIG,fltk-config,"",${FLTK_PREFIX})
fi
if test "x${FLTKCONFIG}" = "x" ; then
AC_PATH_PROG(FLTKCONFIG,fltk-config,"",${HOME}/SOURCES/fltk-1.1)
fi
if test "x$FLTKCONFIG" = "x"; then
AC_MSG_ERROR(Could not find fltk-config. Try --with-prefix-fltk?)
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment