summaryrefslogtreecommitdiff
path: root/Build/source/libs
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-29 10:17:50 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2012-02-29 10:17:50 +0000
commit93ed6d1cc8bb952f05c72f35cc0cafa2217f0e1a (patch)
treeba1d1850d14c6d3db9dd0f0ead8b9ffd067f40e2 /Build/source/libs
parentb3b83f29f4b772d782b82d7d6fc11ae6e4017e5e (diff)
obsdcompat: Drop configure test for `optreset' (result is not used)
git-svn-id: svn://tug.org/texlive/trunk@25539 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs')
-rw-r--r--Build/source/libs/obsdcompat/ChangeLog4
-rwxr-xr-xBuild/source/libs/obsdcompat/configure32
-rw-r--r--Build/source/libs/obsdcompat/configure.ac8
3 files changed, 4 insertions, 40 deletions
diff --git a/Build/source/libs/obsdcompat/ChangeLog b/Build/source/libs/obsdcompat/ChangeLog
index 22b95a1bed4..e877183cfe2 100644
--- a/Build/source/libs/obsdcompat/ChangeLog
+++ b/Build/source/libs/obsdcompat/ChangeLog
@@ -1,3 +1,7 @@
+2012-02-29 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * configure.ac: Drop test for `optreset' (result is not used).
+
2010-02-20 Peter Breitenlohner <peb@mppmu.mpg.de>
* includes.h [__MINGW32__]: Temporarily #define eof as macro
diff --git a/Build/source/libs/obsdcompat/configure b/Build/source/libs/obsdcompat/configure
index f84acabcd06..2920be6e5c6 100755
--- a/Build/source/libs/obsdcompat/configure
+++ b/Build/source/libs/obsdcompat/configure
@@ -7006,38 +7006,6 @@ $as_echo "#define HAVE___VA_COPY 1" >>confdefs.h
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether getopt has optreset support" >&5
-$as_echo_n "checking whether getopt has optreset support... " >&6; }
-if ${ac_cv_have_getopt_optreset+:} false; then :
- $as_echo_n "(cached) " >&6
-else
-
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-
-#include <getopt.h>
-
-int
-main ()
-{
- extern int optreset; optreset = 0;
- ;
- return 0;
-}
-_ACEOF
-if ac_fn_c_try_link "$LINENO"; then :
- ac_cv_have_getopt_optreset="yes"
-else
- ac_cv_have_getopt_optreset="no"
-
-fi
-rm -f core conftest.err conftest.$ac_objext \
- conftest$ac_exeext conftest.$ac_ext
-
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_getopt_optreset" >&5
-$as_echo "$ac_cv_have_getopt_optreset" >&6; }
-
CFLAGS="$CFLAGS $werror_flags"
diff --git a/Build/source/libs/obsdcompat/configure.ac b/Build/source/libs/obsdcompat/configure.ac
index 8875af50a1f..a891c5b4fe6 100644
--- a/Build/source/libs/obsdcompat/configure.ac
+++ b/Build/source/libs/obsdcompat/configure.ac
@@ -727,14 +727,6 @@ if test "x$ac_cv_have___va_copy" = "xyes" ; then
AC_DEFINE(HAVE___VA_COPY, 1, [Define if __va_copy exists])
fi
-AC_CACHE_CHECK([whether getopt has optreset support],
- ac_cv_have_getopt_optreset, [
- AC_LINK_IFELSE([AC_LANG_PROGRAM([[
-#include <getopt.h>
- ]], [[ extern int optreset; optreset = 0; ]])],[ ac_cv_have_getopt_optreset="yes" ],[ ac_cv_have_getopt_optreset="no"
- ])
-])
-
dnl Adding -Werror to CFLAGS early prevents configure tests from running.
dnl Add now.
CFLAGS="$CFLAGS $werror_flags"