/[gcl]/gcl/configure
ViewVC logotype

Diff of /gcl/configure

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

revision 1.39 by camm, Fri Jun 7 20:57:18 2002 UTC revision 1.39.2.1 by camm, Sat Jun 8 16:13:33 2002 UTC
# Line 2113  if eval "test \"`echo '$ac_cv_lib_'$ac_l Line 2113  if eval "test \"`echo '$ac_cv_lib_'$ac_l
2113  #define HAVE_LIBBFD 1  #define HAVE_LIBBFD 1
2114  EOF  EOF
2115    
2116                  echo "int main() {bfd_init();bfd_perror();return 0;}" >foo.c                  echo "int main() {bfd_init();xmalloc(1);return 0;}" >foo.c
2117                  MP=`$GCC -t -o foo foo.c -lbfd -liberty 2>&1 |tr '()' '  ' | ${AWK} '/\/libbfd/ || /\/libiberty/ {for (j=1;j<=NF;j++) {sub("\.so$",".a",$j); if ($j ~ "/libbfd") a=$j; if ($j ~ "/libiberty") b=$j;}} END {print a " " b}'`                  MP=`$GCC -t -o foo foo.c -static -lbfd -liberty 2>&1 |tr '()' '  ' | ${AWK} '/\/libbfd/ || /\/libiberty/ {for (j=1;j<=NF;j++) {sub("\.so$",".a",$j); if ($j ~ "/libbfd") a=$j; if ($j ~ "/libiberty") b=$j;}} END {print a " " b}'`
2118                  LIBS="$LIBS  $MP"                  LIBS="$LIBS  $MP"
2119                                    
2120  else  else

Legend:
Removed from v.1.39  
changed lines
  Added in v.1.39.2.1

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