… | |
… | |
42 | EXIT_FAILURE=1 |
42 | EXIT_FAILURE=1 |
43 | |
43 | |
44 | PROGRAM=ltmain.sh |
44 | PROGRAM=ltmain.sh |
45 | PACKAGE=libtool |
45 | PACKAGE=libtool |
46 | VERSION=1.5.6 |
46 | VERSION=1.5.6 |
47 | TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 224 $" |
47 | TIMESTAMP=" (1.1220.2.95 2004/04/11 05:50:42) Debian$Rev: 215 $" |
48 | |
48 | |
49 | |
49 | |
50 | # Check that we have a working $echo. |
50 | # Check that we have a working $echo. |
51 | if test "X$1" = X--no-reexec; then |
51 | if test "X$1" = X--no-reexec; then |
52 | # Discard the --no-reexec flag, and continue. |
52 | # Discard the --no-reexec flag, and continue. |
… | |
… | |
1863 | continue |
1863 | continue |
1864 | ;; |
1864 | ;; |
1865 | -l*) |
1865 | -l*) |
1866 | if test "$linkmode" != lib && test "$linkmode" != prog; then |
1866 | if test "$linkmode" != lib && test "$linkmode" != prog; then |
1867 | $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 |
1867 | $echo "$modename: warning: \`-l' is ignored for archives/objects" 1>&2 |
|
|
1868 | continue |
|
|
1869 | fi |
|
|
1870 | if test "$pass" = conv; then |
|
|
1871 | deplibs="$deplib $deplibs" |
1868 | continue |
1872 | continue |
1869 | fi |
1873 | fi |
1870 | name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` |
1874 | name=`$echo "X$deplib" | $Xsed -e 's/^-l//'` |
1871 | for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do |
1875 | for searchdir in $newlib_search_path $lib_search_path $sys_lib_search_path $shlib_search_path; do |
1872 | for search_ext in .la $std_shrext .so .a; do |
1876 | for search_ext in .la $std_shrext .so .a; do |
… | |
… | |
2943 | ;; |
2947 | ;; |
2944 | esac |
2948 | esac |
2945 | |
2949 | |
2946 | # Check that each of the things are valid numbers. |
2950 | # Check that each of the things are valid numbers. |
2947 | case $current in |
2951 | case $current in |
2948 | 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; |
2952 | 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; |
2949 | *) |
2953 | *) |
2950 | $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 |
2954 | $echo "$modename: CURRENT \`$current' is not a nonnegative integer" 1>&2 |
2951 | $echo "$modename: \`$vinfo' is not valid version information" 1>&2 |
2955 | $echo "$modename: \`$vinfo' is not valid version information" 1>&2 |
2952 | exit $EXIT_FAILURE |
2956 | exit $EXIT_FAILURE |
2953 | ;; |
2957 | ;; |
2954 | esac |
2958 | esac |
2955 | |
2959 | |
2956 | case $revision in |
2960 | case $revision in |
2957 | 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; |
2961 | 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; |
2958 | *) |
2962 | *) |
2959 | $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 |
2963 | $echo "$modename: REVISION \`$revision' is not a nonnegative integer" 1>&2 |
2960 | $echo "$modename: \`$vinfo' is not valid version information" 1>&2 |
2964 | $echo "$modename: \`$vinfo' is not valid version information" 1>&2 |
2961 | exit $EXIT_FAILURE |
2965 | exit $EXIT_FAILURE |
2962 | ;; |
2966 | ;; |
2963 | esac |
2967 | esac |
2964 | |
2968 | |
2965 | case $age in |
2969 | case $age in |
2966 | 0|[1-9]|[1-9][0-9]|[1-9][0-9][0-9]|[1-9][0-9][0-9][0-9]|[1-9][0-9][0-9][0-9][0-9]) ;; |
2970 | 0 | [1-9] | [1-9][0-9] | [1-9][0-9][0-9]) ;; |
2967 | *) |
2971 | *) |
2968 | $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 |
2972 | $echo "$modename: AGE \`$age' is not a nonnegative integer" 1>&2 |
2969 | $echo "$modename: \`$vinfo' is not valid version information" 1>&2 |
2973 | $echo "$modename: \`$vinfo' is not valid version information" 1>&2 |
2970 | exit $EXIT_FAILURE |
2974 | exit $EXIT_FAILURE |
2971 | ;; |
2975 | ;; |