2009-10-16 06:56:04 -04:00
|
|
|
$OpenBSD: patch-configure,v 1.5 2009/10/16 10:56:04 jasper Exp $
|
|
|
|
--- configure.orig Mon Sep 21 09:57:13 2009
|
|
|
|
+++ configure Fri Oct 16 02:55:53 2009
|
|
|
|
@@ -6763,10 +6763,12 @@ newos6*)
|
2007-01-18 14:31:34 -05:00
|
|
|
;;
|
|
|
|
|
2009-10-16 06:56:04 -04:00
|
|
|
openbsd*)
|
|
|
|
- if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
|
|
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
|
2007-01-18 14:31:34 -05:00
|
|
|
+ lt_cv_file_magic_cmd=/usr/bin/file
|
|
|
|
+ lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
|
2008-02-09 11:52:24 -05:00
|
|
|
+ if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
|
2007-01-18 14:31:34 -05:00
|
|
|
+ lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
|
2009-10-16 06:56:04 -04:00
|
|
|
else
|
|
|
|
- lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
|
2007-01-18 14:31:34 -05:00
|
|
|
+ lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
|
2009-10-16 06:56:04 -04:00
|
|
|
fi
|
2007-01-18 14:31:34 -05:00
|
|
|
;;
|
2009-10-16 06:56:04 -04:00
|
|
|
|
|
|
|
@@ -12643,6 +12645,11 @@ echo $ECHO_N "checking for libgtop sysdeps directory..
|
2006-04-02 08:21:00 -04:00
|
|
|
libgtop_need_server=yes
|
2009-10-16 06:56:04 -04:00
|
|
|
libgtop_postinstall='chgrp kmem $(bindir)/libgtop_server2 && chmod 2755 $(bindir)/libgtop_server2'
|
2006-04-02 08:21:00 -04:00
|
|
|
;;
|
2009-10-16 06:56:04 -04:00
|
|
|
+ openbsd*)
|
|
|
|
+ libgtop_sysdeps_dir=bsd
|
|
|
|
+ libgtop_use_machine_h=yes
|
|
|
|
+ libgtop_need_server=yes
|
|
|
|
+ ;;
|
2008-02-09 11:52:24 -05:00
|
|
|
freebsd*|kfreebsd*)
|
|
|
|
libgtop_sysdeps_dir=freebsd
|
2009-10-16 06:56:04 -04:00
|
|
|
libgtop_use_machine_h=yes
|
|
|
|
@@ -17730,7 +17737,7 @@ if test "${ac_cv_lib_intl_strftime+set}" = set; then
|
2007-01-18 14:31:34 -05:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
/* confdefs.h. */
|
|
|
|
_ACEOF
|
2009-10-16 06:56:04 -04:00
|
|
|
@@ -19020,7 +19027,7 @@ if test "${ac_cv_lib_intl_bindtextdomain+set}" = set;
|
2008-02-09 11:52:24 -05:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
/* confdefs.h. */
|
2007-01-18 14:31:34 -05:00
|
|
|
_ACEOF
|
2009-10-16 06:56:04 -04:00
|
|
|
@@ -19082,7 +19089,7 @@ if test "${ac_cv_lib_intl_ngettext+set}" = set; then
|
2008-02-09 11:52:24 -05:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
2007-01-18 14:31:34 -05:00
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
2008-02-09 11:52:24 -05:00
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
/* confdefs.h. */
|
|
|
|
_ACEOF
|
2009-10-16 06:56:04 -04:00
|
|
|
@@ -19144,7 +19151,7 @@ if test "${ac_cv_lib_intl_dgettext+set}" = set; then
|
2007-01-18 14:31:34 -05:00
|
|
|
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
|
|
else
|
|
|
|
ac_check_lib_save_LIBS=$LIBS
|
|
|
|
-LIBS="-lintl $LIBS"
|
2008-02-09 11:52:24 -05:00
|
|
|
+LIBS="-lintl -liconv $LIBS"
|
2007-01-18 14:31:34 -05:00
|
|
|
cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
/* confdefs.h. */
|
|
|
|
_ACEOF
|
2009-10-16 06:56:04 -04:00
|
|
|
@@ -19978,11 +19985,6 @@ glib_save_datarootdir="$datarootdir"
|
2008-02-09 11:52:24 -05:00
|
|
|
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
|
|
test "x$exec_prefix" = xNONE && exec_prefix=$prefix
|
|
|
|
datarootdir=`eval echo "${datarootdir}"`
|
|
|
|
-if test "x$CATOBJEXT" = "x.mo" ; then
|
|
|
|
- localedir=`eval echo "${libdir}/locale"`
|
|
|
|
-else
|
2009-10-16 06:56:04 -04:00
|
|
|
- localedir=`eval echo "${datadir}/locale"`
|
2008-02-09 11:52:24 -05:00
|
|
|
-fi
|
|
|
|
prefix="$glib_save_prefix"
|
|
|
|
exec_prefix="$glib_save_exec_prefix"
|
|
|
|
datarootdir="$glib_save_datarootdir"
|
2009-10-16 06:56:04 -04:00
|
|
|
@@ -22536,9 +22538,9 @@ cat confdefs.h >>conftest.$ac_ext
|
2008-02-09 11:52:24 -05:00
|
|
|
cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
/* end confdefs.h. */
|
2009-10-16 06:56:04 -04:00
|
|
|
|
|
|
|
+#include <sys/param.>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <sys/mount.h>
|
|
|
|
-#include <sys/fs_types.h>
|
|
|
|
int
|
|
|
|
main ()
|
|
|
|
{
|