2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* configure.in: Remove the addition of sol-thread.c to the CONFIG_INITS list. This caused problems with init.c, because sol-thread.c would be grepped twice for _initialize_* functions. * configure: Ditto. * Makefile.in: Add FIXME for init.c.
This commit is contained in:
parent
f805106cd3
commit
f2c4d933e6
4 changed files with 15 additions and 2 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
|
||||||
|
|
||||||
|
* configure.in: Remove the addition of sol-thread.c to the
|
||||||
|
CONFIG_INITS list. This caused problems with init.c, because
|
||||||
|
sol-thread.c would be grepped twice for _initialize_* functions.
|
||||||
|
* configure: Ditto.
|
||||||
|
* Makefile.in: Add FIXME for init.c.
|
||||||
|
|
||||||
2000-02-07 Jim Kingdon <kingdon@redhat.com>
|
2000-02-07 Jim Kingdon <kingdon@redhat.com>
|
||||||
|
|
||||||
Clean up compiler warnings:
|
Clean up compiler warnings:
|
||||||
|
|
|
@ -687,6 +687,13 @@ uninstall: force
|
||||||
# Note that the set of files with init functions might change, or the names
|
# Note that the set of files with init functions might change, or the names
|
||||||
# of the functions might change, so this files needs to depend on all the
|
# of the functions might change, so this files needs to depend on all the
|
||||||
# object files that will be linked into gdb.
|
# object files that will be linked into gdb.
|
||||||
|
#
|
||||||
|
# FIXME: There are 2 problems with this approach. First, if the INIT_FILES
|
||||||
|
# list includes a file twice (because of some mistake somewhere else)
|
||||||
|
# the _initialize_* function will be included twice in init.c. Second,
|
||||||
|
# init.c may force unnecessary files to be linked in. Like for instance
|
||||||
|
# tui-file.c.
|
||||||
|
#
|
||||||
|
|
||||||
INIT_FILES = $(OBS) $(TSOBS) $(SUBDIR_INIT_FILES) @CONFIG_INITS@
|
INIT_FILES = $(OBS) $(TSOBS) $(SUBDIR_INIT_FILES) @CONFIG_INITS@
|
||||||
init.c: $(INIT_FILES)
|
init.c: $(INIT_FILES)
|
||||||
|
|
1
gdb/configure
vendored
1
gdb/configure
vendored
|
@ -5010,7 +5010,6 @@ EOF
|
||||||
|
|
||||||
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
|
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
|
||||||
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
|
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
|
||||||
CONFIG_INITS="${CONFIG_INITS} sol-thread.c"
|
|
||||||
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
|
echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
|
||||||
echo "configure:5016: checking for dlopen in -ldl" >&5
|
echo "configure:5016: checking for dlopen in -ldl" >&5
|
||||||
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
|
ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
|
||||||
|
|
|
@ -321,7 +321,6 @@ if test ${build} = ${host} -a ${host} = ${target} ; then
|
||||||
AC_DEFINE(HAVE_THREAD_DB_LIB)
|
AC_DEFINE(HAVE_THREAD_DB_LIB)
|
||||||
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
|
CONFIG_OBS="${CONFIG_OBS} sol-thread.o"
|
||||||
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
|
CONFIG_SRCS="${CONFIG_SRCS} sol-thread.c"
|
||||||
CONFIG_INITS="${CONFIG_INITS} sol-thread.c"
|
|
||||||
AC_CHECK_LIB(dl, dlopen)
|
AC_CHECK_LIB(dl, dlopen)
|
||||||
if test "$GCC" = "yes" ; then
|
if test "$GCC" = "yes" ; then
|
||||||
# The GNU linker requires the -export-dynamic option to make
|
# The GNU linker requires the -export-dynamic option to make
|
||||||
|
|
Loading…
Add table
Reference in a new issue