| 1 | #! /bin/sh |
1 | #! /bin/sh |
|
|
2 | |
|
|
3 | echo "$0 $@" |
| 2 | |
4 | |
| 3 | # ltconfig - Create a system-specific libtool. |
5 | # ltconfig - Create a system-specific libtool. |
| 4 | # Copyright (C) 1996-1999 Free Software Foundation, Inc. |
6 | # Copyright (C) 1996-1999 Free Software Foundation, Inc. |
| 5 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
7 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
| 6 | # |
8 | # |
| … | |
… | |
| 23 | # configuration script generated by Autoconf, you may include it under |
25 | # configuration script generated by Autoconf, you may include it under |
| 24 | # the same distribution terms that you use for the rest of that program. |
26 | # the same distribution terms that you use for the rest of that program. |
| 25 | |
27 | |
| 26 | # A lot of this script is taken from autoconf-2.10. |
28 | # A lot of this script is taken from autoconf-2.10. |
| 27 | |
29 | |
|
|
30 | echo YEEEESSSS |
|
|
31 | |
| 28 | # Check that we are running under the correct shell. |
32 | # Check that we are running under the correct shell. |
| 29 | SHELL=${CONFIG_SHELL-/bin/sh} |
33 | SHELL=${CONFIG_SHELL-/bin/sh} |
| 30 | echo=echo |
34 | echo=echo |
| 31 | if test "X$1" = X--no-reexec; then |
35 | if test "X$1" = X--no-reexec; then |
| 32 | # Discard the --no-reexec flag, and continue. |
36 | # Discard the --no-reexec flag, and continue. |
| … | |
… | |
| 58 | case X$UNAME in |
62 | case X$UNAME in |
| 59 | *-DOS) PATH_SEPARATOR=';' ;; |
63 | *-DOS) PATH_SEPARATOR=';' ;; |
| 60 | *) PATH_SEPARATOR=':' ;; |
64 | *) PATH_SEPARATOR=':' ;; |
| 61 | esac |
65 | esac |
| 62 | fi |
66 | fi |
|
|
67 | echo YEEEESSSS |
| 63 | |
68 | |
| 64 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
69 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
| 65 | # if CDPATH is set. |
70 | # if CDPATH is set. |
| 66 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
71 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi |
| 67 | |
72 | |
| … | |
… | |
| 370 | # These must not be set unconditionally because not all systems understand |
375 | # These must not be set unconditionally because not all systems understand |
| 371 | # e.g. LANG=C (notably SCO). |
376 | # e.g. LANG=C (notably SCO). |
| 372 | if test "X${LC_ALL+set}" = Xset; then LC_ALL=C; export LC_ALL; fi |
377 | if test "X${LC_ALL+set}" = Xset; then LC_ALL=C; export LC_ALL; fi |
| 373 | if test "X${LANG+set}" = Xset; then LANG=C; export LANG; fi |
378 | if test "X${LANG+set}" = Xset; then LANG=C; export LANG; fi |
| 374 | |
379 | |
| 375 | if test -n "$cache_file" && test -r "$cache_file"; then |
380 | if test -n "$cache_file" && test -r "$cache_file" && test -f "$cache_file"; then |
| 376 | echo "loading cache $cache_file within ltconfig" |
381 | echo "loading cache $cache_file within ltconfig" |
| 377 | . $cache_file |
382 | . $cache_file |
| 378 | fi |
383 | fi |
| 379 | |
384 | |
| 380 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
385 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |