mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
0652fe8939
PR: 96595 Submitted by: maintainer
113 lines
5.4 KiB
Plaintext
113 lines
5.4 KiB
Plaintext
--- configure.orig Sun May 14 16:44:32 2006
|
|
+++ configure Mon May 15 19:32:07 2006
|
|
@@ -309,7 +309,7 @@
|
|
# include <unistd.h>
|
|
#endif"
|
|
|
|
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot DLGUI_TRUE DLGUI_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB localedir GLIB_CONFIG GLIB_CFLAGS GLIB_LIBS GTK_CONFIG GTK_CFLAGS GTK_LIBS EGREP XFT_CONFIG PKG_CONFIG LIBJPEG_LIBS LIBJPEG_LDFLAGS LIBJPEG_CPPFLAGS LIBPNG_LIBS LIBPNG_CFLAGS LIBZ_LIBS LIBSSL_LIBS LIBPTHREAD_LIBS LIBPTHREAD_LDFLAGS LIBFLTK_CXXFLAGS LIBFLTK_LIBS src doc bin util lib LIBOBJS LTLIBOBJS'
|
|
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot DLGUI_TRUE DLGUI_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB CPP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE MKINSTALLDIRS MSGFMT GMSGFMT XGETTEXT MSGMERGE USE_NLS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB localedir GLIB_CONFIG GLIB_CFLAGS GLIB_LIBS GTK_CONFIG GTK_CFLAGS GTK_LIBS FLTK2_CONFIG EGREP XFT_CONFIG LIBJPEG_LIBS LIBJPEG_LDFLAGS LIBJPEG_CPPFLAGS LIBPNG_LIBS LIBPNG_CFLAGS LIBZ_LIBS LIBSSL_LIBS LIBPTHREAD_LIBS LIBPTHREAD_LDFLAGS LIBFLTK_CXXFLAGS LIBFLTK_LIBS src doc bin util lib LIBOBJS LTLIBOBJS'
|
|
ac_subst_files=''
|
|
|
|
# Initialize some variables set by options.
|
|
@@ -1952,14 +1952,6 @@
|
|
fi;
|
|
|
|
|
|
-if test x$enable_dlgui = xyes; then
|
|
- DLGUI_TRUE=
|
|
- DLGUI_FALSE='#'
|
|
-else
|
|
- DLGUI_TRUE='#'
|
|
- DLGUI_FALSE=
|
|
-fi
|
|
-
|
|
# Check whether --enable-meta_refresh or --disable-meta_refresh was given.
|
|
if test "${enable_meta_refresh+set}" = set; then
|
|
enableval="$enable_meta_refresh"
|
|
@@ -6792,11 +6784,81 @@
|
|
rm -f conf.gtktest
|
|
|
|
|
|
- echo "$as_me:$LINENO: checking Hackish check for FLTK" >&5
|
|
-echo $ECHO_N "checking Hackish check for FLTK... $ECHO_C" >&6
|
|
- LIBFLTK_CXXFLAGS=`fltk-config --cxxflags`
|
|
- LIBFLTK_LIBS=`fltk-config --ldflags`
|
|
+if test "x$enable_dlgui" = "xyes"; then
|
|
+ for ac_prog in fltk2-config fltk-config
|
|
+do
|
|
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
+set dummy $ac_prog; 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_FLTK2_CONFIG+set}" = set; then
|
|
+ echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
+else
|
|
+ case $FLTK2_CONFIG in
|
|
+ [\\/]* | ?:[\\/]*)
|
|
+ ac_cv_path_FLTK2_CONFIG="$FLTK2_CONFIG" # 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_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
+ ac_cv_path_FLTK2_CONFIG="$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
|
|
+
|
|
+ ;;
|
|
+esac
|
|
+fi
|
|
+FLTK2_CONFIG=$ac_cv_path_FLTK2_CONFIG
|
|
+
|
|
+if test -n "$FLTK2_CONFIG"; then
|
|
+ echo "$as_me:$LINENO: result: $FLTK2_CONFIG" >&5
|
|
+echo "${ECHO_T}$FLTK2_CONFIG" >&6
|
|
+else
|
|
+ echo "$as_me:$LINENO: result: no" >&5
|
|
+echo "${ECHO_T}no" >&6
|
|
+fi
|
|
+
|
|
+ test -n "$FLTK2_CONFIG" && break
|
|
+done
|
|
+test -n "$FLTK2_CONFIG" || FLTK2_CONFIG="NOTFOUND"
|
|
|
|
+ if test "x$FLTK2_CONFIG" != "xNOTFOUND" && test -x "$FLTK2_CONFIG"; then
|
|
+ fltk_version=`$FLTK2_CONFIG --version`
|
|
+ case "$fltk_version" in
|
|
+ 2.*)
|
|
+ LIBFLTK_CXXFLAGS=`$FLTK2_CONFIG --cxxflags`
|
|
+ LIBFLTK_LIBS=`$FLTK2_CONFIG --ldflags`
|
|
+ fltk2_ok="yes"
|
|
+ ;;
|
|
+ *)
|
|
+ echo "$as_me:$LINENO: result: need fltk2 -- disabling fltk support" >&5
|
|
+echo "${ECHO_T}need fltk2 -- disabling fltk support" >&6
|
|
+ fltk2_ok="no"
|
|
+ ;;
|
|
+ esac
|
|
+ else
|
|
+ fltk2_ok="no"
|
|
+ fi
|
|
+else
|
|
+ fltk2_ok="no"
|
|
+fi
|
|
+
|
|
+
|
|
+if test x$fltk2_ok = xyes; then
|
|
+ DLGUI_TRUE=
|
|
+ DLGUI_FALSE='#'
|
|
+else
|
|
+ DLGUI_TRUE='#'
|
|
+ DLGUI_FALSE=
|
|
+fi
|
|
|
|
if test "x$enable_jpeg" = "xyes"; then
|
|
|