81 lines
2.4 KiB
Plaintext
81 lines
2.4 KiB
Plaintext
$OpenBSD: patch-ROX-Filer_src_configure,v 1.4 2005/04/12 18:07:47 couderc Exp $
|
|
--- ROX-Filer/src/configure.orig Sat Jan 29 13:52:43 2005
|
|
+++ ROX-Filer/src/configure Wed Mar 16 20:58:45 2005
|
|
@@ -831,20 +831,20 @@ else
|
|
fi
|
|
|
|
|
|
-echo $ac_n "checking for GNOME VFS 2.8 or later""... $ac_c" 1>&6
|
|
-echo "configure:836: checking for GNOME VFS 2.8 or later" >&5
|
|
-if "$PKG_CONFIG" --atleast-version=2.8.0 "gnome-vfs-2.0" ; then
|
|
- LIBS="$LIBS `$PKG_CONFIG --libs gnome-vfs-2.0`"
|
|
- CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gnome-vfs-2.0`"
|
|
- cat >> confdefs.h <<\EOF
|
|
-#define HAVE_GNOME_VFS 1
|
|
-EOF
|
|
+#echo $ac_n "checking for GNOME VFS 2.8 or later""... $ac_c" 1>&6
|
|
+#echo "configure:836: checking for GNOME VFS 2.8 or later" >&5
|
|
+#if "$PKG_CONFIG" --atleast-version=2.8.0 "gnome-vfs-2.0" ; then
|
|
+# LIBS="$LIBS `$PKG_CONFIG --libs gnome-vfs-2.0`"
|
|
+# CFLAGS="$CFLAGS `$PKG_CONFIG --cflags gnome-vfs-2.0`"
|
|
+# cat >> confdefs.h <<\EOF
|
|
+##define HAVE_GNOME_VFS 1
|
|
+#EOF
|
|
+#
|
|
+# echo "$ac_t""yes" 1>&6
|
|
+#else
|
|
+# echo "$ac_t""no" 1>&6
|
|
+#fi
|
|
|
|
- echo "$ac_t""yes" 1>&6
|
|
-else
|
|
- echo "$ac_t""no" 1>&6
|
|
-fi
|
|
-
|
|
GTK_VERSION=`"$PKG_CONFIG" --modversion gtk+-2.0`
|
|
cat >> confdefs.h <<EOF
|
|
#define GTK_VERSION "$GTK_VERSION"
|
|
@@ -2380,42 +2380,6 @@ else
|
|
echo "$ac_t""no" 1>&6
|
|
fi
|
|
done
|
|
-
|
|
-
|
|
-ac_safe=`echo "X11/SM/SMlib.h" | sed 'y%./+-%__p_%'`
|
|
-echo $ac_n "checking for X11/SM/SMlib.h""... $ac_c" 1>&6
|
|
-echo "configure:2388: checking for X11/SM/SMlib.h" >&5
|
|
-if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
- echo $ac_n "(cached) $ac_c" 1>&6
|
|
-else
|
|
- cat > conftest.$ac_ext <<EOF
|
|
-#line 2393 "configure"
|
|
-#include "confdefs.h"
|
|
-#include <X11/SM/SMlib.h>
|
|
-EOF
|
|
-ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
-{ (eval echo configure:2398: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
-ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
|
|
-if test -z "$ac_err"; then
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_header_$ac_safe=yes"
|
|
-else
|
|
- echo "$ac_err" >&5
|
|
- echo "configure: failed program was:" >&5
|
|
- cat conftest.$ac_ext >&5
|
|
- rm -rf conftest*
|
|
- eval "ac_cv_header_$ac_safe=no"
|
|
-fi
|
|
-rm -f conftest*
|
|
-fi
|
|
-if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
- echo "$ac_t""yes" 1>&6
|
|
- :
|
|
-else
|
|
- echo "$ac_t""no" 1>&6
|
|
-{ echo "configure: error: Session management library (libsm) missing. It is part of the X server distribution. Try installing the libsm-dev package." 1>&2; exit 1; }
|
|
-
|
|
-fi
|
|
|
|
|
|
echo $ac_n "checking for working const""... $ac_c" 1>&6
|