Commit 608e1e0c by Nathanael Nerode

Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).

	* Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
	Replace glibcpp_toolexeclibdir with toolexeclibdir.
	* configure.in: Remove glibcpp_toolexecdir (unused).
	Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
	config.h or stamp-h (unused).  Move one comment to the right place.
	* configure: Regenerate.
	* config.h.in: Remove (unused).

From-SVN: r80554
parent 88b16960
2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org> 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
Replace glibcpp_toolexeclibdir with toolexeclibdir.
* configure.in: Remove glibcpp_toolexecdir (unused).
Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
config.h or stamp-h (unused). Move one comment to the right place.
* configure: Regenerate.
* config.h.in: Remove (unused).
* config.h.in: Regenerate with autoheader. * config.h.in: Regenerate with autoheader.
* Makefile.in: Remove (unused) gcc_version_trigger. * Makefile.in: Remove (unused) gcc_version_trigger.
......
...@@ -36,9 +36,7 @@ target_noncanonical = @target_noncanonical@ ...@@ -36,9 +36,7 @@ target_noncanonical = @target_noncanonical@
gcc_version = @gcc_version@ gcc_version = @gcc_version@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
toplevel_srcdir = @toplevel_srcdir@ toplevel_srcdir = @toplevel_srcdir@
toolexecdir = @glibcpp_toolexecdir@ toolexeclibdir = @toolexeclibdir@
glibcpp_toolexecdir = @glibcpp_toolexecdir@
glibcpp_toolexeclibdir = @glibcpp_toolexeclibdir@
top_builddir = . top_builddir = .
...@@ -255,12 +253,12 @@ doc: info dvi html ...@@ -255,12 +253,12 @@ doc: info dvi html
libobjc.la: $(OBJS) libobjc.la: $(OBJS)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \ $(LIBTOOL_LINK) $(CC) -o $@ $(OBJS) \
-rpath $(glibcpp_toolexeclibdir) \ -rpath $(toolexeclibdir) \
-version-info $(LIBOBJC_VERSION) -version-info $(LIBOBJC_VERSION)
libobjc_gc.la: $(OBJS_GC) libobjc_gc.la: $(OBJS_GC)
$(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) \ $(LIBTOOL_LINK) $(CC) -o $@ $(OBJS_GC) \
-rpath $(glibcpp_toolexeclibdir) \ -rpath $(toolexeclibdir) \
-version-info $(LIBOBJC_GC_VERSION) -version-info $(LIBOBJC_GC_VERSION)
# #
...@@ -311,14 +309,14 @@ ${srcdir}/configure: configure.in ...@@ -311,14 +309,14 @@ ${srcdir}/configure: configure.in
install: install-libs install-headers install: install-libs install-headers
install-libs: installdirs install-libs: installdirs
$(SHELL) $(toplevel_srcdir)/mkinstalldirs $(DESTDIR)$(glibcpp_toolexeclibdir) $(SHELL) $(toplevel_srcdir)/mkinstalldirs $(DESTDIR)$(toolexeclibdir)
$(LIBTOOL_INSTALL) $(INSTALL) libobjc.la $(DESTDIR)$(glibcpp_toolexeclibdir); $(LIBTOOL_INSTALL) $(INSTALL) libobjc.la $(DESTDIR)$(toolexeclibdir);
if [ "$(OBJC_BOEHM_GC)" ]; then \ if [ "$(OBJC_BOEHM_GC)" ]; then \
$(LIBTOOL_INSTALL) $(INSTALL) libobjc_gc.la \ $(LIBTOOL_INSTALL) $(INSTALL) libobjc_gc.la \
$(DESTDIR)$(glibcpp_toolexeclibdir);\ $(DESTDIR)$(toolexeclibdir);\
fi fi
$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="$@" $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO="$@"
@-$(LIBTOOL) --mode=finish $(DESTDIR)$(glibcpp_toolexeclibdir) @-$(LIBTOOL) --mode=finish $(DESTDIR)$(toolexeclibdir)
# Copy Objective C headers to installation include directory. # Copy Objective C headers to installation include directory.
install-headers: install-headers:
......
/* config.h.in. Generated from configure.in by autoheader. */
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have the <sched.h> header file. */
#undef HAVE_SCHED_H
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
AC_PREREQ(2.59) AC_PREREQ(2.59)
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([objc/objc.h]) AC_CONFIG_SRCDIR([objc/objc.h])
AC_CONFIG_HEADER(config.h)
# We need the following definitions because AC_PROG_LIBTOOL relies on them # We need the following definitions because AC_PROG_LIBTOOL relies on them
PACKAGE=libobjc PACKAGE=libobjc
...@@ -125,34 +124,30 @@ gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([ ...@@ -125,34 +124,30 @@ gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*\"\([
gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'` gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
AC_SUBST(gcc_version) AC_SUBST(gcc_version)
# Calculate glibcpp_toolexecdir, glibcpp_toolexeclibdir # Calculate toolexeclibdir
case ${version_specific_libs} in case ${version_specific_libs} in
yes) yes)
# Need the gcc compiler version to know where to install libraries # Need the gcc compiler version to know where to install libraries
# and header files if --enable-version-specific-runtime-libs option # and header files if --enable-version-specific-runtime-libs option
# is selected. # is selected.
glibcpp_toolexecdir='$(libdir)/gcc/$(target_noncanonical)' toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
glibcpp_toolexeclibdir='$(toolexecdir)/'${gcc_version}'$(MULTISUBDIR)'
;; ;;
no) no)
if test -n "$with_cross_host" && if test -n "$with_cross_host" &&
test x"$with_cross_host" != x"no"; then test x"$with_cross_host" != x"no"; then
glibcpp_toolexecdir='$(exec_prefix)/$(target_noncanonical)'
glibcpp_toolexeclibdir='$(toolexecdir)/lib'
else
# Install a library built with a cross compiler in tooldir, not libdir. # Install a library built with a cross compiler in tooldir, not libdir.
glibcpp_toolexecdir='$(libdir)/gcc-lib/$(target_noncanonical)' toolexeclibdir='$(toolexecdir)/lib'
glibcpp_toolexeclibdir='$(libdir)' else
toolexeclibdir='$(libdir)'
fi fi
multi_os_directory=`$CC -print-multi-os-directory` multi_os_directory=`$CC -print-multi-os-directory`
case $multi_os_directory in case $multi_os_directory in
.) ;; # Avoid trailing /. .) ;; # Avoid trailing /.
*) glibcpp_toolexeclibdir=$glibcpp_toolexeclibdir/$multi_os_directory ;; *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;;
esac esac
;; ;;
esac esac
AC_SUBST(glibcpp_toolexecdir) AC_SUBST(toolexeclibdir)
AC_SUBST(glibcpp_toolexeclibdir)
glibcpp_prefixdir=${prefix} glibcpp_prefixdir=${prefix}
AC_SUBST(glibcpp_prefixdir) AC_SUBST(glibcpp_prefixdir)
...@@ -218,8 +213,7 @@ AC_SUBST(GTHREAD_FLAGS) ...@@ -218,8 +213,7 @@ AC_SUBST(GTHREAD_FLAGS)
AC_CONFIG_FILES([Makefile]) AC_CONFIG_FILES([Makefile])
AC_CONFIG_COMMANDS([default], AC_CONFIG_COMMANDS([default],
[[test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h [[if test -n "$CONFIG_FILES"; then
if test -n "$CONFIG_FILES"; then
if test -n "${with_target_subdir}"; then if test -n "${with_target_subdir}"; then
# FIXME: We shouldn't need to set ac_file # FIXME: We shouldn't need to set ac_file
ac_file=Makefile ac_file=Makefile
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment