/[gcl]/gcl/configure.in
ViewVC logotype

Diff of /gcl/configure.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.52 by camm, Wed Jun 26 19:46:13 2002 UTC revision 1.53 by camm, Wed Jun 26 21:28:00 2002 UTC
# Line 304  if test "$enable_bfd" = "yes" ; then Line 304  if test "$enable_bfd" = "yes" ; then
304          AC_CHECK_HEADER(bfd.h,          AC_CHECK_HEADER(bfd.h,
305                  AC_CHECK_LIB(bfd,bfd_init,                  AC_CHECK_LIB(bfd,bfd_init,
306                          echo 'int main() {bfd_init();bfd_openr("/dev/null",0);return 0;}' >foo.c                          echo 'int main() {bfd_init();bfd_openr("/dev/null",0);return 0;}' >foo.c
307                          MP=`$GCC -t -static -o foo foo.c -lbfd -liberty 2>&1 `                          MP=`$GCC [[ -Wl,-M ]] -static -o foo foo.c -lbfd -liberty 2>&1 | tr '()' '\012\012' | $AWK '{print $NF}' | sort | uniq`
308                          BFDLIB=`echo $MP | tr '()' '\012\012' | sort | uniq | grep libbfd.a`                          rm -f foo.c foo
309                          IBRLIB=`echo $MP | tr '()' '\012\012' | sort | uniq | grep libiberty.a`                          BFDLIB=`echo $MP | tr ' ' '\012' | grep libbfd.a`
310                            IBRLIB=`echo $MP | tr ' ' '\012' | grep libiberty.a`
311  #  #
312  # Old binutils appear to need CONST defined to const  # Old binutils appear to need CONST defined to const
313  #  #
# Line 768  if { [file exists [file join [set dir] t Line 769  if { [file exists [file join [set dir] t
769    }    }
770  ]  ]
771  EOF  EOF
772  cp conftest.tcl foo.tcl  #cp conftest.tcl foo.tcl
773    
774  AC_CHECK_PROG(TCLSH,tclsh,tclsh,${TCLSH})  AC_CHECK_PROG(TCLSH,tclsh,tclsh,${TCLSH})
775  #AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH})  #AC_CHECK_PROG(TCLSH,tclsh8.0,tclsh8.0,${TCLSH})

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26