/[libtool]/libtool/ltmain.in
ViewVC logotype

Diff of /libtool/ltmain.in

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

revision 1.334.2.98 by rwild, Thu Nov 24 15:22:59 2005 UTC revision 1.334.2.99 by rwild, Thu Nov 24 15:31:18 2005 UTC
# Line 3447  EOF Line 3447  EOF
3447            int main() { return 0; }            int main() { return 0; }
3448  EOF  EOF
3449            $rm conftest            $rm conftest
3450            $LTCC -o conftest conftest.c $deplibs            $LTCC $LTCFLAGS -o conftest conftest.c $deplibs
3451            if test "$?" -eq 0 ; then            if test "$?" -eq 0 ; then
3452              ldd_output=`ldd conftest`              ldd_output=`ldd conftest`
3453              for i in $deplibs; do              for i in $deplibs; do
# Line 3492  EOF Line 3492  EOF
3492                # If $name is empty we are operating on a -L argument.                # If $name is empty we are operating on a -L argument.
3493                if test "$name" != "" && test "$name" != "0"; then                if test "$name" != "" && test "$name" != "0"; then
3494                  $rm conftest                  $rm conftest
3495                  $LTCC -o conftest conftest.c $i                  $LTCC $LTCFLAGS -o conftest conftest.c $i
3496                  # Did it work?                  # Did it work?
3497                  if test "$?" -eq 0 ; then                  if test "$?" -eq 0 ; then
3498                    ldd_output=`ldd conftest`                    ldd_output=`ldd conftest`
# Line 4923  lt_fatal (const char *message, ...) Line 4923  lt_fatal (const char *message, ...)
4923    va_end (ap);    va_end (ap);
4924  }  }
4925  EOF  EOF
4926            # we should really use a build-platform specific compiler            # we should really use a build-platform specific compiler
4927            # here, but OTOH, the wrappers (shell script and this C one)            # here, but OTOH, the wrappers (shell script and this C one)
4928            # are only useful if you want to execute the "real" binary.            # are only useful if you want to execute the "real" binary.
4929            # Since the "real" binary is built for $host, then this            # Since the "real" binary is built for $host, then this
4930            # wrapper might as well be built for $host, too.            # wrapper might as well be built for $host, too.
4931            $run $LTCC -s -o $cwrapper $cwrappersource            $run $LTCC $LTCFLAGS -s -o $cwrapper $cwrappersource
4932            ;;            ;;
4933          esac          esac
4934          $rm $output          $rm $output
4935          trap "$rm $output; exit $EXIT_FAILURE" 1 2 15          trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
4936    
4937          $echo > $output "\          $echo > $output "\
4938  #! $SHELL  #! $SHELL

Legend:
Removed from v.1.334.2.98  
changed lines
  Added in v.1.334.2.99

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