--- configure.orig	Tue Dec 21 05:07:24 2004
+++ configure	Sun Jan 16 10:19:25 2005
@@ -5173,7 +5173,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."
@@ -22928,13 +22928,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
 /* confdefs.h.  */
 _ACEOF
@@ -22948,11 +22948,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;
 }
@@ -22997,7 +22997,7 @@
 #define HAVE_LIBGLIB 1
 _ACEOF
 
-  LIBS="-lglib $LIBS"
+  LIBS="-lglib-2.0 $LIBS"
 
 fi
 
@@ -28604,7 +28604,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
@@ -28623,7 +28623,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)"