summaryrefslogtreecommitdiffstats
path: root/libtool.m4
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-09-06 13:59:29 +0000
committerAlexandre Oliva <aoliva@gcc.gnu.org>2000-09-06 13:59:29 +0000
commit06298abdb6d1edd8fbcd8071e0353ecc2e85e3b9 (patch)
treed2c11ae7c5b961d2ad3c22fa58daad1ae1236f8b /libtool.m4
parentDon't use CLASS_LIKELY_SPILLED in local-alloc (diff)
downloadgcc-06298abdb6d1edd8fbcd8071e0353ecc2e85e3b9.tar.gz
gcc-06298abdb6d1edd8fbcd8071e0353ecc2e85e3b9.tar.bz2
gcc-06298abdb6d1edd8fbcd8071e0353ecc2e85e3b9.tar.xz
ltconfig, [...]: Updated from libtool multi-language branch.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh, ltcf-gcj.sh: Updated from libtool multi-language branch. From-SVN: r36198
Diffstat (limited to 'libtool.m4')
-rw-r--r--libtool.m415
1 files changed, 12 insertions, 3 deletions
diff --git a/libtool.m4 b/libtool.m4
index 27718eb76af..3a4edf1755d 100644
--- a/libtool.m4
+++ b/libtool.m4
@@ -532,8 +532,10 @@ freebsd* )
532 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 532 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
533 case "$host_cpu" in 533 case "$host_cpu" in
534 i*86 ) 534 i*86 )
535 # Not sure whether the presence of OpenBSD here was a mistake.
536 # Let's accept both of them until this is cleared up.
535 changequote(,)dnl 537 changequote(,)dnl
536 lt_cv_deplibs_check_method=='file_magic OpenBSD/i[3-9]86 demand paged shared library' 538 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
537 changequote([, ])dnl 539 changequote([, ])dnl
538 lt_cv_file_magic_cmd=/usr/bin/file 540 lt_cv_file_magic_cmd=/usr/bin/file
539 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` 541 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
@@ -579,7 +581,7 @@ irix5* | irix6*)
579 ;; 581 ;;
580 582
581# This must be Linux ELF. 583# This must be Linux ELF.
582linux*) 584linux-gnu*)
583 case "$host_cpu" in 585 case "$host_cpu" in
584 alpha* | i*86 | powerpc* | sparc* | ia64* ) 586 alpha* | i*86 | powerpc* | sparc* | ia64* )
585 lt_cv_deplibs_check_method=pass_all ;; 587 lt_cv_deplibs_check_method=pass_all ;;
@@ -655,7 +657,8 @@ else
655 # Check to see if the nm accepts a BSD-compat flag. 657 # Check to see if the nm accepts a BSD-compat flag.
656 # Adding the `sed 1q' prevents false positives on HP-UX, which says: 658 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
657 # nm: unknown option "B" ignored 659 # nm: unknown option "B" ignored
658 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 660 # Tru64's nm complains that /dev/null is an invalid object file
661 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
659 ac_cv_path_NM="$tmp_nm -B" 662 ac_cv_path_NM="$tmp_nm -B"
660 break 663 break
661 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then 664 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
@@ -822,3 +825,9 @@ AC_DEFUN(AM_PROG_NM, [indir([AC_PROG_NM])])dnl
822 825
823dnl This is just to silence aclocal about the macro not being used 826dnl This is just to silence aclocal about the macro not being used
824ifelse([AC_DISABLE_FAST_INSTALL])dnl 827ifelse([AC_DISABLE_FAST_INSTALL])dnl
828
829AC_DEFUN([LT_AC_PROG_GCJ],[
830 AC_CHECK_TOOL(GCJ, gcj, no)
831 test "x${GCJFLAGS+set}" = xset || GCJFLAGS="-g -O2"
832 AC_SUBST(GCJFLAGS)
833])