summaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorPierre Muller <muller@ics.u-strasbg.fr>2012-11-15 14:48:25 +0000
committerPierre Muller <muller@ics.u-strasbg.fr>2012-11-15 14:48:25 +0000
commitb005e8bb9bea367a0277bc7d42f9ec91157eb3a3 (patch)
tree414662b58fe0d2df518bb0aaf24becd1b4f128d2 /gdb/configure
parent1b1933ffe271d1025d6bf92f8d6e20ea2eadc2c4 (diff)
downloadgdb-b005e8bb9bea367a0277bc7d42f9ec91157eb3a3.tar.gz
* configure.ac (AC_HEADER_STAT): Remove.
* gdb_stat.h (STAT_MACROS_BROKEN): Remove macro use and corresponding code. * configure: Regenerate. * config.in: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure42
1 files changed, 0 insertions, 42 deletions
diff --git a/gdb/configure b/gdb/configure
index 6d6fb098793..0d70d0aa1ec 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -8764,48 +8764,6 @@ fi
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
-$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
-if test "${ac_cv_header_stat_broken+set}" = set; then :
- $as_echo_n "(cached) " >&6
-else
- cat confdefs.h - <<_ACEOF >conftest.$ac_ext
-/* end confdefs.h. */
-#include <sys/types.h>
-#include <sys/stat.h>
-
-#if defined S_ISBLK && defined S_IFDIR
-extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
-#endif
-
-#if defined S_ISBLK && defined S_IFCHR
-extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
-#endif
-
-#if defined S_ISLNK && defined S_IFREG
-extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
-#endif
-
-#if defined S_ISSOCK && defined S_IFREG
-extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
-#endif
-
-_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
- ac_cv_header_stat_broken=no
-else
- ac_cv_header_stat_broken=yes
-fi
-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
-$as_echo "$ac_cv_header_stat_broken" >&6; }
-if test $ac_cv_header_stat_broken = yes; then
-
-$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
-
-fi
-
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if test "${ac_cv_header_stdc+set}" = set; then :