summaryrefslogtreecommitdiff
path: root/net/ntop/files/patch-configure
blob: 3f0bbae6a3df689f59175b72e35f4278a42cc2eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
--- 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)"