freebsd-ports/net/ntop/files/patch-configure
Clement Laforet 2e7b491771 - Update to 3.0
- Add ipv6 to CATEGORIES
2004-03-23 15:06:46 +00:00

92 lines
3.4 KiB
Text

--- configure.orig Sun Mar 21 23:45:17 2004
+++ configure Tue Mar 23 14:37:28 2004
@@ -4898,7 +4898,7 @@
exit 1
;;
*1\.3\.[45]\-freebsd\-ports*)
- echo "* FreeBSD ports 1.3.4 seems to work, so we will let it slide..."
+ echo "* FreeBSD ports 1.3.5 seems to work, so we will let it slide..."
echo "*"
echo "* Fasten your seat belt and good luck! If you are injured, the"
echo "* development team will disavow any knowledge of your intentions."
@@ -20276,13 +20276,13 @@
-echo "$as_me:$LINENO: checking for g_date_julian in -lglib" >&5
-echo $ECHO_N "checking for g_date_julian in -lglib... $ECHO_C" >&6
-if test "${ac_cv_lib_glib_g_date_julian+set}" = set; then
+echo "$as_me:$LINENO: checking for g_date_new_julian in -lglib-2.0" >&5
+echo $ECHO_N "checking for g_date_new_julian in -lglib-2.0... $ECHO_C" >&6
+if test "${ac_cv_lib_glib_g_date_new_julian+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lglib $LIBS"
+LIBS="-lglib-2.0 $LIBS"
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
/* confdefs.h. */
@@ -20297,11 +20297,11 @@
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char g_date_julian ();
+char g_date_new_julian ();
int
main ()
{
-g_date_julian ();
+g_date_new_julian ();
;
return 0;
}
@@ -20318,24 +20318,24 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_lib_glib_g_date_julian=yes
+ ac_cv_lib_glib_g_date_new_julian=yes
else
echo "$as_me: failed program was:" >&5
sed 's/^/| /' conftest.$ac_ext >&5
-ac_cv_lib_glib_g_date_julian=no
+ac_cv_lib_glib_g_date_new_julian=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
-echo "$as_me:$LINENO: result: $ac_cv_lib_glib_g_date_julian" >&5
-echo "${ECHO_T}$ac_cv_lib_glib_g_date_julian" >&6
-if test $ac_cv_lib_glib_g_date_julian = yes; then
+echo "$as_me:$LINENO: result: $ac_cv_lib_glib_g_date_new_julian" >&5
+echo "${ECHO_T}$ac_cv_lib_glib_g_date_new_julian" >&6
+if test $ac_cv_lib_glib_g_date_new_julian = yes; then
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBGLIB 1
_ACEOF
- LIBS="-lglib $LIBS"
+ LIBS="-lglib-2.0 $LIBS"
fi
@@ -24989,7 +24989,7 @@
test ".${ac_cv_header_glibconfig_h}" = ".yes" &&
test ".${ac_cv_header_xmlversion_h}" = ".yes" &&
test ".${ac_cv_header_gdome_h}" = ".yes" &&
- test ".${ac_cv_lib_glib_g_date_julian}" = ".yes" &&
+ test ".${ac_cv_lib_glib_g_date_new_julian}" = ".yes" &&
test ".${ac_cv_lib_xml2_xmlCheckVersion}" = ".yes" &&
test ".${ac_cv_lib_gdome_gdome_di_saveDocToFile}" = ".yes"; then
echo "$as_me:$LINENO: result: ok" >&5
@@ -25008,7 +25008,7 @@
echo "* gdome.h...${ac_cv_header_gdome_h}"
echo "* libgdome.so or libgdome.a...${ac_cv_lib_gdome_gdome_di_saveDocToFile}"
echo "* glib.h...${ac_cv_header_glib_h}"
- echo "* libglib.so or libglib.a...${ac_cv_lib_glib_g_date_julian}"
+ echo "* libglib.so or libglib.a...${ac_cv_lib_glib_g_date_new_julian}"
echo "* glibconfig.h...${ac_cv_header_glibconfig_h}"
echo "*"
echo "* (yes means it was found, no means it was not found)"