2009-05-04 21:01:25 +02:00
|
|
|
--- a/source/configure 2009-04-01 14:19:36.000000000 +0200
|
|
|
|
+++ b/source/configure 2009-04-20 13:05:12.000000000 +0200
|
|
|
|
@@ -44061,90 +44061,8 @@
|
2008-12-12 10:09:51 +01:00
|
|
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
|
|
|
-#
|
|
|
|
-#
|
|
|
|
-#
|
|
|
|
-case "$host_os" in
|
|
|
|
- *linux*)
|
|
|
|
- # glibc <= 2.3.2 has a broken getgrouplist
|
|
|
|
- if test "$cross_compiling" = yes; then
|
2009-05-04 21:01:25 +02:00
|
|
|
- { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
|
|
|
|
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
|
|
-{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
|
2008-12-12 10:09:51 +01:00
|
|
|
-See \`config.log' for more details." >&5
|
2009-05-04 21:01:25 +02:00
|
|
|
-$as_echo "$as_me: error: cannot run test program while cross compiling
|
2008-12-12 10:09:51 +01:00
|
|
|
-See \`config.log' for more details." >&2;}
|
2009-05-04 21:01:25 +02:00
|
|
|
- { (exit 1); exit 1; }; }; }
|
2008-12-12 10:09:51 +01:00
|
|
|
-else
|
|
|
|
- cat >conftest.$ac_ext <<_ACEOF
|
|
|
|
-/* confdefs.h. */
|
|
|
|
-_ACEOF
|
|
|
|
-cat confdefs.h >>conftest.$ac_ext
|
|
|
|
-cat >>conftest.$ac_ext <<_ACEOF
|
|
|
|
-/* end confdefs.h. */
|
|
|
|
-
|
|
|
|
-#include <unistd.h>
|
|
|
|
-#include <sys/utsname.h>
|
|
|
|
-main() {
|
|
|
|
- /* glibc up to 2.3 has a broken getgrouplist */
|
|
|
|
-#if defined(__GLIBC__) && defined(__GLIBC_MINOR__)
|
|
|
|
- int libc_major = __GLIBC__;
|
|
|
|
- int libc_minor = __GLIBC_MINOR__;
|
|
|
|
-
|
|
|
|
- if (libc_major < 2)
|
|
|
|
- exit(1);
|
|
|
|
- if ((libc_major == 2) && (libc_minor <= 3))
|
|
|
|
- exit(1);
|
|
|
|
-#endif
|
|
|
|
- exit(0);
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-_ACEOF
|
|
|
|
-rm -f conftest$ac_exeext
|
|
|
|
-if { (ac_try="$ac_link"
|
|
|
|
-case "(($ac_try" in
|
|
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
- *) ac_try_echo=$ac_try;;
|
|
|
|
-esac
|
2009-05-04 21:01:25 +02:00
|
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
|
-$as_echo "$ac_try_echo") >&5
|
2008-12-12 10:09:51 +01:00
|
|
|
- (eval "$ac_link") 2>&5
|
|
|
|
- ac_status=$?
|
2009-05-04 21:01:25 +02:00
|
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2008-12-12 10:09:51 +01:00
|
|
|
- (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
|
|
|
|
- { (case "(($ac_try" in
|
|
|
|
- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
|
|
- *) ac_try_echo=$ac_try;;
|
|
|
|
-esac
|
2009-05-04 21:01:25 +02:00
|
|
|
-eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
|
|
|
|
-$as_echo "$ac_try_echo") >&5
|
2008-12-12 10:09:51 +01:00
|
|
|
- (eval "$ac_try") 2>&5
|
|
|
|
- ac_status=$?
|
2009-05-04 21:01:25 +02:00
|
|
|
- $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2008-12-12 10:09:51 +01:00
|
|
|
- (exit $ac_status); }; }; then
|
|
|
|
- linux_getgrouplist_ok=yes
|
|
|
|
-else
|
2009-05-04 21:01:25 +02:00
|
|
|
- $as_echo "$as_me: program exited with status $ac_status" >&5
|
|
|
|
-$as_echo "$as_me: failed program was:" >&5
|
2008-12-12 10:09:51 +01:00
|
|
|
-sed 's/^/| /' conftest.$ac_ext >&5
|
|
|
|
-
|
|
|
|
-( exit $ac_status )
|
|
|
|
-linux_getgrouplist_ok=no
|
|
|
|
-fi
|
2009-05-04 21:01:25 +02:00
|
|
|
-rm -rf conftest.dSYM
|
2008-12-12 10:09:51 +01:00
|
|
|
-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
|
|
|
|
-fi
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- if test x"$linux_getgrouplist_ok" = x"yes"; then
|
|
|
|
-
|
|
|
|
-cat >>confdefs.h <<\_ACEOF
|
|
|
|
-#define HAVE_GETGROUPLIST 1
|
|
|
|
-_ACEOF
|
|
|
|
-
|
|
|
|
- fi
|
|
|
|
- ;;
|
|
|
|
- *)
|
|
|
|
+# Stripped glibc test which is not needed for uClibc
|
|
|
|
+linux_getgrouplist_ok=yes
|
|
|
|
|
|
|
|
for ac_func in getgrouplist
|
|
|
|
do
|
2009-05-04 21:01:25 +02:00
|
|
|
@@ -44246,8 +44164,6 @@
|
2008-12-12 10:09:51 +01:00
|
|
|
fi
|
|
|
|
done
|
|
|
|
|
|
|
|
- ;;
|
|
|
|
-esac
|
|
|
|
|
|
|
|
#
|
|
|
|
# stat64 family may need <sys/stat.h> on some systems, notably ReliantUNIX
|