/[libtool]/libtool/tests/quote.test
ViewVC logotype

Diff of /libtool/tests/quote.test

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

revision 1.4 by gary, Tue Apr 24 23:22:35 2001 UTC revision 1.5 by gary, Sat Jun 30 20:31:34 2001 UTC
# Line 36  else Line 36  else
36        # This shell has a builtin print -r that does the trick.        # This shell has a builtin print -r that does the trick.
37        echo='print -r'        echo='print -r'
38      elif test -f /bin/ksh && test "X$CONFIG_SHELL" != X/bin/ksh; then      elif test -f /bin/ksh && test "X$CONFIG_SHELL" != X/bin/ksh; then
39        # If we have ksh, try running $0 again with it.        # If we have ksh, try running ltconfig again with it.
40        CONFIG_SHELL=/bin/ksh        CONFIG_SHELL=/bin/ksh
41        export CONFIG_SHELL        export CONFIG_SHELL
42        exec "$CONFIG_SHELL" "$0" --no-reexec ${1+"$@"}        exec "$CONFIG_SHELL" "$0" --no-reexec ${1+"$@"}
# Line 62  for mode in compile link install; do Line 62  for mode in compile link install; do
62    # preargs and postargs need to go through libtool unmodified.    # preargs and postargs need to go through libtool unmodified.
63    case "$mode" in    case "$mode" in
64    compile)    compile)
65      preargs="gcc -c"      preargs="$CC -c"
66      preflag=      preflag=
67      flag="-DVAR="      flag="-DVAR="
68      postargs="foo.c"      postargs="foo.c"
69      ;;      ;;
70    
71    link)    link)
72      preargs="gcc -o hell -g -O"      preargs="$CC -o hell -g -O"
73      preflag=-Wl,      preflag=-Wl,
74      flag="-someflag="      flag="-someflag="
75      postargs="foo.o"      postargs="foo.o"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

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