diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-01 23:32:29 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-02 00:31:40 -0500 |
commit | d43207b0570c5d893e70efb3b14cc219d4ff1462 (patch) | |
tree | ba3ea0f23365ea73c102b04348fa0da910fb05e3 /sim/ppc | |
parent | 568432432a3942d39a67e011f02b588e8f49fef7 (diff) | |
download | gdb-d43207b0570c5d893e70efb3b14cc219d4ff1462.zip gdb-d43207b0570c5d893e70efb3b14cc219d4ff1462.tar.gz gdb-d43207b0570c5d893e70efb3b14cc219d4ff1462.tar.bz2 |
sim: ppc: move struct statfs to top-level
Diffstat (limited to 'sim/ppc')
-rw-r--r-- | sim/ppc/config.in | 3 | ||||
-rwxr-xr-x | sim/ppc/configure | 44 | ||||
-rw-r--r-- | sim/ppc/configure.ac | 24 |
3 files changed, 0 insertions, 71 deletions
diff --git a/sim/ppc/config.in b/sim/ppc/config.in index 40afa35..2a60b8d 100644 --- a/sim/ppc/config.in +++ b/sim/ppc/config.in @@ -1,8 +1,5 @@ /* config.in. Generated from configure.ac by autoheader. */ -/* Define if struct statfs is defined in <sys/mount.h> */ -#undef HAVE_STRUCT_STATFS - /* Define to the address where bug reports for this package should be sent. */ #undef PACKAGE_BUGREPORT diff --git a/sim/ppc/configure b/sim/ppc/configure index 5ec761b..14d0e91 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -3314,50 +3314,6 @@ else ac_cv_termio_cline=no fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct statfs" >&5 -$as_echo_n "checking for struct statfs... " >&6; } -if ${ac_cv_struct_statfs+:} false; then : - $as_echo_n "(cached) " >&6 -else - cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ -#include <sys/types.h> -#ifdef HAVE_SYS_PARAM_H -#include <sys/param.h> -#endif -#ifdef HAVE_SYS_MOUNT_H -#include <sys/mount.h> -#endif -#ifdef HAVE_SYS_VFS_H -#include <sys/vfs.h> -#endif -#ifdef HAVE_SYS_STATFS_H -#include <sys/statfs.h> -#endif -int -main () -{ -static struct statfs s; - ; - return 0; -} -_ACEOF -if ac_fn_c_try_compile "$LINENO"; then : - ac_cv_struct_statfs=yes -else - ac_cv_struct_statfs=no -fi -rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_statfs" >&5 -$as_echo "$ac_cv_struct_statfs" >&6; } -if test $ac_cv_struct_statfs = yes; then - -$as_echo "#define HAVE_STRUCT_STATFS 1" >>confdefs.h - -fi - diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac index 9c2d64b..13db9fc 100644 --- a/sim/ppc/configure.ac +++ b/sim/ppc/configure.ac @@ -358,30 +358,6 @@ else ac_cv_termio_cline=no fi -dnl Check for struct statfs -AC_MSG_CHECKING(for struct statfs) -AC_CACHE_VAL(ac_cv_struct_statfs, -[AC_TRY_COMPILE([#include <sys/types.h> -#ifdef HAVE_SYS_PARAM_H -#include <sys/param.h> -#endif -#ifdef HAVE_SYS_MOUNT_H -#include <sys/mount.h> -#endif -#ifdef HAVE_SYS_VFS_H -#include <sys/vfs.h> -#endif -#ifdef HAVE_SYS_STATFS_H -#include <sys/statfs.h> -#endif], -[static struct statfs s;], -ac_cv_struct_statfs=yes, ac_cv_struct_statfs=no)]) -AC_MSG_RESULT($ac_cv_struct_statfs) -if test $ac_cv_struct_statfs = yes; then - AC_DEFINE(HAVE_STRUCT_STATFS, 1, - [Define if struct statfs is defined in <sys/mount.h>]) -fi - AC_SUBST(sim_line_nr) AC_SUBST(sim_opcode) AC_SUBST(sim_switch) |