ac_subst_vars='LTLIBOBJS
LIBOBJS
+NM_TRANSFORM_NAME
+GAS_TRANSFORM_NAME
+READELF_TRANSFORM_NAME
+STRIP_TRANSFORM_NAME
+EXTRA_RULES
EGREP
GREP
CPP
ac_subst_files=''
ac_user_opts='
enable_option_checking
-with_stabs
enable_gdbtk
enable_shared
'
LIBS
CPPFLAGS
CPP'
-ac_subdirs_all='gdb.hp
-gdb.cell
-gdb.stabs
-gdb.gdbtk'
+ac_subdirs_all='gdb.gdbtk'
# Initialize some variables set by options.
ac_init_help=
cat <<\_ACEOF
+Program names:
+ --program-prefix=PREFIX prepend PREFIX to installed program names
+ --program-suffix=SUFFIX append SUFFIX to installed program names
+ --program-transform-name=PROGRAM run sed PROGRAM on installed program names
+
System types:
--build=BUILD configure for building on BUILD [guessed]
--host=HOST cross-compile to build programs to run on HOST [BUILD]
--enable-gtk enable gdbtk graphical user interface (GUI)
--enable-shared build shared libraries deault=yes
-Optional Packages:
- --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
- --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
- --with-stabs arrange to use stabs instead of host debug format
-
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
fi
-# Add HP-specific tests when appropriate.
-case $target in
- hppa*-*-hpux*)
-
-
-subdirs="$subdirs gdb.hp"
- ;;
-esac
-
-# Add Cell/B.E. specific tests when appropriate.
-# We need support for both PowerPC and SPU targets configured in.
-case $target in
- powerpc*-*-linux*)
- have_spu_target=no
- for targ in `echo $enable_targets | sed 's/,/ /g'`
- do
- case "${targ}" in
- spu*|all) have_spu_target=yes ;;
- esac
- done
- if test x$have_spu_target = xyes; then
- subdirs="$subdirs gdb.cell"
-
- fi
- ;;
-esac
-
-# With stabs.
-
-# Check whether --with-stabs was given.
-if test "${with_stabs+set}" = set; then :
- withval=$with_stabs;
-else
- # We enable stabs tests by default on selected targets.
-case $target in
- powerpc-*-aix* \
- | rs6000-*-aix* \
- | *-*-*bsd* \
- | *-*-go32* \
- | *-*-linux* \
- | *-*-lynxos* \
- | *-sun-* \
- | hppa*-*-* \
- | *-*-elf* \
- | *-*-cygwin* \
- | *-*-mingw* \
- )
- with_stabs=yes ;;
- *)
- with_stabs=no ;;
-esac
-fi
-
-
-# Add stabs tests when appropriate.
-if test $with_stabs = yes; then
- subdirs="$subdirs gdb.stabs"
-
-fi
-
# Enable gdbtk.
# Check whether --enable-gdbtk was given.
if test "${enable_gdbtk+set}" = set; then :
enableval=$enable_gdbtk;
else
- if test -d $srcdir/gdb.gdbtk; then
+ if test -d $srcdir/../gdbtk && test -d $srcdir/gdb.gdbtk; then
enable_gdbtk=yes
else
enable_gdbtk=no
# Add gdbtk tests when appropriate.
if test $enable_gdbtk = yes; then
- subdirs="$subdirs gdb.gdbtk"
+
+
+subdirs="$subdirs gdb.gdbtk"
fi
fi ;;
darwin* | rhapsody*)
RPATH_ENVVAR=DYLD_LIBRARY_PATH ;;
- hpux*)
- RPATH_ENVVAR=SHLIB_PATH ;;
esac
fi
-ac_config_files="$ac_config_files Makefile gdb.ada/Makefile gdb.arch/Makefile gdb.asm/Makefile gdb.base/Makefile gdb.cp/Makefile gdb.disasm/Makefile gdb.dwarf2/Makefile gdb.fortran/Makefile gdb.server/Makefile gdb.java/Makefile gdb.mi/Makefile gdb.modula2/Makefile gdb.objc/Makefile gdb.opt/Makefile gdb.pascal/Makefile gdb.python/Makefile gdb.reverse/Makefile gdb.threads/Makefile gdb.trace/Makefile gdb.xml/Makefile"
+if test "${build}" = "${host}" -a "${host}" = "${target}"; then
+ case "${host}" in
+ *gnu*)
+ EXTRA_RULES=read1
+ ;;
+ esac
+fi
+
+
+# Transform the name of some programs and generate the lib/pdtrace
+# test tool.
+test "$program_prefix" != NONE &&
+ program_transform_name="s&^&$program_prefix&;$program_transform_name"
+# Use a double $ so make ignores it.
+test "$program_suffix" != NONE &&
+ program_transform_name="s&\$&$program_suffix&;$program_transform_name"
+# Double any \ or $.
+# By default was `s,x,x', remove it if useless.
+ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
+program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
+
+
+ gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
+ STRIP_TRANSFORM_NAME=`echo strip | sed -e "$gdb_ac_transform"`
+ if test "x$STRIP_TRANSFORM_NAME" = x; then
+ STRIP_TRANSFORM_NAME=strip
+ fi
+
+
+
+ gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
+ READELF_TRANSFORM_NAME=`echo readelf | sed -e "$gdb_ac_transform"`
+ if test "x$READELF_TRANSFORM_NAME" = x; then
+ READELF_TRANSFORM_NAME=readelf
+ fi
+
+
+
+ gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
+ GAS_TRANSFORM_NAME=`echo as | sed -e "$gdb_ac_transform"`
+ if test "x$GAS_TRANSFORM_NAME" = x; then
+ GAS_TRANSFORM_NAME=as
+ fi
+
+
+
+ gdb_ac_transform=`echo "$program_transform_name" | sed -e 's/\\$\\$/\\$/g'`
+ NM_TRANSFORM_NAME=`echo nm | sed -e "$gdb_ac_transform"`
+ if test "x$NM_TRANSFORM_NAME" = x; then
+ NM_TRANSFORM_NAME=nm
+ fi
+
+
+ac_config_files="$ac_config_files lib/pdtrace"
+
+ac_config_files="$ac_config_files Makefile"
+
cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
for ac_config_target in $ac_config_targets
do
case $ac_config_target in
+ "lib/pdtrace") CONFIG_FILES="$CONFIG_FILES lib/pdtrace" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
- "gdb.ada/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.ada/Makefile" ;;
- "gdb.arch/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.arch/Makefile" ;;
- "gdb.asm/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.asm/Makefile" ;;
- "gdb.base/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.base/Makefile" ;;
- "gdb.cp/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.cp/Makefile" ;;
- "gdb.disasm/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.disasm/Makefile" ;;
- "gdb.dwarf2/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.dwarf2/Makefile" ;;
- "gdb.fortran/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.fortran/Makefile" ;;
- "gdb.server/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.server/Makefile" ;;
- "gdb.java/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.java/Makefile" ;;
- "gdb.mi/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.mi/Makefile" ;;
- "gdb.modula2/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.modula2/Makefile" ;;
- "gdb.objc/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.objc/Makefile" ;;
- "gdb.opt/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.opt/Makefile" ;;
- "gdb.pascal/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.pascal/Makefile" ;;
- "gdb.python/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.python/Makefile" ;;
- "gdb.reverse/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.reverse/Makefile" ;;
- "gdb.threads/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.threads/Makefile" ;;
- "gdb.trace/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.trace/Makefile" ;;
- "gdb.xml/Makefile") CONFIG_FILES="$CONFIG_FILES gdb.xml/Makefile" ;;
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
esac
esac
+
+ case $ac_file$ac_mode in
+ "lib/pdtrace":F) chmod +x lib/pdtrace ;;
+
+ esac
done # for ac_tag