aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorSteve Ellcey <sje@cup.hp.com>2005-07-03 16:05:11 +0000
committerSteve Ellcey <sje@cup.hp.com>2005-07-03 16:05:11 +0000
commit60ca704fb6e1793e5ebc31c21d56dd4c7de13fbf (patch)
tree0b6761e0e9f320e06f474686f60f0308be66f9c8 /gdb/configure
parentd01ecef67288811d520d1ffe26ac36350882b213 (diff)
downloadgdb-60ca704fb6e1793e5ebc31c21d56dd4c7de13fbf.zip
gdb-60ca704fb6e1793e5ebc31c21d56dd4c7de13fbf.tar.gz
gdb-60ca704fb6e1793e5ebc31c21d56dd4c7de13fbf.tar.bz2
* configure.ac: Add arguments to AC_DEFINE calls.
* acconfig.h: Remove file. * acinclude.m4 (AC_GNU_SOURCE): Remove definition. * configure: Regenerate. * config.in: Regenerate.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure73
1 files changed, 49 insertions, 24 deletions
diff --git a/gdb/configure b/gdb/configure
index f3b2da0..29e156f 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -2296,6 +2296,7 @@ ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
cat >>confdefs.h <<\_ACEOF
#define _GNU_SOURCE 1
_ACEOF
@@ -6700,7 +6701,8 @@ fi
done
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_LIBUNWIND 1
_ACEOF
@@ -17676,7 +17678,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getregs" >&5
echo "${ECHO_T}$gdb_cv_have_ptrace_getregs" >&6
if test $gdb_cv_have_ptrace_getregs = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_PTRACE_GETREGS 1
_ACEOF
@@ -17738,7 +17741,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_ptrace_getfpxregs" >&5
echo "${ECHO_T}$gdb_cv_have_ptrace_getfpxregs" >&6
if test $gdb_cv_have_ptrace_getfpxregs = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_PTRACE_GETFPXREGS 1
_ACEOF
@@ -17801,7 +17805,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getdbregs" >&5
echo "${ECHO_T}$gdb_cv_have_pt_getdbregs" >&6
if test $gdb_cv_have_pt_getdbregs = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_PT_GETDBREGS 1
_ACEOF
@@ -17864,7 +17869,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_pt_getxmmregs" >&5
echo "${ECHO_T}$gdb_cv_have_pt_getxmmregs" >&6
if test $gdb_cv_have_pt_getxmmregs = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_PT_GETXMMREGS 1
_ACEOF
@@ -17877,30 +17883,35 @@ fi
if test "${target}" = "${host}"; then
case "${host}" in
i[3456]86-*-linux*)
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define START_INFERIOR_TRAPS_EXPECTED 2
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define sys_quotactl 1
_ACEOF
;;
*-*-unixware* | *-*-sysv4.2* | *-*-sysv5* | *-*-interix* )
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NEW_PROC_API 1
_ACEOF
;;
*-*-solaris2.[6789] | *-*-solaris2.1[0-9])
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define NEW_PROC_API 1
_ACEOF
;;
mips-sgi-irix5*)
# Work around <sys/proc.h> needing _KMEMUSER problem on IRIX 5.
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _KMEMUSER 1
_ACEOF
@@ -18873,7 +18884,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_prfpregset_t_broken" >&5
echo "${ECHO_T}$gdb_cv_prfpregset_t_broken" >&6
if test $gdb_cv_prfpregset_t_broken = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define PRFPREGSET_T_BROKEN 1
_ACEOF
@@ -18942,7 +18954,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_procfs_piocset" >&5
echo "${ECHO_T}$gdb_cv_have_procfs_piocset" >&6
if test $gdb_cv_have_procfs_piocset = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_PROCFS_PIOCSET 1
_ACEOF
@@ -19006,7 +19019,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_l_members" >&5
echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_l_members" >&6
if test $gdb_cv_have_struct_link_map_with_l_members = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS 1
_ACEOF
@@ -19069,7 +19083,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map_with_lm_members" >&5
echo "${ECHO_T}$gdb_cv_have_struct_link_map_with_lm_members" >&6
if test $gdb_cv_have_struct_link_map_with_lm_members = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS 1
_ACEOF
@@ -19135,7 +19150,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_struct_so_map_with_som_members" >&5
echo "${ECHO_T}$gdb_cv_have_struct_so_map_with_som_members" >&6
if test $gdb_cv_have_struct_so_map_with_som_members = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS 1
_ACEOF
@@ -19198,11 +19214,13 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_have_struct_link_map32" >&5
echo "${ECHO_T}$gdb_cv_have_struct_link_map32" >&6
if test $gdb_cv_have_struct_link_map32 = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_STRUCT_LINK_MAP32 1
_ACEOF
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define _SYSCALL32 1
_ACEOF
@@ -19600,7 +19618,8 @@ echo $ECHO_N "checking for HPUX/OSF thread support... $ECHO_C" >&6
if test "$GCC" = "yes" ; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_HPUX_THREAD_SUPPORT 1
_ACEOF
@@ -19625,7 +19644,8 @@ echo $ECHO_N "checking for Solaris thread debugging library... $ECHO_C" >&6
if test -f /usr/lib/libthread_db.so.1 ; then
echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define HAVE_THREAD_DB_LIB 1
_ACEOF
@@ -19828,7 +19848,8 @@ fi
echo "$as_me:$LINENO: result: $gdb_cv_proc_service_is_old" >&5
echo "${ECHO_T}$gdb_cv_proc_service_is_old" >&6
if test $gdb_cv_proc_service_is_old = yes; then
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define PROC_SERVICE_IS_OLD 1
_ACEOF
@@ -21615,7 +21636,8 @@ if test "${ignore_sim}" = "true"; then
else
IGNORE_SIM=""
IGNORE_SIM_OBS=""
- cat >>confdefs.h <<\_ACEOF
+
+cat >>confdefs.h <<\_ACEOF
#define WITH_SIM 1
_ACEOF
@@ -21778,7 +21800,8 @@ if test "${hostfile}" != ""; then
esac
files="${files} ${GDB_XM_FILE}"
links="${links} xm.h"
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<_ACEOF
#define GDB_XM_FILE "${GDB_XM_FILE}"
_ACEOF
@@ -21795,7 +21818,8 @@ if test "${targetfile}" != ""; then
esac
files="${files} ${GDB_TM_FILE}"
links="${links} tm.h"
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<_ACEOF
#define GDB_TM_FILE "${GDB_TM_FILE}"
_ACEOF
@@ -21812,7 +21836,8 @@ if test "${nativefile}" != ""; then
esac
files="${files} ${GDB_NM_FILE}"
links="${links} nm.h"
- cat >>confdefs.h <<_ACEOF
+
+cat >>confdefs.h <<_ACEOF
#define GDB_NM_FILE "${GDB_NM_FILE}"
_ACEOF