mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-26 21:33:59 +08:00
configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
2002-06-30 Douglas Rupp <rupp@gnat.com> * configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure. * Makefile.in (OUTPUT_OPTION): Use. From-SVN: r55127
This commit is contained in:
parent
32c4621e89
commit
7fda878c25
@ -1,3 +1,8 @@
|
||||
2002-06-30 Douglas Rupp <rupp@gnat.com>
|
||||
|
||||
* configure.in (OUTPUT_OPTION,NO_MINUS_C_MINUS_O): Configure.
|
||||
* Makefile.in (OUTPUT_OPTION): Use.
|
||||
|
||||
2002-06-22 Peter Breitenlohner <peb@mppmu.mpg.de>
|
||||
|
||||
* Makefile.in (install_to_libdir): Add $(DESTDIR).
|
||||
|
@ -52,6 +52,9 @@ INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
mkinstalldirs = $(SHELL) $(srcdir)/../mkinstalldirs
|
||||
|
||||
# Some compilers can't handle cc -c blah.c -o foo/blah.o.
|
||||
OUTPUT_OPTION = @OUTPUT_OPTION@
|
||||
|
||||
AR = @AR@
|
||||
AR_FLAGS = rc
|
||||
|
||||
@ -117,7 +120,7 @@ COMPILE.c = $(CC) -c @DEFS@ $(LIBCFLAGS) -I. -I$(INCDIR) $(HDEFINES) @ac_libiber
|
||||
if [ x"$(PICFLAG)" != x ]; then \
|
||||
$(COMPILE.c) $(PICFLAG) $< -o pic/$@; \
|
||||
else true; fi
|
||||
$(COMPILE.c) $<
|
||||
$(COMPILE.c) $< $(OUTPUT_OPTION)
|
||||
|
||||
# NOTE: If you add new files to the library, add them to this list
|
||||
# (alphabetical), and add them to REQUIRED_OFILES, or
|
||||
|
345
libiberty/configure
vendored
345
libiberty/configure
vendored
File diff suppressed because it is too large
Load Diff
@ -100,6 +100,16 @@ AC_CHECK_TOOL(RANLIB, ranlib, :)
|
||||
|
||||
LIB_AC_PROG_CC
|
||||
|
||||
AC_PROG_CC_C_O
|
||||
# autoconf is lame and doesn't give us any substitution variable for this.
|
||||
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = no"; then
|
||||
NO_MINUS_C_MINUS_O=yes
|
||||
else
|
||||
OUTPUT_OPTION='-o $@'
|
||||
fi
|
||||
AC_SUBST(NO_MINUS_C_MINUS_O)
|
||||
AC_SUBST(OUTPUT_OPTION)
|
||||
|
||||
AC_ISC_POSIX
|
||||
AC_C_CONST
|
||||
AC_C_INLINE
|
||||
|
Loading…
Reference in New Issue
Block a user