diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure | 31856 | ||||
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure.ac | 712 |
2 files changed, 16284 insertions, 16284 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure b/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure index bb5f694..9ba1383 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure +++ b/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure | |||
@@ -1,15928 +1,15928 @@ | |||
1 | #! /bin/sh | 1 | #! /bin/sh |
2 | # Guess values for system-dependent variables and create Makefiles. | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | # Generated by GNU Autoconf 2.68 for libjpeg 8.4.0. | 3 | # Generated by GNU Autoconf 2.68 for libjpeg 8.4.0. |
4 | # | 4 | # |
5 | # | 5 | # |
6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 6 | # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 7 | # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software |
8 | # Foundation, Inc. | 8 | # Foundation, Inc. |
9 | # | 9 | # |
10 | # | 10 | # |
11 | # This configure script is free software; the Free Software Foundation | 11 | # This configure script is free software; the Free Software Foundation |
12 | # gives unlimited permission to copy, distribute and modify it. | 12 | # gives unlimited permission to copy, distribute and modify it. |
13 | ## -------------------- ## | 13 | ## -------------------- ## |
14 | ## M4sh Initialization. ## | 14 | ## M4sh Initialization. ## |
15 | ## -------------------- ## | 15 | ## -------------------- ## |
16 | 16 | ||
17 | # Be more Bourne compatible | 17 | # Be more Bourne compatible |
18 | DUALCASE=1; export DUALCASE # for MKS sh | 18 | DUALCASE=1; export DUALCASE # for MKS sh |
19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 19 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
20 | emulate sh | 20 | emulate sh |
21 | NULLCMD=: | 21 | NULLCMD=: |
22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 22 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
23 | # is contrary to our usage. Disable this feature. | 23 | # is contrary to our usage. Disable this feature. |
24 | alias -g '${1+"$@"}'='"$@"' | 24 | alias -g '${1+"$@"}'='"$@"' |
25 | setopt NO_GLOB_SUBST | 25 | setopt NO_GLOB_SUBST |
26 | else | 26 | else |
27 | case `(set -o) 2>/dev/null` in #( | 27 | case `(set -o) 2>/dev/null` in #( |
28 | *posix*) : | 28 | *posix*) : |
29 | set -o posix ;; #( | 29 | set -o posix ;; #( |
30 | *) : | 30 | *) : |
31 | ;; | 31 | ;; |
32 | esac | 32 | esac |
33 | fi | 33 | fi |
34 | 34 | ||
35 | 35 | ||
36 | as_nl=' | 36 | as_nl=' |
37 | ' | 37 | ' |
38 | export as_nl | 38 | export as_nl |
39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 39 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 40 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 41 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 42 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
43 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 43 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
44 | # but without wasting forks for bash or zsh. | 44 | # but without wasting forks for bash or zsh. |
45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 45 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 46 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
47 | as_echo='print -r --' | 47 | as_echo='print -r --' |
48 | as_echo_n='print -rn --' | 48 | as_echo_n='print -rn --' |
49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 49 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
50 | as_echo='printf %s\n' | 50 | as_echo='printf %s\n' |
51 | as_echo_n='printf %s' | 51 | as_echo_n='printf %s' |
52 | else | 52 | else |
53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 53 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 54 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
55 | as_echo_n='/usr/ucb/echo -n' | 55 | as_echo_n='/usr/ucb/echo -n' |
56 | else | 56 | else |
57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 57 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
58 | as_echo_n_body='eval | 58 | as_echo_n_body='eval |
59 | arg=$1; | 59 | arg=$1; |
60 | case $arg in #( | 60 | case $arg in #( |
61 | *"$as_nl"*) | 61 | *"$as_nl"*) |
62 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 62 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 63 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
64 | esac; | 64 | esac; |
65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 65 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
66 | ' | 66 | ' |
67 | export as_echo_n_body | 67 | export as_echo_n_body |
68 | as_echo_n='sh -c $as_echo_n_body as_echo' | 68 | as_echo_n='sh -c $as_echo_n_body as_echo' |
69 | fi | 69 | fi |
70 | export as_echo_body | 70 | export as_echo_body |
71 | as_echo='sh -c $as_echo_body as_echo' | 71 | as_echo='sh -c $as_echo_body as_echo' |
72 | fi | 72 | fi |
73 | 73 | ||
74 | # The user is always right. | 74 | # The user is always right. |
75 | if test "${PATH_SEPARATOR+set}" != set; then | 75 | if test "${PATH_SEPARATOR+set}" != set; then |
76 | PATH_SEPARATOR=: | 76 | PATH_SEPARATOR=: |
77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 77 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 78 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
79 | PATH_SEPARATOR=';' | 79 | PATH_SEPARATOR=';' |
80 | } | 80 | } |
81 | fi | 81 | fi |
82 | 82 | ||
83 | 83 | ||
84 | # IFS | 84 | # IFS |
85 | # We need space, tab and new line, in precisely that order. Quoting is | 85 | # We need space, tab and new line, in precisely that order. Quoting is |
86 | # there to prevent editors from complaining about space-tab. | 86 | # there to prevent editors from complaining about space-tab. |
87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 87 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
88 | # splitting by setting IFS to empty value.) | 88 | # splitting by setting IFS to empty value.) |
89 | IFS=" "" $as_nl" | 89 | IFS=" "" $as_nl" |
90 | 90 | ||
91 | # Find who we are. Look in the path if we contain no directory separator. | 91 | # Find who we are. Look in the path if we contain no directory separator. |
92 | as_myself= | 92 | as_myself= |
93 | case $0 in #(( | 93 | case $0 in #(( |
94 | *[\\/]* ) as_myself=$0 ;; | 94 | *[\\/]* ) as_myself=$0 ;; |
95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 95 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
96 | for as_dir in $PATH | 96 | for as_dir in $PATH |
97 | do | 97 | do |
98 | IFS=$as_save_IFS | 98 | IFS=$as_save_IFS |
99 | test -z "$as_dir" && as_dir=. | 99 | test -z "$as_dir" && as_dir=. |
100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 100 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
101 | done | 101 | done |
102 | IFS=$as_save_IFS | 102 | IFS=$as_save_IFS |
103 | 103 | ||
104 | ;; | 104 | ;; |
105 | esac | 105 | esac |
106 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 106 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
107 | # in which case we are not to be found in the path. | 107 | # in which case we are not to be found in the path. |
108 | if test "x$as_myself" = x; then | 108 | if test "x$as_myself" = x; then |
109 | as_myself=$0 | 109 | as_myself=$0 |
110 | fi | 110 | fi |
111 | if test ! -f "$as_myself"; then | 111 | if test ! -f "$as_myself"; then |
112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 112 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
113 | exit 1 | 113 | exit 1 |
114 | fi | 114 | fi |
115 | 115 | ||
116 | # Unset variables that we do not need and which cause bugs (e.g. in | 116 | # Unset variables that we do not need and which cause bugs (e.g. in |
117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 117 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
118 | # suppresses any "Segmentation fault" message there. '((' could | 118 | # suppresses any "Segmentation fault" message there. '((' could |
119 | # trigger a bug in pdksh 5.2.14. | 119 | # trigger a bug in pdksh 5.2.14. |
120 | for as_var in BASH_ENV ENV MAIL MAILPATH | 120 | for as_var in BASH_ENV ENV MAIL MAILPATH |
121 | do eval test x\${$as_var+set} = xset \ | 121 | do eval test x\${$as_var+set} = xset \ |
122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 122 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
123 | done | 123 | done |
124 | PS1='$ ' | 124 | PS1='$ ' |
125 | PS2='> ' | 125 | PS2='> ' |
126 | PS4='+ ' | 126 | PS4='+ ' |
127 | 127 | ||
128 | # NLS nuisances. | 128 | # NLS nuisances. |
129 | LC_ALL=C | 129 | LC_ALL=C |
130 | export LC_ALL | 130 | export LC_ALL |
131 | LANGUAGE=C | 131 | LANGUAGE=C |
132 | export LANGUAGE | 132 | export LANGUAGE |
133 | 133 | ||
134 | # CDPATH. | 134 | # CDPATH. |
135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 135 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
136 | 136 | ||
137 | if test "x$CONFIG_SHELL" = x; then | 137 | if test "x$CONFIG_SHELL" = x; then |
138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 138 | as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : |
139 | emulate sh | 139 | emulate sh |
140 | NULLCMD=: | 140 | NULLCMD=: |
141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | 141 | # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which |
142 | # is contrary to our usage. Disable this feature. | 142 | # is contrary to our usage. Disable this feature. |
143 | alias -g '\${1+\"\$@\"}'='\"\$@\"' | 143 | alias -g '\${1+\"\$@\"}'='\"\$@\"' |
144 | setopt NO_GLOB_SUBST | 144 | setopt NO_GLOB_SUBST |
145 | else | 145 | else |
146 | case \`(set -o) 2>/dev/null\` in #( | 146 | case \`(set -o) 2>/dev/null\` in #( |
147 | *posix*) : | 147 | *posix*) : |
148 | set -o posix ;; #( | 148 | set -o posix ;; #( |
149 | *) : | 149 | *) : |
150 | ;; | 150 | ;; |
151 | esac | 151 | esac |
152 | fi | 152 | fi |
153 | " | 153 | " |
154 | as_required="as_fn_return () { (exit \$1); } | 154 | as_required="as_fn_return () { (exit \$1); } |
155 | as_fn_success () { as_fn_return 0; } | 155 | as_fn_success () { as_fn_return 0; } |
156 | as_fn_failure () { as_fn_return 1; } | 156 | as_fn_failure () { as_fn_return 1; } |
157 | as_fn_ret_success () { return 0; } | 157 | as_fn_ret_success () { return 0; } |
158 | as_fn_ret_failure () { return 1; } | 158 | as_fn_ret_failure () { return 1; } |
159 | 159 | ||
160 | exitcode=0 | 160 | exitcode=0 |
161 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } | 161 | as_fn_success || { exitcode=1; echo as_fn_success failed.; } |
162 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 162 | as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } |
163 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | 163 | as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } |
164 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | 164 | as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } |
165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | 165 | if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : |
166 | 166 | ||
167 | else | 167 | else |
168 | exitcode=1; echo positional parameters were not saved. | 168 | exitcode=1; echo positional parameters were not saved. |
169 | fi | 169 | fi |
170 | test x\$exitcode = x0 || exit 1" | 170 | test x\$exitcode = x0 || exit 1" |
171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | 171 | as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO |
172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | 172 | as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO |
173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | 173 | eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && |
174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | 174 | test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 |
175 | test \$(( 1 + 1 )) = 2 || exit 1 | 175 | test \$(( 1 + 1 )) = 2 || exit 1 |
176 | 176 | ||
177 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( | 177 | test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( |
178 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 178 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
179 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | 179 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
180 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | 180 | ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO |
181 | PATH=/empty FPATH=/empty; export PATH FPATH | 181 | PATH=/empty FPATH=/empty; export PATH FPATH |
182 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ | 182 | test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ |
183 | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" | 183 | || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1" |
184 | if (eval "$as_required") 2>/dev/null; then : | 184 | if (eval "$as_required") 2>/dev/null; then : |
185 | as_have_required=yes | 185 | as_have_required=yes |
186 | else | 186 | else |
187 | as_have_required=no | 187 | as_have_required=no |
188 | fi | 188 | fi |
189 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | 189 | if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : |
190 | 190 | ||
191 | else | 191 | else |
192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
193 | as_found=false | 193 | as_found=false |
194 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 194 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH |
195 | do | 195 | do |
196 | IFS=$as_save_IFS | 196 | IFS=$as_save_IFS |
197 | test -z "$as_dir" && as_dir=. | 197 | test -z "$as_dir" && as_dir=. |
198 | as_found=: | 198 | as_found=: |
199 | case $as_dir in #( | 199 | case $as_dir in #( |
200 | /*) | 200 | /*) |
201 | for as_base in sh bash ksh sh5; do | 201 | for as_base in sh bash ksh sh5; do |
202 | # Try only shells that exist, to save several forks. | 202 | # Try only shells that exist, to save several forks. |
203 | as_shell=$as_dir/$as_base | 203 | as_shell=$as_dir/$as_base |
204 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | 204 | if { test -f "$as_shell" || test -f "$as_shell.exe"; } && |
205 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | 205 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : |
206 | CONFIG_SHELL=$as_shell as_have_required=yes | 206 | CONFIG_SHELL=$as_shell as_have_required=yes |
207 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | 207 | if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : |
208 | break 2 | 208 | break 2 |
209 | fi | 209 | fi |
210 | fi | 210 | fi |
211 | done;; | 211 | done;; |
212 | esac | 212 | esac |
213 | as_found=false | 213 | as_found=false |
214 | done | 214 | done |
215 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | 215 | $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && |
216 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | 216 | { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : |
217 | CONFIG_SHELL=$SHELL as_have_required=yes | 217 | CONFIG_SHELL=$SHELL as_have_required=yes |
218 | fi; } | 218 | fi; } |
219 | IFS=$as_save_IFS | 219 | IFS=$as_save_IFS |
220 | 220 | ||
221 | 221 | ||
222 | if test "x$CONFIG_SHELL" != x; then : | 222 | if test "x$CONFIG_SHELL" != x; then : |
223 | # We cannot yet assume a decent shell, so we have to provide a | 223 | # We cannot yet assume a decent shell, so we have to provide a |
224 | # neutralization value for shells without unset; and this also | 224 | # neutralization value for shells without unset; and this also |
225 | # works around shells that cannot unset nonexistent variables. | 225 | # works around shells that cannot unset nonexistent variables. |
226 | # Preserve -v and -x to the replacement shell. | 226 | # Preserve -v and -x to the replacement shell. |
227 | BASH_ENV=/dev/null | 227 | BASH_ENV=/dev/null |
228 | ENV=/dev/null | 228 | ENV=/dev/null |
229 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 229 | (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV |
230 | export CONFIG_SHELL | 230 | export CONFIG_SHELL |
231 | case $- in # (((( | 231 | case $- in # (((( |
232 | *v*x* | *x*v* ) as_opts=-vx ;; | 232 | *v*x* | *x*v* ) as_opts=-vx ;; |
233 | *v* ) as_opts=-v ;; | 233 | *v* ) as_opts=-v ;; |
234 | *x* ) as_opts=-x ;; | 234 | *x* ) as_opts=-x ;; |
235 | * ) as_opts= ;; | 235 | * ) as_opts= ;; |
236 | esac | 236 | esac |
237 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | 237 | exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} |
238 | fi | 238 | fi |
239 | 239 | ||
240 | if test x$as_have_required = xno; then : | 240 | if test x$as_have_required = xno; then : |
241 | $as_echo "$0: This script requires a shell more modern than all" | 241 | $as_echo "$0: This script requires a shell more modern than all" |
242 | $as_echo "$0: the shells that I found on your system." | 242 | $as_echo "$0: the shells that I found on your system." |
243 | if test x${ZSH_VERSION+set} = xset ; then | 243 | if test x${ZSH_VERSION+set} = xset ; then |
244 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | 244 | $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" |
245 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." | 245 | $as_echo "$0: be upgraded to zsh 4.3.4 or later." |
246 | else | 246 | else |
247 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | 247 | $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, |
248 | $0: including any error possibly output before this | 248 | $0: including any error possibly output before this |
249 | $0: message. Then install a modern shell, or manually run | 249 | $0: message. Then install a modern shell, or manually run |
250 | $0: the script under such a shell if you do have one." | 250 | $0: the script under such a shell if you do have one." |
251 | fi | 251 | fi |
252 | exit 1 | 252 | exit 1 |
253 | fi | 253 | fi |
254 | fi | 254 | fi |
255 | fi | 255 | fi |
256 | SHELL=${CONFIG_SHELL-/bin/sh} | 256 | SHELL=${CONFIG_SHELL-/bin/sh} |
257 | export SHELL | 257 | export SHELL |
258 | # Unset more variables known to interfere with behavior of common tools. | 258 | # Unset more variables known to interfere with behavior of common tools. |
259 | CLICOLOR_FORCE= GREP_OPTIONS= | 259 | CLICOLOR_FORCE= GREP_OPTIONS= |
260 | unset CLICOLOR_FORCE GREP_OPTIONS | 260 | unset CLICOLOR_FORCE GREP_OPTIONS |
261 | 261 | ||
262 | ## --------------------- ## | 262 | ## --------------------- ## |
263 | ## M4sh Shell Functions. ## | 263 | ## M4sh Shell Functions. ## |
264 | ## --------------------- ## | 264 | ## --------------------- ## |
265 | # as_fn_unset VAR | 265 | # as_fn_unset VAR |
266 | # --------------- | 266 | # --------------- |
267 | # Portably unset VAR. | 267 | # Portably unset VAR. |
268 | as_fn_unset () | 268 | as_fn_unset () |
269 | { | 269 | { |
270 | { eval $1=; unset $1;} | 270 | { eval $1=; unset $1;} |
271 | } | 271 | } |
272 | as_unset=as_fn_unset | 272 | as_unset=as_fn_unset |
273 | 273 | ||
274 | # as_fn_set_status STATUS | 274 | # as_fn_set_status STATUS |
275 | # ----------------------- | 275 | # ----------------------- |
276 | # Set $? to STATUS, without forking. | 276 | # Set $? to STATUS, without forking. |
277 | as_fn_set_status () | 277 | as_fn_set_status () |
278 | { | 278 | { |
279 | return $1 | 279 | return $1 |
280 | } # as_fn_set_status | 280 | } # as_fn_set_status |
281 | 281 | ||
282 | # as_fn_exit STATUS | 282 | # as_fn_exit STATUS |
283 | # ----------------- | 283 | # ----------------- |
284 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 284 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
285 | as_fn_exit () | 285 | as_fn_exit () |
286 | { | 286 | { |
287 | set +e | 287 | set +e |
288 | as_fn_set_status $1 | 288 | as_fn_set_status $1 |
289 | exit $1 | 289 | exit $1 |
290 | } # as_fn_exit | 290 | } # as_fn_exit |
291 | 291 | ||
292 | # as_fn_mkdir_p | 292 | # as_fn_mkdir_p |
293 | # ------------- | 293 | # ------------- |
294 | # Create "$as_dir" as a directory, including parents if necessary. | 294 | # Create "$as_dir" as a directory, including parents if necessary. |
295 | as_fn_mkdir_p () | 295 | as_fn_mkdir_p () |
296 | { | 296 | { |
297 | 297 | ||
298 | case $as_dir in #( | 298 | case $as_dir in #( |
299 | -*) as_dir=./$as_dir;; | 299 | -*) as_dir=./$as_dir;; |
300 | esac | 300 | esac |
301 | test -d "$as_dir" || eval $as_mkdir_p || { | 301 | test -d "$as_dir" || eval $as_mkdir_p || { |
302 | as_dirs= | 302 | as_dirs= |
303 | while :; do | 303 | while :; do |
304 | case $as_dir in #( | 304 | case $as_dir in #( |
305 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 305 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
306 | *) as_qdir=$as_dir;; | 306 | *) as_qdir=$as_dir;; |
307 | esac | 307 | esac |
308 | as_dirs="'$as_qdir' $as_dirs" | 308 | as_dirs="'$as_qdir' $as_dirs" |
309 | as_dir=`$as_dirname -- "$as_dir" || | 309 | as_dir=`$as_dirname -- "$as_dir" || |
310 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 310 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
311 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 311 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
312 | X"$as_dir" : 'X\(//\)$' \| \ | 312 | X"$as_dir" : 'X\(//\)$' \| \ |
313 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 313 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
314 | $as_echo X"$as_dir" | | 314 | $as_echo X"$as_dir" | |
315 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 315 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
316 | s//\1/ | 316 | s//\1/ |
317 | q | 317 | q |
318 | } | 318 | } |
319 | /^X\(\/\/\)[^/].*/{ | 319 | /^X\(\/\/\)[^/].*/{ |
320 | s//\1/ | 320 | s//\1/ |
321 | q | 321 | q |
322 | } | 322 | } |
323 | /^X\(\/\/\)$/{ | 323 | /^X\(\/\/\)$/{ |
324 | s//\1/ | 324 | s//\1/ |
325 | q | 325 | q |
326 | } | 326 | } |
327 | /^X\(\/\).*/{ | 327 | /^X\(\/\).*/{ |
328 | s//\1/ | 328 | s//\1/ |
329 | q | 329 | q |
330 | } | 330 | } |
331 | s/.*/./; q'` | 331 | s/.*/./; q'` |
332 | test -d "$as_dir" && break | 332 | test -d "$as_dir" && break |
333 | done | 333 | done |
334 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 334 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
335 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 335 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
336 | 336 | ||
337 | 337 | ||
338 | } # as_fn_mkdir_p | 338 | } # as_fn_mkdir_p |
339 | # as_fn_append VAR VALUE | 339 | # as_fn_append VAR VALUE |
340 | # ---------------------- | 340 | # ---------------------- |
341 | # Append the text in VALUE to the end of the definition contained in VAR. Take | 341 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
342 | # advantage of any shell optimizations that allow amortized linear growth over | 342 | # advantage of any shell optimizations that allow amortized linear growth over |
343 | # repeated appends, instead of the typical quadratic growth present in naive | 343 | # repeated appends, instead of the typical quadratic growth present in naive |
344 | # implementations. | 344 | # implementations. |
345 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 345 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
346 | eval 'as_fn_append () | 346 | eval 'as_fn_append () |
347 | { | 347 | { |
348 | eval $1+=\$2 | 348 | eval $1+=\$2 |
349 | }' | 349 | }' |
350 | else | 350 | else |
351 | as_fn_append () | 351 | as_fn_append () |
352 | { | 352 | { |
353 | eval $1=\$$1\$2 | 353 | eval $1=\$$1\$2 |
354 | } | 354 | } |
355 | fi # as_fn_append | 355 | fi # as_fn_append |
356 | 356 | ||
357 | # as_fn_arith ARG... | 357 | # as_fn_arith ARG... |
358 | # ------------------ | 358 | # ------------------ |
359 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 359 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
360 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 360 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
361 | # must be portable across $(()) and expr. | 361 | # must be portable across $(()) and expr. |
362 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 362 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
363 | eval 'as_fn_arith () | 363 | eval 'as_fn_arith () |
364 | { | 364 | { |
365 | as_val=$(( $* )) | 365 | as_val=$(( $* )) |
366 | }' | 366 | }' |
367 | else | 367 | else |
368 | as_fn_arith () | 368 | as_fn_arith () |
369 | { | 369 | { |
370 | as_val=`expr "$@" || test $? -eq 1` | 370 | as_val=`expr "$@" || test $? -eq 1` |
371 | } | 371 | } |
372 | fi # as_fn_arith | 372 | fi # as_fn_arith |
373 | 373 | ||
374 | 374 | ||
375 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | 375 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
376 | # ---------------------------------------- | 376 | # ---------------------------------------- |
377 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 377 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
378 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 378 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
379 | # script with STATUS, using 1 if that was 0. | 379 | # script with STATUS, using 1 if that was 0. |
380 | as_fn_error () | 380 | as_fn_error () |
381 | { | 381 | { |
382 | as_status=$1; test $as_status -eq 0 && as_status=1 | 382 | as_status=$1; test $as_status -eq 0 && as_status=1 |
383 | if test "$4"; then | 383 | if test "$4"; then |
384 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 384 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
385 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 385 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
386 | fi | 386 | fi |
387 | $as_echo "$as_me: error: $2" >&2 | 387 | $as_echo "$as_me: error: $2" >&2 |
388 | as_fn_exit $as_status | 388 | as_fn_exit $as_status |
389 | } # as_fn_error | 389 | } # as_fn_error |
390 | 390 | ||
391 | if expr a : '\(a\)' >/dev/null 2>&1 && | 391 | if expr a : '\(a\)' >/dev/null 2>&1 && |
392 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 392 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
393 | as_expr=expr | 393 | as_expr=expr |
394 | else | 394 | else |
395 | as_expr=false | 395 | as_expr=false |
396 | fi | 396 | fi |
397 | 397 | ||
398 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 398 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
399 | as_basename=basename | 399 | as_basename=basename |
400 | else | 400 | else |
401 | as_basename=false | 401 | as_basename=false |
402 | fi | 402 | fi |
403 | 403 | ||
404 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 404 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
405 | as_dirname=dirname | 405 | as_dirname=dirname |
406 | else | 406 | else |
407 | as_dirname=false | 407 | as_dirname=false |
408 | fi | 408 | fi |
409 | 409 | ||
410 | as_me=`$as_basename -- "$0" || | 410 | as_me=`$as_basename -- "$0" || |
411 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 411 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
412 | X"$0" : 'X\(//\)$' \| \ | 412 | X"$0" : 'X\(//\)$' \| \ |
413 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 413 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
414 | $as_echo X/"$0" | | 414 | $as_echo X/"$0" | |
415 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 415 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
416 | s//\1/ | 416 | s//\1/ |
417 | q | 417 | q |
418 | } | 418 | } |
419 | /^X\/\(\/\/\)$/{ | 419 | /^X\/\(\/\/\)$/{ |
420 | s//\1/ | 420 | s//\1/ |
421 | q | 421 | q |
422 | } | 422 | } |
423 | /^X\/\(\/\).*/{ | 423 | /^X\/\(\/\).*/{ |
424 | s//\1/ | 424 | s//\1/ |
425 | q | 425 | q |
426 | } | 426 | } |
427 | s/.*/./; q'` | 427 | s/.*/./; q'` |
428 | 428 | ||
429 | # Avoid depending upon Character Ranges. | 429 | # Avoid depending upon Character Ranges. |
430 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 430 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
431 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 431 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
432 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 432 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
433 | as_cr_digits='0123456789' | 433 | as_cr_digits='0123456789' |
434 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 434 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
435 | 435 | ||
436 | 436 | ||
437 | as_lineno_1=$LINENO as_lineno_1a=$LINENO | 437 | as_lineno_1=$LINENO as_lineno_1a=$LINENO |
438 | as_lineno_2=$LINENO as_lineno_2a=$LINENO | 438 | as_lineno_2=$LINENO as_lineno_2a=$LINENO |
439 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 439 | eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && |
440 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 440 | test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { |
441 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) | 441 | # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) |
442 | sed -n ' | 442 | sed -n ' |
443 | p | 443 | p |
444 | /[$]LINENO/= | 444 | /[$]LINENO/= |
445 | ' <$as_myself | | 445 | ' <$as_myself | |
446 | sed ' | 446 | sed ' |
447 | s/[$]LINENO.*/&-/ | 447 | s/[$]LINENO.*/&-/ |
448 | t lineno | 448 | t lineno |
449 | b | 449 | b |
450 | :lineno | 450 | :lineno |
451 | N | 451 | N |
452 | :loop | 452 | :loop |
453 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 453 | s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ |
454 | t loop | 454 | t loop |
455 | s/-\n.*// | 455 | s/-\n.*// |
456 | ' >$as_me.lineno && | 456 | ' >$as_me.lineno && |
457 | chmod +x "$as_me.lineno" || | 457 | chmod +x "$as_me.lineno" || |
458 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 458 | { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } |
459 | 459 | ||
460 | # Don't try to exec as it changes $[0], causing all sort of problems | 460 | # Don't try to exec as it changes $[0], causing all sort of problems |
461 | # (the dirname of $[0] is not the place where we might find the | 461 | # (the dirname of $[0] is not the place where we might find the |
462 | # original and so on. Autoconf is especially sensitive to this). | 462 | # original and so on. Autoconf is especially sensitive to this). |
463 | . "./$as_me.lineno" | 463 | . "./$as_me.lineno" |
464 | # Exit status is that of the last command. | 464 | # Exit status is that of the last command. |
465 | exit | 465 | exit |
466 | } | 466 | } |
467 | 467 | ||
468 | ECHO_C= ECHO_N= ECHO_T= | 468 | ECHO_C= ECHO_N= ECHO_T= |
469 | case `echo -n x` in #((((( | 469 | case `echo -n x` in #((((( |
470 | -n*) | 470 | -n*) |
471 | case `echo 'xy\c'` in | 471 | case `echo 'xy\c'` in |
472 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 472 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
473 | xy) ECHO_C='\c';; | 473 | xy) ECHO_C='\c';; |
474 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | 474 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
475 | ECHO_T=' ';; | 475 | ECHO_T=' ';; |
476 | esac;; | 476 | esac;; |
477 | *) | 477 | *) |
478 | ECHO_N='-n';; | 478 | ECHO_N='-n';; |
479 | esac | 479 | esac |
480 | 480 | ||
481 | rm -f conf$$ conf$$.exe conf$$.file | 481 | rm -f conf$$ conf$$.exe conf$$.file |
482 | if test -d conf$$.dir; then | 482 | if test -d conf$$.dir; then |
483 | rm -f conf$$.dir/conf$$.file | 483 | rm -f conf$$.dir/conf$$.file |
484 | else | 484 | else |
485 | rm -f conf$$.dir | 485 | rm -f conf$$.dir |
486 | mkdir conf$$.dir 2>/dev/null | 486 | mkdir conf$$.dir 2>/dev/null |
487 | fi | 487 | fi |
488 | if (echo >conf$$.file) 2>/dev/null; then | 488 | if (echo >conf$$.file) 2>/dev/null; then |
489 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 489 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
490 | as_ln_s='ln -s' | 490 | as_ln_s='ln -s' |
491 | # ... but there are two gotchas: | 491 | # ... but there are two gotchas: |
492 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 492 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
493 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 493 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
494 | # In both cases, we have to default to `cp -p'. | 494 | # In both cases, we have to default to `cp -p'. |
495 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 495 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
496 | as_ln_s='cp -p' | 496 | as_ln_s='cp -p' |
497 | elif ln conf$$.file conf$$ 2>/dev/null; then | 497 | elif ln conf$$.file conf$$ 2>/dev/null; then |
498 | as_ln_s=ln | 498 | as_ln_s=ln |
499 | else | 499 | else |
500 | as_ln_s='cp -p' | 500 | as_ln_s='cp -p' |
501 | fi | 501 | fi |
502 | else | 502 | else |
503 | as_ln_s='cp -p' | 503 | as_ln_s='cp -p' |
504 | fi | 504 | fi |
505 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 505 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
506 | rmdir conf$$.dir 2>/dev/null | 506 | rmdir conf$$.dir 2>/dev/null |
507 | 507 | ||
508 | if mkdir -p . 2>/dev/null; then | 508 | if mkdir -p . 2>/dev/null; then |
509 | as_mkdir_p='mkdir -p "$as_dir"' | 509 | as_mkdir_p='mkdir -p "$as_dir"' |
510 | else | 510 | else |
511 | test -d ./-p && rmdir ./-p | 511 | test -d ./-p && rmdir ./-p |
512 | as_mkdir_p=false | 512 | as_mkdir_p=false |
513 | fi | 513 | fi |
514 | 514 | ||
515 | if test -x / >/dev/null 2>&1; then | 515 | if test -x / >/dev/null 2>&1; then |
516 | as_test_x='test -x' | 516 | as_test_x='test -x' |
517 | else | 517 | else |
518 | if ls -dL / >/dev/null 2>&1; then | 518 | if ls -dL / >/dev/null 2>&1; then |
519 | as_ls_L_option=L | 519 | as_ls_L_option=L |
520 | else | 520 | else |
521 | as_ls_L_option= | 521 | as_ls_L_option= |
522 | fi | 522 | fi |
523 | as_test_x=' | 523 | as_test_x=' |
524 | eval sh -c '\'' | 524 | eval sh -c '\'' |
525 | if test -d "$1"; then | 525 | if test -d "$1"; then |
526 | test -d "$1/."; | 526 | test -d "$1/."; |
527 | else | 527 | else |
528 | case $1 in #( | 528 | case $1 in #( |
529 | -*)set "./$1";; | 529 | -*)set "./$1";; |
530 | esac; | 530 | esac; |
531 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 531 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
532 | ???[sx]*):;;*)false;;esac;fi | 532 | ???[sx]*):;;*)false;;esac;fi |
533 | '\'' sh | 533 | '\'' sh |
534 | ' | 534 | ' |
535 | fi | 535 | fi |
536 | as_executable_p=$as_test_x | 536 | as_executable_p=$as_test_x |
537 | 537 | ||
538 | # Sed expression to map a string onto a valid CPP name. | 538 | # Sed expression to map a string onto a valid CPP name. |
539 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 539 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
540 | 540 | ||
541 | # Sed expression to map a string onto a valid variable name. | 541 | # Sed expression to map a string onto a valid variable name. |
542 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 542 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
543 | 543 | ||
544 | SHELL=${CONFIG_SHELL-/bin/sh} | 544 | SHELL=${CONFIG_SHELL-/bin/sh} |
545 | 545 | ||
546 | 546 | ||
547 | test -n "$DJDIR" || exec 7<&0 </dev/null | 547 | test -n "$DJDIR" || exec 7<&0 </dev/null |
548 | exec 6>&1 | 548 | exec 6>&1 |
549 | 549 | ||
550 | # Name of the host. | 550 | # Name of the host. |
551 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 551 | # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, |
552 | # so uname gets run too. | 552 | # so uname gets run too. |
553 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 553 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` |
554 | 554 | ||
555 | # | 555 | # |
556 | # Initializations. | 556 | # Initializations. |
557 | # | 557 | # |
558 | ac_default_prefix=/usr/local | 558 | ac_default_prefix=/usr/local |
559 | ac_clean_files= | 559 | ac_clean_files= |
560 | ac_config_libobj_dir=. | 560 | ac_config_libobj_dir=. |
561 | LIBOBJS= | 561 | LIBOBJS= |
562 | cross_compiling=no | 562 | cross_compiling=no |
563 | subdirs= | 563 | subdirs= |
564 | MFLAGS= | 564 | MFLAGS= |
565 | MAKEFLAGS= | 565 | MAKEFLAGS= |
566 | 566 | ||
567 | # Identity of this package. | 567 | # Identity of this package. |
568 | PACKAGE_NAME='libjpeg' | 568 | PACKAGE_NAME='libjpeg' |
569 | PACKAGE_TARNAME='libjpeg' | 569 | PACKAGE_TARNAME='libjpeg' |
570 | PACKAGE_VERSION='8.4.0' | 570 | PACKAGE_VERSION='8.4.0' |
571 | PACKAGE_STRING='libjpeg 8.4.0' | 571 | PACKAGE_STRING='libjpeg 8.4.0' |
572 | PACKAGE_BUGREPORT='' | 572 | PACKAGE_BUGREPORT='' |
573 | PACKAGE_URL='' | 573 | PACKAGE_URL='' |
574 | 574 | ||
575 | # Factoring default headers for most tests. | 575 | # Factoring default headers for most tests. |
576 | ac_includes_default="\ | 576 | ac_includes_default="\ |
577 | #include <stdio.h> | 577 | #include <stdio.h> |
578 | #ifdef HAVE_SYS_TYPES_H | 578 | #ifdef HAVE_SYS_TYPES_H |
579 | # include <sys/types.h> | 579 | # include <sys/types.h> |
580 | #endif | 580 | #endif |
581 | #ifdef HAVE_SYS_STAT_H | 581 | #ifdef HAVE_SYS_STAT_H |
582 | # include <sys/stat.h> | 582 | # include <sys/stat.h> |
583 | #endif | 583 | #endif |
584 | #ifdef STDC_HEADERS | 584 | #ifdef STDC_HEADERS |
585 | # include <stdlib.h> | 585 | # include <stdlib.h> |
586 | # include <stddef.h> | 586 | # include <stddef.h> |
587 | #else | 587 | #else |
588 | # ifdef HAVE_STDLIB_H | 588 | # ifdef HAVE_STDLIB_H |
589 | # include <stdlib.h> | 589 | # include <stdlib.h> |
590 | # endif | 590 | # endif |
591 | #endif | 591 | #endif |
592 | #ifdef HAVE_STRING_H | 592 | #ifdef HAVE_STRING_H |
593 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | 593 | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H |
594 | # include <memory.h> | 594 | # include <memory.h> |
595 | # endif | 595 | # endif |
596 | # include <string.h> | 596 | # include <string.h> |
597 | #endif | 597 | #endif |
598 | #ifdef HAVE_STRINGS_H | 598 | #ifdef HAVE_STRINGS_H |
599 | # include <strings.h> | 599 | # include <strings.h> |
600 | #endif | 600 | #endif |
601 | #ifdef HAVE_INTTYPES_H | 601 | #ifdef HAVE_INTTYPES_H |
602 | # include <inttypes.h> | 602 | # include <inttypes.h> |
603 | #endif | 603 | #endif |
604 | #ifdef HAVE_STDINT_H | 604 | #ifdef HAVE_STDINT_H |
605 | # include <stdint.h> | 605 | # include <stdint.h> |
606 | #endif | 606 | #endif |
607 | #ifdef HAVE_UNISTD_H | 607 | #ifdef HAVE_UNISTD_H |
608 | # include <unistd.h> | 608 | # include <unistd.h> |
609 | #endif" | 609 | #endif" |
610 | 610 | ||
611 | ac_subst_vars='am__EXEEXT_FALSE | 611 | ac_subst_vars='am__EXEEXT_FALSE |
612 | am__EXEEXT_TRUE | 612 | am__EXEEXT_TRUE |
613 | LTLIBOBJS | 613 | LTLIBOBJS |
614 | LIBOBJS | 614 | LIBOBJS |
615 | JPEG_LIB_VERSION | 615 | JPEG_LIB_VERSION |
616 | MEMORYMGR | 616 | MEMORYMGR |
617 | OTOOL64 | 617 | OTOOL64 |
618 | OTOOL | 618 | OTOOL |
619 | LIPO | 619 | LIPO |
620 | NMEDIT | 620 | NMEDIT |
621 | DSYMUTIL | 621 | DSYMUTIL |
622 | MANIFEST_TOOL | 622 | MANIFEST_TOOL |
623 | RANLIB | 623 | RANLIB |
624 | ac_ct_AR | 624 | ac_ct_AR |
625 | AR | 625 | AR |
626 | NM | 626 | NM |
627 | ac_ct_DUMPBIN | 627 | ac_ct_DUMPBIN |
628 | DUMPBIN | 628 | DUMPBIN |
629 | LD | 629 | LD |
630 | FGREP | 630 | FGREP |
631 | SED | 631 | SED |
632 | LIBTOOL | 632 | LIBTOOL |
633 | OBJDUMP | 633 | OBJDUMP |
634 | DLLTOOL | 634 | DLLTOOL |
635 | AS | 635 | AS |
636 | HAVE_LD_VERSION_SCRIPT_FALSE | 636 | HAVE_LD_VERSION_SCRIPT_FALSE |
637 | HAVE_LD_VERSION_SCRIPT_TRUE | 637 | HAVE_LD_VERSION_SCRIPT_TRUE |
638 | LN_S | 638 | LN_S |
639 | MAINT | 639 | MAINT |
640 | MAINTAINER_MODE_FALSE | 640 | MAINTAINER_MODE_FALSE |
641 | MAINTAINER_MODE_TRUE | 641 | MAINTAINER_MODE_TRUE |
642 | ANSI2KNR | 642 | ANSI2KNR |
643 | U | 643 | U |
644 | EGREP | 644 | EGREP |
645 | GREP | 645 | GREP |
646 | CPP | 646 | CPP |
647 | am__fastdepCC_FALSE | 647 | am__fastdepCC_FALSE |
648 | am__fastdepCC_TRUE | 648 | am__fastdepCC_TRUE |
649 | CCDEPMODE | 649 | CCDEPMODE |
650 | am__nodep | 650 | am__nodep |
651 | AMDEPBACKSLASH | 651 | AMDEPBACKSLASH |
652 | AMDEP_FALSE | 652 | AMDEP_FALSE |
653 | AMDEP_TRUE | 653 | AMDEP_TRUE |
654 | am__quote | 654 | am__quote |
655 | am__include | 655 | am__include |
656 | DEPDIR | 656 | DEPDIR |
657 | OBJEXT | 657 | OBJEXT |
658 | EXEEXT | 658 | EXEEXT |
659 | ac_ct_CC | 659 | ac_ct_CC |
660 | CPPFLAGS | 660 | CPPFLAGS |
661 | LDFLAGS | 661 | LDFLAGS |
662 | CFLAGS | 662 | CFLAGS |
663 | CC | 663 | CC |
664 | AM_BACKSLASH | 664 | AM_BACKSLASH |
665 | AM_DEFAULT_VERBOSITY | 665 | AM_DEFAULT_VERBOSITY |
666 | am__untar | 666 | am__untar |
667 | am__tar | 667 | am__tar |
668 | AMTAR | 668 | AMTAR |
669 | am__leading_dot | 669 | am__leading_dot |
670 | SET_MAKE | 670 | SET_MAKE |
671 | AWK | 671 | AWK |
672 | mkdir_p | 672 | mkdir_p |
673 | MKDIR_P | 673 | MKDIR_P |
674 | INSTALL_STRIP_PROGRAM | 674 | INSTALL_STRIP_PROGRAM |
675 | STRIP | 675 | STRIP |
676 | install_sh | 676 | install_sh |
677 | MAKEINFO | 677 | MAKEINFO |
678 | AUTOHEADER | 678 | AUTOHEADER |
679 | AUTOMAKE | 679 | AUTOMAKE |
680 | AUTOCONF | 680 | AUTOCONF |
681 | ACLOCAL | 681 | ACLOCAL |
682 | VERSION | 682 | VERSION |
683 | PACKAGE | 683 | PACKAGE |
684 | CYGPATH_W | 684 | CYGPATH_W |
685 | am__isrc | 685 | am__isrc |
686 | INSTALL_DATA | 686 | INSTALL_DATA |
687 | INSTALL_SCRIPT | 687 | INSTALL_SCRIPT |
688 | INSTALL_PROGRAM | 688 | INSTALL_PROGRAM |
689 | target_os | 689 | target_os |
690 | target_vendor | 690 | target_vendor |
691 | target_cpu | 691 | target_cpu |
692 | target | 692 | target |
693 | host_os | 693 | host_os |
694 | host_vendor | 694 | host_vendor |
695 | host_cpu | 695 | host_cpu |
696 | host | 696 | host |
697 | build_os | 697 | build_os |
698 | build_vendor | 698 | build_vendor |
699 | build_cpu | 699 | build_cpu |
700 | build | 700 | build |
701 | target_alias | 701 | target_alias |
702 | host_alias | 702 | host_alias |
703 | build_alias | 703 | build_alias |
704 | LIBS | 704 | LIBS |
705 | ECHO_T | 705 | ECHO_T |
706 | ECHO_N | 706 | ECHO_N |
707 | ECHO_C | 707 | ECHO_C |
708 | DEFS | 708 | DEFS |
709 | mandir | 709 | mandir |
710 | localedir | 710 | localedir |
711 | libdir | 711 | libdir |
712 | psdir | 712 | psdir |
713 | pdfdir | 713 | pdfdir |
714 | dvidir | 714 | dvidir |
715 | htmldir | 715 | htmldir |
716 | infodir | 716 | infodir |
717 | docdir | 717 | docdir |
718 | oldincludedir | 718 | oldincludedir |
719 | includedir | 719 | includedir |
720 | localstatedir | 720 | localstatedir |
721 | sharedstatedir | 721 | sharedstatedir |
722 | sysconfdir | 722 | sysconfdir |
723 | datadir | 723 | datadir |
724 | datarootdir | 724 | datarootdir |
725 | libexecdir | 725 | libexecdir |
726 | sbindir | 726 | sbindir |
727 | bindir | 727 | bindir |
728 | program_transform_name | 728 | program_transform_name |
729 | prefix | 729 | prefix |
730 | exec_prefix | 730 | exec_prefix |
731 | PACKAGE_URL | 731 | PACKAGE_URL |
732 | PACKAGE_BUGREPORT | 732 | PACKAGE_BUGREPORT |
733 | PACKAGE_STRING | 733 | PACKAGE_STRING |
734 | PACKAGE_VERSION | 734 | PACKAGE_VERSION |
735 | PACKAGE_TARNAME | 735 | PACKAGE_TARNAME |
736 | PACKAGE_NAME | 736 | PACKAGE_NAME |
737 | PATH_SEPARATOR | 737 | PATH_SEPARATOR |
738 | SHELL' | 738 | SHELL' |
739 | ac_subst_files='' | 739 | ac_subst_files='' |
740 | ac_user_opts=' | 740 | ac_user_opts=' |
741 | enable_option_checking | 741 | enable_option_checking |
742 | enable_silent_rules | 742 | enable_silent_rules |
743 | enable_dependency_tracking | 743 | enable_dependency_tracking |
744 | enable_maintainer_mode | 744 | enable_maintainer_mode |
745 | enable_ld_version_script | 745 | enable_ld_version_script |
746 | enable_shared | 746 | enable_shared |
747 | enable_static | 747 | enable_static |
748 | with_pic | 748 | with_pic |
749 | enable_fast_install | 749 | enable_fast_install |
750 | with_gnu_ld | 750 | with_gnu_ld |
751 | with_sysroot | 751 | with_sysroot |
752 | enable_libtool_lock | 752 | enable_libtool_lock |
753 | enable_maxmem | 753 | enable_maxmem |
754 | ' | 754 | ' |
755 | ac_precious_vars='build_alias | 755 | ac_precious_vars='build_alias |
756 | host_alias | 756 | host_alias |
757 | target_alias | 757 | target_alias |
758 | CC | 758 | CC |
759 | CFLAGS | 759 | CFLAGS |
760 | LDFLAGS | 760 | LDFLAGS |
761 | LIBS | 761 | LIBS |
762 | CPPFLAGS | 762 | CPPFLAGS |
763 | CPP' | 763 | CPP' |
764 | 764 | ||
765 | 765 | ||
766 | # Initialize some variables set by options. | 766 | # Initialize some variables set by options. |
767 | ac_init_help= | 767 | ac_init_help= |
768 | ac_init_version=false | 768 | ac_init_version=false |
769 | ac_unrecognized_opts= | 769 | ac_unrecognized_opts= |
770 | ac_unrecognized_sep= | 770 | ac_unrecognized_sep= |
771 | # The variables have the same names as the options, with | 771 | # The variables have the same names as the options, with |
772 | # dashes changed to underlines. | 772 | # dashes changed to underlines. |
773 | cache_file=/dev/null | 773 | cache_file=/dev/null |
774 | exec_prefix=NONE | 774 | exec_prefix=NONE |
775 | no_create= | 775 | no_create= |
776 | no_recursion= | 776 | no_recursion= |
777 | prefix=NONE | 777 | prefix=NONE |
778 | program_prefix=NONE | 778 | program_prefix=NONE |
779 | program_suffix=NONE | 779 | program_suffix=NONE |
780 | program_transform_name=s,x,x, | 780 | program_transform_name=s,x,x, |
781 | silent= | 781 | silent= |
782 | site= | 782 | site= |
783 | srcdir= | 783 | srcdir= |
784 | verbose= | 784 | verbose= |
785 | x_includes=NONE | 785 | x_includes=NONE |
786 | x_libraries=NONE | 786 | x_libraries=NONE |
787 | 787 | ||
788 | # Installation directory options. | 788 | # Installation directory options. |
789 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 789 | # These are left unexpanded so users can "make install exec_prefix=/foo" |
790 | # and all the variables that are supposed to be based on exec_prefix | 790 | # and all the variables that are supposed to be based on exec_prefix |
791 | # by default will actually change. | 791 | # by default will actually change. |
792 | # Use braces instead of parens because sh, perl, etc. also accept them. | 792 | # Use braces instead of parens because sh, perl, etc. also accept them. |
793 | # (The list follows the same order as the GNU Coding Standards.) | 793 | # (The list follows the same order as the GNU Coding Standards.) |
794 | bindir='${exec_prefix}/bin' | 794 | bindir='${exec_prefix}/bin' |
795 | sbindir='${exec_prefix}/sbin' | 795 | sbindir='${exec_prefix}/sbin' |
796 | libexecdir='${exec_prefix}/libexec' | 796 | libexecdir='${exec_prefix}/libexec' |
797 | datarootdir='${prefix}/share' | 797 | datarootdir='${prefix}/share' |
798 | datadir='${datarootdir}' | 798 | datadir='${datarootdir}' |
799 | sysconfdir='${prefix}/etc' | 799 | sysconfdir='${prefix}/etc' |
800 | sharedstatedir='${prefix}/com' | 800 | sharedstatedir='${prefix}/com' |
801 | localstatedir='${prefix}/var' | 801 | localstatedir='${prefix}/var' |
802 | includedir='${prefix}/include' | 802 | includedir='${prefix}/include' |
803 | oldincludedir='/usr/include' | 803 | oldincludedir='/usr/include' |
804 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' | 804 | docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' |
805 | infodir='${datarootdir}/info' | 805 | infodir='${datarootdir}/info' |
806 | htmldir='${docdir}' | 806 | htmldir='${docdir}' |
807 | dvidir='${docdir}' | 807 | dvidir='${docdir}' |
808 | pdfdir='${docdir}' | 808 | pdfdir='${docdir}' |
809 | psdir='${docdir}' | 809 | psdir='${docdir}' |
810 | libdir='${exec_prefix}/lib' | 810 | libdir='${exec_prefix}/lib' |
811 | localedir='${datarootdir}/locale' | 811 | localedir='${datarootdir}/locale' |
812 | mandir='${datarootdir}/man' | 812 | mandir='${datarootdir}/man' |
813 | 813 | ||
814 | ac_prev= | 814 | ac_prev= |
815 | ac_dashdash= | 815 | ac_dashdash= |
816 | for ac_option | 816 | for ac_option |
817 | do | 817 | do |
818 | # If the previous option needs an argument, assign it. | 818 | # If the previous option needs an argument, assign it. |
819 | if test -n "$ac_prev"; then | 819 | if test -n "$ac_prev"; then |
820 | eval $ac_prev=\$ac_option | 820 | eval $ac_prev=\$ac_option |
821 | ac_prev= | 821 | ac_prev= |
822 | continue | 822 | continue |
823 | fi | 823 | fi |
824 | 824 | ||
825 | case $ac_option in | 825 | case $ac_option in |
826 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 826 | *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; |
827 | *=) ac_optarg= ;; | 827 | *=) ac_optarg= ;; |
828 | *) ac_optarg=yes ;; | 828 | *) ac_optarg=yes ;; |
829 | esac | 829 | esac |
830 | 830 | ||
831 | # Accept the important Cygnus configure options, so we can diagnose typos. | 831 | # Accept the important Cygnus configure options, so we can diagnose typos. |
832 | 832 | ||
833 | case $ac_dashdash$ac_option in | 833 | case $ac_dashdash$ac_option in |
834 | --) | 834 | --) |
835 | ac_dashdash=yes ;; | 835 | ac_dashdash=yes ;; |
836 | 836 | ||
837 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 837 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
838 | ac_prev=bindir ;; | 838 | ac_prev=bindir ;; |
839 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 839 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
840 | bindir=$ac_optarg ;; | 840 | bindir=$ac_optarg ;; |
841 | 841 | ||
842 | -build | --build | --buil | --bui | --bu) | 842 | -build | --build | --buil | --bui | --bu) |
843 | ac_prev=build_alias ;; | 843 | ac_prev=build_alias ;; |
844 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 844 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
845 | build_alias=$ac_optarg ;; | 845 | build_alias=$ac_optarg ;; |
846 | 846 | ||
847 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 847 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
848 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 848 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
849 | ac_prev=cache_file ;; | 849 | ac_prev=cache_file ;; |
850 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 850 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
851 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 851 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
852 | cache_file=$ac_optarg ;; | 852 | cache_file=$ac_optarg ;; |
853 | 853 | ||
854 | --config-cache | -C) | 854 | --config-cache | -C) |
855 | cache_file=config.cache ;; | 855 | cache_file=config.cache ;; |
856 | 856 | ||
857 | -datadir | --datadir | --datadi | --datad) | 857 | -datadir | --datadir | --datadi | --datad) |
858 | ac_prev=datadir ;; | 858 | ac_prev=datadir ;; |
859 | -datadir=* | --datadir=* | --datadi=* | --datad=*) | 859 | -datadir=* | --datadir=* | --datadi=* | --datad=*) |
860 | datadir=$ac_optarg ;; | 860 | datadir=$ac_optarg ;; |
861 | 861 | ||
862 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | 862 | -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ |
863 | | --dataroo | --dataro | --datar) | 863 | | --dataroo | --dataro | --datar) |
864 | ac_prev=datarootdir ;; | 864 | ac_prev=datarootdir ;; |
865 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 865 | -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ |
866 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 866 | | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) |
867 | datarootdir=$ac_optarg ;; | 867 | datarootdir=$ac_optarg ;; |
868 | 868 | ||
869 | -disable-* | --disable-*) | 869 | -disable-* | --disable-*) |
870 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 870 | ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
871 | # Reject names that are not valid shell variable names. | 871 | # Reject names that are not valid shell variable names. |
872 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 872 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
873 | as_fn_error $? "invalid feature name: $ac_useropt" | 873 | as_fn_error $? "invalid feature name: $ac_useropt" |
874 | ac_useropt_orig=$ac_useropt | 874 | ac_useropt_orig=$ac_useropt |
875 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 875 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
876 | case $ac_user_opts in | 876 | case $ac_user_opts in |
877 | *" | 877 | *" |
878 | "enable_$ac_useropt" | 878 | "enable_$ac_useropt" |
879 | "*) ;; | 879 | "*) ;; |
880 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | 880 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" |
881 | ac_unrecognized_sep=', ';; | 881 | ac_unrecognized_sep=', ';; |
882 | esac | 882 | esac |
883 | eval enable_$ac_useropt=no ;; | 883 | eval enable_$ac_useropt=no ;; |
884 | 884 | ||
885 | -docdir | --docdir | --docdi | --doc | --do) | 885 | -docdir | --docdir | --docdi | --doc | --do) |
886 | ac_prev=docdir ;; | 886 | ac_prev=docdir ;; |
887 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 887 | -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) |
888 | docdir=$ac_optarg ;; | 888 | docdir=$ac_optarg ;; |
889 | 889 | ||
890 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | 890 | -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) |
891 | ac_prev=dvidir ;; | 891 | ac_prev=dvidir ;; |
892 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 892 | -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) |
893 | dvidir=$ac_optarg ;; | 893 | dvidir=$ac_optarg ;; |
894 | 894 | ||
895 | -enable-* | --enable-*) | 895 | -enable-* | --enable-*) |
896 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 896 | ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
897 | # Reject names that are not valid shell variable names. | 897 | # Reject names that are not valid shell variable names. |
898 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 898 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
899 | as_fn_error $? "invalid feature name: $ac_useropt" | 899 | as_fn_error $? "invalid feature name: $ac_useropt" |
900 | ac_useropt_orig=$ac_useropt | 900 | ac_useropt_orig=$ac_useropt |
901 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 901 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
902 | case $ac_user_opts in | 902 | case $ac_user_opts in |
903 | *" | 903 | *" |
904 | "enable_$ac_useropt" | 904 | "enable_$ac_useropt" |
905 | "*) ;; | 905 | "*) ;; |
906 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | 906 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" |
907 | ac_unrecognized_sep=', ';; | 907 | ac_unrecognized_sep=', ';; |
908 | esac | 908 | esac |
909 | eval enable_$ac_useropt=\$ac_optarg ;; | 909 | eval enable_$ac_useropt=\$ac_optarg ;; |
910 | 910 | ||
911 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 911 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
912 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 912 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
913 | | --exec | --exe | --ex) | 913 | | --exec | --exe | --ex) |
914 | ac_prev=exec_prefix ;; | 914 | ac_prev=exec_prefix ;; |
915 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 915 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
916 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 916 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
917 | | --exec=* | --exe=* | --ex=*) | 917 | | --exec=* | --exe=* | --ex=*) |
918 | exec_prefix=$ac_optarg ;; | 918 | exec_prefix=$ac_optarg ;; |
919 | 919 | ||
920 | -gas | --gas | --ga | --g) | 920 | -gas | --gas | --ga | --g) |
921 | # Obsolete; use --with-gas. | 921 | # Obsolete; use --with-gas. |
922 | with_gas=yes ;; | 922 | with_gas=yes ;; |
923 | 923 | ||
924 | -help | --help | --hel | --he | -h) | 924 | -help | --help | --hel | --he | -h) |
925 | ac_init_help=long ;; | 925 | ac_init_help=long ;; |
926 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 926 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) |
927 | ac_init_help=recursive ;; | 927 | ac_init_help=recursive ;; |
928 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 928 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) |
929 | ac_init_help=short ;; | 929 | ac_init_help=short ;; |
930 | 930 | ||
931 | -host | --host | --hos | --ho) | 931 | -host | --host | --hos | --ho) |
932 | ac_prev=host_alias ;; | 932 | ac_prev=host_alias ;; |
933 | -host=* | --host=* | --hos=* | --ho=*) | 933 | -host=* | --host=* | --hos=* | --ho=*) |
934 | host_alias=$ac_optarg ;; | 934 | host_alias=$ac_optarg ;; |
935 | 935 | ||
936 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | 936 | -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) |
937 | ac_prev=htmldir ;; | 937 | ac_prev=htmldir ;; |
938 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | 938 | -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ |
939 | | --ht=*) | 939 | | --ht=*) |
940 | htmldir=$ac_optarg ;; | 940 | htmldir=$ac_optarg ;; |
941 | 941 | ||
942 | -includedir | --includedir | --includedi | --included | --include \ | 942 | -includedir | --includedir | --includedi | --included | --include \ |
943 | | --includ | --inclu | --incl | --inc) | 943 | | --includ | --inclu | --incl | --inc) |
944 | ac_prev=includedir ;; | 944 | ac_prev=includedir ;; |
945 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 945 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
946 | | --includ=* | --inclu=* | --incl=* | --inc=*) | 946 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
947 | includedir=$ac_optarg ;; | 947 | includedir=$ac_optarg ;; |
948 | 948 | ||
949 | -infodir | --infodir | --infodi | --infod | --info | --inf) | 949 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
950 | ac_prev=infodir ;; | 950 | ac_prev=infodir ;; |
951 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 951 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
952 | infodir=$ac_optarg ;; | 952 | infodir=$ac_optarg ;; |
953 | 953 | ||
954 | -libdir | --libdir | --libdi | --libd) | 954 | -libdir | --libdir | --libdi | --libd) |
955 | ac_prev=libdir ;; | 955 | ac_prev=libdir ;; |
956 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | 956 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
957 | libdir=$ac_optarg ;; | 957 | libdir=$ac_optarg ;; |
958 | 958 | ||
959 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 959 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
960 | | --libexe | --libex | --libe) | 960 | | --libexe | --libex | --libe) |
961 | ac_prev=libexecdir ;; | 961 | ac_prev=libexecdir ;; |
962 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 962 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
963 | | --libexe=* | --libex=* | --libe=*) | 963 | | --libexe=* | --libex=* | --libe=*) |
964 | libexecdir=$ac_optarg ;; | 964 | libexecdir=$ac_optarg ;; |
965 | 965 | ||
966 | -localedir | --localedir | --localedi | --localed | --locale) | 966 | -localedir | --localedir | --localedi | --localed | --locale) |
967 | ac_prev=localedir ;; | 967 | ac_prev=localedir ;; |
968 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | 968 | -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) |
969 | localedir=$ac_optarg ;; | 969 | localedir=$ac_optarg ;; |
970 | 970 | ||
971 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 971 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
972 | | --localstate | --localstat | --localsta | --localst | --locals) | 972 | | --localstate | --localstat | --localsta | --localst | --locals) |
973 | ac_prev=localstatedir ;; | 973 | ac_prev=localstatedir ;; |
974 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 974 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
975 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | 975 | | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) |
976 | localstatedir=$ac_optarg ;; | 976 | localstatedir=$ac_optarg ;; |
977 | 977 | ||
978 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 978 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
979 | ac_prev=mandir ;; | 979 | ac_prev=mandir ;; |
980 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 980 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
981 | mandir=$ac_optarg ;; | 981 | mandir=$ac_optarg ;; |
982 | 982 | ||
983 | -nfp | --nfp | --nf) | 983 | -nfp | --nfp | --nf) |
984 | # Obsolete; use --without-fp. | 984 | # Obsolete; use --without-fp. |
985 | with_fp=no ;; | 985 | with_fp=no ;; |
986 | 986 | ||
987 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 987 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
988 | | --no-cr | --no-c | -n) | 988 | | --no-cr | --no-c | -n) |
989 | no_create=yes ;; | 989 | no_create=yes ;; |
990 | 990 | ||
991 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 991 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
992 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 992 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
993 | no_recursion=yes ;; | 993 | no_recursion=yes ;; |
994 | 994 | ||
995 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 995 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
996 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 996 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
997 | | --oldin | --oldi | --old | --ol | --o) | 997 | | --oldin | --oldi | --old | --ol | --o) |
998 | ac_prev=oldincludedir ;; | 998 | ac_prev=oldincludedir ;; |
999 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 999 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
1000 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 1000 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
1001 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 1001 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
1002 | oldincludedir=$ac_optarg ;; | 1002 | oldincludedir=$ac_optarg ;; |
1003 | 1003 | ||
1004 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 1004 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
1005 | ac_prev=prefix ;; | 1005 | ac_prev=prefix ;; |
1006 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 1006 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
1007 | prefix=$ac_optarg ;; | 1007 | prefix=$ac_optarg ;; |
1008 | 1008 | ||
1009 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 1009 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
1010 | | --program-pre | --program-pr | --program-p) | 1010 | | --program-pre | --program-pr | --program-p) |
1011 | ac_prev=program_prefix ;; | 1011 | ac_prev=program_prefix ;; |
1012 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 1012 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
1013 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 1013 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
1014 | program_prefix=$ac_optarg ;; | 1014 | program_prefix=$ac_optarg ;; |
1015 | 1015 | ||
1016 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 1016 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
1017 | | --program-suf | --program-su | --program-s) | 1017 | | --program-suf | --program-su | --program-s) |
1018 | ac_prev=program_suffix ;; | 1018 | ac_prev=program_suffix ;; |
1019 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 1019 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
1020 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 1020 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
1021 | program_suffix=$ac_optarg ;; | 1021 | program_suffix=$ac_optarg ;; |
1022 | 1022 | ||
1023 | -program-transform-name | --program-transform-name \ | 1023 | -program-transform-name | --program-transform-name \ |
1024 | | --program-transform-nam | --program-transform-na \ | 1024 | | --program-transform-nam | --program-transform-na \ |
1025 | | --program-transform-n | --program-transform- \ | 1025 | | --program-transform-n | --program-transform- \ |
1026 | | --program-transform | --program-transfor \ | 1026 | | --program-transform | --program-transfor \ |
1027 | | --program-transfo | --program-transf \ | 1027 | | --program-transfo | --program-transf \ |
1028 | | --program-trans | --program-tran \ | 1028 | | --program-trans | --program-tran \ |
1029 | | --progr-tra | --program-tr | --program-t) | 1029 | | --progr-tra | --program-tr | --program-t) |
1030 | ac_prev=program_transform_name ;; | 1030 | ac_prev=program_transform_name ;; |
1031 | -program-transform-name=* | --program-transform-name=* \ | 1031 | -program-transform-name=* | --program-transform-name=* \ |
1032 | | --program-transform-nam=* | --program-transform-na=* \ | 1032 | | --program-transform-nam=* | --program-transform-na=* \ |
1033 | | --program-transform-n=* | --program-transform-=* \ | 1033 | | --program-transform-n=* | --program-transform-=* \ |
1034 | | --program-transform=* | --program-transfor=* \ | 1034 | | --program-transform=* | --program-transfor=* \ |
1035 | | --program-transfo=* | --program-transf=* \ | 1035 | | --program-transfo=* | --program-transf=* \ |
1036 | | --program-trans=* | --program-tran=* \ | 1036 | | --program-trans=* | --program-tran=* \ |
1037 | | --progr-tra=* | --program-tr=* | --program-t=*) | 1037 | | --progr-tra=* | --program-tr=* | --program-t=*) |
1038 | program_transform_name=$ac_optarg ;; | 1038 | program_transform_name=$ac_optarg ;; |
1039 | 1039 | ||
1040 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | 1040 | -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) |
1041 | ac_prev=pdfdir ;; | 1041 | ac_prev=pdfdir ;; |
1042 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | 1042 | -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) |
1043 | pdfdir=$ac_optarg ;; | 1043 | pdfdir=$ac_optarg ;; |
1044 | 1044 | ||
1045 | -psdir | --psdir | --psdi | --psd | --ps) | 1045 | -psdir | --psdir | --psdi | --psd | --ps) |
1046 | ac_prev=psdir ;; | 1046 | ac_prev=psdir ;; |
1047 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | 1047 | -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) |
1048 | psdir=$ac_optarg ;; | 1048 | psdir=$ac_optarg ;; |
1049 | 1049 | ||
1050 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1050 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1051 | | -silent | --silent | --silen | --sile | --sil) | 1051 | | -silent | --silent | --silen | --sile | --sil) |
1052 | silent=yes ;; | 1052 | silent=yes ;; |
1053 | 1053 | ||
1054 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 1054 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
1055 | ac_prev=sbindir ;; | 1055 | ac_prev=sbindir ;; |
1056 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 1056 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
1057 | | --sbi=* | --sb=*) | 1057 | | --sbi=* | --sb=*) |
1058 | sbindir=$ac_optarg ;; | 1058 | sbindir=$ac_optarg ;; |
1059 | 1059 | ||
1060 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 1060 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
1061 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 1061 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
1062 | | --sharedst | --shareds | --shared | --share | --shar \ | 1062 | | --sharedst | --shareds | --shared | --share | --shar \ |
1063 | | --sha | --sh) | 1063 | | --sha | --sh) |
1064 | ac_prev=sharedstatedir ;; | 1064 | ac_prev=sharedstatedir ;; |
1065 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 1065 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
1066 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 1066 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
1067 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 1067 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
1068 | | --sha=* | --sh=*) | 1068 | | --sha=* | --sh=*) |
1069 | sharedstatedir=$ac_optarg ;; | 1069 | sharedstatedir=$ac_optarg ;; |
1070 | 1070 | ||
1071 | -site | --site | --sit) | 1071 | -site | --site | --sit) |
1072 | ac_prev=site ;; | 1072 | ac_prev=site ;; |
1073 | -site=* | --site=* | --sit=*) | 1073 | -site=* | --site=* | --sit=*) |
1074 | site=$ac_optarg ;; | 1074 | site=$ac_optarg ;; |
1075 | 1075 | ||
1076 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 1076 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
1077 | ac_prev=srcdir ;; | 1077 | ac_prev=srcdir ;; |
1078 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 1078 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
1079 | srcdir=$ac_optarg ;; | 1079 | srcdir=$ac_optarg ;; |
1080 | 1080 | ||
1081 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 1081 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
1082 | | --syscon | --sysco | --sysc | --sys | --sy) | 1082 | | --syscon | --sysco | --sysc | --sys | --sy) |
1083 | ac_prev=sysconfdir ;; | 1083 | ac_prev=sysconfdir ;; |
1084 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 1084 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
1085 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 1085 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
1086 | sysconfdir=$ac_optarg ;; | 1086 | sysconfdir=$ac_optarg ;; |
1087 | 1087 | ||
1088 | -target | --target | --targe | --targ | --tar | --ta | --t) | 1088 | -target | --target | --targe | --targ | --tar | --ta | --t) |
1089 | ac_prev=target_alias ;; | 1089 | ac_prev=target_alias ;; |
1090 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 1090 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
1091 | target_alias=$ac_optarg ;; | 1091 | target_alias=$ac_optarg ;; |
1092 | 1092 | ||
1093 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | 1093 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
1094 | verbose=yes ;; | 1094 | verbose=yes ;; |
1095 | 1095 | ||
1096 | -version | --version | --versio | --versi | --vers | -V) | 1096 | -version | --version | --versio | --versi | --vers | -V) |
1097 | ac_init_version=: ;; | 1097 | ac_init_version=: ;; |
1098 | 1098 | ||
1099 | -with-* | --with-*) | 1099 | -with-* | --with-*) |
1100 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 1100 | ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
1101 | # Reject names that are not valid shell variable names. | 1101 | # Reject names that are not valid shell variable names. |
1102 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1102 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1103 | as_fn_error $? "invalid package name: $ac_useropt" | 1103 | as_fn_error $? "invalid package name: $ac_useropt" |
1104 | ac_useropt_orig=$ac_useropt | 1104 | ac_useropt_orig=$ac_useropt |
1105 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1105 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1106 | case $ac_user_opts in | 1106 | case $ac_user_opts in |
1107 | *" | 1107 | *" |
1108 | "with_$ac_useropt" | 1108 | "with_$ac_useropt" |
1109 | "*) ;; | 1109 | "*) ;; |
1110 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | 1110 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" |
1111 | ac_unrecognized_sep=', ';; | 1111 | ac_unrecognized_sep=', ';; |
1112 | esac | 1112 | esac |
1113 | eval with_$ac_useropt=\$ac_optarg ;; | 1113 | eval with_$ac_useropt=\$ac_optarg ;; |
1114 | 1114 | ||
1115 | -without-* | --without-*) | 1115 | -without-* | --without-*) |
1116 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 1116 | ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
1117 | # Reject names that are not valid shell variable names. | 1117 | # Reject names that are not valid shell variable names. |
1118 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 1118 | expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && |
1119 | as_fn_error $? "invalid package name: $ac_useropt" | 1119 | as_fn_error $? "invalid package name: $ac_useropt" |
1120 | ac_useropt_orig=$ac_useropt | 1120 | ac_useropt_orig=$ac_useropt |
1121 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 1121 | ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` |
1122 | case $ac_user_opts in | 1122 | case $ac_user_opts in |
1123 | *" | 1123 | *" |
1124 | "with_$ac_useropt" | 1124 | "with_$ac_useropt" |
1125 | "*) ;; | 1125 | "*) ;; |
1126 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | 1126 | *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" |
1127 | ac_unrecognized_sep=', ';; | 1127 | ac_unrecognized_sep=', ';; |
1128 | esac | 1128 | esac |
1129 | eval with_$ac_useropt=no ;; | 1129 | eval with_$ac_useropt=no ;; |
1130 | 1130 | ||
1131 | --x) | 1131 | --x) |
1132 | # Obsolete; use --with-x. | 1132 | # Obsolete; use --with-x. |
1133 | with_x=yes ;; | 1133 | with_x=yes ;; |
1134 | 1134 | ||
1135 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 1135 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
1136 | | --x-incl | --x-inc | --x-in | --x-i) | 1136 | | --x-incl | --x-inc | --x-in | --x-i) |
1137 | ac_prev=x_includes ;; | 1137 | ac_prev=x_includes ;; |
1138 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 1138 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
1139 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 1139 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
1140 | x_includes=$ac_optarg ;; | 1140 | x_includes=$ac_optarg ;; |
1141 | 1141 | ||
1142 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 1142 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
1143 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 1143 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
1144 | ac_prev=x_libraries ;; | 1144 | ac_prev=x_libraries ;; |
1145 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 1145 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
1146 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 1146 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
1147 | x_libraries=$ac_optarg ;; | 1147 | x_libraries=$ac_optarg ;; |
1148 | 1148 | ||
1149 | -*) as_fn_error $? "unrecognized option: \`$ac_option' | 1149 | -*) as_fn_error $? "unrecognized option: \`$ac_option' |
1150 | Try \`$0 --help' for more information" | 1150 | Try \`$0 --help' for more information" |
1151 | ;; | 1151 | ;; |
1152 | 1152 | ||
1153 | *=*) | 1153 | *=*) |
1154 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 1154 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` |
1155 | # Reject names that are not valid shell variable names. | 1155 | # Reject names that are not valid shell variable names. |
1156 | case $ac_envvar in #( | 1156 | case $ac_envvar in #( |
1157 | '' | [0-9]* | *[!_$as_cr_alnum]* ) | 1157 | '' | [0-9]* | *[!_$as_cr_alnum]* ) |
1158 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 1158 | as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; |
1159 | esac | 1159 | esac |
1160 | eval $ac_envvar=\$ac_optarg | 1160 | eval $ac_envvar=\$ac_optarg |
1161 | export $ac_envvar ;; | 1161 | export $ac_envvar ;; |
1162 | 1162 | ||
1163 | *) | 1163 | *) |
1164 | # FIXME: should be removed in autoconf 3.0. | 1164 | # FIXME: should be removed in autoconf 3.0. |
1165 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 1165 | $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 |
1166 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 1166 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && |
1167 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 1167 | $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 |
1168 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 1168 | : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" |
1169 | ;; | 1169 | ;; |
1170 | 1170 | ||
1171 | esac | 1171 | esac |
1172 | done | 1172 | done |
1173 | 1173 | ||
1174 | if test -n "$ac_prev"; then | 1174 | if test -n "$ac_prev"; then |
1175 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 1175 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
1176 | as_fn_error $? "missing argument to $ac_option" | 1176 | as_fn_error $? "missing argument to $ac_option" |
1177 | fi | 1177 | fi |
1178 | 1178 | ||
1179 | if test -n "$ac_unrecognized_opts"; then | 1179 | if test -n "$ac_unrecognized_opts"; then |
1180 | case $enable_option_checking in | 1180 | case $enable_option_checking in |
1181 | no) ;; | 1181 | no) ;; |
1182 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 1182 | fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; |
1183 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 1183 | *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; |
1184 | esac | 1184 | esac |
1185 | fi | 1185 | fi |
1186 | 1186 | ||
1187 | # Check all directory arguments for consistency. | 1187 | # Check all directory arguments for consistency. |
1188 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 1188 | for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ |
1189 | datadir sysconfdir sharedstatedir localstatedir includedir \ | 1189 | datadir sysconfdir sharedstatedir localstatedir includedir \ |
1190 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 1190 | oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ |
1191 | libdir localedir mandir | 1191 | libdir localedir mandir |
1192 | do | 1192 | do |
1193 | eval ac_val=\$$ac_var | 1193 | eval ac_val=\$$ac_var |
1194 | # Remove trailing slashes. | 1194 | # Remove trailing slashes. |
1195 | case $ac_val in | 1195 | case $ac_val in |
1196 | */ ) | 1196 | */ ) |
1197 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | 1197 | ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` |
1198 | eval $ac_var=\$ac_val;; | 1198 | eval $ac_var=\$ac_val;; |
1199 | esac | 1199 | esac |
1200 | # Be sure to have absolute directory names. | 1200 | # Be sure to have absolute directory names. |
1201 | case $ac_val in | 1201 | case $ac_val in |
1202 | [\\/$]* | ?:[\\/]* ) continue;; | 1202 | [\\/$]* | ?:[\\/]* ) continue;; |
1203 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 1203 | NONE | '' ) case $ac_var in *prefix ) continue;; esac;; |
1204 | esac | 1204 | esac |
1205 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 1205 | as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" |
1206 | done | 1206 | done |
1207 | 1207 | ||
1208 | # There might be people who depend on the old broken behavior: `$host' | 1208 | # There might be people who depend on the old broken behavior: `$host' |
1209 | # used to hold the argument of --host etc. | 1209 | # used to hold the argument of --host etc. |
1210 | # FIXME: To remove some day. | 1210 | # FIXME: To remove some day. |
1211 | build=$build_alias | 1211 | build=$build_alias |
1212 | host=$host_alias | 1212 | host=$host_alias |
1213 | target=$target_alias | 1213 | target=$target_alias |
1214 | 1214 | ||
1215 | # FIXME: To remove some day. | 1215 | # FIXME: To remove some day. |
1216 | if test "x$host_alias" != x; then | 1216 | if test "x$host_alias" != x; then |
1217 | if test "x$build_alias" = x; then | 1217 | if test "x$build_alias" = x; then |
1218 | cross_compiling=maybe | 1218 | cross_compiling=maybe |
1219 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 1219 | $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. |
1220 | If a cross compiler is detected then cross compile mode will be used" >&2 | 1220 | If a cross compiler is detected then cross compile mode will be used" >&2 |
1221 | elif test "x$build_alias" != "x$host_alias"; then | 1221 | elif test "x$build_alias" != "x$host_alias"; then |
1222 | cross_compiling=yes | 1222 | cross_compiling=yes |
1223 | fi | 1223 | fi |
1224 | fi | 1224 | fi |
1225 | 1225 | ||
1226 | ac_tool_prefix= | 1226 | ac_tool_prefix= |
1227 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 1227 | test -n "$host_alias" && ac_tool_prefix=$host_alias- |
1228 | 1228 | ||
1229 | test "$silent" = yes && exec 6>/dev/null | 1229 | test "$silent" = yes && exec 6>/dev/null |
1230 | 1230 | ||
1231 | 1231 | ||
1232 | ac_pwd=`pwd` && test -n "$ac_pwd" && | 1232 | ac_pwd=`pwd` && test -n "$ac_pwd" && |
1233 | ac_ls_di=`ls -di .` && | 1233 | ac_ls_di=`ls -di .` && |
1234 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 1234 | ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || |
1235 | as_fn_error $? "working directory cannot be determined" | 1235 | as_fn_error $? "working directory cannot be determined" |
1236 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 1236 | test "X$ac_ls_di" = "X$ac_pwd_ls_di" || |
1237 | as_fn_error $? "pwd does not report name of working directory" | 1237 | as_fn_error $? "pwd does not report name of working directory" |
1238 | 1238 | ||
1239 | 1239 | ||
1240 | # Find the source files, if location was not specified. | 1240 | # Find the source files, if location was not specified. |
1241 | if test -z "$srcdir"; then | 1241 | if test -z "$srcdir"; then |
1242 | ac_srcdir_defaulted=yes | 1242 | ac_srcdir_defaulted=yes |
1243 | # Try the directory containing this script, then the parent directory. | 1243 | # Try the directory containing this script, then the parent directory. |
1244 | ac_confdir=`$as_dirname -- "$as_myself" || | 1244 | ac_confdir=`$as_dirname -- "$as_myself" || |
1245 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 1245 | $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
1246 | X"$as_myself" : 'X\(//\)[^/]' \| \ | 1246 | X"$as_myself" : 'X\(//\)[^/]' \| \ |
1247 | X"$as_myself" : 'X\(//\)$' \| \ | 1247 | X"$as_myself" : 'X\(//\)$' \| \ |
1248 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 1248 | X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || |
1249 | $as_echo X"$as_myself" | | 1249 | $as_echo X"$as_myself" | |
1250 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 1250 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
1251 | s//\1/ | 1251 | s//\1/ |
1252 | q | 1252 | q |
1253 | } | 1253 | } |
1254 | /^X\(\/\/\)[^/].*/{ | 1254 | /^X\(\/\/\)[^/].*/{ |
1255 | s//\1/ | 1255 | s//\1/ |
1256 | q | 1256 | q |
1257 | } | 1257 | } |
1258 | /^X\(\/\/\)$/{ | 1258 | /^X\(\/\/\)$/{ |
1259 | s//\1/ | 1259 | s//\1/ |
1260 | q | 1260 | q |
1261 | } | 1261 | } |
1262 | /^X\(\/\).*/{ | 1262 | /^X\(\/\).*/{ |
1263 | s//\1/ | 1263 | s//\1/ |
1264 | q | 1264 | q |
1265 | } | 1265 | } |
1266 | s/.*/./; q'` | 1266 | s/.*/./; q'` |
1267 | srcdir=$ac_confdir | 1267 | srcdir=$ac_confdir |
1268 | if test ! -r "$srcdir/$ac_unique_file"; then | 1268 | if test ! -r "$srcdir/$ac_unique_file"; then |
1269 | srcdir=.. | 1269 | srcdir=.. |
1270 | fi | 1270 | fi |
1271 | else | 1271 | else |
1272 | ac_srcdir_defaulted=no | 1272 | ac_srcdir_defaulted=no |
1273 | fi | 1273 | fi |
1274 | if test ! -r "$srcdir/$ac_unique_file"; then | 1274 | if test ! -r "$srcdir/$ac_unique_file"; then |
1275 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 1275 | test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." |
1276 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 1276 | as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" |
1277 | fi | 1277 | fi |
1278 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 1278 | ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" |
1279 | ac_abs_confdir=`( | 1279 | ac_abs_confdir=`( |
1280 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 1280 | cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" |
1281 | pwd)` | 1281 | pwd)` |
1282 | # When building in place, set srcdir=. | 1282 | # When building in place, set srcdir=. |
1283 | if test "$ac_abs_confdir" = "$ac_pwd"; then | 1283 | if test "$ac_abs_confdir" = "$ac_pwd"; then |
1284 | srcdir=. | 1284 | srcdir=. |
1285 | fi | 1285 | fi |
1286 | # Remove unnecessary trailing slashes from srcdir. | 1286 | # Remove unnecessary trailing slashes from srcdir. |
1287 | # Double slashes in file names in object file debugging info | 1287 | # Double slashes in file names in object file debugging info |
1288 | # mess up M-x gdb in Emacs. | 1288 | # mess up M-x gdb in Emacs. |
1289 | case $srcdir in | 1289 | case $srcdir in |
1290 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | 1290 | */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; |
1291 | esac | 1291 | esac |
1292 | for ac_var in $ac_precious_vars; do | 1292 | for ac_var in $ac_precious_vars; do |
1293 | eval ac_env_${ac_var}_set=\${${ac_var}+set} | 1293 | eval ac_env_${ac_var}_set=\${${ac_var}+set} |
1294 | eval ac_env_${ac_var}_value=\$${ac_var} | 1294 | eval ac_env_${ac_var}_value=\$${ac_var} |
1295 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | 1295 | eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} |
1296 | eval ac_cv_env_${ac_var}_value=\$${ac_var} | 1296 | eval ac_cv_env_${ac_var}_value=\$${ac_var} |
1297 | done | 1297 | done |
1298 | 1298 | ||
1299 | # | 1299 | # |
1300 | # Report the --help message. | 1300 | # Report the --help message. |
1301 | # | 1301 | # |
1302 | if test "$ac_init_help" = "long"; then | 1302 | if test "$ac_init_help" = "long"; then |
1303 | # Omit some internal or obsolete options to make the list less imposing. | 1303 | # Omit some internal or obsolete options to make the list less imposing. |
1304 | # This message is too long to be a string in the A/UX 3.1 sh. | 1304 | # This message is too long to be a string in the A/UX 3.1 sh. |
1305 | cat <<_ACEOF | 1305 | cat <<_ACEOF |
1306 | \`configure' configures libjpeg 8.4.0 to adapt to many kinds of systems. | 1306 | \`configure' configures libjpeg 8.4.0 to adapt to many kinds of systems. |
1307 | 1307 | ||
1308 | Usage: $0 [OPTION]... [VAR=VALUE]... | 1308 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1309 | 1309 | ||
1310 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 1310 | To assign environment variables (e.g., CC, CFLAGS...), specify them as |
1311 | VAR=VALUE. See below for descriptions of some of the useful variables. | 1311 | VAR=VALUE. See below for descriptions of some of the useful variables. |
1312 | 1312 | ||
1313 | Defaults for the options are specified in brackets. | 1313 | Defaults for the options are specified in brackets. |
1314 | 1314 | ||
1315 | Configuration: | 1315 | Configuration: |
1316 | -h, --help display this help and exit | 1316 | -h, --help display this help and exit |
1317 | --help=short display options specific to this package | 1317 | --help=short display options specific to this package |
1318 | --help=recursive display the short help of all the included packages | 1318 | --help=recursive display the short help of all the included packages |
1319 | -V, --version display version information and exit | 1319 | -V, --version display version information and exit |
1320 | -q, --quiet, --silent do not print \`checking ...' messages | 1320 | -q, --quiet, --silent do not print \`checking ...' messages |
1321 | --cache-file=FILE cache test results in FILE [disabled] | 1321 | --cache-file=FILE cache test results in FILE [disabled] |
1322 | -C, --config-cache alias for \`--cache-file=config.cache' | 1322 | -C, --config-cache alias for \`--cache-file=config.cache' |
1323 | -n, --no-create do not create output files | 1323 | -n, --no-create do not create output files |
1324 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | 1324 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] |
1325 | 1325 | ||
1326 | Installation directories: | 1326 | Installation directories: |
1327 | --prefix=PREFIX install architecture-independent files in PREFIX | 1327 | --prefix=PREFIX install architecture-independent files in PREFIX |
1328 | [$ac_default_prefix] | 1328 | [$ac_default_prefix] |
1329 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | 1329 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
1330 | [PREFIX] | 1330 | [PREFIX] |
1331 | 1331 | ||
1332 | By default, \`make install' will install all the files in | 1332 | By default, \`make install' will install all the files in |
1333 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | 1333 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify |
1334 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 1334 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', |
1335 | for instance \`--prefix=\$HOME'. | 1335 | for instance \`--prefix=\$HOME'. |
1336 | 1336 | ||
1337 | For better control, use the options below. | 1337 | For better control, use the options below. |
1338 | 1338 | ||
1339 | Fine tuning of the installation directories: | 1339 | Fine tuning of the installation directories: |
1340 | --bindir=DIR user executables [EPREFIX/bin] | 1340 | --bindir=DIR user executables [EPREFIX/bin] |
1341 | --sbindir=DIR system admin executables [EPREFIX/sbin] | 1341 | --sbindir=DIR system admin executables [EPREFIX/sbin] |
1342 | --libexecdir=DIR program executables [EPREFIX/libexec] | 1342 | --libexecdir=DIR program executables [EPREFIX/libexec] |
1343 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | 1343 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] |
1344 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | 1344 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] |
1345 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | 1345 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] |
1346 | --libdir=DIR object code libraries [EPREFIX/lib] | 1346 | --libdir=DIR object code libraries [EPREFIX/lib] |
1347 | --includedir=DIR C header files [PREFIX/include] | 1347 | --includedir=DIR C header files [PREFIX/include] |
1348 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | 1348 | --oldincludedir=DIR C header files for non-gcc [/usr/include] |
1349 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] | 1349 | --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] |
1350 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] | 1350 | --datadir=DIR read-only architecture-independent data [DATAROOTDIR] |
1351 | --infodir=DIR info documentation [DATAROOTDIR/info] | 1351 | --infodir=DIR info documentation [DATAROOTDIR/info] |
1352 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] | 1352 | --localedir=DIR locale-dependent data [DATAROOTDIR/locale] |
1353 | --mandir=DIR man documentation [DATAROOTDIR/man] | 1353 | --mandir=DIR man documentation [DATAROOTDIR/man] |
1354 | --docdir=DIR documentation root [DATAROOTDIR/doc/libjpeg] | 1354 | --docdir=DIR documentation root [DATAROOTDIR/doc/libjpeg] |
1355 | --htmldir=DIR html documentation [DOCDIR] | 1355 | --htmldir=DIR html documentation [DOCDIR] |
1356 | --dvidir=DIR dvi documentation [DOCDIR] | 1356 | --dvidir=DIR dvi documentation [DOCDIR] |
1357 | --pdfdir=DIR pdf documentation [DOCDIR] | 1357 | --pdfdir=DIR pdf documentation [DOCDIR] |
1358 | --psdir=DIR ps documentation [DOCDIR] | 1358 | --psdir=DIR ps documentation [DOCDIR] |
1359 | _ACEOF | 1359 | _ACEOF |
1360 | 1360 | ||
1361 | cat <<\_ACEOF | 1361 | cat <<\_ACEOF |
1362 | 1362 | ||
1363 | Program names: | 1363 | Program names: |
1364 | --program-prefix=PREFIX prepend PREFIX to installed program names | 1364 | --program-prefix=PREFIX prepend PREFIX to installed program names |
1365 | --program-suffix=SUFFIX append SUFFIX to installed program names | 1365 | --program-suffix=SUFFIX append SUFFIX to installed program names |
1366 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names | 1366 | --program-transform-name=PROGRAM run sed PROGRAM on installed program names |
1367 | 1367 | ||
1368 | System types: | 1368 | System types: |
1369 | --build=BUILD configure for building on BUILD [guessed] | 1369 | --build=BUILD configure for building on BUILD [guessed] |
1370 | --host=HOST cross-compile to build programs to run on HOST [BUILD] | 1370 | --host=HOST cross-compile to build programs to run on HOST [BUILD] |
1371 | --target=TARGET configure for building compilers for TARGET [HOST] | 1371 | --target=TARGET configure for building compilers for TARGET [HOST] |
1372 | _ACEOF | 1372 | _ACEOF |
1373 | fi | 1373 | fi |
1374 | 1374 | ||
1375 | if test -n "$ac_init_help"; then | 1375 | if test -n "$ac_init_help"; then |
1376 | case $ac_init_help in | 1376 | case $ac_init_help in |
1377 | short | recursive ) echo "Configuration of libjpeg 8.4.0:";; | 1377 | short | recursive ) echo "Configuration of libjpeg 8.4.0:";; |
1378 | esac | 1378 | esac |
1379 | cat <<\_ACEOF | 1379 | cat <<\_ACEOF |
1380 | 1380 | ||
1381 | Optional Features: | 1381 | Optional Features: |
1382 | --disable-option-checking ignore unrecognized --enable/--with options | 1382 | --disable-option-checking ignore unrecognized --enable/--with options |
1383 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) | 1383 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1384 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] | 1384 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1385 | --enable-silent-rules less verbose build output (undo: `make V=1') | 1385 | --enable-silent-rules less verbose build output (undo: `make V=1') |
1386 | --disable-silent-rules verbose build output (undo: `make V=0') | 1386 | --disable-silent-rules verbose build output (undo: `make V=0') |
1387 | --disable-dependency-tracking speeds up one-time build | 1387 | --disable-dependency-tracking speeds up one-time build |
1388 | --enable-dependency-tracking do not reject slow dependency extractors | 1388 | --enable-dependency-tracking do not reject slow dependency extractors |
1389 | --enable-maintainer-mode enable make rules and dependencies not useful | 1389 | --enable-maintainer-mode enable make rules and dependencies not useful |
1390 | (and sometimes confusing) to the casual installer | 1390 | (and sometimes confusing) to the casual installer |
1391 | --enable-ld-version-script | 1391 | --enable-ld-version-script |
1392 | enable linker version script (default is enabled | 1392 | enable linker version script (default is enabled |
1393 | when possible) | 1393 | when possible) |
1394 | --enable-shared[=PKGS] build shared libraries [default=yes] | 1394 | --enable-shared[=PKGS] build shared libraries [default=yes] |
1395 | --enable-static[=PKGS] build static libraries [default=yes] | 1395 | --enable-static[=PKGS] build static libraries [default=yes] |
1396 | --enable-fast-install[=PKGS] | 1396 | --enable-fast-install[=PKGS] |
1397 | optimize for fast installation [default=yes] | 1397 | optimize for fast installation [default=yes] |
1398 | --disable-libtool-lock avoid locking (might break parallel builds) | 1398 | --disable-libtool-lock avoid locking (might break parallel builds) |
1399 | --enable-maxmem=N enable use of temp files, set max mem usage to N MB | 1399 | --enable-maxmem=N enable use of temp files, set max mem usage to N MB |
1400 | 1400 | ||
1401 | Optional Packages: | 1401 | Optional Packages: |
1402 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | 1402 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1403 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | 1403 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1404 | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use | 1404 | --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use |
1405 | both] | 1405 | both] |
1406 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] | 1406 | --with-gnu-ld assume the C compiler uses GNU ld [default=no] |
1407 | --with-sysroot=DIR Search for dependent libraries within DIR | 1407 | --with-sysroot=DIR Search for dependent libraries within DIR |
1408 | (or the compiler's sysroot if not specified). | 1408 | (or the compiler's sysroot if not specified). |
1409 | 1409 | ||
1410 | Some influential environment variables: | 1410 | Some influential environment variables: |
1411 | CC C compiler command | 1411 | CC C compiler command |
1412 | CFLAGS C compiler flags | 1412 | CFLAGS C compiler flags |
1413 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | 1413 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1414 | nonstandard directory <lib dir> | 1414 | nonstandard directory <lib dir> |
1415 | LIBS libraries to pass to the linker, e.g. -l<library> | 1415 | LIBS libraries to pass to the linker, e.g. -l<library> |
1416 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 1416 | CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
1417 | you have headers in a nonstandard directory <include dir> | 1417 | you have headers in a nonstandard directory <include dir> |
1418 | CPP C preprocessor | 1418 | CPP C preprocessor |
1419 | 1419 | ||
1420 | Use these variables to override the choices made by `configure' or to help | 1420 | Use these variables to override the choices made by `configure' or to help |
1421 | it to find libraries and programs with nonstandard names/locations. | 1421 | it to find libraries and programs with nonstandard names/locations. |
1422 | 1422 | ||
1423 | Report bugs to the package provider. | 1423 | Report bugs to the package provider. |
1424 | _ACEOF | 1424 | _ACEOF |
1425 | ac_status=$? | 1425 | ac_status=$? |
1426 | fi | 1426 | fi |
1427 | 1427 | ||
1428 | if test "$ac_init_help" = "recursive"; then | 1428 | if test "$ac_init_help" = "recursive"; then |
1429 | # If there are subdirs, report their specific --help. | 1429 | # If there are subdirs, report their specific --help. |
1430 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 1430 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue |
1431 | test -d "$ac_dir" || | 1431 | test -d "$ac_dir" || |
1432 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | 1432 | { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || |
1433 | continue | 1433 | continue |
1434 | ac_builddir=. | 1434 | ac_builddir=. |
1435 | 1435 | ||
1436 | case "$ac_dir" in | 1436 | case "$ac_dir" in |
1437 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1437 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1438 | *) | 1438 | *) |
1439 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 1439 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
1440 | # A ".." for each directory in $ac_dir_suffix. | 1440 | # A ".." for each directory in $ac_dir_suffix. |
1441 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 1441 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
1442 | case $ac_top_builddir_sub in | 1442 | case $ac_top_builddir_sub in |
1443 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 1443 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
1444 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 1444 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
1445 | esac ;; | 1445 | esac ;; |
1446 | esac | 1446 | esac |
1447 | ac_abs_top_builddir=$ac_pwd | 1447 | ac_abs_top_builddir=$ac_pwd |
1448 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 1448 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
1449 | # for backward compatibility: | 1449 | # for backward compatibility: |
1450 | ac_top_builddir=$ac_top_build_prefix | 1450 | ac_top_builddir=$ac_top_build_prefix |
1451 | 1451 | ||
1452 | case $srcdir in | 1452 | case $srcdir in |
1453 | .) # We are building in place. | 1453 | .) # We are building in place. |
1454 | ac_srcdir=. | 1454 | ac_srcdir=. |
1455 | ac_top_srcdir=$ac_top_builddir_sub | 1455 | ac_top_srcdir=$ac_top_builddir_sub |
1456 | ac_abs_top_srcdir=$ac_pwd ;; | 1456 | ac_abs_top_srcdir=$ac_pwd ;; |
1457 | [\\/]* | ?:[\\/]* ) # Absolute name. | 1457 | [\\/]* | ?:[\\/]* ) # Absolute name. |
1458 | ac_srcdir=$srcdir$ac_dir_suffix; | 1458 | ac_srcdir=$srcdir$ac_dir_suffix; |
1459 | ac_top_srcdir=$srcdir | 1459 | ac_top_srcdir=$srcdir |
1460 | ac_abs_top_srcdir=$srcdir ;; | 1460 | ac_abs_top_srcdir=$srcdir ;; |
1461 | *) # Relative name. | 1461 | *) # Relative name. |
1462 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 1462 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
1463 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 1463 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
1464 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 1464 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
1465 | esac | 1465 | esac |
1466 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 1466 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
1467 | 1467 | ||
1468 | cd "$ac_dir" || { ac_status=$?; continue; } | 1468 | cd "$ac_dir" || { ac_status=$?; continue; } |
1469 | # Check for guested configure. | 1469 | # Check for guested configure. |
1470 | if test -f "$ac_srcdir/configure.gnu"; then | 1470 | if test -f "$ac_srcdir/configure.gnu"; then |
1471 | echo && | 1471 | echo && |
1472 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 1472 | $SHELL "$ac_srcdir/configure.gnu" --help=recursive |
1473 | elif test -f "$ac_srcdir/configure"; then | 1473 | elif test -f "$ac_srcdir/configure"; then |
1474 | echo && | 1474 | echo && |
1475 | $SHELL "$ac_srcdir/configure" --help=recursive | 1475 | $SHELL "$ac_srcdir/configure" --help=recursive |
1476 | else | 1476 | else |
1477 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 1477 | $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 |
1478 | fi || ac_status=$? | 1478 | fi || ac_status=$? |
1479 | cd "$ac_pwd" || { ac_status=$?; break; } | 1479 | cd "$ac_pwd" || { ac_status=$?; break; } |
1480 | done | 1480 | done |
1481 | fi | 1481 | fi |
1482 | 1482 | ||
1483 | test -n "$ac_init_help" && exit $ac_status | 1483 | test -n "$ac_init_help" && exit $ac_status |
1484 | if $ac_init_version; then | 1484 | if $ac_init_version; then |
1485 | cat <<\_ACEOF | 1485 | cat <<\_ACEOF |
1486 | libjpeg configure 8.4.0 | 1486 | libjpeg configure 8.4.0 |
1487 | generated by GNU Autoconf 2.68 | 1487 | generated by GNU Autoconf 2.68 |
1488 | 1488 | ||
1489 | Copyright (C) 2010 Free Software Foundation, Inc. | 1489 | Copyright (C) 2010 Free Software Foundation, Inc. |
1490 | This configure script is free software; the Free Software Foundation | 1490 | This configure script is free software; the Free Software Foundation |
1491 | gives unlimited permission to copy, distribute and modify it. | 1491 | gives unlimited permission to copy, distribute and modify it. |
1492 | _ACEOF | 1492 | _ACEOF |
1493 | exit | 1493 | exit |
1494 | fi | 1494 | fi |
1495 | 1495 | ||
1496 | ## ------------------------ ## | 1496 | ## ------------------------ ## |
1497 | ## Autoconf initialization. ## | 1497 | ## Autoconf initialization. ## |
1498 | ## ------------------------ ## | 1498 | ## ------------------------ ## |
1499 | 1499 | ||
1500 | # ac_fn_c_try_compile LINENO | 1500 | # ac_fn_c_try_compile LINENO |
1501 | # -------------------------- | 1501 | # -------------------------- |
1502 | # Try to compile conftest.$ac_ext, and return whether this succeeded. | 1502 | # Try to compile conftest.$ac_ext, and return whether this succeeded. |
1503 | ac_fn_c_try_compile () | 1503 | ac_fn_c_try_compile () |
1504 | { | 1504 | { |
1505 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1505 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1506 | rm -f conftest.$ac_objext | 1506 | rm -f conftest.$ac_objext |
1507 | if { { ac_try="$ac_compile" | 1507 | if { { ac_try="$ac_compile" |
1508 | case "(($ac_try" in | 1508 | case "(($ac_try" in |
1509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1509 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1510 | *) ac_try_echo=$ac_try;; | 1510 | *) ac_try_echo=$ac_try;; |
1511 | esac | 1511 | esac |
1512 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1512 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1513 | $as_echo "$ac_try_echo"; } >&5 | 1513 | $as_echo "$ac_try_echo"; } >&5 |
1514 | (eval "$ac_compile") 2>conftest.err | 1514 | (eval "$ac_compile") 2>conftest.err |
1515 | ac_status=$? | 1515 | ac_status=$? |
1516 | if test -s conftest.err; then | 1516 | if test -s conftest.err; then |
1517 | grep -v '^ *+' conftest.err >conftest.er1 | 1517 | grep -v '^ *+' conftest.err >conftest.er1 |
1518 | cat conftest.er1 >&5 | 1518 | cat conftest.er1 >&5 |
1519 | mv -f conftest.er1 conftest.err | 1519 | mv -f conftest.er1 conftest.err |
1520 | fi | 1520 | fi |
1521 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1521 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1522 | test $ac_status = 0; } && { | 1522 | test $ac_status = 0; } && { |
1523 | test -z "$ac_c_werror_flag" || | 1523 | test -z "$ac_c_werror_flag" || |
1524 | test ! -s conftest.err | 1524 | test ! -s conftest.err |
1525 | } && test -s conftest.$ac_objext; then : | 1525 | } && test -s conftest.$ac_objext; then : |
1526 | ac_retval=0 | 1526 | ac_retval=0 |
1527 | else | 1527 | else |
1528 | $as_echo "$as_me: failed program was:" >&5 | 1528 | $as_echo "$as_me: failed program was:" >&5 |
1529 | sed 's/^/| /' conftest.$ac_ext >&5 | 1529 | sed 's/^/| /' conftest.$ac_ext >&5 |
1530 | 1530 | ||
1531 | ac_retval=1 | 1531 | ac_retval=1 |
1532 | fi | 1532 | fi |
1533 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1533 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1534 | as_fn_set_status $ac_retval | 1534 | as_fn_set_status $ac_retval |
1535 | 1535 | ||
1536 | } # ac_fn_c_try_compile | 1536 | } # ac_fn_c_try_compile |
1537 | 1537 | ||
1538 | # ac_fn_c_try_cpp LINENO | 1538 | # ac_fn_c_try_cpp LINENO |
1539 | # ---------------------- | 1539 | # ---------------------- |
1540 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | 1540 | # Try to preprocess conftest.$ac_ext, and return whether this succeeded. |
1541 | ac_fn_c_try_cpp () | 1541 | ac_fn_c_try_cpp () |
1542 | { | 1542 | { |
1543 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1543 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1544 | if { { ac_try="$ac_cpp conftest.$ac_ext" | 1544 | if { { ac_try="$ac_cpp conftest.$ac_ext" |
1545 | case "(($ac_try" in | 1545 | case "(($ac_try" in |
1546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1546 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1547 | *) ac_try_echo=$ac_try;; | 1547 | *) ac_try_echo=$ac_try;; |
1548 | esac | 1548 | esac |
1549 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1549 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1550 | $as_echo "$ac_try_echo"; } >&5 | 1550 | $as_echo "$ac_try_echo"; } >&5 |
1551 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | 1551 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err |
1552 | ac_status=$? | 1552 | ac_status=$? |
1553 | if test -s conftest.err; then | 1553 | if test -s conftest.err; then |
1554 | grep -v '^ *+' conftest.err >conftest.er1 | 1554 | grep -v '^ *+' conftest.err >conftest.er1 |
1555 | cat conftest.er1 >&5 | 1555 | cat conftest.er1 >&5 |
1556 | mv -f conftest.er1 conftest.err | 1556 | mv -f conftest.er1 conftest.err |
1557 | fi | 1557 | fi |
1558 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1558 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1559 | test $ac_status = 0; } > conftest.i && { | 1559 | test $ac_status = 0; } > conftest.i && { |
1560 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 1560 | test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || |
1561 | test ! -s conftest.err | 1561 | test ! -s conftest.err |
1562 | }; then : | 1562 | }; then : |
1563 | ac_retval=0 | 1563 | ac_retval=0 |
1564 | else | 1564 | else |
1565 | $as_echo "$as_me: failed program was:" >&5 | 1565 | $as_echo "$as_me: failed program was:" >&5 |
1566 | sed 's/^/| /' conftest.$ac_ext >&5 | 1566 | sed 's/^/| /' conftest.$ac_ext >&5 |
1567 | 1567 | ||
1568 | ac_retval=1 | 1568 | ac_retval=1 |
1569 | fi | 1569 | fi |
1570 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1570 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1571 | as_fn_set_status $ac_retval | 1571 | as_fn_set_status $ac_retval |
1572 | 1572 | ||
1573 | } # ac_fn_c_try_cpp | 1573 | } # ac_fn_c_try_cpp |
1574 | 1574 | ||
1575 | # ac_fn_c_try_run LINENO | 1575 | # ac_fn_c_try_run LINENO |
1576 | # ---------------------- | 1576 | # ---------------------- |
1577 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | 1577 | # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes |
1578 | # that executables *can* be run. | 1578 | # that executables *can* be run. |
1579 | ac_fn_c_try_run () | 1579 | ac_fn_c_try_run () |
1580 | { | 1580 | { |
1581 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1581 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1582 | if { { ac_try="$ac_link" | 1582 | if { { ac_try="$ac_link" |
1583 | case "(($ac_try" in | 1583 | case "(($ac_try" in |
1584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1584 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1585 | *) ac_try_echo=$ac_try;; | 1585 | *) ac_try_echo=$ac_try;; |
1586 | esac | 1586 | esac |
1587 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1587 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1588 | $as_echo "$ac_try_echo"; } >&5 | 1588 | $as_echo "$ac_try_echo"; } >&5 |
1589 | (eval "$ac_link") 2>&5 | 1589 | (eval "$ac_link") 2>&5 |
1590 | ac_status=$? | 1590 | ac_status=$? |
1591 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1591 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1592 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | 1592 | test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' |
1593 | { { case "(($ac_try" in | 1593 | { { case "(($ac_try" in |
1594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1594 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1595 | *) ac_try_echo=$ac_try;; | 1595 | *) ac_try_echo=$ac_try;; |
1596 | esac | 1596 | esac |
1597 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1597 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1598 | $as_echo "$ac_try_echo"; } >&5 | 1598 | $as_echo "$ac_try_echo"; } >&5 |
1599 | (eval "$ac_try") 2>&5 | 1599 | (eval "$ac_try") 2>&5 |
1600 | ac_status=$? | 1600 | ac_status=$? |
1601 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1601 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1602 | test $ac_status = 0; }; }; then : | 1602 | test $ac_status = 0; }; }; then : |
1603 | ac_retval=0 | 1603 | ac_retval=0 |
1604 | else | 1604 | else |
1605 | $as_echo "$as_me: program exited with status $ac_status" >&5 | 1605 | $as_echo "$as_me: program exited with status $ac_status" >&5 |
1606 | $as_echo "$as_me: failed program was:" >&5 | 1606 | $as_echo "$as_me: failed program was:" >&5 |
1607 | sed 's/^/| /' conftest.$ac_ext >&5 | 1607 | sed 's/^/| /' conftest.$ac_ext >&5 |
1608 | 1608 | ||
1609 | ac_retval=$ac_status | 1609 | ac_retval=$ac_status |
1610 | fi | 1610 | fi |
1611 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1611 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1612 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1612 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1613 | as_fn_set_status $ac_retval | 1613 | as_fn_set_status $ac_retval |
1614 | 1614 | ||
1615 | } # ac_fn_c_try_run | 1615 | } # ac_fn_c_try_run |
1616 | 1616 | ||
1617 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 1617 | # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES |
1618 | # ------------------------------------------------------- | 1618 | # ------------------------------------------------------- |
1619 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using | 1619 | # Tests whether HEADER exists, giving a warning if it cannot be compiled using |
1620 | # the include files in INCLUDES and setting the cache variable VAR | 1620 | # the include files in INCLUDES and setting the cache variable VAR |
1621 | # accordingly. | 1621 | # accordingly. |
1622 | ac_fn_c_check_header_mongrel () | 1622 | ac_fn_c_check_header_mongrel () |
1623 | { | 1623 | { |
1624 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1624 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1625 | if eval \${$3+:} false; then : | 1625 | if eval \${$3+:} false; then : |
1626 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1626 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1627 | $as_echo_n "checking for $2... " >&6; } | 1627 | $as_echo_n "checking for $2... " >&6; } |
1628 | if eval \${$3+:} false; then : | 1628 | if eval \${$3+:} false; then : |
1629 | $as_echo_n "(cached) " >&6 | 1629 | $as_echo_n "(cached) " >&6 |
1630 | fi | 1630 | fi |
1631 | eval ac_res=\$$3 | 1631 | eval ac_res=\$$3 |
1632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1632 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1633 | $as_echo "$ac_res" >&6; } | 1633 | $as_echo "$ac_res" >&6; } |
1634 | else | 1634 | else |
1635 | # Is the header compilable? | 1635 | # Is the header compilable? |
1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | 1636 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 |
1637 | $as_echo_n "checking $2 usability... " >&6; } | 1637 | $as_echo_n "checking $2 usability... " >&6; } |
1638 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1638 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1639 | /* end confdefs.h. */ | 1639 | /* end confdefs.h. */ |
1640 | $4 | 1640 | $4 |
1641 | #include <$2> | 1641 | #include <$2> |
1642 | _ACEOF | 1642 | _ACEOF |
1643 | if ac_fn_c_try_compile "$LINENO"; then : | 1643 | if ac_fn_c_try_compile "$LINENO"; then : |
1644 | ac_header_compiler=yes | 1644 | ac_header_compiler=yes |
1645 | else | 1645 | else |
1646 | ac_header_compiler=no | 1646 | ac_header_compiler=no |
1647 | fi | 1647 | fi |
1648 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1648 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1649 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | 1649 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 |
1650 | $as_echo "$ac_header_compiler" >&6; } | 1650 | $as_echo "$ac_header_compiler" >&6; } |
1651 | 1651 | ||
1652 | # Is the header present? | 1652 | # Is the header present? |
1653 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | 1653 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 |
1654 | $as_echo_n "checking $2 presence... " >&6; } | 1654 | $as_echo_n "checking $2 presence... " >&6; } |
1655 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1655 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1656 | /* end confdefs.h. */ | 1656 | /* end confdefs.h. */ |
1657 | #include <$2> | 1657 | #include <$2> |
1658 | _ACEOF | 1658 | _ACEOF |
1659 | if ac_fn_c_try_cpp "$LINENO"; then : | 1659 | if ac_fn_c_try_cpp "$LINENO"; then : |
1660 | ac_header_preproc=yes | 1660 | ac_header_preproc=yes |
1661 | else | 1661 | else |
1662 | ac_header_preproc=no | 1662 | ac_header_preproc=no |
1663 | fi | 1663 | fi |
1664 | rm -f conftest.err conftest.i conftest.$ac_ext | 1664 | rm -f conftest.err conftest.i conftest.$ac_ext |
1665 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 1665 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 |
1666 | $as_echo "$ac_header_preproc" >&6; } | 1666 | $as_echo "$ac_header_preproc" >&6; } |
1667 | 1667 | ||
1668 | # So? What about this header? | 1668 | # So? What about this header? |
1669 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 1669 | case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( |
1670 | yes:no: ) | 1670 | yes:no: ) |
1671 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | 1671 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 |
1672 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | 1672 | $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} |
1673 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 1673 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1674 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1674 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1675 | ;; | 1675 | ;; |
1676 | no:yes:* ) | 1676 | no:yes:* ) |
1677 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | 1677 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 |
1678 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | 1678 | $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} |
1679 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 | 1679 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 |
1680 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} | 1680 | $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} |
1681 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | 1681 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 |
1682 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | 1682 | $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} |
1683 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 | 1683 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 |
1684 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} | 1684 | $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} |
1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 1685 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 |
1686 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 1686 | $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} |
1687 | ;; | 1687 | ;; |
1688 | esac | 1688 | esac |
1689 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1689 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1690 | $as_echo_n "checking for $2... " >&6; } | 1690 | $as_echo_n "checking for $2... " >&6; } |
1691 | if eval \${$3+:} false; then : | 1691 | if eval \${$3+:} false; then : |
1692 | $as_echo_n "(cached) " >&6 | 1692 | $as_echo_n "(cached) " >&6 |
1693 | else | 1693 | else |
1694 | eval "$3=\$ac_header_compiler" | 1694 | eval "$3=\$ac_header_compiler" |
1695 | fi | 1695 | fi |
1696 | eval ac_res=\$$3 | 1696 | eval ac_res=\$$3 |
1697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1698 | $as_echo "$ac_res" >&6; } | 1698 | $as_echo "$ac_res" >&6; } |
1699 | fi | 1699 | fi |
1700 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1700 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1701 | 1701 | ||
1702 | } # ac_fn_c_check_header_mongrel | 1702 | } # ac_fn_c_check_header_mongrel |
1703 | 1703 | ||
1704 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 1704 | # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES |
1705 | # ------------------------------------------------------- | 1705 | # ------------------------------------------------------- |
1706 | # Tests whether HEADER exists and can be compiled using the include files in | 1706 | # Tests whether HEADER exists and can be compiled using the include files in |
1707 | # INCLUDES, setting the cache variable VAR accordingly. | 1707 | # INCLUDES, setting the cache variable VAR accordingly. |
1708 | ac_fn_c_check_header_compile () | 1708 | ac_fn_c_check_header_compile () |
1709 | { | 1709 | { |
1710 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1710 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1711 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1711 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1712 | $as_echo_n "checking for $2... " >&6; } | 1712 | $as_echo_n "checking for $2... " >&6; } |
1713 | if eval \${$3+:} false; then : | 1713 | if eval \${$3+:} false; then : |
1714 | $as_echo_n "(cached) " >&6 | 1714 | $as_echo_n "(cached) " >&6 |
1715 | else | 1715 | else |
1716 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1716 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1717 | /* end confdefs.h. */ | 1717 | /* end confdefs.h. */ |
1718 | $4 | 1718 | $4 |
1719 | #include <$2> | 1719 | #include <$2> |
1720 | _ACEOF | 1720 | _ACEOF |
1721 | if ac_fn_c_try_compile "$LINENO"; then : | 1721 | if ac_fn_c_try_compile "$LINENO"; then : |
1722 | eval "$3=yes" | 1722 | eval "$3=yes" |
1723 | else | 1723 | else |
1724 | eval "$3=no" | 1724 | eval "$3=no" |
1725 | fi | 1725 | fi |
1726 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 1726 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
1727 | fi | 1727 | fi |
1728 | eval ac_res=\$$3 | 1728 | eval ac_res=\$$3 |
1729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1729 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1730 | $as_echo "$ac_res" >&6; } | 1730 | $as_echo "$ac_res" >&6; } |
1731 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1731 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1732 | 1732 | ||
1733 | } # ac_fn_c_check_header_compile | 1733 | } # ac_fn_c_check_header_compile |
1734 | 1734 | ||
1735 | # ac_fn_c_try_link LINENO | 1735 | # ac_fn_c_try_link LINENO |
1736 | # ----------------------- | 1736 | # ----------------------- |
1737 | # Try to link conftest.$ac_ext, and return whether this succeeded. | 1737 | # Try to link conftest.$ac_ext, and return whether this succeeded. |
1738 | ac_fn_c_try_link () | 1738 | ac_fn_c_try_link () |
1739 | { | 1739 | { |
1740 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1740 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1741 | rm -f conftest.$ac_objext conftest$ac_exeext | 1741 | rm -f conftest.$ac_objext conftest$ac_exeext |
1742 | if { { ac_try="$ac_link" | 1742 | if { { ac_try="$ac_link" |
1743 | case "(($ac_try" in | 1743 | case "(($ac_try" in |
1744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 1744 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
1745 | *) ac_try_echo=$ac_try;; | 1745 | *) ac_try_echo=$ac_try;; |
1746 | esac | 1746 | esac |
1747 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 1747 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
1748 | $as_echo "$ac_try_echo"; } >&5 | 1748 | $as_echo "$ac_try_echo"; } >&5 |
1749 | (eval "$ac_link") 2>conftest.err | 1749 | (eval "$ac_link") 2>conftest.err |
1750 | ac_status=$? | 1750 | ac_status=$? |
1751 | if test -s conftest.err; then | 1751 | if test -s conftest.err; then |
1752 | grep -v '^ *+' conftest.err >conftest.er1 | 1752 | grep -v '^ *+' conftest.err >conftest.er1 |
1753 | cat conftest.er1 >&5 | 1753 | cat conftest.er1 >&5 |
1754 | mv -f conftest.er1 conftest.err | 1754 | mv -f conftest.er1 conftest.err |
1755 | fi | 1755 | fi |
1756 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 1756 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
1757 | test $ac_status = 0; } && { | 1757 | test $ac_status = 0; } && { |
1758 | test -z "$ac_c_werror_flag" || | 1758 | test -z "$ac_c_werror_flag" || |
1759 | test ! -s conftest.err | 1759 | test ! -s conftest.err |
1760 | } && test -s conftest$ac_exeext && { | 1760 | } && test -s conftest$ac_exeext && { |
1761 | test "$cross_compiling" = yes || | 1761 | test "$cross_compiling" = yes || |
1762 | $as_test_x conftest$ac_exeext | 1762 | $as_test_x conftest$ac_exeext |
1763 | }; then : | 1763 | }; then : |
1764 | ac_retval=0 | 1764 | ac_retval=0 |
1765 | else | 1765 | else |
1766 | $as_echo "$as_me: failed program was:" >&5 | 1766 | $as_echo "$as_me: failed program was:" >&5 |
1767 | sed 's/^/| /' conftest.$ac_ext >&5 | 1767 | sed 's/^/| /' conftest.$ac_ext >&5 |
1768 | 1768 | ||
1769 | ac_retval=1 | 1769 | ac_retval=1 |
1770 | fi | 1770 | fi |
1771 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 1771 | # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information |
1772 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 1772 | # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would |
1773 | # interfere with the next link command; also delete a directory that is | 1773 | # interfere with the next link command; also delete a directory that is |
1774 | # left behind by Apple's compiler. We do this before executing the actions. | 1774 | # left behind by Apple's compiler. We do this before executing the actions. |
1775 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 1775 | rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
1776 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1776 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1777 | as_fn_set_status $ac_retval | 1777 | as_fn_set_status $ac_retval |
1778 | 1778 | ||
1779 | } # ac_fn_c_try_link | 1779 | } # ac_fn_c_try_link |
1780 | 1780 | ||
1781 | # ac_fn_c_check_func LINENO FUNC VAR | 1781 | # ac_fn_c_check_func LINENO FUNC VAR |
1782 | # ---------------------------------- | 1782 | # ---------------------------------- |
1783 | # Tests whether FUNC exists, setting the cache variable VAR accordingly | 1783 | # Tests whether FUNC exists, setting the cache variable VAR accordingly |
1784 | ac_fn_c_check_func () | 1784 | ac_fn_c_check_func () |
1785 | { | 1785 | { |
1786 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 1786 | as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 1787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 |
1788 | $as_echo_n "checking for $2... " >&6; } | 1788 | $as_echo_n "checking for $2... " >&6; } |
1789 | if eval \${$3+:} false; then : | 1789 | if eval \${$3+:} false; then : |
1790 | $as_echo_n "(cached) " >&6 | 1790 | $as_echo_n "(cached) " >&6 |
1791 | else | 1791 | else |
1792 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 1792 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
1793 | /* end confdefs.h. */ | 1793 | /* end confdefs.h. */ |
1794 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 1794 | /* Define $2 to an innocuous variant, in case <limits.h> declares $2. |
1795 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | 1795 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
1796 | #define $2 innocuous_$2 | 1796 | #define $2 innocuous_$2 |
1797 | 1797 | ||
1798 | /* System header to define __stub macros and hopefully few prototypes, | 1798 | /* System header to define __stub macros and hopefully few prototypes, |
1799 | which can conflict with char $2 (); below. | 1799 | which can conflict with char $2 (); below. |
1800 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 1800 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
1801 | <limits.h> exists even on freestanding compilers. */ | 1801 | <limits.h> exists even on freestanding compilers. */ |
1802 | 1802 | ||
1803 | #ifdef __STDC__ | 1803 | #ifdef __STDC__ |
1804 | # include <limits.h> | 1804 | # include <limits.h> |
1805 | #else | 1805 | #else |
1806 | # include <assert.h> | 1806 | # include <assert.h> |
1807 | #endif | 1807 | #endif |
1808 | 1808 | ||
1809 | #undef $2 | 1809 | #undef $2 |
1810 | 1810 | ||
1811 | /* Override any GCC internal prototype to avoid an error. | 1811 | /* Override any GCC internal prototype to avoid an error. |
1812 | Use char because int might match the return type of a GCC | 1812 | Use char because int might match the return type of a GCC |
1813 | builtin and then its argument prototype would still apply. */ | 1813 | builtin and then its argument prototype would still apply. */ |
1814 | #ifdef __cplusplus | 1814 | #ifdef __cplusplus |
1815 | extern "C" | 1815 | extern "C" |
1816 | #endif | 1816 | #endif |
1817 | char $2 (); | 1817 | char $2 (); |
1818 | /* The GNU C library defines this for functions which it implements | 1818 | /* The GNU C library defines this for functions which it implements |
1819 | to always fail with ENOSYS. Some functions are actually named | 1819 | to always fail with ENOSYS. Some functions are actually named |
1820 | something starting with __ and the normal name is an alias. */ | 1820 | something starting with __ and the normal name is an alias. */ |
1821 | #if defined __stub_$2 || defined __stub___$2 | 1821 | #if defined __stub_$2 || defined __stub___$2 |
1822 | choke me | 1822 | choke me |
1823 | #endif | 1823 | #endif |
1824 | 1824 | ||
1825 | int | 1825 | int |
1826 | main () | 1826 | main () |
1827 | { | 1827 | { |
1828 | return $2 (); | 1828 | return $2 (); |
1829 | ; | 1829 | ; |
1830 | return 0; | 1830 | return 0; |
1831 | } | 1831 | } |
1832 | _ACEOF | 1832 | _ACEOF |
1833 | if ac_fn_c_try_link "$LINENO"; then : | 1833 | if ac_fn_c_try_link "$LINENO"; then : |
1834 | eval "$3=yes" | 1834 | eval "$3=yes" |
1835 | else | 1835 | else |
1836 | eval "$3=no" | 1836 | eval "$3=no" |
1837 | fi | 1837 | fi |
1838 | rm -f core conftest.err conftest.$ac_objext \ | 1838 | rm -f core conftest.err conftest.$ac_objext \ |
1839 | conftest$ac_exeext conftest.$ac_ext | 1839 | conftest$ac_exeext conftest.$ac_ext |
1840 | fi | 1840 | fi |
1841 | eval ac_res=\$$3 | 1841 | eval ac_res=\$$3 |
1842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 1842 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 |
1843 | $as_echo "$ac_res" >&6; } | 1843 | $as_echo "$ac_res" >&6; } |
1844 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 1844 | eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno |
1845 | 1845 | ||
1846 | } # ac_fn_c_check_func | 1846 | } # ac_fn_c_check_func |
1847 | cat >config.log <<_ACEOF | 1847 | cat >config.log <<_ACEOF |
1848 | This file contains any messages produced by compilers while | 1848 | This file contains any messages produced by compilers while |
1849 | running configure, to aid debugging if configure makes a mistake. | 1849 | running configure, to aid debugging if configure makes a mistake. |
1850 | 1850 | ||
1851 | It was created by libjpeg $as_me 8.4.0, which was | 1851 | It was created by libjpeg $as_me 8.4.0, which was |
1852 | generated by GNU Autoconf 2.68. Invocation command line was | 1852 | generated by GNU Autoconf 2.68. Invocation command line was |
1853 | 1853 | ||
1854 | $ $0 $@ | 1854 | $ $0 $@ |
1855 | 1855 | ||
1856 | _ACEOF | 1856 | _ACEOF |
1857 | exec 5>>config.log | 1857 | exec 5>>config.log |
1858 | { | 1858 | { |
1859 | cat <<_ASUNAME | 1859 | cat <<_ASUNAME |
1860 | ## --------- ## | 1860 | ## --------- ## |
1861 | ## Platform. ## | 1861 | ## Platform. ## |
1862 | ## --------- ## | 1862 | ## --------- ## |
1863 | 1863 | ||
1864 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 1864 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` |
1865 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 1865 | uname -m = `(uname -m) 2>/dev/null || echo unknown` |
1866 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 1866 | uname -r = `(uname -r) 2>/dev/null || echo unknown` |
1867 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 1867 | uname -s = `(uname -s) 2>/dev/null || echo unknown` |
1868 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 1868 | uname -v = `(uname -v) 2>/dev/null || echo unknown` |
1869 | 1869 | ||
1870 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 1870 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` |
1871 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | 1871 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` |
1872 | 1872 | ||
1873 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | 1873 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` |
1874 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | 1874 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` |
1875 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 1875 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` |
1876 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` | 1876 | /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` |
1877 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | 1877 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` |
1878 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | 1878 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` |
1879 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | 1879 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` |
1880 | 1880 | ||
1881 | _ASUNAME | 1881 | _ASUNAME |
1882 | 1882 | ||
1883 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 1883 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
1884 | for as_dir in $PATH | 1884 | for as_dir in $PATH |
1885 | do | 1885 | do |
1886 | IFS=$as_save_IFS | 1886 | IFS=$as_save_IFS |
1887 | test -z "$as_dir" && as_dir=. | 1887 | test -z "$as_dir" && as_dir=. |
1888 | $as_echo "PATH: $as_dir" | 1888 | $as_echo "PATH: $as_dir" |
1889 | done | 1889 | done |
1890 | IFS=$as_save_IFS | 1890 | IFS=$as_save_IFS |
1891 | 1891 | ||
1892 | } >&5 | 1892 | } >&5 |
1893 | 1893 | ||
1894 | cat >&5 <<_ACEOF | 1894 | cat >&5 <<_ACEOF |
1895 | 1895 | ||
1896 | 1896 | ||
1897 | ## ----------- ## | 1897 | ## ----------- ## |
1898 | ## Core tests. ## | 1898 | ## Core tests. ## |
1899 | ## ----------- ## | 1899 | ## ----------- ## |
1900 | 1900 | ||
1901 | _ACEOF | 1901 | _ACEOF |
1902 | 1902 | ||
1903 | 1903 | ||
1904 | # Keep a trace of the command line. | 1904 | # Keep a trace of the command line. |
1905 | # Strip out --no-create and --no-recursion so they do not pile up. | 1905 | # Strip out --no-create and --no-recursion so they do not pile up. |
1906 | # Strip out --silent because we don't want to record it for future runs. | 1906 | # Strip out --silent because we don't want to record it for future runs. |
1907 | # Also quote any args containing shell meta-characters. | 1907 | # Also quote any args containing shell meta-characters. |
1908 | # Make two passes to allow for proper duplicate-argument suppression. | 1908 | # Make two passes to allow for proper duplicate-argument suppression. |
1909 | ac_configure_args= | 1909 | ac_configure_args= |
1910 | ac_configure_args0= | 1910 | ac_configure_args0= |
1911 | ac_configure_args1= | 1911 | ac_configure_args1= |
1912 | ac_must_keep_next=false | 1912 | ac_must_keep_next=false |
1913 | for ac_pass in 1 2 | 1913 | for ac_pass in 1 2 |
1914 | do | 1914 | do |
1915 | for ac_arg | 1915 | for ac_arg |
1916 | do | 1916 | do |
1917 | case $ac_arg in | 1917 | case $ac_arg in |
1918 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 1918 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; |
1919 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 1919 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
1920 | | -silent | --silent | --silen | --sile | --sil) | 1920 | | -silent | --silent | --silen | --sile | --sil) |
1921 | continue ;; | 1921 | continue ;; |
1922 | *\'*) | 1922 | *\'*) |
1923 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 1923 | ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; |
1924 | esac | 1924 | esac |
1925 | case $ac_pass in | 1925 | case $ac_pass in |
1926 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 1926 | 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; |
1927 | 2) | 1927 | 2) |
1928 | as_fn_append ac_configure_args1 " '$ac_arg'" | 1928 | as_fn_append ac_configure_args1 " '$ac_arg'" |
1929 | if test $ac_must_keep_next = true; then | 1929 | if test $ac_must_keep_next = true; then |
1930 | ac_must_keep_next=false # Got value, back to normal. | 1930 | ac_must_keep_next=false # Got value, back to normal. |
1931 | else | 1931 | else |
1932 | case $ac_arg in | 1932 | case $ac_arg in |
1933 | *=* | --config-cache | -C | -disable-* | --disable-* \ | 1933 | *=* | --config-cache | -C | -disable-* | --disable-* \ |
1934 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 1934 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ |
1935 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 1935 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ |
1936 | | -with-* | --with-* | -without-* | --without-* | --x) | 1936 | | -with-* | --with-* | -without-* | --without-* | --x) |
1937 | case "$ac_configure_args0 " in | 1937 | case "$ac_configure_args0 " in |
1938 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 1938 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; |
1939 | esac | 1939 | esac |
1940 | ;; | 1940 | ;; |
1941 | -* ) ac_must_keep_next=true ;; | 1941 | -* ) ac_must_keep_next=true ;; |
1942 | esac | 1942 | esac |
1943 | fi | 1943 | fi |
1944 | as_fn_append ac_configure_args " '$ac_arg'" | 1944 | as_fn_append ac_configure_args " '$ac_arg'" |
1945 | ;; | 1945 | ;; |
1946 | esac | 1946 | esac |
1947 | done | 1947 | done |
1948 | done | 1948 | done |
1949 | { ac_configure_args0=; unset ac_configure_args0;} | 1949 | { ac_configure_args0=; unset ac_configure_args0;} |
1950 | { ac_configure_args1=; unset ac_configure_args1;} | 1950 | { ac_configure_args1=; unset ac_configure_args1;} |
1951 | 1951 | ||
1952 | # When interrupted or exit'd, cleanup temporary files, and complete | 1952 | # When interrupted or exit'd, cleanup temporary files, and complete |
1953 | # config.log. We remove comments because anyway the quotes in there | 1953 | # config.log. We remove comments because anyway the quotes in there |
1954 | # would cause problems or look ugly. | 1954 | # would cause problems or look ugly. |
1955 | # WARNING: Use '\'' to represent an apostrophe within the trap. | 1955 | # WARNING: Use '\'' to represent an apostrophe within the trap. |
1956 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | 1956 | # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. |
1957 | trap 'exit_status=$? | 1957 | trap 'exit_status=$? |
1958 | # Save into config.log some information that might help in debugging. | 1958 | # Save into config.log some information that might help in debugging. |
1959 | { | 1959 | { |
1960 | echo | 1960 | echo |
1961 | 1961 | ||
1962 | $as_echo "## ---------------- ## | 1962 | $as_echo "## ---------------- ## |
1963 | ## Cache variables. ## | 1963 | ## Cache variables. ## |
1964 | ## ---------------- ##" | 1964 | ## ---------------- ##" |
1965 | echo | 1965 | echo |
1966 | # The following way of writing the cache mishandles newlines in values, | 1966 | # The following way of writing the cache mishandles newlines in values, |
1967 | ( | 1967 | ( |
1968 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 1968 | for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do |
1969 | eval ac_val=\$$ac_var | 1969 | eval ac_val=\$$ac_var |
1970 | case $ac_val in #( | 1970 | case $ac_val in #( |
1971 | *${as_nl}*) | 1971 | *${as_nl}*) |
1972 | case $ac_var in #( | 1972 | case $ac_var in #( |
1973 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 1973 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
1974 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 1974 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
1975 | esac | 1975 | esac |
1976 | case $ac_var in #( | 1976 | case $ac_var in #( |
1977 | _ | IFS | as_nl) ;; #( | 1977 | _ | IFS | as_nl) ;; #( |
1978 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 1978 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
1979 | *) { eval $ac_var=; unset $ac_var;} ;; | 1979 | *) { eval $ac_var=; unset $ac_var;} ;; |
1980 | esac ;; | 1980 | esac ;; |
1981 | esac | 1981 | esac |
1982 | done | 1982 | done |
1983 | (set) 2>&1 | | 1983 | (set) 2>&1 | |
1984 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 1984 | case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( |
1985 | *${as_nl}ac_space=\ *) | 1985 | *${as_nl}ac_space=\ *) |
1986 | sed -n \ | 1986 | sed -n \ |
1987 | "s/'\''/'\''\\\\'\'''\''/g; | 1987 | "s/'\''/'\''\\\\'\'''\''/g; |
1988 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | 1988 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" |
1989 | ;; #( | 1989 | ;; #( |
1990 | *) | 1990 | *) |
1991 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 1991 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
1992 | ;; | 1992 | ;; |
1993 | esac | | 1993 | esac | |
1994 | sort | 1994 | sort |
1995 | ) | 1995 | ) |
1996 | echo | 1996 | echo |
1997 | 1997 | ||
1998 | $as_echo "## ----------------- ## | 1998 | $as_echo "## ----------------- ## |
1999 | ## Output variables. ## | 1999 | ## Output variables. ## |
2000 | ## ----------------- ##" | 2000 | ## ----------------- ##" |
2001 | echo | 2001 | echo |
2002 | for ac_var in $ac_subst_vars | 2002 | for ac_var in $ac_subst_vars |
2003 | do | 2003 | do |
2004 | eval ac_val=\$$ac_var | 2004 | eval ac_val=\$$ac_var |
2005 | case $ac_val in | 2005 | case $ac_val in |
2006 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2006 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2007 | esac | 2007 | esac |
2008 | $as_echo "$ac_var='\''$ac_val'\''" | 2008 | $as_echo "$ac_var='\''$ac_val'\''" |
2009 | done | sort | 2009 | done | sort |
2010 | echo | 2010 | echo |
2011 | 2011 | ||
2012 | if test -n "$ac_subst_files"; then | 2012 | if test -n "$ac_subst_files"; then |
2013 | $as_echo "## ------------------- ## | 2013 | $as_echo "## ------------------- ## |
2014 | ## File substitutions. ## | 2014 | ## File substitutions. ## |
2015 | ## ------------------- ##" | 2015 | ## ------------------- ##" |
2016 | echo | 2016 | echo |
2017 | for ac_var in $ac_subst_files | 2017 | for ac_var in $ac_subst_files |
2018 | do | 2018 | do |
2019 | eval ac_val=\$$ac_var | 2019 | eval ac_val=\$$ac_var |
2020 | case $ac_val in | 2020 | case $ac_val in |
2021 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 2021 | *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; |
2022 | esac | 2022 | esac |
2023 | $as_echo "$ac_var='\''$ac_val'\''" | 2023 | $as_echo "$ac_var='\''$ac_val'\''" |
2024 | done | sort | 2024 | done | sort |
2025 | echo | 2025 | echo |
2026 | fi | 2026 | fi |
2027 | 2027 | ||
2028 | if test -s confdefs.h; then | 2028 | if test -s confdefs.h; then |
2029 | $as_echo "## ----------- ## | 2029 | $as_echo "## ----------- ## |
2030 | ## confdefs.h. ## | 2030 | ## confdefs.h. ## |
2031 | ## ----------- ##" | 2031 | ## ----------- ##" |
2032 | echo | 2032 | echo |
2033 | cat confdefs.h | 2033 | cat confdefs.h |
2034 | echo | 2034 | echo |
2035 | fi | 2035 | fi |
2036 | test "$ac_signal" != 0 && | 2036 | test "$ac_signal" != 0 && |
2037 | $as_echo "$as_me: caught signal $ac_signal" | 2037 | $as_echo "$as_me: caught signal $ac_signal" |
2038 | $as_echo "$as_me: exit $exit_status" | 2038 | $as_echo "$as_me: exit $exit_status" |
2039 | } >&5 | 2039 | } >&5 |
2040 | rm -f core *.core core.conftest.* && | 2040 | rm -f core *.core core.conftest.* && |
2041 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 2041 | rm -f -r conftest* confdefs* conf$$* $ac_clean_files && |
2042 | exit $exit_status | 2042 | exit $exit_status |
2043 | ' 0 | 2043 | ' 0 |
2044 | for ac_signal in 1 2 13 15; do | 2044 | for ac_signal in 1 2 13 15; do |
2045 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 2045 | trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal |
2046 | done | 2046 | done |
2047 | ac_signal=0 | 2047 | ac_signal=0 |
2048 | 2048 | ||
2049 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 2049 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
2050 | rm -f -r conftest* confdefs.h | 2050 | rm -f -r conftest* confdefs.h |
2051 | 2051 | ||
2052 | $as_echo "/* confdefs.h */" > confdefs.h | 2052 | $as_echo "/* confdefs.h */" > confdefs.h |
2053 | 2053 | ||
2054 | # Predefined preprocessor variables. | 2054 | # Predefined preprocessor variables. |
2055 | 2055 | ||
2056 | cat >>confdefs.h <<_ACEOF | 2056 | cat >>confdefs.h <<_ACEOF |
2057 | #define PACKAGE_NAME "$PACKAGE_NAME" | 2057 | #define PACKAGE_NAME "$PACKAGE_NAME" |
2058 | _ACEOF | 2058 | _ACEOF |
2059 | 2059 | ||
2060 | cat >>confdefs.h <<_ACEOF | 2060 | cat >>confdefs.h <<_ACEOF |
2061 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 2061 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" |
2062 | _ACEOF | 2062 | _ACEOF |
2063 | 2063 | ||
2064 | cat >>confdefs.h <<_ACEOF | 2064 | cat >>confdefs.h <<_ACEOF |
2065 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 2065 | #define PACKAGE_VERSION "$PACKAGE_VERSION" |
2066 | _ACEOF | 2066 | _ACEOF |
2067 | 2067 | ||
2068 | cat >>confdefs.h <<_ACEOF | 2068 | cat >>confdefs.h <<_ACEOF |
2069 | #define PACKAGE_STRING "$PACKAGE_STRING" | 2069 | #define PACKAGE_STRING "$PACKAGE_STRING" |
2070 | _ACEOF | 2070 | _ACEOF |
2071 | 2071 | ||
2072 | cat >>confdefs.h <<_ACEOF | 2072 | cat >>confdefs.h <<_ACEOF |
2073 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 2073 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" |
2074 | _ACEOF | 2074 | _ACEOF |
2075 | 2075 | ||
2076 | cat >>confdefs.h <<_ACEOF | 2076 | cat >>confdefs.h <<_ACEOF |
2077 | #define PACKAGE_URL "$PACKAGE_URL" | 2077 | #define PACKAGE_URL "$PACKAGE_URL" |
2078 | _ACEOF | 2078 | _ACEOF |
2079 | 2079 | ||
2080 | 2080 | ||
2081 | # Let the site file select an alternate cache file if it wants to. | 2081 | # Let the site file select an alternate cache file if it wants to. |
2082 | # Prefer an explicitly selected file to automatically selected ones. | 2082 | # Prefer an explicitly selected file to automatically selected ones. |
2083 | ac_site_file1=NONE | 2083 | ac_site_file1=NONE |
2084 | ac_site_file2=NONE | 2084 | ac_site_file2=NONE |
2085 | if test -n "$CONFIG_SITE"; then | 2085 | if test -n "$CONFIG_SITE"; then |
2086 | # We do not want a PATH search for config.site. | 2086 | # We do not want a PATH search for config.site. |
2087 | case $CONFIG_SITE in #(( | 2087 | case $CONFIG_SITE in #(( |
2088 | -*) ac_site_file1=./$CONFIG_SITE;; | 2088 | -*) ac_site_file1=./$CONFIG_SITE;; |
2089 | */*) ac_site_file1=$CONFIG_SITE;; | 2089 | */*) ac_site_file1=$CONFIG_SITE;; |
2090 | *) ac_site_file1=./$CONFIG_SITE;; | 2090 | *) ac_site_file1=./$CONFIG_SITE;; |
2091 | esac | 2091 | esac |
2092 | elif test "x$prefix" != xNONE; then | 2092 | elif test "x$prefix" != xNONE; then |
2093 | ac_site_file1=$prefix/share/config.site | 2093 | ac_site_file1=$prefix/share/config.site |
2094 | ac_site_file2=$prefix/etc/config.site | 2094 | ac_site_file2=$prefix/etc/config.site |
2095 | else | 2095 | else |
2096 | ac_site_file1=$ac_default_prefix/share/config.site | 2096 | ac_site_file1=$ac_default_prefix/share/config.site |
2097 | ac_site_file2=$ac_default_prefix/etc/config.site | 2097 | ac_site_file2=$ac_default_prefix/etc/config.site |
2098 | fi | 2098 | fi |
2099 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 2099 | for ac_site_file in "$ac_site_file1" "$ac_site_file2" |
2100 | do | 2100 | do |
2101 | test "x$ac_site_file" = xNONE && continue | 2101 | test "x$ac_site_file" = xNONE && continue |
2102 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 2102 | if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then |
2103 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 2103 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 |
2104 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 2104 | $as_echo "$as_me: loading site script $ac_site_file" >&6;} |
2105 | sed 's/^/| /' "$ac_site_file" >&5 | 2105 | sed 's/^/| /' "$ac_site_file" >&5 |
2106 | . "$ac_site_file" \ | 2106 | . "$ac_site_file" \ |
2107 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2107 | || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2108 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2108 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2109 | as_fn_error $? "failed to load site script $ac_site_file | 2109 | as_fn_error $? "failed to load site script $ac_site_file |
2110 | See \`config.log' for more details" "$LINENO" 5; } | 2110 | See \`config.log' for more details" "$LINENO" 5; } |
2111 | fi | 2111 | fi |
2112 | done | 2112 | done |
2113 | 2113 | ||
2114 | if test -r "$cache_file"; then | 2114 | if test -r "$cache_file"; then |
2115 | # Some versions of bash will fail to source /dev/null (special files | 2115 | # Some versions of bash will fail to source /dev/null (special files |
2116 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. | 2116 | # actually), so we avoid doing that. DJGPP emulates it as a regular file. |
2117 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 2117 | if test /dev/null != "$cache_file" && test -f "$cache_file"; then |
2118 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 2118 | { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 |
2119 | $as_echo "$as_me: loading cache $cache_file" >&6;} | 2119 | $as_echo "$as_me: loading cache $cache_file" >&6;} |
2120 | case $cache_file in | 2120 | case $cache_file in |
2121 | [\\/]* | ?:[\\/]* ) . "$cache_file";; | 2121 | [\\/]* | ?:[\\/]* ) . "$cache_file";; |
2122 | *) . "./$cache_file";; | 2122 | *) . "./$cache_file";; |
2123 | esac | 2123 | esac |
2124 | fi | 2124 | fi |
2125 | else | 2125 | else |
2126 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 2126 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 |
2127 | $as_echo "$as_me: creating cache $cache_file" >&6;} | 2127 | $as_echo "$as_me: creating cache $cache_file" >&6;} |
2128 | >$cache_file | 2128 | >$cache_file |
2129 | fi | 2129 | fi |
2130 | 2130 | ||
2131 | # Check that the precious variables saved in the cache have kept the same | 2131 | # Check that the precious variables saved in the cache have kept the same |
2132 | # value. | 2132 | # value. |
2133 | ac_cache_corrupted=false | 2133 | ac_cache_corrupted=false |
2134 | for ac_var in $ac_precious_vars; do | 2134 | for ac_var in $ac_precious_vars; do |
2135 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 2135 | eval ac_old_set=\$ac_cv_env_${ac_var}_set |
2136 | eval ac_new_set=\$ac_env_${ac_var}_set | 2136 | eval ac_new_set=\$ac_env_${ac_var}_set |
2137 | eval ac_old_val=\$ac_cv_env_${ac_var}_value | 2137 | eval ac_old_val=\$ac_cv_env_${ac_var}_value |
2138 | eval ac_new_val=\$ac_env_${ac_var}_value | 2138 | eval ac_new_val=\$ac_env_${ac_var}_value |
2139 | case $ac_old_set,$ac_new_set in | 2139 | case $ac_old_set,$ac_new_set in |
2140 | set,) | 2140 | set,) |
2141 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 2141 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
2142 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 2142 | $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
2143 | ac_cache_corrupted=: ;; | 2143 | ac_cache_corrupted=: ;; |
2144 | ,set) | 2144 | ,set) |
2145 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 2145 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 |
2146 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 2146 | $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
2147 | ac_cache_corrupted=: ;; | 2147 | ac_cache_corrupted=: ;; |
2148 | ,);; | 2148 | ,);; |
2149 | *) | 2149 | *) |
2150 | if test "x$ac_old_val" != "x$ac_new_val"; then | 2150 | if test "x$ac_old_val" != "x$ac_new_val"; then |
2151 | # differences in whitespace do not lead to failure. | 2151 | # differences in whitespace do not lead to failure. |
2152 | ac_old_val_w=`echo x $ac_old_val` | 2152 | ac_old_val_w=`echo x $ac_old_val` |
2153 | ac_new_val_w=`echo x $ac_new_val` | 2153 | ac_new_val_w=`echo x $ac_new_val` |
2154 | if test "$ac_old_val_w" != "$ac_new_val_w"; then | 2154 | if test "$ac_old_val_w" != "$ac_new_val_w"; then |
2155 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 2155 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 |
2156 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 2156 | $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
2157 | ac_cache_corrupted=: | 2157 | ac_cache_corrupted=: |
2158 | else | 2158 | else |
2159 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 2159 | { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 |
2160 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 2160 | $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} |
2161 | eval $ac_var=\$ac_old_val | 2161 | eval $ac_var=\$ac_old_val |
2162 | fi | 2162 | fi |
2163 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 | 2163 | { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 |
2164 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} | 2164 | $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} |
2165 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 | 2165 | { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 |
2166 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} | 2166 | $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} |
2167 | fi;; | 2167 | fi;; |
2168 | esac | 2168 | esac |
2169 | # Pass precious variables to config.status. | 2169 | # Pass precious variables to config.status. |
2170 | if test "$ac_new_set" = set; then | 2170 | if test "$ac_new_set" = set; then |
2171 | case $ac_new_val in | 2171 | case $ac_new_val in |
2172 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 2172 | *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; |
2173 | *) ac_arg=$ac_var=$ac_new_val ;; | 2173 | *) ac_arg=$ac_var=$ac_new_val ;; |
2174 | esac | 2174 | esac |
2175 | case " $ac_configure_args " in | 2175 | case " $ac_configure_args " in |
2176 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. | 2176 | *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. |
2177 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 2177 | *) as_fn_append ac_configure_args " '$ac_arg'" ;; |
2178 | esac | 2178 | esac |
2179 | fi | 2179 | fi |
2180 | done | 2180 | done |
2181 | if $ac_cache_corrupted; then | 2181 | if $ac_cache_corrupted; then |
2182 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 2182 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2183 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 2183 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
2184 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 2184 | { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 |
2185 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 2185 | $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
2186 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 2186 | as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 |
2187 | fi | 2187 | fi |
2188 | ## -------------------- ## | 2188 | ## -------------------- ## |
2189 | ## Main body of script. ## | 2189 | ## Main body of script. ## |
2190 | ## -------------------- ## | 2190 | ## -------------------- ## |
2191 | 2191 | ||
2192 | ac_ext=c | 2192 | ac_ext=c |
2193 | ac_cpp='$CPP $CPPFLAGS' | 2193 | ac_cpp='$CPP $CPPFLAGS' |
2194 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2194 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2195 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2195 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2196 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2196 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2197 | 2197 | ||
2198 | 2198 | ||
2199 | 2199 | ||
2200 | # Directory where autotools helper scripts lives. | 2200 | # Directory where autotools helper scripts lives. |
2201 | ac_aux_dir= | 2201 | ac_aux_dir= |
2202 | for ac_dir in . "$srcdir"/.; do | 2202 | for ac_dir in . "$srcdir"/.; do |
2203 | if test -f "$ac_dir/install-sh"; then | 2203 | if test -f "$ac_dir/install-sh"; then |
2204 | ac_aux_dir=$ac_dir | 2204 | ac_aux_dir=$ac_dir |
2205 | ac_install_sh="$ac_aux_dir/install-sh -c" | 2205 | ac_install_sh="$ac_aux_dir/install-sh -c" |
2206 | break | 2206 | break |
2207 | elif test -f "$ac_dir/install.sh"; then | 2207 | elif test -f "$ac_dir/install.sh"; then |
2208 | ac_aux_dir=$ac_dir | 2208 | ac_aux_dir=$ac_dir |
2209 | ac_install_sh="$ac_aux_dir/install.sh -c" | 2209 | ac_install_sh="$ac_aux_dir/install.sh -c" |
2210 | break | 2210 | break |
2211 | elif test -f "$ac_dir/shtool"; then | 2211 | elif test -f "$ac_dir/shtool"; then |
2212 | ac_aux_dir=$ac_dir | 2212 | ac_aux_dir=$ac_dir |
2213 | ac_install_sh="$ac_aux_dir/shtool install -c" | 2213 | ac_install_sh="$ac_aux_dir/shtool install -c" |
2214 | break | 2214 | break |
2215 | fi | 2215 | fi |
2216 | done | 2216 | done |
2217 | if test -z "$ac_aux_dir"; then | 2217 | if test -z "$ac_aux_dir"; then |
2218 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 | 2218 | as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5 |
2219 | fi | 2219 | fi |
2220 | 2220 | ||
2221 | # These three variables are undocumented and unsupported, | 2221 | # These three variables are undocumented and unsupported, |
2222 | # and are intended to be withdrawn in a future Autoconf release. | 2222 | # and are intended to be withdrawn in a future Autoconf release. |
2223 | # They can cause serious problems if a builder's source tree is in a directory | 2223 | # They can cause serious problems if a builder's source tree is in a directory |
2224 | # whose full name contains unusual characters. | 2224 | # whose full name contains unusual characters. |
2225 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. | 2225 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. |
2226 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. | 2226 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. |
2227 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. | 2227 | ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. |
2228 | 2228 | ||
2229 | 2229 | ||
2230 | 2230 | ||
2231 | # Generate configuration headers. | 2231 | # Generate configuration headers. |
2232 | ac_config_headers="$ac_config_headers jconfig.h:jconfig.cfg" | 2232 | ac_config_headers="$ac_config_headers jconfig.h:jconfig.cfg" |
2233 | 2233 | ||
2234 | 2234 | ||
2235 | # Hack: disable autoheader so that it doesn't overwrite our cfg template. | 2235 | # Hack: disable autoheader so that it doesn't overwrite our cfg template. |
2236 | AUTOHEADER="echo autoheader ignored" | 2236 | AUTOHEADER="echo autoheader ignored" |
2237 | 2237 | ||
2238 | # Check system type | 2238 | # Check system type |
2239 | # Make sure we can run config.sub. | 2239 | # Make sure we can run config.sub. |
2240 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 2240 | $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || |
2241 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 2241 | as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 |
2242 | 2242 | ||
2243 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 2243 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 |
2244 | $as_echo_n "checking build system type... " >&6; } | 2244 | $as_echo_n "checking build system type... " >&6; } |
2245 | if ${ac_cv_build+:} false; then : | 2245 | if ${ac_cv_build+:} false; then : |
2246 | $as_echo_n "(cached) " >&6 | 2246 | $as_echo_n "(cached) " >&6 |
2247 | else | 2247 | else |
2248 | ac_build_alias=$build_alias | 2248 | ac_build_alias=$build_alias |
2249 | test "x$ac_build_alias" = x && | 2249 | test "x$ac_build_alias" = x && |
2250 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 2250 | ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` |
2251 | test "x$ac_build_alias" = x && | 2251 | test "x$ac_build_alias" = x && |
2252 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 2252 | as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 |
2253 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 2253 | ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || |
2254 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 2254 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 |
2255 | 2255 | ||
2256 | fi | 2256 | fi |
2257 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 2257 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 |
2258 | $as_echo "$ac_cv_build" >&6; } | 2258 | $as_echo "$ac_cv_build" >&6; } |
2259 | case $ac_cv_build in | 2259 | case $ac_cv_build in |
2260 | *-*-*) ;; | 2260 | *-*-*) ;; |
2261 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 2261 | *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; |
2262 | esac | 2262 | esac |
2263 | build=$ac_cv_build | 2263 | build=$ac_cv_build |
2264 | ac_save_IFS=$IFS; IFS='-' | 2264 | ac_save_IFS=$IFS; IFS='-' |
2265 | set x $ac_cv_build | 2265 | set x $ac_cv_build |
2266 | shift | 2266 | shift |
2267 | build_cpu=$1 | 2267 | build_cpu=$1 |
2268 | build_vendor=$2 | 2268 | build_vendor=$2 |
2269 | shift; shift | 2269 | shift; shift |
2270 | # Remember, the first character of IFS is used to create $*, | 2270 | # Remember, the first character of IFS is used to create $*, |
2271 | # except with old shells: | 2271 | # except with old shells: |
2272 | build_os=$* | 2272 | build_os=$* |
2273 | IFS=$ac_save_IFS | 2273 | IFS=$ac_save_IFS |
2274 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 2274 | case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac |
2275 | 2275 | ||
2276 | 2276 | ||
2277 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 2277 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 |
2278 | $as_echo_n "checking host system type... " >&6; } | 2278 | $as_echo_n "checking host system type... " >&6; } |
2279 | if ${ac_cv_host+:} false; then : | 2279 | if ${ac_cv_host+:} false; then : |
2280 | $as_echo_n "(cached) " >&6 | 2280 | $as_echo_n "(cached) " >&6 |
2281 | else | 2281 | else |
2282 | if test "x$host_alias" = x; then | 2282 | if test "x$host_alias" = x; then |
2283 | ac_cv_host=$ac_cv_build | 2283 | ac_cv_host=$ac_cv_build |
2284 | else | 2284 | else |
2285 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 2285 | ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || |
2286 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 2286 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 |
2287 | fi | 2287 | fi |
2288 | 2288 | ||
2289 | fi | 2289 | fi |
2290 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 2290 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 |
2291 | $as_echo "$ac_cv_host" >&6; } | 2291 | $as_echo "$ac_cv_host" >&6; } |
2292 | case $ac_cv_host in | 2292 | case $ac_cv_host in |
2293 | *-*-*) ;; | 2293 | *-*-*) ;; |
2294 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 2294 | *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; |
2295 | esac | 2295 | esac |
2296 | host=$ac_cv_host | 2296 | host=$ac_cv_host |
2297 | ac_save_IFS=$IFS; IFS='-' | 2297 | ac_save_IFS=$IFS; IFS='-' |
2298 | set x $ac_cv_host | 2298 | set x $ac_cv_host |
2299 | shift | 2299 | shift |
2300 | host_cpu=$1 | 2300 | host_cpu=$1 |
2301 | host_vendor=$2 | 2301 | host_vendor=$2 |
2302 | shift; shift | 2302 | shift; shift |
2303 | # Remember, the first character of IFS is used to create $*, | 2303 | # Remember, the first character of IFS is used to create $*, |
2304 | # except with old shells: | 2304 | # except with old shells: |
2305 | host_os=$* | 2305 | host_os=$* |
2306 | IFS=$ac_save_IFS | 2306 | IFS=$ac_save_IFS |
2307 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 2307 | case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac |
2308 | 2308 | ||
2309 | 2309 | ||
2310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | 2310 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 |
2311 | $as_echo_n "checking target system type... " >&6; } | 2311 | $as_echo_n "checking target system type... " >&6; } |
2312 | if ${ac_cv_target+:} false; then : | 2312 | if ${ac_cv_target+:} false; then : |
2313 | $as_echo_n "(cached) " >&6 | 2313 | $as_echo_n "(cached) " >&6 |
2314 | else | 2314 | else |
2315 | if test "x$target_alias" = x; then | 2315 | if test "x$target_alias" = x; then |
2316 | ac_cv_target=$ac_cv_host | 2316 | ac_cv_target=$ac_cv_host |
2317 | else | 2317 | else |
2318 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | 2318 | ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || |
2319 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | 2319 | as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 |
2320 | fi | 2320 | fi |
2321 | 2321 | ||
2322 | fi | 2322 | fi |
2323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | 2323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 |
2324 | $as_echo "$ac_cv_target" >&6; } | 2324 | $as_echo "$ac_cv_target" >&6; } |
2325 | case $ac_cv_target in | 2325 | case $ac_cv_target in |
2326 | *-*-*) ;; | 2326 | *-*-*) ;; |
2327 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; | 2327 | *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; |
2328 | esac | 2328 | esac |
2329 | target=$ac_cv_target | 2329 | target=$ac_cv_target |
2330 | ac_save_IFS=$IFS; IFS='-' | 2330 | ac_save_IFS=$IFS; IFS='-' |
2331 | set x $ac_cv_target | 2331 | set x $ac_cv_target |
2332 | shift | 2332 | shift |
2333 | target_cpu=$1 | 2333 | target_cpu=$1 |
2334 | target_vendor=$2 | 2334 | target_vendor=$2 |
2335 | shift; shift | 2335 | shift; shift |
2336 | # Remember, the first character of IFS is used to create $*, | 2336 | # Remember, the first character of IFS is used to create $*, |
2337 | # except with old shells: | 2337 | # except with old shells: |
2338 | target_os=$* | 2338 | target_os=$* |
2339 | IFS=$ac_save_IFS | 2339 | IFS=$ac_save_IFS |
2340 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | 2340 | case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac |
2341 | 2341 | ||
2342 | 2342 | ||
2343 | # The aliases save the names the user supplied, while $host etc. | 2343 | # The aliases save the names the user supplied, while $host etc. |
2344 | # will get canonicalized. | 2344 | # will get canonicalized. |
2345 | test -n "$target_alias" && | 2345 | test -n "$target_alias" && |
2346 | test "$program_prefix$program_suffix$program_transform_name" = \ | 2346 | test "$program_prefix$program_suffix$program_transform_name" = \ |
2347 | NONENONEs,x,x, && | 2347 | NONENONEs,x,x, && |
2348 | program_prefix=${target_alias}- | 2348 | program_prefix=${target_alias}- |
2349 | 2349 | ||
2350 | # Initialize Automake | 2350 | # Initialize Automake |
2351 | # Don't require all the GNU mandated files | 2351 | # Don't require all the GNU mandated files |
2352 | am__api_version='1.11' | 2352 | am__api_version='1.11' |
2353 | 2353 | ||
2354 | # Find a good install program. We prefer a C program (faster), | 2354 | # Find a good install program. We prefer a C program (faster), |
2355 | # so one script is as good as another. But avoid the broken or | 2355 | # so one script is as good as another. But avoid the broken or |
2356 | # incompatible versions: | 2356 | # incompatible versions: |
2357 | # SysV /etc/install, /usr/sbin/install | 2357 | # SysV /etc/install, /usr/sbin/install |
2358 | # SunOS /usr/etc/install | 2358 | # SunOS /usr/etc/install |
2359 | # IRIX /sbin/install | 2359 | # IRIX /sbin/install |
2360 | # AIX /bin/install | 2360 | # AIX /bin/install |
2361 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 2361 | # AmigaOS /C/install, which installs bootblocks on floppy discs |
2362 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 2362 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
2363 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 2363 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
2364 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 2364 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
2365 | # OS/2's system install, which has a completely different semantic | 2365 | # OS/2's system install, which has a completely different semantic |
2366 | # ./install, which can be erroneously created by make from ./install.sh. | 2366 | # ./install, which can be erroneously created by make from ./install.sh. |
2367 | # Reject install programs that cannot install multiple files. | 2367 | # Reject install programs that cannot install multiple files. |
2368 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 2368 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 |
2369 | $as_echo_n "checking for a BSD-compatible install... " >&6; } | 2369 | $as_echo_n "checking for a BSD-compatible install... " >&6; } |
2370 | if test -z "$INSTALL"; then | 2370 | if test -z "$INSTALL"; then |
2371 | if ${ac_cv_path_install+:} false; then : | 2371 | if ${ac_cv_path_install+:} false; then : |
2372 | $as_echo_n "(cached) " >&6 | 2372 | $as_echo_n "(cached) " >&6 |
2373 | else | 2373 | else |
2374 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2374 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2375 | for as_dir in $PATH | 2375 | for as_dir in $PATH |
2376 | do | 2376 | do |
2377 | IFS=$as_save_IFS | 2377 | IFS=$as_save_IFS |
2378 | test -z "$as_dir" && as_dir=. | 2378 | test -z "$as_dir" && as_dir=. |
2379 | # Account for people who put trailing slashes in PATH elements. | 2379 | # Account for people who put trailing slashes in PATH elements. |
2380 | case $as_dir/ in #(( | 2380 | case $as_dir/ in #(( |
2381 | ./ | .// | /[cC]/* | \ | 2381 | ./ | .// | /[cC]/* | \ |
2382 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 2382 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ |
2383 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 2383 | ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ |
2384 | /usr/ucb/* ) ;; | 2384 | /usr/ucb/* ) ;; |
2385 | *) | 2385 | *) |
2386 | # OSF1 and SCO ODT 3.0 have their own names for install. | 2386 | # OSF1 and SCO ODT 3.0 have their own names for install. |
2387 | # Don't use installbsd from OSF since it installs stuff as root | 2387 | # Don't use installbsd from OSF since it installs stuff as root |
2388 | # by default. | 2388 | # by default. |
2389 | for ac_prog in ginstall scoinst install; do | 2389 | for ac_prog in ginstall scoinst install; do |
2390 | for ac_exec_ext in '' $ac_executable_extensions; do | 2390 | for ac_exec_ext in '' $ac_executable_extensions; do |
2391 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | 2391 | if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then |
2392 | if test $ac_prog = install && | 2392 | if test $ac_prog = install && |
2393 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2393 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2394 | # AIX install. It has an incompatible calling convention. | 2394 | # AIX install. It has an incompatible calling convention. |
2395 | : | 2395 | : |
2396 | elif test $ac_prog = install && | 2396 | elif test $ac_prog = install && |
2397 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 2397 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then |
2398 | # program-specific install script used by HP pwplus--don't use. | 2398 | # program-specific install script used by HP pwplus--don't use. |
2399 | : | 2399 | : |
2400 | else | 2400 | else |
2401 | rm -rf conftest.one conftest.two conftest.dir | 2401 | rm -rf conftest.one conftest.two conftest.dir |
2402 | echo one > conftest.one | 2402 | echo one > conftest.one |
2403 | echo two > conftest.two | 2403 | echo two > conftest.two |
2404 | mkdir conftest.dir | 2404 | mkdir conftest.dir |
2405 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | 2405 | if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && |
2406 | test -s conftest.one && test -s conftest.two && | 2406 | test -s conftest.one && test -s conftest.two && |
2407 | test -s conftest.dir/conftest.one && | 2407 | test -s conftest.dir/conftest.one && |
2408 | test -s conftest.dir/conftest.two | 2408 | test -s conftest.dir/conftest.two |
2409 | then | 2409 | then |
2410 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 2410 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" |
2411 | break 3 | 2411 | break 3 |
2412 | fi | 2412 | fi |
2413 | fi | 2413 | fi |
2414 | fi | 2414 | fi |
2415 | done | 2415 | done |
2416 | done | 2416 | done |
2417 | ;; | 2417 | ;; |
2418 | esac | 2418 | esac |
2419 | 2419 | ||
2420 | done | 2420 | done |
2421 | IFS=$as_save_IFS | 2421 | IFS=$as_save_IFS |
2422 | 2422 | ||
2423 | rm -rf conftest.one conftest.two conftest.dir | 2423 | rm -rf conftest.one conftest.two conftest.dir |
2424 | 2424 | ||
2425 | fi | 2425 | fi |
2426 | if test "${ac_cv_path_install+set}" = set; then | 2426 | if test "${ac_cv_path_install+set}" = set; then |
2427 | INSTALL=$ac_cv_path_install | 2427 | INSTALL=$ac_cv_path_install |
2428 | else | 2428 | else |
2429 | # As a last resort, use the slow shell script. Don't cache a | 2429 | # As a last resort, use the slow shell script. Don't cache a |
2430 | # value for INSTALL within a source directory, because that will | 2430 | # value for INSTALL within a source directory, because that will |
2431 | # break other packages using the cache if that directory is | 2431 | # break other packages using the cache if that directory is |
2432 | # removed, or if the value is a relative name. | 2432 | # removed, or if the value is a relative name. |
2433 | INSTALL=$ac_install_sh | 2433 | INSTALL=$ac_install_sh |
2434 | fi | 2434 | fi |
2435 | fi | 2435 | fi |
2436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 2436 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 |
2437 | $as_echo "$INSTALL" >&6; } | 2437 | $as_echo "$INSTALL" >&6; } |
2438 | 2438 | ||
2439 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 2439 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
2440 | # It thinks the first close brace ends the variable substitution. | 2440 | # It thinks the first close brace ends the variable substitution. |
2441 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 2441 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
2442 | 2442 | ||
2443 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 2443 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' |
2444 | 2444 | ||
2445 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 2445 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
2446 | 2446 | ||
2447 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 | 2447 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 |
2448 | $as_echo_n "checking whether build environment is sane... " >&6; } | 2448 | $as_echo_n "checking whether build environment is sane... " >&6; } |
2449 | # Just in case | 2449 | # Just in case |
2450 | sleep 1 | 2450 | sleep 1 |
2451 | echo timestamp > conftest.file | 2451 | echo timestamp > conftest.file |
2452 | # Reject unsafe characters in $srcdir or the absolute working directory | 2452 | # Reject unsafe characters in $srcdir or the absolute working directory |
2453 | # name. Accept space and tab only in the latter. | 2453 | # name. Accept space and tab only in the latter. |
2454 | am_lf=' | 2454 | am_lf=' |
2455 | ' | 2455 | ' |
2456 | case `pwd` in | 2456 | case `pwd` in |
2457 | *[\\\"\#\$\&\'\`$am_lf]*) | 2457 | *[\\\"\#\$\&\'\`$am_lf]*) |
2458 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; | 2458 | as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;; |
2459 | esac | 2459 | esac |
2460 | case $srcdir in | 2460 | case $srcdir in |
2461 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) | 2461 | *[\\\"\#\$\&\'\`$am_lf\ \ ]*) |
2462 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; | 2462 | as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;; |
2463 | esac | 2463 | esac |
2464 | 2464 | ||
2465 | # Do `set' in a subshell so we don't clobber the current shell's | 2465 | # Do `set' in a subshell so we don't clobber the current shell's |
2466 | # arguments. Must try -L first in case configure is actually a | 2466 | # arguments. Must try -L first in case configure is actually a |
2467 | # symlink; some systems play weird games with the mod time of symlinks | 2467 | # symlink; some systems play weird games with the mod time of symlinks |
2468 | # (eg FreeBSD returns the mod time of the symlink's containing | 2468 | # (eg FreeBSD returns the mod time of the symlink's containing |
2469 | # directory). | 2469 | # directory). |
2470 | if ( | 2470 | if ( |
2471 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` | 2471 | set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null` |
2472 | if test "$*" = "X"; then | 2472 | if test "$*" = "X"; then |
2473 | # -L didn't work. | 2473 | # -L didn't work. |
2474 | set X `ls -t "$srcdir/configure" conftest.file` | 2474 | set X `ls -t "$srcdir/configure" conftest.file` |
2475 | fi | 2475 | fi |
2476 | rm -f conftest.file | 2476 | rm -f conftest.file |
2477 | if test "$*" != "X $srcdir/configure conftest.file" \ | 2477 | if test "$*" != "X $srcdir/configure conftest.file" \ |
2478 | && test "$*" != "X conftest.file $srcdir/configure"; then | 2478 | && test "$*" != "X conftest.file $srcdir/configure"; then |
2479 | 2479 | ||
2480 | # If neither matched, then we have a broken ls. This can happen | 2480 | # If neither matched, then we have a broken ls. This can happen |
2481 | # if, for instance, CONFIG_SHELL is bash and it inherits a | 2481 | # if, for instance, CONFIG_SHELL is bash and it inherits a |
2482 | # broken ls alias from the environment. This has actually | 2482 | # broken ls alias from the environment. This has actually |
2483 | # happened. Such a system could not be considered "sane". | 2483 | # happened. Such a system could not be considered "sane". |
2484 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken | 2484 | as_fn_error $? "ls -t appears to fail. Make sure there is not a broken |
2485 | alias in your environment" "$LINENO" 5 | 2485 | alias in your environment" "$LINENO" 5 |
2486 | fi | 2486 | fi |
2487 | 2487 | ||
2488 | test "$2" = conftest.file | 2488 | test "$2" = conftest.file |
2489 | ) | 2489 | ) |
2490 | then | 2490 | then |
2491 | # Ok. | 2491 | # Ok. |
2492 | : | 2492 | : |
2493 | else | 2493 | else |
2494 | as_fn_error $? "newly created file is older than distributed files! | 2494 | as_fn_error $? "newly created file is older than distributed files! |
2495 | Check your system clock" "$LINENO" 5 | 2495 | Check your system clock" "$LINENO" 5 |
2496 | fi | 2496 | fi |
2497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2497 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2498 | $as_echo "yes" >&6; } | 2498 | $as_echo "yes" >&6; } |
2499 | test "$program_prefix" != NONE && | 2499 | test "$program_prefix" != NONE && |
2500 | program_transform_name="s&^&$program_prefix&;$program_transform_name" | 2500 | program_transform_name="s&^&$program_prefix&;$program_transform_name" |
2501 | # Use a double $ so make ignores it. | 2501 | # Use a double $ so make ignores it. |
2502 | test "$program_suffix" != NONE && | 2502 | test "$program_suffix" != NONE && |
2503 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" | 2503 | program_transform_name="s&\$&$program_suffix&;$program_transform_name" |
2504 | # Double any \ or $. | 2504 | # Double any \ or $. |
2505 | # By default was `s,x,x', remove it if useless. | 2505 | # By default was `s,x,x', remove it if useless. |
2506 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' | 2506 | ac_script='s/[\\$]/&&/g;s/;s,x,x,$//' |
2507 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` | 2507 | program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"` |
2508 | 2508 | ||
2509 | # expand $ac_aux_dir to an absolute path | 2509 | # expand $ac_aux_dir to an absolute path |
2510 | am_aux_dir=`cd $ac_aux_dir && pwd` | 2510 | am_aux_dir=`cd $ac_aux_dir && pwd` |
2511 | 2511 | ||
2512 | if test x"${MISSING+set}" != xset; then | 2512 | if test x"${MISSING+set}" != xset; then |
2513 | case $am_aux_dir in | 2513 | case $am_aux_dir in |
2514 | *\ * | *\ *) | 2514 | *\ * | *\ *) |
2515 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; | 2515 | MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;; |
2516 | *) | 2516 | *) |
2517 | MISSING="\${SHELL} $am_aux_dir/missing" ;; | 2517 | MISSING="\${SHELL} $am_aux_dir/missing" ;; |
2518 | esac | 2518 | esac |
2519 | fi | 2519 | fi |
2520 | # Use eval to expand $SHELL | 2520 | # Use eval to expand $SHELL |
2521 | if eval "$MISSING --run true"; then | 2521 | if eval "$MISSING --run true"; then |
2522 | am_missing_run="$MISSING --run " | 2522 | am_missing_run="$MISSING --run " |
2523 | else | 2523 | else |
2524 | am_missing_run= | 2524 | am_missing_run= |
2525 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 | 2525 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 |
2526 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} | 2526 | $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} |
2527 | fi | 2527 | fi |
2528 | 2528 | ||
2529 | if test x"${install_sh}" != xset; then | 2529 | if test x"${install_sh}" != xset; then |
2530 | case $am_aux_dir in | 2530 | case $am_aux_dir in |
2531 | *\ * | *\ *) | 2531 | *\ * | *\ *) |
2532 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; | 2532 | install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;; |
2533 | *) | 2533 | *) |
2534 | install_sh="\${SHELL} $am_aux_dir/install-sh" | 2534 | install_sh="\${SHELL} $am_aux_dir/install-sh" |
2535 | esac | 2535 | esac |
2536 | fi | 2536 | fi |
2537 | 2537 | ||
2538 | # Installed binaries are usually stripped using `strip' when the user | 2538 | # Installed binaries are usually stripped using `strip' when the user |
2539 | # run `make install-strip'. However `strip' might not be the right | 2539 | # run `make install-strip'. However `strip' might not be the right |
2540 | # tool to use in cross-compilation environments, therefore Automake | 2540 | # tool to use in cross-compilation environments, therefore Automake |
2541 | # will honor the `STRIP' environment variable to overrule this program. | 2541 | # will honor the `STRIP' environment variable to overrule this program. |
2542 | if test "$cross_compiling" != no; then | 2542 | if test "$cross_compiling" != no; then |
2543 | if test -n "$ac_tool_prefix"; then | 2543 | if test -n "$ac_tool_prefix"; then |
2544 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 2544 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
2545 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 2545 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
2546 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2546 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2547 | $as_echo_n "checking for $ac_word... " >&6; } | 2547 | $as_echo_n "checking for $ac_word... " >&6; } |
2548 | if ${ac_cv_prog_STRIP+:} false; then : | 2548 | if ${ac_cv_prog_STRIP+:} false; then : |
2549 | $as_echo_n "(cached) " >&6 | 2549 | $as_echo_n "(cached) " >&6 |
2550 | else | 2550 | else |
2551 | if test -n "$STRIP"; then | 2551 | if test -n "$STRIP"; then |
2552 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 2552 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
2553 | else | 2553 | else |
2554 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2554 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2555 | for as_dir in $PATH | 2555 | for as_dir in $PATH |
2556 | do | 2556 | do |
2557 | IFS=$as_save_IFS | 2557 | IFS=$as_save_IFS |
2558 | test -z "$as_dir" && as_dir=. | 2558 | test -z "$as_dir" && as_dir=. |
2559 | for ac_exec_ext in '' $ac_executable_extensions; do | 2559 | for ac_exec_ext in '' $ac_executable_extensions; do |
2560 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2560 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2561 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 2561 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
2562 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2562 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2563 | break 2 | 2563 | break 2 |
2564 | fi | 2564 | fi |
2565 | done | 2565 | done |
2566 | done | 2566 | done |
2567 | IFS=$as_save_IFS | 2567 | IFS=$as_save_IFS |
2568 | 2568 | ||
2569 | fi | 2569 | fi |
2570 | fi | 2570 | fi |
2571 | STRIP=$ac_cv_prog_STRIP | 2571 | STRIP=$ac_cv_prog_STRIP |
2572 | if test -n "$STRIP"; then | 2572 | if test -n "$STRIP"; then |
2573 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | 2573 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
2574 | $as_echo "$STRIP" >&6; } | 2574 | $as_echo "$STRIP" >&6; } |
2575 | else | 2575 | else |
2576 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2576 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2577 | $as_echo "no" >&6; } | 2577 | $as_echo "no" >&6; } |
2578 | fi | 2578 | fi |
2579 | 2579 | ||
2580 | 2580 | ||
2581 | fi | 2581 | fi |
2582 | if test -z "$ac_cv_prog_STRIP"; then | 2582 | if test -z "$ac_cv_prog_STRIP"; then |
2583 | ac_ct_STRIP=$STRIP | 2583 | ac_ct_STRIP=$STRIP |
2584 | # Extract the first word of "strip", so it can be a program name with args. | 2584 | # Extract the first word of "strip", so it can be a program name with args. |
2585 | set dummy strip; ac_word=$2 | 2585 | set dummy strip; ac_word=$2 |
2586 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2586 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2587 | $as_echo_n "checking for $ac_word... " >&6; } | 2587 | $as_echo_n "checking for $ac_word... " >&6; } |
2588 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | 2588 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
2589 | $as_echo_n "(cached) " >&6 | 2589 | $as_echo_n "(cached) " >&6 |
2590 | else | 2590 | else |
2591 | if test -n "$ac_ct_STRIP"; then | 2591 | if test -n "$ac_ct_STRIP"; then |
2592 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 2592 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
2593 | else | 2593 | else |
2594 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2594 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2595 | for as_dir in $PATH | 2595 | for as_dir in $PATH |
2596 | do | 2596 | do |
2597 | IFS=$as_save_IFS | 2597 | IFS=$as_save_IFS |
2598 | test -z "$as_dir" && as_dir=. | 2598 | test -z "$as_dir" && as_dir=. |
2599 | for ac_exec_ext in '' $ac_executable_extensions; do | 2599 | for ac_exec_ext in '' $ac_executable_extensions; do |
2600 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2600 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2601 | ac_cv_prog_ac_ct_STRIP="strip" | 2601 | ac_cv_prog_ac_ct_STRIP="strip" |
2602 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2602 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2603 | break 2 | 2603 | break 2 |
2604 | fi | 2604 | fi |
2605 | done | 2605 | done |
2606 | done | 2606 | done |
2607 | IFS=$as_save_IFS | 2607 | IFS=$as_save_IFS |
2608 | 2608 | ||
2609 | fi | 2609 | fi |
2610 | fi | 2610 | fi |
2611 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 2611 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
2612 | if test -n "$ac_ct_STRIP"; then | 2612 | if test -n "$ac_ct_STRIP"; then |
2613 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | 2613 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
2614 | $as_echo "$ac_ct_STRIP" >&6; } | 2614 | $as_echo "$ac_ct_STRIP" >&6; } |
2615 | else | 2615 | else |
2616 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2616 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2617 | $as_echo "no" >&6; } | 2617 | $as_echo "no" >&6; } |
2618 | fi | 2618 | fi |
2619 | 2619 | ||
2620 | if test "x$ac_ct_STRIP" = x; then | 2620 | if test "x$ac_ct_STRIP" = x; then |
2621 | STRIP=":" | 2621 | STRIP=":" |
2622 | else | 2622 | else |
2623 | case $cross_compiling:$ac_tool_warned in | 2623 | case $cross_compiling:$ac_tool_warned in |
2624 | yes:) | 2624 | yes:) |
2625 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2625 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2626 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 2626 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
2627 | ac_tool_warned=yes ;; | 2627 | ac_tool_warned=yes ;; |
2628 | esac | 2628 | esac |
2629 | STRIP=$ac_ct_STRIP | 2629 | STRIP=$ac_ct_STRIP |
2630 | fi | 2630 | fi |
2631 | else | 2631 | else |
2632 | STRIP="$ac_cv_prog_STRIP" | 2632 | STRIP="$ac_cv_prog_STRIP" |
2633 | fi | 2633 | fi |
2634 | 2634 | ||
2635 | fi | 2635 | fi |
2636 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" | 2636 | INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s" |
2637 | 2637 | ||
2638 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 | 2638 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 |
2639 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } | 2639 | $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } |
2640 | if test -z "$MKDIR_P"; then | 2640 | if test -z "$MKDIR_P"; then |
2641 | if ${ac_cv_path_mkdir+:} false; then : | 2641 | if ${ac_cv_path_mkdir+:} false; then : |
2642 | $as_echo_n "(cached) " >&6 | 2642 | $as_echo_n "(cached) " >&6 |
2643 | else | 2643 | else |
2644 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2644 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2645 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin | 2645 | for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin |
2646 | do | 2646 | do |
2647 | IFS=$as_save_IFS | 2647 | IFS=$as_save_IFS |
2648 | test -z "$as_dir" && as_dir=. | 2648 | test -z "$as_dir" && as_dir=. |
2649 | for ac_prog in mkdir gmkdir; do | 2649 | for ac_prog in mkdir gmkdir; do |
2650 | for ac_exec_ext in '' $ac_executable_extensions; do | 2650 | for ac_exec_ext in '' $ac_executable_extensions; do |
2651 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue | 2651 | { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue |
2652 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( | 2652 | case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( |
2653 | 'mkdir (GNU coreutils) '* | \ | 2653 | 'mkdir (GNU coreutils) '* | \ |
2654 | 'mkdir (coreutils) '* | \ | 2654 | 'mkdir (coreutils) '* | \ |
2655 | 'mkdir (fileutils) '4.1*) | 2655 | 'mkdir (fileutils) '4.1*) |
2656 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext | 2656 | ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext |
2657 | break 3;; | 2657 | break 3;; |
2658 | esac | 2658 | esac |
2659 | done | 2659 | done |
2660 | done | 2660 | done |
2661 | done | 2661 | done |
2662 | IFS=$as_save_IFS | 2662 | IFS=$as_save_IFS |
2663 | 2663 | ||
2664 | fi | 2664 | fi |
2665 | 2665 | ||
2666 | test -d ./--version && rmdir ./--version | 2666 | test -d ./--version && rmdir ./--version |
2667 | if test "${ac_cv_path_mkdir+set}" = set; then | 2667 | if test "${ac_cv_path_mkdir+set}" = set; then |
2668 | MKDIR_P="$ac_cv_path_mkdir -p" | 2668 | MKDIR_P="$ac_cv_path_mkdir -p" |
2669 | else | 2669 | else |
2670 | # As a last resort, use the slow shell script. Don't cache a | 2670 | # As a last resort, use the slow shell script. Don't cache a |
2671 | # value for MKDIR_P within a source directory, because that will | 2671 | # value for MKDIR_P within a source directory, because that will |
2672 | # break other packages using the cache if that directory is | 2672 | # break other packages using the cache if that directory is |
2673 | # removed, or if the value is a relative name. | 2673 | # removed, or if the value is a relative name. |
2674 | MKDIR_P="$ac_install_sh -d" | 2674 | MKDIR_P="$ac_install_sh -d" |
2675 | fi | 2675 | fi |
2676 | fi | 2676 | fi |
2677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 | 2677 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 |
2678 | $as_echo "$MKDIR_P" >&6; } | 2678 | $as_echo "$MKDIR_P" >&6; } |
2679 | 2679 | ||
2680 | mkdir_p="$MKDIR_P" | 2680 | mkdir_p="$MKDIR_P" |
2681 | case $mkdir_p in | 2681 | case $mkdir_p in |
2682 | [\\/$]* | ?:[\\/]*) ;; | 2682 | [\\/$]* | ?:[\\/]*) ;; |
2683 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; | 2683 | */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;; |
2684 | esac | 2684 | esac |
2685 | 2685 | ||
2686 | for ac_prog in gawk mawk nawk awk | 2686 | for ac_prog in gawk mawk nawk awk |
2687 | do | 2687 | do |
2688 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 2688 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
2689 | set dummy $ac_prog; ac_word=$2 | 2689 | set dummy $ac_prog; ac_word=$2 |
2690 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2690 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2691 | $as_echo_n "checking for $ac_word... " >&6; } | 2691 | $as_echo_n "checking for $ac_word... " >&6; } |
2692 | if ${ac_cv_prog_AWK+:} false; then : | 2692 | if ${ac_cv_prog_AWK+:} false; then : |
2693 | $as_echo_n "(cached) " >&6 | 2693 | $as_echo_n "(cached) " >&6 |
2694 | else | 2694 | else |
2695 | if test -n "$AWK"; then | 2695 | if test -n "$AWK"; then |
2696 | ac_cv_prog_AWK="$AWK" # Let the user override the test. | 2696 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
2697 | else | 2697 | else |
2698 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2698 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2699 | for as_dir in $PATH | 2699 | for as_dir in $PATH |
2700 | do | 2700 | do |
2701 | IFS=$as_save_IFS | 2701 | IFS=$as_save_IFS |
2702 | test -z "$as_dir" && as_dir=. | 2702 | test -z "$as_dir" && as_dir=. |
2703 | for ac_exec_ext in '' $ac_executable_extensions; do | 2703 | for ac_exec_ext in '' $ac_executable_extensions; do |
2704 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2704 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2705 | ac_cv_prog_AWK="$ac_prog" | 2705 | ac_cv_prog_AWK="$ac_prog" |
2706 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2706 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2707 | break 2 | 2707 | break 2 |
2708 | fi | 2708 | fi |
2709 | done | 2709 | done |
2710 | done | 2710 | done |
2711 | IFS=$as_save_IFS | 2711 | IFS=$as_save_IFS |
2712 | 2712 | ||
2713 | fi | 2713 | fi |
2714 | fi | 2714 | fi |
2715 | AWK=$ac_cv_prog_AWK | 2715 | AWK=$ac_cv_prog_AWK |
2716 | if test -n "$AWK"; then | 2716 | if test -n "$AWK"; then |
2717 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | 2717 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 |
2718 | $as_echo "$AWK" >&6; } | 2718 | $as_echo "$AWK" >&6; } |
2719 | else | 2719 | else |
2720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2721 | $as_echo "no" >&6; } | 2721 | $as_echo "no" >&6; } |
2722 | fi | 2722 | fi |
2723 | 2723 | ||
2724 | 2724 | ||
2725 | test -n "$AWK" && break | 2725 | test -n "$AWK" && break |
2726 | done | 2726 | done |
2727 | 2727 | ||
2728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 2728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
2729 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 2729 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
2730 | set x ${MAKE-make} | 2730 | set x ${MAKE-make} |
2731 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 2731 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
2732 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | 2732 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
2733 | $as_echo_n "(cached) " >&6 | 2733 | $as_echo_n "(cached) " >&6 |
2734 | else | 2734 | else |
2735 | cat >conftest.make <<\_ACEOF | 2735 | cat >conftest.make <<\_ACEOF |
2736 | SHELL = /bin/sh | 2736 | SHELL = /bin/sh |
2737 | all: | 2737 | all: |
2738 | @echo '@@@%%%=$(MAKE)=@@@%%%' | 2738 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
2739 | _ACEOF | 2739 | _ACEOF |
2740 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 2740 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
2741 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | 2741 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
2742 | *@@@%%%=?*=@@@%%%*) | 2742 | *@@@%%%=?*=@@@%%%*) |
2743 | eval ac_cv_prog_make_${ac_make}_set=yes;; | 2743 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
2744 | *) | 2744 | *) |
2745 | eval ac_cv_prog_make_${ac_make}_set=no;; | 2745 | eval ac_cv_prog_make_${ac_make}_set=no;; |
2746 | esac | 2746 | esac |
2747 | rm -f conftest.make | 2747 | rm -f conftest.make |
2748 | fi | 2748 | fi |
2749 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 2749 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
2750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 2750 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
2751 | $as_echo "yes" >&6; } | 2751 | $as_echo "yes" >&6; } |
2752 | SET_MAKE= | 2752 | SET_MAKE= |
2753 | else | 2753 | else |
2754 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2754 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2755 | $as_echo "no" >&6; } | 2755 | $as_echo "no" >&6; } |
2756 | SET_MAKE="MAKE=${MAKE-make}" | 2756 | SET_MAKE="MAKE=${MAKE-make}" |
2757 | fi | 2757 | fi |
2758 | 2758 | ||
2759 | rm -rf .tst 2>/dev/null | 2759 | rm -rf .tst 2>/dev/null |
2760 | mkdir .tst 2>/dev/null | 2760 | mkdir .tst 2>/dev/null |
2761 | if test -d .tst; then | 2761 | if test -d .tst; then |
2762 | am__leading_dot=. | 2762 | am__leading_dot=. |
2763 | else | 2763 | else |
2764 | am__leading_dot=_ | 2764 | am__leading_dot=_ |
2765 | fi | 2765 | fi |
2766 | rmdir .tst 2>/dev/null | 2766 | rmdir .tst 2>/dev/null |
2767 | 2767 | ||
2768 | if test "`cd $srcdir && pwd`" != "`pwd`"; then | 2768 | if test "`cd $srcdir && pwd`" != "`pwd`"; then |
2769 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output | 2769 | # Use -I$(srcdir) only when $(srcdir) != ., so that make's output |
2770 | # is not polluted with repeated "-I." | 2770 | # is not polluted with repeated "-I." |
2771 | am__isrc=' -I$(srcdir)' | 2771 | am__isrc=' -I$(srcdir)' |
2772 | # test to see if srcdir already configured | 2772 | # test to see if srcdir already configured |
2773 | if test -f $srcdir/config.status; then | 2773 | if test -f $srcdir/config.status; then |
2774 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 | 2774 | as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 |
2775 | fi | 2775 | fi |
2776 | fi | 2776 | fi |
2777 | 2777 | ||
2778 | # test whether we have cygpath | 2778 | # test whether we have cygpath |
2779 | if test -z "$CYGPATH_W"; then | 2779 | if test -z "$CYGPATH_W"; then |
2780 | if (cygpath --version) >/dev/null 2>/dev/null; then | 2780 | if (cygpath --version) >/dev/null 2>/dev/null; then |
2781 | CYGPATH_W='cygpath -w' | 2781 | CYGPATH_W='cygpath -w' |
2782 | else | 2782 | else |
2783 | CYGPATH_W=echo | 2783 | CYGPATH_W=echo |
2784 | fi | 2784 | fi |
2785 | fi | 2785 | fi |
2786 | 2786 | ||
2787 | 2787 | ||
2788 | # Define the identity of the package. | 2788 | # Define the identity of the package. |
2789 | PACKAGE='libjpeg' | 2789 | PACKAGE='libjpeg' |
2790 | VERSION='8.4.0' | 2790 | VERSION='8.4.0' |
2791 | 2791 | ||
2792 | 2792 | ||
2793 | cat >>confdefs.h <<_ACEOF | 2793 | cat >>confdefs.h <<_ACEOF |
2794 | #define PACKAGE "$PACKAGE" | 2794 | #define PACKAGE "$PACKAGE" |
2795 | _ACEOF | 2795 | _ACEOF |
2796 | 2796 | ||
2797 | 2797 | ||
2798 | cat >>confdefs.h <<_ACEOF | 2798 | cat >>confdefs.h <<_ACEOF |
2799 | #define VERSION "$VERSION" | 2799 | #define VERSION "$VERSION" |
2800 | _ACEOF | 2800 | _ACEOF |
2801 | 2801 | ||
2802 | # Some tools Automake needs. | 2802 | # Some tools Automake needs. |
2803 | 2803 | ||
2804 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} | 2804 | ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"} |
2805 | 2805 | ||
2806 | 2806 | ||
2807 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} | 2807 | AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"} |
2808 | 2808 | ||
2809 | 2809 | ||
2810 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} | 2810 | AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"} |
2811 | 2811 | ||
2812 | 2812 | ||
2813 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} | 2813 | AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"} |
2814 | 2814 | ||
2815 | 2815 | ||
2816 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} | 2816 | MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"} |
2817 | 2817 | ||
2818 | # We need awk for the "check" target. The system "awk" is bad on | 2818 | # We need awk for the "check" target. The system "awk" is bad on |
2819 | # some platforms. | 2819 | # some platforms. |
2820 | # Always define AMTAR for backward compatibility. | 2820 | # Always define AMTAR for backward compatibility. |
2821 | 2821 | ||
2822 | AMTAR=${AMTAR-"${am_missing_run}tar"} | 2822 | AMTAR=${AMTAR-"${am_missing_run}tar"} |
2823 | 2823 | ||
2824 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' | 2824 | am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -' |
2825 | 2825 | ||
2826 | 2826 | ||
2827 | 2827 | ||
2828 | 2828 | ||
2829 | 2829 | ||
2830 | 2830 | ||
2831 | # Make --enable-silent-rules the default. | 2831 | # Make --enable-silent-rules the default. |
2832 | # To get verbose build output you may configure | 2832 | # To get verbose build output you may configure |
2833 | # with --disable-silent-rules or use "make V=1". | 2833 | # with --disable-silent-rules or use "make V=1". |
2834 | # Check whether --enable-silent-rules was given. | 2834 | # Check whether --enable-silent-rules was given. |
2835 | if test "${enable_silent_rules+set}" = set; then : | 2835 | if test "${enable_silent_rules+set}" = set; then : |
2836 | enableval=$enable_silent_rules; | 2836 | enableval=$enable_silent_rules; |
2837 | fi | 2837 | fi |
2838 | 2838 | ||
2839 | case $enable_silent_rules in | 2839 | case $enable_silent_rules in |
2840 | yes) AM_DEFAULT_VERBOSITY=0;; | 2840 | yes) AM_DEFAULT_VERBOSITY=0;; |
2841 | no) AM_DEFAULT_VERBOSITY=1;; | 2841 | no) AM_DEFAULT_VERBOSITY=1;; |
2842 | *) AM_DEFAULT_VERBOSITY=0;; | 2842 | *) AM_DEFAULT_VERBOSITY=0;; |
2843 | esac | 2843 | esac |
2844 | AM_BACKSLASH='\' | 2844 | AM_BACKSLASH='\' |
2845 | 2845 | ||
2846 | 2846 | ||
2847 | # This is required when using the de-ANSI-fication feature. | 2847 | # This is required when using the de-ANSI-fication feature. |
2848 | DEPDIR="${am__leading_dot}deps" | 2848 | DEPDIR="${am__leading_dot}deps" |
2849 | 2849 | ||
2850 | ac_config_commands="$ac_config_commands depfiles" | 2850 | ac_config_commands="$ac_config_commands depfiles" |
2851 | 2851 | ||
2852 | 2852 | ||
2853 | am_make=${MAKE-make} | 2853 | am_make=${MAKE-make} |
2854 | cat > confinc << 'END' | 2854 | cat > confinc << 'END' |
2855 | am__doit: | 2855 | am__doit: |
2856 | @echo this is the am__doit target | 2856 | @echo this is the am__doit target |
2857 | .PHONY: am__doit | 2857 | .PHONY: am__doit |
2858 | END | 2858 | END |
2859 | # If we don't find an include directive, just comment out the code. | 2859 | # If we don't find an include directive, just comment out the code. |
2860 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 | 2860 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 |
2861 | $as_echo_n "checking for style of include used by $am_make... " >&6; } | 2861 | $as_echo_n "checking for style of include used by $am_make... " >&6; } |
2862 | am__include="#" | 2862 | am__include="#" |
2863 | am__quote= | 2863 | am__quote= |
2864 | _am_result=none | 2864 | _am_result=none |
2865 | # First try GNU make style include. | 2865 | # First try GNU make style include. |
2866 | echo "include confinc" > confmf | 2866 | echo "include confinc" > confmf |
2867 | # Ignore all kinds of additional output from `make'. | 2867 | # Ignore all kinds of additional output from `make'. |
2868 | case `$am_make -s -f confmf 2> /dev/null` in #( | 2868 | case `$am_make -s -f confmf 2> /dev/null` in #( |
2869 | *the\ am__doit\ target*) | 2869 | *the\ am__doit\ target*) |
2870 | am__include=include | 2870 | am__include=include |
2871 | am__quote= | 2871 | am__quote= |
2872 | _am_result=GNU | 2872 | _am_result=GNU |
2873 | ;; | 2873 | ;; |
2874 | esac | 2874 | esac |
2875 | # Now try BSD make style include. | 2875 | # Now try BSD make style include. |
2876 | if test "$am__include" = "#"; then | 2876 | if test "$am__include" = "#"; then |
2877 | echo '.include "confinc"' > confmf | 2877 | echo '.include "confinc"' > confmf |
2878 | case `$am_make -s -f confmf 2> /dev/null` in #( | 2878 | case `$am_make -s -f confmf 2> /dev/null` in #( |
2879 | *the\ am__doit\ target*) | 2879 | *the\ am__doit\ target*) |
2880 | am__include=.include | 2880 | am__include=.include |
2881 | am__quote="\"" | 2881 | am__quote="\"" |
2882 | _am_result=BSD | 2882 | _am_result=BSD |
2883 | ;; | 2883 | ;; |
2884 | esac | 2884 | esac |
2885 | fi | 2885 | fi |
2886 | 2886 | ||
2887 | 2887 | ||
2888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 | 2888 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 |
2889 | $as_echo "$_am_result" >&6; } | 2889 | $as_echo "$_am_result" >&6; } |
2890 | rm -f confinc confmf | 2890 | rm -f confinc confmf |
2891 | 2891 | ||
2892 | # Check whether --enable-dependency-tracking was given. | 2892 | # Check whether --enable-dependency-tracking was given. |
2893 | if test "${enable_dependency_tracking+set}" = set; then : | 2893 | if test "${enable_dependency_tracking+set}" = set; then : |
2894 | enableval=$enable_dependency_tracking; | 2894 | enableval=$enable_dependency_tracking; |
2895 | fi | 2895 | fi |
2896 | 2896 | ||
2897 | if test "x$enable_dependency_tracking" != xno; then | 2897 | if test "x$enable_dependency_tracking" != xno; then |
2898 | am_depcomp="$ac_aux_dir/depcomp" | 2898 | am_depcomp="$ac_aux_dir/depcomp" |
2899 | AMDEPBACKSLASH='\' | 2899 | AMDEPBACKSLASH='\' |
2900 | am__nodep='_no' | 2900 | am__nodep='_no' |
2901 | fi | 2901 | fi |
2902 | if test "x$enable_dependency_tracking" != xno; then | 2902 | if test "x$enable_dependency_tracking" != xno; then |
2903 | AMDEP_TRUE= | 2903 | AMDEP_TRUE= |
2904 | AMDEP_FALSE='#' | 2904 | AMDEP_FALSE='#' |
2905 | else | 2905 | else |
2906 | AMDEP_TRUE='#' | 2906 | AMDEP_TRUE='#' |
2907 | AMDEP_FALSE= | 2907 | AMDEP_FALSE= |
2908 | fi | 2908 | fi |
2909 | 2909 | ||
2910 | 2910 | ||
2911 | ac_ext=c | 2911 | ac_ext=c |
2912 | ac_cpp='$CPP $CPPFLAGS' | 2912 | ac_cpp='$CPP $CPPFLAGS' |
2913 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 2913 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
2914 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 2914 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
2915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 2915 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
2916 | if test -n "$ac_tool_prefix"; then | 2916 | if test -n "$ac_tool_prefix"; then |
2917 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 2917 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
2918 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 2918 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
2919 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2919 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2920 | $as_echo_n "checking for $ac_word... " >&6; } | 2920 | $as_echo_n "checking for $ac_word... " >&6; } |
2921 | if ${ac_cv_prog_CC+:} false; then : | 2921 | if ${ac_cv_prog_CC+:} false; then : |
2922 | $as_echo_n "(cached) " >&6 | 2922 | $as_echo_n "(cached) " >&6 |
2923 | else | 2923 | else |
2924 | if test -n "$CC"; then | 2924 | if test -n "$CC"; then |
2925 | ac_cv_prog_CC="$CC" # Let the user override the test. | 2925 | ac_cv_prog_CC="$CC" # Let the user override the test. |
2926 | else | 2926 | else |
2927 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2927 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2928 | for as_dir in $PATH | 2928 | for as_dir in $PATH |
2929 | do | 2929 | do |
2930 | IFS=$as_save_IFS | 2930 | IFS=$as_save_IFS |
2931 | test -z "$as_dir" && as_dir=. | 2931 | test -z "$as_dir" && as_dir=. |
2932 | for ac_exec_ext in '' $ac_executable_extensions; do | 2932 | for ac_exec_ext in '' $ac_executable_extensions; do |
2933 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2933 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2934 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 2934 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
2935 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2935 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2936 | break 2 | 2936 | break 2 |
2937 | fi | 2937 | fi |
2938 | done | 2938 | done |
2939 | done | 2939 | done |
2940 | IFS=$as_save_IFS | 2940 | IFS=$as_save_IFS |
2941 | 2941 | ||
2942 | fi | 2942 | fi |
2943 | fi | 2943 | fi |
2944 | CC=$ac_cv_prog_CC | 2944 | CC=$ac_cv_prog_CC |
2945 | if test -n "$CC"; then | 2945 | if test -n "$CC"; then |
2946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 2946 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
2947 | $as_echo "$CC" >&6; } | 2947 | $as_echo "$CC" >&6; } |
2948 | else | 2948 | else |
2949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2949 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2950 | $as_echo "no" >&6; } | 2950 | $as_echo "no" >&6; } |
2951 | fi | 2951 | fi |
2952 | 2952 | ||
2953 | 2953 | ||
2954 | fi | 2954 | fi |
2955 | if test -z "$ac_cv_prog_CC"; then | 2955 | if test -z "$ac_cv_prog_CC"; then |
2956 | ac_ct_CC=$CC | 2956 | ac_ct_CC=$CC |
2957 | # Extract the first word of "gcc", so it can be a program name with args. | 2957 | # Extract the first word of "gcc", so it can be a program name with args. |
2958 | set dummy gcc; ac_word=$2 | 2958 | set dummy gcc; ac_word=$2 |
2959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 2959 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
2960 | $as_echo_n "checking for $ac_word... " >&6; } | 2960 | $as_echo_n "checking for $ac_word... " >&6; } |
2961 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 2961 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
2962 | $as_echo_n "(cached) " >&6 | 2962 | $as_echo_n "(cached) " >&6 |
2963 | else | 2963 | else |
2964 | if test -n "$ac_ct_CC"; then | 2964 | if test -n "$ac_ct_CC"; then |
2965 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 2965 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
2966 | else | 2966 | else |
2967 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 2967 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
2968 | for as_dir in $PATH | 2968 | for as_dir in $PATH |
2969 | do | 2969 | do |
2970 | IFS=$as_save_IFS | 2970 | IFS=$as_save_IFS |
2971 | test -z "$as_dir" && as_dir=. | 2971 | test -z "$as_dir" && as_dir=. |
2972 | for ac_exec_ext in '' $ac_executable_extensions; do | 2972 | for ac_exec_ext in '' $ac_executable_extensions; do |
2973 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 2973 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
2974 | ac_cv_prog_ac_ct_CC="gcc" | 2974 | ac_cv_prog_ac_ct_CC="gcc" |
2975 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 2975 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
2976 | break 2 | 2976 | break 2 |
2977 | fi | 2977 | fi |
2978 | done | 2978 | done |
2979 | done | 2979 | done |
2980 | IFS=$as_save_IFS | 2980 | IFS=$as_save_IFS |
2981 | 2981 | ||
2982 | fi | 2982 | fi |
2983 | fi | 2983 | fi |
2984 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 2984 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
2985 | if test -n "$ac_ct_CC"; then | 2985 | if test -n "$ac_ct_CC"; then |
2986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 2986 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
2987 | $as_echo "$ac_ct_CC" >&6; } | 2987 | $as_echo "$ac_ct_CC" >&6; } |
2988 | else | 2988 | else |
2989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 2989 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
2990 | $as_echo "no" >&6; } | 2990 | $as_echo "no" >&6; } |
2991 | fi | 2991 | fi |
2992 | 2992 | ||
2993 | if test "x$ac_ct_CC" = x; then | 2993 | if test "x$ac_ct_CC" = x; then |
2994 | CC="" | 2994 | CC="" |
2995 | else | 2995 | else |
2996 | case $cross_compiling:$ac_tool_warned in | 2996 | case $cross_compiling:$ac_tool_warned in |
2997 | yes:) | 2997 | yes:) |
2998 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 2998 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
2999 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 2999 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3000 | ac_tool_warned=yes ;; | 3000 | ac_tool_warned=yes ;; |
3001 | esac | 3001 | esac |
3002 | CC=$ac_ct_CC | 3002 | CC=$ac_ct_CC |
3003 | fi | 3003 | fi |
3004 | else | 3004 | else |
3005 | CC="$ac_cv_prog_CC" | 3005 | CC="$ac_cv_prog_CC" |
3006 | fi | 3006 | fi |
3007 | 3007 | ||
3008 | if test -z "$CC"; then | 3008 | if test -z "$CC"; then |
3009 | if test -n "$ac_tool_prefix"; then | 3009 | if test -n "$ac_tool_prefix"; then |
3010 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 3010 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
3011 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 3011 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
3012 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3012 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3013 | $as_echo_n "checking for $ac_word... " >&6; } | 3013 | $as_echo_n "checking for $ac_word... " >&6; } |
3014 | if ${ac_cv_prog_CC+:} false; then : | 3014 | if ${ac_cv_prog_CC+:} false; then : |
3015 | $as_echo_n "(cached) " >&6 | 3015 | $as_echo_n "(cached) " >&6 |
3016 | else | 3016 | else |
3017 | if test -n "$CC"; then | 3017 | if test -n "$CC"; then |
3018 | ac_cv_prog_CC="$CC" # Let the user override the test. | 3018 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3019 | else | 3019 | else |
3020 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3020 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3021 | for as_dir in $PATH | 3021 | for as_dir in $PATH |
3022 | do | 3022 | do |
3023 | IFS=$as_save_IFS | 3023 | IFS=$as_save_IFS |
3024 | test -z "$as_dir" && as_dir=. | 3024 | test -z "$as_dir" && as_dir=. |
3025 | for ac_exec_ext in '' $ac_executable_extensions; do | 3025 | for ac_exec_ext in '' $ac_executable_extensions; do |
3026 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3026 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3027 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 3027 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
3028 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3028 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3029 | break 2 | 3029 | break 2 |
3030 | fi | 3030 | fi |
3031 | done | 3031 | done |
3032 | done | 3032 | done |
3033 | IFS=$as_save_IFS | 3033 | IFS=$as_save_IFS |
3034 | 3034 | ||
3035 | fi | 3035 | fi |
3036 | fi | 3036 | fi |
3037 | CC=$ac_cv_prog_CC | 3037 | CC=$ac_cv_prog_CC |
3038 | if test -n "$CC"; then | 3038 | if test -n "$CC"; then |
3039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3039 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3040 | $as_echo "$CC" >&6; } | 3040 | $as_echo "$CC" >&6; } |
3041 | else | 3041 | else |
3042 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3042 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3043 | $as_echo "no" >&6; } | 3043 | $as_echo "no" >&6; } |
3044 | fi | 3044 | fi |
3045 | 3045 | ||
3046 | 3046 | ||
3047 | fi | 3047 | fi |
3048 | fi | 3048 | fi |
3049 | if test -z "$CC"; then | 3049 | if test -z "$CC"; then |
3050 | # Extract the first word of "cc", so it can be a program name with args. | 3050 | # Extract the first word of "cc", so it can be a program name with args. |
3051 | set dummy cc; ac_word=$2 | 3051 | set dummy cc; ac_word=$2 |
3052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3052 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3053 | $as_echo_n "checking for $ac_word... " >&6; } | 3053 | $as_echo_n "checking for $ac_word... " >&6; } |
3054 | if ${ac_cv_prog_CC+:} false; then : | 3054 | if ${ac_cv_prog_CC+:} false; then : |
3055 | $as_echo_n "(cached) " >&6 | 3055 | $as_echo_n "(cached) " >&6 |
3056 | else | 3056 | else |
3057 | if test -n "$CC"; then | 3057 | if test -n "$CC"; then |
3058 | ac_cv_prog_CC="$CC" # Let the user override the test. | 3058 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3059 | else | 3059 | else |
3060 | ac_prog_rejected=no | 3060 | ac_prog_rejected=no |
3061 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3061 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3062 | for as_dir in $PATH | 3062 | for as_dir in $PATH |
3063 | do | 3063 | do |
3064 | IFS=$as_save_IFS | 3064 | IFS=$as_save_IFS |
3065 | test -z "$as_dir" && as_dir=. | 3065 | test -z "$as_dir" && as_dir=. |
3066 | for ac_exec_ext in '' $ac_executable_extensions; do | 3066 | for ac_exec_ext in '' $ac_executable_extensions; do |
3067 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3067 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3068 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 3068 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
3069 | ac_prog_rejected=yes | 3069 | ac_prog_rejected=yes |
3070 | continue | 3070 | continue |
3071 | fi | 3071 | fi |
3072 | ac_cv_prog_CC="cc" | 3072 | ac_cv_prog_CC="cc" |
3073 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3073 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3074 | break 2 | 3074 | break 2 |
3075 | fi | 3075 | fi |
3076 | done | 3076 | done |
3077 | done | 3077 | done |
3078 | IFS=$as_save_IFS | 3078 | IFS=$as_save_IFS |
3079 | 3079 | ||
3080 | if test $ac_prog_rejected = yes; then | 3080 | if test $ac_prog_rejected = yes; then |
3081 | # We found a bogon in the path, so make sure we never use it. | 3081 | # We found a bogon in the path, so make sure we never use it. |
3082 | set dummy $ac_cv_prog_CC | 3082 | set dummy $ac_cv_prog_CC |
3083 | shift | 3083 | shift |
3084 | if test $# != 0; then | 3084 | if test $# != 0; then |
3085 | # We chose a different compiler from the bogus one. | 3085 | # We chose a different compiler from the bogus one. |
3086 | # However, it has the same basename, so the bogon will be chosen | 3086 | # However, it has the same basename, so the bogon will be chosen |
3087 | # first if we set CC to just the basename; use the full file name. | 3087 | # first if we set CC to just the basename; use the full file name. |
3088 | shift | 3088 | shift |
3089 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 3089 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
3090 | fi | 3090 | fi |
3091 | fi | 3091 | fi |
3092 | fi | 3092 | fi |
3093 | fi | 3093 | fi |
3094 | CC=$ac_cv_prog_CC | 3094 | CC=$ac_cv_prog_CC |
3095 | if test -n "$CC"; then | 3095 | if test -n "$CC"; then |
3096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3097 | $as_echo "$CC" >&6; } | 3097 | $as_echo "$CC" >&6; } |
3098 | else | 3098 | else |
3099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3099 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3100 | $as_echo "no" >&6; } | 3100 | $as_echo "no" >&6; } |
3101 | fi | 3101 | fi |
3102 | 3102 | ||
3103 | 3103 | ||
3104 | fi | 3104 | fi |
3105 | if test -z "$CC"; then | 3105 | if test -z "$CC"; then |
3106 | if test -n "$ac_tool_prefix"; then | 3106 | if test -n "$ac_tool_prefix"; then |
3107 | for ac_prog in cl.exe | 3107 | for ac_prog in cl.exe |
3108 | do | 3108 | do |
3109 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 3109 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
3110 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 3110 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
3111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3111 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3112 | $as_echo_n "checking for $ac_word... " >&6; } | 3112 | $as_echo_n "checking for $ac_word... " >&6; } |
3113 | if ${ac_cv_prog_CC+:} false; then : | 3113 | if ${ac_cv_prog_CC+:} false; then : |
3114 | $as_echo_n "(cached) " >&6 | 3114 | $as_echo_n "(cached) " >&6 |
3115 | else | 3115 | else |
3116 | if test -n "$CC"; then | 3116 | if test -n "$CC"; then |
3117 | ac_cv_prog_CC="$CC" # Let the user override the test. | 3117 | ac_cv_prog_CC="$CC" # Let the user override the test. |
3118 | else | 3118 | else |
3119 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3119 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3120 | for as_dir in $PATH | 3120 | for as_dir in $PATH |
3121 | do | 3121 | do |
3122 | IFS=$as_save_IFS | 3122 | IFS=$as_save_IFS |
3123 | test -z "$as_dir" && as_dir=. | 3123 | test -z "$as_dir" && as_dir=. |
3124 | for ac_exec_ext in '' $ac_executable_extensions; do | 3124 | for ac_exec_ext in '' $ac_executable_extensions; do |
3125 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3125 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3126 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 3126 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
3127 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3127 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3128 | break 2 | 3128 | break 2 |
3129 | fi | 3129 | fi |
3130 | done | 3130 | done |
3131 | done | 3131 | done |
3132 | IFS=$as_save_IFS | 3132 | IFS=$as_save_IFS |
3133 | 3133 | ||
3134 | fi | 3134 | fi |
3135 | fi | 3135 | fi |
3136 | CC=$ac_cv_prog_CC | 3136 | CC=$ac_cv_prog_CC |
3137 | if test -n "$CC"; then | 3137 | if test -n "$CC"; then |
3138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 3138 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
3139 | $as_echo "$CC" >&6; } | 3139 | $as_echo "$CC" >&6; } |
3140 | else | 3140 | else |
3141 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3141 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3142 | $as_echo "no" >&6; } | 3142 | $as_echo "no" >&6; } |
3143 | fi | 3143 | fi |
3144 | 3144 | ||
3145 | 3145 | ||
3146 | test -n "$CC" && break | 3146 | test -n "$CC" && break |
3147 | done | 3147 | done |
3148 | fi | 3148 | fi |
3149 | if test -z "$CC"; then | 3149 | if test -z "$CC"; then |
3150 | ac_ct_CC=$CC | 3150 | ac_ct_CC=$CC |
3151 | for ac_prog in cl.exe | 3151 | for ac_prog in cl.exe |
3152 | do | 3152 | do |
3153 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 3153 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
3154 | set dummy $ac_prog; ac_word=$2 | 3154 | set dummy $ac_prog; ac_word=$2 |
3155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 3155 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
3156 | $as_echo_n "checking for $ac_word... " >&6; } | 3156 | $as_echo_n "checking for $ac_word... " >&6; } |
3157 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 3157 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
3158 | $as_echo_n "(cached) " >&6 | 3158 | $as_echo_n "(cached) " >&6 |
3159 | else | 3159 | else |
3160 | if test -n "$ac_ct_CC"; then | 3160 | if test -n "$ac_ct_CC"; then |
3161 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 3161 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
3162 | else | 3162 | else |
3163 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3163 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3164 | for as_dir in $PATH | 3164 | for as_dir in $PATH |
3165 | do | 3165 | do |
3166 | IFS=$as_save_IFS | 3166 | IFS=$as_save_IFS |
3167 | test -z "$as_dir" && as_dir=. | 3167 | test -z "$as_dir" && as_dir=. |
3168 | for ac_exec_ext in '' $ac_executable_extensions; do | 3168 | for ac_exec_ext in '' $ac_executable_extensions; do |
3169 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 3169 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
3170 | ac_cv_prog_ac_ct_CC="$ac_prog" | 3170 | ac_cv_prog_ac_ct_CC="$ac_prog" |
3171 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 3171 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
3172 | break 2 | 3172 | break 2 |
3173 | fi | 3173 | fi |
3174 | done | 3174 | done |
3175 | done | 3175 | done |
3176 | IFS=$as_save_IFS | 3176 | IFS=$as_save_IFS |
3177 | 3177 | ||
3178 | fi | 3178 | fi |
3179 | fi | 3179 | fi |
3180 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 3180 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
3181 | if test -n "$ac_ct_CC"; then | 3181 | if test -n "$ac_ct_CC"; then |
3182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 3182 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
3183 | $as_echo "$ac_ct_CC" >&6; } | 3183 | $as_echo "$ac_ct_CC" >&6; } |
3184 | else | 3184 | else |
3185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3186 | $as_echo "no" >&6; } | 3186 | $as_echo "no" >&6; } |
3187 | fi | 3187 | fi |
3188 | 3188 | ||
3189 | 3189 | ||
3190 | test -n "$ac_ct_CC" && break | 3190 | test -n "$ac_ct_CC" && break |
3191 | done | 3191 | done |
3192 | 3192 | ||
3193 | if test "x$ac_ct_CC" = x; then | 3193 | if test "x$ac_ct_CC" = x; then |
3194 | CC="" | 3194 | CC="" |
3195 | else | 3195 | else |
3196 | case $cross_compiling:$ac_tool_warned in | 3196 | case $cross_compiling:$ac_tool_warned in |
3197 | yes:) | 3197 | yes:) |
3198 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 3198 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
3199 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 3199 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
3200 | ac_tool_warned=yes ;; | 3200 | ac_tool_warned=yes ;; |
3201 | esac | 3201 | esac |
3202 | CC=$ac_ct_CC | 3202 | CC=$ac_ct_CC |
3203 | fi | 3203 | fi |
3204 | fi | 3204 | fi |
3205 | 3205 | ||
3206 | fi | 3206 | fi |
3207 | 3207 | ||
3208 | 3208 | ||
3209 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3209 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3210 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3210 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3211 | as_fn_error $? "no acceptable C compiler found in \$PATH | 3211 | as_fn_error $? "no acceptable C compiler found in \$PATH |
3212 | See \`config.log' for more details" "$LINENO" 5; } | 3212 | See \`config.log' for more details" "$LINENO" 5; } |
3213 | 3213 | ||
3214 | # Provide some information about the compiler. | 3214 | # Provide some information about the compiler. |
3215 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 3215 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
3216 | set X $ac_compile | 3216 | set X $ac_compile |
3217 | ac_compiler=$2 | 3217 | ac_compiler=$2 |
3218 | for ac_option in --version -v -V -qversion; do | 3218 | for ac_option in --version -v -V -qversion; do |
3219 | { { ac_try="$ac_compiler $ac_option >&5" | 3219 | { { ac_try="$ac_compiler $ac_option >&5" |
3220 | case "(($ac_try" in | 3220 | case "(($ac_try" in |
3221 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3221 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3222 | *) ac_try_echo=$ac_try;; | 3222 | *) ac_try_echo=$ac_try;; |
3223 | esac | 3223 | esac |
3224 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3224 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3225 | $as_echo "$ac_try_echo"; } >&5 | 3225 | $as_echo "$ac_try_echo"; } >&5 |
3226 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 3226 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
3227 | ac_status=$? | 3227 | ac_status=$? |
3228 | if test -s conftest.err; then | 3228 | if test -s conftest.err; then |
3229 | sed '10a\ | 3229 | sed '10a\ |
3230 | ... rest of stderr output deleted ... | 3230 | ... rest of stderr output deleted ... |
3231 | 10q' conftest.err >conftest.er1 | 3231 | 10q' conftest.err >conftest.er1 |
3232 | cat conftest.er1 >&5 | 3232 | cat conftest.er1 >&5 |
3233 | fi | 3233 | fi |
3234 | rm -f conftest.er1 conftest.err | 3234 | rm -f conftest.er1 conftest.err |
3235 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3235 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3236 | test $ac_status = 0; } | 3236 | test $ac_status = 0; } |
3237 | done | 3237 | done |
3238 | 3238 | ||
3239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3239 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3240 | /* end confdefs.h. */ | 3240 | /* end confdefs.h. */ |
3241 | 3241 | ||
3242 | int | 3242 | int |
3243 | main () | 3243 | main () |
3244 | { | 3244 | { |
3245 | 3245 | ||
3246 | ; | 3246 | ; |
3247 | return 0; | 3247 | return 0; |
3248 | } | 3248 | } |
3249 | _ACEOF | 3249 | _ACEOF |
3250 | ac_clean_files_save=$ac_clean_files | 3250 | ac_clean_files_save=$ac_clean_files |
3251 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 3251 | ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
3252 | # Try to create an executable without -o first, disregard a.out. | 3252 | # Try to create an executable without -o first, disregard a.out. |
3253 | # It will help us diagnose broken compilers, and finding out an intuition | 3253 | # It will help us diagnose broken compilers, and finding out an intuition |
3254 | # of exeext. | 3254 | # of exeext. |
3255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 3255 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
3256 | $as_echo_n "checking whether the C compiler works... " >&6; } | 3256 | $as_echo_n "checking whether the C compiler works... " >&6; } |
3257 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 3257 | ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
3258 | 3258 | ||
3259 | # The possible output files: | 3259 | # The possible output files: |
3260 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 3260 | ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" |
3261 | 3261 | ||
3262 | ac_rmfiles= | 3262 | ac_rmfiles= |
3263 | for ac_file in $ac_files | 3263 | for ac_file in $ac_files |
3264 | do | 3264 | do |
3265 | case $ac_file in | 3265 | case $ac_file in |
3266 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 3266 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3267 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 3267 | * ) ac_rmfiles="$ac_rmfiles $ac_file";; |
3268 | esac | 3268 | esac |
3269 | done | 3269 | done |
3270 | rm -f $ac_rmfiles | 3270 | rm -f $ac_rmfiles |
3271 | 3271 | ||
3272 | if { { ac_try="$ac_link_default" | 3272 | if { { ac_try="$ac_link_default" |
3273 | case "(($ac_try" in | 3273 | case "(($ac_try" in |
3274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3274 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3275 | *) ac_try_echo=$ac_try;; | 3275 | *) ac_try_echo=$ac_try;; |
3276 | esac | 3276 | esac |
3277 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3277 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3278 | $as_echo "$ac_try_echo"; } >&5 | 3278 | $as_echo "$ac_try_echo"; } >&5 |
3279 | (eval "$ac_link_default") 2>&5 | 3279 | (eval "$ac_link_default") 2>&5 |
3280 | ac_status=$? | 3280 | ac_status=$? |
3281 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3281 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3282 | test $ac_status = 0; }; then : | 3282 | test $ac_status = 0; }; then : |
3283 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 3283 | # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. |
3284 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 3284 | # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' |
3285 | # in a Makefile. We should not override ac_cv_exeext if it was cached, | 3285 | # in a Makefile. We should not override ac_cv_exeext if it was cached, |
3286 | # so that the user can short-circuit this test for compilers unknown to | 3286 | # so that the user can short-circuit this test for compilers unknown to |
3287 | # Autoconf. | 3287 | # Autoconf. |
3288 | for ac_file in $ac_files '' | 3288 | for ac_file in $ac_files '' |
3289 | do | 3289 | do |
3290 | test -f "$ac_file" || continue | 3290 | test -f "$ac_file" || continue |
3291 | case $ac_file in | 3291 | case $ac_file in |
3292 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 3292 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) |
3293 | ;; | 3293 | ;; |
3294 | [ab].out ) | 3294 | [ab].out ) |
3295 | # We found the default executable, but exeext='' is most | 3295 | # We found the default executable, but exeext='' is most |
3296 | # certainly right. | 3296 | # certainly right. |
3297 | break;; | 3297 | break;; |
3298 | *.* ) | 3298 | *.* ) |
3299 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 3299 | if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; |
3300 | then :; else | 3300 | then :; else |
3301 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3301 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3302 | fi | 3302 | fi |
3303 | # We set ac_cv_exeext here because the later test for it is not | 3303 | # We set ac_cv_exeext here because the later test for it is not |
3304 | # safe: cross compilers may not add the suffix if given an `-o' | 3304 | # safe: cross compilers may not add the suffix if given an `-o' |
3305 | # argument, so we may need to know it at that point already. | 3305 | # argument, so we may need to know it at that point already. |
3306 | # Even if this section looks crufty: it has the advantage of | 3306 | # Even if this section looks crufty: it has the advantage of |
3307 | # actually working. | 3307 | # actually working. |
3308 | break;; | 3308 | break;; |
3309 | * ) | 3309 | * ) |
3310 | break;; | 3310 | break;; |
3311 | esac | 3311 | esac |
3312 | done | 3312 | done |
3313 | test "$ac_cv_exeext" = no && ac_cv_exeext= | 3313 | test "$ac_cv_exeext" = no && ac_cv_exeext= |
3314 | 3314 | ||
3315 | else | 3315 | else |
3316 | ac_file='' | 3316 | ac_file='' |
3317 | fi | 3317 | fi |
3318 | if test -z "$ac_file"; then : | 3318 | if test -z "$ac_file"; then : |
3319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3319 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3320 | $as_echo "no" >&6; } | 3320 | $as_echo "no" >&6; } |
3321 | $as_echo "$as_me: failed program was:" >&5 | 3321 | $as_echo "$as_me: failed program was:" >&5 |
3322 | sed 's/^/| /' conftest.$ac_ext >&5 | 3322 | sed 's/^/| /' conftest.$ac_ext >&5 |
3323 | 3323 | ||
3324 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3324 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3325 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3325 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3326 | as_fn_error 77 "C compiler cannot create executables | 3326 | as_fn_error 77 "C compiler cannot create executables |
3327 | See \`config.log' for more details" "$LINENO" 5; } | 3327 | See \`config.log' for more details" "$LINENO" 5; } |
3328 | else | 3328 | else |
3329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3330 | $as_echo "yes" >&6; } | 3330 | $as_echo "yes" >&6; } |
3331 | fi | 3331 | fi |
3332 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 3332 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
3333 | $as_echo_n "checking for C compiler default output file name... " >&6; } | 3333 | $as_echo_n "checking for C compiler default output file name... " >&6; } |
3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | 3334 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
3335 | $as_echo "$ac_file" >&6; } | 3335 | $as_echo "$ac_file" >&6; } |
3336 | ac_exeext=$ac_cv_exeext | 3336 | ac_exeext=$ac_cv_exeext |
3337 | 3337 | ||
3338 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 3338 | rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
3339 | ac_clean_files=$ac_clean_files_save | 3339 | ac_clean_files=$ac_clean_files_save |
3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 3340 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
3341 | $as_echo_n "checking for suffix of executables... " >&6; } | 3341 | $as_echo_n "checking for suffix of executables... " >&6; } |
3342 | if { { ac_try="$ac_link" | 3342 | if { { ac_try="$ac_link" |
3343 | case "(($ac_try" in | 3343 | case "(($ac_try" in |
3344 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3344 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3345 | *) ac_try_echo=$ac_try;; | 3345 | *) ac_try_echo=$ac_try;; |
3346 | esac | 3346 | esac |
3347 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3347 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3348 | $as_echo "$ac_try_echo"; } >&5 | 3348 | $as_echo "$ac_try_echo"; } >&5 |
3349 | (eval "$ac_link") 2>&5 | 3349 | (eval "$ac_link") 2>&5 |
3350 | ac_status=$? | 3350 | ac_status=$? |
3351 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3351 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3352 | test $ac_status = 0; }; then : | 3352 | test $ac_status = 0; }; then : |
3353 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 3353 | # If both `conftest.exe' and `conftest' are `present' (well, observable) |
3354 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | 3354 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will |
3355 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 3355 | # work properly (i.e., refer to `conftest.exe'), while it won't with |
3356 | # `rm'. | 3356 | # `rm'. |
3357 | for ac_file in conftest.exe conftest conftest.*; do | 3357 | for ac_file in conftest.exe conftest conftest.*; do |
3358 | test -f "$ac_file" || continue | 3358 | test -f "$ac_file" || continue |
3359 | case $ac_file in | 3359 | case $ac_file in |
3360 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 3360 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; |
3361 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 3361 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` |
3362 | break;; | 3362 | break;; |
3363 | * ) break;; | 3363 | * ) break;; |
3364 | esac | 3364 | esac |
3365 | done | 3365 | done |
3366 | else | 3366 | else |
3367 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3367 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3368 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3368 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3369 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 3369 | as_fn_error $? "cannot compute suffix of executables: cannot compile and link |
3370 | See \`config.log' for more details" "$LINENO" 5; } | 3370 | See \`config.log' for more details" "$LINENO" 5; } |
3371 | fi | 3371 | fi |
3372 | rm -f conftest conftest$ac_cv_exeext | 3372 | rm -f conftest conftest$ac_cv_exeext |
3373 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 3373 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
3374 | $as_echo "$ac_cv_exeext" >&6; } | 3374 | $as_echo "$ac_cv_exeext" >&6; } |
3375 | 3375 | ||
3376 | rm -f conftest.$ac_ext | 3376 | rm -f conftest.$ac_ext |
3377 | EXEEXT=$ac_cv_exeext | 3377 | EXEEXT=$ac_cv_exeext |
3378 | ac_exeext=$EXEEXT | 3378 | ac_exeext=$EXEEXT |
3379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3379 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3380 | /* end confdefs.h. */ | 3380 | /* end confdefs.h. */ |
3381 | #include <stdio.h> | 3381 | #include <stdio.h> |
3382 | int | 3382 | int |
3383 | main () | 3383 | main () |
3384 | { | 3384 | { |
3385 | FILE *f = fopen ("conftest.out", "w"); | 3385 | FILE *f = fopen ("conftest.out", "w"); |
3386 | return ferror (f) || fclose (f) != 0; | 3386 | return ferror (f) || fclose (f) != 0; |
3387 | 3387 | ||
3388 | ; | 3388 | ; |
3389 | return 0; | 3389 | return 0; |
3390 | } | 3390 | } |
3391 | _ACEOF | 3391 | _ACEOF |
3392 | ac_clean_files="$ac_clean_files conftest.out" | 3392 | ac_clean_files="$ac_clean_files conftest.out" |
3393 | # Check that the compiler produces executables we can run. If not, either | 3393 | # Check that the compiler produces executables we can run. If not, either |
3394 | # the compiler is broken, or we cross compile. | 3394 | # the compiler is broken, or we cross compile. |
3395 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | 3395 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
3396 | $as_echo_n "checking whether we are cross compiling... " >&6; } | 3396 | $as_echo_n "checking whether we are cross compiling... " >&6; } |
3397 | if test "$cross_compiling" != yes; then | 3397 | if test "$cross_compiling" != yes; then |
3398 | { { ac_try="$ac_link" | 3398 | { { ac_try="$ac_link" |
3399 | case "(($ac_try" in | 3399 | case "(($ac_try" in |
3400 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3400 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3401 | *) ac_try_echo=$ac_try;; | 3401 | *) ac_try_echo=$ac_try;; |
3402 | esac | 3402 | esac |
3403 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3403 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3404 | $as_echo "$ac_try_echo"; } >&5 | 3404 | $as_echo "$ac_try_echo"; } >&5 |
3405 | (eval "$ac_link") 2>&5 | 3405 | (eval "$ac_link") 2>&5 |
3406 | ac_status=$? | 3406 | ac_status=$? |
3407 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3407 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3408 | test $ac_status = 0; } | 3408 | test $ac_status = 0; } |
3409 | if { ac_try='./conftest$ac_cv_exeext' | 3409 | if { ac_try='./conftest$ac_cv_exeext' |
3410 | { { case "(($ac_try" in | 3410 | { { case "(($ac_try" in |
3411 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3411 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3412 | *) ac_try_echo=$ac_try;; | 3412 | *) ac_try_echo=$ac_try;; |
3413 | esac | 3413 | esac |
3414 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3414 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3415 | $as_echo "$ac_try_echo"; } >&5 | 3415 | $as_echo "$ac_try_echo"; } >&5 |
3416 | (eval "$ac_try") 2>&5 | 3416 | (eval "$ac_try") 2>&5 |
3417 | ac_status=$? | 3417 | ac_status=$? |
3418 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3418 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3419 | test $ac_status = 0; }; }; then | 3419 | test $ac_status = 0; }; }; then |
3420 | cross_compiling=no | 3420 | cross_compiling=no |
3421 | else | 3421 | else |
3422 | if test "$cross_compiling" = maybe; then | 3422 | if test "$cross_compiling" = maybe; then |
3423 | cross_compiling=yes | 3423 | cross_compiling=yes |
3424 | else | 3424 | else |
3425 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3425 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3426 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3426 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3427 | as_fn_error $? "cannot run C compiled programs. | 3427 | as_fn_error $? "cannot run C compiled programs. |
3428 | If you meant to cross compile, use \`--host'. | 3428 | If you meant to cross compile, use \`--host'. |
3429 | See \`config.log' for more details" "$LINENO" 5; } | 3429 | See \`config.log' for more details" "$LINENO" 5; } |
3430 | fi | 3430 | fi |
3431 | fi | 3431 | fi |
3432 | fi | 3432 | fi |
3433 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 3433 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
3434 | $as_echo "$cross_compiling" >&6; } | 3434 | $as_echo "$cross_compiling" >&6; } |
3435 | 3435 | ||
3436 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 3436 | rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
3437 | ac_clean_files=$ac_clean_files_save | 3437 | ac_clean_files=$ac_clean_files_save |
3438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 3438 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
3439 | $as_echo_n "checking for suffix of object files... " >&6; } | 3439 | $as_echo_n "checking for suffix of object files... " >&6; } |
3440 | if ${ac_cv_objext+:} false; then : | 3440 | if ${ac_cv_objext+:} false; then : |
3441 | $as_echo_n "(cached) " >&6 | 3441 | $as_echo_n "(cached) " >&6 |
3442 | else | 3442 | else |
3443 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3443 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3444 | /* end confdefs.h. */ | 3444 | /* end confdefs.h. */ |
3445 | 3445 | ||
3446 | int | 3446 | int |
3447 | main () | 3447 | main () |
3448 | { | 3448 | { |
3449 | 3449 | ||
3450 | ; | 3450 | ; |
3451 | return 0; | 3451 | return 0; |
3452 | } | 3452 | } |
3453 | _ACEOF | 3453 | _ACEOF |
3454 | rm -f conftest.o conftest.obj | 3454 | rm -f conftest.o conftest.obj |
3455 | if { { ac_try="$ac_compile" | 3455 | if { { ac_try="$ac_compile" |
3456 | case "(($ac_try" in | 3456 | case "(($ac_try" in |
3457 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 3457 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
3458 | *) ac_try_echo=$ac_try;; | 3458 | *) ac_try_echo=$ac_try;; |
3459 | esac | 3459 | esac |
3460 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 3460 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
3461 | $as_echo "$ac_try_echo"; } >&5 | 3461 | $as_echo "$ac_try_echo"; } >&5 |
3462 | (eval "$ac_compile") 2>&5 | 3462 | (eval "$ac_compile") 2>&5 |
3463 | ac_status=$? | 3463 | ac_status=$? |
3464 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 3464 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
3465 | test $ac_status = 0; }; then : | 3465 | test $ac_status = 0; }; then : |
3466 | for ac_file in conftest.o conftest.obj conftest.*; do | 3466 | for ac_file in conftest.o conftest.obj conftest.*; do |
3467 | test -f "$ac_file" || continue; | 3467 | test -f "$ac_file" || continue; |
3468 | case $ac_file in | 3468 | case $ac_file in |
3469 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 3469 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; |
3470 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 3470 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` |
3471 | break;; | 3471 | break;; |
3472 | esac | 3472 | esac |
3473 | done | 3473 | done |
3474 | else | 3474 | else |
3475 | $as_echo "$as_me: failed program was:" >&5 | 3475 | $as_echo "$as_me: failed program was:" >&5 |
3476 | sed 's/^/| /' conftest.$ac_ext >&5 | 3476 | sed 's/^/| /' conftest.$ac_ext >&5 |
3477 | 3477 | ||
3478 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3478 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3479 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3479 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3480 | as_fn_error $? "cannot compute suffix of object files: cannot compile | 3480 | as_fn_error $? "cannot compute suffix of object files: cannot compile |
3481 | See \`config.log' for more details" "$LINENO" 5; } | 3481 | See \`config.log' for more details" "$LINENO" 5; } |
3482 | fi | 3482 | fi |
3483 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 3483 | rm -f conftest.$ac_cv_objext conftest.$ac_ext |
3484 | fi | 3484 | fi |
3485 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 3485 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 |
3486 | $as_echo "$ac_cv_objext" >&6; } | 3486 | $as_echo "$ac_cv_objext" >&6; } |
3487 | OBJEXT=$ac_cv_objext | 3487 | OBJEXT=$ac_cv_objext |
3488 | ac_objext=$OBJEXT | 3488 | ac_objext=$OBJEXT |
3489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 3489 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
3490 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 3490 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
3491 | if ${ac_cv_c_compiler_gnu+:} false; then : | 3491 | if ${ac_cv_c_compiler_gnu+:} false; then : |
3492 | $as_echo_n "(cached) " >&6 | 3492 | $as_echo_n "(cached) " >&6 |
3493 | else | 3493 | else |
3494 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3494 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3495 | /* end confdefs.h. */ | 3495 | /* end confdefs.h. */ |
3496 | 3496 | ||
3497 | int | 3497 | int |
3498 | main () | 3498 | main () |
3499 | { | 3499 | { |
3500 | #ifndef __GNUC__ | 3500 | #ifndef __GNUC__ |
3501 | choke me | 3501 | choke me |
3502 | #endif | 3502 | #endif |
3503 | 3503 | ||
3504 | ; | 3504 | ; |
3505 | return 0; | 3505 | return 0; |
3506 | } | 3506 | } |
3507 | _ACEOF | 3507 | _ACEOF |
3508 | if ac_fn_c_try_compile "$LINENO"; then : | 3508 | if ac_fn_c_try_compile "$LINENO"; then : |
3509 | ac_compiler_gnu=yes | 3509 | ac_compiler_gnu=yes |
3510 | else | 3510 | else |
3511 | ac_compiler_gnu=no | 3511 | ac_compiler_gnu=no |
3512 | fi | 3512 | fi |
3513 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3513 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3514 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 3514 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
3515 | 3515 | ||
3516 | fi | 3516 | fi |
3517 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 3517 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
3518 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 3518 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
3519 | if test $ac_compiler_gnu = yes; then | 3519 | if test $ac_compiler_gnu = yes; then |
3520 | GCC=yes | 3520 | GCC=yes |
3521 | else | 3521 | else |
3522 | GCC= | 3522 | GCC= |
3523 | fi | 3523 | fi |
3524 | ac_test_CFLAGS=${CFLAGS+set} | 3524 | ac_test_CFLAGS=${CFLAGS+set} |
3525 | ac_save_CFLAGS=$CFLAGS | 3525 | ac_save_CFLAGS=$CFLAGS |
3526 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 3526 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
3527 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 3527 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
3528 | if ${ac_cv_prog_cc_g+:} false; then : | 3528 | if ${ac_cv_prog_cc_g+:} false; then : |
3529 | $as_echo_n "(cached) " >&6 | 3529 | $as_echo_n "(cached) " >&6 |
3530 | else | 3530 | else |
3531 | ac_save_c_werror_flag=$ac_c_werror_flag | 3531 | ac_save_c_werror_flag=$ac_c_werror_flag |
3532 | ac_c_werror_flag=yes | 3532 | ac_c_werror_flag=yes |
3533 | ac_cv_prog_cc_g=no | 3533 | ac_cv_prog_cc_g=no |
3534 | CFLAGS="-g" | 3534 | CFLAGS="-g" |
3535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3535 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3536 | /* end confdefs.h. */ | 3536 | /* end confdefs.h. */ |
3537 | 3537 | ||
3538 | int | 3538 | int |
3539 | main () | 3539 | main () |
3540 | { | 3540 | { |
3541 | 3541 | ||
3542 | ; | 3542 | ; |
3543 | return 0; | 3543 | return 0; |
3544 | } | 3544 | } |
3545 | _ACEOF | 3545 | _ACEOF |
3546 | if ac_fn_c_try_compile "$LINENO"; then : | 3546 | if ac_fn_c_try_compile "$LINENO"; then : |
3547 | ac_cv_prog_cc_g=yes | 3547 | ac_cv_prog_cc_g=yes |
3548 | else | 3548 | else |
3549 | CFLAGS="" | 3549 | CFLAGS="" |
3550 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3550 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3551 | /* end confdefs.h. */ | 3551 | /* end confdefs.h. */ |
3552 | 3552 | ||
3553 | int | 3553 | int |
3554 | main () | 3554 | main () |
3555 | { | 3555 | { |
3556 | 3556 | ||
3557 | ; | 3557 | ; |
3558 | return 0; | 3558 | return 0; |
3559 | } | 3559 | } |
3560 | _ACEOF | 3560 | _ACEOF |
3561 | if ac_fn_c_try_compile "$LINENO"; then : | 3561 | if ac_fn_c_try_compile "$LINENO"; then : |
3562 | 3562 | ||
3563 | else | 3563 | else |
3564 | ac_c_werror_flag=$ac_save_c_werror_flag | 3564 | ac_c_werror_flag=$ac_save_c_werror_flag |
3565 | CFLAGS="-g" | 3565 | CFLAGS="-g" |
3566 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3566 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3567 | /* end confdefs.h. */ | 3567 | /* end confdefs.h. */ |
3568 | 3568 | ||
3569 | int | 3569 | int |
3570 | main () | 3570 | main () |
3571 | { | 3571 | { |
3572 | 3572 | ||
3573 | ; | 3573 | ; |
3574 | return 0; | 3574 | return 0; |
3575 | } | 3575 | } |
3576 | _ACEOF | 3576 | _ACEOF |
3577 | if ac_fn_c_try_compile "$LINENO"; then : | 3577 | if ac_fn_c_try_compile "$LINENO"; then : |
3578 | ac_cv_prog_cc_g=yes | 3578 | ac_cv_prog_cc_g=yes |
3579 | fi | 3579 | fi |
3580 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3580 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3581 | fi | 3581 | fi |
3582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3582 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3583 | fi | 3583 | fi |
3584 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 3584 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
3585 | ac_c_werror_flag=$ac_save_c_werror_flag | 3585 | ac_c_werror_flag=$ac_save_c_werror_flag |
3586 | fi | 3586 | fi |
3587 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 3587 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
3588 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 3588 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
3589 | if test "$ac_test_CFLAGS" = set; then | 3589 | if test "$ac_test_CFLAGS" = set; then |
3590 | CFLAGS=$ac_save_CFLAGS | 3590 | CFLAGS=$ac_save_CFLAGS |
3591 | elif test $ac_cv_prog_cc_g = yes; then | 3591 | elif test $ac_cv_prog_cc_g = yes; then |
3592 | if test "$GCC" = yes; then | 3592 | if test "$GCC" = yes; then |
3593 | CFLAGS="-g -O2" | 3593 | CFLAGS="-g -O2" |
3594 | else | 3594 | else |
3595 | CFLAGS="-g" | 3595 | CFLAGS="-g" |
3596 | fi | 3596 | fi |
3597 | else | 3597 | else |
3598 | if test "$GCC" = yes; then | 3598 | if test "$GCC" = yes; then |
3599 | CFLAGS="-O2" | 3599 | CFLAGS="-O2" |
3600 | else | 3600 | else |
3601 | CFLAGS= | 3601 | CFLAGS= |
3602 | fi | 3602 | fi |
3603 | fi | 3603 | fi |
3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 3604 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
3605 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 3605 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
3606 | if ${ac_cv_prog_cc_c89+:} false; then : | 3606 | if ${ac_cv_prog_cc_c89+:} false; then : |
3607 | $as_echo_n "(cached) " >&6 | 3607 | $as_echo_n "(cached) " >&6 |
3608 | else | 3608 | else |
3609 | ac_cv_prog_cc_c89=no | 3609 | ac_cv_prog_cc_c89=no |
3610 | ac_save_CC=$CC | 3610 | ac_save_CC=$CC |
3611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3611 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3612 | /* end confdefs.h. */ | 3612 | /* end confdefs.h. */ |
3613 | #include <stdarg.h> | 3613 | #include <stdarg.h> |
3614 | #include <stdio.h> | 3614 | #include <stdio.h> |
3615 | #include <sys/types.h> | 3615 | #include <sys/types.h> |
3616 | #include <sys/stat.h> | 3616 | #include <sys/stat.h> |
3617 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 3617 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
3618 | struct buf { int x; }; | 3618 | struct buf { int x; }; |
3619 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 3619 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
3620 | static char *e (p, i) | 3620 | static char *e (p, i) |
3621 | char **p; | 3621 | char **p; |
3622 | int i; | 3622 | int i; |
3623 | { | 3623 | { |
3624 | return p[i]; | 3624 | return p[i]; |
3625 | } | 3625 | } |
3626 | static char *f (char * (*g) (char **, int), char **p, ...) | 3626 | static char *f (char * (*g) (char **, int), char **p, ...) |
3627 | { | 3627 | { |
3628 | char *s; | 3628 | char *s; |
3629 | va_list v; | 3629 | va_list v; |
3630 | va_start (v,p); | 3630 | va_start (v,p); |
3631 | s = g (p, va_arg (v,int)); | 3631 | s = g (p, va_arg (v,int)); |
3632 | va_end (v); | 3632 | va_end (v); |
3633 | return s; | 3633 | return s; |
3634 | } | 3634 | } |
3635 | 3635 | ||
3636 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 3636 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
3637 | function prototypes and stuff, but not '\xHH' hex character constants. | 3637 | function prototypes and stuff, but not '\xHH' hex character constants. |
3638 | These don't provoke an error unfortunately, instead are silently treated | 3638 | These don't provoke an error unfortunately, instead are silently treated |
3639 | as 'x'. The following induces an error, until -std is added to get | 3639 | as 'x'. The following induces an error, until -std is added to get |
3640 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 3640 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
3641 | array size at least. It's necessary to write '\x00'==0 to get something | 3641 | array size at least. It's necessary to write '\x00'==0 to get something |
3642 | that's true only with -std. */ | 3642 | that's true only with -std. */ |
3643 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 3643 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
3644 | 3644 | ||
3645 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 3645 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
3646 | inside strings and character constants. */ | 3646 | inside strings and character constants. */ |
3647 | #define FOO(x) 'x' | 3647 | #define FOO(x) 'x' |
3648 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 3648 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
3649 | 3649 | ||
3650 | int test (int i, double x); | 3650 | int test (int i, double x); |
3651 | struct s1 {int (*f) (int a);}; | 3651 | struct s1 {int (*f) (int a);}; |
3652 | struct s2 {int (*f) (double a);}; | 3652 | struct s2 {int (*f) (double a);}; |
3653 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 3653 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
3654 | int argc; | 3654 | int argc; |
3655 | char **argv; | 3655 | char **argv; |
3656 | int | 3656 | int |
3657 | main () | 3657 | main () |
3658 | { | 3658 | { |
3659 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 3659 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
3660 | ; | 3660 | ; |
3661 | return 0; | 3661 | return 0; |
3662 | } | 3662 | } |
3663 | _ACEOF | 3663 | _ACEOF |
3664 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 3664 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
3665 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 3665 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
3666 | do | 3666 | do |
3667 | CC="$ac_save_CC $ac_arg" | 3667 | CC="$ac_save_CC $ac_arg" |
3668 | if ac_fn_c_try_compile "$LINENO"; then : | 3668 | if ac_fn_c_try_compile "$LINENO"; then : |
3669 | ac_cv_prog_cc_c89=$ac_arg | 3669 | ac_cv_prog_cc_c89=$ac_arg |
3670 | fi | 3670 | fi |
3671 | rm -f core conftest.err conftest.$ac_objext | 3671 | rm -f core conftest.err conftest.$ac_objext |
3672 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 3672 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
3673 | done | 3673 | done |
3674 | rm -f conftest.$ac_ext | 3674 | rm -f conftest.$ac_ext |
3675 | CC=$ac_save_CC | 3675 | CC=$ac_save_CC |
3676 | 3676 | ||
3677 | fi | 3677 | fi |
3678 | # AC_CACHE_VAL | 3678 | # AC_CACHE_VAL |
3679 | case "x$ac_cv_prog_cc_c89" in | 3679 | case "x$ac_cv_prog_cc_c89" in |
3680 | x) | 3680 | x) |
3681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 3681 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
3682 | $as_echo "none needed" >&6; } ;; | 3682 | $as_echo "none needed" >&6; } ;; |
3683 | xno) | 3683 | xno) |
3684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 3684 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
3685 | $as_echo "unsupported" >&6; } ;; | 3685 | $as_echo "unsupported" >&6; } ;; |
3686 | *) | 3686 | *) |
3687 | CC="$CC $ac_cv_prog_cc_c89" | 3687 | CC="$CC $ac_cv_prog_cc_c89" |
3688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 3688 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
3689 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 3689 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
3690 | esac | 3690 | esac |
3691 | if test "x$ac_cv_prog_cc_c89" != xno; then : | 3691 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
3692 | 3692 | ||
3693 | fi | 3693 | fi |
3694 | 3694 | ||
3695 | ac_ext=c | 3695 | ac_ext=c |
3696 | ac_cpp='$CPP $CPPFLAGS' | 3696 | ac_cpp='$CPP $CPPFLAGS' |
3697 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3697 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3698 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3698 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3699 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3699 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3700 | 3700 | ||
3701 | depcc="$CC" am_compiler_list= | 3701 | depcc="$CC" am_compiler_list= |
3702 | 3702 | ||
3703 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 3703 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
3704 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 3704 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
3705 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | 3705 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
3706 | $as_echo_n "(cached) " >&6 | 3706 | $as_echo_n "(cached) " >&6 |
3707 | else | 3707 | else |
3708 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 3708 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
3709 | # We make a subdir and do the tests there. Otherwise we can end up | 3709 | # We make a subdir and do the tests there. Otherwise we can end up |
3710 | # making bogus files that we don't know about and never remove. For | 3710 | # making bogus files that we don't know about and never remove. For |
3711 | # instance it was reported that on HP-UX the gcc test will end up | 3711 | # instance it was reported that on HP-UX the gcc test will end up |
3712 | # making a dummy file named `D' -- because `-MD' means `put the output | 3712 | # making a dummy file named `D' -- because `-MD' means `put the output |
3713 | # in D'. | 3713 | # in D'. |
3714 | rm -rf conftest.dir | 3714 | rm -rf conftest.dir |
3715 | mkdir conftest.dir | 3715 | mkdir conftest.dir |
3716 | # Copy depcomp to subdir because otherwise we won't find it if we're | 3716 | # Copy depcomp to subdir because otherwise we won't find it if we're |
3717 | # using a relative directory. | 3717 | # using a relative directory. |
3718 | cp "$am_depcomp" conftest.dir | 3718 | cp "$am_depcomp" conftest.dir |
3719 | cd conftest.dir | 3719 | cd conftest.dir |
3720 | # We will build objects and dependencies in a subdirectory because | 3720 | # We will build objects and dependencies in a subdirectory because |
3721 | # it helps to detect inapplicable dependency modes. For instance | 3721 | # it helps to detect inapplicable dependency modes. For instance |
3722 | # both Tru64's cc and ICC support -MD to output dependencies as a | 3722 | # both Tru64's cc and ICC support -MD to output dependencies as a |
3723 | # side effect of compilation, but ICC will put the dependencies in | 3723 | # side effect of compilation, but ICC will put the dependencies in |
3724 | # the current directory while Tru64 will put them in the object | 3724 | # the current directory while Tru64 will put them in the object |
3725 | # directory. | 3725 | # directory. |
3726 | mkdir sub | 3726 | mkdir sub |
3727 | 3727 | ||
3728 | am_cv_CC_dependencies_compiler_type=none | 3728 | am_cv_CC_dependencies_compiler_type=none |
3729 | if test "$am_compiler_list" = ""; then | 3729 | if test "$am_compiler_list" = ""; then |
3730 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 3730 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
3731 | fi | 3731 | fi |
3732 | am__universal=false | 3732 | am__universal=false |
3733 | case " $depcc " in #( | 3733 | case " $depcc " in #( |
3734 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | 3734 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
3735 | esac | 3735 | esac |
3736 | 3736 | ||
3737 | for depmode in $am_compiler_list; do | 3737 | for depmode in $am_compiler_list; do |
3738 | # Setup a source with many dependencies, because some compilers | 3738 | # Setup a source with many dependencies, because some compilers |
3739 | # like to wrap large dependency lists on column 80 (with \), and | 3739 | # like to wrap large dependency lists on column 80 (with \), and |
3740 | # we should not choose a depcomp mode which is confused by this. | 3740 | # we should not choose a depcomp mode which is confused by this. |
3741 | # | 3741 | # |
3742 | # We need to recreate these files for each test, as the compiler may | 3742 | # We need to recreate these files for each test, as the compiler may |
3743 | # overwrite some of them when testing with obscure command lines. | 3743 | # overwrite some of them when testing with obscure command lines. |
3744 | # This happens at least with the AIX C compiler. | 3744 | # This happens at least with the AIX C compiler. |
3745 | : > sub/conftest.c | 3745 | : > sub/conftest.c |
3746 | for i in 1 2 3 4 5 6; do | 3746 | for i in 1 2 3 4 5 6; do |
3747 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | 3747 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
3748 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 3748 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
3749 | # Solaris 8's {/usr,}/bin/sh. | 3749 | # Solaris 8's {/usr,}/bin/sh. |
3750 | touch sub/conftst$i.h | 3750 | touch sub/conftst$i.h |
3751 | done | 3751 | done |
3752 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 3752 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
3753 | 3753 | ||
3754 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | 3754 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
3755 | # mode. It turns out that the SunPro C++ compiler does not properly | 3755 | # mode. It turns out that the SunPro C++ compiler does not properly |
3756 | # handle `-M -o', and we need to detect this. Also, some Intel | 3756 | # handle `-M -o', and we need to detect this. Also, some Intel |
3757 | # versions had trouble with output in subdirs | 3757 | # versions had trouble with output in subdirs |
3758 | am__obj=sub/conftest.${OBJEXT-o} | 3758 | am__obj=sub/conftest.${OBJEXT-o} |
3759 | am__minus_obj="-o $am__obj" | 3759 | am__minus_obj="-o $am__obj" |
3760 | case $depmode in | 3760 | case $depmode in |
3761 | gcc) | 3761 | gcc) |
3762 | # This depmode causes a compiler race in universal mode. | 3762 | # This depmode causes a compiler race in universal mode. |
3763 | test "$am__universal" = false || continue | 3763 | test "$am__universal" = false || continue |
3764 | ;; | 3764 | ;; |
3765 | nosideeffect) | 3765 | nosideeffect) |
3766 | # after this tag, mechanisms are not by side-effect, so they'll | 3766 | # after this tag, mechanisms are not by side-effect, so they'll |
3767 | # only be used when explicitly requested | 3767 | # only be used when explicitly requested |
3768 | if test "x$enable_dependency_tracking" = xyes; then | 3768 | if test "x$enable_dependency_tracking" = xyes; then |
3769 | continue | 3769 | continue |
3770 | else | 3770 | else |
3771 | break | 3771 | break |
3772 | fi | 3772 | fi |
3773 | ;; | 3773 | ;; |
3774 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 3774 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
3775 | # This compiler won't grok `-c -o', but also, the minuso test has | 3775 | # This compiler won't grok `-c -o', but also, the minuso test has |
3776 | # not run yet. These depmodes are late enough in the game, and | 3776 | # not run yet. These depmodes are late enough in the game, and |
3777 | # so weak that their functioning should not be impacted. | 3777 | # so weak that their functioning should not be impacted. |
3778 | am__obj=conftest.${OBJEXT-o} | 3778 | am__obj=conftest.${OBJEXT-o} |
3779 | am__minus_obj= | 3779 | am__minus_obj= |
3780 | ;; | 3780 | ;; |
3781 | none) break ;; | 3781 | none) break ;; |
3782 | esac | 3782 | esac |
3783 | if depmode=$depmode \ | 3783 | if depmode=$depmode \ |
3784 | source=sub/conftest.c object=$am__obj \ | 3784 | source=sub/conftest.c object=$am__obj \ |
3785 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 3785 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
3786 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | 3786 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
3787 | >/dev/null 2>conftest.err && | 3787 | >/dev/null 2>conftest.err && |
3788 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 3788 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
3789 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 3789 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
3790 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | 3790 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
3791 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 3791 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
3792 | # icc doesn't choke on unknown options, it will just issue warnings | 3792 | # icc doesn't choke on unknown options, it will just issue warnings |
3793 | # or remarks (even with -Werror). So we grep stderr for any message | 3793 | # or remarks (even with -Werror). So we grep stderr for any message |
3794 | # that says an option was ignored or not supported. | 3794 | # that says an option was ignored or not supported. |
3795 | # When given -MP, icc 7.0 and 7.1 complain thusly: | 3795 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
3796 | # icc: Command line warning: ignoring option '-M'; no argument required | 3796 | # icc: Command line warning: ignoring option '-M'; no argument required |
3797 | # The diagnosis changed in icc 8.0: | 3797 | # The diagnosis changed in icc 8.0: |
3798 | # icc: Command line remark: option '-MP' not supported | 3798 | # icc: Command line remark: option '-MP' not supported |
3799 | if (grep 'ignoring option' conftest.err || | 3799 | if (grep 'ignoring option' conftest.err || |
3800 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 3800 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
3801 | am_cv_CC_dependencies_compiler_type=$depmode | 3801 | am_cv_CC_dependencies_compiler_type=$depmode |
3802 | break | 3802 | break |
3803 | fi | 3803 | fi |
3804 | fi | 3804 | fi |
3805 | done | 3805 | done |
3806 | 3806 | ||
3807 | cd .. | 3807 | cd .. |
3808 | rm -rf conftest.dir | 3808 | rm -rf conftest.dir |
3809 | else | 3809 | else |
3810 | am_cv_CC_dependencies_compiler_type=none | 3810 | am_cv_CC_dependencies_compiler_type=none |
3811 | fi | 3811 | fi |
3812 | 3812 | ||
3813 | fi | 3813 | fi |
3814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | 3814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
3815 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | 3815 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
3816 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 3816 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
3817 | 3817 | ||
3818 | if | 3818 | if |
3819 | test "x$enable_dependency_tracking" != xno \ | 3819 | test "x$enable_dependency_tracking" != xno \ |
3820 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 3820 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
3821 | am__fastdepCC_TRUE= | 3821 | am__fastdepCC_TRUE= |
3822 | am__fastdepCC_FALSE='#' | 3822 | am__fastdepCC_FALSE='#' |
3823 | else | 3823 | else |
3824 | am__fastdepCC_TRUE='#' | 3824 | am__fastdepCC_TRUE='#' |
3825 | am__fastdepCC_FALSE= | 3825 | am__fastdepCC_FALSE= |
3826 | fi | 3826 | fi |
3827 | 3827 | ||
3828 | 3828 | ||
3829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 | 3829 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 |
3830 | $as_echo_n "checking for function prototypes... " >&6; } | 3830 | $as_echo_n "checking for function prototypes... " >&6; } |
3831 | if test "$ac_cv_prog_cc_c89" != no; then | 3831 | if test "$ac_cv_prog_cc_c89" != no; then |
3832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 3832 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
3833 | $as_echo "yes" >&6; } | 3833 | $as_echo "yes" >&6; } |
3834 | 3834 | ||
3835 | $as_echo "#define PROTOTYPES 1" >>confdefs.h | 3835 | $as_echo "#define PROTOTYPES 1" >>confdefs.h |
3836 | 3836 | ||
3837 | 3837 | ||
3838 | $as_echo "#define __PROTOTYPES 1" >>confdefs.h | 3838 | $as_echo "#define __PROTOTYPES 1" >>confdefs.h |
3839 | 3839 | ||
3840 | else | 3840 | else |
3841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 3841 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
3842 | $as_echo "no" >&6; } | 3842 | $as_echo "no" >&6; } |
3843 | fi | 3843 | fi |
3844 | 3844 | ||
3845 | 3845 | ||
3846 | ac_ext=c | 3846 | ac_ext=c |
3847 | ac_cpp='$CPP $CPPFLAGS' | 3847 | ac_cpp='$CPP $CPPFLAGS' |
3848 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3848 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3849 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3849 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3850 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3850 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3851 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 3851 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
3852 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 3852 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
3853 | # On Suns, sometimes $CPP names a directory. | 3853 | # On Suns, sometimes $CPP names a directory. |
3854 | if test -n "$CPP" && test -d "$CPP"; then | 3854 | if test -n "$CPP" && test -d "$CPP"; then |
3855 | CPP= | 3855 | CPP= |
3856 | fi | 3856 | fi |
3857 | if test -z "$CPP"; then | 3857 | if test -z "$CPP"; then |
3858 | if ${ac_cv_prog_CPP+:} false; then : | 3858 | if ${ac_cv_prog_CPP+:} false; then : |
3859 | $as_echo_n "(cached) " >&6 | 3859 | $as_echo_n "(cached) " >&6 |
3860 | else | 3860 | else |
3861 | # Double quotes because CPP needs to be expanded | 3861 | # Double quotes because CPP needs to be expanded |
3862 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 3862 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
3863 | do | 3863 | do |
3864 | ac_preproc_ok=false | 3864 | ac_preproc_ok=false |
3865 | for ac_c_preproc_warn_flag in '' yes | 3865 | for ac_c_preproc_warn_flag in '' yes |
3866 | do | 3866 | do |
3867 | # Use a header file that comes with gcc, so configuring glibc | 3867 | # Use a header file that comes with gcc, so configuring glibc |
3868 | # with a fresh cross-compiler works. | 3868 | # with a fresh cross-compiler works. |
3869 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3869 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3870 | # <limits.h> exists even on freestanding compilers. | 3870 | # <limits.h> exists even on freestanding compilers. |
3871 | # On the NeXT, cc -E runs the code through the compiler's parser, | 3871 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3872 | # not just through cpp. "Syntax error" is here to catch this case. | 3872 | # not just through cpp. "Syntax error" is here to catch this case. |
3873 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3873 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3874 | /* end confdefs.h. */ | 3874 | /* end confdefs.h. */ |
3875 | #ifdef __STDC__ | 3875 | #ifdef __STDC__ |
3876 | # include <limits.h> | 3876 | # include <limits.h> |
3877 | #else | 3877 | #else |
3878 | # include <assert.h> | 3878 | # include <assert.h> |
3879 | #endif | 3879 | #endif |
3880 | Syntax error | 3880 | Syntax error |
3881 | _ACEOF | 3881 | _ACEOF |
3882 | if ac_fn_c_try_cpp "$LINENO"; then : | 3882 | if ac_fn_c_try_cpp "$LINENO"; then : |
3883 | 3883 | ||
3884 | else | 3884 | else |
3885 | # Broken: fails on valid input. | 3885 | # Broken: fails on valid input. |
3886 | continue | 3886 | continue |
3887 | fi | 3887 | fi |
3888 | rm -f conftest.err conftest.i conftest.$ac_ext | 3888 | rm -f conftest.err conftest.i conftest.$ac_ext |
3889 | 3889 | ||
3890 | # OK, works on sane cases. Now check whether nonexistent headers | 3890 | # OK, works on sane cases. Now check whether nonexistent headers |
3891 | # can be detected and how. | 3891 | # can be detected and how. |
3892 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3892 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3893 | /* end confdefs.h. */ | 3893 | /* end confdefs.h. */ |
3894 | #include <ac_nonexistent.h> | 3894 | #include <ac_nonexistent.h> |
3895 | _ACEOF | 3895 | _ACEOF |
3896 | if ac_fn_c_try_cpp "$LINENO"; then : | 3896 | if ac_fn_c_try_cpp "$LINENO"; then : |
3897 | # Broken: success on invalid input. | 3897 | # Broken: success on invalid input. |
3898 | continue | 3898 | continue |
3899 | else | 3899 | else |
3900 | # Passes both tests. | 3900 | # Passes both tests. |
3901 | ac_preproc_ok=: | 3901 | ac_preproc_ok=: |
3902 | break | 3902 | break |
3903 | fi | 3903 | fi |
3904 | rm -f conftest.err conftest.i conftest.$ac_ext | 3904 | rm -f conftest.err conftest.i conftest.$ac_ext |
3905 | 3905 | ||
3906 | done | 3906 | done |
3907 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3907 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3908 | rm -f conftest.i conftest.err conftest.$ac_ext | 3908 | rm -f conftest.i conftest.err conftest.$ac_ext |
3909 | if $ac_preproc_ok; then : | 3909 | if $ac_preproc_ok; then : |
3910 | break | 3910 | break |
3911 | fi | 3911 | fi |
3912 | 3912 | ||
3913 | done | 3913 | done |
3914 | ac_cv_prog_CPP=$CPP | 3914 | ac_cv_prog_CPP=$CPP |
3915 | 3915 | ||
3916 | fi | 3916 | fi |
3917 | CPP=$ac_cv_prog_CPP | 3917 | CPP=$ac_cv_prog_CPP |
3918 | else | 3918 | else |
3919 | ac_cv_prog_CPP=$CPP | 3919 | ac_cv_prog_CPP=$CPP |
3920 | fi | 3920 | fi |
3921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 3921 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
3922 | $as_echo "$CPP" >&6; } | 3922 | $as_echo "$CPP" >&6; } |
3923 | ac_preproc_ok=false | 3923 | ac_preproc_ok=false |
3924 | for ac_c_preproc_warn_flag in '' yes | 3924 | for ac_c_preproc_warn_flag in '' yes |
3925 | do | 3925 | do |
3926 | # Use a header file that comes with gcc, so configuring glibc | 3926 | # Use a header file that comes with gcc, so configuring glibc |
3927 | # with a fresh cross-compiler works. | 3927 | # with a fresh cross-compiler works. |
3928 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 3928 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
3929 | # <limits.h> exists even on freestanding compilers. | 3929 | # <limits.h> exists even on freestanding compilers. |
3930 | # On the NeXT, cc -E runs the code through the compiler's parser, | 3930 | # On the NeXT, cc -E runs the code through the compiler's parser, |
3931 | # not just through cpp. "Syntax error" is here to catch this case. | 3931 | # not just through cpp. "Syntax error" is here to catch this case. |
3932 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3932 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3933 | /* end confdefs.h. */ | 3933 | /* end confdefs.h. */ |
3934 | #ifdef __STDC__ | 3934 | #ifdef __STDC__ |
3935 | # include <limits.h> | 3935 | # include <limits.h> |
3936 | #else | 3936 | #else |
3937 | # include <assert.h> | 3937 | # include <assert.h> |
3938 | #endif | 3938 | #endif |
3939 | Syntax error | 3939 | Syntax error |
3940 | _ACEOF | 3940 | _ACEOF |
3941 | if ac_fn_c_try_cpp "$LINENO"; then : | 3941 | if ac_fn_c_try_cpp "$LINENO"; then : |
3942 | 3942 | ||
3943 | else | 3943 | else |
3944 | # Broken: fails on valid input. | 3944 | # Broken: fails on valid input. |
3945 | continue | 3945 | continue |
3946 | fi | 3946 | fi |
3947 | rm -f conftest.err conftest.i conftest.$ac_ext | 3947 | rm -f conftest.err conftest.i conftest.$ac_ext |
3948 | 3948 | ||
3949 | # OK, works on sane cases. Now check whether nonexistent headers | 3949 | # OK, works on sane cases. Now check whether nonexistent headers |
3950 | # can be detected and how. | 3950 | # can be detected and how. |
3951 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 3951 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
3952 | /* end confdefs.h. */ | 3952 | /* end confdefs.h. */ |
3953 | #include <ac_nonexistent.h> | 3953 | #include <ac_nonexistent.h> |
3954 | _ACEOF | 3954 | _ACEOF |
3955 | if ac_fn_c_try_cpp "$LINENO"; then : | 3955 | if ac_fn_c_try_cpp "$LINENO"; then : |
3956 | # Broken: success on invalid input. | 3956 | # Broken: success on invalid input. |
3957 | continue | 3957 | continue |
3958 | else | 3958 | else |
3959 | # Passes both tests. | 3959 | # Passes both tests. |
3960 | ac_preproc_ok=: | 3960 | ac_preproc_ok=: |
3961 | break | 3961 | break |
3962 | fi | 3962 | fi |
3963 | rm -f conftest.err conftest.i conftest.$ac_ext | 3963 | rm -f conftest.err conftest.i conftest.$ac_ext |
3964 | 3964 | ||
3965 | done | 3965 | done |
3966 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 3966 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
3967 | rm -f conftest.i conftest.err conftest.$ac_ext | 3967 | rm -f conftest.i conftest.err conftest.$ac_ext |
3968 | if $ac_preproc_ok; then : | 3968 | if $ac_preproc_ok; then : |
3969 | 3969 | ||
3970 | else | 3970 | else |
3971 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 3971 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3972 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 3972 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
3973 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 3973 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
3974 | See \`config.log' for more details" "$LINENO" 5; } | 3974 | See \`config.log' for more details" "$LINENO" 5; } |
3975 | fi | 3975 | fi |
3976 | 3976 | ||
3977 | ac_ext=c | 3977 | ac_ext=c |
3978 | ac_cpp='$CPP $CPPFLAGS' | 3978 | ac_cpp='$CPP $CPPFLAGS' |
3979 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 3979 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
3980 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 3980 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
3981 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 3981 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
3982 | 3982 | ||
3983 | 3983 | ||
3984 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 3984 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 |
3985 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 3985 | $as_echo_n "checking for grep that handles long lines and -e... " >&6; } |
3986 | if ${ac_cv_path_GREP+:} false; then : | 3986 | if ${ac_cv_path_GREP+:} false; then : |
3987 | $as_echo_n "(cached) " >&6 | 3987 | $as_echo_n "(cached) " >&6 |
3988 | else | 3988 | else |
3989 | if test -z "$GREP"; then | 3989 | if test -z "$GREP"; then |
3990 | ac_path_GREP_found=false | 3990 | ac_path_GREP_found=false |
3991 | # Loop through the user's path and test for each of PROGNAME-LIST | 3991 | # Loop through the user's path and test for each of PROGNAME-LIST |
3992 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 3992 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
3993 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 3993 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
3994 | do | 3994 | do |
3995 | IFS=$as_save_IFS | 3995 | IFS=$as_save_IFS |
3996 | test -z "$as_dir" && as_dir=. | 3996 | test -z "$as_dir" && as_dir=. |
3997 | for ac_prog in grep ggrep; do | 3997 | for ac_prog in grep ggrep; do |
3998 | for ac_exec_ext in '' $ac_executable_extensions; do | 3998 | for ac_exec_ext in '' $ac_executable_extensions; do |
3999 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 3999 | ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" |
4000 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 4000 | { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue |
4001 | # Check for GNU ac_path_GREP and select it if it is found. | 4001 | # Check for GNU ac_path_GREP and select it if it is found. |
4002 | # Check for GNU $ac_path_GREP | 4002 | # Check for GNU $ac_path_GREP |
4003 | case `"$ac_path_GREP" --version 2>&1` in | 4003 | case `"$ac_path_GREP" --version 2>&1` in |
4004 | *GNU*) | 4004 | *GNU*) |
4005 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 4005 | ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; |
4006 | *) | 4006 | *) |
4007 | ac_count=0 | 4007 | ac_count=0 |
4008 | $as_echo_n 0123456789 >"conftest.in" | 4008 | $as_echo_n 0123456789 >"conftest.in" |
4009 | while : | 4009 | while : |
4010 | do | 4010 | do |
4011 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 4011 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
4012 | mv "conftest.tmp" "conftest.in" | 4012 | mv "conftest.tmp" "conftest.in" |
4013 | cp "conftest.in" "conftest.nl" | 4013 | cp "conftest.in" "conftest.nl" |
4014 | $as_echo 'GREP' >> "conftest.nl" | 4014 | $as_echo 'GREP' >> "conftest.nl" |
4015 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4015 | "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4016 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4016 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4017 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4017 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
4018 | if test $ac_count -gt ${ac_path_GREP_max-0}; then | 4018 | if test $ac_count -gt ${ac_path_GREP_max-0}; then |
4019 | # Best one so far, save it but keep looking for a better one | 4019 | # Best one so far, save it but keep looking for a better one |
4020 | ac_cv_path_GREP="$ac_path_GREP" | 4020 | ac_cv_path_GREP="$ac_path_GREP" |
4021 | ac_path_GREP_max=$ac_count | 4021 | ac_path_GREP_max=$ac_count |
4022 | fi | 4022 | fi |
4023 | # 10*(2^10) chars as input seems more than enough | 4023 | # 10*(2^10) chars as input seems more than enough |
4024 | test $ac_count -gt 10 && break | 4024 | test $ac_count -gt 10 && break |
4025 | done | 4025 | done |
4026 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 4026 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4027 | esac | 4027 | esac |
4028 | 4028 | ||
4029 | $ac_path_GREP_found && break 3 | 4029 | $ac_path_GREP_found && break 3 |
4030 | done | 4030 | done |
4031 | done | 4031 | done |
4032 | done | 4032 | done |
4033 | IFS=$as_save_IFS | 4033 | IFS=$as_save_IFS |
4034 | if test -z "$ac_cv_path_GREP"; then | 4034 | if test -z "$ac_cv_path_GREP"; then |
4035 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4035 | as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4036 | fi | 4036 | fi |
4037 | else | 4037 | else |
4038 | ac_cv_path_GREP=$GREP | 4038 | ac_cv_path_GREP=$GREP |
4039 | fi | 4039 | fi |
4040 | 4040 | ||
4041 | fi | 4041 | fi |
4042 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 4042 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 |
4043 | $as_echo "$ac_cv_path_GREP" >&6; } | 4043 | $as_echo "$ac_cv_path_GREP" >&6; } |
4044 | GREP="$ac_cv_path_GREP" | 4044 | GREP="$ac_cv_path_GREP" |
4045 | 4045 | ||
4046 | 4046 | ||
4047 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 4047 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 |
4048 | $as_echo_n "checking for egrep... " >&6; } | 4048 | $as_echo_n "checking for egrep... " >&6; } |
4049 | if ${ac_cv_path_EGREP+:} false; then : | 4049 | if ${ac_cv_path_EGREP+:} false; then : |
4050 | $as_echo_n "(cached) " >&6 | 4050 | $as_echo_n "(cached) " >&6 |
4051 | else | 4051 | else |
4052 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 4052 | if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 |
4053 | then ac_cv_path_EGREP="$GREP -E" | 4053 | then ac_cv_path_EGREP="$GREP -E" |
4054 | else | 4054 | else |
4055 | if test -z "$EGREP"; then | 4055 | if test -z "$EGREP"; then |
4056 | ac_path_EGREP_found=false | 4056 | ac_path_EGREP_found=false |
4057 | # Loop through the user's path and test for each of PROGNAME-LIST | 4057 | # Loop through the user's path and test for each of PROGNAME-LIST |
4058 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4058 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4059 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 4059 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
4060 | do | 4060 | do |
4061 | IFS=$as_save_IFS | 4061 | IFS=$as_save_IFS |
4062 | test -z "$as_dir" && as_dir=. | 4062 | test -z "$as_dir" && as_dir=. |
4063 | for ac_prog in egrep; do | 4063 | for ac_prog in egrep; do |
4064 | for ac_exec_ext in '' $ac_executable_extensions; do | 4064 | for ac_exec_ext in '' $ac_executable_extensions; do |
4065 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 4065 | ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" |
4066 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 4066 | { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue |
4067 | # Check for GNU ac_path_EGREP and select it if it is found. | 4067 | # Check for GNU ac_path_EGREP and select it if it is found. |
4068 | # Check for GNU $ac_path_EGREP | 4068 | # Check for GNU $ac_path_EGREP |
4069 | case `"$ac_path_EGREP" --version 2>&1` in | 4069 | case `"$ac_path_EGREP" --version 2>&1` in |
4070 | *GNU*) | 4070 | *GNU*) |
4071 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 4071 | ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; |
4072 | *) | 4072 | *) |
4073 | ac_count=0 | 4073 | ac_count=0 |
4074 | $as_echo_n 0123456789 >"conftest.in" | 4074 | $as_echo_n 0123456789 >"conftest.in" |
4075 | while : | 4075 | while : |
4076 | do | 4076 | do |
4077 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 4077 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
4078 | mv "conftest.tmp" "conftest.in" | 4078 | mv "conftest.tmp" "conftest.in" |
4079 | cp "conftest.in" "conftest.nl" | 4079 | cp "conftest.in" "conftest.nl" |
4080 | $as_echo 'EGREP' >> "conftest.nl" | 4080 | $as_echo 'EGREP' >> "conftest.nl" |
4081 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 4081 | "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break |
4082 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 4082 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
4083 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 4083 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
4084 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 4084 | if test $ac_count -gt ${ac_path_EGREP_max-0}; then |
4085 | # Best one so far, save it but keep looking for a better one | 4085 | # Best one so far, save it but keep looking for a better one |
4086 | ac_cv_path_EGREP="$ac_path_EGREP" | 4086 | ac_cv_path_EGREP="$ac_path_EGREP" |
4087 | ac_path_EGREP_max=$ac_count | 4087 | ac_path_EGREP_max=$ac_count |
4088 | fi | 4088 | fi |
4089 | # 10*(2^10) chars as input seems more than enough | 4089 | # 10*(2^10) chars as input seems more than enough |
4090 | test $ac_count -gt 10 && break | 4090 | test $ac_count -gt 10 && break |
4091 | done | 4091 | done |
4092 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 4092 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
4093 | esac | 4093 | esac |
4094 | 4094 | ||
4095 | $ac_path_EGREP_found && break 3 | 4095 | $ac_path_EGREP_found && break 3 |
4096 | done | 4096 | done |
4097 | done | 4097 | done |
4098 | done | 4098 | done |
4099 | IFS=$as_save_IFS | 4099 | IFS=$as_save_IFS |
4100 | if test -z "$ac_cv_path_EGREP"; then | 4100 | if test -z "$ac_cv_path_EGREP"; then |
4101 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 4101 | as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
4102 | fi | 4102 | fi |
4103 | else | 4103 | else |
4104 | ac_cv_path_EGREP=$EGREP | 4104 | ac_cv_path_EGREP=$EGREP |
4105 | fi | 4105 | fi |
4106 | 4106 | ||
4107 | fi | 4107 | fi |
4108 | fi | 4108 | fi |
4109 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 4109 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 |
4110 | $as_echo "$ac_cv_path_EGREP" >&6; } | 4110 | $as_echo "$ac_cv_path_EGREP" >&6; } |
4111 | EGREP="$ac_cv_path_EGREP" | 4111 | EGREP="$ac_cv_path_EGREP" |
4112 | 4112 | ||
4113 | 4113 | ||
4114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 4114 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 |
4115 | $as_echo_n "checking for ANSI C header files... " >&6; } | 4115 | $as_echo_n "checking for ANSI C header files... " >&6; } |
4116 | if ${ac_cv_header_stdc+:} false; then : | 4116 | if ${ac_cv_header_stdc+:} false; then : |
4117 | $as_echo_n "(cached) " >&6 | 4117 | $as_echo_n "(cached) " >&6 |
4118 | else | 4118 | else |
4119 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4119 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4120 | /* end confdefs.h. */ | 4120 | /* end confdefs.h. */ |
4121 | #include <stdlib.h> | 4121 | #include <stdlib.h> |
4122 | #include <stdarg.h> | 4122 | #include <stdarg.h> |
4123 | #include <string.h> | 4123 | #include <string.h> |
4124 | #include <float.h> | 4124 | #include <float.h> |
4125 | 4125 | ||
4126 | int | 4126 | int |
4127 | main () | 4127 | main () |
4128 | { | 4128 | { |
4129 | 4129 | ||
4130 | ; | 4130 | ; |
4131 | return 0; | 4131 | return 0; |
4132 | } | 4132 | } |
4133 | _ACEOF | 4133 | _ACEOF |
4134 | if ac_fn_c_try_compile "$LINENO"; then : | 4134 | if ac_fn_c_try_compile "$LINENO"; then : |
4135 | ac_cv_header_stdc=yes | 4135 | ac_cv_header_stdc=yes |
4136 | else | 4136 | else |
4137 | ac_cv_header_stdc=no | 4137 | ac_cv_header_stdc=no |
4138 | fi | 4138 | fi |
4139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4140 | 4140 | ||
4141 | if test $ac_cv_header_stdc = yes; then | 4141 | if test $ac_cv_header_stdc = yes; then |
4142 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 4142 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
4143 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4143 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4144 | /* end confdefs.h. */ | 4144 | /* end confdefs.h. */ |
4145 | #include <string.h> | 4145 | #include <string.h> |
4146 | 4146 | ||
4147 | _ACEOF | 4147 | _ACEOF |
4148 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4148 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4149 | $EGREP "memchr" >/dev/null 2>&1; then : | 4149 | $EGREP "memchr" >/dev/null 2>&1; then : |
4150 | 4150 | ||
4151 | else | 4151 | else |
4152 | ac_cv_header_stdc=no | 4152 | ac_cv_header_stdc=no |
4153 | fi | 4153 | fi |
4154 | rm -f conftest* | 4154 | rm -f conftest* |
4155 | 4155 | ||
4156 | fi | 4156 | fi |
4157 | 4157 | ||
4158 | if test $ac_cv_header_stdc = yes; then | 4158 | if test $ac_cv_header_stdc = yes; then |
4159 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 4159 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
4160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4160 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4161 | /* end confdefs.h. */ | 4161 | /* end confdefs.h. */ |
4162 | #include <stdlib.h> | 4162 | #include <stdlib.h> |
4163 | 4163 | ||
4164 | _ACEOF | 4164 | _ACEOF |
4165 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 4165 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
4166 | $EGREP "free" >/dev/null 2>&1; then : | 4166 | $EGREP "free" >/dev/null 2>&1; then : |
4167 | 4167 | ||
4168 | else | 4168 | else |
4169 | ac_cv_header_stdc=no | 4169 | ac_cv_header_stdc=no |
4170 | fi | 4170 | fi |
4171 | rm -f conftest* | 4171 | rm -f conftest* |
4172 | 4172 | ||
4173 | fi | 4173 | fi |
4174 | 4174 | ||
4175 | if test $ac_cv_header_stdc = yes; then | 4175 | if test $ac_cv_header_stdc = yes; then |
4176 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 4176 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
4177 | if test "$cross_compiling" = yes; then : | 4177 | if test "$cross_compiling" = yes; then : |
4178 | : | 4178 | : |
4179 | else | 4179 | else |
4180 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4180 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4181 | /* end confdefs.h. */ | 4181 | /* end confdefs.h. */ |
4182 | #include <ctype.h> | 4182 | #include <ctype.h> |
4183 | #include <stdlib.h> | 4183 | #include <stdlib.h> |
4184 | #if ((' ' & 0x0FF) == 0x020) | 4184 | #if ((' ' & 0x0FF) == 0x020) |
4185 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 4185 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
4186 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 4186 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
4187 | #else | 4187 | #else |
4188 | # define ISLOWER(c) \ | 4188 | # define ISLOWER(c) \ |
4189 | (('a' <= (c) && (c) <= 'i') \ | 4189 | (('a' <= (c) && (c) <= 'i') \ |
4190 | || ('j' <= (c) && (c) <= 'r') \ | 4190 | || ('j' <= (c) && (c) <= 'r') \ |
4191 | || ('s' <= (c) && (c) <= 'z')) | 4191 | || ('s' <= (c) && (c) <= 'z')) |
4192 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 4192 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
4193 | #endif | 4193 | #endif |
4194 | 4194 | ||
4195 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 4195 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
4196 | int | 4196 | int |
4197 | main () | 4197 | main () |
4198 | { | 4198 | { |
4199 | int i; | 4199 | int i; |
4200 | for (i = 0; i < 256; i++) | 4200 | for (i = 0; i < 256; i++) |
4201 | if (XOR (islower (i), ISLOWER (i)) | 4201 | if (XOR (islower (i), ISLOWER (i)) |
4202 | || toupper (i) != TOUPPER (i)) | 4202 | || toupper (i) != TOUPPER (i)) |
4203 | return 2; | 4203 | return 2; |
4204 | return 0; | 4204 | return 0; |
4205 | } | 4205 | } |
4206 | _ACEOF | 4206 | _ACEOF |
4207 | if ac_fn_c_try_run "$LINENO"; then : | 4207 | if ac_fn_c_try_run "$LINENO"; then : |
4208 | 4208 | ||
4209 | else | 4209 | else |
4210 | ac_cv_header_stdc=no | 4210 | ac_cv_header_stdc=no |
4211 | fi | 4211 | fi |
4212 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 4212 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
4213 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 4213 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
4214 | fi | 4214 | fi |
4215 | 4215 | ||
4216 | fi | 4216 | fi |
4217 | fi | 4217 | fi |
4218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 4218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 |
4219 | $as_echo "$ac_cv_header_stdc" >&6; } | 4219 | $as_echo "$ac_cv_header_stdc" >&6; } |
4220 | if test $ac_cv_header_stdc = yes; then | 4220 | if test $ac_cv_header_stdc = yes; then |
4221 | 4221 | ||
4222 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 4222 | $as_echo "#define STDC_HEADERS 1" >>confdefs.h |
4223 | 4223 | ||
4224 | fi | 4224 | fi |
4225 | 4225 | ||
4226 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 4226 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
4227 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 4227 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
4228 | inttypes.h stdint.h unistd.h | 4228 | inttypes.h stdint.h unistd.h |
4229 | do : | 4229 | do : |
4230 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 4230 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
4231 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 4231 | ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default |
4232 | " | 4232 | " |
4233 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 4233 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
4234 | cat >>confdefs.h <<_ACEOF | 4234 | cat >>confdefs.h <<_ACEOF |
4235 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 4235 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
4236 | _ACEOF | 4236 | _ACEOF |
4237 | 4237 | ||
4238 | fi | 4238 | fi |
4239 | 4239 | ||
4240 | done | 4240 | done |
4241 | 4241 | ||
4242 | 4242 | ||
4243 | 4243 | ||
4244 | 4244 | ||
4245 | if test "$ac_cv_prog_cc_stdc" != no; then | 4245 | if test "$ac_cv_prog_cc_stdc" != no; then |
4246 | U= ANSI2KNR= | 4246 | U= ANSI2KNR= |
4247 | else | 4247 | else |
4248 | U=_ ANSI2KNR=./ansi2knr | 4248 | U=_ ANSI2KNR=./ansi2knr |
4249 | fi | 4249 | fi |
4250 | # Ensure some checks needed by ansi2knr itself. | 4250 | # Ensure some checks needed by ansi2knr itself. |
4251 | 4251 | ||
4252 | for ac_header in string.h | 4252 | for ac_header in string.h |
4253 | do : | 4253 | do : |
4254 | ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" | 4254 | ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" |
4255 | if test "x$ac_cv_header_string_h" = xyes; then : | 4255 | if test "x$ac_cv_header_string_h" = xyes; then : |
4256 | cat >>confdefs.h <<_ACEOF | 4256 | cat >>confdefs.h <<_ACEOF |
4257 | #define HAVE_STRING_H 1 | 4257 | #define HAVE_STRING_H 1 |
4258 | _ACEOF | 4258 | _ACEOF |
4259 | 4259 | ||
4260 | fi | 4260 | fi |
4261 | 4261 | ||
4262 | done | 4262 | done |
4263 | 4263 | ||
4264 | 4264 | ||
4265 | 4265 | ||
4266 | # Add configure option --enable-maintainer-mode which enables | 4266 | # Add configure option --enable-maintainer-mode which enables |
4267 | # dependency checking and generation useful to package maintainers. | 4267 | # dependency checking and generation useful to package maintainers. |
4268 | # This is made an option to avoid confusing end users. | 4268 | # This is made an option to avoid confusing end users. |
4269 | 4269 | ||
4270 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 4270 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
4271 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } | 4271 | $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } |
4272 | # Check whether --enable-maintainer-mode was given. | 4272 | # Check whether --enable-maintainer-mode was given. |
4273 | if test "${enable_maintainer_mode+set}" = set; then : | 4273 | if test "${enable_maintainer_mode+set}" = set; then : |
4274 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval | 4274 | enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval |
4275 | else | 4275 | else |
4276 | USE_MAINTAINER_MODE=no | 4276 | USE_MAINTAINER_MODE=no |
4277 | fi | 4277 | fi |
4278 | 4278 | ||
4279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 | 4279 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 |
4280 | $as_echo "$USE_MAINTAINER_MODE" >&6; } | 4280 | $as_echo "$USE_MAINTAINER_MODE" >&6; } |
4281 | if test $USE_MAINTAINER_MODE = yes; then | 4281 | if test $USE_MAINTAINER_MODE = yes; then |
4282 | MAINTAINER_MODE_TRUE= | 4282 | MAINTAINER_MODE_TRUE= |
4283 | MAINTAINER_MODE_FALSE='#' | 4283 | MAINTAINER_MODE_FALSE='#' |
4284 | else | 4284 | else |
4285 | MAINTAINER_MODE_TRUE='#' | 4285 | MAINTAINER_MODE_TRUE='#' |
4286 | MAINTAINER_MODE_FALSE= | 4286 | MAINTAINER_MODE_FALSE= |
4287 | fi | 4287 | fi |
4288 | 4288 | ||
4289 | MAINT=$MAINTAINER_MODE_TRUE | 4289 | MAINT=$MAINTAINER_MODE_TRUE |
4290 | 4290 | ||
4291 | 4291 | ||
4292 | 4292 | ||
4293 | # Check for programs | 4293 | # Check for programs |
4294 | ac_ext=c | 4294 | ac_ext=c |
4295 | ac_cpp='$CPP $CPPFLAGS' | 4295 | ac_cpp='$CPP $CPPFLAGS' |
4296 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4296 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4297 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4297 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4298 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4298 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4299 | if test -n "$ac_tool_prefix"; then | 4299 | if test -n "$ac_tool_prefix"; then |
4300 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 4300 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. |
4301 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 4301 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 |
4302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4303 | $as_echo_n "checking for $ac_word... " >&6; } | 4303 | $as_echo_n "checking for $ac_word... " >&6; } |
4304 | if ${ac_cv_prog_CC+:} false; then : | 4304 | if ${ac_cv_prog_CC+:} false; then : |
4305 | $as_echo_n "(cached) " >&6 | 4305 | $as_echo_n "(cached) " >&6 |
4306 | else | 4306 | else |
4307 | if test -n "$CC"; then | 4307 | if test -n "$CC"; then |
4308 | ac_cv_prog_CC="$CC" # Let the user override the test. | 4308 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4309 | else | 4309 | else |
4310 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4310 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4311 | for as_dir in $PATH | 4311 | for as_dir in $PATH |
4312 | do | 4312 | do |
4313 | IFS=$as_save_IFS | 4313 | IFS=$as_save_IFS |
4314 | test -z "$as_dir" && as_dir=. | 4314 | test -z "$as_dir" && as_dir=. |
4315 | for ac_exec_ext in '' $ac_executable_extensions; do | 4315 | for ac_exec_ext in '' $ac_executable_extensions; do |
4316 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4316 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4317 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | 4317 | ac_cv_prog_CC="${ac_tool_prefix}gcc" |
4318 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4318 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4319 | break 2 | 4319 | break 2 |
4320 | fi | 4320 | fi |
4321 | done | 4321 | done |
4322 | done | 4322 | done |
4323 | IFS=$as_save_IFS | 4323 | IFS=$as_save_IFS |
4324 | 4324 | ||
4325 | fi | 4325 | fi |
4326 | fi | 4326 | fi |
4327 | CC=$ac_cv_prog_CC | 4327 | CC=$ac_cv_prog_CC |
4328 | if test -n "$CC"; then | 4328 | if test -n "$CC"; then |
4329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 4329 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4330 | $as_echo "$CC" >&6; } | 4330 | $as_echo "$CC" >&6; } |
4331 | else | 4331 | else |
4332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4333 | $as_echo "no" >&6; } | 4333 | $as_echo "no" >&6; } |
4334 | fi | 4334 | fi |
4335 | 4335 | ||
4336 | 4336 | ||
4337 | fi | 4337 | fi |
4338 | if test -z "$ac_cv_prog_CC"; then | 4338 | if test -z "$ac_cv_prog_CC"; then |
4339 | ac_ct_CC=$CC | 4339 | ac_ct_CC=$CC |
4340 | # Extract the first word of "gcc", so it can be a program name with args. | 4340 | # Extract the first word of "gcc", so it can be a program name with args. |
4341 | set dummy gcc; ac_word=$2 | 4341 | set dummy gcc; ac_word=$2 |
4342 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4342 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4343 | $as_echo_n "checking for $ac_word... " >&6; } | 4343 | $as_echo_n "checking for $ac_word... " >&6; } |
4344 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 4344 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
4345 | $as_echo_n "(cached) " >&6 | 4345 | $as_echo_n "(cached) " >&6 |
4346 | else | 4346 | else |
4347 | if test -n "$ac_ct_CC"; then | 4347 | if test -n "$ac_ct_CC"; then |
4348 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 4348 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4349 | else | 4349 | else |
4350 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4350 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4351 | for as_dir in $PATH | 4351 | for as_dir in $PATH |
4352 | do | 4352 | do |
4353 | IFS=$as_save_IFS | 4353 | IFS=$as_save_IFS |
4354 | test -z "$as_dir" && as_dir=. | 4354 | test -z "$as_dir" && as_dir=. |
4355 | for ac_exec_ext in '' $ac_executable_extensions; do | 4355 | for ac_exec_ext in '' $ac_executable_extensions; do |
4356 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4356 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4357 | ac_cv_prog_ac_ct_CC="gcc" | 4357 | ac_cv_prog_ac_ct_CC="gcc" |
4358 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4358 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4359 | break 2 | 4359 | break 2 |
4360 | fi | 4360 | fi |
4361 | done | 4361 | done |
4362 | done | 4362 | done |
4363 | IFS=$as_save_IFS | 4363 | IFS=$as_save_IFS |
4364 | 4364 | ||
4365 | fi | 4365 | fi |
4366 | fi | 4366 | fi |
4367 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 4367 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4368 | if test -n "$ac_ct_CC"; then | 4368 | if test -n "$ac_ct_CC"; then |
4369 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 4369 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4370 | $as_echo "$ac_ct_CC" >&6; } | 4370 | $as_echo "$ac_ct_CC" >&6; } |
4371 | else | 4371 | else |
4372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4372 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4373 | $as_echo "no" >&6; } | 4373 | $as_echo "no" >&6; } |
4374 | fi | 4374 | fi |
4375 | 4375 | ||
4376 | if test "x$ac_ct_CC" = x; then | 4376 | if test "x$ac_ct_CC" = x; then |
4377 | CC="" | 4377 | CC="" |
4378 | else | 4378 | else |
4379 | case $cross_compiling:$ac_tool_warned in | 4379 | case $cross_compiling:$ac_tool_warned in |
4380 | yes:) | 4380 | yes:) |
4381 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 4381 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4382 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 4382 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4383 | ac_tool_warned=yes ;; | 4383 | ac_tool_warned=yes ;; |
4384 | esac | 4384 | esac |
4385 | CC=$ac_ct_CC | 4385 | CC=$ac_ct_CC |
4386 | fi | 4386 | fi |
4387 | else | 4387 | else |
4388 | CC="$ac_cv_prog_CC" | 4388 | CC="$ac_cv_prog_CC" |
4389 | fi | 4389 | fi |
4390 | 4390 | ||
4391 | if test -z "$CC"; then | 4391 | if test -z "$CC"; then |
4392 | if test -n "$ac_tool_prefix"; then | 4392 | if test -n "$ac_tool_prefix"; then |
4393 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 4393 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. |
4394 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | 4394 | set dummy ${ac_tool_prefix}cc; ac_word=$2 |
4395 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4395 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4396 | $as_echo_n "checking for $ac_word... " >&6; } | 4396 | $as_echo_n "checking for $ac_word... " >&6; } |
4397 | if ${ac_cv_prog_CC+:} false; then : | 4397 | if ${ac_cv_prog_CC+:} false; then : |
4398 | $as_echo_n "(cached) " >&6 | 4398 | $as_echo_n "(cached) " >&6 |
4399 | else | 4399 | else |
4400 | if test -n "$CC"; then | 4400 | if test -n "$CC"; then |
4401 | ac_cv_prog_CC="$CC" # Let the user override the test. | 4401 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4402 | else | 4402 | else |
4403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4403 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4404 | for as_dir in $PATH | 4404 | for as_dir in $PATH |
4405 | do | 4405 | do |
4406 | IFS=$as_save_IFS | 4406 | IFS=$as_save_IFS |
4407 | test -z "$as_dir" && as_dir=. | 4407 | test -z "$as_dir" && as_dir=. |
4408 | for ac_exec_ext in '' $ac_executable_extensions; do | 4408 | for ac_exec_ext in '' $ac_executable_extensions; do |
4409 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4409 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4410 | ac_cv_prog_CC="${ac_tool_prefix}cc" | 4410 | ac_cv_prog_CC="${ac_tool_prefix}cc" |
4411 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4411 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4412 | break 2 | 4412 | break 2 |
4413 | fi | 4413 | fi |
4414 | done | 4414 | done |
4415 | done | 4415 | done |
4416 | IFS=$as_save_IFS | 4416 | IFS=$as_save_IFS |
4417 | 4417 | ||
4418 | fi | 4418 | fi |
4419 | fi | 4419 | fi |
4420 | CC=$ac_cv_prog_CC | 4420 | CC=$ac_cv_prog_CC |
4421 | if test -n "$CC"; then | 4421 | if test -n "$CC"; then |
4422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 4422 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4423 | $as_echo "$CC" >&6; } | 4423 | $as_echo "$CC" >&6; } |
4424 | else | 4424 | else |
4425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4425 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4426 | $as_echo "no" >&6; } | 4426 | $as_echo "no" >&6; } |
4427 | fi | 4427 | fi |
4428 | 4428 | ||
4429 | 4429 | ||
4430 | fi | 4430 | fi |
4431 | fi | 4431 | fi |
4432 | if test -z "$CC"; then | 4432 | if test -z "$CC"; then |
4433 | # Extract the first word of "cc", so it can be a program name with args. | 4433 | # Extract the first word of "cc", so it can be a program name with args. |
4434 | set dummy cc; ac_word=$2 | 4434 | set dummy cc; ac_word=$2 |
4435 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4435 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4436 | $as_echo_n "checking for $ac_word... " >&6; } | 4436 | $as_echo_n "checking for $ac_word... " >&6; } |
4437 | if ${ac_cv_prog_CC+:} false; then : | 4437 | if ${ac_cv_prog_CC+:} false; then : |
4438 | $as_echo_n "(cached) " >&6 | 4438 | $as_echo_n "(cached) " >&6 |
4439 | else | 4439 | else |
4440 | if test -n "$CC"; then | 4440 | if test -n "$CC"; then |
4441 | ac_cv_prog_CC="$CC" # Let the user override the test. | 4441 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4442 | else | 4442 | else |
4443 | ac_prog_rejected=no | 4443 | ac_prog_rejected=no |
4444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4444 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4445 | for as_dir in $PATH | 4445 | for as_dir in $PATH |
4446 | do | 4446 | do |
4447 | IFS=$as_save_IFS | 4447 | IFS=$as_save_IFS |
4448 | test -z "$as_dir" && as_dir=. | 4448 | test -z "$as_dir" && as_dir=. |
4449 | for ac_exec_ext in '' $ac_executable_extensions; do | 4449 | for ac_exec_ext in '' $ac_executable_extensions; do |
4450 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4450 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4451 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 4451 | if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then |
4452 | ac_prog_rejected=yes | 4452 | ac_prog_rejected=yes |
4453 | continue | 4453 | continue |
4454 | fi | 4454 | fi |
4455 | ac_cv_prog_CC="cc" | 4455 | ac_cv_prog_CC="cc" |
4456 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4456 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4457 | break 2 | 4457 | break 2 |
4458 | fi | 4458 | fi |
4459 | done | 4459 | done |
4460 | done | 4460 | done |
4461 | IFS=$as_save_IFS | 4461 | IFS=$as_save_IFS |
4462 | 4462 | ||
4463 | if test $ac_prog_rejected = yes; then | 4463 | if test $ac_prog_rejected = yes; then |
4464 | # We found a bogon in the path, so make sure we never use it. | 4464 | # We found a bogon in the path, so make sure we never use it. |
4465 | set dummy $ac_cv_prog_CC | 4465 | set dummy $ac_cv_prog_CC |
4466 | shift | 4466 | shift |
4467 | if test $# != 0; then | 4467 | if test $# != 0; then |
4468 | # We chose a different compiler from the bogus one. | 4468 | # We chose a different compiler from the bogus one. |
4469 | # However, it has the same basename, so the bogon will be chosen | 4469 | # However, it has the same basename, so the bogon will be chosen |
4470 | # first if we set CC to just the basename; use the full file name. | 4470 | # first if we set CC to just the basename; use the full file name. |
4471 | shift | 4471 | shift |
4472 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 4472 | ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" |
4473 | fi | 4473 | fi |
4474 | fi | 4474 | fi |
4475 | fi | 4475 | fi |
4476 | fi | 4476 | fi |
4477 | CC=$ac_cv_prog_CC | 4477 | CC=$ac_cv_prog_CC |
4478 | if test -n "$CC"; then | 4478 | if test -n "$CC"; then |
4479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 4479 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4480 | $as_echo "$CC" >&6; } | 4480 | $as_echo "$CC" >&6; } |
4481 | else | 4481 | else |
4482 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4482 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4483 | $as_echo "no" >&6; } | 4483 | $as_echo "no" >&6; } |
4484 | fi | 4484 | fi |
4485 | 4485 | ||
4486 | 4486 | ||
4487 | fi | 4487 | fi |
4488 | if test -z "$CC"; then | 4488 | if test -z "$CC"; then |
4489 | if test -n "$ac_tool_prefix"; then | 4489 | if test -n "$ac_tool_prefix"; then |
4490 | for ac_prog in cl.exe | 4490 | for ac_prog in cl.exe |
4491 | do | 4491 | do |
4492 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 4492 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
4493 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 4493 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
4494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4494 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4495 | $as_echo_n "checking for $ac_word... " >&6; } | 4495 | $as_echo_n "checking for $ac_word... " >&6; } |
4496 | if ${ac_cv_prog_CC+:} false; then : | 4496 | if ${ac_cv_prog_CC+:} false; then : |
4497 | $as_echo_n "(cached) " >&6 | 4497 | $as_echo_n "(cached) " >&6 |
4498 | else | 4498 | else |
4499 | if test -n "$CC"; then | 4499 | if test -n "$CC"; then |
4500 | ac_cv_prog_CC="$CC" # Let the user override the test. | 4500 | ac_cv_prog_CC="$CC" # Let the user override the test. |
4501 | else | 4501 | else |
4502 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4502 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4503 | for as_dir in $PATH | 4503 | for as_dir in $PATH |
4504 | do | 4504 | do |
4505 | IFS=$as_save_IFS | 4505 | IFS=$as_save_IFS |
4506 | test -z "$as_dir" && as_dir=. | 4506 | test -z "$as_dir" && as_dir=. |
4507 | for ac_exec_ext in '' $ac_executable_extensions; do | 4507 | for ac_exec_ext in '' $ac_executable_extensions; do |
4508 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4508 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4509 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 4509 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" |
4510 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4510 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4511 | break 2 | 4511 | break 2 |
4512 | fi | 4512 | fi |
4513 | done | 4513 | done |
4514 | done | 4514 | done |
4515 | IFS=$as_save_IFS | 4515 | IFS=$as_save_IFS |
4516 | 4516 | ||
4517 | fi | 4517 | fi |
4518 | fi | 4518 | fi |
4519 | CC=$ac_cv_prog_CC | 4519 | CC=$ac_cv_prog_CC |
4520 | if test -n "$CC"; then | 4520 | if test -n "$CC"; then |
4521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 4521 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 |
4522 | $as_echo "$CC" >&6; } | 4522 | $as_echo "$CC" >&6; } |
4523 | else | 4523 | else |
4524 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4524 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4525 | $as_echo "no" >&6; } | 4525 | $as_echo "no" >&6; } |
4526 | fi | 4526 | fi |
4527 | 4527 | ||
4528 | 4528 | ||
4529 | test -n "$CC" && break | 4529 | test -n "$CC" && break |
4530 | done | 4530 | done |
4531 | fi | 4531 | fi |
4532 | if test -z "$CC"; then | 4532 | if test -z "$CC"; then |
4533 | ac_ct_CC=$CC | 4533 | ac_ct_CC=$CC |
4534 | for ac_prog in cl.exe | 4534 | for ac_prog in cl.exe |
4535 | do | 4535 | do |
4536 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 4536 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
4537 | set dummy $ac_prog; ac_word=$2 | 4537 | set dummy $ac_prog; ac_word=$2 |
4538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 4538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
4539 | $as_echo_n "checking for $ac_word... " >&6; } | 4539 | $as_echo_n "checking for $ac_word... " >&6; } |
4540 | if ${ac_cv_prog_ac_ct_CC+:} false; then : | 4540 | if ${ac_cv_prog_ac_ct_CC+:} false; then : |
4541 | $as_echo_n "(cached) " >&6 | 4541 | $as_echo_n "(cached) " >&6 |
4542 | else | 4542 | else |
4543 | if test -n "$ac_ct_CC"; then | 4543 | if test -n "$ac_ct_CC"; then |
4544 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 4544 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. |
4545 | else | 4545 | else |
4546 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 4546 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
4547 | for as_dir in $PATH | 4547 | for as_dir in $PATH |
4548 | do | 4548 | do |
4549 | IFS=$as_save_IFS | 4549 | IFS=$as_save_IFS |
4550 | test -z "$as_dir" && as_dir=. | 4550 | test -z "$as_dir" && as_dir=. |
4551 | for ac_exec_ext in '' $ac_executable_extensions; do | 4551 | for ac_exec_ext in '' $ac_executable_extensions; do |
4552 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 4552 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
4553 | ac_cv_prog_ac_ct_CC="$ac_prog" | 4553 | ac_cv_prog_ac_ct_CC="$ac_prog" |
4554 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 4554 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
4555 | break 2 | 4555 | break 2 |
4556 | fi | 4556 | fi |
4557 | done | 4557 | done |
4558 | done | 4558 | done |
4559 | IFS=$as_save_IFS | 4559 | IFS=$as_save_IFS |
4560 | 4560 | ||
4561 | fi | 4561 | fi |
4562 | fi | 4562 | fi |
4563 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 4563 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
4564 | if test -n "$ac_ct_CC"; then | 4564 | if test -n "$ac_ct_CC"; then |
4565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 4565 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 |
4566 | $as_echo "$ac_ct_CC" >&6; } | 4566 | $as_echo "$ac_ct_CC" >&6; } |
4567 | else | 4567 | else |
4568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 4568 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
4569 | $as_echo "no" >&6; } | 4569 | $as_echo "no" >&6; } |
4570 | fi | 4570 | fi |
4571 | 4571 | ||
4572 | 4572 | ||
4573 | test -n "$ac_ct_CC" && break | 4573 | test -n "$ac_ct_CC" && break |
4574 | done | 4574 | done |
4575 | 4575 | ||
4576 | if test "x$ac_ct_CC" = x; then | 4576 | if test "x$ac_ct_CC" = x; then |
4577 | CC="" | 4577 | CC="" |
4578 | else | 4578 | else |
4579 | case $cross_compiling:$ac_tool_warned in | 4579 | case $cross_compiling:$ac_tool_warned in |
4580 | yes:) | 4580 | yes:) |
4581 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 4581 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
4582 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 4582 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
4583 | ac_tool_warned=yes ;; | 4583 | ac_tool_warned=yes ;; |
4584 | esac | 4584 | esac |
4585 | CC=$ac_ct_CC | 4585 | CC=$ac_ct_CC |
4586 | fi | 4586 | fi |
4587 | fi | 4587 | fi |
4588 | 4588 | ||
4589 | fi | 4589 | fi |
4590 | 4590 | ||
4591 | 4591 | ||
4592 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 4592 | test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
4593 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 4593 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
4594 | as_fn_error $? "no acceptable C compiler found in \$PATH | 4594 | as_fn_error $? "no acceptable C compiler found in \$PATH |
4595 | See \`config.log' for more details" "$LINENO" 5; } | 4595 | See \`config.log' for more details" "$LINENO" 5; } |
4596 | 4596 | ||
4597 | # Provide some information about the compiler. | 4597 | # Provide some information about the compiler. |
4598 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 4598 | $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 |
4599 | set X $ac_compile | 4599 | set X $ac_compile |
4600 | ac_compiler=$2 | 4600 | ac_compiler=$2 |
4601 | for ac_option in --version -v -V -qversion; do | 4601 | for ac_option in --version -v -V -qversion; do |
4602 | { { ac_try="$ac_compiler $ac_option >&5" | 4602 | { { ac_try="$ac_compiler $ac_option >&5" |
4603 | case "(($ac_try" in | 4603 | case "(($ac_try" in |
4604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 4604 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
4605 | *) ac_try_echo=$ac_try;; | 4605 | *) ac_try_echo=$ac_try;; |
4606 | esac | 4606 | esac |
4607 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 4607 | eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
4608 | $as_echo "$ac_try_echo"; } >&5 | 4608 | $as_echo "$ac_try_echo"; } >&5 |
4609 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 4609 | (eval "$ac_compiler $ac_option >&5") 2>conftest.err |
4610 | ac_status=$? | 4610 | ac_status=$? |
4611 | if test -s conftest.err; then | 4611 | if test -s conftest.err; then |
4612 | sed '10a\ | 4612 | sed '10a\ |
4613 | ... rest of stderr output deleted ... | 4613 | ... rest of stderr output deleted ... |
4614 | 10q' conftest.err >conftest.er1 | 4614 | 10q' conftest.err >conftest.er1 |
4615 | cat conftest.er1 >&5 | 4615 | cat conftest.er1 >&5 |
4616 | fi | 4616 | fi |
4617 | rm -f conftest.er1 conftest.err | 4617 | rm -f conftest.er1 conftest.err |
4618 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 4618 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
4619 | test $ac_status = 0; } | 4619 | test $ac_status = 0; } |
4620 | done | 4620 | done |
4621 | 4621 | ||
4622 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 4622 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 |
4623 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 4623 | $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } |
4624 | if ${ac_cv_c_compiler_gnu+:} false; then : | 4624 | if ${ac_cv_c_compiler_gnu+:} false; then : |
4625 | $as_echo_n "(cached) " >&6 | 4625 | $as_echo_n "(cached) " >&6 |
4626 | else | 4626 | else |
4627 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4627 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4628 | /* end confdefs.h. */ | 4628 | /* end confdefs.h. */ |
4629 | 4629 | ||
4630 | int | 4630 | int |
4631 | main () | 4631 | main () |
4632 | { | 4632 | { |
4633 | #ifndef __GNUC__ | 4633 | #ifndef __GNUC__ |
4634 | choke me | 4634 | choke me |
4635 | #endif | 4635 | #endif |
4636 | 4636 | ||
4637 | ; | 4637 | ; |
4638 | return 0; | 4638 | return 0; |
4639 | } | 4639 | } |
4640 | _ACEOF | 4640 | _ACEOF |
4641 | if ac_fn_c_try_compile "$LINENO"; then : | 4641 | if ac_fn_c_try_compile "$LINENO"; then : |
4642 | ac_compiler_gnu=yes | 4642 | ac_compiler_gnu=yes |
4643 | else | 4643 | else |
4644 | ac_compiler_gnu=no | 4644 | ac_compiler_gnu=no |
4645 | fi | 4645 | fi |
4646 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4646 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4647 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 4647 | ac_cv_c_compiler_gnu=$ac_compiler_gnu |
4648 | 4648 | ||
4649 | fi | 4649 | fi |
4650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 4650 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 |
4651 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 4651 | $as_echo "$ac_cv_c_compiler_gnu" >&6; } |
4652 | if test $ac_compiler_gnu = yes; then | 4652 | if test $ac_compiler_gnu = yes; then |
4653 | GCC=yes | 4653 | GCC=yes |
4654 | else | 4654 | else |
4655 | GCC= | 4655 | GCC= |
4656 | fi | 4656 | fi |
4657 | ac_test_CFLAGS=${CFLAGS+set} | 4657 | ac_test_CFLAGS=${CFLAGS+set} |
4658 | ac_save_CFLAGS=$CFLAGS | 4658 | ac_save_CFLAGS=$CFLAGS |
4659 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 4659 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 |
4660 | $as_echo_n "checking whether $CC accepts -g... " >&6; } | 4660 | $as_echo_n "checking whether $CC accepts -g... " >&6; } |
4661 | if ${ac_cv_prog_cc_g+:} false; then : | 4661 | if ${ac_cv_prog_cc_g+:} false; then : |
4662 | $as_echo_n "(cached) " >&6 | 4662 | $as_echo_n "(cached) " >&6 |
4663 | else | 4663 | else |
4664 | ac_save_c_werror_flag=$ac_c_werror_flag | 4664 | ac_save_c_werror_flag=$ac_c_werror_flag |
4665 | ac_c_werror_flag=yes | 4665 | ac_c_werror_flag=yes |
4666 | ac_cv_prog_cc_g=no | 4666 | ac_cv_prog_cc_g=no |
4667 | CFLAGS="-g" | 4667 | CFLAGS="-g" |
4668 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4668 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4669 | /* end confdefs.h. */ | 4669 | /* end confdefs.h. */ |
4670 | 4670 | ||
4671 | int | 4671 | int |
4672 | main () | 4672 | main () |
4673 | { | 4673 | { |
4674 | 4674 | ||
4675 | ; | 4675 | ; |
4676 | return 0; | 4676 | return 0; |
4677 | } | 4677 | } |
4678 | _ACEOF | 4678 | _ACEOF |
4679 | if ac_fn_c_try_compile "$LINENO"; then : | 4679 | if ac_fn_c_try_compile "$LINENO"; then : |
4680 | ac_cv_prog_cc_g=yes | 4680 | ac_cv_prog_cc_g=yes |
4681 | else | 4681 | else |
4682 | CFLAGS="" | 4682 | CFLAGS="" |
4683 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4683 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4684 | /* end confdefs.h. */ | 4684 | /* end confdefs.h. */ |
4685 | 4685 | ||
4686 | int | 4686 | int |
4687 | main () | 4687 | main () |
4688 | { | 4688 | { |
4689 | 4689 | ||
4690 | ; | 4690 | ; |
4691 | return 0; | 4691 | return 0; |
4692 | } | 4692 | } |
4693 | _ACEOF | 4693 | _ACEOF |
4694 | if ac_fn_c_try_compile "$LINENO"; then : | 4694 | if ac_fn_c_try_compile "$LINENO"; then : |
4695 | 4695 | ||
4696 | else | 4696 | else |
4697 | ac_c_werror_flag=$ac_save_c_werror_flag | 4697 | ac_c_werror_flag=$ac_save_c_werror_flag |
4698 | CFLAGS="-g" | 4698 | CFLAGS="-g" |
4699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4699 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4700 | /* end confdefs.h. */ | 4700 | /* end confdefs.h. */ |
4701 | 4701 | ||
4702 | int | 4702 | int |
4703 | main () | 4703 | main () |
4704 | { | 4704 | { |
4705 | 4705 | ||
4706 | ; | 4706 | ; |
4707 | return 0; | 4707 | return 0; |
4708 | } | 4708 | } |
4709 | _ACEOF | 4709 | _ACEOF |
4710 | if ac_fn_c_try_compile "$LINENO"; then : | 4710 | if ac_fn_c_try_compile "$LINENO"; then : |
4711 | ac_cv_prog_cc_g=yes | 4711 | ac_cv_prog_cc_g=yes |
4712 | fi | 4712 | fi |
4713 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4713 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4714 | fi | 4714 | fi |
4715 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4715 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4716 | fi | 4716 | fi |
4717 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 4717 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
4718 | ac_c_werror_flag=$ac_save_c_werror_flag | 4718 | ac_c_werror_flag=$ac_save_c_werror_flag |
4719 | fi | 4719 | fi |
4720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 4720 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 |
4721 | $as_echo "$ac_cv_prog_cc_g" >&6; } | 4721 | $as_echo "$ac_cv_prog_cc_g" >&6; } |
4722 | if test "$ac_test_CFLAGS" = set; then | 4722 | if test "$ac_test_CFLAGS" = set; then |
4723 | CFLAGS=$ac_save_CFLAGS | 4723 | CFLAGS=$ac_save_CFLAGS |
4724 | elif test $ac_cv_prog_cc_g = yes; then | 4724 | elif test $ac_cv_prog_cc_g = yes; then |
4725 | if test "$GCC" = yes; then | 4725 | if test "$GCC" = yes; then |
4726 | CFLAGS="-g -O2" | 4726 | CFLAGS="-g -O2" |
4727 | else | 4727 | else |
4728 | CFLAGS="-g" | 4728 | CFLAGS="-g" |
4729 | fi | 4729 | fi |
4730 | else | 4730 | else |
4731 | if test "$GCC" = yes; then | 4731 | if test "$GCC" = yes; then |
4732 | CFLAGS="-O2" | 4732 | CFLAGS="-O2" |
4733 | else | 4733 | else |
4734 | CFLAGS= | 4734 | CFLAGS= |
4735 | fi | 4735 | fi |
4736 | fi | 4736 | fi |
4737 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 4737 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
4738 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 4738 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
4739 | if ${ac_cv_prog_cc_c89+:} false; then : | 4739 | if ${ac_cv_prog_cc_c89+:} false; then : |
4740 | $as_echo_n "(cached) " >&6 | 4740 | $as_echo_n "(cached) " >&6 |
4741 | else | 4741 | else |
4742 | ac_cv_prog_cc_c89=no | 4742 | ac_cv_prog_cc_c89=no |
4743 | ac_save_CC=$CC | 4743 | ac_save_CC=$CC |
4744 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4744 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4745 | /* end confdefs.h. */ | 4745 | /* end confdefs.h. */ |
4746 | #include <stdarg.h> | 4746 | #include <stdarg.h> |
4747 | #include <stdio.h> | 4747 | #include <stdio.h> |
4748 | #include <sys/types.h> | 4748 | #include <sys/types.h> |
4749 | #include <sys/stat.h> | 4749 | #include <sys/stat.h> |
4750 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 4750 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
4751 | struct buf { int x; }; | 4751 | struct buf { int x; }; |
4752 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 4752 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
4753 | static char *e (p, i) | 4753 | static char *e (p, i) |
4754 | char **p; | 4754 | char **p; |
4755 | int i; | 4755 | int i; |
4756 | { | 4756 | { |
4757 | return p[i]; | 4757 | return p[i]; |
4758 | } | 4758 | } |
4759 | static char *f (char * (*g) (char **, int), char **p, ...) | 4759 | static char *f (char * (*g) (char **, int), char **p, ...) |
4760 | { | 4760 | { |
4761 | char *s; | 4761 | char *s; |
4762 | va_list v; | 4762 | va_list v; |
4763 | va_start (v,p); | 4763 | va_start (v,p); |
4764 | s = g (p, va_arg (v,int)); | 4764 | s = g (p, va_arg (v,int)); |
4765 | va_end (v); | 4765 | va_end (v); |
4766 | return s; | 4766 | return s; |
4767 | } | 4767 | } |
4768 | 4768 | ||
4769 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 4769 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
4770 | function prototypes and stuff, but not '\xHH' hex character constants. | 4770 | function prototypes and stuff, but not '\xHH' hex character constants. |
4771 | These don't provoke an error unfortunately, instead are silently treated | 4771 | These don't provoke an error unfortunately, instead are silently treated |
4772 | as 'x'. The following induces an error, until -std is added to get | 4772 | as 'x'. The following induces an error, until -std is added to get |
4773 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 4773 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
4774 | array size at least. It's necessary to write '\x00'==0 to get something | 4774 | array size at least. It's necessary to write '\x00'==0 to get something |
4775 | that's true only with -std. */ | 4775 | that's true only with -std. */ |
4776 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 4776 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
4777 | 4777 | ||
4778 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 4778 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
4779 | inside strings and character constants. */ | 4779 | inside strings and character constants. */ |
4780 | #define FOO(x) 'x' | 4780 | #define FOO(x) 'x' |
4781 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 4781 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
4782 | 4782 | ||
4783 | int test (int i, double x); | 4783 | int test (int i, double x); |
4784 | struct s1 {int (*f) (int a);}; | 4784 | struct s1 {int (*f) (int a);}; |
4785 | struct s2 {int (*f) (double a);}; | 4785 | struct s2 {int (*f) (double a);}; |
4786 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 4786 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
4787 | int argc; | 4787 | int argc; |
4788 | char **argv; | 4788 | char **argv; |
4789 | int | 4789 | int |
4790 | main () | 4790 | main () |
4791 | { | 4791 | { |
4792 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 4792 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
4793 | ; | 4793 | ; |
4794 | return 0; | 4794 | return 0; |
4795 | } | 4795 | } |
4796 | _ACEOF | 4796 | _ACEOF |
4797 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 4797 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
4798 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 4798 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
4799 | do | 4799 | do |
4800 | CC="$ac_save_CC $ac_arg" | 4800 | CC="$ac_save_CC $ac_arg" |
4801 | if ac_fn_c_try_compile "$LINENO"; then : | 4801 | if ac_fn_c_try_compile "$LINENO"; then : |
4802 | ac_cv_prog_cc_c89=$ac_arg | 4802 | ac_cv_prog_cc_c89=$ac_arg |
4803 | fi | 4803 | fi |
4804 | rm -f core conftest.err conftest.$ac_objext | 4804 | rm -f core conftest.err conftest.$ac_objext |
4805 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 4805 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
4806 | done | 4806 | done |
4807 | rm -f conftest.$ac_ext | 4807 | rm -f conftest.$ac_ext |
4808 | CC=$ac_save_CC | 4808 | CC=$ac_save_CC |
4809 | 4809 | ||
4810 | fi | 4810 | fi |
4811 | # AC_CACHE_VAL | 4811 | # AC_CACHE_VAL |
4812 | case "x$ac_cv_prog_cc_c89" in | 4812 | case "x$ac_cv_prog_cc_c89" in |
4813 | x) | 4813 | x) |
4814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 4814 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
4815 | $as_echo "none needed" >&6; } ;; | 4815 | $as_echo "none needed" >&6; } ;; |
4816 | xno) | 4816 | xno) |
4817 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 4817 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
4818 | $as_echo "unsupported" >&6; } ;; | 4818 | $as_echo "unsupported" >&6; } ;; |
4819 | *) | 4819 | *) |
4820 | CC="$CC $ac_cv_prog_cc_c89" | 4820 | CC="$CC $ac_cv_prog_cc_c89" |
4821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 4821 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
4822 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 4822 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
4823 | esac | 4823 | esac |
4824 | if test "x$ac_cv_prog_cc_c89" != xno; then : | 4824 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
4825 | 4825 | ||
4826 | fi | 4826 | fi |
4827 | 4827 | ||
4828 | ac_ext=c | 4828 | ac_ext=c |
4829 | ac_cpp='$CPP $CPPFLAGS' | 4829 | ac_cpp='$CPP $CPPFLAGS' |
4830 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 4830 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4831 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 4831 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4832 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 4832 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
4833 | 4833 | ||
4834 | depcc="$CC" am_compiler_list= | 4834 | depcc="$CC" am_compiler_list= |
4835 | 4835 | ||
4836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 | 4836 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 |
4837 | $as_echo_n "checking dependency style of $depcc... " >&6; } | 4837 | $as_echo_n "checking dependency style of $depcc... " >&6; } |
4838 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : | 4838 | if ${am_cv_CC_dependencies_compiler_type+:} false; then : |
4839 | $as_echo_n "(cached) " >&6 | 4839 | $as_echo_n "(cached) " >&6 |
4840 | else | 4840 | else |
4841 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then | 4841 | if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then |
4842 | # We make a subdir and do the tests there. Otherwise we can end up | 4842 | # We make a subdir and do the tests there. Otherwise we can end up |
4843 | # making bogus files that we don't know about and never remove. For | 4843 | # making bogus files that we don't know about and never remove. For |
4844 | # instance it was reported that on HP-UX the gcc test will end up | 4844 | # instance it was reported that on HP-UX the gcc test will end up |
4845 | # making a dummy file named `D' -- because `-MD' means `put the output | 4845 | # making a dummy file named `D' -- because `-MD' means `put the output |
4846 | # in D'. | 4846 | # in D'. |
4847 | rm -rf conftest.dir | 4847 | rm -rf conftest.dir |
4848 | mkdir conftest.dir | 4848 | mkdir conftest.dir |
4849 | # Copy depcomp to subdir because otherwise we won't find it if we're | 4849 | # Copy depcomp to subdir because otherwise we won't find it if we're |
4850 | # using a relative directory. | 4850 | # using a relative directory. |
4851 | cp "$am_depcomp" conftest.dir | 4851 | cp "$am_depcomp" conftest.dir |
4852 | cd conftest.dir | 4852 | cd conftest.dir |
4853 | # We will build objects and dependencies in a subdirectory because | 4853 | # We will build objects and dependencies in a subdirectory because |
4854 | # it helps to detect inapplicable dependency modes. For instance | 4854 | # it helps to detect inapplicable dependency modes. For instance |
4855 | # both Tru64's cc and ICC support -MD to output dependencies as a | 4855 | # both Tru64's cc and ICC support -MD to output dependencies as a |
4856 | # side effect of compilation, but ICC will put the dependencies in | 4856 | # side effect of compilation, but ICC will put the dependencies in |
4857 | # the current directory while Tru64 will put them in the object | 4857 | # the current directory while Tru64 will put them in the object |
4858 | # directory. | 4858 | # directory. |
4859 | mkdir sub | 4859 | mkdir sub |
4860 | 4860 | ||
4861 | am_cv_CC_dependencies_compiler_type=none | 4861 | am_cv_CC_dependencies_compiler_type=none |
4862 | if test "$am_compiler_list" = ""; then | 4862 | if test "$am_compiler_list" = ""; then |
4863 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` | 4863 | am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` |
4864 | fi | 4864 | fi |
4865 | am__universal=false | 4865 | am__universal=false |
4866 | case " $depcc " in #( | 4866 | case " $depcc " in #( |
4867 | *\ -arch\ *\ -arch\ *) am__universal=true ;; | 4867 | *\ -arch\ *\ -arch\ *) am__universal=true ;; |
4868 | esac | 4868 | esac |
4869 | 4869 | ||
4870 | for depmode in $am_compiler_list; do | 4870 | for depmode in $am_compiler_list; do |
4871 | # Setup a source with many dependencies, because some compilers | 4871 | # Setup a source with many dependencies, because some compilers |
4872 | # like to wrap large dependency lists on column 80 (with \), and | 4872 | # like to wrap large dependency lists on column 80 (with \), and |
4873 | # we should not choose a depcomp mode which is confused by this. | 4873 | # we should not choose a depcomp mode which is confused by this. |
4874 | # | 4874 | # |
4875 | # We need to recreate these files for each test, as the compiler may | 4875 | # We need to recreate these files for each test, as the compiler may |
4876 | # overwrite some of them when testing with obscure command lines. | 4876 | # overwrite some of them when testing with obscure command lines. |
4877 | # This happens at least with the AIX C compiler. | 4877 | # This happens at least with the AIX C compiler. |
4878 | : > sub/conftest.c | 4878 | : > sub/conftest.c |
4879 | for i in 1 2 3 4 5 6; do | 4879 | for i in 1 2 3 4 5 6; do |
4880 | echo '#include "conftst'$i'.h"' >> sub/conftest.c | 4880 | echo '#include "conftst'$i'.h"' >> sub/conftest.c |
4881 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with | 4881 | # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with |
4882 | # Solaris 8's {/usr,}/bin/sh. | 4882 | # Solaris 8's {/usr,}/bin/sh. |
4883 | touch sub/conftst$i.h | 4883 | touch sub/conftst$i.h |
4884 | done | 4884 | done |
4885 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf | 4885 | echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf |
4886 | 4886 | ||
4887 | # We check with `-c' and `-o' for the sake of the "dashmstdout" | 4887 | # We check with `-c' and `-o' for the sake of the "dashmstdout" |
4888 | # mode. It turns out that the SunPro C++ compiler does not properly | 4888 | # mode. It turns out that the SunPro C++ compiler does not properly |
4889 | # handle `-M -o', and we need to detect this. Also, some Intel | 4889 | # handle `-M -o', and we need to detect this. Also, some Intel |
4890 | # versions had trouble with output in subdirs | 4890 | # versions had trouble with output in subdirs |
4891 | am__obj=sub/conftest.${OBJEXT-o} | 4891 | am__obj=sub/conftest.${OBJEXT-o} |
4892 | am__minus_obj="-o $am__obj" | 4892 | am__minus_obj="-o $am__obj" |
4893 | case $depmode in | 4893 | case $depmode in |
4894 | gcc) | 4894 | gcc) |
4895 | # This depmode causes a compiler race in universal mode. | 4895 | # This depmode causes a compiler race in universal mode. |
4896 | test "$am__universal" = false || continue | 4896 | test "$am__universal" = false || continue |
4897 | ;; | 4897 | ;; |
4898 | nosideeffect) | 4898 | nosideeffect) |
4899 | # after this tag, mechanisms are not by side-effect, so they'll | 4899 | # after this tag, mechanisms are not by side-effect, so they'll |
4900 | # only be used when explicitly requested | 4900 | # only be used when explicitly requested |
4901 | if test "x$enable_dependency_tracking" = xyes; then | 4901 | if test "x$enable_dependency_tracking" = xyes; then |
4902 | continue | 4902 | continue |
4903 | else | 4903 | else |
4904 | break | 4904 | break |
4905 | fi | 4905 | fi |
4906 | ;; | 4906 | ;; |
4907 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) | 4907 | msvc7 | msvc7msys | msvisualcpp | msvcmsys) |
4908 | # This compiler won't grok `-c -o', but also, the minuso test has | 4908 | # This compiler won't grok `-c -o', but also, the minuso test has |
4909 | # not run yet. These depmodes are late enough in the game, and | 4909 | # not run yet. These depmodes are late enough in the game, and |
4910 | # so weak that their functioning should not be impacted. | 4910 | # so weak that their functioning should not be impacted. |
4911 | am__obj=conftest.${OBJEXT-o} | 4911 | am__obj=conftest.${OBJEXT-o} |
4912 | am__minus_obj= | 4912 | am__minus_obj= |
4913 | ;; | 4913 | ;; |
4914 | none) break ;; | 4914 | none) break ;; |
4915 | esac | 4915 | esac |
4916 | if depmode=$depmode \ | 4916 | if depmode=$depmode \ |
4917 | source=sub/conftest.c object=$am__obj \ | 4917 | source=sub/conftest.c object=$am__obj \ |
4918 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ | 4918 | depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ |
4919 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ | 4919 | $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ |
4920 | >/dev/null 2>conftest.err && | 4920 | >/dev/null 2>conftest.err && |
4921 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && | 4921 | grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && |
4922 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && | 4922 | grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && |
4923 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && | 4923 | grep $am__obj sub/conftest.Po > /dev/null 2>&1 && |
4924 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then | 4924 | ${MAKE-make} -s -f confmf > /dev/null 2>&1; then |
4925 | # icc doesn't choke on unknown options, it will just issue warnings | 4925 | # icc doesn't choke on unknown options, it will just issue warnings |
4926 | # or remarks (even with -Werror). So we grep stderr for any message | 4926 | # or remarks (even with -Werror). So we grep stderr for any message |
4927 | # that says an option was ignored or not supported. | 4927 | # that says an option was ignored or not supported. |
4928 | # When given -MP, icc 7.0 and 7.1 complain thusly: | 4928 | # When given -MP, icc 7.0 and 7.1 complain thusly: |
4929 | # icc: Command line warning: ignoring option '-M'; no argument required | 4929 | # icc: Command line warning: ignoring option '-M'; no argument required |
4930 | # The diagnosis changed in icc 8.0: | 4930 | # The diagnosis changed in icc 8.0: |
4931 | # icc: Command line remark: option '-MP' not supported | 4931 | # icc: Command line remark: option '-MP' not supported |
4932 | if (grep 'ignoring option' conftest.err || | 4932 | if (grep 'ignoring option' conftest.err || |
4933 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else | 4933 | grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else |
4934 | am_cv_CC_dependencies_compiler_type=$depmode | 4934 | am_cv_CC_dependencies_compiler_type=$depmode |
4935 | break | 4935 | break |
4936 | fi | 4936 | fi |
4937 | fi | 4937 | fi |
4938 | done | 4938 | done |
4939 | 4939 | ||
4940 | cd .. | 4940 | cd .. |
4941 | rm -rf conftest.dir | 4941 | rm -rf conftest.dir |
4942 | else | 4942 | else |
4943 | am_cv_CC_dependencies_compiler_type=none | 4943 | am_cv_CC_dependencies_compiler_type=none |
4944 | fi | 4944 | fi |
4945 | 4945 | ||
4946 | fi | 4946 | fi |
4947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 | 4947 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 |
4948 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } | 4948 | $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } |
4949 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type | 4949 | CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type |
4950 | 4950 | ||
4951 | if | 4951 | if |
4952 | test "x$enable_dependency_tracking" != xno \ | 4952 | test "x$enable_dependency_tracking" != xno \ |
4953 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then | 4953 | && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then |
4954 | am__fastdepCC_TRUE= | 4954 | am__fastdepCC_TRUE= |
4955 | am__fastdepCC_FALSE='#' | 4955 | am__fastdepCC_FALSE='#' |
4956 | else | 4956 | else |
4957 | am__fastdepCC_TRUE='#' | 4957 | am__fastdepCC_TRUE='#' |
4958 | am__fastdepCC_FALSE= | 4958 | am__fastdepCC_FALSE= |
4959 | fi | 4959 | fi |
4960 | 4960 | ||
4961 | 4961 | ||
4962 | case $ac_cv_prog_cc_stdc in #( | 4962 | case $ac_cv_prog_cc_stdc in #( |
4963 | no) : | 4963 | no) : |
4964 | ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( | 4964 | ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #( |
4965 | *) : | 4965 | *) : |
4966 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 | 4966 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5 |
4967 | $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } | 4967 | $as_echo_n "checking for $CC option to accept ISO C99... " >&6; } |
4968 | if ${ac_cv_prog_cc_c99+:} false; then : | 4968 | if ${ac_cv_prog_cc_c99+:} false; then : |
4969 | $as_echo_n "(cached) " >&6 | 4969 | $as_echo_n "(cached) " >&6 |
4970 | else | 4970 | else |
4971 | ac_cv_prog_cc_c99=no | 4971 | ac_cv_prog_cc_c99=no |
4972 | ac_save_CC=$CC | 4972 | ac_save_CC=$CC |
4973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 4973 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
4974 | /* end confdefs.h. */ | 4974 | /* end confdefs.h. */ |
4975 | #include <stdarg.h> | 4975 | #include <stdarg.h> |
4976 | #include <stdbool.h> | 4976 | #include <stdbool.h> |
4977 | #include <stdlib.h> | 4977 | #include <stdlib.h> |
4978 | #include <wchar.h> | 4978 | #include <wchar.h> |
4979 | #include <stdio.h> | 4979 | #include <stdio.h> |
4980 | 4980 | ||
4981 | // Check varargs macros. These examples are taken from C99 6.10.3.5. | 4981 | // Check varargs macros. These examples are taken from C99 6.10.3.5. |
4982 | #define debug(...) fprintf (stderr, __VA_ARGS__) | 4982 | #define debug(...) fprintf (stderr, __VA_ARGS__) |
4983 | #define showlist(...) puts (#__VA_ARGS__) | 4983 | #define showlist(...) puts (#__VA_ARGS__) |
4984 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) | 4984 | #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__)) |
4985 | static void | 4985 | static void |
4986 | test_varargs_macros (void) | 4986 | test_varargs_macros (void) |
4987 | { | 4987 | { |
4988 | int x = 1234; | 4988 | int x = 1234; |
4989 | int y = 5678; | 4989 | int y = 5678; |
4990 | debug ("Flag"); | 4990 | debug ("Flag"); |
4991 | debug ("X = %d\n", x); | 4991 | debug ("X = %d\n", x); |
4992 | showlist (The first, second, and third items.); | 4992 | showlist (The first, second, and third items.); |
4993 | report (x>y, "x is %d but y is %d", x, y); | 4993 | report (x>y, "x is %d but y is %d", x, y); |
4994 | } | 4994 | } |
4995 | 4995 | ||
4996 | // Check long long types. | 4996 | // Check long long types. |
4997 | #define BIG64 18446744073709551615ull | 4997 | #define BIG64 18446744073709551615ull |
4998 | #define BIG32 4294967295ul | 4998 | #define BIG32 4294967295ul |
4999 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) | 4999 | #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0) |
5000 | #if !BIG_OK | 5000 | #if !BIG_OK |
5001 | your preprocessor is broken; | 5001 | your preprocessor is broken; |
5002 | #endif | 5002 | #endif |
5003 | #if BIG_OK | 5003 | #if BIG_OK |
5004 | #else | 5004 | #else |
5005 | your preprocessor is broken; | 5005 | your preprocessor is broken; |
5006 | #endif | 5006 | #endif |
5007 | static long long int bignum = -9223372036854775807LL; | 5007 | static long long int bignum = -9223372036854775807LL; |
5008 | static unsigned long long int ubignum = BIG64; | 5008 | static unsigned long long int ubignum = BIG64; |
5009 | 5009 | ||
5010 | struct incomplete_array | 5010 | struct incomplete_array |
5011 | { | 5011 | { |
5012 | int datasize; | 5012 | int datasize; |
5013 | double data[]; | 5013 | double data[]; |
5014 | }; | 5014 | }; |
5015 | 5015 | ||
5016 | struct named_init { | 5016 | struct named_init { |
5017 | int number; | 5017 | int number; |
5018 | const wchar_t *name; | 5018 | const wchar_t *name; |
5019 | double average; | 5019 | double average; |
5020 | }; | 5020 | }; |
5021 | 5021 | ||
5022 | typedef const char *ccp; | 5022 | typedef const char *ccp; |
5023 | 5023 | ||
5024 | static inline int | 5024 | static inline int |
5025 | test_restrict (ccp restrict text) | 5025 | test_restrict (ccp restrict text) |
5026 | { | 5026 | { |
5027 | // See if C++-style comments work. | 5027 | // See if C++-style comments work. |
5028 | // Iterate through items via the restricted pointer. | 5028 | // Iterate through items via the restricted pointer. |
5029 | // Also check for declarations in for loops. | 5029 | // Also check for declarations in for loops. |
5030 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) | 5030 | for (unsigned int i = 0; *(text+i) != '\0'; ++i) |
5031 | continue; | 5031 | continue; |
5032 | return 0; | 5032 | return 0; |
5033 | } | 5033 | } |
5034 | 5034 | ||
5035 | // Check varargs and va_copy. | 5035 | // Check varargs and va_copy. |
5036 | static void | 5036 | static void |
5037 | test_varargs (const char *format, ...) | 5037 | test_varargs (const char *format, ...) |
5038 | { | 5038 | { |
5039 | va_list args; | 5039 | va_list args; |
5040 | va_start (args, format); | 5040 | va_start (args, format); |
5041 | va_list args_copy; | 5041 | va_list args_copy; |
5042 | va_copy (args_copy, args); | 5042 | va_copy (args_copy, args); |
5043 | 5043 | ||
5044 | const char *str; | 5044 | const char *str; |
5045 | int number; | 5045 | int number; |
5046 | float fnumber; | 5046 | float fnumber; |
5047 | 5047 | ||
5048 | while (*format) | 5048 | while (*format) |
5049 | { | 5049 | { |
5050 | switch (*format++) | 5050 | switch (*format++) |
5051 | { | 5051 | { |
5052 | case 's': // string | 5052 | case 's': // string |
5053 | str = va_arg (args_copy, const char *); | 5053 | str = va_arg (args_copy, const char *); |
5054 | break; | 5054 | break; |
5055 | case 'd': // int | 5055 | case 'd': // int |
5056 | number = va_arg (args_copy, int); | 5056 | number = va_arg (args_copy, int); |
5057 | break; | 5057 | break; |
5058 | case 'f': // float | 5058 | case 'f': // float |
5059 | fnumber = va_arg (args_copy, double); | 5059 | fnumber = va_arg (args_copy, double); |
5060 | break; | 5060 | break; |
5061 | default: | 5061 | default: |
5062 | break; | 5062 | break; |
5063 | } | 5063 | } |
5064 | } | 5064 | } |
5065 | va_end (args_copy); | 5065 | va_end (args_copy); |
5066 | va_end (args); | 5066 | va_end (args); |
5067 | } | 5067 | } |
5068 | 5068 | ||
5069 | int | 5069 | int |
5070 | main () | 5070 | main () |
5071 | { | 5071 | { |
5072 | 5072 | ||
5073 | // Check bool. | 5073 | // Check bool. |
5074 | _Bool success = false; | 5074 | _Bool success = false; |
5075 | 5075 | ||
5076 | // Check restrict. | 5076 | // Check restrict. |
5077 | if (test_restrict ("String literal") == 0) | 5077 | if (test_restrict ("String literal") == 0) |
5078 | success = true; | 5078 | success = true; |
5079 | char *restrict newvar = "Another string"; | 5079 | char *restrict newvar = "Another string"; |
5080 | 5080 | ||
5081 | // Check varargs. | 5081 | // Check varargs. |
5082 | test_varargs ("s, d' f .", "string", 65, 34.234); | 5082 | test_varargs ("s, d' f .", "string", 65, 34.234); |
5083 | test_varargs_macros (); | 5083 | test_varargs_macros (); |
5084 | 5084 | ||
5085 | // Check flexible array members. | 5085 | // Check flexible array members. |
5086 | struct incomplete_array *ia = | 5086 | struct incomplete_array *ia = |
5087 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); | 5087 | malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10)); |
5088 | ia->datasize = 10; | 5088 | ia->datasize = 10; |
5089 | for (int i = 0; i < ia->datasize; ++i) | 5089 | for (int i = 0; i < ia->datasize; ++i) |
5090 | ia->data[i] = i * 1.234; | 5090 | ia->data[i] = i * 1.234; |
5091 | 5091 | ||
5092 | // Check named initializers. | 5092 | // Check named initializers. |
5093 | struct named_init ni = { | 5093 | struct named_init ni = { |
5094 | .number = 34, | 5094 | .number = 34, |
5095 | .name = L"Test wide string", | 5095 | .name = L"Test wide string", |
5096 | .average = 543.34343, | 5096 | .average = 543.34343, |
5097 | }; | 5097 | }; |
5098 | 5098 | ||
5099 | ni.number = 58; | 5099 | ni.number = 58; |
5100 | 5100 | ||
5101 | int dynamic_array[ni.number]; | 5101 | int dynamic_array[ni.number]; |
5102 | dynamic_array[ni.number - 1] = 543; | 5102 | dynamic_array[ni.number - 1] = 543; |
5103 | 5103 | ||
5104 | // work around unused variable warnings | 5104 | // work around unused variable warnings |
5105 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' | 5105 | return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x' |
5106 | || dynamic_array[ni.number - 1] != 543); | 5106 | || dynamic_array[ni.number - 1] != 543); |
5107 | 5107 | ||
5108 | ; | 5108 | ; |
5109 | return 0; | 5109 | return 0; |
5110 | } | 5110 | } |
5111 | _ACEOF | 5111 | _ACEOF |
5112 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 | 5112 | for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99 |
5113 | do | 5113 | do |
5114 | CC="$ac_save_CC $ac_arg" | 5114 | CC="$ac_save_CC $ac_arg" |
5115 | if ac_fn_c_try_compile "$LINENO"; then : | 5115 | if ac_fn_c_try_compile "$LINENO"; then : |
5116 | ac_cv_prog_cc_c99=$ac_arg | 5116 | ac_cv_prog_cc_c99=$ac_arg |
5117 | fi | 5117 | fi |
5118 | rm -f core conftest.err conftest.$ac_objext | 5118 | rm -f core conftest.err conftest.$ac_objext |
5119 | test "x$ac_cv_prog_cc_c99" != "xno" && break | 5119 | test "x$ac_cv_prog_cc_c99" != "xno" && break |
5120 | done | 5120 | done |
5121 | rm -f conftest.$ac_ext | 5121 | rm -f conftest.$ac_ext |
5122 | CC=$ac_save_CC | 5122 | CC=$ac_save_CC |
5123 | 5123 | ||
5124 | fi | 5124 | fi |
5125 | # AC_CACHE_VAL | 5125 | # AC_CACHE_VAL |
5126 | case "x$ac_cv_prog_cc_c99" in | 5126 | case "x$ac_cv_prog_cc_c99" in |
5127 | x) | 5127 | x) |
5128 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 5128 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
5129 | $as_echo "none needed" >&6; } ;; | 5129 | $as_echo "none needed" >&6; } ;; |
5130 | xno) | 5130 | xno) |
5131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 5131 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
5132 | $as_echo "unsupported" >&6; } ;; | 5132 | $as_echo "unsupported" >&6; } ;; |
5133 | *) | 5133 | *) |
5134 | CC="$CC $ac_cv_prog_cc_c99" | 5134 | CC="$CC $ac_cv_prog_cc_c99" |
5135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 | 5135 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5 |
5136 | $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; | 5136 | $as_echo "$ac_cv_prog_cc_c99" >&6; } ;; |
5137 | esac | 5137 | esac |
5138 | if test "x$ac_cv_prog_cc_c99" != xno; then : | 5138 | if test "x$ac_cv_prog_cc_c99" != xno; then : |
5139 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 | 5139 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99 |
5140 | else | 5140 | else |
5141 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 5141 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 |
5142 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 5142 | $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } |
5143 | if ${ac_cv_prog_cc_c89+:} false; then : | 5143 | if ${ac_cv_prog_cc_c89+:} false; then : |
5144 | $as_echo_n "(cached) " >&6 | 5144 | $as_echo_n "(cached) " >&6 |
5145 | else | 5145 | else |
5146 | ac_cv_prog_cc_c89=no | 5146 | ac_cv_prog_cc_c89=no |
5147 | ac_save_CC=$CC | 5147 | ac_save_CC=$CC |
5148 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5148 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5149 | /* end confdefs.h. */ | 5149 | /* end confdefs.h. */ |
5150 | #include <stdarg.h> | 5150 | #include <stdarg.h> |
5151 | #include <stdio.h> | 5151 | #include <stdio.h> |
5152 | #include <sys/types.h> | 5152 | #include <sys/types.h> |
5153 | #include <sys/stat.h> | 5153 | #include <sys/stat.h> |
5154 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | 5154 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ |
5155 | struct buf { int x; }; | 5155 | struct buf { int x; }; |
5156 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 5156 | FILE * (*rcsopen) (struct buf *, struct stat *, int); |
5157 | static char *e (p, i) | 5157 | static char *e (p, i) |
5158 | char **p; | 5158 | char **p; |
5159 | int i; | 5159 | int i; |
5160 | { | 5160 | { |
5161 | return p[i]; | 5161 | return p[i]; |
5162 | } | 5162 | } |
5163 | static char *f (char * (*g) (char **, int), char **p, ...) | 5163 | static char *f (char * (*g) (char **, int), char **p, ...) |
5164 | { | 5164 | { |
5165 | char *s; | 5165 | char *s; |
5166 | va_list v; | 5166 | va_list v; |
5167 | va_start (v,p); | 5167 | va_start (v,p); |
5168 | s = g (p, va_arg (v,int)); | 5168 | s = g (p, va_arg (v,int)); |
5169 | va_end (v); | 5169 | va_end (v); |
5170 | return s; | 5170 | return s; |
5171 | } | 5171 | } |
5172 | 5172 | ||
5173 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | 5173 | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has |
5174 | function prototypes and stuff, but not '\xHH' hex character constants. | 5174 | function prototypes and stuff, but not '\xHH' hex character constants. |
5175 | These don't provoke an error unfortunately, instead are silently treated | 5175 | These don't provoke an error unfortunately, instead are silently treated |
5176 | as 'x'. The following induces an error, until -std is added to get | 5176 | as 'x'. The following induces an error, until -std is added to get |
5177 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | 5177 | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an |
5178 | array size at least. It's necessary to write '\x00'==0 to get something | 5178 | array size at least. It's necessary to write '\x00'==0 to get something |
5179 | that's true only with -std. */ | 5179 | that's true only with -std. */ |
5180 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 5180 | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; |
5181 | 5181 | ||
5182 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 5182 | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters |
5183 | inside strings and character constants. */ | 5183 | inside strings and character constants. */ |
5184 | #define FOO(x) 'x' | 5184 | #define FOO(x) 'x' |
5185 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 5185 | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; |
5186 | 5186 | ||
5187 | int test (int i, double x); | 5187 | int test (int i, double x); |
5188 | struct s1 {int (*f) (int a);}; | 5188 | struct s1 {int (*f) (int a);}; |
5189 | struct s2 {int (*f) (double a);}; | 5189 | struct s2 {int (*f) (double a);}; |
5190 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 5190 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); |
5191 | int argc; | 5191 | int argc; |
5192 | char **argv; | 5192 | char **argv; |
5193 | int | 5193 | int |
5194 | main () | 5194 | main () |
5195 | { | 5195 | { |
5196 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | 5196 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; |
5197 | ; | 5197 | ; |
5198 | return 0; | 5198 | return 0; |
5199 | } | 5199 | } |
5200 | _ACEOF | 5200 | _ACEOF |
5201 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 5201 | for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ |
5202 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 5202 | -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" |
5203 | do | 5203 | do |
5204 | CC="$ac_save_CC $ac_arg" | 5204 | CC="$ac_save_CC $ac_arg" |
5205 | if ac_fn_c_try_compile "$LINENO"; then : | 5205 | if ac_fn_c_try_compile "$LINENO"; then : |
5206 | ac_cv_prog_cc_c89=$ac_arg | 5206 | ac_cv_prog_cc_c89=$ac_arg |
5207 | fi | 5207 | fi |
5208 | rm -f core conftest.err conftest.$ac_objext | 5208 | rm -f core conftest.err conftest.$ac_objext |
5209 | test "x$ac_cv_prog_cc_c89" != "xno" && break | 5209 | test "x$ac_cv_prog_cc_c89" != "xno" && break |
5210 | done | 5210 | done |
5211 | rm -f conftest.$ac_ext | 5211 | rm -f conftest.$ac_ext |
5212 | CC=$ac_save_CC | 5212 | CC=$ac_save_CC |
5213 | 5213 | ||
5214 | fi | 5214 | fi |
5215 | # AC_CACHE_VAL | 5215 | # AC_CACHE_VAL |
5216 | case "x$ac_cv_prog_cc_c89" in | 5216 | case "x$ac_cv_prog_cc_c89" in |
5217 | x) | 5217 | x) |
5218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 5218 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
5219 | $as_echo "none needed" >&6; } ;; | 5219 | $as_echo "none needed" >&6; } ;; |
5220 | xno) | 5220 | xno) |
5221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 5221 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
5222 | $as_echo "unsupported" >&6; } ;; | 5222 | $as_echo "unsupported" >&6; } ;; |
5223 | *) | 5223 | *) |
5224 | CC="$CC $ac_cv_prog_cc_c89" | 5224 | CC="$CC $ac_cv_prog_cc_c89" |
5225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 5225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 |
5226 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 5226 | $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; |
5227 | esac | 5227 | esac |
5228 | if test "x$ac_cv_prog_cc_c89" != xno; then : | 5228 | if test "x$ac_cv_prog_cc_c89" != xno; then : |
5229 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 | 5229 | ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89 |
5230 | else | 5230 | else |
5231 | ac_cv_prog_cc_stdc=no | 5231 | ac_cv_prog_cc_stdc=no |
5232 | fi | 5232 | fi |
5233 | 5233 | ||
5234 | fi | 5234 | fi |
5235 | ;; | 5235 | ;; |
5236 | esac | 5236 | esac |
5237 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 | 5237 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5 |
5238 | $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } | 5238 | $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; } |
5239 | if ${ac_cv_prog_cc_stdc+:} false; then : | 5239 | if ${ac_cv_prog_cc_stdc+:} false; then : |
5240 | $as_echo_n "(cached) " >&6 | 5240 | $as_echo_n "(cached) " >&6 |
5241 | fi | 5241 | fi |
5242 | 5242 | ||
5243 | case $ac_cv_prog_cc_stdc in #( | 5243 | case $ac_cv_prog_cc_stdc in #( |
5244 | no) : | 5244 | no) : |
5245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 5245 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 |
5246 | $as_echo "unsupported" >&6; } ;; #( | 5246 | $as_echo "unsupported" >&6; } ;; #( |
5247 | '') : | 5247 | '') : |
5248 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 5248 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 |
5249 | $as_echo "none needed" >&6; } ;; #( | 5249 | $as_echo "none needed" >&6; } ;; #( |
5250 | *) : | 5250 | *) : |
5251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 | 5251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5 |
5252 | $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; | 5252 | $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;; |
5253 | esac | 5253 | esac |
5254 | 5254 | ||
5255 | ac_ext=c | 5255 | ac_ext=c |
5256 | ac_cpp='$CPP $CPPFLAGS' | 5256 | ac_cpp='$CPP $CPPFLAGS' |
5257 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5257 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5258 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5258 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5259 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 5259 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5260 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 5260 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 |
5261 | $as_echo_n "checking how to run the C preprocessor... " >&6; } | 5261 | $as_echo_n "checking how to run the C preprocessor... " >&6; } |
5262 | # On Suns, sometimes $CPP names a directory. | 5262 | # On Suns, sometimes $CPP names a directory. |
5263 | if test -n "$CPP" && test -d "$CPP"; then | 5263 | if test -n "$CPP" && test -d "$CPP"; then |
5264 | CPP= | 5264 | CPP= |
5265 | fi | 5265 | fi |
5266 | if test -z "$CPP"; then | 5266 | if test -z "$CPP"; then |
5267 | if ${ac_cv_prog_CPP+:} false; then : | 5267 | if ${ac_cv_prog_CPP+:} false; then : |
5268 | $as_echo_n "(cached) " >&6 | 5268 | $as_echo_n "(cached) " >&6 |
5269 | else | 5269 | else |
5270 | # Double quotes because CPP needs to be expanded | 5270 | # Double quotes because CPP needs to be expanded |
5271 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 5271 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" |
5272 | do | 5272 | do |
5273 | ac_preproc_ok=false | 5273 | ac_preproc_ok=false |
5274 | for ac_c_preproc_warn_flag in '' yes | 5274 | for ac_c_preproc_warn_flag in '' yes |
5275 | do | 5275 | do |
5276 | # Use a header file that comes with gcc, so configuring glibc | 5276 | # Use a header file that comes with gcc, so configuring glibc |
5277 | # with a fresh cross-compiler works. | 5277 | # with a fresh cross-compiler works. |
5278 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5278 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5279 | # <limits.h> exists even on freestanding compilers. | 5279 | # <limits.h> exists even on freestanding compilers. |
5280 | # On the NeXT, cc -E runs the code through the compiler's parser, | 5280 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5281 | # not just through cpp. "Syntax error" is here to catch this case. | 5281 | # not just through cpp. "Syntax error" is here to catch this case. |
5282 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5282 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5283 | /* end confdefs.h. */ | 5283 | /* end confdefs.h. */ |
5284 | #ifdef __STDC__ | 5284 | #ifdef __STDC__ |
5285 | # include <limits.h> | 5285 | # include <limits.h> |
5286 | #else | 5286 | #else |
5287 | # include <assert.h> | 5287 | # include <assert.h> |
5288 | #endif | 5288 | #endif |
5289 | Syntax error | 5289 | Syntax error |
5290 | _ACEOF | 5290 | _ACEOF |
5291 | if ac_fn_c_try_cpp "$LINENO"; then : | 5291 | if ac_fn_c_try_cpp "$LINENO"; then : |
5292 | 5292 | ||
5293 | else | 5293 | else |
5294 | # Broken: fails on valid input. | 5294 | # Broken: fails on valid input. |
5295 | continue | 5295 | continue |
5296 | fi | 5296 | fi |
5297 | rm -f conftest.err conftest.i conftest.$ac_ext | 5297 | rm -f conftest.err conftest.i conftest.$ac_ext |
5298 | 5298 | ||
5299 | # OK, works on sane cases. Now check whether nonexistent headers | 5299 | # OK, works on sane cases. Now check whether nonexistent headers |
5300 | # can be detected and how. | 5300 | # can be detected and how. |
5301 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5301 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5302 | /* end confdefs.h. */ | 5302 | /* end confdefs.h. */ |
5303 | #include <ac_nonexistent.h> | 5303 | #include <ac_nonexistent.h> |
5304 | _ACEOF | 5304 | _ACEOF |
5305 | if ac_fn_c_try_cpp "$LINENO"; then : | 5305 | if ac_fn_c_try_cpp "$LINENO"; then : |
5306 | # Broken: success on invalid input. | 5306 | # Broken: success on invalid input. |
5307 | continue | 5307 | continue |
5308 | else | 5308 | else |
5309 | # Passes both tests. | 5309 | # Passes both tests. |
5310 | ac_preproc_ok=: | 5310 | ac_preproc_ok=: |
5311 | break | 5311 | break |
5312 | fi | 5312 | fi |
5313 | rm -f conftest.err conftest.i conftest.$ac_ext | 5313 | rm -f conftest.err conftest.i conftest.$ac_ext |
5314 | 5314 | ||
5315 | done | 5315 | done |
5316 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5316 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5317 | rm -f conftest.i conftest.err conftest.$ac_ext | 5317 | rm -f conftest.i conftest.err conftest.$ac_ext |
5318 | if $ac_preproc_ok; then : | 5318 | if $ac_preproc_ok; then : |
5319 | break | 5319 | break |
5320 | fi | 5320 | fi |
5321 | 5321 | ||
5322 | done | 5322 | done |
5323 | ac_cv_prog_CPP=$CPP | 5323 | ac_cv_prog_CPP=$CPP |
5324 | 5324 | ||
5325 | fi | 5325 | fi |
5326 | CPP=$ac_cv_prog_CPP | 5326 | CPP=$ac_cv_prog_CPP |
5327 | else | 5327 | else |
5328 | ac_cv_prog_CPP=$CPP | 5328 | ac_cv_prog_CPP=$CPP |
5329 | fi | 5329 | fi |
5330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 5330 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 |
5331 | $as_echo "$CPP" >&6; } | 5331 | $as_echo "$CPP" >&6; } |
5332 | ac_preproc_ok=false | 5332 | ac_preproc_ok=false |
5333 | for ac_c_preproc_warn_flag in '' yes | 5333 | for ac_c_preproc_warn_flag in '' yes |
5334 | do | 5334 | do |
5335 | # Use a header file that comes with gcc, so configuring glibc | 5335 | # Use a header file that comes with gcc, so configuring glibc |
5336 | # with a fresh cross-compiler works. | 5336 | # with a fresh cross-compiler works. |
5337 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 5337 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
5338 | # <limits.h> exists even on freestanding compilers. | 5338 | # <limits.h> exists even on freestanding compilers. |
5339 | # On the NeXT, cc -E runs the code through the compiler's parser, | 5339 | # On the NeXT, cc -E runs the code through the compiler's parser, |
5340 | # not just through cpp. "Syntax error" is here to catch this case. | 5340 | # not just through cpp. "Syntax error" is here to catch this case. |
5341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5341 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5342 | /* end confdefs.h. */ | 5342 | /* end confdefs.h. */ |
5343 | #ifdef __STDC__ | 5343 | #ifdef __STDC__ |
5344 | # include <limits.h> | 5344 | # include <limits.h> |
5345 | #else | 5345 | #else |
5346 | # include <assert.h> | 5346 | # include <assert.h> |
5347 | #endif | 5347 | #endif |
5348 | Syntax error | 5348 | Syntax error |
5349 | _ACEOF | 5349 | _ACEOF |
5350 | if ac_fn_c_try_cpp "$LINENO"; then : | 5350 | if ac_fn_c_try_cpp "$LINENO"; then : |
5351 | 5351 | ||
5352 | else | 5352 | else |
5353 | # Broken: fails on valid input. | 5353 | # Broken: fails on valid input. |
5354 | continue | 5354 | continue |
5355 | fi | 5355 | fi |
5356 | rm -f conftest.err conftest.i conftest.$ac_ext | 5356 | rm -f conftest.err conftest.i conftest.$ac_ext |
5357 | 5357 | ||
5358 | # OK, works on sane cases. Now check whether nonexistent headers | 5358 | # OK, works on sane cases. Now check whether nonexistent headers |
5359 | # can be detected and how. | 5359 | # can be detected and how. |
5360 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5360 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5361 | /* end confdefs.h. */ | 5361 | /* end confdefs.h. */ |
5362 | #include <ac_nonexistent.h> | 5362 | #include <ac_nonexistent.h> |
5363 | _ACEOF | 5363 | _ACEOF |
5364 | if ac_fn_c_try_cpp "$LINENO"; then : | 5364 | if ac_fn_c_try_cpp "$LINENO"; then : |
5365 | # Broken: success on invalid input. | 5365 | # Broken: success on invalid input. |
5366 | continue | 5366 | continue |
5367 | else | 5367 | else |
5368 | # Passes both tests. | 5368 | # Passes both tests. |
5369 | ac_preproc_ok=: | 5369 | ac_preproc_ok=: |
5370 | break | 5370 | break |
5371 | fi | 5371 | fi |
5372 | rm -f conftest.err conftest.i conftest.$ac_ext | 5372 | rm -f conftest.err conftest.i conftest.$ac_ext |
5373 | 5373 | ||
5374 | done | 5374 | done |
5375 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 5375 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
5376 | rm -f conftest.i conftest.err conftest.$ac_ext | 5376 | rm -f conftest.i conftest.err conftest.$ac_ext |
5377 | if $ac_preproc_ok; then : | 5377 | if $ac_preproc_ok; then : |
5378 | 5378 | ||
5379 | else | 5379 | else |
5380 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 5380 | { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
5381 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 5381 | $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
5382 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 5382 | as_fn_error $? "C preprocessor \"$CPP\" fails sanity check |
5383 | See \`config.log' for more details" "$LINENO" 5; } | 5383 | See \`config.log' for more details" "$LINENO" 5; } |
5384 | fi | 5384 | fi |
5385 | 5385 | ||
5386 | ac_ext=c | 5386 | ac_ext=c |
5387 | ac_cpp='$CPP $CPPFLAGS' | 5387 | ac_cpp='$CPP $CPPFLAGS' |
5388 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 5388 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
5389 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 5389 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
5390 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 5390 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
5391 | 5391 | ||
5392 | 5392 | ||
5393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 | 5393 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 |
5394 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } | 5394 | $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } |
5395 | set x ${MAKE-make} | 5395 | set x ${MAKE-make} |
5396 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` | 5396 | ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` |
5397 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : | 5397 | if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then : |
5398 | $as_echo_n "(cached) " >&6 | 5398 | $as_echo_n "(cached) " >&6 |
5399 | else | 5399 | else |
5400 | cat >conftest.make <<\_ACEOF | 5400 | cat >conftest.make <<\_ACEOF |
5401 | SHELL = /bin/sh | 5401 | SHELL = /bin/sh |
5402 | all: | 5402 | all: |
5403 | @echo '@@@%%%=$(MAKE)=@@@%%%' | 5403 | @echo '@@@%%%=$(MAKE)=@@@%%%' |
5404 | _ACEOF | 5404 | _ACEOF |
5405 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. | 5405 | # GNU make sometimes prints "make[1]: Entering ...", which would confuse us. |
5406 | case `${MAKE-make} -f conftest.make 2>/dev/null` in | 5406 | case `${MAKE-make} -f conftest.make 2>/dev/null` in |
5407 | *@@@%%%=?*=@@@%%%*) | 5407 | *@@@%%%=?*=@@@%%%*) |
5408 | eval ac_cv_prog_make_${ac_make}_set=yes;; | 5408 | eval ac_cv_prog_make_${ac_make}_set=yes;; |
5409 | *) | 5409 | *) |
5410 | eval ac_cv_prog_make_${ac_make}_set=no;; | 5410 | eval ac_cv_prog_make_${ac_make}_set=no;; |
5411 | esac | 5411 | esac |
5412 | rm -f conftest.make | 5412 | rm -f conftest.make |
5413 | fi | 5413 | fi |
5414 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then | 5414 | if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then |
5415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5416 | $as_echo "yes" >&6; } | 5416 | $as_echo "yes" >&6; } |
5417 | SET_MAKE= | 5417 | SET_MAKE= |
5418 | else | 5418 | else |
5419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5419 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5420 | $as_echo "no" >&6; } | 5420 | $as_echo "no" >&6; } |
5421 | SET_MAKE="MAKE=${MAKE-make}" | 5421 | SET_MAKE="MAKE=${MAKE-make}" |
5422 | fi | 5422 | fi |
5423 | 5423 | ||
5424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 5424 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 |
5425 | $as_echo_n "checking whether ln -s works... " >&6; } | 5425 | $as_echo_n "checking whether ln -s works... " >&6; } |
5426 | LN_S=$as_ln_s | 5426 | LN_S=$as_ln_s |
5427 | if test "$LN_S" = "ln -s"; then | 5427 | if test "$LN_S" = "ln -s"; then |
5428 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5428 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5429 | $as_echo "yes" >&6; } | 5429 | $as_echo "yes" >&6; } |
5430 | else | 5430 | else |
5431 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 5431 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 |
5432 | $as_echo "no, using $LN_S" >&6; } | 5432 | $as_echo "no, using $LN_S" >&6; } |
5433 | fi | 5433 | fi |
5434 | 5434 | ||
5435 | 5435 | ||
5436 | # Check if LD supports linker scripts, | 5436 | # Check if LD supports linker scripts, |
5437 | # and define automake conditional HAVE_LD_VERSION_SCRIPT if so. | 5437 | # and define automake conditional HAVE_LD_VERSION_SCRIPT if so. |
5438 | # Check whether --enable-ld-version-script was given. | 5438 | # Check whether --enable-ld-version-script was given. |
5439 | if test "${enable_ld_version_script+set}" = set; then : | 5439 | if test "${enable_ld_version_script+set}" = set; then : |
5440 | enableval=$enable_ld_version_script; have_ld_version_script=$enableval | 5440 | enableval=$enable_ld_version_script; have_ld_version_script=$enableval |
5441 | fi | 5441 | fi |
5442 | 5442 | ||
5443 | if test -z "$have_ld_version_script"; then | 5443 | if test -z "$have_ld_version_script"; then |
5444 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5 | 5444 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if LD -Wl,--version-script works" >&5 |
5445 | $as_echo_n "checking if LD -Wl,--version-script works... " >&6; } | 5445 | $as_echo_n "checking if LD -Wl,--version-script works... " >&6; } |
5446 | save_LDFLAGS="$LDFLAGS" | 5446 | save_LDFLAGS="$LDFLAGS" |
5447 | LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" | 5447 | LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" |
5448 | cat > conftest.map <<EOF | 5448 | cat > conftest.map <<EOF |
5449 | VERS_1 { | 5449 | VERS_1 { |
5450 | global: sym; | 5450 | global: sym; |
5451 | }; | 5451 | }; |
5452 | 5452 | ||
5453 | VERS_2 { | 5453 | VERS_2 { |
5454 | global: sym; | 5454 | global: sym; |
5455 | } VERS_1; | 5455 | } VERS_1; |
5456 | EOF | 5456 | EOF |
5457 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5457 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5458 | /* end confdefs.h. */ | 5458 | /* end confdefs.h. */ |
5459 | 5459 | ||
5460 | int | 5460 | int |
5461 | main () | 5461 | main () |
5462 | { | 5462 | { |
5463 | 5463 | ||
5464 | ; | 5464 | ; |
5465 | return 0; | 5465 | return 0; |
5466 | } | 5466 | } |
5467 | _ACEOF | 5467 | _ACEOF |
5468 | if ac_fn_c_try_link "$LINENO"; then : | 5468 | if ac_fn_c_try_link "$LINENO"; then : |
5469 | have_ld_version_script=yes | 5469 | have_ld_version_script=yes |
5470 | else | 5470 | else |
5471 | have_ld_version_script=no | 5471 | have_ld_version_script=no |
5472 | fi | 5472 | fi |
5473 | rm -f core conftest.err conftest.$ac_objext \ | 5473 | rm -f core conftest.err conftest.$ac_objext \ |
5474 | conftest$ac_exeext conftest.$ac_ext | 5474 | conftest$ac_exeext conftest.$ac_ext |
5475 | rm -f conftest.map | 5475 | rm -f conftest.map |
5476 | LDFLAGS="$save_LDFLAGS" | 5476 | LDFLAGS="$save_LDFLAGS" |
5477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5 | 5477 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_ld_version_script" >&5 |
5478 | $as_echo "$have_ld_version_script" >&6; } | 5478 | $as_echo "$have_ld_version_script" >&6; } |
5479 | fi | 5479 | fi |
5480 | if test "$have_ld_version_script" = "yes"; then | 5480 | if test "$have_ld_version_script" = "yes"; then |
5481 | HAVE_LD_VERSION_SCRIPT_TRUE= | 5481 | HAVE_LD_VERSION_SCRIPT_TRUE= |
5482 | HAVE_LD_VERSION_SCRIPT_FALSE='#' | 5482 | HAVE_LD_VERSION_SCRIPT_FALSE='#' |
5483 | else | 5483 | else |
5484 | HAVE_LD_VERSION_SCRIPT_TRUE='#' | 5484 | HAVE_LD_VERSION_SCRIPT_TRUE='#' |
5485 | HAVE_LD_VERSION_SCRIPT_FALSE= | 5485 | HAVE_LD_VERSION_SCRIPT_FALSE= |
5486 | fi | 5486 | fi |
5487 | 5487 | ||
5488 | 5488 | ||
5489 | # See if compiler supports prototypes. | 5489 | # See if compiler supports prototypes. |
5490 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 | 5490 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for function prototypes" >&5 |
5491 | $as_echo_n "checking for function prototypes... " >&6; } | 5491 | $as_echo_n "checking for function prototypes... " >&6; } |
5492 | if ${ijg_cv_have_prototypes+:} false; then : | 5492 | if ${ijg_cv_have_prototypes+:} false; then : |
5493 | $as_echo_n "(cached) " >&6 | 5493 | $as_echo_n "(cached) " >&6 |
5494 | else | 5494 | else |
5495 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5495 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5496 | /* end confdefs.h. */ | 5496 | /* end confdefs.h. */ |
5497 | 5497 | ||
5498 | int testfunction (int arg1, int * arg2); /* check prototypes */ | 5498 | int testfunction (int arg1, int * arg2); /* check prototypes */ |
5499 | struct methods_struct { /* check method-pointer declarations */ | 5499 | struct methods_struct { /* check method-pointer declarations */ |
5500 | int (*error_exit) (char *msgtext); | 5500 | int (*error_exit) (char *msgtext); |
5501 | int (*trace_message) (char *msgtext); | 5501 | int (*trace_message) (char *msgtext); |
5502 | int (*another_method) (void); | 5502 | int (*another_method) (void); |
5503 | }; | 5503 | }; |
5504 | int testfunction (int arg1, int * arg2) /* check definitions */ | 5504 | int testfunction (int arg1, int * arg2) /* check definitions */ |
5505 | { return arg2[arg1]; } | 5505 | { return arg2[arg1]; } |
5506 | int test2function (void) /* check void arg list */ | 5506 | int test2function (void) /* check void arg list */ |
5507 | { return 0; } | 5507 | { return 0; } |
5508 | 5508 | ||
5509 | _ACEOF | 5509 | _ACEOF |
5510 | if ac_fn_c_try_compile "$LINENO"; then : | 5510 | if ac_fn_c_try_compile "$LINENO"; then : |
5511 | ijg_cv_have_prototypes=yes | 5511 | ijg_cv_have_prototypes=yes |
5512 | else | 5512 | else |
5513 | ijg_cv_have_prototypes=no | 5513 | ijg_cv_have_prototypes=no |
5514 | fi | 5514 | fi |
5515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5515 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5516 | fi | 5516 | fi |
5517 | 5517 | ||
5518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_cv_have_prototypes" >&5 | 5518 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_cv_have_prototypes" >&5 |
5519 | $as_echo "$ijg_cv_have_prototypes" >&6; } | 5519 | $as_echo "$ijg_cv_have_prototypes" >&6; } |
5520 | if test $ijg_cv_have_prototypes = yes; then | 5520 | if test $ijg_cv_have_prototypes = yes; then |
5521 | 5521 | ||
5522 | $as_echo "#define HAVE_PROTOTYPES 1" >>confdefs.h | 5522 | $as_echo "#define HAVE_PROTOTYPES 1" >>confdefs.h |
5523 | 5523 | ||
5524 | else | 5524 | else |
5525 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your compiler does not seem to know about function prototypes. | 5525 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Your compiler does not seem to know about function prototypes. |
5526 | Perhaps it needs a special switch to enable ANSI C mode. | 5526 | Perhaps it needs a special switch to enable ANSI C mode. |
5527 | If so, we recommend running configure like this: | 5527 | If so, we recommend running configure like this: |
5528 | ./configure CC='cc -switch' | 5528 | ./configure CC='cc -switch' |
5529 | where -switch is the proper switch." >&5 | 5529 | where -switch is the proper switch." >&5 |
5530 | $as_echo "$as_me: WARNING: Your compiler does not seem to know about function prototypes. | 5530 | $as_echo "$as_me: WARNING: Your compiler does not seem to know about function prototypes. |
5531 | Perhaps it needs a special switch to enable ANSI C mode. | 5531 | Perhaps it needs a special switch to enable ANSI C mode. |
5532 | If so, we recommend running configure like this: | 5532 | If so, we recommend running configure like this: |
5533 | ./configure CC='cc -switch' | 5533 | ./configure CC='cc -switch' |
5534 | where -switch is the proper switch." >&2;} | 5534 | where -switch is the proper switch." >&2;} |
5535 | fi | 5535 | fi |
5536 | 5536 | ||
5537 | # Check header files | 5537 | # Check header files |
5538 | for ac_header in stddef.h stdlib.h locale.h | 5538 | for ac_header in stddef.h stdlib.h locale.h |
5539 | do : | 5539 | do : |
5540 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 5540 | as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5541 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 5541 | ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
5542 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 5542 | if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : |
5543 | cat >>confdefs.h <<_ACEOF | 5543 | cat >>confdefs.h <<_ACEOF |
5544 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 5544 | #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
5545 | _ACEOF | 5545 | _ACEOF |
5546 | 5546 | ||
5547 | fi | 5547 | fi |
5548 | 5548 | ||
5549 | done | 5549 | done |
5550 | 5550 | ||
5551 | ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" | 5551 | ac_fn_c_check_header_mongrel "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default" |
5552 | if test "x$ac_cv_header_string_h" = xyes; then : | 5552 | if test "x$ac_cv_header_string_h" = xyes; then : |
5553 | 5553 | ||
5554 | else | 5554 | else |
5555 | 5555 | ||
5556 | $as_echo "#define NEED_BSD_STRINGS 1" >>confdefs.h | 5556 | $as_echo "#define NEED_BSD_STRINGS 1" >>confdefs.h |
5557 | 5557 | ||
5558 | fi | 5558 | fi |
5559 | 5559 | ||
5560 | 5560 | ||
5561 | 5561 | ||
5562 | # See whether type size_t is defined in any ANSI-standard places; | 5562 | # See whether type size_t is defined in any ANSI-standard places; |
5563 | # if not, perhaps it is defined in <sys/types.h>. | 5563 | # if not, perhaps it is defined in <sys/types.h>. |
5564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t" >&5 | 5564 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t" >&5 |
5565 | $as_echo_n "checking for size_t... " >&6; } | 5565 | $as_echo_n "checking for size_t... " >&6; } |
5566 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5566 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5567 | /* end confdefs.h. */ | 5567 | /* end confdefs.h. */ |
5568 | 5568 | ||
5569 | #ifdef HAVE_STDDEF_H | 5569 | #ifdef HAVE_STDDEF_H |
5570 | #include <stddef.h> | 5570 | #include <stddef.h> |
5571 | #endif | 5571 | #endif |
5572 | #ifdef HAVE_STDLIB_H | 5572 | #ifdef HAVE_STDLIB_H |
5573 | #include <stdlib.h> | 5573 | #include <stdlib.h> |
5574 | #endif | 5574 | #endif |
5575 | #include <stdio.h> | 5575 | #include <stdio.h> |
5576 | #ifdef NEED_BSD_STRINGS | 5576 | #ifdef NEED_BSD_STRINGS |
5577 | #include <strings.h> | 5577 | #include <strings.h> |
5578 | #else | 5578 | #else |
5579 | #include <string.h> | 5579 | #include <string.h> |
5580 | #endif | 5580 | #endif |
5581 | typedef size_t my_size_t; | 5581 | typedef size_t my_size_t; |
5582 | 5582 | ||
5583 | int | 5583 | int |
5584 | main () | 5584 | main () |
5585 | { | 5585 | { |
5586 | my_size_t foovar; | 5586 | my_size_t foovar; |
5587 | ; | 5587 | ; |
5588 | return 0; | 5588 | return 0; |
5589 | } | 5589 | } |
5590 | _ACEOF | 5590 | _ACEOF |
5591 | if ac_fn_c_try_compile "$LINENO"; then : | 5591 | if ac_fn_c_try_compile "$LINENO"; then : |
5592 | ijg_size_t_ok=yes | 5592 | ijg_size_t_ok=yes |
5593 | else | 5593 | else |
5594 | ijg_size_t_ok="not ANSI, perhaps it is in sys/types.h" | 5594 | ijg_size_t_ok="not ANSI, perhaps it is in sys/types.h" |
5595 | fi | 5595 | fi |
5596 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5596 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_size_t_ok" >&5 | 5597 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_size_t_ok" >&5 |
5598 | $as_echo "$ijg_size_t_ok" >&6; } | 5598 | $as_echo "$ijg_size_t_ok" >&6; } |
5599 | if test "$ijg_size_t_ok" != yes; then | 5599 | if test "$ijg_size_t_ok" != yes; then |
5600 | ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" | 5600 | ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default" |
5601 | if test "x$ac_cv_header_sys_types_h" = xyes; then : | 5601 | if test "x$ac_cv_header_sys_types_h" = xyes; then : |
5602 | 5602 | ||
5603 | $as_echo "#define NEED_SYS_TYPES_H 1" >>confdefs.h | 5603 | $as_echo "#define NEED_SYS_TYPES_H 1" >>confdefs.h |
5604 | 5604 | ||
5605 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5605 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5606 | /* end confdefs.h. */ | 5606 | /* end confdefs.h. */ |
5607 | #include <sys/types.h> | 5607 | #include <sys/types.h> |
5608 | _ACEOF | 5608 | _ACEOF |
5609 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5609 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5610 | $EGREP "size_t" >/dev/null 2>&1; then : | 5610 | $EGREP "size_t" >/dev/null 2>&1; then : |
5611 | ijg_size_t_ok="size_t is in sys/types.h" | 5611 | ijg_size_t_ok="size_t is in sys/types.h" |
5612 | else | 5612 | else |
5613 | ijg_size_t_ok=no | 5613 | ijg_size_t_ok=no |
5614 | fi | 5614 | fi |
5615 | rm -f conftest* | 5615 | rm -f conftest* |
5616 | 5616 | ||
5617 | else | 5617 | else |
5618 | ijg_size_t_ok=no | 5618 | ijg_size_t_ok=no |
5619 | fi | 5619 | fi |
5620 | 5620 | ||
5621 | 5621 | ||
5622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_size_t_ok" >&5 | 5622 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_size_t_ok" >&5 |
5623 | $as_echo "$ijg_size_t_ok" >&6; } | 5623 | $as_echo "$ijg_size_t_ok" >&6; } |
5624 | if test "$ijg_size_t_ok" = no; then | 5624 | if test "$ijg_size_t_ok" = no; then |
5625 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Type size_t is not defined in any of the usual places. | 5625 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Type size_t is not defined in any of the usual places. |
5626 | Try putting '\"typedef unsigned int size_t;\"' in jconfig.h." >&5 | 5626 | Try putting '\"typedef unsigned int size_t;\"' in jconfig.h." >&5 |
5627 | $as_echo "$as_me: WARNING: Type size_t is not defined in any of the usual places. | 5627 | $as_echo "$as_me: WARNING: Type size_t is not defined in any of the usual places. |
5628 | Try putting '\"typedef unsigned int size_t;\"' in jconfig.h." >&2;} | 5628 | Try putting '\"typedef unsigned int size_t;\"' in jconfig.h." >&2;} |
5629 | fi | 5629 | fi |
5630 | fi | 5630 | fi |
5631 | 5631 | ||
5632 | # Check compiler characteristics | 5632 | # Check compiler characteristics |
5633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type unsigned char" >&5 | 5633 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type unsigned char" >&5 |
5634 | $as_echo_n "checking for type unsigned char... " >&6; } | 5634 | $as_echo_n "checking for type unsigned char... " >&6; } |
5635 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5635 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5636 | /* end confdefs.h. */ | 5636 | /* end confdefs.h. */ |
5637 | 5637 | ||
5638 | int | 5638 | int |
5639 | main () | 5639 | main () |
5640 | { | 5640 | { |
5641 | unsigned char un_char; | 5641 | unsigned char un_char; |
5642 | ; | 5642 | ; |
5643 | return 0; | 5643 | return 0; |
5644 | } | 5644 | } |
5645 | _ACEOF | 5645 | _ACEOF |
5646 | if ac_fn_c_try_compile "$LINENO"; then : | 5646 | if ac_fn_c_try_compile "$LINENO"; then : |
5647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5647 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5648 | $as_echo "yes" >&6; } | 5648 | $as_echo "yes" >&6; } |
5649 | 5649 | ||
5650 | $as_echo "#define HAVE_UNSIGNED_CHAR 1" >>confdefs.h | 5650 | $as_echo "#define HAVE_UNSIGNED_CHAR 1" >>confdefs.h |
5651 | 5651 | ||
5652 | else | 5652 | else |
5653 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5653 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5654 | $as_echo "no" >&6; } | 5654 | $as_echo "no" >&6; } |
5655 | fi | 5655 | fi |
5656 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5656 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5657 | 5657 | ||
5658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type unsigned short" >&5 | 5658 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type unsigned short" >&5 |
5659 | $as_echo_n "checking for type unsigned short... " >&6; } | 5659 | $as_echo_n "checking for type unsigned short... " >&6; } |
5660 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5660 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5661 | /* end confdefs.h. */ | 5661 | /* end confdefs.h. */ |
5662 | 5662 | ||
5663 | int | 5663 | int |
5664 | main () | 5664 | main () |
5665 | { | 5665 | { |
5666 | unsigned short un_short; | 5666 | unsigned short un_short; |
5667 | ; | 5667 | ; |
5668 | return 0; | 5668 | return 0; |
5669 | } | 5669 | } |
5670 | _ACEOF | 5670 | _ACEOF |
5671 | if ac_fn_c_try_compile "$LINENO"; then : | 5671 | if ac_fn_c_try_compile "$LINENO"; then : |
5672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5672 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5673 | $as_echo "yes" >&6; } | 5673 | $as_echo "yes" >&6; } |
5674 | 5674 | ||
5675 | $as_echo "#define HAVE_UNSIGNED_SHORT 1" >>confdefs.h | 5675 | $as_echo "#define HAVE_UNSIGNED_SHORT 1" >>confdefs.h |
5676 | 5676 | ||
5677 | else | 5677 | else |
5678 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5678 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5679 | $as_echo "no" >&6; } | 5679 | $as_echo "no" >&6; } |
5680 | fi | 5680 | fi |
5681 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5681 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5682 | 5682 | ||
5683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type void" >&5 | 5683 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type void" >&5 |
5684 | $as_echo_n "checking for type void... " >&6; } | 5684 | $as_echo_n "checking for type void... " >&6; } |
5685 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5685 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5686 | /* end confdefs.h. */ | 5686 | /* end confdefs.h. */ |
5687 | 5687 | ||
5688 | /* Caution: a C++ compiler will insist on valid prototypes */ | 5688 | /* Caution: a C++ compiler will insist on valid prototypes */ |
5689 | typedef void * void_ptr; /* check void * */ | 5689 | typedef void * void_ptr; /* check void * */ |
5690 | #ifdef HAVE_PROTOTYPES /* check ptr to function returning void */ | 5690 | #ifdef HAVE_PROTOTYPES /* check ptr to function returning void */ |
5691 | typedef void (*void_func) (int a, int b); | 5691 | typedef void (*void_func) (int a, int b); |
5692 | #else | 5692 | #else |
5693 | typedef void (*void_func) (); | 5693 | typedef void (*void_func) (); |
5694 | #endif | 5694 | #endif |
5695 | 5695 | ||
5696 | #ifdef HAVE_PROTOTYPES /* check void function result */ | 5696 | #ifdef HAVE_PROTOTYPES /* check void function result */ |
5697 | void test3function (void_ptr arg1, void_func arg2) | 5697 | void test3function (void_ptr arg1, void_func arg2) |
5698 | #else | 5698 | #else |
5699 | void test3function (arg1, arg2) | 5699 | void test3function (arg1, arg2) |
5700 | void_ptr arg1; | 5700 | void_ptr arg1; |
5701 | void_func arg2; | 5701 | void_func arg2; |
5702 | #endif | 5702 | #endif |
5703 | { | 5703 | { |
5704 | char * locptr = (char *) arg1; /* check casting to and from void * */ | 5704 | char * locptr = (char *) arg1; /* check casting to and from void * */ |
5705 | arg1 = (void *) locptr; | 5705 | arg1 = (void *) locptr; |
5706 | (*arg2) (1, 2); /* check call of fcn returning void */ | 5706 | (*arg2) (1, 2); /* check call of fcn returning void */ |
5707 | } | 5707 | } |
5708 | 5708 | ||
5709 | int | 5709 | int |
5710 | main () | 5710 | main () |
5711 | { | 5711 | { |
5712 | 5712 | ||
5713 | ; | 5713 | ; |
5714 | return 0; | 5714 | return 0; |
5715 | } | 5715 | } |
5716 | _ACEOF | 5716 | _ACEOF |
5717 | if ac_fn_c_try_compile "$LINENO"; then : | 5717 | if ac_fn_c_try_compile "$LINENO"; then : |
5718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5718 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5719 | $as_echo "yes" >&6; } | 5719 | $as_echo "yes" >&6; } |
5720 | else | 5720 | else |
5721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5721 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5722 | $as_echo "no" >&6; } | 5722 | $as_echo "no" >&6; } |
5723 | 5723 | ||
5724 | $as_echo "#define void char" >>confdefs.h | 5724 | $as_echo "#define void char" >>confdefs.h |
5725 | 5725 | ||
5726 | fi | 5726 | fi |
5727 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5727 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 | 5728 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5 |
5729 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } | 5729 | $as_echo_n "checking for an ANSI C-conforming const... " >&6; } |
5730 | if ${ac_cv_c_const+:} false; then : | 5730 | if ${ac_cv_c_const+:} false; then : |
5731 | $as_echo_n "(cached) " >&6 | 5731 | $as_echo_n "(cached) " >&6 |
5732 | else | 5732 | else |
5733 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5733 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5734 | /* end confdefs.h. */ | 5734 | /* end confdefs.h. */ |
5735 | 5735 | ||
5736 | int | 5736 | int |
5737 | main () | 5737 | main () |
5738 | { | 5738 | { |
5739 | /* FIXME: Include the comments suggested by Paul. */ | 5739 | /* FIXME: Include the comments suggested by Paul. */ |
5740 | #ifndef __cplusplus | 5740 | #ifndef __cplusplus |
5741 | /* Ultrix mips cc rejects this. */ | 5741 | /* Ultrix mips cc rejects this. */ |
5742 | typedef int charset[2]; | 5742 | typedef int charset[2]; |
5743 | const charset cs; | 5743 | const charset cs; |
5744 | /* SunOS 4.1.1 cc rejects this. */ | 5744 | /* SunOS 4.1.1 cc rejects this. */ |
5745 | char const *const *pcpcc; | 5745 | char const *const *pcpcc; |
5746 | char **ppc; | 5746 | char **ppc; |
5747 | /* NEC SVR4.0.2 mips cc rejects this. */ | 5747 | /* NEC SVR4.0.2 mips cc rejects this. */ |
5748 | struct point {int x, y;}; | 5748 | struct point {int x, y;}; |
5749 | static struct point const zero = {0,0}; | 5749 | static struct point const zero = {0,0}; |
5750 | /* AIX XL C 1.02.0.0 rejects this. | 5750 | /* AIX XL C 1.02.0.0 rejects this. |
5751 | It does not let you subtract one const X* pointer from another in | 5751 | It does not let you subtract one const X* pointer from another in |
5752 | an arm of an if-expression whose if-part is not a constant | 5752 | an arm of an if-expression whose if-part is not a constant |
5753 | expression */ | 5753 | expression */ |
5754 | const char *g = "string"; | 5754 | const char *g = "string"; |
5755 | pcpcc = &g + (g ? g-g : 0); | 5755 | pcpcc = &g + (g ? g-g : 0); |
5756 | /* HPUX 7.0 cc rejects these. */ | 5756 | /* HPUX 7.0 cc rejects these. */ |
5757 | ++pcpcc; | 5757 | ++pcpcc; |
5758 | ppc = (char**) pcpcc; | 5758 | ppc = (char**) pcpcc; |
5759 | pcpcc = (char const *const *) ppc; | 5759 | pcpcc = (char const *const *) ppc; |
5760 | { /* SCO 3.2v4 cc rejects this. */ | 5760 | { /* SCO 3.2v4 cc rejects this. */ |
5761 | char *t; | 5761 | char *t; |
5762 | char const *s = 0 ? (char *) 0 : (char const *) 0; | 5762 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
5763 | 5763 | ||
5764 | *t++ = 0; | 5764 | *t++ = 0; |
5765 | if (s) return 0; | 5765 | if (s) return 0; |
5766 | } | 5766 | } |
5767 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | 5767 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
5768 | int x[] = {25, 17}; | 5768 | int x[] = {25, 17}; |
5769 | const int *foo = &x[0]; | 5769 | const int *foo = &x[0]; |
5770 | ++foo; | 5770 | ++foo; |
5771 | } | 5771 | } |
5772 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 5772 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
5773 | typedef const int *iptr; | 5773 | typedef const int *iptr; |
5774 | iptr p = 0; | 5774 | iptr p = 0; |
5775 | ++p; | 5775 | ++p; |
5776 | } | 5776 | } |
5777 | { /* AIX XL C 1.02.0.0 rejects this saying | 5777 | { /* AIX XL C 1.02.0.0 rejects this saying |
5778 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 5778 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
5779 | struct s { int j; const int *ap[3]; }; | 5779 | struct s { int j; const int *ap[3]; }; |
5780 | struct s *b; b->j = 5; | 5780 | struct s *b; b->j = 5; |
5781 | } | 5781 | } |
5782 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 5782 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
5783 | const int foo = 10; | 5783 | const int foo = 10; |
5784 | if (!foo) return 0; | 5784 | if (!foo) return 0; |
5785 | } | 5785 | } |
5786 | return !cs[0] && !zero.x; | 5786 | return !cs[0] && !zero.x; |
5787 | #endif | 5787 | #endif |
5788 | 5788 | ||
5789 | ; | 5789 | ; |
5790 | return 0; | 5790 | return 0; |
5791 | } | 5791 | } |
5792 | _ACEOF | 5792 | _ACEOF |
5793 | if ac_fn_c_try_compile "$LINENO"; then : | 5793 | if ac_fn_c_try_compile "$LINENO"; then : |
5794 | ac_cv_c_const=yes | 5794 | ac_cv_c_const=yes |
5795 | else | 5795 | else |
5796 | ac_cv_c_const=no | 5796 | ac_cv_c_const=no |
5797 | fi | 5797 | fi |
5798 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5798 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5799 | fi | 5799 | fi |
5800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 | 5800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5 |
5801 | $as_echo "$ac_cv_c_const" >&6; } | 5801 | $as_echo "$ac_cv_c_const" >&6; } |
5802 | if test $ac_cv_c_const = no; then | 5802 | if test $ac_cv_c_const = no; then |
5803 | 5803 | ||
5804 | $as_echo "#define const /**/" >>confdefs.h | 5804 | $as_echo "#define const /**/" >>confdefs.h |
5805 | 5805 | ||
5806 | fi | 5806 | fi |
5807 | 5807 | ||
5808 | 5808 | ||
5809 | # Check for non-broken inline under various spellings | 5809 | # Check for non-broken inline under various spellings |
5810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 | 5810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 |
5811 | $as_echo_n "checking for inline... " >&6; } | 5811 | $as_echo_n "checking for inline... " >&6; } |
5812 | ijg_cv_inline="" | 5812 | ijg_cv_inline="" |
5813 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5813 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5814 | /* end confdefs.h. */ | 5814 | /* end confdefs.h. */ |
5815 | 5815 | ||
5816 | int | 5816 | int |
5817 | main () | 5817 | main () |
5818 | { | 5818 | { |
5819 | } __inline__ int foo() { return 0; } | 5819 | } __inline__ int foo() { return 0; } |
5820 | int bar() { return foo(); | 5820 | int bar() { return foo(); |
5821 | ; | 5821 | ; |
5822 | return 0; | 5822 | return 0; |
5823 | } | 5823 | } |
5824 | _ACEOF | 5824 | _ACEOF |
5825 | if ac_fn_c_try_compile "$LINENO"; then : | 5825 | if ac_fn_c_try_compile "$LINENO"; then : |
5826 | ijg_cv_inline="__inline__" | 5826 | ijg_cv_inline="__inline__" |
5827 | else | 5827 | else |
5828 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5828 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5829 | /* end confdefs.h. */ | 5829 | /* end confdefs.h. */ |
5830 | 5830 | ||
5831 | int | 5831 | int |
5832 | main () | 5832 | main () |
5833 | { | 5833 | { |
5834 | } __inline int foo() { return 0; } | 5834 | } __inline int foo() { return 0; } |
5835 | int bar() { return foo(); | 5835 | int bar() { return foo(); |
5836 | ; | 5836 | ; |
5837 | return 0; | 5837 | return 0; |
5838 | } | 5838 | } |
5839 | _ACEOF | 5839 | _ACEOF |
5840 | if ac_fn_c_try_compile "$LINENO"; then : | 5840 | if ac_fn_c_try_compile "$LINENO"; then : |
5841 | ijg_cv_inline="__inline" | 5841 | ijg_cv_inline="__inline" |
5842 | else | 5842 | else |
5843 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5843 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5844 | /* end confdefs.h. */ | 5844 | /* end confdefs.h. */ |
5845 | 5845 | ||
5846 | int | 5846 | int |
5847 | main () | 5847 | main () |
5848 | { | 5848 | { |
5849 | } inline int foo() { return 0; } | 5849 | } inline int foo() { return 0; } |
5850 | int bar() { return foo(); | 5850 | int bar() { return foo(); |
5851 | ; | 5851 | ; |
5852 | return 0; | 5852 | return 0; |
5853 | } | 5853 | } |
5854 | _ACEOF | 5854 | _ACEOF |
5855 | if ac_fn_c_try_compile "$LINENO"; then : | 5855 | if ac_fn_c_try_compile "$LINENO"; then : |
5856 | ijg_cv_inline="inline" | 5856 | ijg_cv_inline="inline" |
5857 | fi | 5857 | fi |
5858 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5858 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5859 | fi | 5859 | fi |
5860 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5860 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5861 | fi | 5861 | fi |
5862 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5862 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_cv_inline" >&5 | 5863 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ijg_cv_inline" >&5 |
5864 | $as_echo "$ijg_cv_inline" >&6; } | 5864 | $as_echo "$ijg_cv_inline" >&6; } |
5865 | 5865 | ||
5866 | cat >>confdefs.h <<_ACEOF | 5866 | cat >>confdefs.h <<_ACEOF |
5867 | #define INLINE $ijg_cv_inline | 5867 | #define INLINE $ijg_cv_inline |
5868 | _ACEOF | 5868 | _ACEOF |
5869 | 5869 | ||
5870 | 5870 | ||
5871 | # We cannot check for bogus warnings, but at least we can check for errors | 5871 | # We cannot check for bogus warnings, but at least we can check for errors |
5872 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken incomplete types" >&5 | 5872 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken incomplete types" >&5 |
5873 | $as_echo_n "checking for broken incomplete types... " >&6; } | 5873 | $as_echo_n "checking for broken incomplete types... " >&6; } |
5874 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5874 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5875 | /* end confdefs.h. */ | 5875 | /* end confdefs.h. */ |
5876 | typedef struct undefined_structure * undef_struct_ptr; | 5876 | typedef struct undefined_structure * undef_struct_ptr; |
5877 | int | 5877 | int |
5878 | main () | 5878 | main () |
5879 | { | 5879 | { |
5880 | 5880 | ||
5881 | ; | 5881 | ; |
5882 | return 0; | 5882 | return 0; |
5883 | } | 5883 | } |
5884 | _ACEOF | 5884 | _ACEOF |
5885 | if ac_fn_c_try_compile "$LINENO"; then : | 5885 | if ac_fn_c_try_compile "$LINENO"; then : |
5886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | 5886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
5887 | $as_echo "ok" >&6; } | 5887 | $as_echo "ok" >&6; } |
5888 | else | 5888 | else |
5889 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5 | 5889 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5 |
5890 | $as_echo "broken" >&6; } | 5890 | $as_echo "broken" >&6; } |
5891 | 5891 | ||
5892 | $as_echo "#define INCOMPLETE_TYPES_BROKEN 1" >>confdefs.h | 5892 | $as_echo "#define INCOMPLETE_TYPES_BROKEN 1" >>confdefs.h |
5893 | 5893 | ||
5894 | fi | 5894 | fi |
5895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 5895 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
5896 | 5896 | ||
5897 | # Test whether global names are unique to at least 15 chars | 5897 | # Test whether global names are unique to at least 15 chars |
5898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for short external names" >&5 | 5898 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for short external names" >&5 |
5899 | $as_echo_n "checking for short external names... " >&6; } | 5899 | $as_echo_n "checking for short external names... " >&6; } |
5900 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5900 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5901 | /* end confdefs.h. */ | 5901 | /* end confdefs.h. */ |
5902 | 5902 | ||
5903 | int possibly_duplicate_function () { return 0; } | 5903 | int possibly_duplicate_function () { return 0; } |
5904 | int possibly_dupli_function () { return 1; } | 5904 | int possibly_dupli_function () { return 1; } |
5905 | 5905 | ||
5906 | int | 5906 | int |
5907 | main () | 5907 | main () |
5908 | { | 5908 | { |
5909 | 5909 | ||
5910 | ; | 5910 | ; |
5911 | return 0; | 5911 | return 0; |
5912 | } | 5912 | } |
5913 | _ACEOF | 5913 | _ACEOF |
5914 | if ac_fn_c_try_link "$LINENO"; then : | 5914 | if ac_fn_c_try_link "$LINENO"; then : |
5915 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | 5915 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
5916 | $as_echo "ok" >&6; } | 5916 | $as_echo "ok" >&6; } |
5917 | else | 5917 | else |
5918 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5 | 5918 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: short" >&5 |
5919 | $as_echo "short" >&6; } | 5919 | $as_echo "short" >&6; } |
5920 | 5920 | ||
5921 | $as_echo "#define NEED_SHORT_EXTERNAL_NAMES 1" >>confdefs.h | 5921 | $as_echo "#define NEED_SHORT_EXTERNAL_NAMES 1" >>confdefs.h |
5922 | 5922 | ||
5923 | fi | 5923 | fi |
5924 | rm -f core conftest.err conftest.$ac_objext \ | 5924 | rm -f core conftest.err conftest.$ac_objext \ |
5925 | conftest$ac_exeext conftest.$ac_ext | 5925 | conftest$ac_exeext conftest.$ac_ext |
5926 | 5926 | ||
5927 | # Run-time checks | 5927 | # Run-time checks |
5928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if char is signed" >&5 | 5928 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if char is signed" >&5 |
5929 | $as_echo_n "checking to see if char is signed... " >&6; } | 5929 | $as_echo_n "checking to see if char is signed... " >&6; } |
5930 | if test "$cross_compiling" = yes; then : | 5930 | if test "$cross_compiling" = yes; then : |
5931 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that char is signed on target machine. | 5931 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming that char is signed on target machine. |
5932 | If it is unsigned, this will be a little bit inefficient." >&5 | 5932 | If it is unsigned, this will be a little bit inefficient." >&5 |
5933 | $as_echo "$as_me: WARNING: Assuming that char is signed on target machine. | 5933 | $as_echo "$as_me: WARNING: Assuming that char is signed on target machine. |
5934 | If it is unsigned, this will be a little bit inefficient." >&2;} | 5934 | If it is unsigned, this will be a little bit inefficient." >&2;} |
5935 | 5935 | ||
5936 | else | 5936 | else |
5937 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5937 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5938 | /* end confdefs.h. */ | 5938 | /* end confdefs.h. */ |
5939 | 5939 | ||
5940 | #ifdef HAVE_PROTOTYPES | 5940 | #ifdef HAVE_PROTOTYPES |
5941 | int is_char_signed (int arg) | 5941 | int is_char_signed (int arg) |
5942 | #else | 5942 | #else |
5943 | int is_char_signed (arg) | 5943 | int is_char_signed (arg) |
5944 | int arg; | 5944 | int arg; |
5945 | #endif | 5945 | #endif |
5946 | { | 5946 | { |
5947 | if (arg == 189) { /* expected result for unsigned char */ | 5947 | if (arg == 189) { /* expected result for unsigned char */ |
5948 | return 0; /* type char is unsigned */ | 5948 | return 0; /* type char is unsigned */ |
5949 | } | 5949 | } |
5950 | else if (arg != -67) { /* expected result for signed char */ | 5950 | else if (arg != -67) { /* expected result for signed char */ |
5951 | printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n"); | 5951 | printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n"); |
5952 | printf("I fear the JPEG software will not work at all.\n\n"); | 5952 | printf("I fear the JPEG software will not work at all.\n\n"); |
5953 | } | 5953 | } |
5954 | return 1; /* assume char is signed otherwise */ | 5954 | return 1; /* assume char is signed otherwise */ |
5955 | } | 5955 | } |
5956 | char signed_char_check = (char) (-67); | 5956 | char signed_char_check = (char) (-67); |
5957 | int main() { | 5957 | int main() { |
5958 | exit(is_char_signed((int) signed_char_check)); | 5958 | exit(is_char_signed((int) signed_char_check)); |
5959 | } | 5959 | } |
5960 | _ACEOF | 5960 | _ACEOF |
5961 | if ac_fn_c_try_run "$LINENO"; then : | 5961 | if ac_fn_c_try_run "$LINENO"; then : |
5962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 5962 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
5963 | $as_echo "no" >&6; } | 5963 | $as_echo "no" >&6; } |
5964 | 5964 | ||
5965 | $as_echo "#define CHAR_IS_UNSIGNED 1" >>confdefs.h | 5965 | $as_echo "#define CHAR_IS_UNSIGNED 1" >>confdefs.h |
5966 | 5966 | ||
5967 | else | 5967 | else |
5968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 5968 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
5969 | $as_echo "yes" >&6; } | 5969 | $as_echo "yes" >&6; } |
5970 | fi | 5970 | fi |
5971 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 5971 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
5972 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 5972 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
5973 | fi | 5973 | fi |
5974 | 5974 | ||
5975 | 5975 | ||
5976 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if right shift is signed" >&5 | 5976 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if right shift is signed" >&5 |
5977 | $as_echo_n "checking to see if right shift is signed... " >&6; } | 5977 | $as_echo_n "checking to see if right shift is signed... " >&6; } |
5978 | if test "$cross_compiling" = yes; then : | 5978 | if test "$cross_compiling" = yes; then : |
5979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Assuming that right shift is signed on target machine." >&5 | 5979 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Assuming that right shift is signed on target machine." >&5 |
5980 | $as_echo "Assuming that right shift is signed on target machine." >&6; } | 5980 | $as_echo "Assuming that right shift is signed on target machine." >&6; } |
5981 | else | 5981 | else |
5982 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 5982 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
5983 | /* end confdefs.h. */ | 5983 | /* end confdefs.h. */ |
5984 | 5984 | ||
5985 | #ifdef HAVE_PROTOTYPES | 5985 | #ifdef HAVE_PROTOTYPES |
5986 | int is_shifting_signed (long arg) | 5986 | int is_shifting_signed (long arg) |
5987 | #else | 5987 | #else |
5988 | int is_shifting_signed (arg) | 5988 | int is_shifting_signed (arg) |
5989 | long arg; | 5989 | long arg; |
5990 | #endif | 5990 | #endif |
5991 | /* See whether right-shift on a long is signed or not. */ | 5991 | /* See whether right-shift on a long is signed or not. */ |
5992 | { | 5992 | { |
5993 | long res = arg >> 4; | 5993 | long res = arg >> 4; |
5994 | 5994 | ||
5995 | if (res == -0x7F7E80CL) { /* expected result for signed shift */ | 5995 | if (res == -0x7F7E80CL) { /* expected result for signed shift */ |
5996 | return 1; /* right shift is signed */ | 5996 | return 1; /* right shift is signed */ |
5997 | } | 5997 | } |
5998 | /* see if unsigned-shift hack will fix it. */ | 5998 | /* see if unsigned-shift hack will fix it. */ |
5999 | /* we can't just test exact value since it depends on width of long... */ | 5999 | /* we can't just test exact value since it depends on width of long... */ |
6000 | res |= (~0L) << (32-4); | 6000 | res |= (~0L) << (32-4); |
6001 | if (res == -0x7F7E80CL) { /* expected result now? */ | 6001 | if (res == -0x7F7E80CL) { /* expected result now? */ |
6002 | return 0; /* right shift is unsigned */ | 6002 | return 0; /* right shift is unsigned */ |
6003 | } | 6003 | } |
6004 | printf("Right shift isn't acting as I expect it to.\n"); | 6004 | printf("Right shift isn't acting as I expect it to.\n"); |
6005 | printf("I fear the JPEG software will not work at all.\n\n"); | 6005 | printf("I fear the JPEG software will not work at all.\n\n"); |
6006 | return 0; /* try it with unsigned anyway */ | 6006 | return 0; /* try it with unsigned anyway */ |
6007 | } | 6007 | } |
6008 | int main() { | 6008 | int main() { |
6009 | exit(is_shifting_signed(-0x7F7E80B1L)); | 6009 | exit(is_shifting_signed(-0x7F7E80B1L)); |
6010 | } | 6010 | } |
6011 | _ACEOF | 6011 | _ACEOF |
6012 | if ac_fn_c_try_run "$LINENO"; then : | 6012 | if ac_fn_c_try_run "$LINENO"; then : |
6013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6013 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6014 | $as_echo "no" >&6; } | 6014 | $as_echo "no" >&6; } |
6015 | 6015 | ||
6016 | $as_echo "#define RIGHT_SHIFT_IS_UNSIGNED 1" >>confdefs.h | 6016 | $as_echo "#define RIGHT_SHIFT_IS_UNSIGNED 1" >>confdefs.h |
6017 | 6017 | ||
6018 | else | 6018 | else |
6019 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6019 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6020 | $as_echo "yes" >&6; } | 6020 | $as_echo "yes" >&6; } |
6021 | fi | 6021 | fi |
6022 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 6022 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6023 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 6023 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
6024 | fi | 6024 | fi |
6025 | 6025 | ||
6026 | 6026 | ||
6027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if fopen accepts b spec" >&5 | 6027 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if fopen accepts b spec" >&5 |
6028 | $as_echo_n "checking to see if fopen accepts b spec... " >&6; } | 6028 | $as_echo_n "checking to see if fopen accepts b spec... " >&6; } |
6029 | if test "$cross_compiling" = yes; then : | 6029 | if test "$cross_compiling" = yes; then : |
6030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Assuming that it does." >&5 | 6030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: Assuming that it does." >&5 |
6031 | $as_echo "Assuming that it does." >&6; } | 6031 | $as_echo "Assuming that it does." >&6; } |
6032 | else | 6032 | else |
6033 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 6033 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
6034 | /* end confdefs.h. */ | 6034 | /* end confdefs.h. */ |
6035 | 6035 | ||
6036 | #include <stdio.h> | 6036 | #include <stdio.h> |
6037 | int main() { | 6037 | int main() { |
6038 | if (fopen("conftestdata", "wb") != NULL) | 6038 | if (fopen("conftestdata", "wb") != NULL) |
6039 | exit(0); | 6039 | exit(0); |
6040 | exit(1); | 6040 | exit(1); |
6041 | } | 6041 | } |
6042 | _ACEOF | 6042 | _ACEOF |
6043 | if ac_fn_c_try_run "$LINENO"; then : | 6043 | if ac_fn_c_try_run "$LINENO"; then : |
6044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 6044 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
6045 | $as_echo "yes" >&6; } | 6045 | $as_echo "yes" >&6; } |
6046 | else | 6046 | else |
6047 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6047 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6048 | $as_echo "no" >&6; } | 6048 | $as_echo "no" >&6; } |
6049 | 6049 | ||
6050 | $as_echo "#define DONT_USE_B_MODE 1" >>confdefs.h | 6050 | $as_echo "#define DONT_USE_B_MODE 1" >>confdefs.h |
6051 | 6051 | ||
6052 | fi | 6052 | fi |
6053 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 6053 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ |
6054 | conftest.$ac_objext conftest.beam conftest.$ac_ext | 6054 | conftest.$ac_objext conftest.beam conftest.$ac_ext |
6055 | fi | 6055 | fi |
6056 | 6056 | ||
6057 | 6057 | ||
6058 | # Configure libtool | 6058 | # Configure libtool |
6059 | enable_win32_dll=yes | 6059 | enable_win32_dll=yes |
6060 | 6060 | ||
6061 | case $host in | 6061 | case $host in |
6062 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | 6062 | *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) |
6063 | if test -n "$ac_tool_prefix"; then | 6063 | if test -n "$ac_tool_prefix"; then |
6064 | # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | 6064 | # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. |
6065 | set dummy ${ac_tool_prefix}as; ac_word=$2 | 6065 | set dummy ${ac_tool_prefix}as; ac_word=$2 |
6066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6066 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6067 | $as_echo_n "checking for $ac_word... " >&6; } | 6067 | $as_echo_n "checking for $ac_word... " >&6; } |
6068 | if ${ac_cv_prog_AS+:} false; then : | 6068 | if ${ac_cv_prog_AS+:} false; then : |
6069 | $as_echo_n "(cached) " >&6 | 6069 | $as_echo_n "(cached) " >&6 |
6070 | else | 6070 | else |
6071 | if test -n "$AS"; then | 6071 | if test -n "$AS"; then |
6072 | ac_cv_prog_AS="$AS" # Let the user override the test. | 6072 | ac_cv_prog_AS="$AS" # Let the user override the test. |
6073 | else | 6073 | else |
6074 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6074 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6075 | for as_dir in $PATH | 6075 | for as_dir in $PATH |
6076 | do | 6076 | do |
6077 | IFS=$as_save_IFS | 6077 | IFS=$as_save_IFS |
6078 | test -z "$as_dir" && as_dir=. | 6078 | test -z "$as_dir" && as_dir=. |
6079 | for ac_exec_ext in '' $ac_executable_extensions; do | 6079 | for ac_exec_ext in '' $ac_executable_extensions; do |
6080 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6080 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6081 | ac_cv_prog_AS="${ac_tool_prefix}as" | 6081 | ac_cv_prog_AS="${ac_tool_prefix}as" |
6082 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6082 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6083 | break 2 | 6083 | break 2 |
6084 | fi | 6084 | fi |
6085 | done | 6085 | done |
6086 | done | 6086 | done |
6087 | IFS=$as_save_IFS | 6087 | IFS=$as_save_IFS |
6088 | 6088 | ||
6089 | fi | 6089 | fi |
6090 | fi | 6090 | fi |
6091 | AS=$ac_cv_prog_AS | 6091 | AS=$ac_cv_prog_AS |
6092 | if test -n "$AS"; then | 6092 | if test -n "$AS"; then |
6093 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 | 6093 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 |
6094 | $as_echo "$AS" >&6; } | 6094 | $as_echo "$AS" >&6; } |
6095 | else | 6095 | else |
6096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6097 | $as_echo "no" >&6; } | 6097 | $as_echo "no" >&6; } |
6098 | fi | 6098 | fi |
6099 | 6099 | ||
6100 | 6100 | ||
6101 | fi | 6101 | fi |
6102 | if test -z "$ac_cv_prog_AS"; then | 6102 | if test -z "$ac_cv_prog_AS"; then |
6103 | ac_ct_AS=$AS | 6103 | ac_ct_AS=$AS |
6104 | # Extract the first word of "as", so it can be a program name with args. | 6104 | # Extract the first word of "as", so it can be a program name with args. |
6105 | set dummy as; ac_word=$2 | 6105 | set dummy as; ac_word=$2 |
6106 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6106 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6107 | $as_echo_n "checking for $ac_word... " >&6; } | 6107 | $as_echo_n "checking for $ac_word... " >&6; } |
6108 | if ${ac_cv_prog_ac_ct_AS+:} false; then : | 6108 | if ${ac_cv_prog_ac_ct_AS+:} false; then : |
6109 | $as_echo_n "(cached) " >&6 | 6109 | $as_echo_n "(cached) " >&6 |
6110 | else | 6110 | else |
6111 | if test -n "$ac_ct_AS"; then | 6111 | if test -n "$ac_ct_AS"; then |
6112 | ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. | 6112 | ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. |
6113 | else | 6113 | else |
6114 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6114 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6115 | for as_dir in $PATH | 6115 | for as_dir in $PATH |
6116 | do | 6116 | do |
6117 | IFS=$as_save_IFS | 6117 | IFS=$as_save_IFS |
6118 | test -z "$as_dir" && as_dir=. | 6118 | test -z "$as_dir" && as_dir=. |
6119 | for ac_exec_ext in '' $ac_executable_extensions; do | 6119 | for ac_exec_ext in '' $ac_executable_extensions; do |
6120 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6120 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6121 | ac_cv_prog_ac_ct_AS="as" | 6121 | ac_cv_prog_ac_ct_AS="as" |
6122 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6122 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6123 | break 2 | 6123 | break 2 |
6124 | fi | 6124 | fi |
6125 | done | 6125 | done |
6126 | done | 6126 | done |
6127 | IFS=$as_save_IFS | 6127 | IFS=$as_save_IFS |
6128 | 6128 | ||
6129 | fi | 6129 | fi |
6130 | fi | 6130 | fi |
6131 | ac_ct_AS=$ac_cv_prog_ac_ct_AS | 6131 | ac_ct_AS=$ac_cv_prog_ac_ct_AS |
6132 | if test -n "$ac_ct_AS"; then | 6132 | if test -n "$ac_ct_AS"; then |
6133 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 | 6133 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 |
6134 | $as_echo "$ac_ct_AS" >&6; } | 6134 | $as_echo "$ac_ct_AS" >&6; } |
6135 | else | 6135 | else |
6136 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6136 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6137 | $as_echo "no" >&6; } | 6137 | $as_echo "no" >&6; } |
6138 | fi | 6138 | fi |
6139 | 6139 | ||
6140 | if test "x$ac_ct_AS" = x; then | 6140 | if test "x$ac_ct_AS" = x; then |
6141 | AS="false" | 6141 | AS="false" |
6142 | else | 6142 | else |
6143 | case $cross_compiling:$ac_tool_warned in | 6143 | case $cross_compiling:$ac_tool_warned in |
6144 | yes:) | 6144 | yes:) |
6145 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 6145 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6146 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 6146 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6147 | ac_tool_warned=yes ;; | 6147 | ac_tool_warned=yes ;; |
6148 | esac | 6148 | esac |
6149 | AS=$ac_ct_AS | 6149 | AS=$ac_ct_AS |
6150 | fi | 6150 | fi |
6151 | else | 6151 | else |
6152 | AS="$ac_cv_prog_AS" | 6152 | AS="$ac_cv_prog_AS" |
6153 | fi | 6153 | fi |
6154 | 6154 | ||
6155 | if test -n "$ac_tool_prefix"; then | 6155 | if test -n "$ac_tool_prefix"; then |
6156 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | 6156 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
6157 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | 6157 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
6158 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6158 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6159 | $as_echo_n "checking for $ac_word... " >&6; } | 6159 | $as_echo_n "checking for $ac_word... " >&6; } |
6160 | if ${ac_cv_prog_DLLTOOL+:} false; then : | 6160 | if ${ac_cv_prog_DLLTOOL+:} false; then : |
6161 | $as_echo_n "(cached) " >&6 | 6161 | $as_echo_n "(cached) " >&6 |
6162 | else | 6162 | else |
6163 | if test -n "$DLLTOOL"; then | 6163 | if test -n "$DLLTOOL"; then |
6164 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | 6164 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
6165 | else | 6165 | else |
6166 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6166 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6167 | for as_dir in $PATH | 6167 | for as_dir in $PATH |
6168 | do | 6168 | do |
6169 | IFS=$as_save_IFS | 6169 | IFS=$as_save_IFS |
6170 | test -z "$as_dir" && as_dir=. | 6170 | test -z "$as_dir" && as_dir=. |
6171 | for ac_exec_ext in '' $ac_executable_extensions; do | 6171 | for ac_exec_ext in '' $ac_executable_extensions; do |
6172 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6172 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6173 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | 6173 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
6174 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6174 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6175 | break 2 | 6175 | break 2 |
6176 | fi | 6176 | fi |
6177 | done | 6177 | done |
6178 | done | 6178 | done |
6179 | IFS=$as_save_IFS | 6179 | IFS=$as_save_IFS |
6180 | 6180 | ||
6181 | fi | 6181 | fi |
6182 | fi | 6182 | fi |
6183 | DLLTOOL=$ac_cv_prog_DLLTOOL | 6183 | DLLTOOL=$ac_cv_prog_DLLTOOL |
6184 | if test -n "$DLLTOOL"; then | 6184 | if test -n "$DLLTOOL"; then |
6185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | 6185 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
6186 | $as_echo "$DLLTOOL" >&6; } | 6186 | $as_echo "$DLLTOOL" >&6; } |
6187 | else | 6187 | else |
6188 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6188 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6189 | $as_echo "no" >&6; } | 6189 | $as_echo "no" >&6; } |
6190 | fi | 6190 | fi |
6191 | 6191 | ||
6192 | 6192 | ||
6193 | fi | 6193 | fi |
6194 | if test -z "$ac_cv_prog_DLLTOOL"; then | 6194 | if test -z "$ac_cv_prog_DLLTOOL"; then |
6195 | ac_ct_DLLTOOL=$DLLTOOL | 6195 | ac_ct_DLLTOOL=$DLLTOOL |
6196 | # Extract the first word of "dlltool", so it can be a program name with args. | 6196 | # Extract the first word of "dlltool", so it can be a program name with args. |
6197 | set dummy dlltool; ac_word=$2 | 6197 | set dummy dlltool; ac_word=$2 |
6198 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6198 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6199 | $as_echo_n "checking for $ac_word... " >&6; } | 6199 | $as_echo_n "checking for $ac_word... " >&6; } |
6200 | if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | 6200 | if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
6201 | $as_echo_n "(cached) " >&6 | 6201 | $as_echo_n "(cached) " >&6 |
6202 | else | 6202 | else |
6203 | if test -n "$ac_ct_DLLTOOL"; then | 6203 | if test -n "$ac_ct_DLLTOOL"; then |
6204 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | 6204 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
6205 | else | 6205 | else |
6206 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6206 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6207 | for as_dir in $PATH | 6207 | for as_dir in $PATH |
6208 | do | 6208 | do |
6209 | IFS=$as_save_IFS | 6209 | IFS=$as_save_IFS |
6210 | test -z "$as_dir" && as_dir=. | 6210 | test -z "$as_dir" && as_dir=. |
6211 | for ac_exec_ext in '' $ac_executable_extensions; do | 6211 | for ac_exec_ext in '' $ac_executable_extensions; do |
6212 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6212 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6213 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" | 6213 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
6214 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6214 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6215 | break 2 | 6215 | break 2 |
6216 | fi | 6216 | fi |
6217 | done | 6217 | done |
6218 | done | 6218 | done |
6219 | IFS=$as_save_IFS | 6219 | IFS=$as_save_IFS |
6220 | 6220 | ||
6221 | fi | 6221 | fi |
6222 | fi | 6222 | fi |
6223 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | 6223 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
6224 | if test -n "$ac_ct_DLLTOOL"; then | 6224 | if test -n "$ac_ct_DLLTOOL"; then |
6225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | 6225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
6226 | $as_echo "$ac_ct_DLLTOOL" >&6; } | 6226 | $as_echo "$ac_ct_DLLTOOL" >&6; } |
6227 | else | 6227 | else |
6228 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6228 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6229 | $as_echo "no" >&6; } | 6229 | $as_echo "no" >&6; } |
6230 | fi | 6230 | fi |
6231 | 6231 | ||
6232 | if test "x$ac_ct_DLLTOOL" = x; then | 6232 | if test "x$ac_ct_DLLTOOL" = x; then |
6233 | DLLTOOL="false" | 6233 | DLLTOOL="false" |
6234 | else | 6234 | else |
6235 | case $cross_compiling:$ac_tool_warned in | 6235 | case $cross_compiling:$ac_tool_warned in |
6236 | yes:) | 6236 | yes:) |
6237 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 6237 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6238 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 6238 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6239 | ac_tool_warned=yes ;; | 6239 | ac_tool_warned=yes ;; |
6240 | esac | 6240 | esac |
6241 | DLLTOOL=$ac_ct_DLLTOOL | 6241 | DLLTOOL=$ac_ct_DLLTOOL |
6242 | fi | 6242 | fi |
6243 | else | 6243 | else |
6244 | DLLTOOL="$ac_cv_prog_DLLTOOL" | 6244 | DLLTOOL="$ac_cv_prog_DLLTOOL" |
6245 | fi | 6245 | fi |
6246 | 6246 | ||
6247 | if test -n "$ac_tool_prefix"; then | 6247 | if test -n "$ac_tool_prefix"; then |
6248 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | 6248 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
6249 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 | 6249 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
6250 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6250 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6251 | $as_echo_n "checking for $ac_word... " >&6; } | 6251 | $as_echo_n "checking for $ac_word... " >&6; } |
6252 | if ${ac_cv_prog_OBJDUMP+:} false; then : | 6252 | if ${ac_cv_prog_OBJDUMP+:} false; then : |
6253 | $as_echo_n "(cached) " >&6 | 6253 | $as_echo_n "(cached) " >&6 |
6254 | else | 6254 | else |
6255 | if test -n "$OBJDUMP"; then | 6255 | if test -n "$OBJDUMP"; then |
6256 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | 6256 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
6257 | else | 6257 | else |
6258 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6258 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6259 | for as_dir in $PATH | 6259 | for as_dir in $PATH |
6260 | do | 6260 | do |
6261 | IFS=$as_save_IFS | 6261 | IFS=$as_save_IFS |
6262 | test -z "$as_dir" && as_dir=. | 6262 | test -z "$as_dir" && as_dir=. |
6263 | for ac_exec_ext in '' $ac_executable_extensions; do | 6263 | for ac_exec_ext in '' $ac_executable_extensions; do |
6264 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6264 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6265 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | 6265 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
6266 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6266 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6267 | break 2 | 6267 | break 2 |
6268 | fi | 6268 | fi |
6269 | done | 6269 | done |
6270 | done | 6270 | done |
6271 | IFS=$as_save_IFS | 6271 | IFS=$as_save_IFS |
6272 | 6272 | ||
6273 | fi | 6273 | fi |
6274 | fi | 6274 | fi |
6275 | OBJDUMP=$ac_cv_prog_OBJDUMP | 6275 | OBJDUMP=$ac_cv_prog_OBJDUMP |
6276 | if test -n "$OBJDUMP"; then | 6276 | if test -n "$OBJDUMP"; then |
6277 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | 6277 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
6278 | $as_echo "$OBJDUMP" >&6; } | 6278 | $as_echo "$OBJDUMP" >&6; } |
6279 | else | 6279 | else |
6280 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6280 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6281 | $as_echo "no" >&6; } | 6281 | $as_echo "no" >&6; } |
6282 | fi | 6282 | fi |
6283 | 6283 | ||
6284 | 6284 | ||
6285 | fi | 6285 | fi |
6286 | if test -z "$ac_cv_prog_OBJDUMP"; then | 6286 | if test -z "$ac_cv_prog_OBJDUMP"; then |
6287 | ac_ct_OBJDUMP=$OBJDUMP | 6287 | ac_ct_OBJDUMP=$OBJDUMP |
6288 | # Extract the first word of "objdump", so it can be a program name with args. | 6288 | # Extract the first word of "objdump", so it can be a program name with args. |
6289 | set dummy objdump; ac_word=$2 | 6289 | set dummy objdump; ac_word=$2 |
6290 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6290 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6291 | $as_echo_n "checking for $ac_word... " >&6; } | 6291 | $as_echo_n "checking for $ac_word... " >&6; } |
6292 | if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | 6292 | if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
6293 | $as_echo_n "(cached) " >&6 | 6293 | $as_echo_n "(cached) " >&6 |
6294 | else | 6294 | else |
6295 | if test -n "$ac_ct_OBJDUMP"; then | 6295 | if test -n "$ac_ct_OBJDUMP"; then |
6296 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | 6296 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
6297 | else | 6297 | else |
6298 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6298 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6299 | for as_dir in $PATH | 6299 | for as_dir in $PATH |
6300 | do | 6300 | do |
6301 | IFS=$as_save_IFS | 6301 | IFS=$as_save_IFS |
6302 | test -z "$as_dir" && as_dir=. | 6302 | test -z "$as_dir" && as_dir=. |
6303 | for ac_exec_ext in '' $ac_executable_extensions; do | 6303 | for ac_exec_ext in '' $ac_executable_extensions; do |
6304 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6304 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6305 | ac_cv_prog_ac_ct_OBJDUMP="objdump" | 6305 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
6306 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6306 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6307 | break 2 | 6307 | break 2 |
6308 | fi | 6308 | fi |
6309 | done | 6309 | done |
6310 | done | 6310 | done |
6311 | IFS=$as_save_IFS | 6311 | IFS=$as_save_IFS |
6312 | 6312 | ||
6313 | fi | 6313 | fi |
6314 | fi | 6314 | fi |
6315 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | 6315 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
6316 | if test -n "$ac_ct_OBJDUMP"; then | 6316 | if test -n "$ac_ct_OBJDUMP"; then |
6317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | 6317 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
6318 | $as_echo "$ac_ct_OBJDUMP" >&6; } | 6318 | $as_echo "$ac_ct_OBJDUMP" >&6; } |
6319 | else | 6319 | else |
6320 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6320 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6321 | $as_echo "no" >&6; } | 6321 | $as_echo "no" >&6; } |
6322 | fi | 6322 | fi |
6323 | 6323 | ||
6324 | if test "x$ac_ct_OBJDUMP" = x; then | 6324 | if test "x$ac_ct_OBJDUMP" = x; then |
6325 | OBJDUMP="false" | 6325 | OBJDUMP="false" |
6326 | else | 6326 | else |
6327 | case $cross_compiling:$ac_tool_warned in | 6327 | case $cross_compiling:$ac_tool_warned in |
6328 | yes:) | 6328 | yes:) |
6329 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 6329 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6330 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 6330 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6331 | ac_tool_warned=yes ;; | 6331 | ac_tool_warned=yes ;; |
6332 | esac | 6332 | esac |
6333 | OBJDUMP=$ac_ct_OBJDUMP | 6333 | OBJDUMP=$ac_ct_OBJDUMP |
6334 | fi | 6334 | fi |
6335 | else | 6335 | else |
6336 | OBJDUMP="$ac_cv_prog_OBJDUMP" | 6336 | OBJDUMP="$ac_cv_prog_OBJDUMP" |
6337 | fi | 6337 | fi |
6338 | 6338 | ||
6339 | ;; | 6339 | ;; |
6340 | esac | 6340 | esac |
6341 | 6341 | ||
6342 | test -z "$AS" && AS=as | 6342 | test -z "$AS" && AS=as |
6343 | 6343 | ||
6344 | 6344 | ||
6345 | 6345 | ||
6346 | 6346 | ||
6347 | 6347 | ||
6348 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 6348 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
6349 | 6349 | ||
6350 | 6350 | ||
6351 | 6351 | ||
6352 | 6352 | ||
6353 | 6353 | ||
6354 | test -z "$OBJDUMP" && OBJDUMP=objdump | 6354 | test -z "$OBJDUMP" && OBJDUMP=objdump |
6355 | 6355 | ||
6356 | 6356 | ||
6357 | 6357 | ||
6358 | 6358 | ||
6359 | 6359 | ||
6360 | 6360 | ||
6361 | 6361 | ||
6362 | case `pwd` in | 6362 | case `pwd` in |
6363 | *\ * | *\ *) | 6363 | *\ * | *\ *) |
6364 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 | 6364 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 |
6365 | $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; | 6365 | $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; |
6366 | esac | 6366 | esac |
6367 | 6367 | ||
6368 | 6368 | ||
6369 | 6369 | ||
6370 | macro_version='2.4.2' | 6370 | macro_version='2.4.2' |
6371 | macro_revision='1.3337' | 6371 | macro_revision='1.3337' |
6372 | 6372 | ||
6373 | 6373 | ||
6374 | 6374 | ||
6375 | 6375 | ||
6376 | 6376 | ||
6377 | 6377 | ||
6378 | 6378 | ||
6379 | 6379 | ||
6380 | 6380 | ||
6381 | 6381 | ||
6382 | 6382 | ||
6383 | 6383 | ||
6384 | 6384 | ||
6385 | ltmain="$ac_aux_dir/ltmain.sh" | 6385 | ltmain="$ac_aux_dir/ltmain.sh" |
6386 | 6386 | ||
6387 | # Backslashify metacharacters that are still active within | 6387 | # Backslashify metacharacters that are still active within |
6388 | # double-quoted strings. | 6388 | # double-quoted strings. |
6389 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | 6389 | sed_quote_subst='s/\(["`$\\]\)/\\\1/g' |
6390 | 6390 | ||
6391 | # Same as above, but do not quote variable references. | 6391 | # Same as above, but do not quote variable references. |
6392 | double_quote_subst='s/\(["`\\]\)/\\\1/g' | 6392 | double_quote_subst='s/\(["`\\]\)/\\\1/g' |
6393 | 6393 | ||
6394 | # Sed substitution to delay expansion of an escaped shell variable in a | 6394 | # Sed substitution to delay expansion of an escaped shell variable in a |
6395 | # double_quote_subst'ed string. | 6395 | # double_quote_subst'ed string. |
6396 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 6396 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' |
6397 | 6397 | ||
6398 | # Sed substitution to delay expansion of an escaped single quote. | 6398 | # Sed substitution to delay expansion of an escaped single quote. |
6399 | delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | 6399 | delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' |
6400 | 6400 | ||
6401 | # Sed substitution to avoid accidental globbing in evaled expressions | 6401 | # Sed substitution to avoid accidental globbing in evaled expressions |
6402 | no_glob_subst='s/\*/\\\*/g' | 6402 | no_glob_subst='s/\*/\\\*/g' |
6403 | 6403 | ||
6404 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 6404 | ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
6405 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | 6405 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO |
6406 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | 6406 | ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO |
6407 | 6407 | ||
6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 | 6408 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 |
6409 | $as_echo_n "checking how to print strings... " >&6; } | 6409 | $as_echo_n "checking how to print strings... " >&6; } |
6410 | # Test print first, because it will be a builtin if present. | 6410 | # Test print first, because it will be a builtin if present. |
6411 | if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ | 6411 | if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ |
6412 | test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then | 6412 | test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then |
6413 | ECHO='print -r --' | 6413 | ECHO='print -r --' |
6414 | elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then | 6414 | elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then |
6415 | ECHO='printf %s\n' | 6415 | ECHO='printf %s\n' |
6416 | else | 6416 | else |
6417 | # Use this function as a fallback that always works. | 6417 | # Use this function as a fallback that always works. |
6418 | func_fallback_echo () | 6418 | func_fallback_echo () |
6419 | { | 6419 | { |
6420 | eval 'cat <<_LTECHO_EOF | 6420 | eval 'cat <<_LTECHO_EOF |
6421 | $1 | 6421 | $1 |
6422 | _LTECHO_EOF' | 6422 | _LTECHO_EOF' |
6423 | } | 6423 | } |
6424 | ECHO='func_fallback_echo' | 6424 | ECHO='func_fallback_echo' |
6425 | fi | 6425 | fi |
6426 | 6426 | ||
6427 | # func_echo_all arg... | 6427 | # func_echo_all arg... |
6428 | # Invoke $ECHO with all args, space-separated. | 6428 | # Invoke $ECHO with all args, space-separated. |
6429 | func_echo_all () | 6429 | func_echo_all () |
6430 | { | 6430 | { |
6431 | $ECHO "" | 6431 | $ECHO "" |
6432 | } | 6432 | } |
6433 | 6433 | ||
6434 | case "$ECHO" in | 6434 | case "$ECHO" in |
6435 | printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 | 6435 | printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 |
6436 | $as_echo "printf" >&6; } ;; | 6436 | $as_echo "printf" >&6; } ;; |
6437 | print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 | 6437 | print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 |
6438 | $as_echo "print -r" >&6; } ;; | 6438 | $as_echo "print -r" >&6; } ;; |
6439 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 | 6439 | *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 |
6440 | $as_echo "cat" >&6; } ;; | 6440 | $as_echo "cat" >&6; } ;; |
6441 | esac | 6441 | esac |
6442 | 6442 | ||
6443 | 6443 | ||
6444 | 6444 | ||
6445 | 6445 | ||
6446 | 6446 | ||
6447 | 6447 | ||
6448 | 6448 | ||
6449 | 6449 | ||
6450 | 6450 | ||
6451 | 6451 | ||
6452 | 6452 | ||
6453 | 6453 | ||
6454 | 6454 | ||
6455 | 6455 | ||
6456 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 | 6456 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 |
6457 | $as_echo_n "checking for a sed that does not truncate output... " >&6; } | 6457 | $as_echo_n "checking for a sed that does not truncate output... " >&6; } |
6458 | if ${ac_cv_path_SED+:} false; then : | 6458 | if ${ac_cv_path_SED+:} false; then : |
6459 | $as_echo_n "(cached) " >&6 | 6459 | $as_echo_n "(cached) " >&6 |
6460 | else | 6460 | else |
6461 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ | 6461 | ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ |
6462 | for ac_i in 1 2 3 4 5 6 7; do | 6462 | for ac_i in 1 2 3 4 5 6 7; do |
6463 | ac_script="$ac_script$as_nl$ac_script" | 6463 | ac_script="$ac_script$as_nl$ac_script" |
6464 | done | 6464 | done |
6465 | echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | 6465 | echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed |
6466 | { ac_script=; unset ac_script;} | 6466 | { ac_script=; unset ac_script;} |
6467 | if test -z "$SED"; then | 6467 | if test -z "$SED"; then |
6468 | ac_path_SED_found=false | 6468 | ac_path_SED_found=false |
6469 | # Loop through the user's path and test for each of PROGNAME-LIST | 6469 | # Loop through the user's path and test for each of PROGNAME-LIST |
6470 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6470 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6471 | for as_dir in $PATH | 6471 | for as_dir in $PATH |
6472 | do | 6472 | do |
6473 | IFS=$as_save_IFS | 6473 | IFS=$as_save_IFS |
6474 | test -z "$as_dir" && as_dir=. | 6474 | test -z "$as_dir" && as_dir=. |
6475 | for ac_prog in sed gsed; do | 6475 | for ac_prog in sed gsed; do |
6476 | for ac_exec_ext in '' $ac_executable_extensions; do | 6476 | for ac_exec_ext in '' $ac_executable_extensions; do |
6477 | ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | 6477 | ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" |
6478 | { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | 6478 | { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue |
6479 | # Check for GNU ac_path_SED and select it if it is found. | 6479 | # Check for GNU ac_path_SED and select it if it is found. |
6480 | # Check for GNU $ac_path_SED | 6480 | # Check for GNU $ac_path_SED |
6481 | case `"$ac_path_SED" --version 2>&1` in | 6481 | case `"$ac_path_SED" --version 2>&1` in |
6482 | *GNU*) | 6482 | *GNU*) |
6483 | ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; | 6483 | ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; |
6484 | *) | 6484 | *) |
6485 | ac_count=0 | 6485 | ac_count=0 |
6486 | $as_echo_n 0123456789 >"conftest.in" | 6486 | $as_echo_n 0123456789 >"conftest.in" |
6487 | while : | 6487 | while : |
6488 | do | 6488 | do |
6489 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 6489 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
6490 | mv "conftest.tmp" "conftest.in" | 6490 | mv "conftest.tmp" "conftest.in" |
6491 | cp "conftest.in" "conftest.nl" | 6491 | cp "conftest.in" "conftest.nl" |
6492 | $as_echo '' >> "conftest.nl" | 6492 | $as_echo '' >> "conftest.nl" |
6493 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break | 6493 | "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6494 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 6494 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
6495 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 6495 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
6496 | if test $ac_count -gt ${ac_path_SED_max-0}; then | 6496 | if test $ac_count -gt ${ac_path_SED_max-0}; then |
6497 | # Best one so far, save it but keep looking for a better one | 6497 | # Best one so far, save it but keep looking for a better one |
6498 | ac_cv_path_SED="$ac_path_SED" | 6498 | ac_cv_path_SED="$ac_path_SED" |
6499 | ac_path_SED_max=$ac_count | 6499 | ac_path_SED_max=$ac_count |
6500 | fi | 6500 | fi |
6501 | # 10*(2^10) chars as input seems more than enough | 6501 | # 10*(2^10) chars as input seems more than enough |
6502 | test $ac_count -gt 10 && break | 6502 | test $ac_count -gt 10 && break |
6503 | done | 6503 | done |
6504 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 6504 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
6505 | esac | 6505 | esac |
6506 | 6506 | ||
6507 | $ac_path_SED_found && break 3 | 6507 | $ac_path_SED_found && break 3 |
6508 | done | 6508 | done |
6509 | done | 6509 | done |
6510 | done | 6510 | done |
6511 | IFS=$as_save_IFS | 6511 | IFS=$as_save_IFS |
6512 | if test -z "$ac_cv_path_SED"; then | 6512 | if test -z "$ac_cv_path_SED"; then |
6513 | as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | 6513 | as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 |
6514 | fi | 6514 | fi |
6515 | else | 6515 | else |
6516 | ac_cv_path_SED=$SED | 6516 | ac_cv_path_SED=$SED |
6517 | fi | 6517 | fi |
6518 | 6518 | ||
6519 | fi | 6519 | fi |
6520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | 6520 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 |
6521 | $as_echo "$ac_cv_path_SED" >&6; } | 6521 | $as_echo "$ac_cv_path_SED" >&6; } |
6522 | SED="$ac_cv_path_SED" | 6522 | SED="$ac_cv_path_SED" |
6523 | rm -f conftest.sed | 6523 | rm -f conftest.sed |
6524 | 6524 | ||
6525 | test -z "$SED" && SED=sed | 6525 | test -z "$SED" && SED=sed |
6526 | Xsed="$SED -e 1s/^X//" | 6526 | Xsed="$SED -e 1s/^X//" |
6527 | 6527 | ||
6528 | 6528 | ||
6529 | 6529 | ||
6530 | 6530 | ||
6531 | 6531 | ||
6532 | 6532 | ||
6533 | 6533 | ||
6534 | 6534 | ||
6535 | 6535 | ||
6536 | 6536 | ||
6537 | 6537 | ||
6538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 | 6538 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 |
6539 | $as_echo_n "checking for fgrep... " >&6; } | 6539 | $as_echo_n "checking for fgrep... " >&6; } |
6540 | if ${ac_cv_path_FGREP+:} false; then : | 6540 | if ${ac_cv_path_FGREP+:} false; then : |
6541 | $as_echo_n "(cached) " >&6 | 6541 | $as_echo_n "(cached) " >&6 |
6542 | else | 6542 | else |
6543 | if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 | 6543 | if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 |
6544 | then ac_cv_path_FGREP="$GREP -F" | 6544 | then ac_cv_path_FGREP="$GREP -F" |
6545 | else | 6545 | else |
6546 | if test -z "$FGREP"; then | 6546 | if test -z "$FGREP"; then |
6547 | ac_path_FGREP_found=false | 6547 | ac_path_FGREP_found=false |
6548 | # Loop through the user's path and test for each of PROGNAME-LIST | 6548 | # Loop through the user's path and test for each of PROGNAME-LIST |
6549 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6549 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6550 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 6550 | for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin |
6551 | do | 6551 | do |
6552 | IFS=$as_save_IFS | 6552 | IFS=$as_save_IFS |
6553 | test -z "$as_dir" && as_dir=. | 6553 | test -z "$as_dir" && as_dir=. |
6554 | for ac_prog in fgrep; do | 6554 | for ac_prog in fgrep; do |
6555 | for ac_exec_ext in '' $ac_executable_extensions; do | 6555 | for ac_exec_ext in '' $ac_executable_extensions; do |
6556 | ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" | 6556 | ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" |
6557 | { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue | 6557 | { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue |
6558 | # Check for GNU ac_path_FGREP and select it if it is found. | 6558 | # Check for GNU ac_path_FGREP and select it if it is found. |
6559 | # Check for GNU $ac_path_FGREP | 6559 | # Check for GNU $ac_path_FGREP |
6560 | case `"$ac_path_FGREP" --version 2>&1` in | 6560 | case `"$ac_path_FGREP" --version 2>&1` in |
6561 | *GNU*) | 6561 | *GNU*) |
6562 | ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; | 6562 | ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; |
6563 | *) | 6563 | *) |
6564 | ac_count=0 | 6564 | ac_count=0 |
6565 | $as_echo_n 0123456789 >"conftest.in" | 6565 | $as_echo_n 0123456789 >"conftest.in" |
6566 | while : | 6566 | while : |
6567 | do | 6567 | do |
6568 | cat "conftest.in" "conftest.in" >"conftest.tmp" | 6568 | cat "conftest.in" "conftest.in" >"conftest.tmp" |
6569 | mv "conftest.tmp" "conftest.in" | 6569 | mv "conftest.tmp" "conftest.in" |
6570 | cp "conftest.in" "conftest.nl" | 6570 | cp "conftest.in" "conftest.nl" |
6571 | $as_echo 'FGREP' >> "conftest.nl" | 6571 | $as_echo 'FGREP' >> "conftest.nl" |
6572 | "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break | 6572 | "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break |
6573 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 6573 | diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break |
6574 | as_fn_arith $ac_count + 1 && ac_count=$as_val | 6574 | as_fn_arith $ac_count + 1 && ac_count=$as_val |
6575 | if test $ac_count -gt ${ac_path_FGREP_max-0}; then | 6575 | if test $ac_count -gt ${ac_path_FGREP_max-0}; then |
6576 | # Best one so far, save it but keep looking for a better one | 6576 | # Best one so far, save it but keep looking for a better one |
6577 | ac_cv_path_FGREP="$ac_path_FGREP" | 6577 | ac_cv_path_FGREP="$ac_path_FGREP" |
6578 | ac_path_FGREP_max=$ac_count | 6578 | ac_path_FGREP_max=$ac_count |
6579 | fi | 6579 | fi |
6580 | # 10*(2^10) chars as input seems more than enough | 6580 | # 10*(2^10) chars as input seems more than enough |
6581 | test $ac_count -gt 10 && break | 6581 | test $ac_count -gt 10 && break |
6582 | done | 6582 | done |
6583 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 6583 | rm -f conftest.in conftest.tmp conftest.nl conftest.out;; |
6584 | esac | 6584 | esac |
6585 | 6585 | ||
6586 | $ac_path_FGREP_found && break 3 | 6586 | $ac_path_FGREP_found && break 3 |
6587 | done | 6587 | done |
6588 | done | 6588 | done |
6589 | done | 6589 | done |
6590 | IFS=$as_save_IFS | 6590 | IFS=$as_save_IFS |
6591 | if test -z "$ac_cv_path_FGREP"; then | 6591 | if test -z "$ac_cv_path_FGREP"; then |
6592 | as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 6592 | as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 |
6593 | fi | 6593 | fi |
6594 | else | 6594 | else |
6595 | ac_cv_path_FGREP=$FGREP | 6595 | ac_cv_path_FGREP=$FGREP |
6596 | fi | 6596 | fi |
6597 | 6597 | ||
6598 | fi | 6598 | fi |
6599 | fi | 6599 | fi |
6600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 | 6600 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 |
6601 | $as_echo "$ac_cv_path_FGREP" >&6; } | 6601 | $as_echo "$ac_cv_path_FGREP" >&6; } |
6602 | FGREP="$ac_cv_path_FGREP" | 6602 | FGREP="$ac_cv_path_FGREP" |
6603 | 6603 | ||
6604 | 6604 | ||
6605 | test -z "$GREP" && GREP=grep | 6605 | test -z "$GREP" && GREP=grep |
6606 | 6606 | ||
6607 | 6607 | ||
6608 | 6608 | ||
6609 | 6609 | ||
6610 | 6610 | ||
6611 | 6611 | ||
6612 | 6612 | ||
6613 | 6613 | ||
6614 | 6614 | ||
6615 | 6615 | ||
6616 | 6616 | ||
6617 | 6617 | ||
6618 | 6618 | ||
6619 | 6619 | ||
6620 | 6620 | ||
6621 | 6621 | ||
6622 | 6622 | ||
6623 | 6623 | ||
6624 | 6624 | ||
6625 | # Check whether --with-gnu-ld was given. | 6625 | # Check whether --with-gnu-ld was given. |
6626 | if test "${with_gnu_ld+set}" = set; then : | 6626 | if test "${with_gnu_ld+set}" = set; then : |
6627 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | 6627 | withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes |
6628 | else | 6628 | else |
6629 | with_gnu_ld=no | 6629 | with_gnu_ld=no |
6630 | fi | 6630 | fi |
6631 | 6631 | ||
6632 | ac_prog=ld | 6632 | ac_prog=ld |
6633 | if test "$GCC" = yes; then | 6633 | if test "$GCC" = yes; then |
6634 | # Check if gcc -print-prog-name=ld gives a path. | 6634 | # Check if gcc -print-prog-name=ld gives a path. |
6635 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | 6635 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 |
6636 | $as_echo_n "checking for ld used by $CC... " >&6; } | 6636 | $as_echo_n "checking for ld used by $CC... " >&6; } |
6637 | case $host in | 6637 | case $host in |
6638 | *-*-mingw*) | 6638 | *-*-mingw*) |
6639 | # gcc leaves a trailing carriage return which upsets mingw | 6639 | # gcc leaves a trailing carriage return which upsets mingw |
6640 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 6640 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; |
6641 | *) | 6641 | *) |
6642 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 6642 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; |
6643 | esac | 6643 | esac |
6644 | case $ac_prog in | 6644 | case $ac_prog in |
6645 | # Accept absolute paths. | 6645 | # Accept absolute paths. |
6646 | [\\/]* | ?:[\\/]*) | 6646 | [\\/]* | ?:[\\/]*) |
6647 | re_direlt='/[^/][^/]*/\.\./' | 6647 | re_direlt='/[^/][^/]*/\.\./' |
6648 | # Canonicalize the pathname of ld | 6648 | # Canonicalize the pathname of ld |
6649 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | 6649 | ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` |
6650 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | 6650 | while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do |
6651 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | 6651 | ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` |
6652 | done | 6652 | done |
6653 | test -z "$LD" && LD="$ac_prog" | 6653 | test -z "$LD" && LD="$ac_prog" |
6654 | ;; | 6654 | ;; |
6655 | "") | 6655 | "") |
6656 | # If it fails, then pretend we aren't using GCC. | 6656 | # If it fails, then pretend we aren't using GCC. |
6657 | ac_prog=ld | 6657 | ac_prog=ld |
6658 | ;; | 6658 | ;; |
6659 | *) | 6659 | *) |
6660 | # If it is relative, then search for the first ld in PATH. | 6660 | # If it is relative, then search for the first ld in PATH. |
6661 | with_gnu_ld=unknown | 6661 | with_gnu_ld=unknown |
6662 | ;; | 6662 | ;; |
6663 | esac | 6663 | esac |
6664 | elif test "$with_gnu_ld" = yes; then | 6664 | elif test "$with_gnu_ld" = yes; then |
6665 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | 6665 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 |
6666 | $as_echo_n "checking for GNU ld... " >&6; } | 6666 | $as_echo_n "checking for GNU ld... " >&6; } |
6667 | else | 6667 | else |
6668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | 6668 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 |
6669 | $as_echo_n "checking for non-GNU ld... " >&6; } | 6669 | $as_echo_n "checking for non-GNU ld... " >&6; } |
6670 | fi | 6670 | fi |
6671 | if ${lt_cv_path_LD+:} false; then : | 6671 | if ${lt_cv_path_LD+:} false; then : |
6672 | $as_echo_n "(cached) " >&6 | 6672 | $as_echo_n "(cached) " >&6 |
6673 | else | 6673 | else |
6674 | if test -z "$LD"; then | 6674 | if test -z "$LD"; then |
6675 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 6675 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
6676 | for ac_dir in $PATH; do | 6676 | for ac_dir in $PATH; do |
6677 | IFS="$lt_save_ifs" | 6677 | IFS="$lt_save_ifs" |
6678 | test -z "$ac_dir" && ac_dir=. | 6678 | test -z "$ac_dir" && ac_dir=. |
6679 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 6679 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then |
6680 | lt_cv_path_LD="$ac_dir/$ac_prog" | 6680 | lt_cv_path_LD="$ac_dir/$ac_prog" |
6681 | # Check to see if the program is GNU ld. I'd rather use --version, | 6681 | # Check to see if the program is GNU ld. I'd rather use --version, |
6682 | # but apparently some variants of GNU ld only accept -v. | 6682 | # but apparently some variants of GNU ld only accept -v. |
6683 | # Break only if it was the GNU/non-GNU ld that we prefer. | 6683 | # Break only if it was the GNU/non-GNU ld that we prefer. |
6684 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 6684 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in |
6685 | *GNU* | *'with BFD'*) | 6685 | *GNU* | *'with BFD'*) |
6686 | test "$with_gnu_ld" != no && break | 6686 | test "$with_gnu_ld" != no && break |
6687 | ;; | 6687 | ;; |
6688 | *) | 6688 | *) |
6689 | test "$with_gnu_ld" != yes && break | 6689 | test "$with_gnu_ld" != yes && break |
6690 | ;; | 6690 | ;; |
6691 | esac | 6691 | esac |
6692 | fi | 6692 | fi |
6693 | done | 6693 | done |
6694 | IFS="$lt_save_ifs" | 6694 | IFS="$lt_save_ifs" |
6695 | else | 6695 | else |
6696 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | 6696 | lt_cv_path_LD="$LD" # Let the user override the test with a path. |
6697 | fi | 6697 | fi |
6698 | fi | 6698 | fi |
6699 | 6699 | ||
6700 | LD="$lt_cv_path_LD" | 6700 | LD="$lt_cv_path_LD" |
6701 | if test -n "$LD"; then | 6701 | if test -n "$LD"; then |
6702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | 6702 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 |
6703 | $as_echo "$LD" >&6; } | 6703 | $as_echo "$LD" >&6; } |
6704 | else | 6704 | else |
6705 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6705 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6706 | $as_echo "no" >&6; } | 6706 | $as_echo "no" >&6; } |
6707 | fi | 6707 | fi |
6708 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | 6708 | test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 |
6709 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | 6709 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 |
6710 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | 6710 | $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } |
6711 | if ${lt_cv_prog_gnu_ld+:} false; then : | 6711 | if ${lt_cv_prog_gnu_ld+:} false; then : |
6712 | $as_echo_n "(cached) " >&6 | 6712 | $as_echo_n "(cached) " >&6 |
6713 | else | 6713 | else |
6714 | # I'd rather use --version here, but apparently some GNU lds only accept -v. | 6714 | # I'd rather use --version here, but apparently some GNU lds only accept -v. |
6715 | case `$LD -v 2>&1 </dev/null` in | 6715 | case `$LD -v 2>&1 </dev/null` in |
6716 | *GNU* | *'with BFD'*) | 6716 | *GNU* | *'with BFD'*) |
6717 | lt_cv_prog_gnu_ld=yes | 6717 | lt_cv_prog_gnu_ld=yes |
6718 | ;; | 6718 | ;; |
6719 | *) | 6719 | *) |
6720 | lt_cv_prog_gnu_ld=no | 6720 | lt_cv_prog_gnu_ld=no |
6721 | ;; | 6721 | ;; |
6722 | esac | 6722 | esac |
6723 | fi | 6723 | fi |
6724 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | 6724 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 |
6725 | $as_echo "$lt_cv_prog_gnu_ld" >&6; } | 6725 | $as_echo "$lt_cv_prog_gnu_ld" >&6; } |
6726 | with_gnu_ld=$lt_cv_prog_gnu_ld | 6726 | with_gnu_ld=$lt_cv_prog_gnu_ld |
6727 | 6727 | ||
6728 | 6728 | ||
6729 | 6729 | ||
6730 | 6730 | ||
6731 | 6731 | ||
6732 | 6732 | ||
6733 | 6733 | ||
6734 | 6734 | ||
6735 | 6735 | ||
6736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 | 6736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 |
6737 | $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } | 6737 | $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } |
6738 | if ${lt_cv_path_NM+:} false; then : | 6738 | if ${lt_cv_path_NM+:} false; then : |
6739 | $as_echo_n "(cached) " >&6 | 6739 | $as_echo_n "(cached) " >&6 |
6740 | else | 6740 | else |
6741 | if test -n "$NM"; then | 6741 | if test -n "$NM"; then |
6742 | # Let the user override the test. | 6742 | # Let the user override the test. |
6743 | lt_cv_path_NM="$NM" | 6743 | lt_cv_path_NM="$NM" |
6744 | else | 6744 | else |
6745 | lt_nm_to_check="${ac_tool_prefix}nm" | 6745 | lt_nm_to_check="${ac_tool_prefix}nm" |
6746 | if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | 6746 | if test -n "$ac_tool_prefix" && test "$build" = "$host"; then |
6747 | lt_nm_to_check="$lt_nm_to_check nm" | 6747 | lt_nm_to_check="$lt_nm_to_check nm" |
6748 | fi | 6748 | fi |
6749 | for lt_tmp_nm in $lt_nm_to_check; do | 6749 | for lt_tmp_nm in $lt_nm_to_check; do |
6750 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 6750 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
6751 | for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | 6751 | for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do |
6752 | IFS="$lt_save_ifs" | 6752 | IFS="$lt_save_ifs" |
6753 | test -z "$ac_dir" && ac_dir=. | 6753 | test -z "$ac_dir" && ac_dir=. |
6754 | tmp_nm="$ac_dir/$lt_tmp_nm" | 6754 | tmp_nm="$ac_dir/$lt_tmp_nm" |
6755 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 6755 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then |
6756 | # Check to see if the nm accepts a BSD-compat flag. | 6756 | # Check to see if the nm accepts a BSD-compat flag. |
6757 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 6757 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: |
6758 | # nm: unknown option "B" ignored | 6758 | # nm: unknown option "B" ignored |
6759 | # Tru64's nm complains that /dev/null is an invalid object file | 6759 | # Tru64's nm complains that /dev/null is an invalid object file |
6760 | case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | 6760 | case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in |
6761 | */dev/null* | *'Invalid file or object type'*) | 6761 | */dev/null* | *'Invalid file or object type'*) |
6762 | lt_cv_path_NM="$tmp_nm -B" | 6762 | lt_cv_path_NM="$tmp_nm -B" |
6763 | break | 6763 | break |
6764 | ;; | 6764 | ;; |
6765 | *) | 6765 | *) |
6766 | case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 6766 | case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in |
6767 | */dev/null*) | 6767 | */dev/null*) |
6768 | lt_cv_path_NM="$tmp_nm -p" | 6768 | lt_cv_path_NM="$tmp_nm -p" |
6769 | break | 6769 | break |
6770 | ;; | 6770 | ;; |
6771 | *) | 6771 | *) |
6772 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 6772 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but |
6773 | continue # so that we can try to find one that supports BSD flags | 6773 | continue # so that we can try to find one that supports BSD flags |
6774 | ;; | 6774 | ;; |
6775 | esac | 6775 | esac |
6776 | ;; | 6776 | ;; |
6777 | esac | 6777 | esac |
6778 | fi | 6778 | fi |
6779 | done | 6779 | done |
6780 | IFS="$lt_save_ifs" | 6780 | IFS="$lt_save_ifs" |
6781 | done | 6781 | done |
6782 | : ${lt_cv_path_NM=no} | 6782 | : ${lt_cv_path_NM=no} |
6783 | fi | 6783 | fi |
6784 | fi | 6784 | fi |
6785 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 | 6785 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 |
6786 | $as_echo "$lt_cv_path_NM" >&6; } | 6786 | $as_echo "$lt_cv_path_NM" >&6; } |
6787 | if test "$lt_cv_path_NM" != "no"; then | 6787 | if test "$lt_cv_path_NM" != "no"; then |
6788 | NM="$lt_cv_path_NM" | 6788 | NM="$lt_cv_path_NM" |
6789 | else | 6789 | else |
6790 | # Didn't find any BSD compatible name lister, look for dumpbin. | 6790 | # Didn't find any BSD compatible name lister, look for dumpbin. |
6791 | if test -n "$DUMPBIN"; then : | 6791 | if test -n "$DUMPBIN"; then : |
6792 | # Let the user override the test. | 6792 | # Let the user override the test. |
6793 | else | 6793 | else |
6794 | if test -n "$ac_tool_prefix"; then | 6794 | if test -n "$ac_tool_prefix"; then |
6795 | for ac_prog in dumpbin "link -dump" | 6795 | for ac_prog in dumpbin "link -dump" |
6796 | do | 6796 | do |
6797 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 6797 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
6798 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 6798 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
6799 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6799 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6800 | $as_echo_n "checking for $ac_word... " >&6; } | 6800 | $as_echo_n "checking for $ac_word... " >&6; } |
6801 | if ${ac_cv_prog_DUMPBIN+:} false; then : | 6801 | if ${ac_cv_prog_DUMPBIN+:} false; then : |
6802 | $as_echo_n "(cached) " >&6 | 6802 | $as_echo_n "(cached) " >&6 |
6803 | else | 6803 | else |
6804 | if test -n "$DUMPBIN"; then | 6804 | if test -n "$DUMPBIN"; then |
6805 | ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. | 6805 | ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. |
6806 | else | 6806 | else |
6807 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6807 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6808 | for as_dir in $PATH | 6808 | for as_dir in $PATH |
6809 | do | 6809 | do |
6810 | IFS=$as_save_IFS | 6810 | IFS=$as_save_IFS |
6811 | test -z "$as_dir" && as_dir=. | 6811 | test -z "$as_dir" && as_dir=. |
6812 | for ac_exec_ext in '' $ac_executable_extensions; do | 6812 | for ac_exec_ext in '' $ac_executable_extensions; do |
6813 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6813 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6814 | ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" | 6814 | ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" |
6815 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6815 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6816 | break 2 | 6816 | break 2 |
6817 | fi | 6817 | fi |
6818 | done | 6818 | done |
6819 | done | 6819 | done |
6820 | IFS=$as_save_IFS | 6820 | IFS=$as_save_IFS |
6821 | 6821 | ||
6822 | fi | 6822 | fi |
6823 | fi | 6823 | fi |
6824 | DUMPBIN=$ac_cv_prog_DUMPBIN | 6824 | DUMPBIN=$ac_cv_prog_DUMPBIN |
6825 | if test -n "$DUMPBIN"; then | 6825 | if test -n "$DUMPBIN"; then |
6826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 | 6826 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 |
6827 | $as_echo "$DUMPBIN" >&6; } | 6827 | $as_echo "$DUMPBIN" >&6; } |
6828 | else | 6828 | else |
6829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6830 | $as_echo "no" >&6; } | 6830 | $as_echo "no" >&6; } |
6831 | fi | 6831 | fi |
6832 | 6832 | ||
6833 | 6833 | ||
6834 | test -n "$DUMPBIN" && break | 6834 | test -n "$DUMPBIN" && break |
6835 | done | 6835 | done |
6836 | fi | 6836 | fi |
6837 | if test -z "$DUMPBIN"; then | 6837 | if test -z "$DUMPBIN"; then |
6838 | ac_ct_DUMPBIN=$DUMPBIN | 6838 | ac_ct_DUMPBIN=$DUMPBIN |
6839 | for ac_prog in dumpbin "link -dump" | 6839 | for ac_prog in dumpbin "link -dump" |
6840 | do | 6840 | do |
6841 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 6841 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
6842 | set dummy $ac_prog; ac_word=$2 | 6842 | set dummy $ac_prog; ac_word=$2 |
6843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 6843 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6844 | $as_echo_n "checking for $ac_word... " >&6; } | 6844 | $as_echo_n "checking for $ac_word... " >&6; } |
6845 | if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : | 6845 | if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : |
6846 | $as_echo_n "(cached) " >&6 | 6846 | $as_echo_n "(cached) " >&6 |
6847 | else | 6847 | else |
6848 | if test -n "$ac_ct_DUMPBIN"; then | 6848 | if test -n "$ac_ct_DUMPBIN"; then |
6849 | ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. | 6849 | ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. |
6850 | else | 6850 | else |
6851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 6851 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
6852 | for as_dir in $PATH | 6852 | for as_dir in $PATH |
6853 | do | 6853 | do |
6854 | IFS=$as_save_IFS | 6854 | IFS=$as_save_IFS |
6855 | test -z "$as_dir" && as_dir=. | 6855 | test -z "$as_dir" && as_dir=. |
6856 | for ac_exec_ext in '' $ac_executable_extensions; do | 6856 | for ac_exec_ext in '' $ac_executable_extensions; do |
6857 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 6857 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
6858 | ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" | 6858 | ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" |
6859 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 6859 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
6860 | break 2 | 6860 | break 2 |
6861 | fi | 6861 | fi |
6862 | done | 6862 | done |
6863 | done | 6863 | done |
6864 | IFS=$as_save_IFS | 6864 | IFS=$as_save_IFS |
6865 | 6865 | ||
6866 | fi | 6866 | fi |
6867 | fi | 6867 | fi |
6868 | ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN | 6868 | ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN |
6869 | if test -n "$ac_ct_DUMPBIN"; then | 6869 | if test -n "$ac_ct_DUMPBIN"; then |
6870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 | 6870 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 |
6871 | $as_echo "$ac_ct_DUMPBIN" >&6; } | 6871 | $as_echo "$ac_ct_DUMPBIN" >&6; } |
6872 | else | 6872 | else |
6873 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 6873 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
6874 | $as_echo "no" >&6; } | 6874 | $as_echo "no" >&6; } |
6875 | fi | 6875 | fi |
6876 | 6876 | ||
6877 | 6877 | ||
6878 | test -n "$ac_ct_DUMPBIN" && break | 6878 | test -n "$ac_ct_DUMPBIN" && break |
6879 | done | 6879 | done |
6880 | 6880 | ||
6881 | if test "x$ac_ct_DUMPBIN" = x; then | 6881 | if test "x$ac_ct_DUMPBIN" = x; then |
6882 | DUMPBIN=":" | 6882 | DUMPBIN=":" |
6883 | else | 6883 | else |
6884 | case $cross_compiling:$ac_tool_warned in | 6884 | case $cross_compiling:$ac_tool_warned in |
6885 | yes:) | 6885 | yes:) |
6886 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 6886 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
6887 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 6887 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
6888 | ac_tool_warned=yes ;; | 6888 | ac_tool_warned=yes ;; |
6889 | esac | 6889 | esac |
6890 | DUMPBIN=$ac_ct_DUMPBIN | 6890 | DUMPBIN=$ac_ct_DUMPBIN |
6891 | fi | 6891 | fi |
6892 | fi | 6892 | fi |
6893 | 6893 | ||
6894 | case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in | 6894 | case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in |
6895 | *COFF*) | 6895 | *COFF*) |
6896 | DUMPBIN="$DUMPBIN -symbols" | 6896 | DUMPBIN="$DUMPBIN -symbols" |
6897 | ;; | 6897 | ;; |
6898 | *) | 6898 | *) |
6899 | DUMPBIN=: | 6899 | DUMPBIN=: |
6900 | ;; | 6900 | ;; |
6901 | esac | 6901 | esac |
6902 | fi | 6902 | fi |
6903 | 6903 | ||
6904 | if test "$DUMPBIN" != ":"; then | 6904 | if test "$DUMPBIN" != ":"; then |
6905 | NM="$DUMPBIN" | 6905 | NM="$DUMPBIN" |
6906 | fi | 6906 | fi |
6907 | fi | 6907 | fi |
6908 | test -z "$NM" && NM=nm | 6908 | test -z "$NM" && NM=nm |
6909 | 6909 | ||
6910 | 6910 | ||
6911 | 6911 | ||
6912 | 6912 | ||
6913 | 6913 | ||
6914 | 6914 | ||
6915 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 | 6915 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 |
6916 | $as_echo_n "checking the name lister ($NM) interface... " >&6; } | 6916 | $as_echo_n "checking the name lister ($NM) interface... " >&6; } |
6917 | if ${lt_cv_nm_interface+:} false; then : | 6917 | if ${lt_cv_nm_interface+:} false; then : |
6918 | $as_echo_n "(cached) " >&6 | 6918 | $as_echo_n "(cached) " >&6 |
6919 | else | 6919 | else |
6920 | lt_cv_nm_interface="BSD nm" | 6920 | lt_cv_nm_interface="BSD nm" |
6921 | echo "int some_variable = 0;" > conftest.$ac_ext | 6921 | echo "int some_variable = 0;" > conftest.$ac_ext |
6922 | (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) | 6922 | (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) |
6923 | (eval "$ac_compile" 2>conftest.err) | 6923 | (eval "$ac_compile" 2>conftest.err) |
6924 | cat conftest.err >&5 | 6924 | cat conftest.err >&5 |
6925 | (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | 6925 | (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
6926 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) | 6926 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
6927 | cat conftest.err >&5 | 6927 | cat conftest.err >&5 |
6928 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) | 6928 | (eval echo "\"\$as_me:$LINENO: output\"" >&5) |
6929 | cat conftest.out >&5 | 6929 | cat conftest.out >&5 |
6930 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then | 6930 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
6931 | lt_cv_nm_interface="MS dumpbin" | 6931 | lt_cv_nm_interface="MS dumpbin" |
6932 | fi | 6932 | fi |
6933 | rm -f conftest* | 6933 | rm -f conftest* |
6934 | fi | 6934 | fi |
6935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 | 6935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 |
6936 | $as_echo "$lt_cv_nm_interface" >&6; } | 6936 | $as_echo "$lt_cv_nm_interface" >&6; } |
6937 | 6937 | ||
6938 | # find the maximum length of command line arguments | 6938 | # find the maximum length of command line arguments |
6939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 | 6939 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 |
6940 | $as_echo_n "checking the maximum length of command line arguments... " >&6; } | 6940 | $as_echo_n "checking the maximum length of command line arguments... " >&6; } |
6941 | if ${lt_cv_sys_max_cmd_len+:} false; then : | 6941 | if ${lt_cv_sys_max_cmd_len+:} false; then : |
6942 | $as_echo_n "(cached) " >&6 | 6942 | $as_echo_n "(cached) " >&6 |
6943 | else | 6943 | else |
6944 | i=0 | 6944 | i=0 |
6945 | teststring="ABCD" | 6945 | teststring="ABCD" |
6946 | 6946 | ||
6947 | case $build_os in | 6947 | case $build_os in |
6948 | msdosdjgpp*) | 6948 | msdosdjgpp*) |
6949 | # On DJGPP, this test can blow up pretty badly due to problems in libc | 6949 | # On DJGPP, this test can blow up pretty badly due to problems in libc |
6950 | # (any single argument exceeding 2000 bytes causes a buffer overrun | 6950 | # (any single argument exceeding 2000 bytes causes a buffer overrun |
6951 | # during glob expansion). Even if it were fixed, the result of this | 6951 | # during glob expansion). Even if it were fixed, the result of this |
6952 | # check would be larger than it should be. | 6952 | # check would be larger than it should be. |
6953 | lt_cv_sys_max_cmd_len=12288; # 12K is about right | 6953 | lt_cv_sys_max_cmd_len=12288; # 12K is about right |
6954 | ;; | 6954 | ;; |
6955 | 6955 | ||
6956 | gnu*) | 6956 | gnu*) |
6957 | # Under GNU Hurd, this test is not required because there is | 6957 | # Under GNU Hurd, this test is not required because there is |
6958 | # no limit to the length of command line arguments. | 6958 | # no limit to the length of command line arguments. |
6959 | # Libtool will interpret -1 as no limit whatsoever | 6959 | # Libtool will interpret -1 as no limit whatsoever |
6960 | lt_cv_sys_max_cmd_len=-1; | 6960 | lt_cv_sys_max_cmd_len=-1; |
6961 | ;; | 6961 | ;; |
6962 | 6962 | ||
6963 | cygwin* | mingw* | cegcc*) | 6963 | cygwin* | mingw* | cegcc*) |
6964 | # On Win9x/ME, this test blows up -- it succeeds, but takes | 6964 | # On Win9x/ME, this test blows up -- it succeeds, but takes |
6965 | # about 5 minutes as the teststring grows exponentially. | 6965 | # about 5 minutes as the teststring grows exponentially. |
6966 | # Worse, since 9x/ME are not pre-emptively multitasking, | 6966 | # Worse, since 9x/ME are not pre-emptively multitasking, |
6967 | # you end up with a "frozen" computer, even though with patience | 6967 | # you end up with a "frozen" computer, even though with patience |
6968 | # the test eventually succeeds (with a max line length of 256k). | 6968 | # the test eventually succeeds (with a max line length of 256k). |
6969 | # Instead, let's just punt: use the minimum linelength reported by | 6969 | # Instead, let's just punt: use the minimum linelength reported by |
6970 | # all of the supported platforms: 8192 (on NT/2K/XP). | 6970 | # all of the supported platforms: 8192 (on NT/2K/XP). |
6971 | lt_cv_sys_max_cmd_len=8192; | 6971 | lt_cv_sys_max_cmd_len=8192; |
6972 | ;; | 6972 | ;; |
6973 | 6973 | ||
6974 | mint*) | 6974 | mint*) |
6975 | # On MiNT this can take a long time and run out of memory. | 6975 | # On MiNT this can take a long time and run out of memory. |
6976 | lt_cv_sys_max_cmd_len=8192; | 6976 | lt_cv_sys_max_cmd_len=8192; |
6977 | ;; | 6977 | ;; |
6978 | 6978 | ||
6979 | amigaos*) | 6979 | amigaos*) |
6980 | # On AmigaOS with pdksh, this test takes hours, literally. | 6980 | # On AmigaOS with pdksh, this test takes hours, literally. |
6981 | # So we just punt and use a minimum line length of 8192. | 6981 | # So we just punt and use a minimum line length of 8192. |
6982 | lt_cv_sys_max_cmd_len=8192; | 6982 | lt_cv_sys_max_cmd_len=8192; |
6983 | ;; | 6983 | ;; |
6984 | 6984 | ||
6985 | netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | 6985 | netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) |
6986 | # This has been around since 386BSD, at least. Likely further. | 6986 | # This has been around since 386BSD, at least. Likely further. |
6987 | if test -x /sbin/sysctl; then | 6987 | if test -x /sbin/sysctl; then |
6988 | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | 6988 | lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` |
6989 | elif test -x /usr/sbin/sysctl; then | 6989 | elif test -x /usr/sbin/sysctl; then |
6990 | lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | 6990 | lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` |
6991 | else | 6991 | else |
6992 | lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs | 6992 | lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs |
6993 | fi | 6993 | fi |
6994 | # And add a safety zone | 6994 | # And add a safety zone |
6995 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 6995 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
6996 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | 6996 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
6997 | ;; | 6997 | ;; |
6998 | 6998 | ||
6999 | interix*) | 6999 | interix*) |
7000 | # We know the value 262144 and hardcode it with a safety zone (like BSD) | 7000 | # We know the value 262144 and hardcode it with a safety zone (like BSD) |
7001 | lt_cv_sys_max_cmd_len=196608 | 7001 | lt_cv_sys_max_cmd_len=196608 |
7002 | ;; | 7002 | ;; |
7003 | 7003 | ||
7004 | os2*) | 7004 | os2*) |
7005 | # The test takes a long time on OS/2. | 7005 | # The test takes a long time on OS/2. |
7006 | lt_cv_sys_max_cmd_len=8192 | 7006 | lt_cv_sys_max_cmd_len=8192 |
7007 | ;; | 7007 | ;; |
7008 | 7008 | ||
7009 | osf*) | 7009 | osf*) |
7010 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure | 7010 | # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure |
7011 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not | 7011 | # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not |
7012 | # nice to cause kernel panics so lets avoid the loop below. | 7012 | # nice to cause kernel panics so lets avoid the loop below. |
7013 | # First set a reasonable default. | 7013 | # First set a reasonable default. |
7014 | lt_cv_sys_max_cmd_len=16384 | 7014 | lt_cv_sys_max_cmd_len=16384 |
7015 | # | 7015 | # |
7016 | if test -x /sbin/sysconfig; then | 7016 | if test -x /sbin/sysconfig; then |
7017 | case `/sbin/sysconfig -q proc exec_disable_arg_limit` in | 7017 | case `/sbin/sysconfig -q proc exec_disable_arg_limit` in |
7018 | *1*) lt_cv_sys_max_cmd_len=-1 ;; | 7018 | *1*) lt_cv_sys_max_cmd_len=-1 ;; |
7019 | esac | 7019 | esac |
7020 | fi | 7020 | fi |
7021 | ;; | 7021 | ;; |
7022 | sco3.2v5*) | 7022 | sco3.2v5*) |
7023 | lt_cv_sys_max_cmd_len=102400 | 7023 | lt_cv_sys_max_cmd_len=102400 |
7024 | ;; | 7024 | ;; |
7025 | sysv5* | sco5v6* | sysv4.2uw2*) | 7025 | sysv5* | sco5v6* | sysv4.2uw2*) |
7026 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | 7026 | kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` |
7027 | if test -n "$kargmax"; then | 7027 | if test -n "$kargmax"; then |
7028 | lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` | 7028 | lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'` |
7029 | else | 7029 | else |
7030 | lt_cv_sys_max_cmd_len=32768 | 7030 | lt_cv_sys_max_cmd_len=32768 |
7031 | fi | 7031 | fi |
7032 | ;; | 7032 | ;; |
7033 | *) | 7033 | *) |
7034 | lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | 7034 | lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` |
7035 | if test -n "$lt_cv_sys_max_cmd_len"; then | 7035 | if test -n "$lt_cv_sys_max_cmd_len"; then |
7036 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 7036 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` |
7037 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | 7037 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` |
7038 | else | 7038 | else |
7039 | # Make teststring a little bigger before we do anything with it. | 7039 | # Make teststring a little bigger before we do anything with it. |
7040 | # a 1K string should be a reasonable start. | 7040 | # a 1K string should be a reasonable start. |
7041 | for i in 1 2 3 4 5 6 7 8 ; do | 7041 | for i in 1 2 3 4 5 6 7 8 ; do |
7042 | teststring=$teststring$teststring | 7042 | teststring=$teststring$teststring |
7043 | done | 7043 | done |
7044 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | 7044 | SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} |
7045 | # If test is not a shell built-in, we'll probably end up computing a | 7045 | # If test is not a shell built-in, we'll probably end up computing a |
7046 | # maximum length that is only half of the actual maximum length, but | 7046 | # maximum length that is only half of the actual maximum length, but |
7047 | # we can't tell. | 7047 | # we can't tell. |
7048 | while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ | 7048 | while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \ |
7049 | = "X$teststring$teststring"; } >/dev/null 2>&1 && | 7049 | = "X$teststring$teststring"; } >/dev/null 2>&1 && |
7050 | test $i != 17 # 1/2 MB should be enough | 7050 | test $i != 17 # 1/2 MB should be enough |
7051 | do | 7051 | do |
7052 | i=`expr $i + 1` | 7052 | i=`expr $i + 1` |
7053 | teststring=$teststring$teststring | 7053 | teststring=$teststring$teststring |
7054 | done | 7054 | done |
7055 | # Only check the string length outside the loop. | 7055 | # Only check the string length outside the loop. |
7056 | lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | 7056 | lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` |
7057 | teststring= | 7057 | teststring= |
7058 | # Add a significant safety factor because C++ compilers can tack on | 7058 | # Add a significant safety factor because C++ compilers can tack on |
7059 | # massive amounts of additional arguments before passing them to the | 7059 | # massive amounts of additional arguments before passing them to the |
7060 | # linker. It appears as though 1/2 is a usable value. | 7060 | # linker. It appears as though 1/2 is a usable value. |
7061 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 7061 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` |
7062 | fi | 7062 | fi |
7063 | ;; | 7063 | ;; |
7064 | esac | 7064 | esac |
7065 | 7065 | ||
7066 | fi | 7066 | fi |
7067 | 7067 | ||
7068 | if test -n $lt_cv_sys_max_cmd_len ; then | 7068 | if test -n $lt_cv_sys_max_cmd_len ; then |
7069 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 | 7069 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 |
7070 | $as_echo "$lt_cv_sys_max_cmd_len" >&6; } | 7070 | $as_echo "$lt_cv_sys_max_cmd_len" >&6; } |
7071 | else | 7071 | else |
7072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 | 7072 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 |
7073 | $as_echo "none" >&6; } | 7073 | $as_echo "none" >&6; } |
7074 | fi | 7074 | fi |
7075 | max_cmd_len=$lt_cv_sys_max_cmd_len | 7075 | max_cmd_len=$lt_cv_sys_max_cmd_len |
7076 | 7076 | ||
7077 | 7077 | ||
7078 | 7078 | ||
7079 | 7079 | ||
7080 | 7080 | ||
7081 | 7081 | ||
7082 | : ${CP="cp -f"} | 7082 | : ${CP="cp -f"} |
7083 | : ${MV="mv -f"} | 7083 | : ${MV="mv -f"} |
7084 | : ${RM="rm -f"} | 7084 | : ${RM="rm -f"} |
7085 | 7085 | ||
7086 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 | 7086 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 |
7087 | $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } | 7087 | $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } |
7088 | # Try some XSI features | 7088 | # Try some XSI features |
7089 | xsi_shell=no | 7089 | xsi_shell=no |
7090 | ( _lt_dummy="a/b/c" | 7090 | ( _lt_dummy="a/b/c" |
7091 | test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ | 7091 | test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ |
7092 | = c,a/b,b/c, \ | 7092 | = c,a/b,b/c, \ |
7093 | && eval 'test $(( 1 + 1 )) -eq 2 \ | 7093 | && eval 'test $(( 1 + 1 )) -eq 2 \ |
7094 | && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ | 7094 | && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ |
7095 | && xsi_shell=yes | 7095 | && xsi_shell=yes |
7096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 | 7096 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 |
7097 | $as_echo "$xsi_shell" >&6; } | 7097 | $as_echo "$xsi_shell" >&6; } |
7098 | 7098 | ||
7099 | 7099 | ||
7100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 | 7100 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 |
7101 | $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } | 7101 | $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } |
7102 | lt_shell_append=no | 7102 | lt_shell_append=no |
7103 | ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ | 7103 | ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ |
7104 | >/dev/null 2>&1 \ | 7104 | >/dev/null 2>&1 \ |
7105 | && lt_shell_append=yes | 7105 | && lt_shell_append=yes |
7106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 | 7106 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 |
7107 | $as_echo "$lt_shell_append" >&6; } | 7107 | $as_echo "$lt_shell_append" >&6; } |
7108 | 7108 | ||
7109 | 7109 | ||
7110 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 7110 | if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then |
7111 | lt_unset=unset | 7111 | lt_unset=unset |
7112 | else | 7112 | else |
7113 | lt_unset=false | 7113 | lt_unset=false |
7114 | fi | 7114 | fi |
7115 | 7115 | ||
7116 | 7116 | ||
7117 | 7117 | ||
7118 | 7118 | ||
7119 | 7119 | ||
7120 | # test EBCDIC or ASCII | 7120 | # test EBCDIC or ASCII |
7121 | case `echo X|tr X '\101'` in | 7121 | case `echo X|tr X '\101'` in |
7122 | A) # ASCII based system | 7122 | A) # ASCII based system |
7123 | # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr | 7123 | # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr |
7124 | lt_SP2NL='tr \040 \012' | 7124 | lt_SP2NL='tr \040 \012' |
7125 | lt_NL2SP='tr \015\012 \040\040' | 7125 | lt_NL2SP='tr \015\012 \040\040' |
7126 | ;; | 7126 | ;; |
7127 | *) # EBCDIC based system | 7127 | *) # EBCDIC based system |
7128 | lt_SP2NL='tr \100 \n' | 7128 | lt_SP2NL='tr \100 \n' |
7129 | lt_NL2SP='tr \r\n \100\100' | 7129 | lt_NL2SP='tr \r\n \100\100' |
7130 | ;; | 7130 | ;; |
7131 | esac | 7131 | esac |
7132 | 7132 | ||
7133 | 7133 | ||
7134 | 7134 | ||
7135 | 7135 | ||
7136 | 7136 | ||
7137 | 7137 | ||
7138 | 7138 | ||
7139 | 7139 | ||
7140 | 7140 | ||
7141 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 | 7141 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 |
7142 | $as_echo_n "checking how to convert $build file names to $host format... " >&6; } | 7142 | $as_echo_n "checking how to convert $build file names to $host format... " >&6; } |
7143 | if ${lt_cv_to_host_file_cmd+:} false; then : | 7143 | if ${lt_cv_to_host_file_cmd+:} false; then : |
7144 | $as_echo_n "(cached) " >&6 | 7144 | $as_echo_n "(cached) " >&6 |
7145 | else | 7145 | else |
7146 | case $host in | 7146 | case $host in |
7147 | *-*-mingw* ) | 7147 | *-*-mingw* ) |
7148 | case $build in | 7148 | case $build in |
7149 | *-*-mingw* ) # actually msys | 7149 | *-*-mingw* ) # actually msys |
7150 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 | 7150 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 |
7151 | ;; | 7151 | ;; |
7152 | *-*-cygwin* ) | 7152 | *-*-cygwin* ) |
7153 | lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 | 7153 | lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 |
7154 | ;; | 7154 | ;; |
7155 | * ) # otherwise, assume *nix | 7155 | * ) # otherwise, assume *nix |
7156 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 | 7156 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 |
7157 | ;; | 7157 | ;; |
7158 | esac | 7158 | esac |
7159 | ;; | 7159 | ;; |
7160 | *-*-cygwin* ) | 7160 | *-*-cygwin* ) |
7161 | case $build in | 7161 | case $build in |
7162 | *-*-mingw* ) # actually msys | 7162 | *-*-mingw* ) # actually msys |
7163 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin | 7163 | lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin |
7164 | ;; | 7164 | ;; |
7165 | *-*-cygwin* ) | 7165 | *-*-cygwin* ) |
7166 | lt_cv_to_host_file_cmd=func_convert_file_noop | 7166 | lt_cv_to_host_file_cmd=func_convert_file_noop |
7167 | ;; | 7167 | ;; |
7168 | * ) # otherwise, assume *nix | 7168 | * ) # otherwise, assume *nix |
7169 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin | 7169 | lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin |
7170 | ;; | 7170 | ;; |
7171 | esac | 7171 | esac |
7172 | ;; | 7172 | ;; |
7173 | * ) # unhandled hosts (and "normal" native builds) | 7173 | * ) # unhandled hosts (and "normal" native builds) |
7174 | lt_cv_to_host_file_cmd=func_convert_file_noop | 7174 | lt_cv_to_host_file_cmd=func_convert_file_noop |
7175 | ;; | 7175 | ;; |
7176 | esac | 7176 | esac |
7177 | 7177 | ||
7178 | fi | 7178 | fi |
7179 | 7179 | ||
7180 | to_host_file_cmd=$lt_cv_to_host_file_cmd | 7180 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
7181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 | 7181 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 |
7182 | $as_echo "$lt_cv_to_host_file_cmd" >&6; } | 7182 | $as_echo "$lt_cv_to_host_file_cmd" >&6; } |
7183 | 7183 | ||
7184 | 7184 | ||
7185 | 7185 | ||
7186 | 7186 | ||
7187 | 7187 | ||
7188 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 | 7188 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 |
7189 | $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } | 7189 | $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } |
7190 | if ${lt_cv_to_tool_file_cmd+:} false; then : | 7190 | if ${lt_cv_to_tool_file_cmd+:} false; then : |
7191 | $as_echo_n "(cached) " >&6 | 7191 | $as_echo_n "(cached) " >&6 |
7192 | else | 7192 | else |
7193 | #assume ordinary cross tools, or native build. | 7193 | #assume ordinary cross tools, or native build. |
7194 | lt_cv_to_tool_file_cmd=func_convert_file_noop | 7194 | lt_cv_to_tool_file_cmd=func_convert_file_noop |
7195 | case $host in | 7195 | case $host in |
7196 | *-*-mingw* ) | 7196 | *-*-mingw* ) |
7197 | case $build in | 7197 | case $build in |
7198 | *-*-mingw* ) # actually msys | 7198 | *-*-mingw* ) # actually msys |
7199 | lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 | 7199 | lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 |
7200 | ;; | 7200 | ;; |
7201 | esac | 7201 | esac |
7202 | ;; | 7202 | ;; |
7203 | esac | 7203 | esac |
7204 | 7204 | ||
7205 | fi | 7205 | fi |
7206 | 7206 | ||
7207 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 7207 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
7208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 | 7208 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 |
7209 | $as_echo "$lt_cv_to_tool_file_cmd" >&6; } | 7209 | $as_echo "$lt_cv_to_tool_file_cmd" >&6; } |
7210 | 7210 | ||
7211 | 7211 | ||
7212 | 7212 | ||
7213 | 7213 | ||
7214 | 7214 | ||
7215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 | 7215 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 |
7216 | $as_echo_n "checking for $LD option to reload object files... " >&6; } | 7216 | $as_echo_n "checking for $LD option to reload object files... " >&6; } |
7217 | if ${lt_cv_ld_reload_flag+:} false; then : | 7217 | if ${lt_cv_ld_reload_flag+:} false; then : |
7218 | $as_echo_n "(cached) " >&6 | 7218 | $as_echo_n "(cached) " >&6 |
7219 | else | 7219 | else |
7220 | lt_cv_ld_reload_flag='-r' | 7220 | lt_cv_ld_reload_flag='-r' |
7221 | fi | 7221 | fi |
7222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 | 7222 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 |
7223 | $as_echo "$lt_cv_ld_reload_flag" >&6; } | 7223 | $as_echo "$lt_cv_ld_reload_flag" >&6; } |
7224 | reload_flag=$lt_cv_ld_reload_flag | 7224 | reload_flag=$lt_cv_ld_reload_flag |
7225 | case $reload_flag in | 7225 | case $reload_flag in |
7226 | "" | " "*) ;; | 7226 | "" | " "*) ;; |
7227 | *) reload_flag=" $reload_flag" ;; | 7227 | *) reload_flag=" $reload_flag" ;; |
7228 | esac | 7228 | esac |
7229 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 7229 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
7230 | case $host_os in | 7230 | case $host_os in |
7231 | cygwin* | mingw* | pw32* | cegcc*) | 7231 | cygwin* | mingw* | pw32* | cegcc*) |
7232 | if test "$GCC" != yes; then | 7232 | if test "$GCC" != yes; then |
7233 | reload_cmds=false | 7233 | reload_cmds=false |
7234 | fi | 7234 | fi |
7235 | ;; | 7235 | ;; |
7236 | darwin*) | 7236 | darwin*) |
7237 | if test "$GCC" = yes; then | 7237 | if test "$GCC" = yes; then |
7238 | reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | 7238 | reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' |
7239 | else | 7239 | else |
7240 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 7240 | reload_cmds='$LD$reload_flag -o $output$reload_objs' |
7241 | fi | 7241 | fi |
7242 | ;; | 7242 | ;; |
7243 | esac | 7243 | esac |
7244 | 7244 | ||
7245 | 7245 | ||
7246 | 7246 | ||
7247 | 7247 | ||
7248 | 7248 | ||
7249 | 7249 | ||
7250 | 7250 | ||
7251 | 7251 | ||
7252 | 7252 | ||
7253 | if test -n "$ac_tool_prefix"; then | 7253 | if test -n "$ac_tool_prefix"; then |
7254 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | 7254 | # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. |
7255 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 | 7255 | set dummy ${ac_tool_prefix}objdump; ac_word=$2 |
7256 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7256 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7257 | $as_echo_n "checking for $ac_word... " >&6; } | 7257 | $as_echo_n "checking for $ac_word... " >&6; } |
7258 | if ${ac_cv_prog_OBJDUMP+:} false; then : | 7258 | if ${ac_cv_prog_OBJDUMP+:} false; then : |
7259 | $as_echo_n "(cached) " >&6 | 7259 | $as_echo_n "(cached) " >&6 |
7260 | else | 7260 | else |
7261 | if test -n "$OBJDUMP"; then | 7261 | if test -n "$OBJDUMP"; then |
7262 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | 7262 | ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. |
7263 | else | 7263 | else |
7264 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7264 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7265 | for as_dir in $PATH | 7265 | for as_dir in $PATH |
7266 | do | 7266 | do |
7267 | IFS=$as_save_IFS | 7267 | IFS=$as_save_IFS |
7268 | test -z "$as_dir" && as_dir=. | 7268 | test -z "$as_dir" && as_dir=. |
7269 | for ac_exec_ext in '' $ac_executable_extensions; do | 7269 | for ac_exec_ext in '' $ac_executable_extensions; do |
7270 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7270 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7271 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | 7271 | ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" |
7272 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7272 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7273 | break 2 | 7273 | break 2 |
7274 | fi | 7274 | fi |
7275 | done | 7275 | done |
7276 | done | 7276 | done |
7277 | IFS=$as_save_IFS | 7277 | IFS=$as_save_IFS |
7278 | 7278 | ||
7279 | fi | 7279 | fi |
7280 | fi | 7280 | fi |
7281 | OBJDUMP=$ac_cv_prog_OBJDUMP | 7281 | OBJDUMP=$ac_cv_prog_OBJDUMP |
7282 | if test -n "$OBJDUMP"; then | 7282 | if test -n "$OBJDUMP"; then |
7283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | 7283 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 |
7284 | $as_echo "$OBJDUMP" >&6; } | 7284 | $as_echo "$OBJDUMP" >&6; } |
7285 | else | 7285 | else |
7286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7286 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7287 | $as_echo "no" >&6; } | 7287 | $as_echo "no" >&6; } |
7288 | fi | 7288 | fi |
7289 | 7289 | ||
7290 | 7290 | ||
7291 | fi | 7291 | fi |
7292 | if test -z "$ac_cv_prog_OBJDUMP"; then | 7292 | if test -z "$ac_cv_prog_OBJDUMP"; then |
7293 | ac_ct_OBJDUMP=$OBJDUMP | 7293 | ac_ct_OBJDUMP=$OBJDUMP |
7294 | # Extract the first word of "objdump", so it can be a program name with args. | 7294 | # Extract the first word of "objdump", so it can be a program name with args. |
7295 | set dummy objdump; ac_word=$2 | 7295 | set dummy objdump; ac_word=$2 |
7296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7296 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7297 | $as_echo_n "checking for $ac_word... " >&6; } | 7297 | $as_echo_n "checking for $ac_word... " >&6; } |
7298 | if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | 7298 | if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : |
7299 | $as_echo_n "(cached) " >&6 | 7299 | $as_echo_n "(cached) " >&6 |
7300 | else | 7300 | else |
7301 | if test -n "$ac_ct_OBJDUMP"; then | 7301 | if test -n "$ac_ct_OBJDUMP"; then |
7302 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | 7302 | ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. |
7303 | else | 7303 | else |
7304 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7304 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7305 | for as_dir in $PATH | 7305 | for as_dir in $PATH |
7306 | do | 7306 | do |
7307 | IFS=$as_save_IFS | 7307 | IFS=$as_save_IFS |
7308 | test -z "$as_dir" && as_dir=. | 7308 | test -z "$as_dir" && as_dir=. |
7309 | for ac_exec_ext in '' $ac_executable_extensions; do | 7309 | for ac_exec_ext in '' $ac_executable_extensions; do |
7310 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7310 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7311 | ac_cv_prog_ac_ct_OBJDUMP="objdump" | 7311 | ac_cv_prog_ac_ct_OBJDUMP="objdump" |
7312 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7312 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7313 | break 2 | 7313 | break 2 |
7314 | fi | 7314 | fi |
7315 | done | 7315 | done |
7316 | done | 7316 | done |
7317 | IFS=$as_save_IFS | 7317 | IFS=$as_save_IFS |
7318 | 7318 | ||
7319 | fi | 7319 | fi |
7320 | fi | 7320 | fi |
7321 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | 7321 | ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP |
7322 | if test -n "$ac_ct_OBJDUMP"; then | 7322 | if test -n "$ac_ct_OBJDUMP"; then |
7323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | 7323 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 |
7324 | $as_echo "$ac_ct_OBJDUMP" >&6; } | 7324 | $as_echo "$ac_ct_OBJDUMP" >&6; } |
7325 | else | 7325 | else |
7326 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7326 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7327 | $as_echo "no" >&6; } | 7327 | $as_echo "no" >&6; } |
7328 | fi | 7328 | fi |
7329 | 7329 | ||
7330 | if test "x$ac_ct_OBJDUMP" = x; then | 7330 | if test "x$ac_ct_OBJDUMP" = x; then |
7331 | OBJDUMP="false" | 7331 | OBJDUMP="false" |
7332 | else | 7332 | else |
7333 | case $cross_compiling:$ac_tool_warned in | 7333 | case $cross_compiling:$ac_tool_warned in |
7334 | yes:) | 7334 | yes:) |
7335 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 7335 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7336 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 7336 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7337 | ac_tool_warned=yes ;; | 7337 | ac_tool_warned=yes ;; |
7338 | esac | 7338 | esac |
7339 | OBJDUMP=$ac_ct_OBJDUMP | 7339 | OBJDUMP=$ac_ct_OBJDUMP |
7340 | fi | 7340 | fi |
7341 | else | 7341 | else |
7342 | OBJDUMP="$ac_cv_prog_OBJDUMP" | 7342 | OBJDUMP="$ac_cv_prog_OBJDUMP" |
7343 | fi | 7343 | fi |
7344 | 7344 | ||
7345 | test -z "$OBJDUMP" && OBJDUMP=objdump | 7345 | test -z "$OBJDUMP" && OBJDUMP=objdump |
7346 | 7346 | ||
7347 | 7347 | ||
7348 | 7348 | ||
7349 | 7349 | ||
7350 | 7350 | ||
7351 | 7351 | ||
7352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 | 7352 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 |
7353 | $as_echo_n "checking how to recognize dependent libraries... " >&6; } | 7353 | $as_echo_n "checking how to recognize dependent libraries... " >&6; } |
7354 | if ${lt_cv_deplibs_check_method+:} false; then : | 7354 | if ${lt_cv_deplibs_check_method+:} false; then : |
7355 | $as_echo_n "(cached) " >&6 | 7355 | $as_echo_n "(cached) " >&6 |
7356 | else | 7356 | else |
7357 | lt_cv_file_magic_cmd='$MAGIC_CMD' | 7357 | lt_cv_file_magic_cmd='$MAGIC_CMD' |
7358 | lt_cv_file_magic_test_file= | 7358 | lt_cv_file_magic_test_file= |
7359 | lt_cv_deplibs_check_method='unknown' | 7359 | lt_cv_deplibs_check_method='unknown' |
7360 | # Need to set the preceding variable on all platforms that support | 7360 | # Need to set the preceding variable on all platforms that support |
7361 | # interlibrary dependencies. | 7361 | # interlibrary dependencies. |
7362 | # 'none' -- dependencies not supported. | 7362 | # 'none' -- dependencies not supported. |
7363 | # `unknown' -- same as none, but documents that we really don't know. | 7363 | # `unknown' -- same as none, but documents that we really don't know. |
7364 | # 'pass_all' -- all dependencies passed with no checks. | 7364 | # 'pass_all' -- all dependencies passed with no checks. |
7365 | # 'test_compile' -- check by making test program. | 7365 | # 'test_compile' -- check by making test program. |
7366 | # 'file_magic [[regex]]' -- check by looking for files in library path | 7366 | # 'file_magic [[regex]]' -- check by looking for files in library path |
7367 | # which responds to the $file_magic_cmd with a given extended regex. | 7367 | # which responds to the $file_magic_cmd with a given extended regex. |
7368 | # If you have `file' or equivalent on your system and you're not sure | 7368 | # If you have `file' or equivalent on your system and you're not sure |
7369 | # whether `pass_all' will *always* work, you probably want this one. | 7369 | # whether `pass_all' will *always* work, you probably want this one. |
7370 | 7370 | ||
7371 | case $host_os in | 7371 | case $host_os in |
7372 | aix[4-9]*) | 7372 | aix[4-9]*) |
7373 | lt_cv_deplibs_check_method=pass_all | 7373 | lt_cv_deplibs_check_method=pass_all |
7374 | ;; | 7374 | ;; |
7375 | 7375 | ||
7376 | beos*) | 7376 | beos*) |
7377 | lt_cv_deplibs_check_method=pass_all | 7377 | lt_cv_deplibs_check_method=pass_all |
7378 | ;; | 7378 | ;; |
7379 | 7379 | ||
7380 | bsdi[45]*) | 7380 | bsdi[45]*) |
7381 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 7381 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' |
7382 | lt_cv_file_magic_cmd='/usr/bin/file -L' | 7382 | lt_cv_file_magic_cmd='/usr/bin/file -L' |
7383 | lt_cv_file_magic_test_file=/shlib/libc.so | 7383 | lt_cv_file_magic_test_file=/shlib/libc.so |
7384 | ;; | 7384 | ;; |
7385 | 7385 | ||
7386 | cygwin*) | 7386 | cygwin*) |
7387 | # func_win32_libid is a shell function defined in ltmain.sh | 7387 | # func_win32_libid is a shell function defined in ltmain.sh |
7388 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 7388 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
7389 | lt_cv_file_magic_cmd='func_win32_libid' | 7389 | lt_cv_file_magic_cmd='func_win32_libid' |
7390 | ;; | 7390 | ;; |
7391 | 7391 | ||
7392 | mingw* | pw32*) | 7392 | mingw* | pw32*) |
7393 | # Base MSYS/MinGW do not provide the 'file' command needed by | 7393 | # Base MSYS/MinGW do not provide the 'file' command needed by |
7394 | # func_win32_libid shell function, so use a weaker test based on 'objdump', | 7394 | # func_win32_libid shell function, so use a weaker test based on 'objdump', |
7395 | # unless we find 'file', for example because we are cross-compiling. | 7395 | # unless we find 'file', for example because we are cross-compiling. |
7396 | # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. | 7396 | # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. |
7397 | if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then | 7397 | if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then |
7398 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 7398 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' |
7399 | lt_cv_file_magic_cmd='func_win32_libid' | 7399 | lt_cv_file_magic_cmd='func_win32_libid' |
7400 | else | 7400 | else |
7401 | # Keep this pattern in sync with the one in func_win32_libid. | 7401 | # Keep this pattern in sync with the one in func_win32_libid. |
7402 | lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' | 7402 | lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' |
7403 | lt_cv_file_magic_cmd='$OBJDUMP -f' | 7403 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
7404 | fi | 7404 | fi |
7405 | ;; | 7405 | ;; |
7406 | 7406 | ||
7407 | cegcc*) | 7407 | cegcc*) |
7408 | # use the weaker test based on 'objdump'. See mingw*. | 7408 | # use the weaker test based on 'objdump'. See mingw*. |
7409 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' | 7409 | lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' |
7410 | lt_cv_file_magic_cmd='$OBJDUMP -f' | 7410 | lt_cv_file_magic_cmd='$OBJDUMP -f' |
7411 | ;; | 7411 | ;; |
7412 | 7412 | ||
7413 | darwin* | rhapsody*) | 7413 | darwin* | rhapsody*) |
7414 | lt_cv_deplibs_check_method=pass_all | 7414 | lt_cv_deplibs_check_method=pass_all |
7415 | ;; | 7415 | ;; |
7416 | 7416 | ||
7417 | freebsd* | dragonfly*) | 7417 | freebsd* | dragonfly*) |
7418 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | 7418 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
7419 | case $host_cpu in | 7419 | case $host_cpu in |
7420 | i*86 ) | 7420 | i*86 ) |
7421 | # Not sure whether the presence of OpenBSD here was a mistake. | 7421 | # Not sure whether the presence of OpenBSD here was a mistake. |
7422 | # Let's accept both of them until this is cleared up. | 7422 | # Let's accept both of them until this is cleared up. |
7423 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' | 7423 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' |
7424 | lt_cv_file_magic_cmd=/usr/bin/file | 7424 | lt_cv_file_magic_cmd=/usr/bin/file |
7425 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 7425 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` |
7426 | ;; | 7426 | ;; |
7427 | esac | 7427 | esac |
7428 | else | 7428 | else |
7429 | lt_cv_deplibs_check_method=pass_all | 7429 | lt_cv_deplibs_check_method=pass_all |
7430 | fi | 7430 | fi |
7431 | ;; | 7431 | ;; |
7432 | 7432 | ||
7433 | gnu*) | 7433 | gnu*) |
7434 | lt_cv_deplibs_check_method=pass_all | 7434 | lt_cv_deplibs_check_method=pass_all |
7435 | ;; | 7435 | ;; |
7436 | 7436 | ||
7437 | haiku*) | 7437 | haiku*) |
7438 | lt_cv_deplibs_check_method=pass_all | 7438 | lt_cv_deplibs_check_method=pass_all |
7439 | ;; | 7439 | ;; |
7440 | 7440 | ||
7441 | hpux10.20* | hpux11*) | 7441 | hpux10.20* | hpux11*) |
7442 | lt_cv_file_magic_cmd=/usr/bin/file | 7442 | lt_cv_file_magic_cmd=/usr/bin/file |
7443 | case $host_cpu in | 7443 | case $host_cpu in |
7444 | ia64*) | 7444 | ia64*) |
7445 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | 7445 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' |
7446 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | 7446 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so |
7447 | ;; | 7447 | ;; |
7448 | hppa*64*) | 7448 | hppa*64*) |
7449 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' | 7449 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' |
7450 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | 7450 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl |
7451 | ;; | 7451 | ;; |
7452 | *) | 7452 | *) |
7453 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' | 7453 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' |
7454 | lt_cv_file_magic_test_file=/usr/lib/libc.sl | 7454 | lt_cv_file_magic_test_file=/usr/lib/libc.sl |
7455 | ;; | 7455 | ;; |
7456 | esac | 7456 | esac |
7457 | ;; | 7457 | ;; |
7458 | 7458 | ||
7459 | interix[3-9]*) | 7459 | interix[3-9]*) |
7460 | # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here | 7460 | # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here |
7461 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' | 7461 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' |
7462 | ;; | 7462 | ;; |
7463 | 7463 | ||
7464 | irix5* | irix6* | nonstopux*) | 7464 | irix5* | irix6* | nonstopux*) |
7465 | case $LD in | 7465 | case $LD in |
7466 | *-32|*"-32 ") libmagic=32-bit;; | 7466 | *-32|*"-32 ") libmagic=32-bit;; |
7467 | *-n32|*"-n32 ") libmagic=N32;; | 7467 | *-n32|*"-n32 ") libmagic=N32;; |
7468 | *-64|*"-64 ") libmagic=64-bit;; | 7468 | *-64|*"-64 ") libmagic=64-bit;; |
7469 | *) libmagic=never-match;; | 7469 | *) libmagic=never-match;; |
7470 | esac | 7470 | esac |
7471 | lt_cv_deplibs_check_method=pass_all | 7471 | lt_cv_deplibs_check_method=pass_all |
7472 | ;; | 7472 | ;; |
7473 | 7473 | ||
7474 | # This must be glibc/ELF. | 7474 | # This must be glibc/ELF. |
7475 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 7475 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
7476 | lt_cv_deplibs_check_method=pass_all | 7476 | lt_cv_deplibs_check_method=pass_all |
7477 | ;; | 7477 | ;; |
7478 | 7478 | ||
7479 | netbsd*) | 7479 | netbsd*) |
7480 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | 7480 | if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then |
7481 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | 7481 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
7482 | else | 7482 | else |
7483 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | 7483 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' |
7484 | fi | 7484 | fi |
7485 | ;; | 7485 | ;; |
7486 | 7486 | ||
7487 | newos6*) | 7487 | newos6*) |
7488 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 7488 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' |
7489 | lt_cv_file_magic_cmd=/usr/bin/file | 7489 | lt_cv_file_magic_cmd=/usr/bin/file |
7490 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | 7490 | lt_cv_file_magic_test_file=/usr/lib/libnls.so |
7491 | ;; | 7491 | ;; |
7492 | 7492 | ||
7493 | *nto* | *qnx*) | 7493 | *nto* | *qnx*) |
7494 | lt_cv_deplibs_check_method=pass_all | 7494 | lt_cv_deplibs_check_method=pass_all |
7495 | ;; | 7495 | ;; |
7496 | 7496 | ||
7497 | openbsd*) | 7497 | openbsd*) |
7498 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 7498 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
7499 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' | 7499 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' |
7500 | else | 7500 | else |
7501 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | 7501 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' |
7502 | fi | 7502 | fi |
7503 | ;; | 7503 | ;; |
7504 | 7504 | ||
7505 | osf3* | osf4* | osf5*) | 7505 | osf3* | osf4* | osf5*) |
7506 | lt_cv_deplibs_check_method=pass_all | 7506 | lt_cv_deplibs_check_method=pass_all |
7507 | ;; | 7507 | ;; |
7508 | 7508 | ||
7509 | rdos*) | 7509 | rdos*) |
7510 | lt_cv_deplibs_check_method=pass_all | 7510 | lt_cv_deplibs_check_method=pass_all |
7511 | ;; | 7511 | ;; |
7512 | 7512 | ||
7513 | solaris*) | 7513 | solaris*) |
7514 | lt_cv_deplibs_check_method=pass_all | 7514 | lt_cv_deplibs_check_method=pass_all |
7515 | ;; | 7515 | ;; |
7516 | 7516 | ||
7517 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 7517 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
7518 | lt_cv_deplibs_check_method=pass_all | 7518 | lt_cv_deplibs_check_method=pass_all |
7519 | ;; | 7519 | ;; |
7520 | 7520 | ||
7521 | sysv4 | sysv4.3*) | 7521 | sysv4 | sysv4.3*) |
7522 | case $host_vendor in | 7522 | case $host_vendor in |
7523 | motorola) | 7523 | motorola) |
7524 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' | 7524 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]' |
7525 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 7525 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` |
7526 | ;; | 7526 | ;; |
7527 | ncr) | 7527 | ncr) |
7528 | lt_cv_deplibs_check_method=pass_all | 7528 | lt_cv_deplibs_check_method=pass_all |
7529 | ;; | 7529 | ;; |
7530 | sequent) | 7530 | sequent) |
7531 | lt_cv_file_magic_cmd='/bin/file' | 7531 | lt_cv_file_magic_cmd='/bin/file' |
7532 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 7532 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' |
7533 | ;; | 7533 | ;; |
7534 | sni) | 7534 | sni) |
7535 | lt_cv_file_magic_cmd='/bin/file' | 7535 | lt_cv_file_magic_cmd='/bin/file' |
7536 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 7536 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" |
7537 | lt_cv_file_magic_test_file=/lib/libc.so | 7537 | lt_cv_file_magic_test_file=/lib/libc.so |
7538 | ;; | 7538 | ;; |
7539 | siemens) | 7539 | siemens) |
7540 | lt_cv_deplibs_check_method=pass_all | 7540 | lt_cv_deplibs_check_method=pass_all |
7541 | ;; | 7541 | ;; |
7542 | pc) | 7542 | pc) |
7543 | lt_cv_deplibs_check_method=pass_all | 7543 | lt_cv_deplibs_check_method=pass_all |
7544 | ;; | 7544 | ;; |
7545 | esac | 7545 | esac |
7546 | ;; | 7546 | ;; |
7547 | 7547 | ||
7548 | tpf*) | 7548 | tpf*) |
7549 | lt_cv_deplibs_check_method=pass_all | 7549 | lt_cv_deplibs_check_method=pass_all |
7550 | ;; | 7550 | ;; |
7551 | esac | 7551 | esac |
7552 | 7552 | ||
7553 | fi | 7553 | fi |
7554 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 | 7554 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 |
7555 | $as_echo "$lt_cv_deplibs_check_method" >&6; } | 7555 | $as_echo "$lt_cv_deplibs_check_method" >&6; } |
7556 | 7556 | ||
7557 | file_magic_glob= | 7557 | file_magic_glob= |
7558 | want_nocaseglob=no | 7558 | want_nocaseglob=no |
7559 | if test "$build" = "$host"; then | 7559 | if test "$build" = "$host"; then |
7560 | case $host_os in | 7560 | case $host_os in |
7561 | mingw* | pw32*) | 7561 | mingw* | pw32*) |
7562 | if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then | 7562 | if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then |
7563 | want_nocaseglob=yes | 7563 | want_nocaseglob=yes |
7564 | else | 7564 | else |
7565 | file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` | 7565 | file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` |
7566 | fi | 7566 | fi |
7567 | ;; | 7567 | ;; |
7568 | esac | 7568 | esac |
7569 | fi | 7569 | fi |
7570 | 7570 | ||
7571 | file_magic_cmd=$lt_cv_file_magic_cmd | 7571 | file_magic_cmd=$lt_cv_file_magic_cmd |
7572 | deplibs_check_method=$lt_cv_deplibs_check_method | 7572 | deplibs_check_method=$lt_cv_deplibs_check_method |
7573 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | 7573 | test -z "$deplibs_check_method" && deplibs_check_method=unknown |
7574 | 7574 | ||
7575 | 7575 | ||
7576 | 7576 | ||
7577 | 7577 | ||
7578 | 7578 | ||
7579 | 7579 | ||
7580 | 7580 | ||
7581 | 7581 | ||
7582 | 7582 | ||
7583 | 7583 | ||
7584 | 7584 | ||
7585 | 7585 | ||
7586 | 7586 | ||
7587 | 7587 | ||
7588 | 7588 | ||
7589 | 7589 | ||
7590 | 7590 | ||
7591 | 7591 | ||
7592 | 7592 | ||
7593 | 7593 | ||
7594 | 7594 | ||
7595 | 7595 | ||
7596 | if test -n "$ac_tool_prefix"; then | 7596 | if test -n "$ac_tool_prefix"; then |
7597 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | 7597 | # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. |
7598 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | 7598 | set dummy ${ac_tool_prefix}dlltool; ac_word=$2 |
7599 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7599 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7600 | $as_echo_n "checking for $ac_word... " >&6; } | 7600 | $as_echo_n "checking for $ac_word... " >&6; } |
7601 | if ${ac_cv_prog_DLLTOOL+:} false; then : | 7601 | if ${ac_cv_prog_DLLTOOL+:} false; then : |
7602 | $as_echo_n "(cached) " >&6 | 7602 | $as_echo_n "(cached) " >&6 |
7603 | else | 7603 | else |
7604 | if test -n "$DLLTOOL"; then | 7604 | if test -n "$DLLTOOL"; then |
7605 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | 7605 | ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. |
7606 | else | 7606 | else |
7607 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7607 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7608 | for as_dir in $PATH | 7608 | for as_dir in $PATH |
7609 | do | 7609 | do |
7610 | IFS=$as_save_IFS | 7610 | IFS=$as_save_IFS |
7611 | test -z "$as_dir" && as_dir=. | 7611 | test -z "$as_dir" && as_dir=. |
7612 | for ac_exec_ext in '' $ac_executable_extensions; do | 7612 | for ac_exec_ext in '' $ac_executable_extensions; do |
7613 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7613 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7614 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | 7614 | ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" |
7615 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7615 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7616 | break 2 | 7616 | break 2 |
7617 | fi | 7617 | fi |
7618 | done | 7618 | done |
7619 | done | 7619 | done |
7620 | IFS=$as_save_IFS | 7620 | IFS=$as_save_IFS |
7621 | 7621 | ||
7622 | fi | 7622 | fi |
7623 | fi | 7623 | fi |
7624 | DLLTOOL=$ac_cv_prog_DLLTOOL | 7624 | DLLTOOL=$ac_cv_prog_DLLTOOL |
7625 | if test -n "$DLLTOOL"; then | 7625 | if test -n "$DLLTOOL"; then |
7626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | 7626 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 |
7627 | $as_echo "$DLLTOOL" >&6; } | 7627 | $as_echo "$DLLTOOL" >&6; } |
7628 | else | 7628 | else |
7629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7629 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7630 | $as_echo "no" >&6; } | 7630 | $as_echo "no" >&6; } |
7631 | fi | 7631 | fi |
7632 | 7632 | ||
7633 | 7633 | ||
7634 | fi | 7634 | fi |
7635 | if test -z "$ac_cv_prog_DLLTOOL"; then | 7635 | if test -z "$ac_cv_prog_DLLTOOL"; then |
7636 | ac_ct_DLLTOOL=$DLLTOOL | 7636 | ac_ct_DLLTOOL=$DLLTOOL |
7637 | # Extract the first word of "dlltool", so it can be a program name with args. | 7637 | # Extract the first word of "dlltool", so it can be a program name with args. |
7638 | set dummy dlltool; ac_word=$2 | 7638 | set dummy dlltool; ac_word=$2 |
7639 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7639 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7640 | $as_echo_n "checking for $ac_word... " >&6; } | 7640 | $as_echo_n "checking for $ac_word... " >&6; } |
7641 | if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | 7641 | if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : |
7642 | $as_echo_n "(cached) " >&6 | 7642 | $as_echo_n "(cached) " >&6 |
7643 | else | 7643 | else |
7644 | if test -n "$ac_ct_DLLTOOL"; then | 7644 | if test -n "$ac_ct_DLLTOOL"; then |
7645 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | 7645 | ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. |
7646 | else | 7646 | else |
7647 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7647 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7648 | for as_dir in $PATH | 7648 | for as_dir in $PATH |
7649 | do | 7649 | do |
7650 | IFS=$as_save_IFS | 7650 | IFS=$as_save_IFS |
7651 | test -z "$as_dir" && as_dir=. | 7651 | test -z "$as_dir" && as_dir=. |
7652 | for ac_exec_ext in '' $ac_executable_extensions; do | 7652 | for ac_exec_ext in '' $ac_executable_extensions; do |
7653 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7653 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7654 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" | 7654 | ac_cv_prog_ac_ct_DLLTOOL="dlltool" |
7655 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7655 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7656 | break 2 | 7656 | break 2 |
7657 | fi | 7657 | fi |
7658 | done | 7658 | done |
7659 | done | 7659 | done |
7660 | IFS=$as_save_IFS | 7660 | IFS=$as_save_IFS |
7661 | 7661 | ||
7662 | fi | 7662 | fi |
7663 | fi | 7663 | fi |
7664 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | 7664 | ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL |
7665 | if test -n "$ac_ct_DLLTOOL"; then | 7665 | if test -n "$ac_ct_DLLTOOL"; then |
7666 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | 7666 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 |
7667 | $as_echo "$ac_ct_DLLTOOL" >&6; } | 7667 | $as_echo "$ac_ct_DLLTOOL" >&6; } |
7668 | else | 7668 | else |
7669 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7669 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7670 | $as_echo "no" >&6; } | 7670 | $as_echo "no" >&6; } |
7671 | fi | 7671 | fi |
7672 | 7672 | ||
7673 | if test "x$ac_ct_DLLTOOL" = x; then | 7673 | if test "x$ac_ct_DLLTOOL" = x; then |
7674 | DLLTOOL="false" | 7674 | DLLTOOL="false" |
7675 | else | 7675 | else |
7676 | case $cross_compiling:$ac_tool_warned in | 7676 | case $cross_compiling:$ac_tool_warned in |
7677 | yes:) | 7677 | yes:) |
7678 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 7678 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7679 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 7679 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7680 | ac_tool_warned=yes ;; | 7680 | ac_tool_warned=yes ;; |
7681 | esac | 7681 | esac |
7682 | DLLTOOL=$ac_ct_DLLTOOL | 7682 | DLLTOOL=$ac_ct_DLLTOOL |
7683 | fi | 7683 | fi |
7684 | else | 7684 | else |
7685 | DLLTOOL="$ac_cv_prog_DLLTOOL" | 7685 | DLLTOOL="$ac_cv_prog_DLLTOOL" |
7686 | fi | 7686 | fi |
7687 | 7687 | ||
7688 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 7688 | test -z "$DLLTOOL" && DLLTOOL=dlltool |
7689 | 7689 | ||
7690 | 7690 | ||
7691 | 7691 | ||
7692 | 7692 | ||
7693 | 7693 | ||
7694 | 7694 | ||
7695 | 7695 | ||
7696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 | 7696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 |
7697 | $as_echo_n "checking how to associate runtime and link libraries... " >&6; } | 7697 | $as_echo_n "checking how to associate runtime and link libraries... " >&6; } |
7698 | if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : | 7698 | if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : |
7699 | $as_echo_n "(cached) " >&6 | 7699 | $as_echo_n "(cached) " >&6 |
7700 | else | 7700 | else |
7701 | lt_cv_sharedlib_from_linklib_cmd='unknown' | 7701 | lt_cv_sharedlib_from_linklib_cmd='unknown' |
7702 | 7702 | ||
7703 | case $host_os in | 7703 | case $host_os in |
7704 | cygwin* | mingw* | pw32* | cegcc*) | 7704 | cygwin* | mingw* | pw32* | cegcc*) |
7705 | # two different shell functions defined in ltmain.sh | 7705 | # two different shell functions defined in ltmain.sh |
7706 | # decide which to use based on capabilities of $DLLTOOL | 7706 | # decide which to use based on capabilities of $DLLTOOL |
7707 | case `$DLLTOOL --help 2>&1` in | 7707 | case `$DLLTOOL --help 2>&1` in |
7708 | *--identify-strict*) | 7708 | *--identify-strict*) |
7709 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib | 7709 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib |
7710 | ;; | 7710 | ;; |
7711 | *) | 7711 | *) |
7712 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback | 7712 | lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback |
7713 | ;; | 7713 | ;; |
7714 | esac | 7714 | esac |
7715 | ;; | 7715 | ;; |
7716 | *) | 7716 | *) |
7717 | # fallback: assume linklib IS sharedlib | 7717 | # fallback: assume linklib IS sharedlib |
7718 | lt_cv_sharedlib_from_linklib_cmd="$ECHO" | 7718 | lt_cv_sharedlib_from_linklib_cmd="$ECHO" |
7719 | ;; | 7719 | ;; |
7720 | esac | 7720 | esac |
7721 | 7721 | ||
7722 | fi | 7722 | fi |
7723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 | 7723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 |
7724 | $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } | 7724 | $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } |
7725 | sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd | 7725 | sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd |
7726 | test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO | 7726 | test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO |
7727 | 7727 | ||
7728 | 7728 | ||
7729 | 7729 | ||
7730 | 7730 | ||
7731 | 7731 | ||
7732 | 7732 | ||
7733 | 7733 | ||
7734 | if test -n "$ac_tool_prefix"; then | 7734 | if test -n "$ac_tool_prefix"; then |
7735 | for ac_prog in ar | 7735 | for ac_prog in ar |
7736 | do | 7736 | do |
7737 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 7737 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. |
7738 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 7738 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 |
7739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7739 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7740 | $as_echo_n "checking for $ac_word... " >&6; } | 7740 | $as_echo_n "checking for $ac_word... " >&6; } |
7741 | if ${ac_cv_prog_AR+:} false; then : | 7741 | if ${ac_cv_prog_AR+:} false; then : |
7742 | $as_echo_n "(cached) " >&6 | 7742 | $as_echo_n "(cached) " >&6 |
7743 | else | 7743 | else |
7744 | if test -n "$AR"; then | 7744 | if test -n "$AR"; then |
7745 | ac_cv_prog_AR="$AR" # Let the user override the test. | 7745 | ac_cv_prog_AR="$AR" # Let the user override the test. |
7746 | else | 7746 | else |
7747 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7747 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7748 | for as_dir in $PATH | 7748 | for as_dir in $PATH |
7749 | do | 7749 | do |
7750 | IFS=$as_save_IFS | 7750 | IFS=$as_save_IFS |
7751 | test -z "$as_dir" && as_dir=. | 7751 | test -z "$as_dir" && as_dir=. |
7752 | for ac_exec_ext in '' $ac_executable_extensions; do | 7752 | for ac_exec_ext in '' $ac_executable_extensions; do |
7753 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7753 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7754 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" | 7754 | ac_cv_prog_AR="$ac_tool_prefix$ac_prog" |
7755 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7755 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7756 | break 2 | 7756 | break 2 |
7757 | fi | 7757 | fi |
7758 | done | 7758 | done |
7759 | done | 7759 | done |
7760 | IFS=$as_save_IFS | 7760 | IFS=$as_save_IFS |
7761 | 7761 | ||
7762 | fi | 7762 | fi |
7763 | fi | 7763 | fi |
7764 | AR=$ac_cv_prog_AR | 7764 | AR=$ac_cv_prog_AR |
7765 | if test -n "$AR"; then | 7765 | if test -n "$AR"; then |
7766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | 7766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 |
7767 | $as_echo "$AR" >&6; } | 7767 | $as_echo "$AR" >&6; } |
7768 | else | 7768 | else |
7769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7769 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7770 | $as_echo "no" >&6; } | 7770 | $as_echo "no" >&6; } |
7771 | fi | 7771 | fi |
7772 | 7772 | ||
7773 | 7773 | ||
7774 | test -n "$AR" && break | 7774 | test -n "$AR" && break |
7775 | done | 7775 | done |
7776 | fi | 7776 | fi |
7777 | if test -z "$AR"; then | 7777 | if test -z "$AR"; then |
7778 | ac_ct_AR=$AR | 7778 | ac_ct_AR=$AR |
7779 | for ac_prog in ar | 7779 | for ac_prog in ar |
7780 | do | 7780 | do |
7781 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 7781 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
7782 | set dummy $ac_prog; ac_word=$2 | 7782 | set dummy $ac_prog; ac_word=$2 |
7783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7784 | $as_echo_n "checking for $ac_word... " >&6; } | 7784 | $as_echo_n "checking for $ac_word... " >&6; } |
7785 | if ${ac_cv_prog_ac_ct_AR+:} false; then : | 7785 | if ${ac_cv_prog_ac_ct_AR+:} false; then : |
7786 | $as_echo_n "(cached) " >&6 | 7786 | $as_echo_n "(cached) " >&6 |
7787 | else | 7787 | else |
7788 | if test -n "$ac_ct_AR"; then | 7788 | if test -n "$ac_ct_AR"; then |
7789 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | 7789 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. |
7790 | else | 7790 | else |
7791 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7791 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7792 | for as_dir in $PATH | 7792 | for as_dir in $PATH |
7793 | do | 7793 | do |
7794 | IFS=$as_save_IFS | 7794 | IFS=$as_save_IFS |
7795 | test -z "$as_dir" && as_dir=. | 7795 | test -z "$as_dir" && as_dir=. |
7796 | for ac_exec_ext in '' $ac_executable_extensions; do | 7796 | for ac_exec_ext in '' $ac_executable_extensions; do |
7797 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7797 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7798 | ac_cv_prog_ac_ct_AR="$ac_prog" | 7798 | ac_cv_prog_ac_ct_AR="$ac_prog" |
7799 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7799 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7800 | break 2 | 7800 | break 2 |
7801 | fi | 7801 | fi |
7802 | done | 7802 | done |
7803 | done | 7803 | done |
7804 | IFS=$as_save_IFS | 7804 | IFS=$as_save_IFS |
7805 | 7805 | ||
7806 | fi | 7806 | fi |
7807 | fi | 7807 | fi |
7808 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | 7808 | ac_ct_AR=$ac_cv_prog_ac_ct_AR |
7809 | if test -n "$ac_ct_AR"; then | 7809 | if test -n "$ac_ct_AR"; then |
7810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | 7810 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 |
7811 | $as_echo "$ac_ct_AR" >&6; } | 7811 | $as_echo "$ac_ct_AR" >&6; } |
7812 | else | 7812 | else |
7813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7813 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7814 | $as_echo "no" >&6; } | 7814 | $as_echo "no" >&6; } |
7815 | fi | 7815 | fi |
7816 | 7816 | ||
7817 | 7817 | ||
7818 | test -n "$ac_ct_AR" && break | 7818 | test -n "$ac_ct_AR" && break |
7819 | done | 7819 | done |
7820 | 7820 | ||
7821 | if test "x$ac_ct_AR" = x; then | 7821 | if test "x$ac_ct_AR" = x; then |
7822 | AR="false" | 7822 | AR="false" |
7823 | else | 7823 | else |
7824 | case $cross_compiling:$ac_tool_warned in | 7824 | case $cross_compiling:$ac_tool_warned in |
7825 | yes:) | 7825 | yes:) |
7826 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 7826 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7827 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 7827 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7828 | ac_tool_warned=yes ;; | 7828 | ac_tool_warned=yes ;; |
7829 | esac | 7829 | esac |
7830 | AR=$ac_ct_AR | 7830 | AR=$ac_ct_AR |
7831 | fi | 7831 | fi |
7832 | fi | 7832 | fi |
7833 | 7833 | ||
7834 | : ${AR=ar} | 7834 | : ${AR=ar} |
7835 | : ${AR_FLAGS=cru} | 7835 | : ${AR_FLAGS=cru} |
7836 | 7836 | ||
7837 | 7837 | ||
7838 | 7838 | ||
7839 | 7839 | ||
7840 | 7840 | ||
7841 | 7841 | ||
7842 | 7842 | ||
7843 | 7843 | ||
7844 | 7844 | ||
7845 | 7845 | ||
7846 | 7846 | ||
7847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 | 7847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 |
7848 | $as_echo_n "checking for archiver @FILE support... " >&6; } | 7848 | $as_echo_n "checking for archiver @FILE support... " >&6; } |
7849 | if ${lt_cv_ar_at_file+:} false; then : | 7849 | if ${lt_cv_ar_at_file+:} false; then : |
7850 | $as_echo_n "(cached) " >&6 | 7850 | $as_echo_n "(cached) " >&6 |
7851 | else | 7851 | else |
7852 | lt_cv_ar_at_file=no | 7852 | lt_cv_ar_at_file=no |
7853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 7853 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
7854 | /* end confdefs.h. */ | 7854 | /* end confdefs.h. */ |
7855 | 7855 | ||
7856 | int | 7856 | int |
7857 | main () | 7857 | main () |
7858 | { | 7858 | { |
7859 | 7859 | ||
7860 | ; | 7860 | ; |
7861 | return 0; | 7861 | return 0; |
7862 | } | 7862 | } |
7863 | _ACEOF | 7863 | _ACEOF |
7864 | if ac_fn_c_try_compile "$LINENO"; then : | 7864 | if ac_fn_c_try_compile "$LINENO"; then : |
7865 | echo conftest.$ac_objext > conftest.lst | 7865 | echo conftest.$ac_objext > conftest.lst |
7866 | lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' | 7866 | lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' |
7867 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | 7867 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
7868 | (eval $lt_ar_try) 2>&5 | 7868 | (eval $lt_ar_try) 2>&5 |
7869 | ac_status=$? | 7869 | ac_status=$? |
7870 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7870 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7871 | test $ac_status = 0; } | 7871 | test $ac_status = 0; } |
7872 | if test "$ac_status" -eq 0; then | 7872 | if test "$ac_status" -eq 0; then |
7873 | # Ensure the archiver fails upon bogus file names. | 7873 | # Ensure the archiver fails upon bogus file names. |
7874 | rm -f conftest.$ac_objext libconftest.a | 7874 | rm -f conftest.$ac_objext libconftest.a |
7875 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | 7875 | { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 |
7876 | (eval $lt_ar_try) 2>&5 | 7876 | (eval $lt_ar_try) 2>&5 |
7877 | ac_status=$? | 7877 | ac_status=$? |
7878 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 7878 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
7879 | test $ac_status = 0; } | 7879 | test $ac_status = 0; } |
7880 | if test "$ac_status" -ne 0; then | 7880 | if test "$ac_status" -ne 0; then |
7881 | lt_cv_ar_at_file=@ | 7881 | lt_cv_ar_at_file=@ |
7882 | fi | 7882 | fi |
7883 | fi | 7883 | fi |
7884 | rm -f conftest.* libconftest.a | 7884 | rm -f conftest.* libconftest.a |
7885 | 7885 | ||
7886 | fi | 7886 | fi |
7887 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 7887 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7888 | 7888 | ||
7889 | fi | 7889 | fi |
7890 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 | 7890 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 |
7891 | $as_echo "$lt_cv_ar_at_file" >&6; } | 7891 | $as_echo "$lt_cv_ar_at_file" >&6; } |
7892 | 7892 | ||
7893 | if test "x$lt_cv_ar_at_file" = xno; then | 7893 | if test "x$lt_cv_ar_at_file" = xno; then |
7894 | archiver_list_spec= | 7894 | archiver_list_spec= |
7895 | else | 7895 | else |
7896 | archiver_list_spec=$lt_cv_ar_at_file | 7896 | archiver_list_spec=$lt_cv_ar_at_file |
7897 | fi | 7897 | fi |
7898 | 7898 | ||
7899 | 7899 | ||
7900 | 7900 | ||
7901 | 7901 | ||
7902 | 7902 | ||
7903 | 7903 | ||
7904 | 7904 | ||
7905 | if test -n "$ac_tool_prefix"; then | 7905 | if test -n "$ac_tool_prefix"; then |
7906 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 7906 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. |
7907 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 7907 | set dummy ${ac_tool_prefix}strip; ac_word=$2 |
7908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7909 | $as_echo_n "checking for $ac_word... " >&6; } | 7909 | $as_echo_n "checking for $ac_word... " >&6; } |
7910 | if ${ac_cv_prog_STRIP+:} false; then : | 7910 | if ${ac_cv_prog_STRIP+:} false; then : |
7911 | $as_echo_n "(cached) " >&6 | 7911 | $as_echo_n "(cached) " >&6 |
7912 | else | 7912 | else |
7913 | if test -n "$STRIP"; then | 7913 | if test -n "$STRIP"; then |
7914 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 7914 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
7915 | else | 7915 | else |
7916 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7916 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7917 | for as_dir in $PATH | 7917 | for as_dir in $PATH |
7918 | do | 7918 | do |
7919 | IFS=$as_save_IFS | 7919 | IFS=$as_save_IFS |
7920 | test -z "$as_dir" && as_dir=. | 7920 | test -z "$as_dir" && as_dir=. |
7921 | for ac_exec_ext in '' $ac_executable_extensions; do | 7921 | for ac_exec_ext in '' $ac_executable_extensions; do |
7922 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7922 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7923 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 7923 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" |
7924 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7924 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7925 | break 2 | 7925 | break 2 |
7926 | fi | 7926 | fi |
7927 | done | 7927 | done |
7928 | done | 7928 | done |
7929 | IFS=$as_save_IFS | 7929 | IFS=$as_save_IFS |
7930 | 7930 | ||
7931 | fi | 7931 | fi |
7932 | fi | 7932 | fi |
7933 | STRIP=$ac_cv_prog_STRIP | 7933 | STRIP=$ac_cv_prog_STRIP |
7934 | if test -n "$STRIP"; then | 7934 | if test -n "$STRIP"; then |
7935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | 7935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 |
7936 | $as_echo "$STRIP" >&6; } | 7936 | $as_echo "$STRIP" >&6; } |
7937 | else | 7937 | else |
7938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7939 | $as_echo "no" >&6; } | 7939 | $as_echo "no" >&6; } |
7940 | fi | 7940 | fi |
7941 | 7941 | ||
7942 | 7942 | ||
7943 | fi | 7943 | fi |
7944 | if test -z "$ac_cv_prog_STRIP"; then | 7944 | if test -z "$ac_cv_prog_STRIP"; then |
7945 | ac_ct_STRIP=$STRIP | 7945 | ac_ct_STRIP=$STRIP |
7946 | # Extract the first word of "strip", so it can be a program name with args. | 7946 | # Extract the first word of "strip", so it can be a program name with args. |
7947 | set dummy strip; ac_word=$2 | 7947 | set dummy strip; ac_word=$2 |
7948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 7948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
7949 | $as_echo_n "checking for $ac_word... " >&6; } | 7949 | $as_echo_n "checking for $ac_word... " >&6; } |
7950 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | 7950 | if ${ac_cv_prog_ac_ct_STRIP+:} false; then : |
7951 | $as_echo_n "(cached) " >&6 | 7951 | $as_echo_n "(cached) " >&6 |
7952 | else | 7952 | else |
7953 | if test -n "$ac_ct_STRIP"; then | 7953 | if test -n "$ac_ct_STRIP"; then |
7954 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 7954 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. |
7955 | else | 7955 | else |
7956 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 7956 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
7957 | for as_dir in $PATH | 7957 | for as_dir in $PATH |
7958 | do | 7958 | do |
7959 | IFS=$as_save_IFS | 7959 | IFS=$as_save_IFS |
7960 | test -z "$as_dir" && as_dir=. | 7960 | test -z "$as_dir" && as_dir=. |
7961 | for ac_exec_ext in '' $ac_executable_extensions; do | 7961 | for ac_exec_ext in '' $ac_executable_extensions; do |
7962 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 7962 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
7963 | ac_cv_prog_ac_ct_STRIP="strip" | 7963 | ac_cv_prog_ac_ct_STRIP="strip" |
7964 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 7964 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
7965 | break 2 | 7965 | break 2 |
7966 | fi | 7966 | fi |
7967 | done | 7967 | done |
7968 | done | 7968 | done |
7969 | IFS=$as_save_IFS | 7969 | IFS=$as_save_IFS |
7970 | 7970 | ||
7971 | fi | 7971 | fi |
7972 | fi | 7972 | fi |
7973 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 7973 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP |
7974 | if test -n "$ac_ct_STRIP"; then | 7974 | if test -n "$ac_ct_STRIP"; then |
7975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | 7975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 |
7976 | $as_echo "$ac_ct_STRIP" >&6; } | 7976 | $as_echo "$ac_ct_STRIP" >&6; } |
7977 | else | 7977 | else |
7978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 7978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
7979 | $as_echo "no" >&6; } | 7979 | $as_echo "no" >&6; } |
7980 | fi | 7980 | fi |
7981 | 7981 | ||
7982 | if test "x$ac_ct_STRIP" = x; then | 7982 | if test "x$ac_ct_STRIP" = x; then |
7983 | STRIP=":" | 7983 | STRIP=":" |
7984 | else | 7984 | else |
7985 | case $cross_compiling:$ac_tool_warned in | 7985 | case $cross_compiling:$ac_tool_warned in |
7986 | yes:) | 7986 | yes:) |
7987 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 7987 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
7988 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 7988 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
7989 | ac_tool_warned=yes ;; | 7989 | ac_tool_warned=yes ;; |
7990 | esac | 7990 | esac |
7991 | STRIP=$ac_ct_STRIP | 7991 | STRIP=$ac_ct_STRIP |
7992 | fi | 7992 | fi |
7993 | else | 7993 | else |
7994 | STRIP="$ac_cv_prog_STRIP" | 7994 | STRIP="$ac_cv_prog_STRIP" |
7995 | fi | 7995 | fi |
7996 | 7996 | ||
7997 | test -z "$STRIP" && STRIP=: | 7997 | test -z "$STRIP" && STRIP=: |
7998 | 7998 | ||
7999 | 7999 | ||
8000 | 8000 | ||
8001 | 8001 | ||
8002 | 8002 | ||
8003 | 8003 | ||
8004 | if test -n "$ac_tool_prefix"; then | 8004 | if test -n "$ac_tool_prefix"; then |
8005 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 8005 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. |
8006 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 8006 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 |
8007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8007 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8008 | $as_echo_n "checking for $ac_word... " >&6; } | 8008 | $as_echo_n "checking for $ac_word... " >&6; } |
8009 | if ${ac_cv_prog_RANLIB+:} false; then : | 8009 | if ${ac_cv_prog_RANLIB+:} false; then : |
8010 | $as_echo_n "(cached) " >&6 | 8010 | $as_echo_n "(cached) " >&6 |
8011 | else | 8011 | else |
8012 | if test -n "$RANLIB"; then | 8012 | if test -n "$RANLIB"; then |
8013 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 8013 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
8014 | else | 8014 | else |
8015 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8015 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8016 | for as_dir in $PATH | 8016 | for as_dir in $PATH |
8017 | do | 8017 | do |
8018 | IFS=$as_save_IFS | 8018 | IFS=$as_save_IFS |
8019 | test -z "$as_dir" && as_dir=. | 8019 | test -z "$as_dir" && as_dir=. |
8020 | for ac_exec_ext in '' $ac_executable_extensions; do | 8020 | for ac_exec_ext in '' $ac_executable_extensions; do |
8021 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8021 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8022 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 8022 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" |
8023 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8023 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8024 | break 2 | 8024 | break 2 |
8025 | fi | 8025 | fi |
8026 | done | 8026 | done |
8027 | done | 8027 | done |
8028 | IFS=$as_save_IFS | 8028 | IFS=$as_save_IFS |
8029 | 8029 | ||
8030 | fi | 8030 | fi |
8031 | fi | 8031 | fi |
8032 | RANLIB=$ac_cv_prog_RANLIB | 8032 | RANLIB=$ac_cv_prog_RANLIB |
8033 | if test -n "$RANLIB"; then | 8033 | if test -n "$RANLIB"; then |
8034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 8034 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 |
8035 | $as_echo "$RANLIB" >&6; } | 8035 | $as_echo "$RANLIB" >&6; } |
8036 | else | 8036 | else |
8037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8037 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8038 | $as_echo "no" >&6; } | 8038 | $as_echo "no" >&6; } |
8039 | fi | 8039 | fi |
8040 | 8040 | ||
8041 | 8041 | ||
8042 | fi | 8042 | fi |
8043 | if test -z "$ac_cv_prog_RANLIB"; then | 8043 | if test -z "$ac_cv_prog_RANLIB"; then |
8044 | ac_ct_RANLIB=$RANLIB | 8044 | ac_ct_RANLIB=$RANLIB |
8045 | # Extract the first word of "ranlib", so it can be a program name with args. | 8045 | # Extract the first word of "ranlib", so it can be a program name with args. |
8046 | set dummy ranlib; ac_word=$2 | 8046 | set dummy ranlib; ac_word=$2 |
8047 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8047 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8048 | $as_echo_n "checking for $ac_word... " >&6; } | 8048 | $as_echo_n "checking for $ac_word... " >&6; } |
8049 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | 8049 | if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : |
8050 | $as_echo_n "(cached) " >&6 | 8050 | $as_echo_n "(cached) " >&6 |
8051 | else | 8051 | else |
8052 | if test -n "$ac_ct_RANLIB"; then | 8052 | if test -n "$ac_ct_RANLIB"; then |
8053 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 8053 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. |
8054 | else | 8054 | else |
8055 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8055 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8056 | for as_dir in $PATH | 8056 | for as_dir in $PATH |
8057 | do | 8057 | do |
8058 | IFS=$as_save_IFS | 8058 | IFS=$as_save_IFS |
8059 | test -z "$as_dir" && as_dir=. | 8059 | test -z "$as_dir" && as_dir=. |
8060 | for ac_exec_ext in '' $ac_executable_extensions; do | 8060 | for ac_exec_ext in '' $ac_executable_extensions; do |
8061 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8061 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8062 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 8062 | ac_cv_prog_ac_ct_RANLIB="ranlib" |
8063 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8063 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8064 | break 2 | 8064 | break 2 |
8065 | fi | 8065 | fi |
8066 | done | 8066 | done |
8067 | done | 8067 | done |
8068 | IFS=$as_save_IFS | 8068 | IFS=$as_save_IFS |
8069 | 8069 | ||
8070 | fi | 8070 | fi |
8071 | fi | 8071 | fi |
8072 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 8072 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB |
8073 | if test -n "$ac_ct_RANLIB"; then | 8073 | if test -n "$ac_ct_RANLIB"; then |
8074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 8074 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 |
8075 | $as_echo "$ac_ct_RANLIB" >&6; } | 8075 | $as_echo "$ac_ct_RANLIB" >&6; } |
8076 | else | 8076 | else |
8077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8077 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8078 | $as_echo "no" >&6; } | 8078 | $as_echo "no" >&6; } |
8079 | fi | 8079 | fi |
8080 | 8080 | ||
8081 | if test "x$ac_ct_RANLIB" = x; then | 8081 | if test "x$ac_ct_RANLIB" = x; then |
8082 | RANLIB=":" | 8082 | RANLIB=":" |
8083 | else | 8083 | else |
8084 | case $cross_compiling:$ac_tool_warned in | 8084 | case $cross_compiling:$ac_tool_warned in |
8085 | yes:) | 8085 | yes:) |
8086 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 8086 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
8087 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 8087 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
8088 | ac_tool_warned=yes ;; | 8088 | ac_tool_warned=yes ;; |
8089 | esac | 8089 | esac |
8090 | RANLIB=$ac_ct_RANLIB | 8090 | RANLIB=$ac_ct_RANLIB |
8091 | fi | 8091 | fi |
8092 | else | 8092 | else |
8093 | RANLIB="$ac_cv_prog_RANLIB" | 8093 | RANLIB="$ac_cv_prog_RANLIB" |
8094 | fi | 8094 | fi |
8095 | 8095 | ||
8096 | test -z "$RANLIB" && RANLIB=: | 8096 | test -z "$RANLIB" && RANLIB=: |
8097 | 8097 | ||
8098 | 8098 | ||
8099 | 8099 | ||
8100 | 8100 | ||
8101 | 8101 | ||
8102 | 8102 | ||
8103 | # Determine commands to create old-style static archives. | 8103 | # Determine commands to create old-style static archives. |
8104 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | 8104 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' |
8105 | old_postinstall_cmds='chmod 644 $oldlib' | 8105 | old_postinstall_cmds='chmod 644 $oldlib' |
8106 | old_postuninstall_cmds= | 8106 | old_postuninstall_cmds= |
8107 | 8107 | ||
8108 | if test -n "$RANLIB"; then | 8108 | if test -n "$RANLIB"; then |
8109 | case $host_os in | 8109 | case $host_os in |
8110 | openbsd*) | 8110 | openbsd*) |
8111 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" | 8111 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib" |
8112 | ;; | 8112 | ;; |
8113 | *) | 8113 | *) |
8114 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" | 8114 | old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib" |
8115 | ;; | 8115 | ;; |
8116 | esac | 8116 | esac |
8117 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" | 8117 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib" |
8118 | fi | 8118 | fi |
8119 | 8119 | ||
8120 | case $host_os in | 8120 | case $host_os in |
8121 | darwin*) | 8121 | darwin*) |
8122 | lock_old_archive_extraction=yes ;; | 8122 | lock_old_archive_extraction=yes ;; |
8123 | *) | 8123 | *) |
8124 | lock_old_archive_extraction=no ;; | 8124 | lock_old_archive_extraction=no ;; |
8125 | esac | 8125 | esac |
8126 | 8126 | ||
8127 | 8127 | ||
8128 | 8128 | ||
8129 | 8129 | ||
8130 | 8130 | ||
8131 | 8131 | ||
8132 | 8132 | ||
8133 | 8133 | ||
8134 | 8134 | ||
8135 | 8135 | ||
8136 | 8136 | ||
8137 | 8137 | ||
8138 | 8138 | ||
8139 | 8139 | ||
8140 | 8140 | ||
8141 | 8141 | ||
8142 | 8142 | ||
8143 | 8143 | ||
8144 | 8144 | ||
8145 | 8145 | ||
8146 | 8146 | ||
8147 | 8147 | ||
8148 | 8148 | ||
8149 | 8149 | ||
8150 | 8150 | ||
8151 | 8151 | ||
8152 | 8152 | ||
8153 | 8153 | ||
8154 | 8154 | ||
8155 | 8155 | ||
8156 | 8156 | ||
8157 | 8157 | ||
8158 | 8158 | ||
8159 | 8159 | ||
8160 | 8160 | ||
8161 | 8161 | ||
8162 | 8162 | ||
8163 | 8163 | ||
8164 | 8164 | ||
8165 | # If no C compiler was specified, use CC. | 8165 | # If no C compiler was specified, use CC. |
8166 | LTCC=${LTCC-"$CC"} | 8166 | LTCC=${LTCC-"$CC"} |
8167 | 8167 | ||
8168 | # If no C compiler flags were specified, use CFLAGS. | 8168 | # If no C compiler flags were specified, use CFLAGS. |
8169 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | 8169 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
8170 | 8170 | ||
8171 | # Allow CC to be a program name with arguments. | 8171 | # Allow CC to be a program name with arguments. |
8172 | compiler=$CC | 8172 | compiler=$CC |
8173 | 8173 | ||
8174 | 8174 | ||
8175 | # Check for command to grab the raw symbol name followed by C symbol from nm. | 8175 | # Check for command to grab the raw symbol name followed by C symbol from nm. |
8176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 | 8176 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 |
8177 | $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } | 8177 | $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } |
8178 | if ${lt_cv_sys_global_symbol_pipe+:} false; then : | 8178 | if ${lt_cv_sys_global_symbol_pipe+:} false; then : |
8179 | $as_echo_n "(cached) " >&6 | 8179 | $as_echo_n "(cached) " >&6 |
8180 | else | 8180 | else |
8181 | 8181 | ||
8182 | # These are sane defaults that work on at least a few old systems. | 8182 | # These are sane defaults that work on at least a few old systems. |
8183 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] | 8183 | # [They come from Ultrix. What could be older than Ultrix?!! ;)] |
8184 | 8184 | ||
8185 | # Character class describing NM global symbol codes. | 8185 | # Character class describing NM global symbol codes. |
8186 | symcode='[BCDEGRST]' | 8186 | symcode='[BCDEGRST]' |
8187 | 8187 | ||
8188 | # Regexp to match symbols that can be accessed directly from C. | 8188 | # Regexp to match symbols that can be accessed directly from C. |
8189 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 8189 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' |
8190 | 8190 | ||
8191 | # Define system-specific variables. | 8191 | # Define system-specific variables. |
8192 | case $host_os in | 8192 | case $host_os in |
8193 | aix*) | 8193 | aix*) |
8194 | symcode='[BCDT]' | 8194 | symcode='[BCDT]' |
8195 | ;; | 8195 | ;; |
8196 | cygwin* | mingw* | pw32* | cegcc*) | 8196 | cygwin* | mingw* | pw32* | cegcc*) |
8197 | symcode='[ABCDGISTW]' | 8197 | symcode='[ABCDGISTW]' |
8198 | ;; | 8198 | ;; |
8199 | hpux*) | 8199 | hpux*) |
8200 | if test "$host_cpu" = ia64; then | 8200 | if test "$host_cpu" = ia64; then |
8201 | symcode='[ABCDEGRST]' | 8201 | symcode='[ABCDEGRST]' |
8202 | fi | 8202 | fi |
8203 | ;; | 8203 | ;; |
8204 | irix* | nonstopux*) | 8204 | irix* | nonstopux*) |
8205 | symcode='[BCDEGRST]' | 8205 | symcode='[BCDEGRST]' |
8206 | ;; | 8206 | ;; |
8207 | osf*) | 8207 | osf*) |
8208 | symcode='[BCDEGQRST]' | 8208 | symcode='[BCDEGQRST]' |
8209 | ;; | 8209 | ;; |
8210 | solaris*) | 8210 | solaris*) |
8211 | symcode='[BDRT]' | 8211 | symcode='[BDRT]' |
8212 | ;; | 8212 | ;; |
8213 | sco3.2v5*) | 8213 | sco3.2v5*) |
8214 | symcode='[DT]' | 8214 | symcode='[DT]' |
8215 | ;; | 8215 | ;; |
8216 | sysv4.2uw2*) | 8216 | sysv4.2uw2*) |
8217 | symcode='[DT]' | 8217 | symcode='[DT]' |
8218 | ;; | 8218 | ;; |
8219 | sysv5* | sco5v6* | unixware* | OpenUNIX*) | 8219 | sysv5* | sco5v6* | unixware* | OpenUNIX*) |
8220 | symcode='[ABDT]' | 8220 | symcode='[ABDT]' |
8221 | ;; | 8221 | ;; |
8222 | sysv4) | 8222 | sysv4) |
8223 | symcode='[DFNSTU]' | 8223 | symcode='[DFNSTU]' |
8224 | ;; | 8224 | ;; |
8225 | esac | 8225 | esac |
8226 | 8226 | ||
8227 | # If we're using GNU nm, then use its standard symbol codes. | 8227 | # If we're using GNU nm, then use its standard symbol codes. |
8228 | case `$NM -V 2>&1` in | 8228 | case `$NM -V 2>&1` in |
8229 | *GNU* | *'with BFD'*) | 8229 | *GNU* | *'with BFD'*) |
8230 | symcode='[ABCDGIRSTW]' ;; | 8230 | symcode='[ABCDGIRSTW]' ;; |
8231 | esac | 8231 | esac |
8232 | 8232 | ||
8233 | # Transform an extracted symbol line into a proper C declaration. | 8233 | # Transform an extracted symbol line into a proper C declaration. |
8234 | # Some systems (esp. on ia64) link data and code symbols differently, | 8234 | # Some systems (esp. on ia64) link data and code symbols differently, |
8235 | # so use this general approach. | 8235 | # so use this general approach. |
8236 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 8236 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" |
8237 | 8237 | ||
8238 | # Transform an extracted symbol line into symbol name and symbol address | 8238 | # Transform an extracted symbol line into symbol name and symbol address |
8239 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" | 8239 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'" |
8240 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" | 8240 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'" |
8241 | 8241 | ||
8242 | # Handle CRLF in mingw tool chain | 8242 | # Handle CRLF in mingw tool chain |
8243 | opt_cr= | 8243 | opt_cr= |
8244 | case $build_os in | 8244 | case $build_os in |
8245 | mingw*) | 8245 | mingw*) |
8246 | opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 8246 | opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp |
8247 | ;; | 8247 | ;; |
8248 | esac | 8248 | esac |
8249 | 8249 | ||
8250 | # Try without a prefix underscore, then with it. | 8250 | # Try without a prefix underscore, then with it. |
8251 | for ac_symprfx in "" "_"; do | 8251 | for ac_symprfx in "" "_"; do |
8252 | 8252 | ||
8253 | # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | 8253 | # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. |
8254 | symxfrm="\\1 $ac_symprfx\\2 \\2" | 8254 | symxfrm="\\1 $ac_symprfx\\2 \\2" |
8255 | 8255 | ||
8256 | # Write the raw and C identifiers. | 8256 | # Write the raw and C identifiers. |
8257 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 8257 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
8258 | # Fake it for dumpbin and say T for any non-static function | 8258 | # Fake it for dumpbin and say T for any non-static function |
8259 | # and D for any global variable. | 8259 | # and D for any global variable. |
8260 | # Also find C++ and __fastcall symbols from MSVC++, | 8260 | # Also find C++ and __fastcall symbols from MSVC++, |
8261 | # which start with @ or ?. | 8261 | # which start with @ or ?. |
8262 | lt_cv_sys_global_symbol_pipe="$AWK '"\ | 8262 | lt_cv_sys_global_symbol_pipe="$AWK '"\ |
8263 | " {last_section=section; section=\$ 3};"\ | 8263 | " {last_section=section; section=\$ 3};"\ |
8264 | " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ | 8264 | " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\ |
8265 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | 8265 | " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ |
8266 | " \$ 0!~/External *\|/{next};"\ | 8266 | " \$ 0!~/External *\|/{next};"\ |
8267 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | 8267 | " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ |
8268 | " {if(hide[section]) next};"\ | 8268 | " {if(hide[section]) next};"\ |
8269 | " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ | 8269 | " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ |
8270 | " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ | 8270 | " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ |
8271 | " s[1]~/^[@?]/{print s[1], s[1]; next};"\ | 8271 | " s[1]~/^[@?]/{print s[1], s[1]; next};"\ |
8272 | " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ | 8272 | " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ |
8273 | " ' prfx=^$ac_symprfx" | 8273 | " ' prfx=^$ac_symprfx" |
8274 | else | 8274 | else |
8275 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | 8275 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" |
8276 | fi | 8276 | fi |
8277 | lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" | 8277 | lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" |
8278 | 8278 | ||
8279 | # Check to see that the pipe works correctly. | 8279 | # Check to see that the pipe works correctly. |
8280 | pipe_works=no | 8280 | pipe_works=no |
8281 | 8281 | ||
8282 | rm -f conftest* | 8282 | rm -f conftest* |
8283 | cat > conftest.$ac_ext <<_LT_EOF | 8283 | cat > conftest.$ac_ext <<_LT_EOF |
8284 | #ifdef __cplusplus | 8284 | #ifdef __cplusplus |
8285 | extern "C" { | 8285 | extern "C" { |
8286 | #endif | 8286 | #endif |
8287 | char nm_test_var; | 8287 | char nm_test_var; |
8288 | void nm_test_func(void); | 8288 | void nm_test_func(void); |
8289 | void nm_test_func(void){} | 8289 | void nm_test_func(void){} |
8290 | #ifdef __cplusplus | 8290 | #ifdef __cplusplus |
8291 | } | 8291 | } |
8292 | #endif | 8292 | #endif |
8293 | int main(){nm_test_var='a';nm_test_func();return(0);} | 8293 | int main(){nm_test_var='a';nm_test_func();return(0);} |
8294 | _LT_EOF | 8294 | _LT_EOF |
8295 | 8295 | ||
8296 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 8296 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
8297 | (eval $ac_compile) 2>&5 | 8297 | (eval $ac_compile) 2>&5 |
8298 | ac_status=$? | 8298 | ac_status=$? |
8299 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8299 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8300 | test $ac_status = 0; }; then | 8300 | test $ac_status = 0; }; then |
8301 | # Now try to grab the symbols. | 8301 | # Now try to grab the symbols. |
8302 | nlist=conftest.nm | 8302 | nlist=conftest.nm |
8303 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 | 8303 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 |
8304 | (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 | 8304 | (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 |
8305 | ac_status=$? | 8305 | ac_status=$? |
8306 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8306 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8307 | test $ac_status = 0; } && test -s "$nlist"; then | 8307 | test $ac_status = 0; } && test -s "$nlist"; then |
8308 | # Try sorting and uniquifying the output. | 8308 | # Try sorting and uniquifying the output. |
8309 | if sort "$nlist" | uniq > "$nlist"T; then | 8309 | if sort "$nlist" | uniq > "$nlist"T; then |
8310 | mv -f "$nlist"T "$nlist" | 8310 | mv -f "$nlist"T "$nlist" |
8311 | else | 8311 | else |
8312 | rm -f "$nlist"T | 8312 | rm -f "$nlist"T |
8313 | fi | 8313 | fi |
8314 | 8314 | ||
8315 | # Make sure that we snagged all the symbols we need. | 8315 | # Make sure that we snagged all the symbols we need. |
8316 | if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | 8316 | if $GREP ' nm_test_var$' "$nlist" >/dev/null; then |
8317 | if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | 8317 | if $GREP ' nm_test_func$' "$nlist" >/dev/null; then |
8318 | cat <<_LT_EOF > conftest.$ac_ext | 8318 | cat <<_LT_EOF > conftest.$ac_ext |
8319 | /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ | 8319 | /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */ |
8320 | #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) | 8320 | #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) |
8321 | /* DATA imports from DLLs on WIN32 con't be const, because runtime | 8321 | /* DATA imports from DLLs on WIN32 con't be const, because runtime |
8322 | relocations are performed -- see ld's documentation on pseudo-relocs. */ | 8322 | relocations are performed -- see ld's documentation on pseudo-relocs. */ |
8323 | # define LT_DLSYM_CONST | 8323 | # define LT_DLSYM_CONST |
8324 | #elif defined(__osf__) | 8324 | #elif defined(__osf__) |
8325 | /* This system does not cope well with relocations in const data. */ | 8325 | /* This system does not cope well with relocations in const data. */ |
8326 | # define LT_DLSYM_CONST | 8326 | # define LT_DLSYM_CONST |
8327 | #else | 8327 | #else |
8328 | # define LT_DLSYM_CONST const | 8328 | # define LT_DLSYM_CONST const |
8329 | #endif | 8329 | #endif |
8330 | 8330 | ||
8331 | #ifdef __cplusplus | 8331 | #ifdef __cplusplus |
8332 | extern "C" { | 8332 | extern "C" { |
8333 | #endif | 8333 | #endif |
8334 | 8334 | ||
8335 | _LT_EOF | 8335 | _LT_EOF |
8336 | # Now generate the symbol file. | 8336 | # Now generate the symbol file. |
8337 | eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' | 8337 | eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' |
8338 | 8338 | ||
8339 | cat <<_LT_EOF >> conftest.$ac_ext | 8339 | cat <<_LT_EOF >> conftest.$ac_ext |
8340 | 8340 | ||
8341 | /* The mapping between symbol names and symbols. */ | 8341 | /* The mapping between symbol names and symbols. */ |
8342 | LT_DLSYM_CONST struct { | 8342 | LT_DLSYM_CONST struct { |
8343 | const char *name; | 8343 | const char *name; |
8344 | void *address; | 8344 | void *address; |
8345 | } | 8345 | } |
8346 | lt__PROGRAM__LTX_preloaded_symbols[] = | 8346 | lt__PROGRAM__LTX_preloaded_symbols[] = |
8347 | { | 8347 | { |
8348 | { "@PROGRAM@", (void *) 0 }, | 8348 | { "@PROGRAM@", (void *) 0 }, |
8349 | _LT_EOF | 8349 | _LT_EOF |
8350 | $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext | 8350 | $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext |
8351 | cat <<\_LT_EOF >> conftest.$ac_ext | 8351 | cat <<\_LT_EOF >> conftest.$ac_ext |
8352 | {0, (void *) 0} | 8352 | {0, (void *) 0} |
8353 | }; | 8353 | }; |
8354 | 8354 | ||
8355 | /* This works around a problem in FreeBSD linker */ | 8355 | /* This works around a problem in FreeBSD linker */ |
8356 | #ifdef FREEBSD_WORKAROUND | 8356 | #ifdef FREEBSD_WORKAROUND |
8357 | static const void *lt_preloaded_setup() { | 8357 | static const void *lt_preloaded_setup() { |
8358 | return lt__PROGRAM__LTX_preloaded_symbols; | 8358 | return lt__PROGRAM__LTX_preloaded_symbols; |
8359 | } | 8359 | } |
8360 | #endif | 8360 | #endif |
8361 | 8361 | ||
8362 | #ifdef __cplusplus | 8362 | #ifdef __cplusplus |
8363 | } | 8363 | } |
8364 | #endif | 8364 | #endif |
8365 | _LT_EOF | 8365 | _LT_EOF |
8366 | # Now try linking the two files. | 8366 | # Now try linking the two files. |
8367 | mv conftest.$ac_objext conftstm.$ac_objext | 8367 | mv conftest.$ac_objext conftstm.$ac_objext |
8368 | lt_globsym_save_LIBS=$LIBS | 8368 | lt_globsym_save_LIBS=$LIBS |
8369 | lt_globsym_save_CFLAGS=$CFLAGS | 8369 | lt_globsym_save_CFLAGS=$CFLAGS |
8370 | LIBS="conftstm.$ac_objext" | 8370 | LIBS="conftstm.$ac_objext" |
8371 | CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | 8371 | CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" |
8372 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 8372 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
8373 | (eval $ac_link) 2>&5 | 8373 | (eval $ac_link) 2>&5 |
8374 | ac_status=$? | 8374 | ac_status=$? |
8375 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8375 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8376 | test $ac_status = 0; } && test -s conftest${ac_exeext}; then | 8376 | test $ac_status = 0; } && test -s conftest${ac_exeext}; then |
8377 | pipe_works=yes | 8377 | pipe_works=yes |
8378 | fi | 8378 | fi |
8379 | LIBS=$lt_globsym_save_LIBS | 8379 | LIBS=$lt_globsym_save_LIBS |
8380 | CFLAGS=$lt_globsym_save_CFLAGS | 8380 | CFLAGS=$lt_globsym_save_CFLAGS |
8381 | else | 8381 | else |
8382 | echo "cannot find nm_test_func in $nlist" >&5 | 8382 | echo "cannot find nm_test_func in $nlist" >&5 |
8383 | fi | 8383 | fi |
8384 | else | 8384 | else |
8385 | echo "cannot find nm_test_var in $nlist" >&5 | 8385 | echo "cannot find nm_test_var in $nlist" >&5 |
8386 | fi | 8386 | fi |
8387 | else | 8387 | else |
8388 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 8388 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 |
8389 | fi | 8389 | fi |
8390 | else | 8390 | else |
8391 | echo "$progname: failed program was:" >&5 | 8391 | echo "$progname: failed program was:" >&5 |
8392 | cat conftest.$ac_ext >&5 | 8392 | cat conftest.$ac_ext >&5 |
8393 | fi | 8393 | fi |
8394 | rm -rf conftest* conftst* | 8394 | rm -rf conftest* conftst* |
8395 | 8395 | ||
8396 | # Do not use the global_symbol_pipe unless it works. | 8396 | # Do not use the global_symbol_pipe unless it works. |
8397 | if test "$pipe_works" = yes; then | 8397 | if test "$pipe_works" = yes; then |
8398 | break | 8398 | break |
8399 | else | 8399 | else |
8400 | lt_cv_sys_global_symbol_pipe= | 8400 | lt_cv_sys_global_symbol_pipe= |
8401 | fi | 8401 | fi |
8402 | done | 8402 | done |
8403 | 8403 | ||
8404 | fi | 8404 | fi |
8405 | 8405 | ||
8406 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | 8406 | if test -z "$lt_cv_sys_global_symbol_pipe"; then |
8407 | lt_cv_sys_global_symbol_to_cdecl= | 8407 | lt_cv_sys_global_symbol_to_cdecl= |
8408 | fi | 8408 | fi |
8409 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then | 8409 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then |
8410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 | 8410 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 |
8411 | $as_echo "failed" >&6; } | 8411 | $as_echo "failed" >&6; } |
8412 | else | 8412 | else |
8413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | 8413 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 |
8414 | $as_echo "ok" >&6; } | 8414 | $as_echo "ok" >&6; } |
8415 | fi | 8415 | fi |
8416 | 8416 | ||
8417 | # Response file support. | 8417 | # Response file support. |
8418 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 8418 | if test "$lt_cv_nm_interface" = "MS dumpbin"; then |
8419 | nm_file_list_spec='@' | 8419 | nm_file_list_spec='@' |
8420 | elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then | 8420 | elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then |
8421 | nm_file_list_spec='@' | 8421 | nm_file_list_spec='@' |
8422 | fi | 8422 | fi |
8423 | 8423 | ||
8424 | 8424 | ||
8425 | 8425 | ||
8426 | 8426 | ||
8427 | 8427 | ||
8428 | 8428 | ||
8429 | 8429 | ||
8430 | 8430 | ||
8431 | 8431 | ||
8432 | 8432 | ||
8433 | 8433 | ||
8434 | 8434 | ||
8435 | 8435 | ||
8436 | 8436 | ||
8437 | 8437 | ||
8438 | 8438 | ||
8439 | 8439 | ||
8440 | 8440 | ||
8441 | 8441 | ||
8442 | 8442 | ||
8443 | 8443 | ||
8444 | 8444 | ||
8445 | 8445 | ||
8446 | 8446 | ||
8447 | 8447 | ||
8448 | 8448 | ||
8449 | 8449 | ||
8450 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 | 8450 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 |
8451 | $as_echo_n "checking for sysroot... " >&6; } | 8451 | $as_echo_n "checking for sysroot... " >&6; } |
8452 | 8452 | ||
8453 | # Check whether --with-sysroot was given. | 8453 | # Check whether --with-sysroot was given. |
8454 | if test "${with_sysroot+set}" = set; then : | 8454 | if test "${with_sysroot+set}" = set; then : |
8455 | withval=$with_sysroot; | 8455 | withval=$with_sysroot; |
8456 | else | 8456 | else |
8457 | with_sysroot=no | 8457 | with_sysroot=no |
8458 | fi | 8458 | fi |
8459 | 8459 | ||
8460 | 8460 | ||
8461 | lt_sysroot= | 8461 | lt_sysroot= |
8462 | case ${with_sysroot} in #( | 8462 | case ${with_sysroot} in #( |
8463 | yes) | 8463 | yes) |
8464 | if test "$GCC" = yes; then | 8464 | if test "$GCC" = yes; then |
8465 | lt_sysroot=`$CC --print-sysroot 2>/dev/null` | 8465 | lt_sysroot=`$CC --print-sysroot 2>/dev/null` |
8466 | fi | 8466 | fi |
8467 | ;; #( | 8467 | ;; #( |
8468 | /*) | 8468 | /*) |
8469 | lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` | 8469 | lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` |
8470 | ;; #( | 8470 | ;; #( |
8471 | no|'') | 8471 | no|'') |
8472 | ;; #( | 8472 | ;; #( |
8473 | *) | 8473 | *) |
8474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 | 8474 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 |
8475 | $as_echo "${with_sysroot}" >&6; } | 8475 | $as_echo "${with_sysroot}" >&6; } |
8476 | as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 | 8476 | as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 |
8477 | ;; | 8477 | ;; |
8478 | esac | 8478 | esac |
8479 | 8479 | ||
8480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 | 8480 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 |
8481 | $as_echo "${lt_sysroot:-no}" >&6; } | 8481 | $as_echo "${lt_sysroot:-no}" >&6; } |
8482 | 8482 | ||
8483 | 8483 | ||
8484 | 8484 | ||
8485 | 8485 | ||
8486 | 8486 | ||
8487 | # Check whether --enable-libtool-lock was given. | 8487 | # Check whether --enable-libtool-lock was given. |
8488 | if test "${enable_libtool_lock+set}" = set; then : | 8488 | if test "${enable_libtool_lock+set}" = set; then : |
8489 | enableval=$enable_libtool_lock; | 8489 | enableval=$enable_libtool_lock; |
8490 | fi | 8490 | fi |
8491 | 8491 | ||
8492 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 8492 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
8493 | 8493 | ||
8494 | # Some flags need to be propagated to the compiler or linker for good | 8494 | # Some flags need to be propagated to the compiler or linker for good |
8495 | # libtool support. | 8495 | # libtool support. |
8496 | case $host in | 8496 | case $host in |
8497 | ia64-*-hpux*) | 8497 | ia64-*-hpux*) |
8498 | # Find out which ABI we are using. | 8498 | # Find out which ABI we are using. |
8499 | echo 'int i;' > conftest.$ac_ext | 8499 | echo 'int i;' > conftest.$ac_ext |
8500 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 8500 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
8501 | (eval $ac_compile) 2>&5 | 8501 | (eval $ac_compile) 2>&5 |
8502 | ac_status=$? | 8502 | ac_status=$? |
8503 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8503 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8504 | test $ac_status = 0; }; then | 8504 | test $ac_status = 0; }; then |
8505 | case `/usr/bin/file conftest.$ac_objext` in | 8505 | case `/usr/bin/file conftest.$ac_objext` in |
8506 | *ELF-32*) | 8506 | *ELF-32*) |
8507 | HPUX_IA64_MODE="32" | 8507 | HPUX_IA64_MODE="32" |
8508 | ;; | 8508 | ;; |
8509 | *ELF-64*) | 8509 | *ELF-64*) |
8510 | HPUX_IA64_MODE="64" | 8510 | HPUX_IA64_MODE="64" |
8511 | ;; | 8511 | ;; |
8512 | esac | 8512 | esac |
8513 | fi | 8513 | fi |
8514 | rm -rf conftest* | 8514 | rm -rf conftest* |
8515 | ;; | 8515 | ;; |
8516 | *-*-irix6*) | 8516 | *-*-irix6*) |
8517 | # Find out which ABI we are using. | 8517 | # Find out which ABI we are using. |
8518 | echo '#line '$LINENO' "configure"' > conftest.$ac_ext | 8518 | echo '#line '$LINENO' "configure"' > conftest.$ac_ext |
8519 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 8519 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
8520 | (eval $ac_compile) 2>&5 | 8520 | (eval $ac_compile) 2>&5 |
8521 | ac_status=$? | 8521 | ac_status=$? |
8522 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8522 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8523 | test $ac_status = 0; }; then | 8523 | test $ac_status = 0; }; then |
8524 | if test "$lt_cv_prog_gnu_ld" = yes; then | 8524 | if test "$lt_cv_prog_gnu_ld" = yes; then |
8525 | case `/usr/bin/file conftest.$ac_objext` in | 8525 | case `/usr/bin/file conftest.$ac_objext` in |
8526 | *32-bit*) | 8526 | *32-bit*) |
8527 | LD="${LD-ld} -melf32bsmip" | 8527 | LD="${LD-ld} -melf32bsmip" |
8528 | ;; | 8528 | ;; |
8529 | *N32*) | 8529 | *N32*) |
8530 | LD="${LD-ld} -melf32bmipn32" | 8530 | LD="${LD-ld} -melf32bmipn32" |
8531 | ;; | 8531 | ;; |
8532 | *64-bit*) | 8532 | *64-bit*) |
8533 | LD="${LD-ld} -melf64bmip" | 8533 | LD="${LD-ld} -melf64bmip" |
8534 | ;; | 8534 | ;; |
8535 | esac | 8535 | esac |
8536 | else | 8536 | else |
8537 | case `/usr/bin/file conftest.$ac_objext` in | 8537 | case `/usr/bin/file conftest.$ac_objext` in |
8538 | *32-bit*) | 8538 | *32-bit*) |
8539 | LD="${LD-ld} -32" | 8539 | LD="${LD-ld} -32" |
8540 | ;; | 8540 | ;; |
8541 | *N32*) | 8541 | *N32*) |
8542 | LD="${LD-ld} -n32" | 8542 | LD="${LD-ld} -n32" |
8543 | ;; | 8543 | ;; |
8544 | *64-bit*) | 8544 | *64-bit*) |
8545 | LD="${LD-ld} -64" | 8545 | LD="${LD-ld} -64" |
8546 | ;; | 8546 | ;; |
8547 | esac | 8547 | esac |
8548 | fi | 8548 | fi |
8549 | fi | 8549 | fi |
8550 | rm -rf conftest* | 8550 | rm -rf conftest* |
8551 | ;; | 8551 | ;; |
8552 | 8552 | ||
8553 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | 8553 | x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ |
8554 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 8554 | s390*-*linux*|s390*-*tpf*|sparc*-*linux*) |
8555 | # Find out which ABI we are using. | 8555 | # Find out which ABI we are using. |
8556 | echo 'int i;' > conftest.$ac_ext | 8556 | echo 'int i;' > conftest.$ac_ext |
8557 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 8557 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
8558 | (eval $ac_compile) 2>&5 | 8558 | (eval $ac_compile) 2>&5 |
8559 | ac_status=$? | 8559 | ac_status=$? |
8560 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8560 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8561 | test $ac_status = 0; }; then | 8561 | test $ac_status = 0; }; then |
8562 | case `/usr/bin/file conftest.o` in | 8562 | case `/usr/bin/file conftest.o` in |
8563 | *32-bit*) | 8563 | *32-bit*) |
8564 | case $host in | 8564 | case $host in |
8565 | x86_64-*kfreebsd*-gnu) | 8565 | x86_64-*kfreebsd*-gnu) |
8566 | LD="${LD-ld} -m elf_i386_fbsd" | 8566 | LD="${LD-ld} -m elf_i386_fbsd" |
8567 | ;; | 8567 | ;; |
8568 | x86_64-*linux*) | 8568 | x86_64-*linux*) |
8569 | LD="${LD-ld} -m elf_i386" | 8569 | LD="${LD-ld} -m elf_i386" |
8570 | ;; | 8570 | ;; |
8571 | ppc64-*linux*|powerpc64-*linux*) | 8571 | ppc64-*linux*|powerpc64-*linux*) |
8572 | LD="${LD-ld} -m elf32ppclinux" | 8572 | LD="${LD-ld} -m elf32ppclinux" |
8573 | ;; | 8573 | ;; |
8574 | s390x-*linux*) | 8574 | s390x-*linux*) |
8575 | LD="${LD-ld} -m elf_s390" | 8575 | LD="${LD-ld} -m elf_s390" |
8576 | ;; | 8576 | ;; |
8577 | sparc64-*linux*) | 8577 | sparc64-*linux*) |
8578 | LD="${LD-ld} -m elf32_sparc" | 8578 | LD="${LD-ld} -m elf32_sparc" |
8579 | ;; | 8579 | ;; |
8580 | esac | 8580 | esac |
8581 | ;; | 8581 | ;; |
8582 | *64-bit*) | 8582 | *64-bit*) |
8583 | case $host in | 8583 | case $host in |
8584 | x86_64-*kfreebsd*-gnu) | 8584 | x86_64-*kfreebsd*-gnu) |
8585 | LD="${LD-ld} -m elf_x86_64_fbsd" | 8585 | LD="${LD-ld} -m elf_x86_64_fbsd" |
8586 | ;; | 8586 | ;; |
8587 | x86_64-*linux*) | 8587 | x86_64-*linux*) |
8588 | LD="${LD-ld} -m elf_x86_64" | 8588 | LD="${LD-ld} -m elf_x86_64" |
8589 | ;; | 8589 | ;; |
8590 | ppc*-*linux*|powerpc*-*linux*) | 8590 | ppc*-*linux*|powerpc*-*linux*) |
8591 | LD="${LD-ld} -m elf64ppc" | 8591 | LD="${LD-ld} -m elf64ppc" |
8592 | ;; | 8592 | ;; |
8593 | s390*-*linux*|s390*-*tpf*) | 8593 | s390*-*linux*|s390*-*tpf*) |
8594 | LD="${LD-ld} -m elf64_s390" | 8594 | LD="${LD-ld} -m elf64_s390" |
8595 | ;; | 8595 | ;; |
8596 | sparc*-*linux*) | 8596 | sparc*-*linux*) |
8597 | LD="${LD-ld} -m elf64_sparc" | 8597 | LD="${LD-ld} -m elf64_sparc" |
8598 | ;; | 8598 | ;; |
8599 | esac | 8599 | esac |
8600 | ;; | 8600 | ;; |
8601 | esac | 8601 | esac |
8602 | fi | 8602 | fi |
8603 | rm -rf conftest* | 8603 | rm -rf conftest* |
8604 | ;; | 8604 | ;; |
8605 | 8605 | ||
8606 | *-*-sco3.2v5*) | 8606 | *-*-sco3.2v5*) |
8607 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 8607 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. |
8608 | SAVE_CFLAGS="$CFLAGS" | 8608 | SAVE_CFLAGS="$CFLAGS" |
8609 | CFLAGS="$CFLAGS -belf" | 8609 | CFLAGS="$CFLAGS -belf" |
8610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 | 8610 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 |
8611 | $as_echo_n "checking whether the C compiler needs -belf... " >&6; } | 8611 | $as_echo_n "checking whether the C compiler needs -belf... " >&6; } |
8612 | if ${lt_cv_cc_needs_belf+:} false; then : | 8612 | if ${lt_cv_cc_needs_belf+:} false; then : |
8613 | $as_echo_n "(cached) " >&6 | 8613 | $as_echo_n "(cached) " >&6 |
8614 | else | 8614 | else |
8615 | ac_ext=c | 8615 | ac_ext=c |
8616 | ac_cpp='$CPP $CPPFLAGS' | 8616 | ac_cpp='$CPP $CPPFLAGS' |
8617 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 8617 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8618 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 8618 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8619 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 8619 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8620 | 8620 | ||
8621 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 8621 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
8622 | /* end confdefs.h. */ | 8622 | /* end confdefs.h. */ |
8623 | 8623 | ||
8624 | int | 8624 | int |
8625 | main () | 8625 | main () |
8626 | { | 8626 | { |
8627 | 8627 | ||
8628 | ; | 8628 | ; |
8629 | return 0; | 8629 | return 0; |
8630 | } | 8630 | } |
8631 | _ACEOF | 8631 | _ACEOF |
8632 | if ac_fn_c_try_link "$LINENO"; then : | 8632 | if ac_fn_c_try_link "$LINENO"; then : |
8633 | lt_cv_cc_needs_belf=yes | 8633 | lt_cv_cc_needs_belf=yes |
8634 | else | 8634 | else |
8635 | lt_cv_cc_needs_belf=no | 8635 | lt_cv_cc_needs_belf=no |
8636 | fi | 8636 | fi |
8637 | rm -f core conftest.err conftest.$ac_objext \ | 8637 | rm -f core conftest.err conftest.$ac_objext \ |
8638 | conftest$ac_exeext conftest.$ac_ext | 8638 | conftest$ac_exeext conftest.$ac_ext |
8639 | ac_ext=c | 8639 | ac_ext=c |
8640 | ac_cpp='$CPP $CPPFLAGS' | 8640 | ac_cpp='$CPP $CPPFLAGS' |
8641 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 8641 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
8642 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 8642 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
8643 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 8643 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
8644 | 8644 | ||
8645 | fi | 8645 | fi |
8646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 | 8646 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 |
8647 | $as_echo "$lt_cv_cc_needs_belf" >&6; } | 8647 | $as_echo "$lt_cv_cc_needs_belf" >&6; } |
8648 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 8648 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then |
8649 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 8649 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf |
8650 | CFLAGS="$SAVE_CFLAGS" | 8650 | CFLAGS="$SAVE_CFLAGS" |
8651 | fi | 8651 | fi |
8652 | ;; | 8652 | ;; |
8653 | *-*solaris*) | 8653 | *-*solaris*) |
8654 | # Find out which ABI we are using. | 8654 | # Find out which ABI we are using. |
8655 | echo 'int i;' > conftest.$ac_ext | 8655 | echo 'int i;' > conftest.$ac_ext |
8656 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 8656 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
8657 | (eval $ac_compile) 2>&5 | 8657 | (eval $ac_compile) 2>&5 |
8658 | ac_status=$? | 8658 | ac_status=$? |
8659 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 8659 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
8660 | test $ac_status = 0; }; then | 8660 | test $ac_status = 0; }; then |
8661 | case `/usr/bin/file conftest.o` in | 8661 | case `/usr/bin/file conftest.o` in |
8662 | *64-bit*) | 8662 | *64-bit*) |
8663 | case $lt_cv_prog_gnu_ld in | 8663 | case $lt_cv_prog_gnu_ld in |
8664 | yes*) | 8664 | yes*) |
8665 | case $host in | 8665 | case $host in |
8666 | i?86-*-solaris*) | 8666 | i?86-*-solaris*) |
8667 | LD="${LD-ld} -m elf_x86_64" | 8667 | LD="${LD-ld} -m elf_x86_64" |
8668 | ;; | 8668 | ;; |
8669 | sparc*-*-solaris*) | 8669 | sparc*-*-solaris*) |
8670 | LD="${LD-ld} -m elf64_sparc" | 8670 | LD="${LD-ld} -m elf64_sparc" |
8671 | ;; | 8671 | ;; |
8672 | esac | 8672 | esac |
8673 | # GNU ld 2.21 introduced _sol2 emulations. Use them if available. | 8673 | # GNU ld 2.21 introduced _sol2 emulations. Use them if available. |
8674 | if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then | 8674 | if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then |
8675 | LD="${LD-ld}_sol2" | 8675 | LD="${LD-ld}_sol2" |
8676 | fi | 8676 | fi |
8677 | ;; | 8677 | ;; |
8678 | *) | 8678 | *) |
8679 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | 8679 | if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
8680 | LD="${LD-ld} -64" | 8680 | LD="${LD-ld} -64" |
8681 | fi | 8681 | fi |
8682 | ;; | 8682 | ;; |
8683 | esac | 8683 | esac |
8684 | ;; | 8684 | ;; |
8685 | esac | 8685 | esac |
8686 | fi | 8686 | fi |
8687 | rm -rf conftest* | 8687 | rm -rf conftest* |
8688 | ;; | 8688 | ;; |
8689 | esac | 8689 | esac |
8690 | 8690 | ||
8691 | need_locks="$enable_libtool_lock" | 8691 | need_locks="$enable_libtool_lock" |
8692 | 8692 | ||
8693 | if test -n "$ac_tool_prefix"; then | 8693 | if test -n "$ac_tool_prefix"; then |
8694 | # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. | 8694 | # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. |
8695 | set dummy ${ac_tool_prefix}mt; ac_word=$2 | 8695 | set dummy ${ac_tool_prefix}mt; ac_word=$2 |
8696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8696 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8697 | $as_echo_n "checking for $ac_word... " >&6; } | 8697 | $as_echo_n "checking for $ac_word... " >&6; } |
8698 | if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : | 8698 | if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : |
8699 | $as_echo_n "(cached) " >&6 | 8699 | $as_echo_n "(cached) " >&6 |
8700 | else | 8700 | else |
8701 | if test -n "$MANIFEST_TOOL"; then | 8701 | if test -n "$MANIFEST_TOOL"; then |
8702 | ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. | 8702 | ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. |
8703 | else | 8703 | else |
8704 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8704 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8705 | for as_dir in $PATH | 8705 | for as_dir in $PATH |
8706 | do | 8706 | do |
8707 | IFS=$as_save_IFS | 8707 | IFS=$as_save_IFS |
8708 | test -z "$as_dir" && as_dir=. | 8708 | test -z "$as_dir" && as_dir=. |
8709 | for ac_exec_ext in '' $ac_executable_extensions; do | 8709 | for ac_exec_ext in '' $ac_executable_extensions; do |
8710 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8710 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8711 | ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" | 8711 | ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" |
8712 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8712 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8713 | break 2 | 8713 | break 2 |
8714 | fi | 8714 | fi |
8715 | done | 8715 | done |
8716 | done | 8716 | done |
8717 | IFS=$as_save_IFS | 8717 | IFS=$as_save_IFS |
8718 | 8718 | ||
8719 | fi | 8719 | fi |
8720 | fi | 8720 | fi |
8721 | MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL | 8721 | MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL |
8722 | if test -n "$MANIFEST_TOOL"; then | 8722 | if test -n "$MANIFEST_TOOL"; then |
8723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 | 8723 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 |
8724 | $as_echo "$MANIFEST_TOOL" >&6; } | 8724 | $as_echo "$MANIFEST_TOOL" >&6; } |
8725 | else | 8725 | else |
8726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8726 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8727 | $as_echo "no" >&6; } | 8727 | $as_echo "no" >&6; } |
8728 | fi | 8728 | fi |
8729 | 8729 | ||
8730 | 8730 | ||
8731 | fi | 8731 | fi |
8732 | if test -z "$ac_cv_prog_MANIFEST_TOOL"; then | 8732 | if test -z "$ac_cv_prog_MANIFEST_TOOL"; then |
8733 | ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL | 8733 | ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL |
8734 | # Extract the first word of "mt", so it can be a program name with args. | 8734 | # Extract the first word of "mt", so it can be a program name with args. |
8735 | set dummy mt; ac_word=$2 | 8735 | set dummy mt; ac_word=$2 |
8736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8736 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8737 | $as_echo_n "checking for $ac_word... " >&6; } | 8737 | $as_echo_n "checking for $ac_word... " >&6; } |
8738 | if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : | 8738 | if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : |
8739 | $as_echo_n "(cached) " >&6 | 8739 | $as_echo_n "(cached) " >&6 |
8740 | else | 8740 | else |
8741 | if test -n "$ac_ct_MANIFEST_TOOL"; then | 8741 | if test -n "$ac_ct_MANIFEST_TOOL"; then |
8742 | ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. | 8742 | ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. |
8743 | else | 8743 | else |
8744 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8744 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8745 | for as_dir in $PATH | 8745 | for as_dir in $PATH |
8746 | do | 8746 | do |
8747 | IFS=$as_save_IFS | 8747 | IFS=$as_save_IFS |
8748 | test -z "$as_dir" && as_dir=. | 8748 | test -z "$as_dir" && as_dir=. |
8749 | for ac_exec_ext in '' $ac_executable_extensions; do | 8749 | for ac_exec_ext in '' $ac_executable_extensions; do |
8750 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8750 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8751 | ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" | 8751 | ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" |
8752 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8752 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8753 | break 2 | 8753 | break 2 |
8754 | fi | 8754 | fi |
8755 | done | 8755 | done |
8756 | done | 8756 | done |
8757 | IFS=$as_save_IFS | 8757 | IFS=$as_save_IFS |
8758 | 8758 | ||
8759 | fi | 8759 | fi |
8760 | fi | 8760 | fi |
8761 | ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL | 8761 | ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL |
8762 | if test -n "$ac_ct_MANIFEST_TOOL"; then | 8762 | if test -n "$ac_ct_MANIFEST_TOOL"; then |
8763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 | 8763 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 |
8764 | $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } | 8764 | $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } |
8765 | else | 8765 | else |
8766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8766 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8767 | $as_echo "no" >&6; } | 8767 | $as_echo "no" >&6; } |
8768 | fi | 8768 | fi |
8769 | 8769 | ||
8770 | if test "x$ac_ct_MANIFEST_TOOL" = x; then | 8770 | if test "x$ac_ct_MANIFEST_TOOL" = x; then |
8771 | MANIFEST_TOOL=":" | 8771 | MANIFEST_TOOL=":" |
8772 | else | 8772 | else |
8773 | case $cross_compiling:$ac_tool_warned in | 8773 | case $cross_compiling:$ac_tool_warned in |
8774 | yes:) | 8774 | yes:) |
8775 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 8775 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
8776 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 8776 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
8777 | ac_tool_warned=yes ;; | 8777 | ac_tool_warned=yes ;; |
8778 | esac | 8778 | esac |
8779 | MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL | 8779 | MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL |
8780 | fi | 8780 | fi |
8781 | else | 8781 | else |
8782 | MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" | 8782 | MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" |
8783 | fi | 8783 | fi |
8784 | 8784 | ||
8785 | test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt | 8785 | test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt |
8786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 | 8786 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 |
8787 | $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } | 8787 | $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } |
8788 | if ${lt_cv_path_mainfest_tool+:} false; then : | 8788 | if ${lt_cv_path_mainfest_tool+:} false; then : |
8789 | $as_echo_n "(cached) " >&6 | 8789 | $as_echo_n "(cached) " >&6 |
8790 | else | 8790 | else |
8791 | lt_cv_path_mainfest_tool=no | 8791 | lt_cv_path_mainfest_tool=no |
8792 | echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 | 8792 | echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 |
8793 | $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out | 8793 | $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out |
8794 | cat conftest.err >&5 | 8794 | cat conftest.err >&5 |
8795 | if $GREP 'Manifest Tool' conftest.out > /dev/null; then | 8795 | if $GREP 'Manifest Tool' conftest.out > /dev/null; then |
8796 | lt_cv_path_mainfest_tool=yes | 8796 | lt_cv_path_mainfest_tool=yes |
8797 | fi | 8797 | fi |
8798 | rm -f conftest* | 8798 | rm -f conftest* |
8799 | fi | 8799 | fi |
8800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 | 8800 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 |
8801 | $as_echo "$lt_cv_path_mainfest_tool" >&6; } | 8801 | $as_echo "$lt_cv_path_mainfest_tool" >&6; } |
8802 | if test "x$lt_cv_path_mainfest_tool" != xyes; then | 8802 | if test "x$lt_cv_path_mainfest_tool" != xyes; then |
8803 | MANIFEST_TOOL=: | 8803 | MANIFEST_TOOL=: |
8804 | fi | 8804 | fi |
8805 | 8805 | ||
8806 | 8806 | ||
8807 | 8807 | ||
8808 | 8808 | ||
8809 | 8809 | ||
8810 | 8810 | ||
8811 | case $host_os in | 8811 | case $host_os in |
8812 | rhapsody* | darwin*) | 8812 | rhapsody* | darwin*) |
8813 | if test -n "$ac_tool_prefix"; then | 8813 | if test -n "$ac_tool_prefix"; then |
8814 | # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. | 8814 | # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. |
8815 | set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 | 8815 | set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 |
8816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8816 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8817 | $as_echo_n "checking for $ac_word... " >&6; } | 8817 | $as_echo_n "checking for $ac_word... " >&6; } |
8818 | if ${ac_cv_prog_DSYMUTIL+:} false; then : | 8818 | if ${ac_cv_prog_DSYMUTIL+:} false; then : |
8819 | $as_echo_n "(cached) " >&6 | 8819 | $as_echo_n "(cached) " >&6 |
8820 | else | 8820 | else |
8821 | if test -n "$DSYMUTIL"; then | 8821 | if test -n "$DSYMUTIL"; then |
8822 | ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. | 8822 | ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. |
8823 | else | 8823 | else |
8824 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8824 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8825 | for as_dir in $PATH | 8825 | for as_dir in $PATH |
8826 | do | 8826 | do |
8827 | IFS=$as_save_IFS | 8827 | IFS=$as_save_IFS |
8828 | test -z "$as_dir" && as_dir=. | 8828 | test -z "$as_dir" && as_dir=. |
8829 | for ac_exec_ext in '' $ac_executable_extensions; do | 8829 | for ac_exec_ext in '' $ac_executable_extensions; do |
8830 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8830 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8831 | ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" | 8831 | ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" |
8832 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8832 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8833 | break 2 | 8833 | break 2 |
8834 | fi | 8834 | fi |
8835 | done | 8835 | done |
8836 | done | 8836 | done |
8837 | IFS=$as_save_IFS | 8837 | IFS=$as_save_IFS |
8838 | 8838 | ||
8839 | fi | 8839 | fi |
8840 | fi | 8840 | fi |
8841 | DSYMUTIL=$ac_cv_prog_DSYMUTIL | 8841 | DSYMUTIL=$ac_cv_prog_DSYMUTIL |
8842 | if test -n "$DSYMUTIL"; then | 8842 | if test -n "$DSYMUTIL"; then |
8843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 | 8843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 |
8844 | $as_echo "$DSYMUTIL" >&6; } | 8844 | $as_echo "$DSYMUTIL" >&6; } |
8845 | else | 8845 | else |
8846 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8846 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8847 | $as_echo "no" >&6; } | 8847 | $as_echo "no" >&6; } |
8848 | fi | 8848 | fi |
8849 | 8849 | ||
8850 | 8850 | ||
8851 | fi | 8851 | fi |
8852 | if test -z "$ac_cv_prog_DSYMUTIL"; then | 8852 | if test -z "$ac_cv_prog_DSYMUTIL"; then |
8853 | ac_ct_DSYMUTIL=$DSYMUTIL | 8853 | ac_ct_DSYMUTIL=$DSYMUTIL |
8854 | # Extract the first word of "dsymutil", so it can be a program name with args. | 8854 | # Extract the first word of "dsymutil", so it can be a program name with args. |
8855 | set dummy dsymutil; ac_word=$2 | 8855 | set dummy dsymutil; ac_word=$2 |
8856 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8856 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8857 | $as_echo_n "checking for $ac_word... " >&6; } | 8857 | $as_echo_n "checking for $ac_word... " >&6; } |
8858 | if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : | 8858 | if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : |
8859 | $as_echo_n "(cached) " >&6 | 8859 | $as_echo_n "(cached) " >&6 |
8860 | else | 8860 | else |
8861 | if test -n "$ac_ct_DSYMUTIL"; then | 8861 | if test -n "$ac_ct_DSYMUTIL"; then |
8862 | ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. | 8862 | ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. |
8863 | else | 8863 | else |
8864 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8864 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8865 | for as_dir in $PATH | 8865 | for as_dir in $PATH |
8866 | do | 8866 | do |
8867 | IFS=$as_save_IFS | 8867 | IFS=$as_save_IFS |
8868 | test -z "$as_dir" && as_dir=. | 8868 | test -z "$as_dir" && as_dir=. |
8869 | for ac_exec_ext in '' $ac_executable_extensions; do | 8869 | for ac_exec_ext in '' $ac_executable_extensions; do |
8870 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8870 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8871 | ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" | 8871 | ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" |
8872 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8872 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8873 | break 2 | 8873 | break 2 |
8874 | fi | 8874 | fi |
8875 | done | 8875 | done |
8876 | done | 8876 | done |
8877 | IFS=$as_save_IFS | 8877 | IFS=$as_save_IFS |
8878 | 8878 | ||
8879 | fi | 8879 | fi |
8880 | fi | 8880 | fi |
8881 | ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL | 8881 | ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL |
8882 | if test -n "$ac_ct_DSYMUTIL"; then | 8882 | if test -n "$ac_ct_DSYMUTIL"; then |
8883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 | 8883 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 |
8884 | $as_echo "$ac_ct_DSYMUTIL" >&6; } | 8884 | $as_echo "$ac_ct_DSYMUTIL" >&6; } |
8885 | else | 8885 | else |
8886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8886 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8887 | $as_echo "no" >&6; } | 8887 | $as_echo "no" >&6; } |
8888 | fi | 8888 | fi |
8889 | 8889 | ||
8890 | if test "x$ac_ct_DSYMUTIL" = x; then | 8890 | if test "x$ac_ct_DSYMUTIL" = x; then |
8891 | DSYMUTIL=":" | 8891 | DSYMUTIL=":" |
8892 | else | 8892 | else |
8893 | case $cross_compiling:$ac_tool_warned in | 8893 | case $cross_compiling:$ac_tool_warned in |
8894 | yes:) | 8894 | yes:) |
8895 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 8895 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
8896 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 8896 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
8897 | ac_tool_warned=yes ;; | 8897 | ac_tool_warned=yes ;; |
8898 | esac | 8898 | esac |
8899 | DSYMUTIL=$ac_ct_DSYMUTIL | 8899 | DSYMUTIL=$ac_ct_DSYMUTIL |
8900 | fi | 8900 | fi |
8901 | else | 8901 | else |
8902 | DSYMUTIL="$ac_cv_prog_DSYMUTIL" | 8902 | DSYMUTIL="$ac_cv_prog_DSYMUTIL" |
8903 | fi | 8903 | fi |
8904 | 8904 | ||
8905 | if test -n "$ac_tool_prefix"; then | 8905 | if test -n "$ac_tool_prefix"; then |
8906 | # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. | 8906 | # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. |
8907 | set dummy ${ac_tool_prefix}nmedit; ac_word=$2 | 8907 | set dummy ${ac_tool_prefix}nmedit; ac_word=$2 |
8908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8908 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8909 | $as_echo_n "checking for $ac_word... " >&6; } | 8909 | $as_echo_n "checking for $ac_word... " >&6; } |
8910 | if ${ac_cv_prog_NMEDIT+:} false; then : | 8910 | if ${ac_cv_prog_NMEDIT+:} false; then : |
8911 | $as_echo_n "(cached) " >&6 | 8911 | $as_echo_n "(cached) " >&6 |
8912 | else | 8912 | else |
8913 | if test -n "$NMEDIT"; then | 8913 | if test -n "$NMEDIT"; then |
8914 | ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. | 8914 | ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. |
8915 | else | 8915 | else |
8916 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8916 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8917 | for as_dir in $PATH | 8917 | for as_dir in $PATH |
8918 | do | 8918 | do |
8919 | IFS=$as_save_IFS | 8919 | IFS=$as_save_IFS |
8920 | test -z "$as_dir" && as_dir=. | 8920 | test -z "$as_dir" && as_dir=. |
8921 | for ac_exec_ext in '' $ac_executable_extensions; do | 8921 | for ac_exec_ext in '' $ac_executable_extensions; do |
8922 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8922 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8923 | ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" | 8923 | ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" |
8924 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8924 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8925 | break 2 | 8925 | break 2 |
8926 | fi | 8926 | fi |
8927 | done | 8927 | done |
8928 | done | 8928 | done |
8929 | IFS=$as_save_IFS | 8929 | IFS=$as_save_IFS |
8930 | 8930 | ||
8931 | fi | 8931 | fi |
8932 | fi | 8932 | fi |
8933 | NMEDIT=$ac_cv_prog_NMEDIT | 8933 | NMEDIT=$ac_cv_prog_NMEDIT |
8934 | if test -n "$NMEDIT"; then | 8934 | if test -n "$NMEDIT"; then |
8935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 | 8935 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 |
8936 | $as_echo "$NMEDIT" >&6; } | 8936 | $as_echo "$NMEDIT" >&6; } |
8937 | else | 8937 | else |
8938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8938 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8939 | $as_echo "no" >&6; } | 8939 | $as_echo "no" >&6; } |
8940 | fi | 8940 | fi |
8941 | 8941 | ||
8942 | 8942 | ||
8943 | fi | 8943 | fi |
8944 | if test -z "$ac_cv_prog_NMEDIT"; then | 8944 | if test -z "$ac_cv_prog_NMEDIT"; then |
8945 | ac_ct_NMEDIT=$NMEDIT | 8945 | ac_ct_NMEDIT=$NMEDIT |
8946 | # Extract the first word of "nmedit", so it can be a program name with args. | 8946 | # Extract the first word of "nmedit", so it can be a program name with args. |
8947 | set dummy nmedit; ac_word=$2 | 8947 | set dummy nmedit; ac_word=$2 |
8948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 8948 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
8949 | $as_echo_n "checking for $ac_word... " >&6; } | 8949 | $as_echo_n "checking for $ac_word... " >&6; } |
8950 | if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : | 8950 | if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : |
8951 | $as_echo_n "(cached) " >&6 | 8951 | $as_echo_n "(cached) " >&6 |
8952 | else | 8952 | else |
8953 | if test -n "$ac_ct_NMEDIT"; then | 8953 | if test -n "$ac_ct_NMEDIT"; then |
8954 | ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. | 8954 | ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. |
8955 | else | 8955 | else |
8956 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 8956 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
8957 | for as_dir in $PATH | 8957 | for as_dir in $PATH |
8958 | do | 8958 | do |
8959 | IFS=$as_save_IFS | 8959 | IFS=$as_save_IFS |
8960 | test -z "$as_dir" && as_dir=. | 8960 | test -z "$as_dir" && as_dir=. |
8961 | for ac_exec_ext in '' $ac_executable_extensions; do | 8961 | for ac_exec_ext in '' $ac_executable_extensions; do |
8962 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 8962 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
8963 | ac_cv_prog_ac_ct_NMEDIT="nmedit" | 8963 | ac_cv_prog_ac_ct_NMEDIT="nmedit" |
8964 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 8964 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
8965 | break 2 | 8965 | break 2 |
8966 | fi | 8966 | fi |
8967 | done | 8967 | done |
8968 | done | 8968 | done |
8969 | IFS=$as_save_IFS | 8969 | IFS=$as_save_IFS |
8970 | 8970 | ||
8971 | fi | 8971 | fi |
8972 | fi | 8972 | fi |
8973 | ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT | 8973 | ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT |
8974 | if test -n "$ac_ct_NMEDIT"; then | 8974 | if test -n "$ac_ct_NMEDIT"; then |
8975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 | 8975 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 |
8976 | $as_echo "$ac_ct_NMEDIT" >&6; } | 8976 | $as_echo "$ac_ct_NMEDIT" >&6; } |
8977 | else | 8977 | else |
8978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 8978 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
8979 | $as_echo "no" >&6; } | 8979 | $as_echo "no" >&6; } |
8980 | fi | 8980 | fi |
8981 | 8981 | ||
8982 | if test "x$ac_ct_NMEDIT" = x; then | 8982 | if test "x$ac_ct_NMEDIT" = x; then |
8983 | NMEDIT=":" | 8983 | NMEDIT=":" |
8984 | else | 8984 | else |
8985 | case $cross_compiling:$ac_tool_warned in | 8985 | case $cross_compiling:$ac_tool_warned in |
8986 | yes:) | 8986 | yes:) |
8987 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 8987 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
8988 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 8988 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
8989 | ac_tool_warned=yes ;; | 8989 | ac_tool_warned=yes ;; |
8990 | esac | 8990 | esac |
8991 | NMEDIT=$ac_ct_NMEDIT | 8991 | NMEDIT=$ac_ct_NMEDIT |
8992 | fi | 8992 | fi |
8993 | else | 8993 | else |
8994 | NMEDIT="$ac_cv_prog_NMEDIT" | 8994 | NMEDIT="$ac_cv_prog_NMEDIT" |
8995 | fi | 8995 | fi |
8996 | 8996 | ||
8997 | if test -n "$ac_tool_prefix"; then | 8997 | if test -n "$ac_tool_prefix"; then |
8998 | # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. | 8998 | # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. |
8999 | set dummy ${ac_tool_prefix}lipo; ac_word=$2 | 8999 | set dummy ${ac_tool_prefix}lipo; ac_word=$2 |
9000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9000 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9001 | $as_echo_n "checking for $ac_word... " >&6; } | 9001 | $as_echo_n "checking for $ac_word... " >&6; } |
9002 | if ${ac_cv_prog_LIPO+:} false; then : | 9002 | if ${ac_cv_prog_LIPO+:} false; then : |
9003 | $as_echo_n "(cached) " >&6 | 9003 | $as_echo_n "(cached) " >&6 |
9004 | else | 9004 | else |
9005 | if test -n "$LIPO"; then | 9005 | if test -n "$LIPO"; then |
9006 | ac_cv_prog_LIPO="$LIPO" # Let the user override the test. | 9006 | ac_cv_prog_LIPO="$LIPO" # Let the user override the test. |
9007 | else | 9007 | else |
9008 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9008 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9009 | for as_dir in $PATH | 9009 | for as_dir in $PATH |
9010 | do | 9010 | do |
9011 | IFS=$as_save_IFS | 9011 | IFS=$as_save_IFS |
9012 | test -z "$as_dir" && as_dir=. | 9012 | test -z "$as_dir" && as_dir=. |
9013 | for ac_exec_ext in '' $ac_executable_extensions; do | 9013 | for ac_exec_ext in '' $ac_executable_extensions; do |
9014 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9014 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9015 | ac_cv_prog_LIPO="${ac_tool_prefix}lipo" | 9015 | ac_cv_prog_LIPO="${ac_tool_prefix}lipo" |
9016 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9016 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9017 | break 2 | 9017 | break 2 |
9018 | fi | 9018 | fi |
9019 | done | 9019 | done |
9020 | done | 9020 | done |
9021 | IFS=$as_save_IFS | 9021 | IFS=$as_save_IFS |
9022 | 9022 | ||
9023 | fi | 9023 | fi |
9024 | fi | 9024 | fi |
9025 | LIPO=$ac_cv_prog_LIPO | 9025 | LIPO=$ac_cv_prog_LIPO |
9026 | if test -n "$LIPO"; then | 9026 | if test -n "$LIPO"; then |
9027 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 | 9027 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 |
9028 | $as_echo "$LIPO" >&6; } | 9028 | $as_echo "$LIPO" >&6; } |
9029 | else | 9029 | else |
9030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9030 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9031 | $as_echo "no" >&6; } | 9031 | $as_echo "no" >&6; } |
9032 | fi | 9032 | fi |
9033 | 9033 | ||
9034 | 9034 | ||
9035 | fi | 9035 | fi |
9036 | if test -z "$ac_cv_prog_LIPO"; then | 9036 | if test -z "$ac_cv_prog_LIPO"; then |
9037 | ac_ct_LIPO=$LIPO | 9037 | ac_ct_LIPO=$LIPO |
9038 | # Extract the first word of "lipo", so it can be a program name with args. | 9038 | # Extract the first word of "lipo", so it can be a program name with args. |
9039 | set dummy lipo; ac_word=$2 | 9039 | set dummy lipo; ac_word=$2 |
9040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9040 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9041 | $as_echo_n "checking for $ac_word... " >&6; } | 9041 | $as_echo_n "checking for $ac_word... " >&6; } |
9042 | if ${ac_cv_prog_ac_ct_LIPO+:} false; then : | 9042 | if ${ac_cv_prog_ac_ct_LIPO+:} false; then : |
9043 | $as_echo_n "(cached) " >&6 | 9043 | $as_echo_n "(cached) " >&6 |
9044 | else | 9044 | else |
9045 | if test -n "$ac_ct_LIPO"; then | 9045 | if test -n "$ac_ct_LIPO"; then |
9046 | ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. | 9046 | ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. |
9047 | else | 9047 | else |
9048 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9048 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9049 | for as_dir in $PATH | 9049 | for as_dir in $PATH |
9050 | do | 9050 | do |
9051 | IFS=$as_save_IFS | 9051 | IFS=$as_save_IFS |
9052 | test -z "$as_dir" && as_dir=. | 9052 | test -z "$as_dir" && as_dir=. |
9053 | for ac_exec_ext in '' $ac_executable_extensions; do | 9053 | for ac_exec_ext in '' $ac_executable_extensions; do |
9054 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9054 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9055 | ac_cv_prog_ac_ct_LIPO="lipo" | 9055 | ac_cv_prog_ac_ct_LIPO="lipo" |
9056 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9056 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9057 | break 2 | 9057 | break 2 |
9058 | fi | 9058 | fi |
9059 | done | 9059 | done |
9060 | done | 9060 | done |
9061 | IFS=$as_save_IFS | 9061 | IFS=$as_save_IFS |
9062 | 9062 | ||
9063 | fi | 9063 | fi |
9064 | fi | 9064 | fi |
9065 | ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO | 9065 | ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO |
9066 | if test -n "$ac_ct_LIPO"; then | 9066 | if test -n "$ac_ct_LIPO"; then |
9067 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 | 9067 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 |
9068 | $as_echo "$ac_ct_LIPO" >&6; } | 9068 | $as_echo "$ac_ct_LIPO" >&6; } |
9069 | else | 9069 | else |
9070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9070 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9071 | $as_echo "no" >&6; } | 9071 | $as_echo "no" >&6; } |
9072 | fi | 9072 | fi |
9073 | 9073 | ||
9074 | if test "x$ac_ct_LIPO" = x; then | 9074 | if test "x$ac_ct_LIPO" = x; then |
9075 | LIPO=":" | 9075 | LIPO=":" |
9076 | else | 9076 | else |
9077 | case $cross_compiling:$ac_tool_warned in | 9077 | case $cross_compiling:$ac_tool_warned in |
9078 | yes:) | 9078 | yes:) |
9079 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 9079 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
9080 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 9080 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
9081 | ac_tool_warned=yes ;; | 9081 | ac_tool_warned=yes ;; |
9082 | esac | 9082 | esac |
9083 | LIPO=$ac_ct_LIPO | 9083 | LIPO=$ac_ct_LIPO |
9084 | fi | 9084 | fi |
9085 | else | 9085 | else |
9086 | LIPO="$ac_cv_prog_LIPO" | 9086 | LIPO="$ac_cv_prog_LIPO" |
9087 | fi | 9087 | fi |
9088 | 9088 | ||
9089 | if test -n "$ac_tool_prefix"; then | 9089 | if test -n "$ac_tool_prefix"; then |
9090 | # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. | 9090 | # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. |
9091 | set dummy ${ac_tool_prefix}otool; ac_word=$2 | 9091 | set dummy ${ac_tool_prefix}otool; ac_word=$2 |
9092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9092 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9093 | $as_echo_n "checking for $ac_word... " >&6; } | 9093 | $as_echo_n "checking for $ac_word... " >&6; } |
9094 | if ${ac_cv_prog_OTOOL+:} false; then : | 9094 | if ${ac_cv_prog_OTOOL+:} false; then : |
9095 | $as_echo_n "(cached) " >&6 | 9095 | $as_echo_n "(cached) " >&6 |
9096 | else | 9096 | else |
9097 | if test -n "$OTOOL"; then | 9097 | if test -n "$OTOOL"; then |
9098 | ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. | 9098 | ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. |
9099 | else | 9099 | else |
9100 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9100 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9101 | for as_dir in $PATH | 9101 | for as_dir in $PATH |
9102 | do | 9102 | do |
9103 | IFS=$as_save_IFS | 9103 | IFS=$as_save_IFS |
9104 | test -z "$as_dir" && as_dir=. | 9104 | test -z "$as_dir" && as_dir=. |
9105 | for ac_exec_ext in '' $ac_executable_extensions; do | 9105 | for ac_exec_ext in '' $ac_executable_extensions; do |
9106 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9106 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9107 | ac_cv_prog_OTOOL="${ac_tool_prefix}otool" | 9107 | ac_cv_prog_OTOOL="${ac_tool_prefix}otool" |
9108 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9108 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9109 | break 2 | 9109 | break 2 |
9110 | fi | 9110 | fi |
9111 | done | 9111 | done |
9112 | done | 9112 | done |
9113 | IFS=$as_save_IFS | 9113 | IFS=$as_save_IFS |
9114 | 9114 | ||
9115 | fi | 9115 | fi |
9116 | fi | 9116 | fi |
9117 | OTOOL=$ac_cv_prog_OTOOL | 9117 | OTOOL=$ac_cv_prog_OTOOL |
9118 | if test -n "$OTOOL"; then | 9118 | if test -n "$OTOOL"; then |
9119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 | 9119 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 |
9120 | $as_echo "$OTOOL" >&6; } | 9120 | $as_echo "$OTOOL" >&6; } |
9121 | else | 9121 | else |
9122 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9122 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9123 | $as_echo "no" >&6; } | 9123 | $as_echo "no" >&6; } |
9124 | fi | 9124 | fi |
9125 | 9125 | ||
9126 | 9126 | ||
9127 | fi | 9127 | fi |
9128 | if test -z "$ac_cv_prog_OTOOL"; then | 9128 | if test -z "$ac_cv_prog_OTOOL"; then |
9129 | ac_ct_OTOOL=$OTOOL | 9129 | ac_ct_OTOOL=$OTOOL |
9130 | # Extract the first word of "otool", so it can be a program name with args. | 9130 | # Extract the first word of "otool", so it can be a program name with args. |
9131 | set dummy otool; ac_word=$2 | 9131 | set dummy otool; ac_word=$2 |
9132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9132 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9133 | $as_echo_n "checking for $ac_word... " >&6; } | 9133 | $as_echo_n "checking for $ac_word... " >&6; } |
9134 | if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : | 9134 | if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : |
9135 | $as_echo_n "(cached) " >&6 | 9135 | $as_echo_n "(cached) " >&6 |
9136 | else | 9136 | else |
9137 | if test -n "$ac_ct_OTOOL"; then | 9137 | if test -n "$ac_ct_OTOOL"; then |
9138 | ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. | 9138 | ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. |
9139 | else | 9139 | else |
9140 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9140 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9141 | for as_dir in $PATH | 9141 | for as_dir in $PATH |
9142 | do | 9142 | do |
9143 | IFS=$as_save_IFS | 9143 | IFS=$as_save_IFS |
9144 | test -z "$as_dir" && as_dir=. | 9144 | test -z "$as_dir" && as_dir=. |
9145 | for ac_exec_ext in '' $ac_executable_extensions; do | 9145 | for ac_exec_ext in '' $ac_executable_extensions; do |
9146 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9146 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9147 | ac_cv_prog_ac_ct_OTOOL="otool" | 9147 | ac_cv_prog_ac_ct_OTOOL="otool" |
9148 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9148 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9149 | break 2 | 9149 | break 2 |
9150 | fi | 9150 | fi |
9151 | done | 9151 | done |
9152 | done | 9152 | done |
9153 | IFS=$as_save_IFS | 9153 | IFS=$as_save_IFS |
9154 | 9154 | ||
9155 | fi | 9155 | fi |
9156 | fi | 9156 | fi |
9157 | ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL | 9157 | ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL |
9158 | if test -n "$ac_ct_OTOOL"; then | 9158 | if test -n "$ac_ct_OTOOL"; then |
9159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 | 9159 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 |
9160 | $as_echo "$ac_ct_OTOOL" >&6; } | 9160 | $as_echo "$ac_ct_OTOOL" >&6; } |
9161 | else | 9161 | else |
9162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9162 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9163 | $as_echo "no" >&6; } | 9163 | $as_echo "no" >&6; } |
9164 | fi | 9164 | fi |
9165 | 9165 | ||
9166 | if test "x$ac_ct_OTOOL" = x; then | 9166 | if test "x$ac_ct_OTOOL" = x; then |
9167 | OTOOL=":" | 9167 | OTOOL=":" |
9168 | else | 9168 | else |
9169 | case $cross_compiling:$ac_tool_warned in | 9169 | case $cross_compiling:$ac_tool_warned in |
9170 | yes:) | 9170 | yes:) |
9171 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 9171 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
9172 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 9172 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
9173 | ac_tool_warned=yes ;; | 9173 | ac_tool_warned=yes ;; |
9174 | esac | 9174 | esac |
9175 | OTOOL=$ac_ct_OTOOL | 9175 | OTOOL=$ac_ct_OTOOL |
9176 | fi | 9176 | fi |
9177 | else | 9177 | else |
9178 | OTOOL="$ac_cv_prog_OTOOL" | 9178 | OTOOL="$ac_cv_prog_OTOOL" |
9179 | fi | 9179 | fi |
9180 | 9180 | ||
9181 | if test -n "$ac_tool_prefix"; then | 9181 | if test -n "$ac_tool_prefix"; then |
9182 | # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. | 9182 | # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. |
9183 | set dummy ${ac_tool_prefix}otool64; ac_word=$2 | 9183 | set dummy ${ac_tool_prefix}otool64; ac_word=$2 |
9184 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9184 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9185 | $as_echo_n "checking for $ac_word... " >&6; } | 9185 | $as_echo_n "checking for $ac_word... " >&6; } |
9186 | if ${ac_cv_prog_OTOOL64+:} false; then : | 9186 | if ${ac_cv_prog_OTOOL64+:} false; then : |
9187 | $as_echo_n "(cached) " >&6 | 9187 | $as_echo_n "(cached) " >&6 |
9188 | else | 9188 | else |
9189 | if test -n "$OTOOL64"; then | 9189 | if test -n "$OTOOL64"; then |
9190 | ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. | 9190 | ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. |
9191 | else | 9191 | else |
9192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9193 | for as_dir in $PATH | 9193 | for as_dir in $PATH |
9194 | do | 9194 | do |
9195 | IFS=$as_save_IFS | 9195 | IFS=$as_save_IFS |
9196 | test -z "$as_dir" && as_dir=. | 9196 | test -z "$as_dir" && as_dir=. |
9197 | for ac_exec_ext in '' $ac_executable_extensions; do | 9197 | for ac_exec_ext in '' $ac_executable_extensions; do |
9198 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9198 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9199 | ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" | 9199 | ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" |
9200 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9200 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9201 | break 2 | 9201 | break 2 |
9202 | fi | 9202 | fi |
9203 | done | 9203 | done |
9204 | done | 9204 | done |
9205 | IFS=$as_save_IFS | 9205 | IFS=$as_save_IFS |
9206 | 9206 | ||
9207 | fi | 9207 | fi |
9208 | fi | 9208 | fi |
9209 | OTOOL64=$ac_cv_prog_OTOOL64 | 9209 | OTOOL64=$ac_cv_prog_OTOOL64 |
9210 | if test -n "$OTOOL64"; then | 9210 | if test -n "$OTOOL64"; then |
9211 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 | 9211 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 |
9212 | $as_echo "$OTOOL64" >&6; } | 9212 | $as_echo "$OTOOL64" >&6; } |
9213 | else | 9213 | else |
9214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9214 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9215 | $as_echo "no" >&6; } | 9215 | $as_echo "no" >&6; } |
9216 | fi | 9216 | fi |
9217 | 9217 | ||
9218 | 9218 | ||
9219 | fi | 9219 | fi |
9220 | if test -z "$ac_cv_prog_OTOOL64"; then | 9220 | if test -z "$ac_cv_prog_OTOOL64"; then |
9221 | ac_ct_OTOOL64=$OTOOL64 | 9221 | ac_ct_OTOOL64=$OTOOL64 |
9222 | # Extract the first word of "otool64", so it can be a program name with args. | 9222 | # Extract the first word of "otool64", so it can be a program name with args. |
9223 | set dummy otool64; ac_word=$2 | 9223 | set dummy otool64; ac_word=$2 |
9224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 9224 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
9225 | $as_echo_n "checking for $ac_word... " >&6; } | 9225 | $as_echo_n "checking for $ac_word... " >&6; } |
9226 | if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : | 9226 | if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : |
9227 | $as_echo_n "(cached) " >&6 | 9227 | $as_echo_n "(cached) " >&6 |
9228 | else | 9228 | else |
9229 | if test -n "$ac_ct_OTOOL64"; then | 9229 | if test -n "$ac_ct_OTOOL64"; then |
9230 | ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. | 9230 | ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. |
9231 | else | 9231 | else |
9232 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 9232 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
9233 | for as_dir in $PATH | 9233 | for as_dir in $PATH |
9234 | do | 9234 | do |
9235 | IFS=$as_save_IFS | 9235 | IFS=$as_save_IFS |
9236 | test -z "$as_dir" && as_dir=. | 9236 | test -z "$as_dir" && as_dir=. |
9237 | for ac_exec_ext in '' $ac_executable_extensions; do | 9237 | for ac_exec_ext in '' $ac_executable_extensions; do |
9238 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 9238 | if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then |
9239 | ac_cv_prog_ac_ct_OTOOL64="otool64" | 9239 | ac_cv_prog_ac_ct_OTOOL64="otool64" |
9240 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 9240 | $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 |
9241 | break 2 | 9241 | break 2 |
9242 | fi | 9242 | fi |
9243 | done | 9243 | done |
9244 | done | 9244 | done |
9245 | IFS=$as_save_IFS | 9245 | IFS=$as_save_IFS |
9246 | 9246 | ||
9247 | fi | 9247 | fi |
9248 | fi | 9248 | fi |
9249 | ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 | 9249 | ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 |
9250 | if test -n "$ac_ct_OTOOL64"; then | 9250 | if test -n "$ac_ct_OTOOL64"; then |
9251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 | 9251 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 |
9252 | $as_echo "$ac_ct_OTOOL64" >&6; } | 9252 | $as_echo "$ac_ct_OTOOL64" >&6; } |
9253 | else | 9253 | else |
9254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9254 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9255 | $as_echo "no" >&6; } | 9255 | $as_echo "no" >&6; } |
9256 | fi | 9256 | fi |
9257 | 9257 | ||
9258 | if test "x$ac_ct_OTOOL64" = x; then | 9258 | if test "x$ac_ct_OTOOL64" = x; then |
9259 | OTOOL64=":" | 9259 | OTOOL64=":" |
9260 | else | 9260 | else |
9261 | case $cross_compiling:$ac_tool_warned in | 9261 | case $cross_compiling:$ac_tool_warned in |
9262 | yes:) | 9262 | yes:) |
9263 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 9263 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 |
9264 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 9264 | $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} |
9265 | ac_tool_warned=yes ;; | 9265 | ac_tool_warned=yes ;; |
9266 | esac | 9266 | esac |
9267 | OTOOL64=$ac_ct_OTOOL64 | 9267 | OTOOL64=$ac_ct_OTOOL64 |
9268 | fi | 9268 | fi |
9269 | else | 9269 | else |
9270 | OTOOL64="$ac_cv_prog_OTOOL64" | 9270 | OTOOL64="$ac_cv_prog_OTOOL64" |
9271 | fi | 9271 | fi |
9272 | 9272 | ||
9273 | 9273 | ||
9274 | 9274 | ||
9275 | 9275 | ||
9276 | 9276 | ||
9277 | 9277 | ||
9278 | 9278 | ||
9279 | 9279 | ||
9280 | 9280 | ||
9281 | 9281 | ||
9282 | 9282 | ||
9283 | 9283 | ||
9284 | 9284 | ||
9285 | 9285 | ||
9286 | 9286 | ||
9287 | 9287 | ||
9288 | 9288 | ||
9289 | 9289 | ||
9290 | 9290 | ||
9291 | 9291 | ||
9292 | 9292 | ||
9293 | 9293 | ||
9294 | 9294 | ||
9295 | 9295 | ||
9296 | 9296 | ||
9297 | 9297 | ||
9298 | 9298 | ||
9299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 | 9299 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 |
9300 | $as_echo_n "checking for -single_module linker flag... " >&6; } | 9300 | $as_echo_n "checking for -single_module linker flag... " >&6; } |
9301 | if ${lt_cv_apple_cc_single_mod+:} false; then : | 9301 | if ${lt_cv_apple_cc_single_mod+:} false; then : |
9302 | $as_echo_n "(cached) " >&6 | 9302 | $as_echo_n "(cached) " >&6 |
9303 | else | 9303 | else |
9304 | lt_cv_apple_cc_single_mod=no | 9304 | lt_cv_apple_cc_single_mod=no |
9305 | if test -z "${LT_MULTI_MODULE}"; then | 9305 | if test -z "${LT_MULTI_MODULE}"; then |
9306 | # By default we will add the -single_module flag. You can override | 9306 | # By default we will add the -single_module flag. You can override |
9307 | # by either setting the environment variable LT_MULTI_MODULE | 9307 | # by either setting the environment variable LT_MULTI_MODULE |
9308 | # non-empty at configure time, or by adding -multi_module to the | 9308 | # non-empty at configure time, or by adding -multi_module to the |
9309 | # link flags. | 9309 | # link flags. |
9310 | rm -rf libconftest.dylib* | 9310 | rm -rf libconftest.dylib* |
9311 | echo "int foo(void){return 1;}" > conftest.c | 9311 | echo "int foo(void){return 1;}" > conftest.c |
9312 | echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 9312 | echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
9313 | -dynamiclib -Wl,-single_module conftest.c" >&5 | 9313 | -dynamiclib -Wl,-single_module conftest.c" >&5 |
9314 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 9314 | $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
9315 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | 9315 | -dynamiclib -Wl,-single_module conftest.c 2>conftest.err |
9316 | _lt_result=$? | 9316 | _lt_result=$? |
9317 | # If there is a non-empty error log, and "single_module" | 9317 | # If there is a non-empty error log, and "single_module" |
9318 | # appears in it, assume the flag caused a linker warning | 9318 | # appears in it, assume the flag caused a linker warning |
9319 | if test -s conftest.err && $GREP single_module conftest.err; then | 9319 | if test -s conftest.err && $GREP single_module conftest.err; then |
9320 | cat conftest.err >&5 | 9320 | cat conftest.err >&5 |
9321 | # Otherwise, if the output was created with a 0 exit code from | 9321 | # Otherwise, if the output was created with a 0 exit code from |
9322 | # the compiler, it worked. | 9322 | # the compiler, it worked. |
9323 | elif test -f libconftest.dylib && test $_lt_result -eq 0; then | 9323 | elif test -f libconftest.dylib && test $_lt_result -eq 0; then |
9324 | lt_cv_apple_cc_single_mod=yes | 9324 | lt_cv_apple_cc_single_mod=yes |
9325 | else | 9325 | else |
9326 | cat conftest.err >&5 | 9326 | cat conftest.err >&5 |
9327 | fi | 9327 | fi |
9328 | rm -rf libconftest.dylib* | 9328 | rm -rf libconftest.dylib* |
9329 | rm -f conftest.* | 9329 | rm -f conftest.* |
9330 | fi | 9330 | fi |
9331 | fi | 9331 | fi |
9332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 | 9332 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 |
9333 | $as_echo "$lt_cv_apple_cc_single_mod" >&6; } | 9333 | $as_echo "$lt_cv_apple_cc_single_mod" >&6; } |
9334 | 9334 | ||
9335 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 | 9335 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 |
9336 | $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } | 9336 | $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } |
9337 | if ${lt_cv_ld_exported_symbols_list+:} false; then : | 9337 | if ${lt_cv_ld_exported_symbols_list+:} false; then : |
9338 | $as_echo_n "(cached) " >&6 | 9338 | $as_echo_n "(cached) " >&6 |
9339 | else | 9339 | else |
9340 | lt_cv_ld_exported_symbols_list=no | 9340 | lt_cv_ld_exported_symbols_list=no |
9341 | save_LDFLAGS=$LDFLAGS | 9341 | save_LDFLAGS=$LDFLAGS |
9342 | echo "_main" > conftest.sym | 9342 | echo "_main" > conftest.sym |
9343 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | 9343 | LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
9344 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 9344 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
9345 | /* end confdefs.h. */ | 9345 | /* end confdefs.h. */ |
9346 | 9346 | ||
9347 | int | 9347 | int |
9348 | main () | 9348 | main () |
9349 | { | 9349 | { |
9350 | 9350 | ||
9351 | ; | 9351 | ; |
9352 | return 0; | 9352 | return 0; |
9353 | } | 9353 | } |
9354 | _ACEOF | 9354 | _ACEOF |
9355 | if ac_fn_c_try_link "$LINENO"; then : | 9355 | if ac_fn_c_try_link "$LINENO"; then : |
9356 | lt_cv_ld_exported_symbols_list=yes | 9356 | lt_cv_ld_exported_symbols_list=yes |
9357 | else | 9357 | else |
9358 | lt_cv_ld_exported_symbols_list=no | 9358 | lt_cv_ld_exported_symbols_list=no |
9359 | fi | 9359 | fi |
9360 | rm -f core conftest.err conftest.$ac_objext \ | 9360 | rm -f core conftest.err conftest.$ac_objext \ |
9361 | conftest$ac_exeext conftest.$ac_ext | 9361 | conftest$ac_exeext conftest.$ac_ext |
9362 | LDFLAGS="$save_LDFLAGS" | 9362 | LDFLAGS="$save_LDFLAGS" |
9363 | 9363 | ||
9364 | fi | 9364 | fi |
9365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 | 9365 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 |
9366 | $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } | 9366 | $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } |
9367 | 9367 | ||
9368 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 | 9368 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 |
9369 | $as_echo_n "checking for -force_load linker flag... " >&6; } | 9369 | $as_echo_n "checking for -force_load linker flag... " >&6; } |
9370 | if ${lt_cv_ld_force_load+:} false; then : | 9370 | if ${lt_cv_ld_force_load+:} false; then : |
9371 | $as_echo_n "(cached) " >&6 | 9371 | $as_echo_n "(cached) " >&6 |
9372 | else | 9372 | else |
9373 | lt_cv_ld_force_load=no | 9373 | lt_cv_ld_force_load=no |
9374 | cat > conftest.c << _LT_EOF | 9374 | cat > conftest.c << _LT_EOF |
9375 | int forced_loaded() { return 2;} | 9375 | int forced_loaded() { return 2;} |
9376 | _LT_EOF | 9376 | _LT_EOF |
9377 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 | 9377 | echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 |
9378 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 | 9378 | $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 |
9379 | echo "$AR cru libconftest.a conftest.o" >&5 | 9379 | echo "$AR cru libconftest.a conftest.o" >&5 |
9380 | $AR cru libconftest.a conftest.o 2>&5 | 9380 | $AR cru libconftest.a conftest.o 2>&5 |
9381 | echo "$RANLIB libconftest.a" >&5 | 9381 | echo "$RANLIB libconftest.a" >&5 |
9382 | $RANLIB libconftest.a 2>&5 | 9382 | $RANLIB libconftest.a 2>&5 |
9383 | cat > conftest.c << _LT_EOF | 9383 | cat > conftest.c << _LT_EOF |
9384 | int main() { return 0;} | 9384 | int main() { return 0;} |
9385 | _LT_EOF | 9385 | _LT_EOF |
9386 | echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 | 9386 | echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 |
9387 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err | 9387 | $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err |
9388 | _lt_result=$? | 9388 | _lt_result=$? |
9389 | if test -s conftest.err && $GREP force_load conftest.err; then | 9389 | if test -s conftest.err && $GREP force_load conftest.err; then |
9390 | cat conftest.err >&5 | 9390 | cat conftest.err >&5 |
9391 | elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then | 9391 | elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then |
9392 | lt_cv_ld_force_load=yes | 9392 | lt_cv_ld_force_load=yes |
9393 | else | 9393 | else |
9394 | cat conftest.err >&5 | 9394 | cat conftest.err >&5 |
9395 | fi | 9395 | fi |
9396 | rm -f conftest.err libconftest.a conftest conftest.c | 9396 | rm -f conftest.err libconftest.a conftest conftest.c |
9397 | rm -rf conftest.dSYM | 9397 | rm -rf conftest.dSYM |
9398 | 9398 | ||
9399 | fi | 9399 | fi |
9400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 | 9400 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 |
9401 | $as_echo "$lt_cv_ld_force_load" >&6; } | 9401 | $as_echo "$lt_cv_ld_force_load" >&6; } |
9402 | case $host_os in | 9402 | case $host_os in |
9403 | rhapsody* | darwin1.[012]) | 9403 | rhapsody* | darwin1.[012]) |
9404 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | 9404 | _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
9405 | darwin1.*) | 9405 | darwin1.*) |
9406 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 9406 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
9407 | darwin*) # darwin 5.x on | 9407 | darwin*) # darwin 5.x on |
9408 | # if running on 10.5 or later, the deployment target defaults | 9408 | # if running on 10.5 or later, the deployment target defaults |
9409 | # to the OS version, if on x86, and 10.4, the deployment | 9409 | # to the OS version, if on x86, and 10.4, the deployment |
9410 | # target defaults to 10.4. Don't you love it? | 9410 | # target defaults to 10.4. Don't you love it? |
9411 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | 9411 | case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
9412 | 10.0,*86*-darwin8*|10.0,*-darwin[91]*) | 9412 | 10.0,*86*-darwin8*|10.0,*-darwin[91]*) |
9413 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 9413 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
9414 | 10.[012]*) | 9414 | 10.[012]*) |
9415 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 9415 | _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; |
9416 | 10.*) | 9416 | 10.*) |
9417 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 9417 | _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
9418 | esac | 9418 | esac |
9419 | ;; | 9419 | ;; |
9420 | esac | 9420 | esac |
9421 | if test "$lt_cv_apple_cc_single_mod" = "yes"; then | 9421 | if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
9422 | _lt_dar_single_mod='$single_module' | 9422 | _lt_dar_single_mod='$single_module' |
9423 | fi | 9423 | fi |
9424 | if test "$lt_cv_ld_exported_symbols_list" = "yes"; then | 9424 | if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
9425 | _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' | 9425 | _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' |
9426 | else | 9426 | else |
9427 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' | 9427 | _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' |
9428 | fi | 9428 | fi |
9429 | if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | 9429 | if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then |
9430 | _lt_dsymutil='~$DSYMUTIL $lib || :' | 9430 | _lt_dsymutil='~$DSYMUTIL $lib || :' |
9431 | else | 9431 | else |
9432 | _lt_dsymutil= | 9432 | _lt_dsymutil= |
9433 | fi | 9433 | fi |
9434 | ;; | 9434 | ;; |
9435 | esac | 9435 | esac |
9436 | 9436 | ||
9437 | for ac_header in dlfcn.h | 9437 | for ac_header in dlfcn.h |
9438 | do : | 9438 | do : |
9439 | ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default | 9439 | ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default |
9440 | " | 9440 | " |
9441 | if test "x$ac_cv_header_dlfcn_h" = xyes; then : | 9441 | if test "x$ac_cv_header_dlfcn_h" = xyes; then : |
9442 | cat >>confdefs.h <<_ACEOF | 9442 | cat >>confdefs.h <<_ACEOF |
9443 | #define HAVE_DLFCN_H 1 | 9443 | #define HAVE_DLFCN_H 1 |
9444 | _ACEOF | 9444 | _ACEOF |
9445 | 9445 | ||
9446 | fi | 9446 | fi |
9447 | 9447 | ||
9448 | done | 9448 | done |
9449 | 9449 | ||
9450 | 9450 | ||
9451 | 9451 | ||
9452 | 9452 | ||
9453 | 9453 | ||
9454 | # Set options | 9454 | # Set options |
9455 | 9455 | ||
9456 | 9456 | ||
9457 | 9457 | ||
9458 | enable_dlopen=no | 9458 | enable_dlopen=no |
9459 | 9459 | ||
9460 | 9460 | ||
9461 | 9461 | ||
9462 | # Check whether --enable-shared was given. | 9462 | # Check whether --enable-shared was given. |
9463 | if test "${enable_shared+set}" = set; then : | 9463 | if test "${enable_shared+set}" = set; then : |
9464 | enableval=$enable_shared; p=${PACKAGE-default} | 9464 | enableval=$enable_shared; p=${PACKAGE-default} |
9465 | case $enableval in | 9465 | case $enableval in |
9466 | yes) enable_shared=yes ;; | 9466 | yes) enable_shared=yes ;; |
9467 | no) enable_shared=no ;; | 9467 | no) enable_shared=no ;; |
9468 | *) | 9468 | *) |
9469 | enable_shared=no | 9469 | enable_shared=no |
9470 | # Look at the argument we got. We use all the common list separators. | 9470 | # Look at the argument we got. We use all the common list separators. |
9471 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9471 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
9472 | for pkg in $enableval; do | 9472 | for pkg in $enableval; do |
9473 | IFS="$lt_save_ifs" | 9473 | IFS="$lt_save_ifs" |
9474 | if test "X$pkg" = "X$p"; then | 9474 | if test "X$pkg" = "X$p"; then |
9475 | enable_shared=yes | 9475 | enable_shared=yes |
9476 | fi | 9476 | fi |
9477 | done | 9477 | done |
9478 | IFS="$lt_save_ifs" | 9478 | IFS="$lt_save_ifs" |
9479 | ;; | 9479 | ;; |
9480 | esac | 9480 | esac |
9481 | else | 9481 | else |
9482 | enable_shared=yes | 9482 | enable_shared=yes |
9483 | fi | 9483 | fi |
9484 | 9484 | ||
9485 | 9485 | ||
9486 | 9486 | ||
9487 | 9487 | ||
9488 | 9488 | ||
9489 | 9489 | ||
9490 | 9490 | ||
9491 | 9491 | ||
9492 | 9492 | ||
9493 | # Check whether --enable-static was given. | 9493 | # Check whether --enable-static was given. |
9494 | if test "${enable_static+set}" = set; then : | 9494 | if test "${enable_static+set}" = set; then : |
9495 | enableval=$enable_static; p=${PACKAGE-default} | 9495 | enableval=$enable_static; p=${PACKAGE-default} |
9496 | case $enableval in | 9496 | case $enableval in |
9497 | yes) enable_static=yes ;; | 9497 | yes) enable_static=yes ;; |
9498 | no) enable_static=no ;; | 9498 | no) enable_static=no ;; |
9499 | *) | 9499 | *) |
9500 | enable_static=no | 9500 | enable_static=no |
9501 | # Look at the argument we got. We use all the common list separators. | 9501 | # Look at the argument we got. We use all the common list separators. |
9502 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9502 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
9503 | for pkg in $enableval; do | 9503 | for pkg in $enableval; do |
9504 | IFS="$lt_save_ifs" | 9504 | IFS="$lt_save_ifs" |
9505 | if test "X$pkg" = "X$p"; then | 9505 | if test "X$pkg" = "X$p"; then |
9506 | enable_static=yes | 9506 | enable_static=yes |
9507 | fi | 9507 | fi |
9508 | done | 9508 | done |
9509 | IFS="$lt_save_ifs" | 9509 | IFS="$lt_save_ifs" |
9510 | ;; | 9510 | ;; |
9511 | esac | 9511 | esac |
9512 | else | 9512 | else |
9513 | enable_static=yes | 9513 | enable_static=yes |
9514 | fi | 9514 | fi |
9515 | 9515 | ||
9516 | 9516 | ||
9517 | 9517 | ||
9518 | 9518 | ||
9519 | 9519 | ||
9520 | 9520 | ||
9521 | 9521 | ||
9522 | 9522 | ||
9523 | 9523 | ||
9524 | 9524 | ||
9525 | # Check whether --with-pic was given. | 9525 | # Check whether --with-pic was given. |
9526 | if test "${with_pic+set}" = set; then : | 9526 | if test "${with_pic+set}" = set; then : |
9527 | withval=$with_pic; lt_p=${PACKAGE-default} | 9527 | withval=$with_pic; lt_p=${PACKAGE-default} |
9528 | case $withval in | 9528 | case $withval in |
9529 | yes|no) pic_mode=$withval ;; | 9529 | yes|no) pic_mode=$withval ;; |
9530 | *) | 9530 | *) |
9531 | pic_mode=default | 9531 | pic_mode=default |
9532 | # Look at the argument we got. We use all the common list separators. | 9532 | # Look at the argument we got. We use all the common list separators. |
9533 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9533 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
9534 | for lt_pkg in $withval; do | 9534 | for lt_pkg in $withval; do |
9535 | IFS="$lt_save_ifs" | 9535 | IFS="$lt_save_ifs" |
9536 | if test "X$lt_pkg" = "X$lt_p"; then | 9536 | if test "X$lt_pkg" = "X$lt_p"; then |
9537 | pic_mode=yes | 9537 | pic_mode=yes |
9538 | fi | 9538 | fi |
9539 | done | 9539 | done |
9540 | IFS="$lt_save_ifs" | 9540 | IFS="$lt_save_ifs" |
9541 | ;; | 9541 | ;; |
9542 | esac | 9542 | esac |
9543 | else | 9543 | else |
9544 | pic_mode=default | 9544 | pic_mode=default |
9545 | fi | 9545 | fi |
9546 | 9546 | ||
9547 | 9547 | ||
9548 | test -z "$pic_mode" && pic_mode=default | 9548 | test -z "$pic_mode" && pic_mode=default |
9549 | 9549 | ||
9550 | 9550 | ||
9551 | 9551 | ||
9552 | 9552 | ||
9553 | 9553 | ||
9554 | 9554 | ||
9555 | 9555 | ||
9556 | # Check whether --enable-fast-install was given. | 9556 | # Check whether --enable-fast-install was given. |
9557 | if test "${enable_fast_install+set}" = set; then : | 9557 | if test "${enable_fast_install+set}" = set; then : |
9558 | enableval=$enable_fast_install; p=${PACKAGE-default} | 9558 | enableval=$enable_fast_install; p=${PACKAGE-default} |
9559 | case $enableval in | 9559 | case $enableval in |
9560 | yes) enable_fast_install=yes ;; | 9560 | yes) enable_fast_install=yes ;; |
9561 | no) enable_fast_install=no ;; | 9561 | no) enable_fast_install=no ;; |
9562 | *) | 9562 | *) |
9563 | enable_fast_install=no | 9563 | enable_fast_install=no |
9564 | # Look at the argument we got. We use all the common list separators. | 9564 | # Look at the argument we got. We use all the common list separators. |
9565 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 9565 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," |
9566 | for pkg in $enableval; do | 9566 | for pkg in $enableval; do |
9567 | IFS="$lt_save_ifs" | 9567 | IFS="$lt_save_ifs" |
9568 | if test "X$pkg" = "X$p"; then | 9568 | if test "X$pkg" = "X$p"; then |
9569 | enable_fast_install=yes | 9569 | enable_fast_install=yes |
9570 | fi | 9570 | fi |
9571 | done | 9571 | done |
9572 | IFS="$lt_save_ifs" | 9572 | IFS="$lt_save_ifs" |
9573 | ;; | 9573 | ;; |
9574 | esac | 9574 | esac |
9575 | else | 9575 | else |
9576 | enable_fast_install=yes | 9576 | enable_fast_install=yes |
9577 | fi | 9577 | fi |
9578 | 9578 | ||
9579 | 9579 | ||
9580 | 9580 | ||
9581 | 9581 | ||
9582 | 9582 | ||
9583 | 9583 | ||
9584 | 9584 | ||
9585 | 9585 | ||
9586 | 9586 | ||
9587 | 9587 | ||
9588 | 9588 | ||
9589 | # This can be used to rebuild libtool when needed | 9589 | # This can be used to rebuild libtool when needed |
9590 | LIBTOOL_DEPS="$ltmain" | 9590 | LIBTOOL_DEPS="$ltmain" |
9591 | 9591 | ||
9592 | # Always use our own libtool. | 9592 | # Always use our own libtool. |
9593 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 9593 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' |
9594 | 9594 | ||
9595 | 9595 | ||
9596 | 9596 | ||
9597 | 9597 | ||
9598 | 9598 | ||
9599 | 9599 | ||
9600 | 9600 | ||
9601 | 9601 | ||
9602 | 9602 | ||
9603 | 9603 | ||
9604 | 9604 | ||
9605 | 9605 | ||
9606 | 9606 | ||
9607 | 9607 | ||
9608 | 9608 | ||
9609 | 9609 | ||
9610 | 9610 | ||
9611 | 9611 | ||
9612 | 9612 | ||
9613 | 9613 | ||
9614 | 9614 | ||
9615 | 9615 | ||
9616 | 9616 | ||
9617 | 9617 | ||
9618 | 9618 | ||
9619 | 9619 | ||
9620 | 9620 | ||
9621 | 9621 | ||
9622 | 9622 | ||
9623 | 9623 | ||
9624 | test -z "$LN_S" && LN_S="ln -s" | 9624 | test -z "$LN_S" && LN_S="ln -s" |
9625 | 9625 | ||
9626 | 9626 | ||
9627 | 9627 | ||
9628 | 9628 | ||
9629 | 9629 | ||
9630 | 9630 | ||
9631 | 9631 | ||
9632 | 9632 | ||
9633 | 9633 | ||
9634 | 9634 | ||
9635 | 9635 | ||
9636 | 9636 | ||
9637 | 9637 | ||
9638 | 9638 | ||
9639 | if test -n "${ZSH_VERSION+set}" ; then | 9639 | if test -n "${ZSH_VERSION+set}" ; then |
9640 | setopt NO_GLOB_SUBST | 9640 | setopt NO_GLOB_SUBST |
9641 | fi | 9641 | fi |
9642 | 9642 | ||
9643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 | 9643 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 |
9644 | $as_echo_n "checking for objdir... " >&6; } | 9644 | $as_echo_n "checking for objdir... " >&6; } |
9645 | if ${lt_cv_objdir+:} false; then : | 9645 | if ${lt_cv_objdir+:} false; then : |
9646 | $as_echo_n "(cached) " >&6 | 9646 | $as_echo_n "(cached) " >&6 |
9647 | else | 9647 | else |
9648 | rm -f .libs 2>/dev/null | 9648 | rm -f .libs 2>/dev/null |
9649 | mkdir .libs 2>/dev/null | 9649 | mkdir .libs 2>/dev/null |
9650 | if test -d .libs; then | 9650 | if test -d .libs; then |
9651 | lt_cv_objdir=.libs | 9651 | lt_cv_objdir=.libs |
9652 | else | 9652 | else |
9653 | # MS-DOS does not allow filenames that begin with a dot. | 9653 | # MS-DOS does not allow filenames that begin with a dot. |
9654 | lt_cv_objdir=_libs | 9654 | lt_cv_objdir=_libs |
9655 | fi | 9655 | fi |
9656 | rmdir .libs 2>/dev/null | 9656 | rmdir .libs 2>/dev/null |
9657 | fi | 9657 | fi |
9658 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 | 9658 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 |
9659 | $as_echo "$lt_cv_objdir" >&6; } | 9659 | $as_echo "$lt_cv_objdir" >&6; } |
9660 | objdir=$lt_cv_objdir | 9660 | objdir=$lt_cv_objdir |
9661 | 9661 | ||
9662 | 9662 | ||
9663 | 9663 | ||
9664 | 9664 | ||
9665 | 9665 | ||
9666 | cat >>confdefs.h <<_ACEOF | 9666 | cat >>confdefs.h <<_ACEOF |
9667 | #define LT_OBJDIR "$lt_cv_objdir/" | 9667 | #define LT_OBJDIR "$lt_cv_objdir/" |
9668 | _ACEOF | 9668 | _ACEOF |
9669 | 9669 | ||
9670 | 9670 | ||
9671 | 9671 | ||
9672 | 9672 | ||
9673 | case $host_os in | 9673 | case $host_os in |
9674 | aix3*) | 9674 | aix3*) |
9675 | # AIX sometimes has problems with the GCC collect2 program. For some | 9675 | # AIX sometimes has problems with the GCC collect2 program. For some |
9676 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 9676 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
9677 | # vanish in a puff of smoke. | 9677 | # vanish in a puff of smoke. |
9678 | if test "X${COLLECT_NAMES+set}" != Xset; then | 9678 | if test "X${COLLECT_NAMES+set}" != Xset; then |
9679 | COLLECT_NAMES= | 9679 | COLLECT_NAMES= |
9680 | export COLLECT_NAMES | 9680 | export COLLECT_NAMES |
9681 | fi | 9681 | fi |
9682 | ;; | 9682 | ;; |
9683 | esac | 9683 | esac |
9684 | 9684 | ||
9685 | # Global variables: | 9685 | # Global variables: |
9686 | ofile=libtool | 9686 | ofile=libtool |
9687 | can_build_shared=yes | 9687 | can_build_shared=yes |
9688 | 9688 | ||
9689 | # All known linkers require a `.a' archive for static linking (except MSVC, | 9689 | # All known linkers require a `.a' archive for static linking (except MSVC, |
9690 | # which needs '.lib'). | 9690 | # which needs '.lib'). |
9691 | libext=a | 9691 | libext=a |
9692 | 9692 | ||
9693 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 9693 | with_gnu_ld="$lt_cv_prog_gnu_ld" |
9694 | 9694 | ||
9695 | old_CC="$CC" | 9695 | old_CC="$CC" |
9696 | old_CFLAGS="$CFLAGS" | 9696 | old_CFLAGS="$CFLAGS" |
9697 | 9697 | ||
9698 | # Set sane defaults for various variables | 9698 | # Set sane defaults for various variables |
9699 | test -z "$CC" && CC=cc | 9699 | test -z "$CC" && CC=cc |
9700 | test -z "$LTCC" && LTCC=$CC | 9700 | test -z "$LTCC" && LTCC=$CC |
9701 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | 9701 | test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS |
9702 | test -z "$LD" && LD=ld | 9702 | test -z "$LD" && LD=ld |
9703 | test -z "$ac_objext" && ac_objext=o | 9703 | test -z "$ac_objext" && ac_objext=o |
9704 | 9704 | ||
9705 | for cc_temp in $compiler""; do | 9705 | for cc_temp in $compiler""; do |
9706 | case $cc_temp in | 9706 | case $cc_temp in |
9707 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | 9707 | compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; |
9708 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | 9708 | distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; |
9709 | \-*) ;; | 9709 | \-*) ;; |
9710 | *) break;; | 9710 | *) break;; |
9711 | esac | 9711 | esac |
9712 | done | 9712 | done |
9713 | cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | 9713 | cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` |
9714 | 9714 | ||
9715 | 9715 | ||
9716 | # Only perform the check for file, if the check method requires it | 9716 | # Only perform the check for file, if the check method requires it |
9717 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | 9717 | test -z "$MAGIC_CMD" && MAGIC_CMD=file |
9718 | case $deplibs_check_method in | 9718 | case $deplibs_check_method in |
9719 | file_magic*) | 9719 | file_magic*) |
9720 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 9720 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
9721 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 | 9721 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 |
9722 | $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } | 9722 | $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } |
9723 | if ${lt_cv_path_MAGIC_CMD+:} false; then : | 9723 | if ${lt_cv_path_MAGIC_CMD+:} false; then : |
9724 | $as_echo_n "(cached) " >&6 | 9724 | $as_echo_n "(cached) " >&6 |
9725 | else | 9725 | else |
9726 | case $MAGIC_CMD in | 9726 | case $MAGIC_CMD in |
9727 | [\\/*] | ?:[\\/]*) | 9727 | [\\/*] | ?:[\\/]*) |
9728 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 9728 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
9729 | ;; | 9729 | ;; |
9730 | *) | 9730 | *) |
9731 | lt_save_MAGIC_CMD="$MAGIC_CMD" | 9731 | lt_save_MAGIC_CMD="$MAGIC_CMD" |
9732 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 9732 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
9733 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 9733 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
9734 | for ac_dir in $ac_dummy; do | 9734 | for ac_dir in $ac_dummy; do |
9735 | IFS="$lt_save_ifs" | 9735 | IFS="$lt_save_ifs" |
9736 | test -z "$ac_dir" && ac_dir=. | 9736 | test -z "$ac_dir" && ac_dir=. |
9737 | if test -f $ac_dir/${ac_tool_prefix}file; then | 9737 | if test -f $ac_dir/${ac_tool_prefix}file; then |
9738 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 9738 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" |
9739 | if test -n "$file_magic_test_file"; then | 9739 | if test -n "$file_magic_test_file"; then |
9740 | case $deplibs_check_method in | 9740 | case $deplibs_check_method in |
9741 | "file_magic "*) | 9741 | "file_magic "*) |
9742 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 9742 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
9743 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 9743 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
9744 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 9744 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
9745 | $EGREP "$file_magic_regex" > /dev/null; then | 9745 | $EGREP "$file_magic_regex" > /dev/null; then |
9746 | : | 9746 | : |
9747 | else | 9747 | else |
9748 | cat <<_LT_EOF 1>&2 | 9748 | cat <<_LT_EOF 1>&2 |
9749 | 9749 | ||
9750 | *** Warning: the command libtool uses to detect shared libraries, | 9750 | *** Warning: the command libtool uses to detect shared libraries, |
9751 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 9751 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
9752 | *** The result is that libtool may fail to recognize shared libraries | 9752 | *** The result is that libtool may fail to recognize shared libraries |
9753 | *** as such. This will affect the creation of libtool libraries that | 9753 | *** as such. This will affect the creation of libtool libraries that |
9754 | *** depend on shared libraries, but programs linked with such libtool | 9754 | *** depend on shared libraries, but programs linked with such libtool |
9755 | *** libraries will work regardless of this problem. Nevertheless, you | 9755 | *** libraries will work regardless of this problem. Nevertheless, you |
9756 | *** may want to report the problem to your system manager and/or to | 9756 | *** may want to report the problem to your system manager and/or to |
9757 | *** bug-libtool@gnu.org | 9757 | *** bug-libtool@gnu.org |
9758 | 9758 | ||
9759 | _LT_EOF | 9759 | _LT_EOF |
9760 | fi ;; | 9760 | fi ;; |
9761 | esac | 9761 | esac |
9762 | fi | 9762 | fi |
9763 | break | 9763 | break |
9764 | fi | 9764 | fi |
9765 | done | 9765 | done |
9766 | IFS="$lt_save_ifs" | 9766 | IFS="$lt_save_ifs" |
9767 | MAGIC_CMD="$lt_save_MAGIC_CMD" | 9767 | MAGIC_CMD="$lt_save_MAGIC_CMD" |
9768 | ;; | 9768 | ;; |
9769 | esac | 9769 | esac |
9770 | fi | 9770 | fi |
9771 | 9771 | ||
9772 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 9772 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
9773 | if test -n "$MAGIC_CMD"; then | 9773 | if test -n "$MAGIC_CMD"; then |
9774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 9774 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
9775 | $as_echo "$MAGIC_CMD" >&6; } | 9775 | $as_echo "$MAGIC_CMD" >&6; } |
9776 | else | 9776 | else |
9777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9778 | $as_echo "no" >&6; } | 9778 | $as_echo "no" >&6; } |
9779 | fi | 9779 | fi |
9780 | 9780 | ||
9781 | 9781 | ||
9782 | 9782 | ||
9783 | 9783 | ||
9784 | 9784 | ||
9785 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 9785 | if test -z "$lt_cv_path_MAGIC_CMD"; then |
9786 | if test -n "$ac_tool_prefix"; then | 9786 | if test -n "$ac_tool_prefix"; then |
9787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 | 9787 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 |
9788 | $as_echo_n "checking for file... " >&6; } | 9788 | $as_echo_n "checking for file... " >&6; } |
9789 | if ${lt_cv_path_MAGIC_CMD+:} false; then : | 9789 | if ${lt_cv_path_MAGIC_CMD+:} false; then : |
9790 | $as_echo_n "(cached) " >&6 | 9790 | $as_echo_n "(cached) " >&6 |
9791 | else | 9791 | else |
9792 | case $MAGIC_CMD in | 9792 | case $MAGIC_CMD in |
9793 | [\\/*] | ?:[\\/]*) | 9793 | [\\/*] | ?:[\\/]*) |
9794 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 9794 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. |
9795 | ;; | 9795 | ;; |
9796 | *) | 9796 | *) |
9797 | lt_save_MAGIC_CMD="$MAGIC_CMD" | 9797 | lt_save_MAGIC_CMD="$MAGIC_CMD" |
9798 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 9798 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR |
9799 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 9799 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" |
9800 | for ac_dir in $ac_dummy; do | 9800 | for ac_dir in $ac_dummy; do |
9801 | IFS="$lt_save_ifs" | 9801 | IFS="$lt_save_ifs" |
9802 | test -z "$ac_dir" && ac_dir=. | 9802 | test -z "$ac_dir" && ac_dir=. |
9803 | if test -f $ac_dir/file; then | 9803 | if test -f $ac_dir/file; then |
9804 | lt_cv_path_MAGIC_CMD="$ac_dir/file" | 9804 | lt_cv_path_MAGIC_CMD="$ac_dir/file" |
9805 | if test -n "$file_magic_test_file"; then | 9805 | if test -n "$file_magic_test_file"; then |
9806 | case $deplibs_check_method in | 9806 | case $deplibs_check_method in |
9807 | "file_magic "*) | 9807 | "file_magic "*) |
9808 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 9808 | file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` |
9809 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 9809 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
9810 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 9810 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | |
9811 | $EGREP "$file_magic_regex" > /dev/null; then | 9811 | $EGREP "$file_magic_regex" > /dev/null; then |
9812 | : | 9812 | : |
9813 | else | 9813 | else |
9814 | cat <<_LT_EOF 1>&2 | 9814 | cat <<_LT_EOF 1>&2 |
9815 | 9815 | ||
9816 | *** Warning: the command libtool uses to detect shared libraries, | 9816 | *** Warning: the command libtool uses to detect shared libraries, |
9817 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 9817 | *** $file_magic_cmd, produces output that libtool cannot recognize. |
9818 | *** The result is that libtool may fail to recognize shared libraries | 9818 | *** The result is that libtool may fail to recognize shared libraries |
9819 | *** as such. This will affect the creation of libtool libraries that | 9819 | *** as such. This will affect the creation of libtool libraries that |
9820 | *** depend on shared libraries, but programs linked with such libtool | 9820 | *** depend on shared libraries, but programs linked with such libtool |
9821 | *** libraries will work regardless of this problem. Nevertheless, you | 9821 | *** libraries will work regardless of this problem. Nevertheless, you |
9822 | *** may want to report the problem to your system manager and/or to | 9822 | *** may want to report the problem to your system manager and/or to |
9823 | *** bug-libtool@gnu.org | 9823 | *** bug-libtool@gnu.org |
9824 | 9824 | ||
9825 | _LT_EOF | 9825 | _LT_EOF |
9826 | fi ;; | 9826 | fi ;; |
9827 | esac | 9827 | esac |
9828 | fi | 9828 | fi |
9829 | break | 9829 | break |
9830 | fi | 9830 | fi |
9831 | done | 9831 | done |
9832 | IFS="$lt_save_ifs" | 9832 | IFS="$lt_save_ifs" |
9833 | MAGIC_CMD="$lt_save_MAGIC_CMD" | 9833 | MAGIC_CMD="$lt_save_MAGIC_CMD" |
9834 | ;; | 9834 | ;; |
9835 | esac | 9835 | esac |
9836 | fi | 9836 | fi |
9837 | 9837 | ||
9838 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 9838 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" |
9839 | if test -n "$MAGIC_CMD"; then | 9839 | if test -n "$MAGIC_CMD"; then |
9840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 9840 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 |
9841 | $as_echo "$MAGIC_CMD" >&6; } | 9841 | $as_echo "$MAGIC_CMD" >&6; } |
9842 | else | 9842 | else |
9843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 9843 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
9844 | $as_echo "no" >&6; } | 9844 | $as_echo "no" >&6; } |
9845 | fi | 9845 | fi |
9846 | 9846 | ||
9847 | 9847 | ||
9848 | else | 9848 | else |
9849 | MAGIC_CMD=: | 9849 | MAGIC_CMD=: |
9850 | fi | 9850 | fi |
9851 | fi | 9851 | fi |
9852 | 9852 | ||
9853 | fi | 9853 | fi |
9854 | ;; | 9854 | ;; |
9855 | esac | 9855 | esac |
9856 | 9856 | ||
9857 | # Use C for the default configuration in the libtool script | 9857 | # Use C for the default configuration in the libtool script |
9858 | 9858 | ||
9859 | lt_save_CC="$CC" | 9859 | lt_save_CC="$CC" |
9860 | ac_ext=c | 9860 | ac_ext=c |
9861 | ac_cpp='$CPP $CPPFLAGS' | 9861 | ac_cpp='$CPP $CPPFLAGS' |
9862 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 9862 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
9863 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 9863 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
9864 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 9864 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
9865 | 9865 | ||
9866 | 9866 | ||
9867 | # Source file extension for C test sources. | 9867 | # Source file extension for C test sources. |
9868 | ac_ext=c | 9868 | ac_ext=c |
9869 | 9869 | ||
9870 | # Object file extension for compiled C test sources. | 9870 | # Object file extension for compiled C test sources. |
9871 | objext=o | 9871 | objext=o |
9872 | objext=$objext | 9872 | objext=$objext |
9873 | 9873 | ||
9874 | # Code to be used in simple compile tests | 9874 | # Code to be used in simple compile tests |
9875 | lt_simple_compile_test_code="int some_variable = 0;" | 9875 | lt_simple_compile_test_code="int some_variable = 0;" |
9876 | 9876 | ||
9877 | # Code to be used in simple link tests | 9877 | # Code to be used in simple link tests |
9878 | lt_simple_link_test_code='int main(){return(0);}' | 9878 | lt_simple_link_test_code='int main(){return(0);}' |
9879 | 9879 | ||
9880 | 9880 | ||
9881 | 9881 | ||
9882 | 9882 | ||
9883 | 9883 | ||
9884 | 9884 | ||
9885 | 9885 | ||
9886 | # If no C compiler was specified, use CC. | 9886 | # If no C compiler was specified, use CC. |
9887 | LTCC=${LTCC-"$CC"} | 9887 | LTCC=${LTCC-"$CC"} |
9888 | 9888 | ||
9889 | # If no C compiler flags were specified, use CFLAGS. | 9889 | # If no C compiler flags were specified, use CFLAGS. |
9890 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | 9890 | LTCFLAGS=${LTCFLAGS-"$CFLAGS"} |
9891 | 9891 | ||
9892 | # Allow CC to be a program name with arguments. | 9892 | # Allow CC to be a program name with arguments. |
9893 | compiler=$CC | 9893 | compiler=$CC |
9894 | 9894 | ||
9895 | # Save the default compiler, since it gets overwritten when the other | 9895 | # Save the default compiler, since it gets overwritten when the other |
9896 | # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. | 9896 | # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. |
9897 | compiler_DEFAULT=$CC | 9897 | compiler_DEFAULT=$CC |
9898 | 9898 | ||
9899 | # save warnings/boilerplate of simple test code | 9899 | # save warnings/boilerplate of simple test code |
9900 | ac_outfile=conftest.$ac_objext | 9900 | ac_outfile=conftest.$ac_objext |
9901 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext | 9901 | echo "$lt_simple_compile_test_code" >conftest.$ac_ext |
9902 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 9902 | eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
9903 | _lt_compiler_boilerplate=`cat conftest.err` | 9903 | _lt_compiler_boilerplate=`cat conftest.err` |
9904 | $RM conftest* | 9904 | $RM conftest* |
9905 | 9905 | ||
9906 | ac_outfile=conftest.$ac_objext | 9906 | ac_outfile=conftest.$ac_objext |
9907 | echo "$lt_simple_link_test_code" >conftest.$ac_ext | 9907 | echo "$lt_simple_link_test_code" >conftest.$ac_ext |
9908 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 9908 | eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
9909 | _lt_linker_boilerplate=`cat conftest.err` | 9909 | _lt_linker_boilerplate=`cat conftest.err` |
9910 | $RM -r conftest* | 9910 | $RM -r conftest* |
9911 | 9911 | ||
9912 | 9912 | ||
9913 | if test -n "$compiler"; then | 9913 | if test -n "$compiler"; then |
9914 | 9914 | ||
9915 | lt_prog_compiler_no_builtin_flag= | 9915 | lt_prog_compiler_no_builtin_flag= |
9916 | 9916 | ||
9917 | if test "$GCC" = yes; then | 9917 | if test "$GCC" = yes; then |
9918 | case $cc_basename in | 9918 | case $cc_basename in |
9919 | nvcc*) | 9919 | nvcc*) |
9920 | lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; | 9920 | lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; |
9921 | *) | 9921 | *) |
9922 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; | 9922 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; |
9923 | esac | 9923 | esac |
9924 | 9924 | ||
9925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 9925 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 |
9926 | $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } | 9926 | $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } |
9927 | if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : | 9927 | if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : |
9928 | $as_echo_n "(cached) " >&6 | 9928 | $as_echo_n "(cached) " >&6 |
9929 | else | 9929 | else |
9930 | lt_cv_prog_compiler_rtti_exceptions=no | 9930 | lt_cv_prog_compiler_rtti_exceptions=no |
9931 | ac_outfile=conftest.$ac_objext | 9931 | ac_outfile=conftest.$ac_objext |
9932 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 9932 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
9933 | lt_compiler_flag="-fno-rtti -fno-exceptions" | 9933 | lt_compiler_flag="-fno-rtti -fno-exceptions" |
9934 | # Insert the option either (1) after the last *FLAGS variable, or | 9934 | # Insert the option either (1) after the last *FLAGS variable, or |
9935 | # (2) before a word containing "conftest.", or (3) at the end. | 9935 | # (2) before a word containing "conftest.", or (3) at the end. |
9936 | # Note that $ac_compile itself does not contain backslashes and begins | 9936 | # Note that $ac_compile itself does not contain backslashes and begins |
9937 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 9937 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
9938 | # The option is referenced via a variable to avoid confusing sed. | 9938 | # The option is referenced via a variable to avoid confusing sed. |
9939 | lt_compile=`echo "$ac_compile" | $SED \ | 9939 | lt_compile=`echo "$ac_compile" | $SED \ |
9940 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 9940 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
9941 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 9941 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
9942 | -e 's:$: $lt_compiler_flag:'` | 9942 | -e 's:$: $lt_compiler_flag:'` |
9943 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 9943 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
9944 | (eval "$lt_compile" 2>conftest.err) | 9944 | (eval "$lt_compile" 2>conftest.err) |
9945 | ac_status=$? | 9945 | ac_status=$? |
9946 | cat conftest.err >&5 | 9946 | cat conftest.err >&5 |
9947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 9947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
9948 | if (exit $ac_status) && test -s "$ac_outfile"; then | 9948 | if (exit $ac_status) && test -s "$ac_outfile"; then |
9949 | # The compiler can only warn and ignore the option if not recognized | 9949 | # The compiler can only warn and ignore the option if not recognized |
9950 | # So say no if there are warnings other than the usual output. | 9950 | # So say no if there are warnings other than the usual output. |
9951 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 9951 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
9952 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 9952 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
9953 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | 9953 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
9954 | lt_cv_prog_compiler_rtti_exceptions=yes | 9954 | lt_cv_prog_compiler_rtti_exceptions=yes |
9955 | fi | 9955 | fi |
9956 | fi | 9956 | fi |
9957 | $RM conftest* | 9957 | $RM conftest* |
9958 | 9958 | ||
9959 | fi | 9959 | fi |
9960 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 9960 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 |
9961 | $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } | 9961 | $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } |
9962 | 9962 | ||
9963 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 9963 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then |
9964 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" | 9964 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" |
9965 | else | 9965 | else |
9966 | : | 9966 | : |
9967 | fi | 9967 | fi |
9968 | 9968 | ||
9969 | fi | 9969 | fi |
9970 | 9970 | ||
9971 | 9971 | ||
9972 | 9972 | ||
9973 | 9973 | ||
9974 | 9974 | ||
9975 | 9975 | ||
9976 | lt_prog_compiler_wl= | 9976 | lt_prog_compiler_wl= |
9977 | lt_prog_compiler_pic= | 9977 | lt_prog_compiler_pic= |
9978 | lt_prog_compiler_static= | 9978 | lt_prog_compiler_static= |
9979 | 9979 | ||
9980 | 9980 | ||
9981 | if test "$GCC" = yes; then | 9981 | if test "$GCC" = yes; then |
9982 | lt_prog_compiler_wl='-Wl,' | 9982 | lt_prog_compiler_wl='-Wl,' |
9983 | lt_prog_compiler_static='-static' | 9983 | lt_prog_compiler_static='-static' |
9984 | 9984 | ||
9985 | case $host_os in | 9985 | case $host_os in |
9986 | aix*) | 9986 | aix*) |
9987 | # All AIX code is PIC. | 9987 | # All AIX code is PIC. |
9988 | if test "$host_cpu" = ia64; then | 9988 | if test "$host_cpu" = ia64; then |
9989 | # AIX 5 now supports IA64 processor | 9989 | # AIX 5 now supports IA64 processor |
9990 | lt_prog_compiler_static='-Bstatic' | 9990 | lt_prog_compiler_static='-Bstatic' |
9991 | fi | 9991 | fi |
9992 | ;; | 9992 | ;; |
9993 | 9993 | ||
9994 | amigaos*) | 9994 | amigaos*) |
9995 | case $host_cpu in | 9995 | case $host_cpu in |
9996 | powerpc) | 9996 | powerpc) |
9997 | # see comment about AmigaOS4 .so support | 9997 | # see comment about AmigaOS4 .so support |
9998 | lt_prog_compiler_pic='-fPIC' | 9998 | lt_prog_compiler_pic='-fPIC' |
9999 | ;; | 9999 | ;; |
10000 | m68k) | 10000 | m68k) |
10001 | # FIXME: we need at least 68020 code to build shared libraries, but | 10001 | # FIXME: we need at least 68020 code to build shared libraries, but |
10002 | # adding the `-m68020' flag to GCC prevents building anything better, | 10002 | # adding the `-m68020' flag to GCC prevents building anything better, |
10003 | # like `-m68040'. | 10003 | # like `-m68040'. |
10004 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | 10004 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' |
10005 | ;; | 10005 | ;; |
10006 | esac | 10006 | esac |
10007 | ;; | 10007 | ;; |
10008 | 10008 | ||
10009 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 10009 | beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
10010 | # PIC is the default for these OSes. | 10010 | # PIC is the default for these OSes. |
10011 | ;; | 10011 | ;; |
10012 | 10012 | ||
10013 | mingw* | cygwin* | pw32* | os2* | cegcc*) | 10013 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
10014 | # This hack is so that the source file can tell whether it is being | 10014 | # This hack is so that the source file can tell whether it is being |
10015 | # built for inclusion in a dll (and should export symbols for example). | 10015 | # built for inclusion in a dll (and should export symbols for example). |
10016 | # Although the cygwin gcc ignores -fPIC, still need this for old-style | 10016 | # Although the cygwin gcc ignores -fPIC, still need this for old-style |
10017 | # (--disable-auto-import) libraries | 10017 | # (--disable-auto-import) libraries |
10018 | lt_prog_compiler_pic='-DDLL_EXPORT' | 10018 | lt_prog_compiler_pic='-DDLL_EXPORT' |
10019 | ;; | 10019 | ;; |
10020 | 10020 | ||
10021 | darwin* | rhapsody*) | 10021 | darwin* | rhapsody*) |
10022 | # PIC is the default on this platform | 10022 | # PIC is the default on this platform |
10023 | # Common symbols not allowed in MH_DYLIB files | 10023 | # Common symbols not allowed in MH_DYLIB files |
10024 | lt_prog_compiler_pic='-fno-common' | 10024 | lt_prog_compiler_pic='-fno-common' |
10025 | ;; | 10025 | ;; |
10026 | 10026 | ||
10027 | haiku*) | 10027 | haiku*) |
10028 | # PIC is the default for Haiku. | 10028 | # PIC is the default for Haiku. |
10029 | # The "-static" flag exists, but is broken. | 10029 | # The "-static" flag exists, but is broken. |
10030 | lt_prog_compiler_static= | 10030 | lt_prog_compiler_static= |
10031 | ;; | 10031 | ;; |
10032 | 10032 | ||
10033 | hpux*) | 10033 | hpux*) |
10034 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | 10034 | # PIC is the default for 64-bit PA HP-UX, but not for 32-bit |
10035 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag | 10035 | # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag |
10036 | # sets the default TLS model and affects inlining. | 10036 | # sets the default TLS model and affects inlining. |
10037 | case $host_cpu in | 10037 | case $host_cpu in |
10038 | hppa*64*) | 10038 | hppa*64*) |
10039 | # +Z the default | 10039 | # +Z the default |
10040 | ;; | 10040 | ;; |
10041 | *) | 10041 | *) |
10042 | lt_prog_compiler_pic='-fPIC' | 10042 | lt_prog_compiler_pic='-fPIC' |
10043 | ;; | 10043 | ;; |
10044 | esac | 10044 | esac |
10045 | ;; | 10045 | ;; |
10046 | 10046 | ||
10047 | interix[3-9]*) | 10047 | interix[3-9]*) |
10048 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. | 10048 | # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
10049 | # Instead, we relocate shared libraries at runtime. | 10049 | # Instead, we relocate shared libraries at runtime. |
10050 | ;; | 10050 | ;; |
10051 | 10051 | ||
10052 | msdosdjgpp*) | 10052 | msdosdjgpp*) |
10053 | # Just because we use GCC doesn't mean we suddenly get shared libraries | 10053 | # Just because we use GCC doesn't mean we suddenly get shared libraries |
10054 | # on systems that don't support them. | 10054 | # on systems that don't support them. |
10055 | lt_prog_compiler_can_build_shared=no | 10055 | lt_prog_compiler_can_build_shared=no |
10056 | enable_shared=no | 10056 | enable_shared=no |
10057 | ;; | 10057 | ;; |
10058 | 10058 | ||
10059 | *nto* | *qnx*) | 10059 | *nto* | *qnx*) |
10060 | # QNX uses GNU C++, but need to define -shared option too, otherwise | 10060 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
10061 | # it will coredump. | 10061 | # it will coredump. |
10062 | lt_prog_compiler_pic='-fPIC -shared' | 10062 | lt_prog_compiler_pic='-fPIC -shared' |
10063 | ;; | 10063 | ;; |
10064 | 10064 | ||
10065 | sysv4*MP*) | 10065 | sysv4*MP*) |
10066 | if test -d /usr/nec; then | 10066 | if test -d /usr/nec; then |
10067 | lt_prog_compiler_pic=-Kconform_pic | 10067 | lt_prog_compiler_pic=-Kconform_pic |
10068 | fi | 10068 | fi |
10069 | ;; | 10069 | ;; |
10070 | 10070 | ||
10071 | *) | 10071 | *) |
10072 | lt_prog_compiler_pic='-fPIC' | 10072 | lt_prog_compiler_pic='-fPIC' |
10073 | ;; | 10073 | ;; |
10074 | esac | 10074 | esac |
10075 | 10075 | ||
10076 | case $cc_basename in | 10076 | case $cc_basename in |
10077 | nvcc*) # Cuda Compiler Driver 2.2 | 10077 | nvcc*) # Cuda Compiler Driver 2.2 |
10078 | lt_prog_compiler_wl='-Xlinker ' | 10078 | lt_prog_compiler_wl='-Xlinker ' |
10079 | if test -n "$lt_prog_compiler_pic"; then | 10079 | if test -n "$lt_prog_compiler_pic"; then |
10080 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" | 10080 | lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic" |
10081 | fi | 10081 | fi |
10082 | ;; | 10082 | ;; |
10083 | esac | 10083 | esac |
10084 | else | 10084 | else |
10085 | # PORTME Check for flag to pass linker flags through the system compiler. | 10085 | # PORTME Check for flag to pass linker flags through the system compiler. |
10086 | case $host_os in | 10086 | case $host_os in |
10087 | aix*) | 10087 | aix*) |
10088 | lt_prog_compiler_wl='-Wl,' | 10088 | lt_prog_compiler_wl='-Wl,' |
10089 | if test "$host_cpu" = ia64; then | 10089 | if test "$host_cpu" = ia64; then |
10090 | # AIX 5 now supports IA64 processor | 10090 | # AIX 5 now supports IA64 processor |
10091 | lt_prog_compiler_static='-Bstatic' | 10091 | lt_prog_compiler_static='-Bstatic' |
10092 | else | 10092 | else |
10093 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 10093 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' |
10094 | fi | 10094 | fi |
10095 | ;; | 10095 | ;; |
10096 | 10096 | ||
10097 | mingw* | cygwin* | pw32* | os2* | cegcc*) | 10097 | mingw* | cygwin* | pw32* | os2* | cegcc*) |
10098 | # This hack is so that the source file can tell whether it is being | 10098 | # This hack is so that the source file can tell whether it is being |
10099 | # built for inclusion in a dll (and should export symbols for example). | 10099 | # built for inclusion in a dll (and should export symbols for example). |
10100 | lt_prog_compiler_pic='-DDLL_EXPORT' | 10100 | lt_prog_compiler_pic='-DDLL_EXPORT' |
10101 | ;; | 10101 | ;; |
10102 | 10102 | ||
10103 | hpux9* | hpux10* | hpux11*) | 10103 | hpux9* | hpux10* | hpux11*) |
10104 | lt_prog_compiler_wl='-Wl,' | 10104 | lt_prog_compiler_wl='-Wl,' |
10105 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 10105 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
10106 | # not for PA HP-UX. | 10106 | # not for PA HP-UX. |
10107 | case $host_cpu in | 10107 | case $host_cpu in |
10108 | hppa*64*|ia64*) | 10108 | hppa*64*|ia64*) |
10109 | # +Z the default | 10109 | # +Z the default |
10110 | ;; | 10110 | ;; |
10111 | *) | 10111 | *) |
10112 | lt_prog_compiler_pic='+Z' | 10112 | lt_prog_compiler_pic='+Z' |
10113 | ;; | 10113 | ;; |
10114 | esac | 10114 | esac |
10115 | # Is there a better lt_prog_compiler_static that works with the bundled CC? | 10115 | # Is there a better lt_prog_compiler_static that works with the bundled CC? |
10116 | lt_prog_compiler_static='${wl}-a ${wl}archive' | 10116 | lt_prog_compiler_static='${wl}-a ${wl}archive' |
10117 | ;; | 10117 | ;; |
10118 | 10118 | ||
10119 | irix5* | irix6* | nonstopux*) | 10119 | irix5* | irix6* | nonstopux*) |
10120 | lt_prog_compiler_wl='-Wl,' | 10120 | lt_prog_compiler_wl='-Wl,' |
10121 | # PIC (with -KPIC) is the default. | 10121 | # PIC (with -KPIC) is the default. |
10122 | lt_prog_compiler_static='-non_shared' | 10122 | lt_prog_compiler_static='-non_shared' |
10123 | ;; | 10123 | ;; |
10124 | 10124 | ||
10125 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 10125 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
10126 | case $cc_basename in | 10126 | case $cc_basename in |
10127 | # old Intel for x86_64 which still supported -KPIC. | 10127 | # old Intel for x86_64 which still supported -KPIC. |
10128 | ecc*) | 10128 | ecc*) |
10129 | lt_prog_compiler_wl='-Wl,' | 10129 | lt_prog_compiler_wl='-Wl,' |
10130 | lt_prog_compiler_pic='-KPIC' | 10130 | lt_prog_compiler_pic='-KPIC' |
10131 | lt_prog_compiler_static='-static' | 10131 | lt_prog_compiler_static='-static' |
10132 | ;; | 10132 | ;; |
10133 | # icc used to be incompatible with GCC. | 10133 | # icc used to be incompatible with GCC. |
10134 | # ICC 10 doesn't accept -KPIC any more. | 10134 | # ICC 10 doesn't accept -KPIC any more. |
10135 | icc* | ifort*) | 10135 | icc* | ifort*) |
10136 | lt_prog_compiler_wl='-Wl,' | 10136 | lt_prog_compiler_wl='-Wl,' |
10137 | lt_prog_compiler_pic='-fPIC' | 10137 | lt_prog_compiler_pic='-fPIC' |
10138 | lt_prog_compiler_static='-static' | 10138 | lt_prog_compiler_static='-static' |
10139 | ;; | 10139 | ;; |
10140 | # Lahey Fortran 8.1. | 10140 | # Lahey Fortran 8.1. |
10141 | lf95*) | 10141 | lf95*) |
10142 | lt_prog_compiler_wl='-Wl,' | 10142 | lt_prog_compiler_wl='-Wl,' |
10143 | lt_prog_compiler_pic='--shared' | 10143 | lt_prog_compiler_pic='--shared' |
10144 | lt_prog_compiler_static='--static' | 10144 | lt_prog_compiler_static='--static' |
10145 | ;; | 10145 | ;; |
10146 | nagfor*) | 10146 | nagfor*) |
10147 | # NAG Fortran compiler | 10147 | # NAG Fortran compiler |
10148 | lt_prog_compiler_wl='-Wl,-Wl,,' | 10148 | lt_prog_compiler_wl='-Wl,-Wl,,' |
10149 | lt_prog_compiler_pic='-PIC' | 10149 | lt_prog_compiler_pic='-PIC' |
10150 | lt_prog_compiler_static='-Bstatic' | 10150 | lt_prog_compiler_static='-Bstatic' |
10151 | ;; | 10151 | ;; |
10152 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | 10152 | pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) |
10153 | # Portland Group compilers (*not* the Pentium gcc compiler, | 10153 | # Portland Group compilers (*not* the Pentium gcc compiler, |
10154 | # which looks to be a dead project) | 10154 | # which looks to be a dead project) |
10155 | lt_prog_compiler_wl='-Wl,' | 10155 | lt_prog_compiler_wl='-Wl,' |
10156 | lt_prog_compiler_pic='-fpic' | 10156 | lt_prog_compiler_pic='-fpic' |
10157 | lt_prog_compiler_static='-Bstatic' | 10157 | lt_prog_compiler_static='-Bstatic' |
10158 | ;; | 10158 | ;; |
10159 | ccc*) | 10159 | ccc*) |
10160 | lt_prog_compiler_wl='-Wl,' | 10160 | lt_prog_compiler_wl='-Wl,' |
10161 | # All Alpha code is PIC. | 10161 | # All Alpha code is PIC. |
10162 | lt_prog_compiler_static='-non_shared' | 10162 | lt_prog_compiler_static='-non_shared' |
10163 | ;; | 10163 | ;; |
10164 | xl* | bgxl* | bgf* | mpixl*) | 10164 | xl* | bgxl* | bgf* | mpixl*) |
10165 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene | 10165 | # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene |
10166 | lt_prog_compiler_wl='-Wl,' | 10166 | lt_prog_compiler_wl='-Wl,' |
10167 | lt_prog_compiler_pic='-qpic' | 10167 | lt_prog_compiler_pic='-qpic' |
10168 | lt_prog_compiler_static='-qstaticlink' | 10168 | lt_prog_compiler_static='-qstaticlink' |
10169 | ;; | 10169 | ;; |
10170 | *) | 10170 | *) |
10171 | case `$CC -V 2>&1 | sed 5q` in | 10171 | case `$CC -V 2>&1 | sed 5q` in |
10172 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) | 10172 | *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*) |
10173 | # Sun Fortran 8.3 passes all unrecognized flags to the linker | 10173 | # Sun Fortran 8.3 passes all unrecognized flags to the linker |
10174 | lt_prog_compiler_pic='-KPIC' | 10174 | lt_prog_compiler_pic='-KPIC' |
10175 | lt_prog_compiler_static='-Bstatic' | 10175 | lt_prog_compiler_static='-Bstatic' |
10176 | lt_prog_compiler_wl='' | 10176 | lt_prog_compiler_wl='' |
10177 | ;; | 10177 | ;; |
10178 | *Sun\ F* | *Sun*Fortran*) | 10178 | *Sun\ F* | *Sun*Fortran*) |
10179 | lt_prog_compiler_pic='-KPIC' | 10179 | lt_prog_compiler_pic='-KPIC' |
10180 | lt_prog_compiler_static='-Bstatic' | 10180 | lt_prog_compiler_static='-Bstatic' |
10181 | lt_prog_compiler_wl='-Qoption ld ' | 10181 | lt_prog_compiler_wl='-Qoption ld ' |
10182 | ;; | 10182 | ;; |
10183 | *Sun\ C*) | 10183 | *Sun\ C*) |
10184 | # Sun C 5.9 | 10184 | # Sun C 5.9 |
10185 | lt_prog_compiler_pic='-KPIC' | 10185 | lt_prog_compiler_pic='-KPIC' |
10186 | lt_prog_compiler_static='-Bstatic' | 10186 | lt_prog_compiler_static='-Bstatic' |
10187 | lt_prog_compiler_wl='-Wl,' | 10187 | lt_prog_compiler_wl='-Wl,' |
10188 | ;; | 10188 | ;; |
10189 | *Intel*\ [CF]*Compiler*) | 10189 | *Intel*\ [CF]*Compiler*) |
10190 | lt_prog_compiler_wl='-Wl,' | 10190 | lt_prog_compiler_wl='-Wl,' |
10191 | lt_prog_compiler_pic='-fPIC' | 10191 | lt_prog_compiler_pic='-fPIC' |
10192 | lt_prog_compiler_static='-static' | 10192 | lt_prog_compiler_static='-static' |
10193 | ;; | 10193 | ;; |
10194 | *Portland\ Group*) | 10194 | *Portland\ Group*) |
10195 | lt_prog_compiler_wl='-Wl,' | 10195 | lt_prog_compiler_wl='-Wl,' |
10196 | lt_prog_compiler_pic='-fpic' | 10196 | lt_prog_compiler_pic='-fpic' |
10197 | lt_prog_compiler_static='-Bstatic' | 10197 | lt_prog_compiler_static='-Bstatic' |
10198 | ;; | 10198 | ;; |
10199 | esac | 10199 | esac |
10200 | ;; | 10200 | ;; |
10201 | esac | 10201 | esac |
10202 | ;; | 10202 | ;; |
10203 | 10203 | ||
10204 | newsos6) | 10204 | newsos6) |
10205 | lt_prog_compiler_pic='-KPIC' | 10205 | lt_prog_compiler_pic='-KPIC' |
10206 | lt_prog_compiler_static='-Bstatic' | 10206 | lt_prog_compiler_static='-Bstatic' |
10207 | ;; | 10207 | ;; |
10208 | 10208 | ||
10209 | *nto* | *qnx*) | 10209 | *nto* | *qnx*) |
10210 | # QNX uses GNU C++, but need to define -shared option too, otherwise | 10210 | # QNX uses GNU C++, but need to define -shared option too, otherwise |
10211 | # it will coredump. | 10211 | # it will coredump. |
10212 | lt_prog_compiler_pic='-fPIC -shared' | 10212 | lt_prog_compiler_pic='-fPIC -shared' |
10213 | ;; | 10213 | ;; |
10214 | 10214 | ||
10215 | osf3* | osf4* | osf5*) | 10215 | osf3* | osf4* | osf5*) |
10216 | lt_prog_compiler_wl='-Wl,' | 10216 | lt_prog_compiler_wl='-Wl,' |
10217 | # All OSF/1 code is PIC. | 10217 | # All OSF/1 code is PIC. |
10218 | lt_prog_compiler_static='-non_shared' | 10218 | lt_prog_compiler_static='-non_shared' |
10219 | ;; | 10219 | ;; |
10220 | 10220 | ||
10221 | rdos*) | 10221 | rdos*) |
10222 | lt_prog_compiler_static='-non_shared' | 10222 | lt_prog_compiler_static='-non_shared' |
10223 | ;; | 10223 | ;; |
10224 | 10224 | ||
10225 | solaris*) | 10225 | solaris*) |
10226 | lt_prog_compiler_pic='-KPIC' | 10226 | lt_prog_compiler_pic='-KPIC' |
10227 | lt_prog_compiler_static='-Bstatic' | 10227 | lt_prog_compiler_static='-Bstatic' |
10228 | case $cc_basename in | 10228 | case $cc_basename in |
10229 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | 10229 | f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) |
10230 | lt_prog_compiler_wl='-Qoption ld ';; | 10230 | lt_prog_compiler_wl='-Qoption ld ';; |
10231 | *) | 10231 | *) |
10232 | lt_prog_compiler_wl='-Wl,';; | 10232 | lt_prog_compiler_wl='-Wl,';; |
10233 | esac | 10233 | esac |
10234 | ;; | 10234 | ;; |
10235 | 10235 | ||
10236 | sunos4*) | 10236 | sunos4*) |
10237 | lt_prog_compiler_wl='-Qoption ld ' | 10237 | lt_prog_compiler_wl='-Qoption ld ' |
10238 | lt_prog_compiler_pic='-PIC' | 10238 | lt_prog_compiler_pic='-PIC' |
10239 | lt_prog_compiler_static='-Bstatic' | 10239 | lt_prog_compiler_static='-Bstatic' |
10240 | ;; | 10240 | ;; |
10241 | 10241 | ||
10242 | sysv4 | sysv4.2uw2* | sysv4.3*) | 10242 | sysv4 | sysv4.2uw2* | sysv4.3*) |
10243 | lt_prog_compiler_wl='-Wl,' | 10243 | lt_prog_compiler_wl='-Wl,' |
10244 | lt_prog_compiler_pic='-KPIC' | 10244 | lt_prog_compiler_pic='-KPIC' |
10245 | lt_prog_compiler_static='-Bstatic' | 10245 | lt_prog_compiler_static='-Bstatic' |
10246 | ;; | 10246 | ;; |
10247 | 10247 | ||
10248 | sysv4*MP*) | 10248 | sysv4*MP*) |
10249 | if test -d /usr/nec ;then | 10249 | if test -d /usr/nec ;then |
10250 | lt_prog_compiler_pic='-Kconform_pic' | 10250 | lt_prog_compiler_pic='-Kconform_pic' |
10251 | lt_prog_compiler_static='-Bstatic' | 10251 | lt_prog_compiler_static='-Bstatic' |
10252 | fi | 10252 | fi |
10253 | ;; | 10253 | ;; |
10254 | 10254 | ||
10255 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | 10255 | sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) |
10256 | lt_prog_compiler_wl='-Wl,' | 10256 | lt_prog_compiler_wl='-Wl,' |
10257 | lt_prog_compiler_pic='-KPIC' | 10257 | lt_prog_compiler_pic='-KPIC' |
10258 | lt_prog_compiler_static='-Bstatic' | 10258 | lt_prog_compiler_static='-Bstatic' |
10259 | ;; | 10259 | ;; |
10260 | 10260 | ||
10261 | unicos*) | 10261 | unicos*) |
10262 | lt_prog_compiler_wl='-Wl,' | 10262 | lt_prog_compiler_wl='-Wl,' |
10263 | lt_prog_compiler_can_build_shared=no | 10263 | lt_prog_compiler_can_build_shared=no |
10264 | ;; | 10264 | ;; |
10265 | 10265 | ||
10266 | uts4*) | 10266 | uts4*) |
10267 | lt_prog_compiler_pic='-pic' | 10267 | lt_prog_compiler_pic='-pic' |
10268 | lt_prog_compiler_static='-Bstatic' | 10268 | lt_prog_compiler_static='-Bstatic' |
10269 | ;; | 10269 | ;; |
10270 | 10270 | ||
10271 | *) | 10271 | *) |
10272 | lt_prog_compiler_can_build_shared=no | 10272 | lt_prog_compiler_can_build_shared=no |
10273 | ;; | 10273 | ;; |
10274 | esac | 10274 | esac |
10275 | fi | 10275 | fi |
10276 | 10276 | ||
10277 | case $host_os in | 10277 | case $host_os in |
10278 | # For platforms which do not support PIC, -DPIC is meaningless: | 10278 | # For platforms which do not support PIC, -DPIC is meaningless: |
10279 | *djgpp*) | 10279 | *djgpp*) |
10280 | lt_prog_compiler_pic= | 10280 | lt_prog_compiler_pic= |
10281 | ;; | 10281 | ;; |
10282 | *) | 10282 | *) |
10283 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 10283 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" |
10284 | ;; | 10284 | ;; |
10285 | esac | 10285 | esac |
10286 | 10286 | ||
10287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 | 10287 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 |
10288 | $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | 10288 | $as_echo_n "checking for $compiler option to produce PIC... " >&6; } |
10289 | if ${lt_cv_prog_compiler_pic+:} false; then : | 10289 | if ${lt_cv_prog_compiler_pic+:} false; then : |
10290 | $as_echo_n "(cached) " >&6 | 10290 | $as_echo_n "(cached) " >&6 |
10291 | else | 10291 | else |
10292 | lt_cv_prog_compiler_pic=$lt_prog_compiler_pic | 10292 | lt_cv_prog_compiler_pic=$lt_prog_compiler_pic |
10293 | fi | 10293 | fi |
10294 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 | 10294 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 |
10295 | $as_echo "$lt_cv_prog_compiler_pic" >&6; } | 10295 | $as_echo "$lt_cv_prog_compiler_pic" >&6; } |
10296 | lt_prog_compiler_pic=$lt_cv_prog_compiler_pic | 10296 | lt_prog_compiler_pic=$lt_cv_prog_compiler_pic |
10297 | 10297 | ||
10298 | # | 10298 | # |
10299 | # Check to make sure the PIC flag actually works. | 10299 | # Check to make sure the PIC flag actually works. |
10300 | # | 10300 | # |
10301 | if test -n "$lt_prog_compiler_pic"; then | 10301 | if test -n "$lt_prog_compiler_pic"; then |
10302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 | 10302 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 |
10303 | $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } | 10303 | $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } |
10304 | if ${lt_cv_prog_compiler_pic_works+:} false; then : | 10304 | if ${lt_cv_prog_compiler_pic_works+:} false; then : |
10305 | $as_echo_n "(cached) " >&6 | 10305 | $as_echo_n "(cached) " >&6 |
10306 | else | 10306 | else |
10307 | lt_cv_prog_compiler_pic_works=no | 10307 | lt_cv_prog_compiler_pic_works=no |
10308 | ac_outfile=conftest.$ac_objext | 10308 | ac_outfile=conftest.$ac_objext |
10309 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 10309 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10310 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | 10310 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" |
10311 | # Insert the option either (1) after the last *FLAGS variable, or | 10311 | # Insert the option either (1) after the last *FLAGS variable, or |
10312 | # (2) before a word containing "conftest.", or (3) at the end. | 10312 | # (2) before a word containing "conftest.", or (3) at the end. |
10313 | # Note that $ac_compile itself does not contain backslashes and begins | 10313 | # Note that $ac_compile itself does not contain backslashes and begins |
10314 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 10314 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
10315 | # The option is referenced via a variable to avoid confusing sed. | 10315 | # The option is referenced via a variable to avoid confusing sed. |
10316 | lt_compile=`echo "$ac_compile" | $SED \ | 10316 | lt_compile=`echo "$ac_compile" | $SED \ |
10317 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 10317 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10318 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 10318 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10319 | -e 's:$: $lt_compiler_flag:'` | 10319 | -e 's:$: $lt_compiler_flag:'` |
10320 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 10320 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
10321 | (eval "$lt_compile" 2>conftest.err) | 10321 | (eval "$lt_compile" 2>conftest.err) |
10322 | ac_status=$? | 10322 | ac_status=$? |
10323 | cat conftest.err >&5 | 10323 | cat conftest.err >&5 |
10324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10324 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10325 | if (exit $ac_status) && test -s "$ac_outfile"; then | 10325 | if (exit $ac_status) && test -s "$ac_outfile"; then |
10326 | # The compiler can only warn and ignore the option if not recognized | 10326 | # The compiler can only warn and ignore the option if not recognized |
10327 | # So say no if there are warnings other than the usual output. | 10327 | # So say no if there are warnings other than the usual output. |
10328 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 10328 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp |
10329 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 10329 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
10330 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | 10330 | if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then |
10331 | lt_cv_prog_compiler_pic_works=yes | 10331 | lt_cv_prog_compiler_pic_works=yes |
10332 | fi | 10332 | fi |
10333 | fi | 10333 | fi |
10334 | $RM conftest* | 10334 | $RM conftest* |
10335 | 10335 | ||
10336 | fi | 10336 | fi |
10337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 | 10337 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 |
10338 | $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } | 10338 | $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } |
10339 | 10339 | ||
10340 | if test x"$lt_cv_prog_compiler_pic_works" = xyes; then | 10340 | if test x"$lt_cv_prog_compiler_pic_works" = xyes; then |
10341 | case $lt_prog_compiler_pic in | 10341 | case $lt_prog_compiler_pic in |
10342 | "" | " "*) ;; | 10342 | "" | " "*) ;; |
10343 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 10343 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; |
10344 | esac | 10344 | esac |
10345 | else | 10345 | else |
10346 | lt_prog_compiler_pic= | 10346 | lt_prog_compiler_pic= |
10347 | lt_prog_compiler_can_build_shared=no | 10347 | lt_prog_compiler_can_build_shared=no |
10348 | fi | 10348 | fi |
10349 | 10349 | ||
10350 | fi | 10350 | fi |
10351 | 10351 | ||
10352 | 10352 | ||
10353 | 10353 | ||
10354 | 10354 | ||
10355 | 10355 | ||
10356 | 10356 | ||
10357 | 10357 | ||
10358 | 10358 | ||
10359 | 10359 | ||
10360 | 10360 | ||
10361 | 10361 | ||
10362 | # | 10362 | # |
10363 | # Check to make sure the static flag actually works. | 10363 | # Check to make sure the static flag actually works. |
10364 | # | 10364 | # |
10365 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | 10365 | wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" |
10366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | 10366 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 |
10367 | $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } | 10367 | $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } |
10368 | if ${lt_cv_prog_compiler_static_works+:} false; then : | 10368 | if ${lt_cv_prog_compiler_static_works+:} false; then : |
10369 | $as_echo_n "(cached) " >&6 | 10369 | $as_echo_n "(cached) " >&6 |
10370 | else | 10370 | else |
10371 | lt_cv_prog_compiler_static_works=no | 10371 | lt_cv_prog_compiler_static_works=no |
10372 | save_LDFLAGS="$LDFLAGS" | 10372 | save_LDFLAGS="$LDFLAGS" |
10373 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | 10373 | LDFLAGS="$LDFLAGS $lt_tmp_static_flag" |
10374 | echo "$lt_simple_link_test_code" > conftest.$ac_ext | 10374 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
10375 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 10375 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
10376 | # The linker can only warn and ignore the option if not recognized | 10376 | # The linker can only warn and ignore the option if not recognized |
10377 | # So say no if there are warnings | 10377 | # So say no if there are warnings |
10378 | if test -s conftest.err; then | 10378 | if test -s conftest.err; then |
10379 | # Append any errors to the config.log. | 10379 | # Append any errors to the config.log. |
10380 | cat conftest.err 1>&5 | 10380 | cat conftest.err 1>&5 |
10381 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 10381 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
10382 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 10382 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
10383 | if diff conftest.exp conftest.er2 >/dev/null; then | 10383 | if diff conftest.exp conftest.er2 >/dev/null; then |
10384 | lt_cv_prog_compiler_static_works=yes | 10384 | lt_cv_prog_compiler_static_works=yes |
10385 | fi | 10385 | fi |
10386 | else | 10386 | else |
10387 | lt_cv_prog_compiler_static_works=yes | 10387 | lt_cv_prog_compiler_static_works=yes |
10388 | fi | 10388 | fi |
10389 | fi | 10389 | fi |
10390 | $RM -r conftest* | 10390 | $RM -r conftest* |
10391 | LDFLAGS="$save_LDFLAGS" | 10391 | LDFLAGS="$save_LDFLAGS" |
10392 | 10392 | ||
10393 | fi | 10393 | fi |
10394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 | 10394 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 |
10395 | $as_echo "$lt_cv_prog_compiler_static_works" >&6; } | 10395 | $as_echo "$lt_cv_prog_compiler_static_works" >&6; } |
10396 | 10396 | ||
10397 | if test x"$lt_cv_prog_compiler_static_works" = xyes; then | 10397 | if test x"$lt_cv_prog_compiler_static_works" = xyes; then |
10398 | : | 10398 | : |
10399 | else | 10399 | else |
10400 | lt_prog_compiler_static= | 10400 | lt_prog_compiler_static= |
10401 | fi | 10401 | fi |
10402 | 10402 | ||
10403 | 10403 | ||
10404 | 10404 | ||
10405 | 10405 | ||
10406 | 10406 | ||
10407 | 10407 | ||
10408 | 10408 | ||
10409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | 10409 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
10410 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | 10410 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
10411 | if ${lt_cv_prog_compiler_c_o+:} false; then : | 10411 | if ${lt_cv_prog_compiler_c_o+:} false; then : |
10412 | $as_echo_n "(cached) " >&6 | 10412 | $as_echo_n "(cached) " >&6 |
10413 | else | 10413 | else |
10414 | lt_cv_prog_compiler_c_o=no | 10414 | lt_cv_prog_compiler_c_o=no |
10415 | $RM -r conftest 2>/dev/null | 10415 | $RM -r conftest 2>/dev/null |
10416 | mkdir conftest | 10416 | mkdir conftest |
10417 | cd conftest | 10417 | cd conftest |
10418 | mkdir out | 10418 | mkdir out |
10419 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 10419 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10420 | 10420 | ||
10421 | lt_compiler_flag="-o out/conftest2.$ac_objext" | 10421 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
10422 | # Insert the option either (1) after the last *FLAGS variable, or | 10422 | # Insert the option either (1) after the last *FLAGS variable, or |
10423 | # (2) before a word containing "conftest.", or (3) at the end. | 10423 | # (2) before a word containing "conftest.", or (3) at the end. |
10424 | # Note that $ac_compile itself does not contain backslashes and begins | 10424 | # Note that $ac_compile itself does not contain backslashes and begins |
10425 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 10425 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
10426 | lt_compile=`echo "$ac_compile" | $SED \ | 10426 | lt_compile=`echo "$ac_compile" | $SED \ |
10427 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 10427 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10428 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 10428 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10429 | -e 's:$: $lt_compiler_flag:'` | 10429 | -e 's:$: $lt_compiler_flag:'` |
10430 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 10430 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
10431 | (eval "$lt_compile" 2>out/conftest.err) | 10431 | (eval "$lt_compile" 2>out/conftest.err) |
10432 | ac_status=$? | 10432 | ac_status=$? |
10433 | cat out/conftest.err >&5 | 10433 | cat out/conftest.err >&5 |
10434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10435 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 10435 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10436 | then | 10436 | then |
10437 | # The compiler can only warn and ignore the option if not recognized | 10437 | # The compiler can only warn and ignore the option if not recognized |
10438 | # So say no if there are warnings | 10438 | # So say no if there are warnings |
10439 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | 10439 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
10440 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | 10440 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
10441 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 10441 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
10442 | lt_cv_prog_compiler_c_o=yes | 10442 | lt_cv_prog_compiler_c_o=yes |
10443 | fi | 10443 | fi |
10444 | fi | 10444 | fi |
10445 | chmod u+w . 2>&5 | 10445 | chmod u+w . 2>&5 |
10446 | $RM conftest* | 10446 | $RM conftest* |
10447 | # SGI C++ compiler will create directory out/ii_files/ for | 10447 | # SGI C++ compiler will create directory out/ii_files/ for |
10448 | # template instantiation | 10448 | # template instantiation |
10449 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | 10449 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
10450 | $RM out/* && rmdir out | 10450 | $RM out/* && rmdir out |
10451 | cd .. | 10451 | cd .. |
10452 | $RM -r conftest | 10452 | $RM -r conftest |
10453 | $RM conftest* | 10453 | $RM conftest* |
10454 | 10454 | ||
10455 | fi | 10455 | fi |
10456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | 10456 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
10457 | $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | 10457 | $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
10458 | 10458 | ||
10459 | 10459 | ||
10460 | 10460 | ||
10461 | 10461 | ||
10462 | 10462 | ||
10463 | 10463 | ||
10464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | 10464 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 |
10465 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | 10465 | $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } |
10466 | if ${lt_cv_prog_compiler_c_o+:} false; then : | 10466 | if ${lt_cv_prog_compiler_c_o+:} false; then : |
10467 | $as_echo_n "(cached) " >&6 | 10467 | $as_echo_n "(cached) " >&6 |
10468 | else | 10468 | else |
10469 | lt_cv_prog_compiler_c_o=no | 10469 | lt_cv_prog_compiler_c_o=no |
10470 | $RM -r conftest 2>/dev/null | 10470 | $RM -r conftest 2>/dev/null |
10471 | mkdir conftest | 10471 | mkdir conftest |
10472 | cd conftest | 10472 | cd conftest |
10473 | mkdir out | 10473 | mkdir out |
10474 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 10474 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
10475 | 10475 | ||
10476 | lt_compiler_flag="-o out/conftest2.$ac_objext" | 10476 | lt_compiler_flag="-o out/conftest2.$ac_objext" |
10477 | # Insert the option either (1) after the last *FLAGS variable, or | 10477 | # Insert the option either (1) after the last *FLAGS variable, or |
10478 | # (2) before a word containing "conftest.", or (3) at the end. | 10478 | # (2) before a word containing "conftest.", or (3) at the end. |
10479 | # Note that $ac_compile itself does not contain backslashes and begins | 10479 | # Note that $ac_compile itself does not contain backslashes and begins |
10480 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 10480 | # with a dollar sign (not a hyphen), so the echo should work correctly. |
10481 | lt_compile=`echo "$ac_compile" | $SED \ | 10481 | lt_compile=`echo "$ac_compile" | $SED \ |
10482 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 10482 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
10483 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 10483 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
10484 | -e 's:$: $lt_compiler_flag:'` | 10484 | -e 's:$: $lt_compiler_flag:'` |
10485 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 10485 | (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) |
10486 | (eval "$lt_compile" 2>out/conftest.err) | 10486 | (eval "$lt_compile" 2>out/conftest.err) |
10487 | ac_status=$? | 10487 | ac_status=$? |
10488 | cat out/conftest.err >&5 | 10488 | cat out/conftest.err >&5 |
10489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 10489 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10490 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 10490 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
10491 | then | 10491 | then |
10492 | # The compiler can only warn and ignore the option if not recognized | 10492 | # The compiler can only warn and ignore the option if not recognized |
10493 | # So say no if there are warnings | 10493 | # So say no if there are warnings |
10494 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | 10494 | $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp |
10495 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | 10495 | $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 |
10496 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 10496 | if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then |
10497 | lt_cv_prog_compiler_c_o=yes | 10497 | lt_cv_prog_compiler_c_o=yes |
10498 | fi | 10498 | fi |
10499 | fi | 10499 | fi |
10500 | chmod u+w . 2>&5 | 10500 | chmod u+w . 2>&5 |
10501 | $RM conftest* | 10501 | $RM conftest* |
10502 | # SGI C++ compiler will create directory out/ii_files/ for | 10502 | # SGI C++ compiler will create directory out/ii_files/ for |
10503 | # template instantiation | 10503 | # template instantiation |
10504 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | 10504 | test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files |
10505 | $RM out/* && rmdir out | 10505 | $RM out/* && rmdir out |
10506 | cd .. | 10506 | cd .. |
10507 | $RM -r conftest | 10507 | $RM -r conftest |
10508 | $RM conftest* | 10508 | $RM conftest* |
10509 | 10509 | ||
10510 | fi | 10510 | fi |
10511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | 10511 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 |
10512 | $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | 10512 | $as_echo "$lt_cv_prog_compiler_c_o" >&6; } |
10513 | 10513 | ||
10514 | 10514 | ||
10515 | 10515 | ||
10516 | 10516 | ||
10517 | hard_links="nottested" | 10517 | hard_links="nottested" |
10518 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | 10518 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then |
10519 | # do not overwrite the value of need_locks provided by the user | 10519 | # do not overwrite the value of need_locks provided by the user |
10520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 | 10520 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 |
10521 | $as_echo_n "checking if we can lock with hard links... " >&6; } | 10521 | $as_echo_n "checking if we can lock with hard links... " >&6; } |
10522 | hard_links=yes | 10522 | hard_links=yes |
10523 | $RM conftest* | 10523 | $RM conftest* |
10524 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 10524 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
10525 | touch conftest.a | 10525 | touch conftest.a |
10526 | ln conftest.a conftest.b 2>&5 || hard_links=no | 10526 | ln conftest.a conftest.b 2>&5 || hard_links=no |
10527 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 10527 | ln conftest.a conftest.b 2>/dev/null && hard_links=no |
10528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | 10528 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 |
10529 | $as_echo "$hard_links" >&6; } | 10529 | $as_echo "$hard_links" >&6; } |
10530 | if test "$hard_links" = no; then | 10530 | if test "$hard_links" = no; then |
10531 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 10531 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 |
10532 | $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 10532 | $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} |
10533 | need_locks=warn | 10533 | need_locks=warn |
10534 | fi | 10534 | fi |
10535 | else | 10535 | else |
10536 | need_locks=no | 10536 | need_locks=no |
10537 | fi | 10537 | fi |
10538 | 10538 | ||
10539 | 10539 | ||
10540 | 10540 | ||
10541 | 10541 | ||
10542 | 10542 | ||
10543 | 10543 | ||
10544 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 10544 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 |
10545 | $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } | 10545 | $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } |
10546 | 10546 | ||
10547 | runpath_var= | 10547 | runpath_var= |
10548 | allow_undefined_flag= | 10548 | allow_undefined_flag= |
10549 | always_export_symbols=no | 10549 | always_export_symbols=no |
10550 | archive_cmds= | 10550 | archive_cmds= |
10551 | archive_expsym_cmds= | 10551 | archive_expsym_cmds= |
10552 | compiler_needs_object=no | 10552 | compiler_needs_object=no |
10553 | enable_shared_with_static_runtimes=no | 10553 | enable_shared_with_static_runtimes=no |
10554 | export_dynamic_flag_spec= | 10554 | export_dynamic_flag_spec= |
10555 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 10555 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
10556 | hardcode_automatic=no | 10556 | hardcode_automatic=no |
10557 | hardcode_direct=no | 10557 | hardcode_direct=no |
10558 | hardcode_direct_absolute=no | 10558 | hardcode_direct_absolute=no |
10559 | hardcode_libdir_flag_spec= | 10559 | hardcode_libdir_flag_spec= |
10560 | hardcode_libdir_separator= | 10560 | hardcode_libdir_separator= |
10561 | hardcode_minus_L=no | 10561 | hardcode_minus_L=no |
10562 | hardcode_shlibpath_var=unsupported | 10562 | hardcode_shlibpath_var=unsupported |
10563 | inherit_rpath=no | 10563 | inherit_rpath=no |
10564 | link_all_deplibs=unknown | 10564 | link_all_deplibs=unknown |
10565 | module_cmds= | 10565 | module_cmds= |
10566 | module_expsym_cmds= | 10566 | module_expsym_cmds= |
10567 | old_archive_from_new_cmds= | 10567 | old_archive_from_new_cmds= |
10568 | old_archive_from_expsyms_cmds= | 10568 | old_archive_from_expsyms_cmds= |
10569 | thread_safe_flag_spec= | 10569 | thread_safe_flag_spec= |
10570 | whole_archive_flag_spec= | 10570 | whole_archive_flag_spec= |
10571 | # include_expsyms should be a list of space-separated symbols to be *always* | 10571 | # include_expsyms should be a list of space-separated symbols to be *always* |
10572 | # included in the symbol list | 10572 | # included in the symbol list |
10573 | include_expsyms= | 10573 | include_expsyms= |
10574 | # exclude_expsyms can be an extended regexp of symbols to exclude | 10574 | # exclude_expsyms can be an extended regexp of symbols to exclude |
10575 | # it will be wrapped by ` (' and `)$', so one must not match beginning or | 10575 | # it will be wrapped by ` (' and `)$', so one must not match beginning or |
10576 | # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 10576 | # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
10577 | # as well as any symbol that contains `d'. | 10577 | # as well as any symbol that contains `d'. |
10578 | exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | 10578 | exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' |
10579 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 10579 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
10580 | # platforms (ab)use it in PIC code, but their linkers get confused if | 10580 | # platforms (ab)use it in PIC code, but their linkers get confused if |
10581 | # the symbol is explicitly referenced. Since portable code cannot | 10581 | # the symbol is explicitly referenced. Since portable code cannot |
10582 | # rely on this symbol name, it's probably fine to never include it in | 10582 | # rely on this symbol name, it's probably fine to never include it in |
10583 | # preloaded symbol tables. | 10583 | # preloaded symbol tables. |
10584 | # Exclude shared library initialization/finalization symbols. | 10584 | # Exclude shared library initialization/finalization symbols. |
10585 | extract_expsyms_cmds= | 10585 | extract_expsyms_cmds= |
10586 | 10586 | ||
10587 | case $host_os in | 10587 | case $host_os in |
10588 | cygwin* | mingw* | pw32* | cegcc*) | 10588 | cygwin* | mingw* | pw32* | cegcc*) |
10589 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | 10589 | # FIXME: the MSVC++ port hasn't been tested in a loooong time |
10590 | # When not using gcc, we currently assume that we are using | 10590 | # When not using gcc, we currently assume that we are using |
10591 | # Microsoft Visual C++. | 10591 | # Microsoft Visual C++. |
10592 | if test "$GCC" != yes; then | 10592 | if test "$GCC" != yes; then |
10593 | with_gnu_ld=no | 10593 | with_gnu_ld=no |
10594 | fi | 10594 | fi |
10595 | ;; | 10595 | ;; |
10596 | interix*) | 10596 | interix*) |
10597 | # we just hope/assume this is gcc and not c89 (= MSVC++) | 10597 | # we just hope/assume this is gcc and not c89 (= MSVC++) |
10598 | with_gnu_ld=yes | 10598 | with_gnu_ld=yes |
10599 | ;; | 10599 | ;; |
10600 | openbsd*) | 10600 | openbsd*) |
10601 | with_gnu_ld=no | 10601 | with_gnu_ld=no |
10602 | ;; | 10602 | ;; |
10603 | esac | 10603 | esac |
10604 | 10604 | ||
10605 | ld_shlibs=yes | 10605 | ld_shlibs=yes |
10606 | 10606 | ||
10607 | # On some targets, GNU ld is compatible enough with the native linker | 10607 | # On some targets, GNU ld is compatible enough with the native linker |
10608 | # that we're better off using the native interface for both. | 10608 | # that we're better off using the native interface for both. |
10609 | lt_use_gnu_ld_interface=no | 10609 | lt_use_gnu_ld_interface=no |
10610 | if test "$with_gnu_ld" = yes; then | 10610 | if test "$with_gnu_ld" = yes; then |
10611 | case $host_os in | 10611 | case $host_os in |
10612 | aix*) | 10612 | aix*) |
10613 | # The AIX port of GNU ld has always aspired to compatibility | 10613 | # The AIX port of GNU ld has always aspired to compatibility |
10614 | # with the native linker. However, as the warning in the GNU ld | 10614 | # with the native linker. However, as the warning in the GNU ld |
10615 | # block says, versions before 2.19.5* couldn't really create working | 10615 | # block says, versions before 2.19.5* couldn't really create working |
10616 | # shared libraries, regardless of the interface used. | 10616 | # shared libraries, regardless of the interface used. |
10617 | case `$LD -v 2>&1` in | 10617 | case `$LD -v 2>&1` in |
10618 | *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | 10618 | *\ \(GNU\ Binutils\)\ 2.19.5*) ;; |
10619 | *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; | 10619 | *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; |
10620 | *\ \(GNU\ Binutils\)\ [3-9]*) ;; | 10620 | *\ \(GNU\ Binutils\)\ [3-9]*) ;; |
10621 | *) | 10621 | *) |
10622 | lt_use_gnu_ld_interface=yes | 10622 | lt_use_gnu_ld_interface=yes |
10623 | ;; | 10623 | ;; |
10624 | esac | 10624 | esac |
10625 | ;; | 10625 | ;; |
10626 | *) | 10626 | *) |
10627 | lt_use_gnu_ld_interface=yes | 10627 | lt_use_gnu_ld_interface=yes |
10628 | ;; | 10628 | ;; |
10629 | esac | 10629 | esac |
10630 | fi | 10630 | fi |
10631 | 10631 | ||
10632 | if test "$lt_use_gnu_ld_interface" = yes; then | 10632 | if test "$lt_use_gnu_ld_interface" = yes; then |
10633 | # If archive_cmds runs LD, not CC, wlarc should be empty | 10633 | # If archive_cmds runs LD, not CC, wlarc should be empty |
10634 | wlarc='${wl}' | 10634 | wlarc='${wl}' |
10635 | 10635 | ||
10636 | # Set some defaults for GNU ld with shared library support. These | 10636 | # Set some defaults for GNU ld with shared library support. These |
10637 | # are reset later if shared libraries are not supported. Putting them | 10637 | # are reset later if shared libraries are not supported. Putting them |
10638 | # here allows them to be overridden if necessary. | 10638 | # here allows them to be overridden if necessary. |
10639 | runpath_var=LD_RUN_PATH | 10639 | runpath_var=LD_RUN_PATH |
10640 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 10640 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10641 | export_dynamic_flag_spec='${wl}--export-dynamic' | 10641 | export_dynamic_flag_spec='${wl}--export-dynamic' |
10642 | # ancient GNU ld didn't support --whole-archive et. al. | 10642 | # ancient GNU ld didn't support --whole-archive et. al. |
10643 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | 10643 | if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then |
10644 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 10644 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' |
10645 | else | 10645 | else |
10646 | whole_archive_flag_spec= | 10646 | whole_archive_flag_spec= |
10647 | fi | 10647 | fi |
10648 | supports_anon_versioning=no | 10648 | supports_anon_versioning=no |
10649 | case `$LD -v 2>&1` in | 10649 | case `$LD -v 2>&1` in |
10650 | *GNU\ gold*) supports_anon_versioning=yes ;; | 10650 | *GNU\ gold*) supports_anon_versioning=yes ;; |
10651 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | 10651 | *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 |
10652 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | 10652 | *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
10653 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | 10653 | *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
10654 | *\ 2.11.*) ;; # other 2.11 versions | 10654 | *\ 2.11.*) ;; # other 2.11 versions |
10655 | *) supports_anon_versioning=yes ;; | 10655 | *) supports_anon_versioning=yes ;; |
10656 | esac | 10656 | esac |
10657 | 10657 | ||
10658 | # See if GNU ld supports shared libraries. | 10658 | # See if GNU ld supports shared libraries. |
10659 | case $host_os in | 10659 | case $host_os in |
10660 | aix[3-9]*) | 10660 | aix[3-9]*) |
10661 | # On AIX/PPC, the GNU linker is very broken | 10661 | # On AIX/PPC, the GNU linker is very broken |
10662 | if test "$host_cpu" != ia64; then | 10662 | if test "$host_cpu" != ia64; then |
10663 | ld_shlibs=no | 10663 | ld_shlibs=no |
10664 | cat <<_LT_EOF 1>&2 | 10664 | cat <<_LT_EOF 1>&2 |
10665 | 10665 | ||
10666 | *** Warning: the GNU linker, at least up to release 2.19, is reported | 10666 | *** Warning: the GNU linker, at least up to release 2.19, is reported |
10667 | *** to be unable to reliably create shared libraries on AIX. | 10667 | *** to be unable to reliably create shared libraries on AIX. |
10668 | *** Therefore, libtool is disabling shared libraries support. If you | 10668 | *** Therefore, libtool is disabling shared libraries support. If you |
10669 | *** really care for shared libraries, you may want to install binutils | 10669 | *** really care for shared libraries, you may want to install binutils |
10670 | *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. | 10670 | *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. |
10671 | *** You will then need to restart the configuration process. | 10671 | *** You will then need to restart the configuration process. |
10672 | 10672 | ||
10673 | _LT_EOF | 10673 | _LT_EOF |
10674 | fi | 10674 | fi |
10675 | ;; | 10675 | ;; |
10676 | 10676 | ||
10677 | amigaos*) | 10677 | amigaos*) |
10678 | case $host_cpu in | 10678 | case $host_cpu in |
10679 | powerpc) | 10679 | powerpc) |
10680 | # see comment about AmigaOS4 .so support | 10680 | # see comment about AmigaOS4 .so support |
10681 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10681 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10682 | archive_expsym_cmds='' | 10682 | archive_expsym_cmds='' |
10683 | ;; | 10683 | ;; |
10684 | m68k) | 10684 | m68k) |
10685 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' | 10685 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
10686 | hardcode_libdir_flag_spec='-L$libdir' | 10686 | hardcode_libdir_flag_spec='-L$libdir' |
10687 | hardcode_minus_L=yes | 10687 | hardcode_minus_L=yes |
10688 | ;; | 10688 | ;; |
10689 | esac | 10689 | esac |
10690 | ;; | 10690 | ;; |
10691 | 10691 | ||
10692 | beos*) | 10692 | beos*) |
10693 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 10693 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
10694 | allow_undefined_flag=unsupported | 10694 | allow_undefined_flag=unsupported |
10695 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 10695 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc |
10696 | # support --undefined. This deserves some investigation. FIXME | 10696 | # support --undefined. This deserves some investigation. FIXME |
10697 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10697 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10698 | else | 10698 | else |
10699 | ld_shlibs=no | 10699 | ld_shlibs=no |
10700 | fi | 10700 | fi |
10701 | ;; | 10701 | ;; |
10702 | 10702 | ||
10703 | cygwin* | mingw* | pw32* | cegcc*) | 10703 | cygwin* | mingw* | pw32* | cegcc*) |
10704 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | 10704 | # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, |
10705 | # as there is no search path for DLLs. | 10705 | # as there is no search path for DLLs. |
10706 | hardcode_libdir_flag_spec='-L$libdir' | 10706 | hardcode_libdir_flag_spec='-L$libdir' |
10707 | export_dynamic_flag_spec='${wl}--export-all-symbols' | 10707 | export_dynamic_flag_spec='${wl}--export-all-symbols' |
10708 | allow_undefined_flag=unsupported | 10708 | allow_undefined_flag=unsupported |
10709 | always_export_symbols=no | 10709 | always_export_symbols=no |
10710 | enable_shared_with_static_runtimes=yes | 10710 | enable_shared_with_static_runtimes=yes |
10711 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' | 10711 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' |
10712 | exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | 10712 | exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' |
10713 | 10713 | ||
10714 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | 10714 | if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then |
10715 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 10715 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
10716 | # If the export-symbols file already is a .def file (1st line | 10716 | # If the export-symbols file already is a .def file (1st line |
10717 | # is EXPORTS), use it as is; otherwise, prepend... | 10717 | # is EXPORTS), use it as is; otherwise, prepend... |
10718 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 10718 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
10719 | cp $export_symbols $output_objdir/$soname.def; | 10719 | cp $export_symbols $output_objdir/$soname.def; |
10720 | else | 10720 | else |
10721 | echo EXPORTS > $output_objdir/$soname.def; | 10721 | echo EXPORTS > $output_objdir/$soname.def; |
10722 | cat $export_symbols >> $output_objdir/$soname.def; | 10722 | cat $export_symbols >> $output_objdir/$soname.def; |
10723 | fi~ | 10723 | fi~ |
10724 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 10724 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
10725 | else | 10725 | else |
10726 | ld_shlibs=no | 10726 | ld_shlibs=no |
10727 | fi | 10727 | fi |
10728 | ;; | 10728 | ;; |
10729 | 10729 | ||
10730 | haiku*) | 10730 | haiku*) |
10731 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10731 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10732 | link_all_deplibs=yes | 10732 | link_all_deplibs=yes |
10733 | ;; | 10733 | ;; |
10734 | 10734 | ||
10735 | interix[3-9]*) | 10735 | interix[3-9]*) |
10736 | hardcode_direct=no | 10736 | hardcode_direct=no |
10737 | hardcode_shlibpath_var=no | 10737 | hardcode_shlibpath_var=no |
10738 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 10738 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
10739 | export_dynamic_flag_spec='${wl}-E' | 10739 | export_dynamic_flag_spec='${wl}-E' |
10740 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | 10740 | # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. |
10741 | # Instead, shared libraries are loaded at an image base (0x10000000 by | 10741 | # Instead, shared libraries are loaded at an image base (0x10000000 by |
10742 | # default) and relocated if they conflict, which is a slow very memory | 10742 | # default) and relocated if they conflict, which is a slow very memory |
10743 | # consuming and fragmenting process. To avoid this, we pick a random, | 10743 | # consuming and fragmenting process. To avoid this, we pick a random, |
10744 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | 10744 | # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link |
10745 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. | 10745 | # time. Moving up from 0x10000000 also allows more sbrk(2) space. |
10746 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 10746 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
10747 | archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 10747 | archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' |
10748 | ;; | 10748 | ;; |
10749 | 10749 | ||
10750 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | 10750 | gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) |
10751 | tmp_diet=no | 10751 | tmp_diet=no |
10752 | if test "$host_os" = linux-dietlibc; then | 10752 | if test "$host_os" = linux-dietlibc; then |
10753 | case $cc_basename in | 10753 | case $cc_basename in |
10754 | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) | 10754 | diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn) |
10755 | esac | 10755 | esac |
10756 | fi | 10756 | fi |
10757 | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | 10757 | if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ |
10758 | && test "$tmp_diet" = no | 10758 | && test "$tmp_diet" = no |
10759 | then | 10759 | then |
10760 | tmp_addflag=' $pic_flag' | 10760 | tmp_addflag=' $pic_flag' |
10761 | tmp_sharedflag='-shared' | 10761 | tmp_sharedflag='-shared' |
10762 | case $cc_basename,$host_cpu in | 10762 | case $cc_basename,$host_cpu in |
10763 | pgcc*) # Portland Group C compiler | 10763 | pgcc*) # Portland Group C compiler |
10764 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 10764 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
10765 | tmp_addflag=' $pic_flag' | 10765 | tmp_addflag=' $pic_flag' |
10766 | ;; | 10766 | ;; |
10767 | pgf77* | pgf90* | pgf95* | pgfortran*) | 10767 | pgf77* | pgf90* | pgf95* | pgfortran*) |
10768 | # Portland Group f77 and f90 compilers | 10768 | # Portland Group f77 and f90 compilers |
10769 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 10769 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
10770 | tmp_addflag=' $pic_flag -Mnomain' ;; | 10770 | tmp_addflag=' $pic_flag -Mnomain' ;; |
10771 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 | 10771 | ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64 |
10772 | tmp_addflag=' -i_dynamic' ;; | 10772 | tmp_addflag=' -i_dynamic' ;; |
10773 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 | 10773 | efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64 |
10774 | tmp_addflag=' -i_dynamic -nofor_main' ;; | 10774 | tmp_addflag=' -i_dynamic -nofor_main' ;; |
10775 | ifc* | ifort*) # Intel Fortran compiler | 10775 | ifc* | ifort*) # Intel Fortran compiler |
10776 | tmp_addflag=' -nofor_main' ;; | 10776 | tmp_addflag=' -nofor_main' ;; |
10777 | lf95*) # Lahey Fortran 8.1 | 10777 | lf95*) # Lahey Fortran 8.1 |
10778 | whole_archive_flag_spec= | 10778 | whole_archive_flag_spec= |
10779 | tmp_sharedflag='--shared' ;; | 10779 | tmp_sharedflag='--shared' ;; |
10780 | xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) | 10780 | xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) |
10781 | tmp_sharedflag='-qmkshrobj' | 10781 | tmp_sharedflag='-qmkshrobj' |
10782 | tmp_addflag= ;; | 10782 | tmp_addflag= ;; |
10783 | nvcc*) # Cuda Compiler Driver 2.2 | 10783 | nvcc*) # Cuda Compiler Driver 2.2 |
10784 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 10784 | whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
10785 | compiler_needs_object=yes | 10785 | compiler_needs_object=yes |
10786 | ;; | 10786 | ;; |
10787 | esac | 10787 | esac |
10788 | case `$CC -V 2>&1 | sed 5q` in | 10788 | case `$CC -V 2>&1 | sed 5q` in |
10789 | *Sun\ C*) # Sun C 5.9 | 10789 | *Sun\ C*) # Sun C 5.9 |
10790 | whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 10790 | whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' |
10791 | compiler_needs_object=yes | 10791 | compiler_needs_object=yes |
10792 | tmp_sharedflag='-G' ;; | 10792 | tmp_sharedflag='-G' ;; |
10793 | *Sun\ F*) # Sun Fortran 8.3 | 10793 | *Sun\ F*) # Sun Fortran 8.3 |
10794 | tmp_sharedflag='-G' ;; | 10794 | tmp_sharedflag='-G' ;; |
10795 | esac | 10795 | esac |
10796 | archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10796 | archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10797 | 10797 | ||
10798 | if test "x$supports_anon_versioning" = xyes; then | 10798 | if test "x$supports_anon_versioning" = xyes; then |
10799 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 10799 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
10800 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | 10800 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
10801 | echo "local: *; };" >> $output_objdir/$libname.ver~ | 10801 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
10802 | $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 10802 | $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' |
10803 | fi | 10803 | fi |
10804 | 10804 | ||
10805 | case $cc_basename in | 10805 | case $cc_basename in |
10806 | xlf* | bgf* | bgxlf* | mpixlf*) | 10806 | xlf* | bgf* | bgxlf* | mpixlf*) |
10807 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | 10807 | # IBM XL Fortran 10.1 on PPC cannot create shared libs itself |
10808 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' | 10808 | whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' |
10809 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 10809 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10810 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' | 10810 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' |
10811 | if test "x$supports_anon_versioning" = xyes; then | 10811 | if test "x$supports_anon_versioning" = xyes; then |
10812 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 10812 | archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ |
10813 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | 10813 | cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ |
10814 | echo "local: *; };" >> $output_objdir/$libname.ver~ | 10814 | echo "local: *; };" >> $output_objdir/$libname.ver~ |
10815 | $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' | 10815 | $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' |
10816 | fi | 10816 | fi |
10817 | ;; | 10817 | ;; |
10818 | esac | 10818 | esac |
10819 | else | 10819 | else |
10820 | ld_shlibs=no | 10820 | ld_shlibs=no |
10821 | fi | 10821 | fi |
10822 | ;; | 10822 | ;; |
10823 | 10823 | ||
10824 | netbsd*) | 10824 | netbsd*) |
10825 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 10825 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
10826 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 10826 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' |
10827 | wlarc= | 10827 | wlarc= |
10828 | else | 10828 | else |
10829 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10829 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10830 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 10830 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
10831 | fi | 10831 | fi |
10832 | ;; | 10832 | ;; |
10833 | 10833 | ||
10834 | solaris*) | 10834 | solaris*) |
10835 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | 10835 | if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then |
10836 | ld_shlibs=no | 10836 | ld_shlibs=no |
10837 | cat <<_LT_EOF 1>&2 | 10837 | cat <<_LT_EOF 1>&2 |
10838 | 10838 | ||
10839 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 10839 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably |
10840 | *** create shared libraries on Solaris systems. Therefore, libtool | 10840 | *** create shared libraries on Solaris systems. Therefore, libtool |
10841 | *** is disabling shared libraries support. We urge you to upgrade GNU | 10841 | *** is disabling shared libraries support. We urge you to upgrade GNU |
10842 | *** binutils to release 2.9.1 or newer. Another option is to modify | 10842 | *** binutils to release 2.9.1 or newer. Another option is to modify |
10843 | *** your PATH or compiler configuration so that the native linker is | 10843 | *** your PATH or compiler configuration so that the native linker is |
10844 | *** used, and then restart. | 10844 | *** used, and then restart. |
10845 | 10845 | ||
10846 | _LT_EOF | 10846 | _LT_EOF |
10847 | elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 10847 | elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
10848 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10848 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10849 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 10849 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
10850 | else | 10850 | else |
10851 | ld_shlibs=no | 10851 | ld_shlibs=no |
10852 | fi | 10852 | fi |
10853 | ;; | 10853 | ;; |
10854 | 10854 | ||
10855 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | 10855 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) |
10856 | case `$LD -v 2>&1` in | 10856 | case `$LD -v 2>&1` in |
10857 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | 10857 | *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) |
10858 | ld_shlibs=no | 10858 | ld_shlibs=no |
10859 | cat <<_LT_EOF 1>&2 | 10859 | cat <<_LT_EOF 1>&2 |
10860 | 10860 | ||
10861 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | 10861 | *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not |
10862 | *** reliably create shared libraries on SCO systems. Therefore, libtool | 10862 | *** reliably create shared libraries on SCO systems. Therefore, libtool |
10863 | *** is disabling shared libraries support. We urge you to upgrade GNU | 10863 | *** is disabling shared libraries support. We urge you to upgrade GNU |
10864 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify | 10864 | *** binutils to release 2.16.91.0.3 or newer. Another option is to modify |
10865 | *** your PATH or compiler configuration so that the native linker is | 10865 | *** your PATH or compiler configuration so that the native linker is |
10866 | *** used, and then restart. | 10866 | *** used, and then restart. |
10867 | 10867 | ||
10868 | _LT_EOF | 10868 | _LT_EOF |
10869 | ;; | 10869 | ;; |
10870 | *) | 10870 | *) |
10871 | # For security reasons, it is highly recommended that you always | 10871 | # For security reasons, it is highly recommended that you always |
10872 | # use absolute paths for naming shared libraries, and exclude the | 10872 | # use absolute paths for naming shared libraries, and exclude the |
10873 | # DT_RUNPATH tag from executables and libraries. But doing so | 10873 | # DT_RUNPATH tag from executables and libraries. But doing so |
10874 | # requires that you compile everything twice, which is a pain. | 10874 | # requires that you compile everything twice, which is a pain. |
10875 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 10875 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
10876 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 10876 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
10877 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10877 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10878 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 10878 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
10879 | else | 10879 | else |
10880 | ld_shlibs=no | 10880 | ld_shlibs=no |
10881 | fi | 10881 | fi |
10882 | ;; | 10882 | ;; |
10883 | esac | 10883 | esac |
10884 | ;; | 10884 | ;; |
10885 | 10885 | ||
10886 | sunos4*) | 10886 | sunos4*) |
10887 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 10887 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
10888 | wlarc= | 10888 | wlarc= |
10889 | hardcode_direct=yes | 10889 | hardcode_direct=yes |
10890 | hardcode_shlibpath_var=no | 10890 | hardcode_shlibpath_var=no |
10891 | ;; | 10891 | ;; |
10892 | 10892 | ||
10893 | *) | 10893 | *) |
10894 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 10894 | if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then |
10895 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 10895 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
10896 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 10896 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' |
10897 | else | 10897 | else |
10898 | ld_shlibs=no | 10898 | ld_shlibs=no |
10899 | fi | 10899 | fi |
10900 | ;; | 10900 | ;; |
10901 | esac | 10901 | esac |
10902 | 10902 | ||
10903 | if test "$ld_shlibs" = no; then | 10903 | if test "$ld_shlibs" = no; then |
10904 | runpath_var= | 10904 | runpath_var= |
10905 | hardcode_libdir_flag_spec= | 10905 | hardcode_libdir_flag_spec= |
10906 | export_dynamic_flag_spec= | 10906 | export_dynamic_flag_spec= |
10907 | whole_archive_flag_spec= | 10907 | whole_archive_flag_spec= |
10908 | fi | 10908 | fi |
10909 | else | 10909 | else |
10910 | # PORTME fill in a description of your system's linker (not GNU ld) | 10910 | # PORTME fill in a description of your system's linker (not GNU ld) |
10911 | case $host_os in | 10911 | case $host_os in |
10912 | aix3*) | 10912 | aix3*) |
10913 | allow_undefined_flag=unsupported | 10913 | allow_undefined_flag=unsupported |
10914 | always_export_symbols=yes | 10914 | always_export_symbols=yes |
10915 | archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' | 10915 | archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' |
10916 | # Note: this linker hardcodes the directories in LIBPATH if there | 10916 | # Note: this linker hardcodes the directories in LIBPATH if there |
10917 | # are no directories specified by -L. | 10917 | # are no directories specified by -L. |
10918 | hardcode_minus_L=yes | 10918 | hardcode_minus_L=yes |
10919 | if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | 10919 | if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
10920 | # Neither direct hardcoding nor static linking is supported with a | 10920 | # Neither direct hardcoding nor static linking is supported with a |
10921 | # broken collect2. | 10921 | # broken collect2. |
10922 | hardcode_direct=unsupported | 10922 | hardcode_direct=unsupported |
10923 | fi | 10923 | fi |
10924 | ;; | 10924 | ;; |
10925 | 10925 | ||
10926 | aix[4-9]*) | 10926 | aix[4-9]*) |
10927 | if test "$host_cpu" = ia64; then | 10927 | if test "$host_cpu" = ia64; then |
10928 | # On IA64, the linker does run time linking by default, so we don't | 10928 | # On IA64, the linker does run time linking by default, so we don't |
10929 | # have to do anything special. | 10929 | # have to do anything special. |
10930 | aix_use_runtimelinking=no | 10930 | aix_use_runtimelinking=no |
10931 | exp_sym_flag='-Bexport' | 10931 | exp_sym_flag='-Bexport' |
10932 | no_entry_flag="" | 10932 | no_entry_flag="" |
10933 | else | 10933 | else |
10934 | # If we're using GNU nm, then we don't want the "-C" option. | 10934 | # If we're using GNU nm, then we don't want the "-C" option. |
10935 | # -C means demangle to AIX nm, but means don't demangle with GNU nm | 10935 | # -C means demangle to AIX nm, but means don't demangle with GNU nm |
10936 | # Also, AIX nm treats weak defined symbols like other global | 10936 | # Also, AIX nm treats weak defined symbols like other global |
10937 | # defined symbols, whereas GNU nm marks them as "W". | 10937 | # defined symbols, whereas GNU nm marks them as "W". |
10938 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | 10938 | if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then |
10939 | export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 10939 | export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
10940 | else | 10940 | else |
10941 | export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 10941 | export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' |
10942 | fi | 10942 | fi |
10943 | aix_use_runtimelinking=no | 10943 | aix_use_runtimelinking=no |
10944 | 10944 | ||
10945 | # Test if we are trying to use run time linking or normal | 10945 | # Test if we are trying to use run time linking or normal |
10946 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 10946 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
10947 | # need to do runtime linking. | 10947 | # need to do runtime linking. |
10948 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | 10948 | case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) |
10949 | for ld_flag in $LDFLAGS; do | 10949 | for ld_flag in $LDFLAGS; do |
10950 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 10950 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
10951 | aix_use_runtimelinking=yes | 10951 | aix_use_runtimelinking=yes |
10952 | break | 10952 | break |
10953 | fi | 10953 | fi |
10954 | done | 10954 | done |
10955 | ;; | 10955 | ;; |
10956 | esac | 10956 | esac |
10957 | 10957 | ||
10958 | exp_sym_flag='-bexport' | 10958 | exp_sym_flag='-bexport' |
10959 | no_entry_flag='-bnoentry' | 10959 | no_entry_flag='-bnoentry' |
10960 | fi | 10960 | fi |
10961 | 10961 | ||
10962 | # When large executables or shared objects are built, AIX ld can | 10962 | # When large executables or shared objects are built, AIX ld can |
10963 | # have problems creating the table of contents. If linking a library | 10963 | # have problems creating the table of contents. If linking a library |
10964 | # or program results in "error TOC overflow" add -mminimal-toc to | 10964 | # or program results in "error TOC overflow" add -mminimal-toc to |
10965 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not | 10965 | # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not |
10966 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 10966 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. |
10967 | 10967 | ||
10968 | archive_cmds='' | 10968 | archive_cmds='' |
10969 | hardcode_direct=yes | 10969 | hardcode_direct=yes |
10970 | hardcode_direct_absolute=yes | 10970 | hardcode_direct_absolute=yes |
10971 | hardcode_libdir_separator=':' | 10971 | hardcode_libdir_separator=':' |
10972 | link_all_deplibs=yes | 10972 | link_all_deplibs=yes |
10973 | file_list_spec='${wl}-f,' | 10973 | file_list_spec='${wl}-f,' |
10974 | 10974 | ||
10975 | if test "$GCC" = yes; then | 10975 | if test "$GCC" = yes; then |
10976 | case $host_os in aix4.[012]|aix4.[012].*) | 10976 | case $host_os in aix4.[012]|aix4.[012].*) |
10977 | # We only want to do this on AIX 4.2 and lower, the check | 10977 | # We only want to do this on AIX 4.2 and lower, the check |
10978 | # below for broken collect2 doesn't work under 4.3+ | 10978 | # below for broken collect2 doesn't work under 4.3+ |
10979 | collect2name=`${CC} -print-prog-name=collect2` | 10979 | collect2name=`${CC} -print-prog-name=collect2` |
10980 | if test -f "$collect2name" && | 10980 | if test -f "$collect2name" && |
10981 | strings "$collect2name" | $GREP resolve_lib_name >/dev/null | 10981 | strings "$collect2name" | $GREP resolve_lib_name >/dev/null |
10982 | then | 10982 | then |
10983 | # We have reworked collect2 | 10983 | # We have reworked collect2 |
10984 | : | 10984 | : |
10985 | else | 10985 | else |
10986 | # We have old collect2 | 10986 | # We have old collect2 |
10987 | hardcode_direct=unsupported | 10987 | hardcode_direct=unsupported |
10988 | # It fails to find uninstalled libraries when the uninstalled | 10988 | # It fails to find uninstalled libraries when the uninstalled |
10989 | # path is not listed in the libpath. Setting hardcode_minus_L | 10989 | # path is not listed in the libpath. Setting hardcode_minus_L |
10990 | # to unsupported forces relinking | 10990 | # to unsupported forces relinking |
10991 | hardcode_minus_L=yes | 10991 | hardcode_minus_L=yes |
10992 | hardcode_libdir_flag_spec='-L$libdir' | 10992 | hardcode_libdir_flag_spec='-L$libdir' |
10993 | hardcode_libdir_separator= | 10993 | hardcode_libdir_separator= |
10994 | fi | 10994 | fi |
10995 | ;; | 10995 | ;; |
10996 | esac | 10996 | esac |
10997 | shared_flag='-shared' | 10997 | shared_flag='-shared' |
10998 | if test "$aix_use_runtimelinking" = yes; then | 10998 | if test "$aix_use_runtimelinking" = yes; then |
10999 | shared_flag="$shared_flag "'${wl}-G' | 10999 | shared_flag="$shared_flag "'${wl}-G' |
11000 | fi | 11000 | fi |
11001 | else | 11001 | else |
11002 | # not using gcc | 11002 | # not using gcc |
11003 | if test "$host_cpu" = ia64; then | 11003 | if test "$host_cpu" = ia64; then |
11004 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 11004 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release |
11005 | # chokes on -Wl,-G. The following line is correct: | 11005 | # chokes on -Wl,-G. The following line is correct: |
11006 | shared_flag='-G' | 11006 | shared_flag='-G' |
11007 | else | 11007 | else |
11008 | if test "$aix_use_runtimelinking" = yes; then | 11008 | if test "$aix_use_runtimelinking" = yes; then |
11009 | shared_flag='${wl}-G' | 11009 | shared_flag='${wl}-G' |
11010 | else | 11010 | else |
11011 | shared_flag='${wl}-bM:SRE' | 11011 | shared_flag='${wl}-bM:SRE' |
11012 | fi | 11012 | fi |
11013 | fi | 11013 | fi |
11014 | fi | 11014 | fi |
11015 | 11015 | ||
11016 | export_dynamic_flag_spec='${wl}-bexpall' | 11016 | export_dynamic_flag_spec='${wl}-bexpall' |
11017 | # It seems that -bexpall does not export symbols beginning with | 11017 | # It seems that -bexpall does not export symbols beginning with |
11018 | # underscore (_), so it is better to generate a list of symbols to export. | 11018 | # underscore (_), so it is better to generate a list of symbols to export. |
11019 | always_export_symbols=yes | 11019 | always_export_symbols=yes |
11020 | if test "$aix_use_runtimelinking" = yes; then | 11020 | if test "$aix_use_runtimelinking" = yes; then |
11021 | # Warning - without using the other runtime loading flags (-brtl), | 11021 | # Warning - without using the other runtime loading flags (-brtl), |
11022 | # -berok will link without error, but may produce a broken library. | 11022 | # -berok will link without error, but may produce a broken library. |
11023 | allow_undefined_flag='-berok' | 11023 | allow_undefined_flag='-berok' |
11024 | # Determine the default libpath from the value encoded in an | 11024 | # Determine the default libpath from the value encoded in an |
11025 | # empty executable. | 11025 | # empty executable. |
11026 | if test "${lt_cv_aix_libpath+set}" = set; then | 11026 | if test "${lt_cv_aix_libpath+set}" = set; then |
11027 | aix_libpath=$lt_cv_aix_libpath | 11027 | aix_libpath=$lt_cv_aix_libpath |
11028 | else | 11028 | else |
11029 | if ${lt_cv_aix_libpath_+:} false; then : | 11029 | if ${lt_cv_aix_libpath_+:} false; then : |
11030 | $as_echo_n "(cached) " >&6 | 11030 | $as_echo_n "(cached) " >&6 |
11031 | else | 11031 | else |
11032 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11032 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11033 | /* end confdefs.h. */ | 11033 | /* end confdefs.h. */ |
11034 | 11034 | ||
11035 | int | 11035 | int |
11036 | main () | 11036 | main () |
11037 | { | 11037 | { |
11038 | 11038 | ||
11039 | ; | 11039 | ; |
11040 | return 0; | 11040 | return 0; |
11041 | } | 11041 | } |
11042 | _ACEOF | 11042 | _ACEOF |
11043 | if ac_fn_c_try_link "$LINENO"; then : | 11043 | if ac_fn_c_try_link "$LINENO"; then : |
11044 | 11044 | ||
11045 | lt_aix_libpath_sed=' | 11045 | lt_aix_libpath_sed=' |
11046 | /Import File Strings/,/^$/ { | 11046 | /Import File Strings/,/^$/ { |
11047 | /^0/ { | 11047 | /^0/ { |
11048 | s/^0 *\([^ ]*\) *$/\1/ | 11048 | s/^0 *\([^ ]*\) *$/\1/ |
11049 | p | 11049 | p |
11050 | } | 11050 | } |
11051 | }' | 11051 | }' |
11052 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 11052 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
11053 | # Check for a 64-bit object if we didn't find anything. | 11053 | # Check for a 64-bit object if we didn't find anything. |
11054 | if test -z "$lt_cv_aix_libpath_"; then | 11054 | if test -z "$lt_cv_aix_libpath_"; then |
11055 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 11055 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
11056 | fi | 11056 | fi |
11057 | fi | 11057 | fi |
11058 | rm -f core conftest.err conftest.$ac_objext \ | 11058 | rm -f core conftest.err conftest.$ac_objext \ |
11059 | conftest$ac_exeext conftest.$ac_ext | 11059 | conftest$ac_exeext conftest.$ac_ext |
11060 | if test -z "$lt_cv_aix_libpath_"; then | 11060 | if test -z "$lt_cv_aix_libpath_"; then |
11061 | lt_cv_aix_libpath_="/usr/lib:/lib" | 11061 | lt_cv_aix_libpath_="/usr/lib:/lib" |
11062 | fi | 11062 | fi |
11063 | 11063 | ||
11064 | fi | 11064 | fi |
11065 | 11065 | ||
11066 | aix_libpath=$lt_cv_aix_libpath_ | 11066 | aix_libpath=$lt_cv_aix_libpath_ |
11067 | fi | 11067 | fi |
11068 | 11068 | ||
11069 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 11069 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
11070 | archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 11070 | archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" |
11071 | else | 11071 | else |
11072 | if test "$host_cpu" = ia64; then | 11072 | if test "$host_cpu" = ia64; then |
11073 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 11073 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' |
11074 | allow_undefined_flag="-z nodefs" | 11074 | allow_undefined_flag="-z nodefs" |
11075 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" | 11075 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" |
11076 | else | 11076 | else |
11077 | # Determine the default libpath from the value encoded in an | 11077 | # Determine the default libpath from the value encoded in an |
11078 | # empty executable. | 11078 | # empty executable. |
11079 | if test "${lt_cv_aix_libpath+set}" = set; then | 11079 | if test "${lt_cv_aix_libpath+set}" = set; then |
11080 | aix_libpath=$lt_cv_aix_libpath | 11080 | aix_libpath=$lt_cv_aix_libpath |
11081 | else | 11081 | else |
11082 | if ${lt_cv_aix_libpath_+:} false; then : | 11082 | if ${lt_cv_aix_libpath_+:} false; then : |
11083 | $as_echo_n "(cached) " >&6 | 11083 | $as_echo_n "(cached) " >&6 |
11084 | else | 11084 | else |
11085 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11085 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11086 | /* end confdefs.h. */ | 11086 | /* end confdefs.h. */ |
11087 | 11087 | ||
11088 | int | 11088 | int |
11089 | main () | 11089 | main () |
11090 | { | 11090 | { |
11091 | 11091 | ||
11092 | ; | 11092 | ; |
11093 | return 0; | 11093 | return 0; |
11094 | } | 11094 | } |
11095 | _ACEOF | 11095 | _ACEOF |
11096 | if ac_fn_c_try_link "$LINENO"; then : | 11096 | if ac_fn_c_try_link "$LINENO"; then : |
11097 | 11097 | ||
11098 | lt_aix_libpath_sed=' | 11098 | lt_aix_libpath_sed=' |
11099 | /Import File Strings/,/^$/ { | 11099 | /Import File Strings/,/^$/ { |
11100 | /^0/ { | 11100 | /^0/ { |
11101 | s/^0 *\([^ ]*\) *$/\1/ | 11101 | s/^0 *\([^ ]*\) *$/\1/ |
11102 | p | 11102 | p |
11103 | } | 11103 | } |
11104 | }' | 11104 | }' |
11105 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 11105 | lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
11106 | # Check for a 64-bit object if we didn't find anything. | 11106 | # Check for a 64-bit object if we didn't find anything. |
11107 | if test -z "$lt_cv_aix_libpath_"; then | 11107 | if test -z "$lt_cv_aix_libpath_"; then |
11108 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 11108 | lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` |
11109 | fi | 11109 | fi |
11110 | fi | 11110 | fi |
11111 | rm -f core conftest.err conftest.$ac_objext \ | 11111 | rm -f core conftest.err conftest.$ac_objext \ |
11112 | conftest$ac_exeext conftest.$ac_ext | 11112 | conftest$ac_exeext conftest.$ac_ext |
11113 | if test -z "$lt_cv_aix_libpath_"; then | 11113 | if test -z "$lt_cv_aix_libpath_"; then |
11114 | lt_cv_aix_libpath_="/usr/lib:/lib" | 11114 | lt_cv_aix_libpath_="/usr/lib:/lib" |
11115 | fi | 11115 | fi |
11116 | 11116 | ||
11117 | fi | 11117 | fi |
11118 | 11118 | ||
11119 | aix_libpath=$lt_cv_aix_libpath_ | 11119 | aix_libpath=$lt_cv_aix_libpath_ |
11120 | fi | 11120 | fi |
11121 | 11121 | ||
11122 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 11122 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" |
11123 | # Warning - without using the other run time loading flags, | 11123 | # Warning - without using the other run time loading flags, |
11124 | # -berok will link without error, but may produce a broken library. | 11124 | # -berok will link without error, but may produce a broken library. |
11125 | no_undefined_flag=' ${wl}-bernotok' | 11125 | no_undefined_flag=' ${wl}-bernotok' |
11126 | allow_undefined_flag=' ${wl}-berok' | 11126 | allow_undefined_flag=' ${wl}-berok' |
11127 | if test "$with_gnu_ld" = yes; then | 11127 | if test "$with_gnu_ld" = yes; then |
11128 | # We only use this code for GNU lds that support --whole-archive. | 11128 | # We only use this code for GNU lds that support --whole-archive. |
11129 | whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 11129 | whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' |
11130 | else | 11130 | else |
11131 | # Exported symbols can be pulled into shared objects from archives | 11131 | # Exported symbols can be pulled into shared objects from archives |
11132 | whole_archive_flag_spec='$convenience' | 11132 | whole_archive_flag_spec='$convenience' |
11133 | fi | 11133 | fi |
11134 | archive_cmds_need_lc=yes | 11134 | archive_cmds_need_lc=yes |
11135 | # This is similar to how AIX traditionally builds its shared libraries. | 11135 | # This is similar to how AIX traditionally builds its shared libraries. |
11136 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 11136 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' |
11137 | fi | 11137 | fi |
11138 | fi | 11138 | fi |
11139 | ;; | 11139 | ;; |
11140 | 11140 | ||
11141 | amigaos*) | 11141 | amigaos*) |
11142 | case $host_cpu in | 11142 | case $host_cpu in |
11143 | powerpc) | 11143 | powerpc) |
11144 | # see comment about AmigaOS4 .so support | 11144 | # see comment about AmigaOS4 .so support |
11145 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 11145 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
11146 | archive_expsym_cmds='' | 11146 | archive_expsym_cmds='' |
11147 | ;; | 11147 | ;; |
11148 | m68k) | 11148 | m68k) |
11149 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' | 11149 | archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)' |
11150 | hardcode_libdir_flag_spec='-L$libdir' | 11150 | hardcode_libdir_flag_spec='-L$libdir' |
11151 | hardcode_minus_L=yes | 11151 | hardcode_minus_L=yes |
11152 | ;; | 11152 | ;; |
11153 | esac | 11153 | esac |
11154 | ;; | 11154 | ;; |
11155 | 11155 | ||
11156 | bsdi[45]*) | 11156 | bsdi[45]*) |
11157 | export_dynamic_flag_spec=-rdynamic | 11157 | export_dynamic_flag_spec=-rdynamic |
11158 | ;; | 11158 | ;; |
11159 | 11159 | ||
11160 | cygwin* | mingw* | pw32* | cegcc*) | 11160 | cygwin* | mingw* | pw32* | cegcc*) |
11161 | # When not using gcc, we currently assume that we are using | 11161 | # When not using gcc, we currently assume that we are using |
11162 | # Microsoft Visual C++. | 11162 | # Microsoft Visual C++. |
11163 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 11163 | # hardcode_libdir_flag_spec is actually meaningless, as there is |
11164 | # no search path for DLLs. | 11164 | # no search path for DLLs. |
11165 | case $cc_basename in | 11165 | case $cc_basename in |
11166 | cl*) | 11166 | cl*) |
11167 | # Native MSVC | 11167 | # Native MSVC |
11168 | hardcode_libdir_flag_spec=' ' | 11168 | hardcode_libdir_flag_spec=' ' |
11169 | allow_undefined_flag=unsupported | 11169 | allow_undefined_flag=unsupported |
11170 | always_export_symbols=yes | 11170 | always_export_symbols=yes |
11171 | file_list_spec='@' | 11171 | file_list_spec='@' |
11172 | # Tell ltmain to make .lib files, not .a files. | 11172 | # Tell ltmain to make .lib files, not .a files. |
11173 | libext=lib | 11173 | libext=lib |
11174 | # Tell ltmain to make .dll files, not .so files. | 11174 | # Tell ltmain to make .dll files, not .so files. |
11175 | shrext_cmds=".dll" | 11175 | shrext_cmds=".dll" |
11176 | # FIXME: Setting linknames here is a bad hack. | 11176 | # FIXME: Setting linknames here is a bad hack. |
11177 | archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' | 11177 | archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' |
11178 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 11178 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then |
11179 | sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; | 11179 | sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; |
11180 | else | 11180 | else |
11181 | sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; | 11181 | sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; |
11182 | fi~ | 11182 | fi~ |
11183 | $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ | 11183 | $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ |
11184 | linknames=' | 11184 | linknames=' |
11185 | # The linker will not automatically build a static lib if we build a DLL. | 11185 | # The linker will not automatically build a static lib if we build a DLL. |
11186 | # _LT_TAGVAR(old_archive_from_new_cmds, )='true' | 11186 | # _LT_TAGVAR(old_archive_from_new_cmds, )='true' |
11187 | enable_shared_with_static_runtimes=yes | 11187 | enable_shared_with_static_runtimes=yes |
11188 | exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' | 11188 | exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*' |
11189 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' | 11189 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' |
11190 | # Don't use ranlib | 11190 | # Don't use ranlib |
11191 | old_postinstall_cmds='chmod 644 $oldlib' | 11191 | old_postinstall_cmds='chmod 644 $oldlib' |
11192 | postlink_cmds='lt_outputfile="@OUTPUT@"~ | 11192 | postlink_cmds='lt_outputfile="@OUTPUT@"~ |
11193 | lt_tool_outputfile="@TOOL_OUTPUT@"~ | 11193 | lt_tool_outputfile="@TOOL_OUTPUT@"~ |
11194 | case $lt_outputfile in | 11194 | case $lt_outputfile in |
11195 | *.exe|*.EXE) ;; | 11195 | *.exe|*.EXE) ;; |
11196 | *) | 11196 | *) |
11197 | lt_outputfile="$lt_outputfile.exe" | 11197 | lt_outputfile="$lt_outputfile.exe" |
11198 | lt_tool_outputfile="$lt_tool_outputfile.exe" | 11198 | lt_tool_outputfile="$lt_tool_outputfile.exe" |
11199 | ;; | 11199 | ;; |
11200 | esac~ | 11200 | esac~ |
11201 | if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then | 11201 | if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then |
11202 | $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; | 11202 | $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; |
11203 | $RM "$lt_outputfile.manifest"; | 11203 | $RM "$lt_outputfile.manifest"; |
11204 | fi' | 11204 | fi' |
11205 | ;; | 11205 | ;; |
11206 | *) | 11206 | *) |
11207 | # Assume MSVC wrapper | 11207 | # Assume MSVC wrapper |
11208 | hardcode_libdir_flag_spec=' ' | 11208 | hardcode_libdir_flag_spec=' ' |
11209 | allow_undefined_flag=unsupported | 11209 | allow_undefined_flag=unsupported |
11210 | # Tell ltmain to make .lib files, not .a files. | 11210 | # Tell ltmain to make .lib files, not .a files. |
11211 | libext=lib | 11211 | libext=lib |
11212 | # Tell ltmain to make .dll files, not .so files. | 11212 | # Tell ltmain to make .dll files, not .so files. |
11213 | shrext_cmds=".dll" | 11213 | shrext_cmds=".dll" |
11214 | # FIXME: Setting linknames here is a bad hack. | 11214 | # FIXME: Setting linknames here is a bad hack. |
11215 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | 11215 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' |
11216 | # The linker will automatically build a .lib file if we build a DLL. | 11216 | # The linker will automatically build a .lib file if we build a DLL. |
11217 | old_archive_from_new_cmds='true' | 11217 | old_archive_from_new_cmds='true' |
11218 | # FIXME: Should let the user specify the lib program. | 11218 | # FIXME: Should let the user specify the lib program. |
11219 | old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | 11219 | old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' |
11220 | enable_shared_with_static_runtimes=yes | 11220 | enable_shared_with_static_runtimes=yes |
11221 | ;; | 11221 | ;; |
11222 | esac | 11222 | esac |
11223 | ;; | 11223 | ;; |
11224 | 11224 | ||
11225 | darwin* | rhapsody*) | 11225 | darwin* | rhapsody*) |
11226 | 11226 | ||
11227 | 11227 | ||
11228 | archive_cmds_need_lc=no | 11228 | archive_cmds_need_lc=no |
11229 | hardcode_direct=no | 11229 | hardcode_direct=no |
11230 | hardcode_automatic=yes | 11230 | hardcode_automatic=yes |
11231 | hardcode_shlibpath_var=unsupported | 11231 | hardcode_shlibpath_var=unsupported |
11232 | if test "$lt_cv_ld_force_load" = "yes"; then | 11232 | if test "$lt_cv_ld_force_load" = "yes"; then |
11233 | whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' | 11233 | whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' |
11234 | 11234 | ||
11235 | else | 11235 | else |
11236 | whole_archive_flag_spec='' | 11236 | whole_archive_flag_spec='' |
11237 | fi | 11237 | fi |
11238 | link_all_deplibs=yes | 11238 | link_all_deplibs=yes |
11239 | allow_undefined_flag="$_lt_dar_allow_undefined" | 11239 | allow_undefined_flag="$_lt_dar_allow_undefined" |
11240 | case $cc_basename in | 11240 | case $cc_basename in |
11241 | ifort*) _lt_dar_can_shared=yes ;; | 11241 | ifort*) _lt_dar_can_shared=yes ;; |
11242 | *) _lt_dar_can_shared=$GCC ;; | 11242 | *) _lt_dar_can_shared=$GCC ;; |
11243 | esac | 11243 | esac |
11244 | if test "$_lt_dar_can_shared" = "yes"; then | 11244 | if test "$_lt_dar_can_shared" = "yes"; then |
11245 | output_verbose_link_cmd=func_echo_all | 11245 | output_verbose_link_cmd=func_echo_all |
11246 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" | 11246 | archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" |
11247 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" | 11247 | module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
11248 | archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" | 11248 | archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
11249 | module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" | 11249 | module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
11250 | 11250 | ||
11251 | else | 11251 | else |
11252 | ld_shlibs=no | 11252 | ld_shlibs=no |
11253 | fi | 11253 | fi |
11254 | 11254 | ||
11255 | ;; | 11255 | ;; |
11256 | 11256 | ||
11257 | dgux*) | 11257 | dgux*) |
11258 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11258 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11259 | hardcode_libdir_flag_spec='-L$libdir' | 11259 | hardcode_libdir_flag_spec='-L$libdir' |
11260 | hardcode_shlibpath_var=no | 11260 | hardcode_shlibpath_var=no |
11261 | ;; | 11261 | ;; |
11262 | 11262 | ||
11263 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 11263 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor |
11264 | # support. Future versions do this automatically, but an explicit c++rt0.o | 11264 | # support. Future versions do this automatically, but an explicit c++rt0.o |
11265 | # does not break anything, and helps significantly (at the cost of a little | 11265 | # does not break anything, and helps significantly (at the cost of a little |
11266 | # extra space). | 11266 | # extra space). |
11267 | freebsd2.2*) | 11267 | freebsd2.2*) |
11268 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 11268 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' |
11269 | hardcode_libdir_flag_spec='-R$libdir' | 11269 | hardcode_libdir_flag_spec='-R$libdir' |
11270 | hardcode_direct=yes | 11270 | hardcode_direct=yes |
11271 | hardcode_shlibpath_var=no | 11271 | hardcode_shlibpath_var=no |
11272 | ;; | 11272 | ;; |
11273 | 11273 | ||
11274 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 11274 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. |
11275 | freebsd2.*) | 11275 | freebsd2.*) |
11276 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 11276 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
11277 | hardcode_direct=yes | 11277 | hardcode_direct=yes |
11278 | hardcode_minus_L=yes | 11278 | hardcode_minus_L=yes |
11279 | hardcode_shlibpath_var=no | 11279 | hardcode_shlibpath_var=no |
11280 | ;; | 11280 | ;; |
11281 | 11281 | ||
11282 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 11282 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. |
11283 | freebsd* | dragonfly*) | 11283 | freebsd* | dragonfly*) |
11284 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 11284 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
11285 | hardcode_libdir_flag_spec='-R$libdir' | 11285 | hardcode_libdir_flag_spec='-R$libdir' |
11286 | hardcode_direct=yes | 11286 | hardcode_direct=yes |
11287 | hardcode_shlibpath_var=no | 11287 | hardcode_shlibpath_var=no |
11288 | ;; | 11288 | ;; |
11289 | 11289 | ||
11290 | hpux9*) | 11290 | hpux9*) |
11291 | if test "$GCC" = yes; then | 11291 | if test "$GCC" = yes; then |
11292 | archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 11292 | archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
11293 | else | 11293 | else |
11294 | archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 11294 | archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' |
11295 | fi | 11295 | fi |
11296 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 11296 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
11297 | hardcode_libdir_separator=: | 11297 | hardcode_libdir_separator=: |
11298 | hardcode_direct=yes | 11298 | hardcode_direct=yes |
11299 | 11299 | ||
11300 | # hardcode_minus_L: Not really in the search PATH, | 11300 | # hardcode_minus_L: Not really in the search PATH, |
11301 | # but as the default location of the library. | 11301 | # but as the default location of the library. |
11302 | hardcode_minus_L=yes | 11302 | hardcode_minus_L=yes |
11303 | export_dynamic_flag_spec='${wl}-E' | 11303 | export_dynamic_flag_spec='${wl}-E' |
11304 | ;; | 11304 | ;; |
11305 | 11305 | ||
11306 | hpux10*) | 11306 | hpux10*) |
11307 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | 11307 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
11308 | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 11308 | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
11309 | else | 11309 | else |
11310 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 11310 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
11311 | fi | 11311 | fi |
11312 | if test "$with_gnu_ld" = no; then | 11312 | if test "$with_gnu_ld" = no; then |
11313 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 11313 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
11314 | hardcode_libdir_separator=: | 11314 | hardcode_libdir_separator=: |
11315 | hardcode_direct=yes | 11315 | hardcode_direct=yes |
11316 | hardcode_direct_absolute=yes | 11316 | hardcode_direct_absolute=yes |
11317 | export_dynamic_flag_spec='${wl}-E' | 11317 | export_dynamic_flag_spec='${wl}-E' |
11318 | # hardcode_minus_L: Not really in the search PATH, | 11318 | # hardcode_minus_L: Not really in the search PATH, |
11319 | # but as the default location of the library. | 11319 | # but as the default location of the library. |
11320 | hardcode_minus_L=yes | 11320 | hardcode_minus_L=yes |
11321 | fi | 11321 | fi |
11322 | ;; | 11322 | ;; |
11323 | 11323 | ||
11324 | hpux11*) | 11324 | hpux11*) |
11325 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then | 11325 | if test "$GCC" = yes && test "$with_gnu_ld" = no; then |
11326 | case $host_cpu in | 11326 | case $host_cpu in |
11327 | hppa*64*) | 11327 | hppa*64*) |
11328 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 11328 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
11329 | ;; | 11329 | ;; |
11330 | ia64*) | 11330 | ia64*) |
11331 | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | 11331 | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
11332 | ;; | 11332 | ;; |
11333 | *) | 11333 | *) |
11334 | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 11334 | archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
11335 | ;; | 11335 | ;; |
11336 | esac | 11336 | esac |
11337 | else | 11337 | else |
11338 | case $host_cpu in | 11338 | case $host_cpu in |
11339 | hppa*64*) | 11339 | hppa*64*) |
11340 | archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 11340 | archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
11341 | ;; | 11341 | ;; |
11342 | ia64*) | 11342 | ia64*) |
11343 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | 11343 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' |
11344 | ;; | 11344 | ;; |
11345 | *) | 11345 | *) |
11346 | 11346 | ||
11347 | # Older versions of the 11.00 compiler do not understand -b yet | 11347 | # Older versions of the 11.00 compiler do not understand -b yet |
11348 | # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) | 11348 | # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) |
11349 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 | 11349 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 |
11350 | $as_echo_n "checking if $CC understands -b... " >&6; } | 11350 | $as_echo_n "checking if $CC understands -b... " >&6; } |
11351 | if ${lt_cv_prog_compiler__b+:} false; then : | 11351 | if ${lt_cv_prog_compiler__b+:} false; then : |
11352 | $as_echo_n "(cached) " >&6 | 11352 | $as_echo_n "(cached) " >&6 |
11353 | else | 11353 | else |
11354 | lt_cv_prog_compiler__b=no | 11354 | lt_cv_prog_compiler__b=no |
11355 | save_LDFLAGS="$LDFLAGS" | 11355 | save_LDFLAGS="$LDFLAGS" |
11356 | LDFLAGS="$LDFLAGS -b" | 11356 | LDFLAGS="$LDFLAGS -b" |
11357 | echo "$lt_simple_link_test_code" > conftest.$ac_ext | 11357 | echo "$lt_simple_link_test_code" > conftest.$ac_ext |
11358 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 11358 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then |
11359 | # The linker can only warn and ignore the option if not recognized | 11359 | # The linker can only warn and ignore the option if not recognized |
11360 | # So say no if there are warnings | 11360 | # So say no if there are warnings |
11361 | if test -s conftest.err; then | 11361 | if test -s conftest.err; then |
11362 | # Append any errors to the config.log. | 11362 | # Append any errors to the config.log. |
11363 | cat conftest.err 1>&5 | 11363 | cat conftest.err 1>&5 |
11364 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 11364 | $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp |
11365 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 11365 | $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
11366 | if diff conftest.exp conftest.er2 >/dev/null; then | 11366 | if diff conftest.exp conftest.er2 >/dev/null; then |
11367 | lt_cv_prog_compiler__b=yes | 11367 | lt_cv_prog_compiler__b=yes |
11368 | fi | 11368 | fi |
11369 | else | 11369 | else |
11370 | lt_cv_prog_compiler__b=yes | 11370 | lt_cv_prog_compiler__b=yes |
11371 | fi | 11371 | fi |
11372 | fi | 11372 | fi |
11373 | $RM -r conftest* | 11373 | $RM -r conftest* |
11374 | LDFLAGS="$save_LDFLAGS" | 11374 | LDFLAGS="$save_LDFLAGS" |
11375 | 11375 | ||
11376 | fi | 11376 | fi |
11377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 | 11377 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 |
11378 | $as_echo "$lt_cv_prog_compiler__b" >&6; } | 11378 | $as_echo "$lt_cv_prog_compiler__b" >&6; } |
11379 | 11379 | ||
11380 | if test x"$lt_cv_prog_compiler__b" = xyes; then | 11380 | if test x"$lt_cv_prog_compiler__b" = xyes; then |
11381 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 11381 | archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' |
11382 | else | 11382 | else |
11383 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 11383 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' |
11384 | fi | 11384 | fi |
11385 | 11385 | ||
11386 | ;; | 11386 | ;; |
11387 | esac | 11387 | esac |
11388 | fi | 11388 | fi |
11389 | if test "$with_gnu_ld" = no; then | 11389 | if test "$with_gnu_ld" = no; then |
11390 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 11390 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' |
11391 | hardcode_libdir_separator=: | 11391 | hardcode_libdir_separator=: |
11392 | 11392 | ||
11393 | case $host_cpu in | 11393 | case $host_cpu in |
11394 | hppa*64*|ia64*) | 11394 | hppa*64*|ia64*) |
11395 | hardcode_direct=no | 11395 | hardcode_direct=no |
11396 | hardcode_shlibpath_var=no | 11396 | hardcode_shlibpath_var=no |
11397 | ;; | 11397 | ;; |
11398 | *) | 11398 | *) |
11399 | hardcode_direct=yes | 11399 | hardcode_direct=yes |
11400 | hardcode_direct_absolute=yes | 11400 | hardcode_direct_absolute=yes |
11401 | export_dynamic_flag_spec='${wl}-E' | 11401 | export_dynamic_flag_spec='${wl}-E' |
11402 | 11402 | ||
11403 | # hardcode_minus_L: Not really in the search PATH, | 11403 | # hardcode_minus_L: Not really in the search PATH, |
11404 | # but as the default location of the library. | 11404 | # but as the default location of the library. |
11405 | hardcode_minus_L=yes | 11405 | hardcode_minus_L=yes |
11406 | ;; | 11406 | ;; |
11407 | esac | 11407 | esac |
11408 | fi | 11408 | fi |
11409 | ;; | 11409 | ;; |
11410 | 11410 | ||
11411 | irix5* | irix6* | nonstopux*) | 11411 | irix5* | irix6* | nonstopux*) |
11412 | if test "$GCC" = yes; then | 11412 | if test "$GCC" = yes; then |
11413 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 11413 | archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
11414 | # Try to use the -exported_symbol ld option, if it does not | 11414 | # Try to use the -exported_symbol ld option, if it does not |
11415 | # work, assume that -exports_file does not work either and | 11415 | # work, assume that -exports_file does not work either and |
11416 | # implicitly export all symbols. | 11416 | # implicitly export all symbols. |
11417 | # This should be the same for all languages, so no per-tag cache variable. | 11417 | # This should be the same for all languages, so no per-tag cache variable. |
11418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 | 11418 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 |
11419 | $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } | 11419 | $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } |
11420 | if ${lt_cv_irix_exported_symbol+:} false; then : | 11420 | if ${lt_cv_irix_exported_symbol+:} false; then : |
11421 | $as_echo_n "(cached) " >&6 | 11421 | $as_echo_n "(cached) " >&6 |
11422 | else | 11422 | else |
11423 | save_LDFLAGS="$LDFLAGS" | 11423 | save_LDFLAGS="$LDFLAGS" |
11424 | LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" | 11424 | LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" |
11425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 11425 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
11426 | /* end confdefs.h. */ | 11426 | /* end confdefs.h. */ |
11427 | int foo (void) { return 0; } | 11427 | int foo (void) { return 0; } |
11428 | _ACEOF | 11428 | _ACEOF |
11429 | if ac_fn_c_try_link "$LINENO"; then : | 11429 | if ac_fn_c_try_link "$LINENO"; then : |
11430 | lt_cv_irix_exported_symbol=yes | 11430 | lt_cv_irix_exported_symbol=yes |
11431 | else | 11431 | else |
11432 | lt_cv_irix_exported_symbol=no | 11432 | lt_cv_irix_exported_symbol=no |
11433 | fi | 11433 | fi |
11434 | rm -f core conftest.err conftest.$ac_objext \ | 11434 | rm -f core conftest.err conftest.$ac_objext \ |
11435 | conftest$ac_exeext conftest.$ac_ext | 11435 | conftest$ac_exeext conftest.$ac_ext |
11436 | LDFLAGS="$save_LDFLAGS" | 11436 | LDFLAGS="$save_LDFLAGS" |
11437 | fi | 11437 | fi |
11438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 | 11438 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 |
11439 | $as_echo "$lt_cv_irix_exported_symbol" >&6; } | 11439 | $as_echo "$lt_cv_irix_exported_symbol" >&6; } |
11440 | if test "$lt_cv_irix_exported_symbol" = yes; then | 11440 | if test "$lt_cv_irix_exported_symbol" = yes; then |
11441 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' | 11441 | archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' |
11442 | fi | 11442 | fi |
11443 | else | 11443 | else |
11444 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 11444 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
11445 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' | 11445 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' |
11446 | fi | 11446 | fi |
11447 | archive_cmds_need_lc='no' | 11447 | archive_cmds_need_lc='no' |
11448 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11448 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
11449 | hardcode_libdir_separator=: | 11449 | hardcode_libdir_separator=: |
11450 | inherit_rpath=yes | 11450 | inherit_rpath=yes |
11451 | link_all_deplibs=yes | 11451 | link_all_deplibs=yes |
11452 | ;; | 11452 | ;; |
11453 | 11453 | ||
11454 | netbsd*) | 11454 | netbsd*) |
11455 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 11455 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
11456 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out | 11456 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out |
11457 | else | 11457 | else |
11458 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF | 11458 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF |
11459 | fi | 11459 | fi |
11460 | hardcode_libdir_flag_spec='-R$libdir' | 11460 | hardcode_libdir_flag_spec='-R$libdir' |
11461 | hardcode_direct=yes | 11461 | hardcode_direct=yes |
11462 | hardcode_shlibpath_var=no | 11462 | hardcode_shlibpath_var=no |
11463 | ;; | 11463 | ;; |
11464 | 11464 | ||
11465 | newsos6) | 11465 | newsos6) |
11466 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11466 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11467 | hardcode_direct=yes | 11467 | hardcode_direct=yes |
11468 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11468 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
11469 | hardcode_libdir_separator=: | 11469 | hardcode_libdir_separator=: |
11470 | hardcode_shlibpath_var=no | 11470 | hardcode_shlibpath_var=no |
11471 | ;; | 11471 | ;; |
11472 | 11472 | ||
11473 | *nto* | *qnx*) | 11473 | *nto* | *qnx*) |
11474 | ;; | 11474 | ;; |
11475 | 11475 | ||
11476 | openbsd*) | 11476 | openbsd*) |
11477 | if test -f /usr/libexec/ld.so; then | 11477 | if test -f /usr/libexec/ld.so; then |
11478 | hardcode_direct=yes | 11478 | hardcode_direct=yes |
11479 | hardcode_shlibpath_var=no | 11479 | hardcode_shlibpath_var=no |
11480 | hardcode_direct_absolute=yes | 11480 | hardcode_direct_absolute=yes |
11481 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 11481 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
11482 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 11482 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
11483 | archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | 11483 | archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' |
11484 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 11484 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
11485 | export_dynamic_flag_spec='${wl}-E' | 11485 | export_dynamic_flag_spec='${wl}-E' |
11486 | else | 11486 | else |
11487 | case $host_os in | 11487 | case $host_os in |
11488 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 11488 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) |
11489 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 11489 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' |
11490 | hardcode_libdir_flag_spec='-R$libdir' | 11490 | hardcode_libdir_flag_spec='-R$libdir' |
11491 | ;; | 11491 | ;; |
11492 | *) | 11492 | *) |
11493 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 11493 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' |
11494 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 11494 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' |
11495 | ;; | 11495 | ;; |
11496 | esac | 11496 | esac |
11497 | fi | 11497 | fi |
11498 | else | 11498 | else |
11499 | ld_shlibs=no | 11499 | ld_shlibs=no |
11500 | fi | 11500 | fi |
11501 | ;; | 11501 | ;; |
11502 | 11502 | ||
11503 | os2*) | 11503 | os2*) |
11504 | hardcode_libdir_flag_spec='-L$libdir' | 11504 | hardcode_libdir_flag_spec='-L$libdir' |
11505 | hardcode_minus_L=yes | 11505 | hardcode_minus_L=yes |
11506 | allow_undefined_flag=unsupported | 11506 | allow_undefined_flag=unsupported |
11507 | archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' | 11507 | archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def' |
11508 | old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 11508 | old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' |
11509 | ;; | 11509 | ;; |
11510 | 11510 | ||
11511 | osf3*) | 11511 | osf3*) |
11512 | if test "$GCC" = yes; then | 11512 | if test "$GCC" = yes; then |
11513 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 11513 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
11514 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 11514 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
11515 | else | 11515 | else |
11516 | allow_undefined_flag=' -expect_unresolved \*' | 11516 | allow_undefined_flag=' -expect_unresolved \*' |
11517 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 11517 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
11518 | fi | 11518 | fi |
11519 | archive_cmds_need_lc='no' | 11519 | archive_cmds_need_lc='no' |
11520 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11520 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
11521 | hardcode_libdir_separator=: | 11521 | hardcode_libdir_separator=: |
11522 | ;; | 11522 | ;; |
11523 | 11523 | ||
11524 | osf4* | osf5*) # as osf3* with the addition of -msym flag | 11524 | osf4* | osf5*) # as osf3* with the addition of -msym flag |
11525 | if test "$GCC" = yes; then | 11525 | if test "$GCC" = yes; then |
11526 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 11526 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' |
11527 | archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 11527 | archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' |
11528 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 11528 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' |
11529 | else | 11529 | else |
11530 | allow_undefined_flag=' -expect_unresolved \*' | 11530 | allow_undefined_flag=' -expect_unresolved \*' |
11531 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 11531 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' |
11532 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ | 11532 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ |
11533 | $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' | 11533 | $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' |
11534 | 11534 | ||
11535 | # Both c and cxx compiler support -rpath directly | 11535 | # Both c and cxx compiler support -rpath directly |
11536 | hardcode_libdir_flag_spec='-rpath $libdir' | 11536 | hardcode_libdir_flag_spec='-rpath $libdir' |
11537 | fi | 11537 | fi |
11538 | archive_cmds_need_lc='no' | 11538 | archive_cmds_need_lc='no' |
11539 | hardcode_libdir_separator=: | 11539 | hardcode_libdir_separator=: |
11540 | ;; | 11540 | ;; |
11541 | 11541 | ||
11542 | solaris*) | 11542 | solaris*) |
11543 | no_undefined_flag=' -z defs' | 11543 | no_undefined_flag=' -z defs' |
11544 | if test "$GCC" = yes; then | 11544 | if test "$GCC" = yes; then |
11545 | wlarc='${wl}' | 11545 | wlarc='${wl}' |
11546 | archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 11546 | archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' |
11547 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 11547 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
11548 | $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | 11548 | $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
11549 | else | 11549 | else |
11550 | case `$CC -V 2>&1` in | 11550 | case `$CC -V 2>&1` in |
11551 | *"Compilers 5.0"*) | 11551 | *"Compilers 5.0"*) |
11552 | wlarc='' | 11552 | wlarc='' |
11553 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11553 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11554 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 11554 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
11555 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' | 11555 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' |
11556 | ;; | 11556 | ;; |
11557 | *) | 11557 | *) |
11558 | wlarc='${wl}' | 11558 | wlarc='${wl}' |
11559 | archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' | 11559 | archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' |
11560 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 11560 | archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ |
11561 | $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | 11561 | $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' |
11562 | ;; | 11562 | ;; |
11563 | esac | 11563 | esac |
11564 | fi | 11564 | fi |
11565 | hardcode_libdir_flag_spec='-R$libdir' | 11565 | hardcode_libdir_flag_spec='-R$libdir' |
11566 | hardcode_shlibpath_var=no | 11566 | hardcode_shlibpath_var=no |
11567 | case $host_os in | 11567 | case $host_os in |
11568 | solaris2.[0-5] | solaris2.[0-5].*) ;; | 11568 | solaris2.[0-5] | solaris2.[0-5].*) ;; |
11569 | *) | 11569 | *) |
11570 | # The compiler driver will combine and reorder linker options, | 11570 | # The compiler driver will combine and reorder linker options, |
11571 | # but understands `-z linker_flag'. GCC discards it without `$wl', | 11571 | # but understands `-z linker_flag'. GCC discards it without `$wl', |
11572 | # but is careful enough not to reorder. | 11572 | # but is careful enough not to reorder. |
11573 | # Supported since Solaris 2.6 (maybe 2.5.1?) | 11573 | # Supported since Solaris 2.6 (maybe 2.5.1?) |
11574 | if test "$GCC" = yes; then | 11574 | if test "$GCC" = yes; then |
11575 | whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 11575 | whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' |
11576 | else | 11576 | else |
11577 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' | 11577 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' |
11578 | fi | 11578 | fi |
11579 | ;; | 11579 | ;; |
11580 | esac | 11580 | esac |
11581 | link_all_deplibs=yes | 11581 | link_all_deplibs=yes |
11582 | ;; | 11582 | ;; |
11583 | 11583 | ||
11584 | sunos4*) | 11584 | sunos4*) |
11585 | if test "x$host_vendor" = xsequent; then | 11585 | if test "x$host_vendor" = xsequent; then |
11586 | # Use $CC to link under sequent, because it throws in some extra .o | 11586 | # Use $CC to link under sequent, because it throws in some extra .o |
11587 | # files that make .init and .fini sections work. | 11587 | # files that make .init and .fini sections work. |
11588 | archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 11588 | archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' |
11589 | else | 11589 | else |
11590 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 11590 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' |
11591 | fi | 11591 | fi |
11592 | hardcode_libdir_flag_spec='-L$libdir' | 11592 | hardcode_libdir_flag_spec='-L$libdir' |
11593 | hardcode_direct=yes | 11593 | hardcode_direct=yes |
11594 | hardcode_minus_L=yes | 11594 | hardcode_minus_L=yes |
11595 | hardcode_shlibpath_var=no | 11595 | hardcode_shlibpath_var=no |
11596 | ;; | 11596 | ;; |
11597 | 11597 | ||
11598 | sysv4) | 11598 | sysv4) |
11599 | case $host_vendor in | 11599 | case $host_vendor in |
11600 | sni) | 11600 | sni) |
11601 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11601 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11602 | hardcode_direct=yes # is this really true??? | 11602 | hardcode_direct=yes # is this really true??? |
11603 | ;; | 11603 | ;; |
11604 | siemens) | 11604 | siemens) |
11605 | ## LD is ld it makes a PLAMLIB | 11605 | ## LD is ld it makes a PLAMLIB |
11606 | ## CC just makes a GrossModule. | 11606 | ## CC just makes a GrossModule. |
11607 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 11607 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' |
11608 | reload_cmds='$CC -r -o $output$reload_objs' | 11608 | reload_cmds='$CC -r -o $output$reload_objs' |
11609 | hardcode_direct=no | 11609 | hardcode_direct=no |
11610 | ;; | 11610 | ;; |
11611 | motorola) | 11611 | motorola) |
11612 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11612 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11613 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 11613 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie |
11614 | ;; | 11614 | ;; |
11615 | esac | 11615 | esac |
11616 | runpath_var='LD_RUN_PATH' | 11616 | runpath_var='LD_RUN_PATH' |
11617 | hardcode_shlibpath_var=no | 11617 | hardcode_shlibpath_var=no |
11618 | ;; | 11618 | ;; |
11619 | 11619 | ||
11620 | sysv4.3*) | 11620 | sysv4.3*) |
11621 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11621 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11622 | hardcode_shlibpath_var=no | 11622 | hardcode_shlibpath_var=no |
11623 | export_dynamic_flag_spec='-Bexport' | 11623 | export_dynamic_flag_spec='-Bexport' |
11624 | ;; | 11624 | ;; |
11625 | 11625 | ||
11626 | sysv4*MP*) | 11626 | sysv4*MP*) |
11627 | if test -d /usr/nec; then | 11627 | if test -d /usr/nec; then |
11628 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11628 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11629 | hardcode_shlibpath_var=no | 11629 | hardcode_shlibpath_var=no |
11630 | runpath_var=LD_RUN_PATH | 11630 | runpath_var=LD_RUN_PATH |
11631 | hardcode_runpath_var=yes | 11631 | hardcode_runpath_var=yes |
11632 | ld_shlibs=yes | 11632 | ld_shlibs=yes |
11633 | fi | 11633 | fi |
11634 | ;; | 11634 | ;; |
11635 | 11635 | ||
11636 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | 11636 | sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) |
11637 | no_undefined_flag='${wl}-z,text' | 11637 | no_undefined_flag='${wl}-z,text' |
11638 | archive_cmds_need_lc=no | 11638 | archive_cmds_need_lc=no |
11639 | hardcode_shlibpath_var=no | 11639 | hardcode_shlibpath_var=no |
11640 | runpath_var='LD_RUN_PATH' | 11640 | runpath_var='LD_RUN_PATH' |
11641 | 11641 | ||
11642 | if test "$GCC" = yes; then | 11642 | if test "$GCC" = yes; then |
11643 | archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11643 | archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11644 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11644 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11645 | else | 11645 | else |
11646 | archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11646 | archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11647 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11647 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11648 | fi | 11648 | fi |
11649 | ;; | 11649 | ;; |
11650 | 11650 | ||
11651 | sysv5* | sco3.2v5* | sco5v6*) | 11651 | sysv5* | sco3.2v5* | sco5v6*) |
11652 | # Note: We can NOT use -z defs as we might desire, because we do not | 11652 | # Note: We can NOT use -z defs as we might desire, because we do not |
11653 | # link with -lc, and that would cause any symbols used from libc to | 11653 | # link with -lc, and that would cause any symbols used from libc to |
11654 | # always be unresolved, which means just about no library would | 11654 | # always be unresolved, which means just about no library would |
11655 | # ever link correctly. If we're not using GNU ld we use -z text | 11655 | # ever link correctly. If we're not using GNU ld we use -z text |
11656 | # though, which does catch some bad symbols but isn't as heavy-handed | 11656 | # though, which does catch some bad symbols but isn't as heavy-handed |
11657 | # as -z defs. | 11657 | # as -z defs. |
11658 | no_undefined_flag='${wl}-z,text' | 11658 | no_undefined_flag='${wl}-z,text' |
11659 | allow_undefined_flag='${wl}-z,nodefs' | 11659 | allow_undefined_flag='${wl}-z,nodefs' |
11660 | archive_cmds_need_lc=no | 11660 | archive_cmds_need_lc=no |
11661 | hardcode_shlibpath_var=no | 11661 | hardcode_shlibpath_var=no |
11662 | hardcode_libdir_flag_spec='${wl}-R,$libdir' | 11662 | hardcode_libdir_flag_spec='${wl}-R,$libdir' |
11663 | hardcode_libdir_separator=':' | 11663 | hardcode_libdir_separator=':' |
11664 | link_all_deplibs=yes | 11664 | link_all_deplibs=yes |
11665 | export_dynamic_flag_spec='${wl}-Bexport' | 11665 | export_dynamic_flag_spec='${wl}-Bexport' |
11666 | runpath_var='LD_RUN_PATH' | 11666 | runpath_var='LD_RUN_PATH' |
11667 | 11667 | ||
11668 | if test "$GCC" = yes; then | 11668 | if test "$GCC" = yes; then |
11669 | archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11669 | archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11670 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11670 | archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11671 | else | 11671 | else |
11672 | archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11672 | archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11673 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 11673 | archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' |
11674 | fi | 11674 | fi |
11675 | ;; | 11675 | ;; |
11676 | 11676 | ||
11677 | uts4*) | 11677 | uts4*) |
11678 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 11678 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' |
11679 | hardcode_libdir_flag_spec='-L$libdir' | 11679 | hardcode_libdir_flag_spec='-L$libdir' |
11680 | hardcode_shlibpath_var=no | 11680 | hardcode_shlibpath_var=no |
11681 | ;; | 11681 | ;; |
11682 | 11682 | ||
11683 | *) | 11683 | *) |
11684 | ld_shlibs=no | 11684 | ld_shlibs=no |
11685 | ;; | 11685 | ;; |
11686 | esac | 11686 | esac |
11687 | 11687 | ||
11688 | if test x$host_vendor = xsni; then | 11688 | if test x$host_vendor = xsni; then |
11689 | case $host in | 11689 | case $host in |
11690 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 11690 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) |
11691 | export_dynamic_flag_spec='${wl}-Blargedynsym' | 11691 | export_dynamic_flag_spec='${wl}-Blargedynsym' |
11692 | ;; | 11692 | ;; |
11693 | esac | 11693 | esac |
11694 | fi | 11694 | fi |
11695 | fi | 11695 | fi |
11696 | 11696 | ||
11697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 | 11697 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 |
11698 | $as_echo "$ld_shlibs" >&6; } | 11698 | $as_echo "$ld_shlibs" >&6; } |
11699 | test "$ld_shlibs" = no && can_build_shared=no | 11699 | test "$ld_shlibs" = no && can_build_shared=no |
11700 | 11700 | ||
11701 | with_gnu_ld=$with_gnu_ld | 11701 | with_gnu_ld=$with_gnu_ld |
11702 | 11702 | ||
11703 | 11703 | ||
11704 | 11704 | ||
11705 | 11705 | ||
11706 | 11706 | ||
11707 | 11707 | ||
11708 | 11708 | ||
11709 | 11709 | ||
11710 | 11710 | ||
11711 | 11711 | ||
11712 | 11712 | ||
11713 | 11713 | ||
11714 | 11714 | ||
11715 | 11715 | ||
11716 | 11716 | ||
11717 | # | 11717 | # |
11718 | # Do we need to explicitly link libc? | 11718 | # Do we need to explicitly link libc? |
11719 | # | 11719 | # |
11720 | case "x$archive_cmds_need_lc" in | 11720 | case "x$archive_cmds_need_lc" in |
11721 | x|xyes) | 11721 | x|xyes) |
11722 | # Assume -lc should be added | 11722 | # Assume -lc should be added |
11723 | archive_cmds_need_lc=yes | 11723 | archive_cmds_need_lc=yes |
11724 | 11724 | ||
11725 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 11725 | if test "$enable_shared" = yes && test "$GCC" = yes; then |
11726 | case $archive_cmds in | 11726 | case $archive_cmds in |
11727 | *'~'*) | 11727 | *'~'*) |
11728 | # FIXME: we may have to deal with multi-command sequences. | 11728 | # FIXME: we may have to deal with multi-command sequences. |
11729 | ;; | 11729 | ;; |
11730 | '$CC '*) | 11730 | '$CC '*) |
11731 | # Test whether the compiler implicitly links with -lc since on some | 11731 | # Test whether the compiler implicitly links with -lc since on some |
11732 | # systems, -lgcc has to come before -lc. If gcc already passes -lc | 11732 | # systems, -lgcc has to come before -lc. If gcc already passes -lc |
11733 | # to ld, don't add -lc before -lgcc. | 11733 | # to ld, don't add -lc before -lgcc. |
11734 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 | 11734 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 |
11735 | $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | 11735 | $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } |
11736 | if ${lt_cv_archive_cmds_need_lc+:} false; then : | 11736 | if ${lt_cv_archive_cmds_need_lc+:} false; then : |
11737 | $as_echo_n "(cached) " >&6 | 11737 | $as_echo_n "(cached) " >&6 |
11738 | else | 11738 | else |
11739 | $RM conftest* | 11739 | $RM conftest* |
11740 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 11740 | echo "$lt_simple_compile_test_code" > conftest.$ac_ext |
11741 | 11741 | ||
11742 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 11742 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
11743 | (eval $ac_compile) 2>&5 | 11743 | (eval $ac_compile) 2>&5 |
11744 | ac_status=$? | 11744 | ac_status=$? |
11745 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 11745 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11746 | test $ac_status = 0; } 2>conftest.err; then | 11746 | test $ac_status = 0; } 2>conftest.err; then |
11747 | soname=conftest | 11747 | soname=conftest |
11748 | lib=conftest | 11748 | lib=conftest |
11749 | libobjs=conftest.$ac_objext | 11749 | libobjs=conftest.$ac_objext |
11750 | deplibs= | 11750 | deplibs= |
11751 | wl=$lt_prog_compiler_wl | 11751 | wl=$lt_prog_compiler_wl |
11752 | pic_flag=$lt_prog_compiler_pic | 11752 | pic_flag=$lt_prog_compiler_pic |
11753 | compiler_flags=-v | 11753 | compiler_flags=-v |
11754 | linker_flags=-v | 11754 | linker_flags=-v |
11755 | verstring= | 11755 | verstring= |
11756 | output_objdir=. | 11756 | output_objdir=. |
11757 | libname=conftest | 11757 | libname=conftest |
11758 | lt_save_allow_undefined_flag=$allow_undefined_flag | 11758 | lt_save_allow_undefined_flag=$allow_undefined_flag |
11759 | allow_undefined_flag= | 11759 | allow_undefined_flag= |
11760 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | 11760 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 |
11761 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 11761 | (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 |
11762 | ac_status=$? | 11762 | ac_status=$? |
11763 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 11763 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
11764 | test $ac_status = 0; } | 11764 | test $ac_status = 0; } |
11765 | then | 11765 | then |
11766 | lt_cv_archive_cmds_need_lc=no | 11766 | lt_cv_archive_cmds_need_lc=no |
11767 | else | 11767 | else |
11768 | lt_cv_archive_cmds_need_lc=yes | 11768 | lt_cv_archive_cmds_need_lc=yes |
11769 | fi | 11769 | fi |
11770 | allow_undefined_flag=$lt_save_allow_undefined_flag | 11770 | allow_undefined_flag=$lt_save_allow_undefined_flag |
11771 | else | 11771 | else |
11772 | cat conftest.err 1>&5 | 11772 | cat conftest.err 1>&5 |
11773 | fi | 11773 | fi |
11774 | $RM conftest* | 11774 | $RM conftest* |
11775 | 11775 | ||
11776 | fi | 11776 | fi |
11777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 | 11777 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 |
11778 | $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } | 11778 | $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } |
11779 | archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc | 11779 | archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc |
11780 | ;; | 11780 | ;; |
11781 | esac | 11781 | esac |
11782 | fi | 11782 | fi |
11783 | ;; | 11783 | ;; |
11784 | esac | 11784 | esac |
11785 | 11785 | ||
11786 | 11786 | ||
11787 | 11787 | ||
11788 | 11788 | ||
11789 | 11789 | ||
11790 | 11790 | ||
11791 | 11791 | ||
11792 | 11792 | ||
11793 | 11793 | ||
11794 | 11794 | ||
11795 | 11795 | ||
11796 | 11796 | ||
11797 | 11797 | ||
11798 | 11798 | ||
11799 | 11799 | ||
11800 | 11800 | ||
11801 | 11801 | ||
11802 | 11802 | ||
11803 | 11803 | ||
11804 | 11804 | ||
11805 | 11805 | ||
11806 | 11806 | ||
11807 | 11807 | ||
11808 | 11808 | ||
11809 | 11809 | ||
11810 | 11810 | ||
11811 | 11811 | ||
11812 | 11812 | ||
11813 | 11813 | ||
11814 | 11814 | ||
11815 | 11815 | ||
11816 | 11816 | ||
11817 | 11817 | ||
11818 | 11818 | ||
11819 | 11819 | ||
11820 | 11820 | ||
11821 | 11821 | ||
11822 | 11822 | ||
11823 | 11823 | ||
11824 | 11824 | ||
11825 | 11825 | ||
11826 | 11826 | ||
11827 | 11827 | ||
11828 | 11828 | ||
11829 | 11829 | ||
11830 | 11830 | ||
11831 | 11831 | ||
11832 | 11832 | ||
11833 | 11833 | ||
11834 | 11834 | ||
11835 | 11835 | ||
11836 | 11836 | ||
11837 | 11837 | ||
11838 | 11838 | ||
11839 | 11839 | ||
11840 | 11840 | ||
11841 | 11841 | ||
11842 | 11842 | ||
11843 | 11843 | ||
11844 | 11844 | ||
11845 | 11845 | ||
11846 | 11846 | ||
11847 | 11847 | ||
11848 | 11848 | ||
11849 | 11849 | ||
11850 | 11850 | ||
11851 | 11851 | ||
11852 | 11852 | ||
11853 | 11853 | ||
11854 | 11854 | ||
11855 | 11855 | ||
11856 | 11856 | ||
11857 | 11857 | ||
11858 | 11858 | ||
11859 | 11859 | ||
11860 | 11860 | ||
11861 | 11861 | ||
11862 | 11862 | ||
11863 | 11863 | ||
11864 | 11864 | ||
11865 | 11865 | ||
11866 | 11866 | ||
11867 | 11867 | ||
11868 | 11868 | ||
11869 | 11869 | ||
11870 | 11870 | ||
11871 | 11871 | ||
11872 | 11872 | ||
11873 | 11873 | ||
11874 | 11874 | ||
11875 | 11875 | ||
11876 | 11876 | ||
11877 | 11877 | ||
11878 | 11878 | ||
11879 | 11879 | ||
11880 | 11880 | ||
11881 | 11881 | ||
11882 | 11882 | ||
11883 | 11883 | ||
11884 | 11884 | ||
11885 | 11885 | ||
11886 | 11886 | ||
11887 | 11887 | ||
11888 | 11888 | ||
11889 | 11889 | ||
11890 | 11890 | ||
11891 | 11891 | ||
11892 | 11892 | ||
11893 | 11893 | ||
11894 | 11894 | ||
11895 | 11895 | ||
11896 | 11896 | ||
11897 | 11897 | ||
11898 | 11898 | ||
11899 | 11899 | ||
11900 | 11900 | ||
11901 | 11901 | ||
11902 | 11902 | ||
11903 | 11903 | ||
11904 | 11904 | ||
11905 | 11905 | ||
11906 | 11906 | ||
11907 | 11907 | ||
11908 | 11908 | ||
11909 | 11909 | ||
11910 | 11910 | ||
11911 | 11911 | ||
11912 | 11912 | ||
11913 | 11913 | ||
11914 | 11914 | ||
11915 | 11915 | ||
11916 | 11916 | ||
11917 | 11917 | ||
11918 | 11918 | ||
11919 | 11919 | ||
11920 | 11920 | ||
11921 | 11921 | ||
11922 | 11922 | ||
11923 | 11923 | ||
11924 | 11924 | ||
11925 | 11925 | ||
11926 | 11926 | ||
11927 | 11927 | ||
11928 | 11928 | ||
11929 | 11929 | ||
11930 | 11930 | ||
11931 | 11931 | ||
11932 | 11932 | ||
11933 | 11933 | ||
11934 | 11934 | ||
11935 | 11935 | ||
11936 | 11936 | ||
11937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 | 11937 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 |
11938 | $as_echo_n "checking dynamic linker characteristics... " >&6; } | 11938 | $as_echo_n "checking dynamic linker characteristics... " >&6; } |
11939 | 11939 | ||
11940 | if test "$GCC" = yes; then | 11940 | if test "$GCC" = yes; then |
11941 | case $host_os in | 11941 | case $host_os in |
11942 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; | 11942 | darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; |
11943 | *) lt_awk_arg="/^libraries:/" ;; | 11943 | *) lt_awk_arg="/^libraries:/" ;; |
11944 | esac | 11944 | esac |
11945 | case $host_os in | 11945 | case $host_os in |
11946 | mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; | 11946 | mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; |
11947 | *) lt_sed_strip_eq="s,=/,/,g" ;; | 11947 | *) lt_sed_strip_eq="s,=/,/,g" ;; |
11948 | esac | 11948 | esac |
11949 | lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` | 11949 | lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` |
11950 | case $lt_search_path_spec in | 11950 | case $lt_search_path_spec in |
11951 | *\;*) | 11951 | *\;*) |
11952 | # if the path contains ";" then we assume it to be the separator | 11952 | # if the path contains ";" then we assume it to be the separator |
11953 | # otherwise default to the standard path separator (i.e. ":") - it is | 11953 | # otherwise default to the standard path separator (i.e. ":") - it is |
11954 | # assumed that no part of a normal pathname contains ";" but that should | 11954 | # assumed that no part of a normal pathname contains ";" but that should |
11955 | # okay in the real world where ";" in dirpaths is itself problematic. | 11955 | # okay in the real world where ";" in dirpaths is itself problematic. |
11956 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | 11956 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` |
11957 | ;; | 11957 | ;; |
11958 | *) | 11958 | *) |
11959 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` | 11959 | lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` |
11960 | ;; | 11960 | ;; |
11961 | esac | 11961 | esac |
11962 | # Ok, now we have the path, separated by spaces, we can step through it | 11962 | # Ok, now we have the path, separated by spaces, we can step through it |
11963 | # and add multilib dir if necessary. | 11963 | # and add multilib dir if necessary. |
11964 | lt_tmp_lt_search_path_spec= | 11964 | lt_tmp_lt_search_path_spec= |
11965 | lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` | 11965 | lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` |
11966 | for lt_sys_path in $lt_search_path_spec; do | 11966 | for lt_sys_path in $lt_search_path_spec; do |
11967 | if test -d "$lt_sys_path/$lt_multi_os_dir"; then | 11967 | if test -d "$lt_sys_path/$lt_multi_os_dir"; then |
11968 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" | 11968 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" |
11969 | else | 11969 | else |
11970 | test -d "$lt_sys_path" && \ | 11970 | test -d "$lt_sys_path" && \ |
11971 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | 11971 | lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" |
11972 | fi | 11972 | fi |
11973 | done | 11973 | done |
11974 | lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | 11974 | lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' |
11975 | BEGIN {RS=" "; FS="/|\n";} { | 11975 | BEGIN {RS=" "; FS="/|\n";} { |
11976 | lt_foo=""; | 11976 | lt_foo=""; |
11977 | lt_count=0; | 11977 | lt_count=0; |
11978 | for (lt_i = NF; lt_i > 0; lt_i--) { | 11978 | for (lt_i = NF; lt_i > 0; lt_i--) { |
11979 | if ($lt_i != "" && $lt_i != ".") { | 11979 | if ($lt_i != "" && $lt_i != ".") { |
11980 | if ($lt_i == "..") { | 11980 | if ($lt_i == "..") { |
11981 | lt_count++; | 11981 | lt_count++; |
11982 | } else { | 11982 | } else { |
11983 | if (lt_count == 0) { | 11983 | if (lt_count == 0) { |
11984 | lt_foo="/" $lt_i lt_foo; | 11984 | lt_foo="/" $lt_i lt_foo; |
11985 | } else { | 11985 | } else { |
11986 | lt_count--; | 11986 | lt_count--; |
11987 | } | 11987 | } |
11988 | } | 11988 | } |
11989 | } | 11989 | } |
11990 | } | 11990 | } |
11991 | if (lt_foo != "") { lt_freq[lt_foo]++; } | 11991 | if (lt_foo != "") { lt_freq[lt_foo]++; } |
11992 | if (lt_freq[lt_foo] == 1) { print lt_foo; } | 11992 | if (lt_freq[lt_foo] == 1) { print lt_foo; } |
11993 | }'` | 11993 | }'` |
11994 | # AWK program above erroneously prepends '/' to C:/dos/paths | 11994 | # AWK program above erroneously prepends '/' to C:/dos/paths |
11995 | # for these hosts. | 11995 | # for these hosts. |
11996 | case $host_os in | 11996 | case $host_os in |
11997 | mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | 11997 | mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ |
11998 | $SED 's,/\([A-Za-z]:\),\1,g'` ;; | 11998 | $SED 's,/\([A-Za-z]:\),\1,g'` ;; |
11999 | esac | 11999 | esac |
12000 | sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | 12000 | sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` |
12001 | else | 12001 | else |
12002 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 12002 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" |
12003 | fi | 12003 | fi |
12004 | library_names_spec= | 12004 | library_names_spec= |
12005 | libname_spec='lib$name' | 12005 | libname_spec='lib$name' |
12006 | soname_spec= | 12006 | soname_spec= |
12007 | shrext_cmds=".so" | 12007 | shrext_cmds=".so" |
12008 | postinstall_cmds= | 12008 | postinstall_cmds= |
12009 | postuninstall_cmds= | 12009 | postuninstall_cmds= |
12010 | finish_cmds= | 12010 | finish_cmds= |
12011 | finish_eval= | 12011 | finish_eval= |
12012 | shlibpath_var= | 12012 | shlibpath_var= |
12013 | shlibpath_overrides_runpath=unknown | 12013 | shlibpath_overrides_runpath=unknown |
12014 | version_type=none | 12014 | version_type=none |
12015 | dynamic_linker="$host_os ld.so" | 12015 | dynamic_linker="$host_os ld.so" |
12016 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 12016 | sys_lib_dlsearch_path_spec="/lib /usr/lib" |
12017 | need_lib_prefix=unknown | 12017 | need_lib_prefix=unknown |
12018 | hardcode_into_libs=no | 12018 | hardcode_into_libs=no |
12019 | 12019 | ||
12020 | # when you set need_version to no, make sure it does not cause -set_version | 12020 | # when you set need_version to no, make sure it does not cause -set_version |
12021 | # flags to be left without arguments | 12021 | # flags to be left without arguments |
12022 | need_version=unknown | 12022 | need_version=unknown |
12023 | 12023 | ||
12024 | case $host_os in | 12024 | case $host_os in |
12025 | aix3*) | 12025 | aix3*) |
12026 | version_type=linux # correct to gnu/linux during the next big refactor | 12026 | version_type=linux # correct to gnu/linux during the next big refactor |
12027 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 12027 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
12028 | shlibpath_var=LIBPATH | 12028 | shlibpath_var=LIBPATH |
12029 | 12029 | ||
12030 | # AIX 3 has no versioning support, so we append a major version to the name. | 12030 | # AIX 3 has no versioning support, so we append a major version to the name. |
12031 | soname_spec='${libname}${release}${shared_ext}$major' | 12031 | soname_spec='${libname}${release}${shared_ext}$major' |
12032 | ;; | 12032 | ;; |
12033 | 12033 | ||
12034 | aix[4-9]*) | 12034 | aix[4-9]*) |
12035 | version_type=linux # correct to gnu/linux during the next big refactor | 12035 | version_type=linux # correct to gnu/linux during the next big refactor |
12036 | need_lib_prefix=no | 12036 | need_lib_prefix=no |
12037 | need_version=no | 12037 | need_version=no |
12038 | hardcode_into_libs=yes | 12038 | hardcode_into_libs=yes |
12039 | if test "$host_cpu" = ia64; then | 12039 | if test "$host_cpu" = ia64; then |
12040 | # AIX 5 supports IA64 | 12040 | # AIX 5 supports IA64 |
12041 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 12041 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' |
12042 | shlibpath_var=LD_LIBRARY_PATH | 12042 | shlibpath_var=LD_LIBRARY_PATH |
12043 | else | 12043 | else |
12044 | # With GCC up to 2.95.x, collect2 would create an import file | 12044 | # With GCC up to 2.95.x, collect2 would create an import file |
12045 | # for dependence libraries. The import file would start with | 12045 | # for dependence libraries. The import file would start with |
12046 | # the line `#! .'. This would cause the generated library to | 12046 | # the line `#! .'. This would cause the generated library to |
12047 | # depend on `.', always an invalid library. This was fixed in | 12047 | # depend on `.', always an invalid library. This was fixed in |
12048 | # development snapshots of GCC prior to 3.0. | 12048 | # development snapshots of GCC prior to 3.0. |
12049 | case $host_os in | 12049 | case $host_os in |
12050 | aix4 | aix4.[01] | aix4.[01].*) | 12050 | aix4 | aix4.[01] | aix4.[01].*) |
12051 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 12051 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' |
12052 | echo ' yes ' | 12052 | echo ' yes ' |
12053 | echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | 12053 | echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then |
12054 | : | 12054 | : |
12055 | else | 12055 | else |
12056 | can_build_shared=no | 12056 | can_build_shared=no |
12057 | fi | 12057 | fi |
12058 | ;; | 12058 | ;; |
12059 | esac | 12059 | esac |
12060 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 12060 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct |
12061 | # soname into executable. Probably we can add versioning support to | 12061 | # soname into executable. Probably we can add versioning support to |
12062 | # collect2, so additional links can be useful in future. | 12062 | # collect2, so additional links can be useful in future. |
12063 | if test "$aix_use_runtimelinking" = yes; then | 12063 | if test "$aix_use_runtimelinking" = yes; then |
12064 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 12064 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so |
12065 | # instead of lib<name>.a to let people know that these are not | 12065 | # instead of lib<name>.a to let people know that these are not |
12066 | # typical AIX shared libraries. | 12066 | # typical AIX shared libraries. |
12067 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12067 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12068 | else | 12068 | else |
12069 | # We preserve .a as extension for shared libraries through AIX4.2 | 12069 | # We preserve .a as extension for shared libraries through AIX4.2 |
12070 | # and later when we are not doing run time linking. | 12070 | # and later when we are not doing run time linking. |
12071 | library_names_spec='${libname}${release}.a $libname.a' | 12071 | library_names_spec='${libname}${release}.a $libname.a' |
12072 | soname_spec='${libname}${release}${shared_ext}$major' | 12072 | soname_spec='${libname}${release}${shared_ext}$major' |
12073 | fi | 12073 | fi |
12074 | shlibpath_var=LIBPATH | 12074 | shlibpath_var=LIBPATH |
12075 | fi | 12075 | fi |
12076 | ;; | 12076 | ;; |
12077 | 12077 | ||
12078 | amigaos*) | 12078 | amigaos*) |
12079 | case $host_cpu in | 12079 | case $host_cpu in |
12080 | powerpc) | 12080 | powerpc) |
12081 | # Since July 2007 AmigaOS4 officially supports .so libraries. | 12081 | # Since July 2007 AmigaOS4 officially supports .so libraries. |
12082 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | 12082 | # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. |
12083 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12083 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12084 | ;; | 12084 | ;; |
12085 | m68k) | 12085 | m68k) |
12086 | library_names_spec='$libname.ixlibrary $libname.a' | 12086 | library_names_spec='$libname.ixlibrary $libname.a' |
12087 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | 12087 | # Create ${libname}_ixlibrary.a entries in /sys/libs. |
12088 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' | 12088 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' |
12089 | ;; | 12089 | ;; |
12090 | esac | 12090 | esac |
12091 | ;; | 12091 | ;; |
12092 | 12092 | ||
12093 | beos*) | 12093 | beos*) |
12094 | library_names_spec='${libname}${shared_ext}' | 12094 | library_names_spec='${libname}${shared_ext}' |
12095 | dynamic_linker="$host_os ld.so" | 12095 | dynamic_linker="$host_os ld.so" |
12096 | shlibpath_var=LIBRARY_PATH | 12096 | shlibpath_var=LIBRARY_PATH |
12097 | ;; | 12097 | ;; |
12098 | 12098 | ||
12099 | bsdi[45]*) | 12099 | bsdi[45]*) |
12100 | version_type=linux # correct to gnu/linux during the next big refactor | 12100 | version_type=linux # correct to gnu/linux during the next big refactor |
12101 | need_version=no | 12101 | need_version=no |
12102 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12102 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12103 | soname_spec='${libname}${release}${shared_ext}$major' | 12103 | soname_spec='${libname}${release}${shared_ext}$major' |
12104 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 12104 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' |
12105 | shlibpath_var=LD_LIBRARY_PATH | 12105 | shlibpath_var=LD_LIBRARY_PATH |
12106 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 12106 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" |
12107 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 12107 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" |
12108 | # the default ld.so.conf also contains /usr/contrib/lib and | 12108 | # the default ld.so.conf also contains /usr/contrib/lib and |
12109 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 12109 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow |
12110 | # libtool to hard-code these into programs | 12110 | # libtool to hard-code these into programs |
12111 | ;; | 12111 | ;; |
12112 | 12112 | ||
12113 | cygwin* | mingw* | pw32* | cegcc*) | 12113 | cygwin* | mingw* | pw32* | cegcc*) |
12114 | version_type=windows | 12114 | version_type=windows |
12115 | shrext_cmds=".dll" | 12115 | shrext_cmds=".dll" |
12116 | need_version=no | 12116 | need_version=no |
12117 | need_lib_prefix=no | 12117 | need_lib_prefix=no |
12118 | 12118 | ||
12119 | case $GCC,$cc_basename in | 12119 | case $GCC,$cc_basename in |
12120 | yes,*) | 12120 | yes,*) |
12121 | # gcc | 12121 | # gcc |
12122 | library_names_spec='$libname.dll.a' | 12122 | library_names_spec='$libname.dll.a' |
12123 | # DLL is installed to $(libdir)/../bin by postinstall_cmds | 12123 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
12124 | postinstall_cmds='base_file=`basename \${file}`~ | 12124 | postinstall_cmds='base_file=`basename \${file}`~ |
12125 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 12125 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
12126 | dldir=$destdir/`dirname \$dlpath`~ | 12126 | dldir=$destdir/`dirname \$dlpath`~ |
12127 | test -d \$dldir || mkdir -p \$dldir~ | 12127 | test -d \$dldir || mkdir -p \$dldir~ |
12128 | $install_prog $dir/$dlname \$dldir/$dlname~ | 12128 | $install_prog $dir/$dlname \$dldir/$dlname~ |
12129 | chmod a+x \$dldir/$dlname~ | 12129 | chmod a+x \$dldir/$dlname~ |
12130 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | 12130 | if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then |
12131 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | 12131 | eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; |
12132 | fi' | 12132 | fi' |
12133 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 12133 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
12134 | dlpath=$dir/\$dldll~ | 12134 | dlpath=$dir/\$dldll~ |
12135 | $RM \$dlpath' | 12135 | $RM \$dlpath' |
12136 | shlibpath_overrides_runpath=yes | 12136 | shlibpath_overrides_runpath=yes |
12137 | 12137 | ||
12138 | case $host_os in | 12138 | case $host_os in |
12139 | cygwin*) | 12139 | cygwin*) |
12140 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 12140 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' |
12141 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12141 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
12142 | 12142 | ||
12143 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" | 12143 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" |
12144 | ;; | 12144 | ;; |
12145 | mingw* | cegcc*) | 12145 | mingw* | cegcc*) |
12146 | # MinGW DLLs use traditional 'lib' prefix | 12146 | # MinGW DLLs use traditional 'lib' prefix |
12147 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12147 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
12148 | ;; | 12148 | ;; |
12149 | pw32*) | 12149 | pw32*) |
12150 | # pw32 DLLs use 'pw' prefix rather than 'lib' | 12150 | # pw32 DLLs use 'pw' prefix rather than 'lib' |
12151 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12151 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
12152 | ;; | 12152 | ;; |
12153 | esac | 12153 | esac |
12154 | dynamic_linker='Win32 ld.exe' | 12154 | dynamic_linker='Win32 ld.exe' |
12155 | ;; | 12155 | ;; |
12156 | 12156 | ||
12157 | *,cl*) | 12157 | *,cl*) |
12158 | # Native MSVC | 12158 | # Native MSVC |
12159 | libname_spec='$name' | 12159 | libname_spec='$name' |
12160 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 12160 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' |
12161 | library_names_spec='${libname}.dll.lib' | 12161 | library_names_spec='${libname}.dll.lib' |
12162 | 12162 | ||
12163 | case $build_os in | 12163 | case $build_os in |
12164 | mingw*) | 12164 | mingw*) |
12165 | sys_lib_search_path_spec= | 12165 | sys_lib_search_path_spec= |
12166 | lt_save_ifs=$IFS | 12166 | lt_save_ifs=$IFS |
12167 | IFS=';' | 12167 | IFS=';' |
12168 | for lt_path in $LIB | 12168 | for lt_path in $LIB |
12169 | do | 12169 | do |
12170 | IFS=$lt_save_ifs | 12170 | IFS=$lt_save_ifs |
12171 | # Let DOS variable expansion print the short 8.3 style file name. | 12171 | # Let DOS variable expansion print the short 8.3 style file name. |
12172 | lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` | 12172 | lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` |
12173 | sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | 12173 | sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" |
12174 | done | 12174 | done |
12175 | IFS=$lt_save_ifs | 12175 | IFS=$lt_save_ifs |
12176 | # Convert to MSYS style. | 12176 | # Convert to MSYS style. |
12177 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` | 12177 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` |
12178 | ;; | 12178 | ;; |
12179 | cygwin*) | 12179 | cygwin*) |
12180 | # Convert to unix form, then to dos form, then back to unix form | 12180 | # Convert to unix form, then to dos form, then back to unix form |
12181 | # but this time dos style (no spaces!) so that the unix form looks | 12181 | # but this time dos style (no spaces!) so that the unix form looks |
12182 | # like /cygdrive/c/PROGRA~1:/cygdr... | 12182 | # like /cygdrive/c/PROGRA~1:/cygdr... |
12183 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | 12183 | sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` |
12184 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` | 12184 | sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` |
12185 | sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 12185 | sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
12186 | ;; | 12186 | ;; |
12187 | *) | 12187 | *) |
12188 | sys_lib_search_path_spec="$LIB" | 12188 | sys_lib_search_path_spec="$LIB" |
12189 | if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then | 12189 | if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then |
12190 | # It is most probably a Windows format PATH. | 12190 | # It is most probably a Windows format PATH. |
12191 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 12191 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` |
12192 | else | 12192 | else |
12193 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 12193 | sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` |
12194 | fi | 12194 | fi |
12195 | # FIXME: find the short name or the path components, as spaces are | 12195 | # FIXME: find the short name or the path components, as spaces are |
12196 | # common. (e.g. "Program Files" -> "PROGRA~1") | 12196 | # common. (e.g. "Program Files" -> "PROGRA~1") |
12197 | ;; | 12197 | ;; |
12198 | esac | 12198 | esac |
12199 | 12199 | ||
12200 | # DLL is installed to $(libdir)/../bin by postinstall_cmds | 12200 | # DLL is installed to $(libdir)/../bin by postinstall_cmds |
12201 | postinstall_cmds='base_file=`basename \${file}`~ | 12201 | postinstall_cmds='base_file=`basename \${file}`~ |
12202 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 12202 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ |
12203 | dldir=$destdir/`dirname \$dlpath`~ | 12203 | dldir=$destdir/`dirname \$dlpath`~ |
12204 | test -d \$dldir || mkdir -p \$dldir~ | 12204 | test -d \$dldir || mkdir -p \$dldir~ |
12205 | $install_prog $dir/$dlname \$dldir/$dlname' | 12205 | $install_prog $dir/$dlname \$dldir/$dlname' |
12206 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 12206 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ |
12207 | dlpath=$dir/\$dldll~ | 12207 | dlpath=$dir/\$dldll~ |
12208 | $RM \$dlpath' | 12208 | $RM \$dlpath' |
12209 | shlibpath_overrides_runpath=yes | 12209 | shlibpath_overrides_runpath=yes |
12210 | dynamic_linker='Win32 link.exe' | 12210 | dynamic_linker='Win32 link.exe' |
12211 | ;; | 12211 | ;; |
12212 | 12212 | ||
12213 | *) | 12213 | *) |
12214 | # Assume MSVC wrapper | 12214 | # Assume MSVC wrapper |
12215 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 12215 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' |
12216 | dynamic_linker='Win32 ld.exe' | 12216 | dynamic_linker='Win32 ld.exe' |
12217 | ;; | 12217 | ;; |
12218 | esac | 12218 | esac |
12219 | # FIXME: first we should search . and the directory the executable is in | 12219 | # FIXME: first we should search . and the directory the executable is in |
12220 | shlibpath_var=PATH | 12220 | shlibpath_var=PATH |
12221 | ;; | 12221 | ;; |
12222 | 12222 | ||
12223 | darwin* | rhapsody*) | 12223 | darwin* | rhapsody*) |
12224 | dynamic_linker="$host_os dyld" | 12224 | dynamic_linker="$host_os dyld" |
12225 | version_type=darwin | 12225 | version_type=darwin |
12226 | need_lib_prefix=no | 12226 | need_lib_prefix=no |
12227 | need_version=no | 12227 | need_version=no |
12228 | library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 12228 | library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' |
12229 | soname_spec='${libname}${release}${major}$shared_ext' | 12229 | soname_spec='${libname}${release}${major}$shared_ext' |
12230 | shlibpath_overrides_runpath=yes | 12230 | shlibpath_overrides_runpath=yes |
12231 | shlibpath_var=DYLD_LIBRARY_PATH | 12231 | shlibpath_var=DYLD_LIBRARY_PATH |
12232 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | 12232 | shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' |
12233 | 12233 | ||
12234 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | 12234 | sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" |
12235 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 12235 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' |
12236 | ;; | 12236 | ;; |
12237 | 12237 | ||
12238 | dgux*) | 12238 | dgux*) |
12239 | version_type=linux # correct to gnu/linux during the next big refactor | 12239 | version_type=linux # correct to gnu/linux during the next big refactor |
12240 | need_lib_prefix=no | 12240 | need_lib_prefix=no |
12241 | need_version=no | 12241 | need_version=no |
12242 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 12242 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' |
12243 | soname_spec='${libname}${release}${shared_ext}$major' | 12243 | soname_spec='${libname}${release}${shared_ext}$major' |
12244 | shlibpath_var=LD_LIBRARY_PATH | 12244 | shlibpath_var=LD_LIBRARY_PATH |
12245 | ;; | 12245 | ;; |
12246 | 12246 | ||
12247 | freebsd* | dragonfly*) | 12247 | freebsd* | dragonfly*) |
12248 | # DragonFly does not have aout. When/if they implement a new | 12248 | # DragonFly does not have aout. When/if they implement a new |
12249 | # versioning mechanism, adjust this. | 12249 | # versioning mechanism, adjust this. |
12250 | if test -x /usr/bin/objformat; then | 12250 | if test -x /usr/bin/objformat; then |
12251 | objformat=`/usr/bin/objformat` | 12251 | objformat=`/usr/bin/objformat` |
12252 | else | 12252 | else |
12253 | case $host_os in | 12253 | case $host_os in |
12254 | freebsd[23].*) objformat=aout ;; | 12254 | freebsd[23].*) objformat=aout ;; |
12255 | *) objformat=elf ;; | 12255 | *) objformat=elf ;; |
12256 | esac | 12256 | esac |
12257 | fi | 12257 | fi |
12258 | version_type=freebsd-$objformat | 12258 | version_type=freebsd-$objformat |
12259 | case $version_type in | 12259 | case $version_type in |
12260 | freebsd-elf*) | 12260 | freebsd-elf*) |
12261 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 12261 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
12262 | need_version=no | 12262 | need_version=no |
12263 | need_lib_prefix=no | 12263 | need_lib_prefix=no |
12264 | ;; | 12264 | ;; |
12265 | freebsd-*) | 12265 | freebsd-*) |
12266 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 12266 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' |
12267 | need_version=yes | 12267 | need_version=yes |
12268 | ;; | 12268 | ;; |
12269 | esac | 12269 | esac |
12270 | shlibpath_var=LD_LIBRARY_PATH | 12270 | shlibpath_var=LD_LIBRARY_PATH |
12271 | case $host_os in | 12271 | case $host_os in |
12272 | freebsd2.*) | 12272 | freebsd2.*) |
12273 | shlibpath_overrides_runpath=yes | 12273 | shlibpath_overrides_runpath=yes |
12274 | ;; | 12274 | ;; |
12275 | freebsd3.[01]* | freebsdelf3.[01]*) | 12275 | freebsd3.[01]* | freebsdelf3.[01]*) |
12276 | shlibpath_overrides_runpath=yes | 12276 | shlibpath_overrides_runpath=yes |
12277 | hardcode_into_libs=yes | 12277 | hardcode_into_libs=yes |
12278 | ;; | 12278 | ;; |
12279 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | 12279 | freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ |
12280 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | 12280 | freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) |
12281 | shlibpath_overrides_runpath=no | 12281 | shlibpath_overrides_runpath=no |
12282 | hardcode_into_libs=yes | 12282 | hardcode_into_libs=yes |
12283 | ;; | 12283 | ;; |
12284 | *) # from 4.6 on, and DragonFly | 12284 | *) # from 4.6 on, and DragonFly |
12285 | shlibpath_overrides_runpath=yes | 12285 | shlibpath_overrides_runpath=yes |
12286 | hardcode_into_libs=yes | 12286 | hardcode_into_libs=yes |
12287 | ;; | 12287 | ;; |
12288 | esac | 12288 | esac |
12289 | ;; | 12289 | ;; |
12290 | 12290 | ||
12291 | gnu*) | 12291 | gnu*) |
12292 | version_type=linux # correct to gnu/linux during the next big refactor | 12292 | version_type=linux # correct to gnu/linux during the next big refactor |
12293 | need_lib_prefix=no | 12293 | need_lib_prefix=no |
12294 | need_version=no | 12294 | need_version=no |
12295 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 12295 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
12296 | soname_spec='${libname}${release}${shared_ext}$major' | 12296 | soname_spec='${libname}${release}${shared_ext}$major' |
12297 | shlibpath_var=LD_LIBRARY_PATH | 12297 | shlibpath_var=LD_LIBRARY_PATH |
12298 | shlibpath_overrides_runpath=no | 12298 | shlibpath_overrides_runpath=no |
12299 | hardcode_into_libs=yes | 12299 | hardcode_into_libs=yes |
12300 | ;; | 12300 | ;; |
12301 | 12301 | ||
12302 | haiku*) | 12302 | haiku*) |
12303 | version_type=linux # correct to gnu/linux during the next big refactor | 12303 | version_type=linux # correct to gnu/linux during the next big refactor |
12304 | need_lib_prefix=no | 12304 | need_lib_prefix=no |
12305 | need_version=no | 12305 | need_version=no |
12306 | dynamic_linker="$host_os runtime_loader" | 12306 | dynamic_linker="$host_os runtime_loader" |
12307 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 12307 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' |
12308 | soname_spec='${libname}${release}${shared_ext}$major' | 12308 | soname_spec='${libname}${release}${shared_ext}$major' |
12309 | shlibpath_var=LIBRARY_PATH | 12309 | shlibpath_var=LIBRARY_PATH |
12310 | shlibpath_overrides_runpath=yes | 12310 | shlibpath_overrides_runpath=yes |
12311 | sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' | 12311 | sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' |
12312 | hardcode_into_libs=yes | 12312 | hardcode_into_libs=yes |
12313 | ;; | 12313 | ;; |
12314 | 12314 | ||
12315 | hpux9* | hpux10* | hpux11*) | 12315 | hpux9* | hpux10* | hpux11*) |
12316 | # Give a soname corresponding to the major version so that dld.sl refuses to | 12316 | # Give a soname corresponding to the major version so that dld.sl refuses to |
12317 | # link against other versions. | 12317 | # link against other versions. |
12318 | version_type=sunos | 12318 | version_type=sunos |
12319 | need_lib_prefix=no | 12319 | need_lib_prefix=no |
12320 | need_version=no | 12320 | need_version=no |
12321 | case $host_cpu in | 12321 | case $host_cpu in |
12322 | ia64*) | 12322 | ia64*) |
12323 | shrext_cmds='.so' | 12323 | shrext_cmds='.so' |
12324 | hardcode_into_libs=yes | 12324 | hardcode_into_libs=yes |
12325 | dynamic_linker="$host_os dld.so" | 12325 | dynamic_linker="$host_os dld.so" |
12326 | shlibpath_var=LD_LIBRARY_PATH | 12326 | shlibpath_var=LD_LIBRARY_PATH |
12327 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 12327 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
12328 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12328 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12329 | soname_spec='${libname}${release}${shared_ext}$major' | 12329 | soname_spec='${libname}${release}${shared_ext}$major' |
12330 | if test "X$HPUX_IA64_MODE" = X32; then | 12330 | if test "X$HPUX_IA64_MODE" = X32; then |
12331 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 12331 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" |
12332 | else | 12332 | else |
12333 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 12333 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" |
12334 | fi | 12334 | fi |
12335 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 12335 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
12336 | ;; | 12336 | ;; |
12337 | hppa*64*) | 12337 | hppa*64*) |
12338 | shrext_cmds='.sl' | 12338 | shrext_cmds='.sl' |
12339 | hardcode_into_libs=yes | 12339 | hardcode_into_libs=yes |
12340 | dynamic_linker="$host_os dld.sl" | 12340 | dynamic_linker="$host_os dld.sl" |
12341 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 12341 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH |
12342 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 12342 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. |
12343 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12343 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12344 | soname_spec='${libname}${release}${shared_ext}$major' | 12344 | soname_spec='${libname}${release}${shared_ext}$major' |
12345 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 12345 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" |
12346 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 12346 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec |
12347 | ;; | 12347 | ;; |
12348 | *) | 12348 | *) |
12349 | shrext_cmds='.sl' | 12349 | shrext_cmds='.sl' |
12350 | dynamic_linker="$host_os dld.sl" | 12350 | dynamic_linker="$host_os dld.sl" |
12351 | shlibpath_var=SHLIB_PATH | 12351 | shlibpath_var=SHLIB_PATH |
12352 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 12352 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH |
12353 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12353 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12354 | soname_spec='${libname}${release}${shared_ext}$major' | 12354 | soname_spec='${libname}${release}${shared_ext}$major' |
12355 | ;; | 12355 | ;; |
12356 | esac | 12356 | esac |
12357 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | 12357 | # HP-UX runs *really* slowly unless shared libraries are mode 555, ... |
12358 | postinstall_cmds='chmod 555 $lib' | 12358 | postinstall_cmds='chmod 555 $lib' |
12359 | # or fails outright, so override atomically: | 12359 | # or fails outright, so override atomically: |
12360 | install_override_mode=555 | 12360 | install_override_mode=555 |
12361 | ;; | 12361 | ;; |
12362 | 12362 | ||
12363 | interix[3-9]*) | 12363 | interix[3-9]*) |
12364 | version_type=linux # correct to gnu/linux during the next big refactor | 12364 | version_type=linux # correct to gnu/linux during the next big refactor |
12365 | need_lib_prefix=no | 12365 | need_lib_prefix=no |
12366 | need_version=no | 12366 | need_version=no |
12367 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 12367 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
12368 | soname_spec='${libname}${release}${shared_ext}$major' | 12368 | soname_spec='${libname}${release}${shared_ext}$major' |
12369 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | 12369 | dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' |
12370 | shlibpath_var=LD_LIBRARY_PATH | 12370 | shlibpath_var=LD_LIBRARY_PATH |
12371 | shlibpath_overrides_runpath=no | 12371 | shlibpath_overrides_runpath=no |
12372 | hardcode_into_libs=yes | 12372 | hardcode_into_libs=yes |
12373 | ;; | 12373 | ;; |
12374 | 12374 | ||
12375 | irix5* | irix6* | nonstopux*) | 12375 | irix5* | irix6* | nonstopux*) |
12376 | case $host_os in | 12376 | case $host_os in |
12377 | nonstopux*) version_type=nonstopux ;; | 12377 | nonstopux*) version_type=nonstopux ;; |
12378 | *) | 12378 | *) |
12379 | if test "$lt_cv_prog_gnu_ld" = yes; then | 12379 | if test "$lt_cv_prog_gnu_ld" = yes; then |
12380 | version_type=linux # correct to gnu/linux during the next big refactor | 12380 | version_type=linux # correct to gnu/linux during the next big refactor |
12381 | else | 12381 | else |
12382 | version_type=irix | 12382 | version_type=irix |
12383 | fi ;; | 12383 | fi ;; |
12384 | esac | 12384 | esac |
12385 | need_lib_prefix=no | 12385 | need_lib_prefix=no |
12386 | need_version=no | 12386 | need_version=no |
12387 | soname_spec='${libname}${release}${shared_ext}$major' | 12387 | soname_spec='${libname}${release}${shared_ext}$major' |
12388 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 12388 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' |
12389 | case $host_os in | 12389 | case $host_os in |
12390 | irix5* | nonstopux*) | 12390 | irix5* | nonstopux*) |
12391 | libsuff= shlibsuff= | 12391 | libsuff= shlibsuff= |
12392 | ;; | 12392 | ;; |
12393 | *) | 12393 | *) |
12394 | case $LD in # libtool.m4 will add one of these switches to LD | 12394 | case $LD in # libtool.m4 will add one of these switches to LD |
12395 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 12395 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") |
12396 | libsuff= shlibsuff= libmagic=32-bit;; | 12396 | libsuff= shlibsuff= libmagic=32-bit;; |
12397 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 12397 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") |
12398 | libsuff=32 shlibsuff=N32 libmagic=N32;; | 12398 | libsuff=32 shlibsuff=N32 libmagic=N32;; |
12399 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 12399 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") |
12400 | libsuff=64 shlibsuff=64 libmagic=64-bit;; | 12400 | libsuff=64 shlibsuff=64 libmagic=64-bit;; |
12401 | *) libsuff= shlibsuff= libmagic=never-match;; | 12401 | *) libsuff= shlibsuff= libmagic=never-match;; |
12402 | esac | 12402 | esac |
12403 | ;; | 12403 | ;; |
12404 | esac | 12404 | esac |
12405 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 12405 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH |
12406 | shlibpath_overrides_runpath=no | 12406 | shlibpath_overrides_runpath=no |
12407 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 12407 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" |
12408 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 12408 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" |
12409 | hardcode_into_libs=yes | 12409 | hardcode_into_libs=yes |
12410 | ;; | 12410 | ;; |
12411 | 12411 | ||
12412 | # No shared lib support for Linux oldld, aout, or coff. | 12412 | # No shared lib support for Linux oldld, aout, or coff. |
12413 | linux*oldld* | linux*aout* | linux*coff*) | 12413 | linux*oldld* | linux*aout* | linux*coff*) |
12414 | dynamic_linker=no | 12414 | dynamic_linker=no |
12415 | ;; | 12415 | ;; |
12416 | 12416 | ||
12417 | # This must be glibc/ELF. | 12417 | # This must be glibc/ELF. |
12418 | linux* | k*bsd*-gnu | kopensolaris*-gnu) | 12418 | linux* | k*bsd*-gnu | kopensolaris*-gnu) |
12419 | version_type=linux # correct to gnu/linux during the next big refactor | 12419 | version_type=linux # correct to gnu/linux during the next big refactor |
12420 | need_lib_prefix=no | 12420 | need_lib_prefix=no |
12421 | need_version=no | 12421 | need_version=no |
12422 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12422 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12423 | soname_spec='${libname}${release}${shared_ext}$major' | 12423 | soname_spec='${libname}${release}${shared_ext}$major' |
12424 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 12424 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' |
12425 | shlibpath_var=LD_LIBRARY_PATH | 12425 | shlibpath_var=LD_LIBRARY_PATH |
12426 | shlibpath_overrides_runpath=no | 12426 | shlibpath_overrides_runpath=no |
12427 | 12427 | ||
12428 | # Some binutils ld are patched to set DT_RUNPATH | 12428 | # Some binutils ld are patched to set DT_RUNPATH |
12429 | if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | 12429 | if ${lt_cv_shlibpath_overrides_runpath+:} false; then : |
12430 | $as_echo_n "(cached) " >&6 | 12430 | $as_echo_n "(cached) " >&6 |
12431 | else | 12431 | else |
12432 | lt_cv_shlibpath_overrides_runpath=no | 12432 | lt_cv_shlibpath_overrides_runpath=no |
12433 | save_LDFLAGS=$LDFLAGS | 12433 | save_LDFLAGS=$LDFLAGS |
12434 | save_libdir=$libdir | 12434 | save_libdir=$libdir |
12435 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ | 12435 | eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ |
12436 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" | 12436 | LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" |
12437 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12437 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12438 | /* end confdefs.h. */ | 12438 | /* end confdefs.h. */ |
12439 | 12439 | ||
12440 | int | 12440 | int |
12441 | main () | 12441 | main () |
12442 | { | 12442 | { |
12443 | 12443 | ||
12444 | ; | 12444 | ; |
12445 | return 0; | 12445 | return 0; |
12446 | } | 12446 | } |
12447 | _ACEOF | 12447 | _ACEOF |
12448 | if ac_fn_c_try_link "$LINENO"; then : | 12448 | if ac_fn_c_try_link "$LINENO"; then : |
12449 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : | 12449 | if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : |
12450 | lt_cv_shlibpath_overrides_runpath=yes | 12450 | lt_cv_shlibpath_overrides_runpath=yes |
12451 | fi | 12451 | fi |
12452 | fi | 12452 | fi |
12453 | rm -f core conftest.err conftest.$ac_objext \ | 12453 | rm -f core conftest.err conftest.$ac_objext \ |
12454 | conftest$ac_exeext conftest.$ac_ext | 12454 | conftest$ac_exeext conftest.$ac_ext |
12455 | LDFLAGS=$save_LDFLAGS | 12455 | LDFLAGS=$save_LDFLAGS |
12456 | libdir=$save_libdir | 12456 | libdir=$save_libdir |
12457 | 12457 | ||
12458 | fi | 12458 | fi |
12459 | 12459 | ||
12460 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 12460 | shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath |
12461 | 12461 | ||
12462 | # This implies no fast_install, which is unacceptable. | 12462 | # This implies no fast_install, which is unacceptable. |
12463 | # Some rework will be needed to allow for fast_install | 12463 | # Some rework will be needed to allow for fast_install |
12464 | # before this can be enabled. | 12464 | # before this can be enabled. |
12465 | hardcode_into_libs=yes | 12465 | hardcode_into_libs=yes |
12466 | 12466 | ||
12467 | # Append ld.so.conf contents to the search path | 12467 | # Append ld.so.conf contents to the search path |
12468 | if test -f /etc/ld.so.conf; then | 12468 | if test -f /etc/ld.so.conf; then |
12469 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` | 12469 | lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` |
12470 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | 12470 | sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" |
12471 | fi | 12471 | fi |
12472 | 12472 | ||
12473 | # We used to test for /lib/ld.so.1 and disable shared libraries on | 12473 | # We used to test for /lib/ld.so.1 and disable shared libraries on |
12474 | # powerpc, because MkLinux only supported shared libraries with the | 12474 | # powerpc, because MkLinux only supported shared libraries with the |
12475 | # GNU dynamic linker. Since this was broken with cross compilers, | 12475 | # GNU dynamic linker. Since this was broken with cross compilers, |
12476 | # most powerpc-linux boxes support dynamic linking these days and | 12476 | # most powerpc-linux boxes support dynamic linking these days and |
12477 | # people can always --disable-shared, the test was removed, and we | 12477 | # people can always --disable-shared, the test was removed, and we |
12478 | # assume the GNU/Linux dynamic linker is in use. | 12478 | # assume the GNU/Linux dynamic linker is in use. |
12479 | dynamic_linker='GNU/Linux ld.so' | 12479 | dynamic_linker='GNU/Linux ld.so' |
12480 | ;; | 12480 | ;; |
12481 | 12481 | ||
12482 | netbsd*) | 12482 | netbsd*) |
12483 | version_type=sunos | 12483 | version_type=sunos |
12484 | need_lib_prefix=no | 12484 | need_lib_prefix=no |
12485 | need_version=no | 12485 | need_version=no |
12486 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 12486 | if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then |
12487 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 12487 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
12488 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 12488 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
12489 | dynamic_linker='NetBSD (a.out) ld.so' | 12489 | dynamic_linker='NetBSD (a.out) ld.so' |
12490 | else | 12490 | else |
12491 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 12491 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' |
12492 | soname_spec='${libname}${release}${shared_ext}$major' | 12492 | soname_spec='${libname}${release}${shared_ext}$major' |
12493 | dynamic_linker='NetBSD ld.elf_so' | 12493 | dynamic_linker='NetBSD ld.elf_so' |
12494 | fi | 12494 | fi |
12495 | shlibpath_var=LD_LIBRARY_PATH | 12495 | shlibpath_var=LD_LIBRARY_PATH |
12496 | shlibpath_overrides_runpath=yes | 12496 | shlibpath_overrides_runpath=yes |
12497 | hardcode_into_libs=yes | 12497 | hardcode_into_libs=yes |
12498 | ;; | 12498 | ;; |
12499 | 12499 | ||
12500 | newsos6) | 12500 | newsos6) |
12501 | version_type=linux # correct to gnu/linux during the next big refactor | 12501 | version_type=linux # correct to gnu/linux during the next big refactor |
12502 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12502 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12503 | shlibpath_var=LD_LIBRARY_PATH | 12503 | shlibpath_var=LD_LIBRARY_PATH |
12504 | shlibpath_overrides_runpath=yes | 12504 | shlibpath_overrides_runpath=yes |
12505 | ;; | 12505 | ;; |
12506 | 12506 | ||
12507 | *nto* | *qnx*) | 12507 | *nto* | *qnx*) |
12508 | version_type=qnx | 12508 | version_type=qnx |
12509 | need_lib_prefix=no | 12509 | need_lib_prefix=no |
12510 | need_version=no | 12510 | need_version=no |
12511 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12511 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12512 | soname_spec='${libname}${release}${shared_ext}$major' | 12512 | soname_spec='${libname}${release}${shared_ext}$major' |
12513 | shlibpath_var=LD_LIBRARY_PATH | 12513 | shlibpath_var=LD_LIBRARY_PATH |
12514 | shlibpath_overrides_runpath=no | 12514 | shlibpath_overrides_runpath=no |
12515 | hardcode_into_libs=yes | 12515 | hardcode_into_libs=yes |
12516 | dynamic_linker='ldqnx.so' | 12516 | dynamic_linker='ldqnx.so' |
12517 | ;; | 12517 | ;; |
12518 | 12518 | ||
12519 | openbsd*) | 12519 | openbsd*) |
12520 | version_type=sunos | 12520 | version_type=sunos |
12521 | sys_lib_dlsearch_path_spec="/usr/lib" | 12521 | sys_lib_dlsearch_path_spec="/usr/lib" |
12522 | need_lib_prefix=no | 12522 | need_lib_prefix=no |
12523 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | 12523 | # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. |
12524 | case $host_os in | 12524 | case $host_os in |
12525 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; | 12525 | openbsd3.3 | openbsd3.3.*) need_version=yes ;; |
12526 | *) need_version=no ;; | 12526 | *) need_version=no ;; |
12527 | esac | 12527 | esac |
12528 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 12528 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
12529 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 12529 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' |
12530 | shlibpath_var=LD_LIBRARY_PATH | 12530 | shlibpath_var=LD_LIBRARY_PATH |
12531 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 12531 | if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then |
12532 | case $host_os in | 12532 | case $host_os in |
12533 | openbsd2.[89] | openbsd2.[89].*) | 12533 | openbsd2.[89] | openbsd2.[89].*) |
12534 | shlibpath_overrides_runpath=no | 12534 | shlibpath_overrides_runpath=no |
12535 | ;; | 12535 | ;; |
12536 | *) | 12536 | *) |
12537 | shlibpath_overrides_runpath=yes | 12537 | shlibpath_overrides_runpath=yes |
12538 | ;; | 12538 | ;; |
12539 | esac | 12539 | esac |
12540 | else | 12540 | else |
12541 | shlibpath_overrides_runpath=yes | 12541 | shlibpath_overrides_runpath=yes |
12542 | fi | 12542 | fi |
12543 | ;; | 12543 | ;; |
12544 | 12544 | ||
12545 | os2*) | 12545 | os2*) |
12546 | libname_spec='$name' | 12546 | libname_spec='$name' |
12547 | shrext_cmds=".dll" | 12547 | shrext_cmds=".dll" |
12548 | need_lib_prefix=no | 12548 | need_lib_prefix=no |
12549 | library_names_spec='$libname${shared_ext} $libname.a' | 12549 | library_names_spec='$libname${shared_ext} $libname.a' |
12550 | dynamic_linker='OS/2 ld.exe' | 12550 | dynamic_linker='OS/2 ld.exe' |
12551 | shlibpath_var=LIBPATH | 12551 | shlibpath_var=LIBPATH |
12552 | ;; | 12552 | ;; |
12553 | 12553 | ||
12554 | osf3* | osf4* | osf5*) | 12554 | osf3* | osf4* | osf5*) |
12555 | version_type=osf | 12555 | version_type=osf |
12556 | need_lib_prefix=no | 12556 | need_lib_prefix=no |
12557 | need_version=no | 12557 | need_version=no |
12558 | soname_spec='${libname}${release}${shared_ext}$major' | 12558 | soname_spec='${libname}${release}${shared_ext}$major' |
12559 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12559 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12560 | shlibpath_var=LD_LIBRARY_PATH | 12560 | shlibpath_var=LD_LIBRARY_PATH |
12561 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 12561 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" |
12562 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 12562 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" |
12563 | ;; | 12563 | ;; |
12564 | 12564 | ||
12565 | rdos*) | 12565 | rdos*) |
12566 | dynamic_linker=no | 12566 | dynamic_linker=no |
12567 | ;; | 12567 | ;; |
12568 | 12568 | ||
12569 | solaris*) | 12569 | solaris*) |
12570 | version_type=linux # correct to gnu/linux during the next big refactor | 12570 | version_type=linux # correct to gnu/linux during the next big refactor |
12571 | need_lib_prefix=no | 12571 | need_lib_prefix=no |
12572 | need_version=no | 12572 | need_version=no |
12573 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12573 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12574 | soname_spec='${libname}${release}${shared_ext}$major' | 12574 | soname_spec='${libname}${release}${shared_ext}$major' |
12575 | shlibpath_var=LD_LIBRARY_PATH | 12575 | shlibpath_var=LD_LIBRARY_PATH |
12576 | shlibpath_overrides_runpath=yes | 12576 | shlibpath_overrides_runpath=yes |
12577 | hardcode_into_libs=yes | 12577 | hardcode_into_libs=yes |
12578 | # ldd complains unless libraries are executable | 12578 | # ldd complains unless libraries are executable |
12579 | postinstall_cmds='chmod +x $lib' | 12579 | postinstall_cmds='chmod +x $lib' |
12580 | ;; | 12580 | ;; |
12581 | 12581 | ||
12582 | sunos4*) | 12582 | sunos4*) |
12583 | version_type=sunos | 12583 | version_type=sunos |
12584 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 12584 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' |
12585 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 12585 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' |
12586 | shlibpath_var=LD_LIBRARY_PATH | 12586 | shlibpath_var=LD_LIBRARY_PATH |
12587 | shlibpath_overrides_runpath=yes | 12587 | shlibpath_overrides_runpath=yes |
12588 | if test "$with_gnu_ld" = yes; then | 12588 | if test "$with_gnu_ld" = yes; then |
12589 | need_lib_prefix=no | 12589 | need_lib_prefix=no |
12590 | fi | 12590 | fi |
12591 | need_version=yes | 12591 | need_version=yes |
12592 | ;; | 12592 | ;; |
12593 | 12593 | ||
12594 | sysv4 | sysv4.3*) | 12594 | sysv4 | sysv4.3*) |
12595 | version_type=linux # correct to gnu/linux during the next big refactor | 12595 | version_type=linux # correct to gnu/linux during the next big refactor |
12596 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12596 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12597 | soname_spec='${libname}${release}${shared_ext}$major' | 12597 | soname_spec='${libname}${release}${shared_ext}$major' |
12598 | shlibpath_var=LD_LIBRARY_PATH | 12598 | shlibpath_var=LD_LIBRARY_PATH |
12599 | case $host_vendor in | 12599 | case $host_vendor in |
12600 | sni) | 12600 | sni) |
12601 | shlibpath_overrides_runpath=no | 12601 | shlibpath_overrides_runpath=no |
12602 | need_lib_prefix=no | 12602 | need_lib_prefix=no |
12603 | runpath_var=LD_RUN_PATH | 12603 | runpath_var=LD_RUN_PATH |
12604 | ;; | 12604 | ;; |
12605 | siemens) | 12605 | siemens) |
12606 | need_lib_prefix=no | 12606 | need_lib_prefix=no |
12607 | ;; | 12607 | ;; |
12608 | motorola) | 12608 | motorola) |
12609 | need_lib_prefix=no | 12609 | need_lib_prefix=no |
12610 | need_version=no | 12610 | need_version=no |
12611 | shlibpath_overrides_runpath=no | 12611 | shlibpath_overrides_runpath=no |
12612 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 12612 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' |
12613 | ;; | 12613 | ;; |
12614 | esac | 12614 | esac |
12615 | ;; | 12615 | ;; |
12616 | 12616 | ||
12617 | sysv4*MP*) | 12617 | sysv4*MP*) |
12618 | if test -d /usr/nec ;then | 12618 | if test -d /usr/nec ;then |
12619 | version_type=linux # correct to gnu/linux during the next big refactor | 12619 | version_type=linux # correct to gnu/linux during the next big refactor |
12620 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 12620 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' |
12621 | soname_spec='$libname${shared_ext}.$major' | 12621 | soname_spec='$libname${shared_ext}.$major' |
12622 | shlibpath_var=LD_LIBRARY_PATH | 12622 | shlibpath_var=LD_LIBRARY_PATH |
12623 | fi | 12623 | fi |
12624 | ;; | 12624 | ;; |
12625 | 12625 | ||
12626 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 12626 | sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) |
12627 | version_type=freebsd-elf | 12627 | version_type=freebsd-elf |
12628 | need_lib_prefix=no | 12628 | need_lib_prefix=no |
12629 | need_version=no | 12629 | need_version=no |
12630 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 12630 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' |
12631 | soname_spec='${libname}${release}${shared_ext}$major' | 12631 | soname_spec='${libname}${release}${shared_ext}$major' |
12632 | shlibpath_var=LD_LIBRARY_PATH | 12632 | shlibpath_var=LD_LIBRARY_PATH |
12633 | shlibpath_overrides_runpath=yes | 12633 | shlibpath_overrides_runpath=yes |
12634 | hardcode_into_libs=yes | 12634 | hardcode_into_libs=yes |
12635 | if test "$with_gnu_ld" = yes; then | 12635 | if test "$with_gnu_ld" = yes; then |
12636 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | 12636 | sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' |
12637 | else | 12637 | else |
12638 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | 12638 | sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' |
12639 | case $host_os in | 12639 | case $host_os in |
12640 | sco3.2v5*) | 12640 | sco3.2v5*) |
12641 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | 12641 | sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" |
12642 | ;; | 12642 | ;; |
12643 | esac | 12643 | esac |
12644 | fi | 12644 | fi |
12645 | sys_lib_dlsearch_path_spec='/usr/lib' | 12645 | sys_lib_dlsearch_path_spec='/usr/lib' |
12646 | ;; | 12646 | ;; |
12647 | 12647 | ||
12648 | tpf*) | 12648 | tpf*) |
12649 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. | 12649 | # TPF is a cross-target only. Preferred cross-host = GNU/Linux. |
12650 | version_type=linux # correct to gnu/linux during the next big refactor | 12650 | version_type=linux # correct to gnu/linux during the next big refactor |
12651 | need_lib_prefix=no | 12651 | need_lib_prefix=no |
12652 | need_version=no | 12652 | need_version=no |
12653 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12653 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12654 | shlibpath_var=LD_LIBRARY_PATH | 12654 | shlibpath_var=LD_LIBRARY_PATH |
12655 | shlibpath_overrides_runpath=no | 12655 | shlibpath_overrides_runpath=no |
12656 | hardcode_into_libs=yes | 12656 | hardcode_into_libs=yes |
12657 | ;; | 12657 | ;; |
12658 | 12658 | ||
12659 | uts4*) | 12659 | uts4*) |
12660 | version_type=linux # correct to gnu/linux during the next big refactor | 12660 | version_type=linux # correct to gnu/linux during the next big refactor |
12661 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 12661 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' |
12662 | soname_spec='${libname}${release}${shared_ext}$major' | 12662 | soname_spec='${libname}${release}${shared_ext}$major' |
12663 | shlibpath_var=LD_LIBRARY_PATH | 12663 | shlibpath_var=LD_LIBRARY_PATH |
12664 | ;; | 12664 | ;; |
12665 | 12665 | ||
12666 | *) | 12666 | *) |
12667 | dynamic_linker=no | 12667 | dynamic_linker=no |
12668 | ;; | 12668 | ;; |
12669 | esac | 12669 | esac |
12670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | 12670 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 |
12671 | $as_echo "$dynamic_linker" >&6; } | 12671 | $as_echo "$dynamic_linker" >&6; } |
12672 | test "$dynamic_linker" = no && can_build_shared=no | 12672 | test "$dynamic_linker" = no && can_build_shared=no |
12673 | 12673 | ||
12674 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 12674 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
12675 | if test "$GCC" = yes; then | 12675 | if test "$GCC" = yes; then |
12676 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 12676 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" |
12677 | fi | 12677 | fi |
12678 | 12678 | ||
12679 | if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | 12679 | if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then |
12680 | sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | 12680 | sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
12681 | fi | 12681 | fi |
12682 | if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | 12682 | if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then |
12683 | sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | 12683 | sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
12684 | fi | 12684 | fi |
12685 | 12685 | ||
12686 | 12686 | ||
12687 | 12687 | ||
12688 | 12688 | ||
12689 | 12689 | ||
12690 | 12690 | ||
12691 | 12691 | ||
12692 | 12692 | ||
12693 | 12693 | ||
12694 | 12694 | ||
12695 | 12695 | ||
12696 | 12696 | ||
12697 | 12697 | ||
12698 | 12698 | ||
12699 | 12699 | ||
12700 | 12700 | ||
12701 | 12701 | ||
12702 | 12702 | ||
12703 | 12703 | ||
12704 | 12704 | ||
12705 | 12705 | ||
12706 | 12706 | ||
12707 | 12707 | ||
12708 | 12708 | ||
12709 | 12709 | ||
12710 | 12710 | ||
12711 | 12711 | ||
12712 | 12712 | ||
12713 | 12713 | ||
12714 | 12714 | ||
12715 | 12715 | ||
12716 | 12716 | ||
12717 | 12717 | ||
12718 | 12718 | ||
12719 | 12719 | ||
12720 | 12720 | ||
12721 | 12721 | ||
12722 | 12722 | ||
12723 | 12723 | ||
12724 | 12724 | ||
12725 | 12725 | ||
12726 | 12726 | ||
12727 | 12727 | ||
12728 | 12728 | ||
12729 | 12729 | ||
12730 | 12730 | ||
12731 | 12731 | ||
12732 | 12732 | ||
12733 | 12733 | ||
12734 | 12734 | ||
12735 | 12735 | ||
12736 | 12736 | ||
12737 | 12737 | ||
12738 | 12738 | ||
12739 | 12739 | ||
12740 | 12740 | ||
12741 | 12741 | ||
12742 | 12742 | ||
12743 | 12743 | ||
12744 | 12744 | ||
12745 | 12745 | ||
12746 | 12746 | ||
12747 | 12747 | ||
12748 | 12748 | ||
12749 | 12749 | ||
12750 | 12750 | ||
12751 | 12751 | ||
12752 | 12752 | ||
12753 | 12753 | ||
12754 | 12754 | ||
12755 | 12755 | ||
12756 | 12756 | ||
12757 | 12757 | ||
12758 | 12758 | ||
12759 | 12759 | ||
12760 | 12760 | ||
12761 | 12761 | ||
12762 | 12762 | ||
12763 | 12763 | ||
12764 | 12764 | ||
12765 | 12765 | ||
12766 | 12766 | ||
12767 | 12767 | ||
12768 | 12768 | ||
12769 | 12769 | ||
12770 | 12770 | ||
12771 | 12771 | ||
12772 | 12772 | ||
12773 | 12773 | ||
12774 | 12774 | ||
12775 | 12775 | ||
12776 | 12776 | ||
12777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 | 12777 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 |
12778 | $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | 12778 | $as_echo_n "checking how to hardcode library paths into programs... " >&6; } |
12779 | hardcode_action= | 12779 | hardcode_action= |
12780 | if test -n "$hardcode_libdir_flag_spec" || | 12780 | if test -n "$hardcode_libdir_flag_spec" || |
12781 | test -n "$runpath_var" || | 12781 | test -n "$runpath_var" || |
12782 | test "X$hardcode_automatic" = "Xyes" ; then | 12782 | test "X$hardcode_automatic" = "Xyes" ; then |
12783 | 12783 | ||
12784 | # We can hardcode non-existent directories. | 12784 | # We can hardcode non-existent directories. |
12785 | if test "$hardcode_direct" != no && | 12785 | if test "$hardcode_direct" != no && |
12786 | # If the only mechanism to avoid hardcoding is shlibpath_var, we | 12786 | # If the only mechanism to avoid hardcoding is shlibpath_var, we |
12787 | # have to relink, otherwise we might link with an installed library | 12787 | # have to relink, otherwise we might link with an installed library |
12788 | # when we should be linking with a yet-to-be-installed one | 12788 | # when we should be linking with a yet-to-be-installed one |
12789 | ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && | 12789 | ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && |
12790 | test "$hardcode_minus_L" != no; then | 12790 | test "$hardcode_minus_L" != no; then |
12791 | # Linking always hardcodes the temporary library directory. | 12791 | # Linking always hardcodes the temporary library directory. |
12792 | hardcode_action=relink | 12792 | hardcode_action=relink |
12793 | else | 12793 | else |
12794 | # We can link without hardcoding, and we can hardcode nonexisting dirs. | 12794 | # We can link without hardcoding, and we can hardcode nonexisting dirs. |
12795 | hardcode_action=immediate | 12795 | hardcode_action=immediate |
12796 | fi | 12796 | fi |
12797 | else | 12797 | else |
12798 | # We cannot hardcode anything, or else we can only hardcode existing | 12798 | # We cannot hardcode anything, or else we can only hardcode existing |
12799 | # directories. | 12799 | # directories. |
12800 | hardcode_action=unsupported | 12800 | hardcode_action=unsupported |
12801 | fi | 12801 | fi |
12802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 | 12802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 |
12803 | $as_echo "$hardcode_action" >&6; } | 12803 | $as_echo "$hardcode_action" >&6; } |
12804 | 12804 | ||
12805 | if test "$hardcode_action" = relink || | 12805 | if test "$hardcode_action" = relink || |
12806 | test "$inherit_rpath" = yes; then | 12806 | test "$inherit_rpath" = yes; then |
12807 | # Fast installation is not supported | 12807 | # Fast installation is not supported |
12808 | enable_fast_install=no | 12808 | enable_fast_install=no |
12809 | elif test "$shlibpath_overrides_runpath" = yes || | 12809 | elif test "$shlibpath_overrides_runpath" = yes || |
12810 | test "$enable_shared" = no; then | 12810 | test "$enable_shared" = no; then |
12811 | # Fast installation is not necessary | 12811 | # Fast installation is not necessary |
12812 | enable_fast_install=needless | 12812 | enable_fast_install=needless |
12813 | fi | 12813 | fi |
12814 | 12814 | ||
12815 | 12815 | ||
12816 | 12816 | ||
12817 | 12817 | ||
12818 | 12818 | ||
12819 | 12819 | ||
12820 | if test "x$enable_dlopen" != xyes; then | 12820 | if test "x$enable_dlopen" != xyes; then |
12821 | enable_dlopen=unknown | 12821 | enable_dlopen=unknown |
12822 | enable_dlopen_self=unknown | 12822 | enable_dlopen_self=unknown |
12823 | enable_dlopen_self_static=unknown | 12823 | enable_dlopen_self_static=unknown |
12824 | else | 12824 | else |
12825 | lt_cv_dlopen=no | 12825 | lt_cv_dlopen=no |
12826 | lt_cv_dlopen_libs= | 12826 | lt_cv_dlopen_libs= |
12827 | 12827 | ||
12828 | case $host_os in | 12828 | case $host_os in |
12829 | beos*) | 12829 | beos*) |
12830 | lt_cv_dlopen="load_add_on" | 12830 | lt_cv_dlopen="load_add_on" |
12831 | lt_cv_dlopen_libs= | 12831 | lt_cv_dlopen_libs= |
12832 | lt_cv_dlopen_self=yes | 12832 | lt_cv_dlopen_self=yes |
12833 | ;; | 12833 | ;; |
12834 | 12834 | ||
12835 | mingw* | pw32* | cegcc*) | 12835 | mingw* | pw32* | cegcc*) |
12836 | lt_cv_dlopen="LoadLibrary" | 12836 | lt_cv_dlopen="LoadLibrary" |
12837 | lt_cv_dlopen_libs= | 12837 | lt_cv_dlopen_libs= |
12838 | ;; | 12838 | ;; |
12839 | 12839 | ||
12840 | cygwin*) | 12840 | cygwin*) |
12841 | lt_cv_dlopen="dlopen" | 12841 | lt_cv_dlopen="dlopen" |
12842 | lt_cv_dlopen_libs= | 12842 | lt_cv_dlopen_libs= |
12843 | ;; | 12843 | ;; |
12844 | 12844 | ||
12845 | darwin*) | 12845 | darwin*) |
12846 | # if libdl is installed we need to link against it | 12846 | # if libdl is installed we need to link against it |
12847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 12847 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
12848 | $as_echo_n "checking for dlopen in -ldl... " >&6; } | 12848 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
12849 | if ${ac_cv_lib_dl_dlopen+:} false; then : | 12849 | if ${ac_cv_lib_dl_dlopen+:} false; then : |
12850 | $as_echo_n "(cached) " >&6 | 12850 | $as_echo_n "(cached) " >&6 |
12851 | else | 12851 | else |
12852 | ac_check_lib_save_LIBS=$LIBS | 12852 | ac_check_lib_save_LIBS=$LIBS |
12853 | LIBS="-ldl $LIBS" | 12853 | LIBS="-ldl $LIBS" |
12854 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12854 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12855 | /* end confdefs.h. */ | 12855 | /* end confdefs.h. */ |
12856 | 12856 | ||
12857 | /* Override any GCC internal prototype to avoid an error. | 12857 | /* Override any GCC internal prototype to avoid an error. |
12858 | Use char because int might match the return type of a GCC | 12858 | Use char because int might match the return type of a GCC |
12859 | builtin and then its argument prototype would still apply. */ | 12859 | builtin and then its argument prototype would still apply. */ |
12860 | #ifdef __cplusplus | 12860 | #ifdef __cplusplus |
12861 | extern "C" | 12861 | extern "C" |
12862 | #endif | 12862 | #endif |
12863 | char dlopen (); | 12863 | char dlopen (); |
12864 | int | 12864 | int |
12865 | main () | 12865 | main () |
12866 | { | 12866 | { |
12867 | return dlopen (); | 12867 | return dlopen (); |
12868 | ; | 12868 | ; |
12869 | return 0; | 12869 | return 0; |
12870 | } | 12870 | } |
12871 | _ACEOF | 12871 | _ACEOF |
12872 | if ac_fn_c_try_link "$LINENO"; then : | 12872 | if ac_fn_c_try_link "$LINENO"; then : |
12873 | ac_cv_lib_dl_dlopen=yes | 12873 | ac_cv_lib_dl_dlopen=yes |
12874 | else | 12874 | else |
12875 | ac_cv_lib_dl_dlopen=no | 12875 | ac_cv_lib_dl_dlopen=no |
12876 | fi | 12876 | fi |
12877 | rm -f core conftest.err conftest.$ac_objext \ | 12877 | rm -f core conftest.err conftest.$ac_objext \ |
12878 | conftest$ac_exeext conftest.$ac_ext | 12878 | conftest$ac_exeext conftest.$ac_ext |
12879 | LIBS=$ac_check_lib_save_LIBS | 12879 | LIBS=$ac_check_lib_save_LIBS |
12880 | fi | 12880 | fi |
12881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 12881 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
12882 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 12882 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
12883 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 12883 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
12884 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 12884 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
12885 | else | 12885 | else |
12886 | 12886 | ||
12887 | lt_cv_dlopen="dyld" | 12887 | lt_cv_dlopen="dyld" |
12888 | lt_cv_dlopen_libs= | 12888 | lt_cv_dlopen_libs= |
12889 | lt_cv_dlopen_self=yes | 12889 | lt_cv_dlopen_self=yes |
12890 | 12890 | ||
12891 | fi | 12891 | fi |
12892 | 12892 | ||
12893 | ;; | 12893 | ;; |
12894 | 12894 | ||
12895 | *) | 12895 | *) |
12896 | ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | 12896 | ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" |
12897 | if test "x$ac_cv_func_shl_load" = xyes; then : | 12897 | if test "x$ac_cv_func_shl_load" = xyes; then : |
12898 | lt_cv_dlopen="shl_load" | 12898 | lt_cv_dlopen="shl_load" |
12899 | else | 12899 | else |
12900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 | 12900 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 |
12901 | $as_echo_n "checking for shl_load in -ldld... " >&6; } | 12901 | $as_echo_n "checking for shl_load in -ldld... " >&6; } |
12902 | if ${ac_cv_lib_dld_shl_load+:} false; then : | 12902 | if ${ac_cv_lib_dld_shl_load+:} false; then : |
12903 | $as_echo_n "(cached) " >&6 | 12903 | $as_echo_n "(cached) " >&6 |
12904 | else | 12904 | else |
12905 | ac_check_lib_save_LIBS=$LIBS | 12905 | ac_check_lib_save_LIBS=$LIBS |
12906 | LIBS="-ldld $LIBS" | 12906 | LIBS="-ldld $LIBS" |
12907 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12907 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12908 | /* end confdefs.h. */ | 12908 | /* end confdefs.h. */ |
12909 | 12909 | ||
12910 | /* Override any GCC internal prototype to avoid an error. | 12910 | /* Override any GCC internal prototype to avoid an error. |
12911 | Use char because int might match the return type of a GCC | 12911 | Use char because int might match the return type of a GCC |
12912 | builtin and then its argument prototype would still apply. */ | 12912 | builtin and then its argument prototype would still apply. */ |
12913 | #ifdef __cplusplus | 12913 | #ifdef __cplusplus |
12914 | extern "C" | 12914 | extern "C" |
12915 | #endif | 12915 | #endif |
12916 | char shl_load (); | 12916 | char shl_load (); |
12917 | int | 12917 | int |
12918 | main () | 12918 | main () |
12919 | { | 12919 | { |
12920 | return shl_load (); | 12920 | return shl_load (); |
12921 | ; | 12921 | ; |
12922 | return 0; | 12922 | return 0; |
12923 | } | 12923 | } |
12924 | _ACEOF | 12924 | _ACEOF |
12925 | if ac_fn_c_try_link "$LINENO"; then : | 12925 | if ac_fn_c_try_link "$LINENO"; then : |
12926 | ac_cv_lib_dld_shl_load=yes | 12926 | ac_cv_lib_dld_shl_load=yes |
12927 | else | 12927 | else |
12928 | ac_cv_lib_dld_shl_load=no | 12928 | ac_cv_lib_dld_shl_load=no |
12929 | fi | 12929 | fi |
12930 | rm -f core conftest.err conftest.$ac_objext \ | 12930 | rm -f core conftest.err conftest.$ac_objext \ |
12931 | conftest$ac_exeext conftest.$ac_ext | 12931 | conftest$ac_exeext conftest.$ac_ext |
12932 | LIBS=$ac_check_lib_save_LIBS | 12932 | LIBS=$ac_check_lib_save_LIBS |
12933 | fi | 12933 | fi |
12934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | 12934 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 |
12935 | $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | 12935 | $as_echo "$ac_cv_lib_dld_shl_load" >&6; } |
12936 | if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | 12936 | if test "x$ac_cv_lib_dld_shl_load" = xyes; then : |
12937 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" | 12937 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" |
12938 | else | 12938 | else |
12939 | ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | 12939 | ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" |
12940 | if test "x$ac_cv_func_dlopen" = xyes; then : | 12940 | if test "x$ac_cv_func_dlopen" = xyes; then : |
12941 | lt_cv_dlopen="dlopen" | 12941 | lt_cv_dlopen="dlopen" |
12942 | else | 12942 | else |
12943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 12943 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 |
12944 | $as_echo_n "checking for dlopen in -ldl... " >&6; } | 12944 | $as_echo_n "checking for dlopen in -ldl... " >&6; } |
12945 | if ${ac_cv_lib_dl_dlopen+:} false; then : | 12945 | if ${ac_cv_lib_dl_dlopen+:} false; then : |
12946 | $as_echo_n "(cached) " >&6 | 12946 | $as_echo_n "(cached) " >&6 |
12947 | else | 12947 | else |
12948 | ac_check_lib_save_LIBS=$LIBS | 12948 | ac_check_lib_save_LIBS=$LIBS |
12949 | LIBS="-ldl $LIBS" | 12949 | LIBS="-ldl $LIBS" |
12950 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12950 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12951 | /* end confdefs.h. */ | 12951 | /* end confdefs.h. */ |
12952 | 12952 | ||
12953 | /* Override any GCC internal prototype to avoid an error. | 12953 | /* Override any GCC internal prototype to avoid an error. |
12954 | Use char because int might match the return type of a GCC | 12954 | Use char because int might match the return type of a GCC |
12955 | builtin and then its argument prototype would still apply. */ | 12955 | builtin and then its argument prototype would still apply. */ |
12956 | #ifdef __cplusplus | 12956 | #ifdef __cplusplus |
12957 | extern "C" | 12957 | extern "C" |
12958 | #endif | 12958 | #endif |
12959 | char dlopen (); | 12959 | char dlopen (); |
12960 | int | 12960 | int |
12961 | main () | 12961 | main () |
12962 | { | 12962 | { |
12963 | return dlopen (); | 12963 | return dlopen (); |
12964 | ; | 12964 | ; |
12965 | return 0; | 12965 | return 0; |
12966 | } | 12966 | } |
12967 | _ACEOF | 12967 | _ACEOF |
12968 | if ac_fn_c_try_link "$LINENO"; then : | 12968 | if ac_fn_c_try_link "$LINENO"; then : |
12969 | ac_cv_lib_dl_dlopen=yes | 12969 | ac_cv_lib_dl_dlopen=yes |
12970 | else | 12970 | else |
12971 | ac_cv_lib_dl_dlopen=no | 12971 | ac_cv_lib_dl_dlopen=no |
12972 | fi | 12972 | fi |
12973 | rm -f core conftest.err conftest.$ac_objext \ | 12973 | rm -f core conftest.err conftest.$ac_objext \ |
12974 | conftest$ac_exeext conftest.$ac_ext | 12974 | conftest$ac_exeext conftest.$ac_ext |
12975 | LIBS=$ac_check_lib_save_LIBS | 12975 | LIBS=$ac_check_lib_save_LIBS |
12976 | fi | 12976 | fi |
12977 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 12977 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 |
12978 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 12978 | $as_echo "$ac_cv_lib_dl_dlopen" >&6; } |
12979 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 12979 | if test "x$ac_cv_lib_dl_dlopen" = xyes; then : |
12980 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 12980 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" |
12981 | else | 12981 | else |
12982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 | 12982 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 |
12983 | $as_echo_n "checking for dlopen in -lsvld... " >&6; } | 12983 | $as_echo_n "checking for dlopen in -lsvld... " >&6; } |
12984 | if ${ac_cv_lib_svld_dlopen+:} false; then : | 12984 | if ${ac_cv_lib_svld_dlopen+:} false; then : |
12985 | $as_echo_n "(cached) " >&6 | 12985 | $as_echo_n "(cached) " >&6 |
12986 | else | 12986 | else |
12987 | ac_check_lib_save_LIBS=$LIBS | 12987 | ac_check_lib_save_LIBS=$LIBS |
12988 | LIBS="-lsvld $LIBS" | 12988 | LIBS="-lsvld $LIBS" |
12989 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 12989 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
12990 | /* end confdefs.h. */ | 12990 | /* end confdefs.h. */ |
12991 | 12991 | ||
12992 | /* Override any GCC internal prototype to avoid an error. | 12992 | /* Override any GCC internal prototype to avoid an error. |
12993 | Use char because int might match the return type of a GCC | 12993 | Use char because int might match the return type of a GCC |
12994 | builtin and then its argument prototype would still apply. */ | 12994 | builtin and then its argument prototype would still apply. */ |
12995 | #ifdef __cplusplus | 12995 | #ifdef __cplusplus |
12996 | extern "C" | 12996 | extern "C" |
12997 | #endif | 12997 | #endif |
12998 | char dlopen (); | 12998 | char dlopen (); |
12999 | int | 12999 | int |
13000 | main () | 13000 | main () |
13001 | { | 13001 | { |
13002 | return dlopen (); | 13002 | return dlopen (); |
13003 | ; | 13003 | ; |
13004 | return 0; | 13004 | return 0; |
13005 | } | 13005 | } |
13006 | _ACEOF | 13006 | _ACEOF |
13007 | if ac_fn_c_try_link "$LINENO"; then : | 13007 | if ac_fn_c_try_link "$LINENO"; then : |
13008 | ac_cv_lib_svld_dlopen=yes | 13008 | ac_cv_lib_svld_dlopen=yes |
13009 | else | 13009 | else |
13010 | ac_cv_lib_svld_dlopen=no | 13010 | ac_cv_lib_svld_dlopen=no |
13011 | fi | 13011 | fi |
13012 | rm -f core conftest.err conftest.$ac_objext \ | 13012 | rm -f core conftest.err conftest.$ac_objext \ |
13013 | conftest$ac_exeext conftest.$ac_ext | 13013 | conftest$ac_exeext conftest.$ac_ext |
13014 | LIBS=$ac_check_lib_save_LIBS | 13014 | LIBS=$ac_check_lib_save_LIBS |
13015 | fi | 13015 | fi |
13016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 | 13016 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 |
13017 | $as_echo "$ac_cv_lib_svld_dlopen" >&6; } | 13017 | $as_echo "$ac_cv_lib_svld_dlopen" >&6; } |
13018 | if test "x$ac_cv_lib_svld_dlopen" = xyes; then : | 13018 | if test "x$ac_cv_lib_svld_dlopen" = xyes; then : |
13019 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 13019 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" |
13020 | else | 13020 | else |
13021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 | 13021 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 |
13022 | $as_echo_n "checking for dld_link in -ldld... " >&6; } | 13022 | $as_echo_n "checking for dld_link in -ldld... " >&6; } |
13023 | if ${ac_cv_lib_dld_dld_link+:} false; then : | 13023 | if ${ac_cv_lib_dld_dld_link+:} false; then : |
13024 | $as_echo_n "(cached) " >&6 | 13024 | $as_echo_n "(cached) " >&6 |
13025 | else | 13025 | else |
13026 | ac_check_lib_save_LIBS=$LIBS | 13026 | ac_check_lib_save_LIBS=$LIBS |
13027 | LIBS="-ldld $LIBS" | 13027 | LIBS="-ldld $LIBS" |
13028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13028 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13029 | /* end confdefs.h. */ | 13029 | /* end confdefs.h. */ |
13030 | 13030 | ||
13031 | /* Override any GCC internal prototype to avoid an error. | 13031 | /* Override any GCC internal prototype to avoid an error. |
13032 | Use char because int might match the return type of a GCC | 13032 | Use char because int might match the return type of a GCC |
13033 | builtin and then its argument prototype would still apply. */ | 13033 | builtin and then its argument prototype would still apply. */ |
13034 | #ifdef __cplusplus | 13034 | #ifdef __cplusplus |
13035 | extern "C" | 13035 | extern "C" |
13036 | #endif | 13036 | #endif |
13037 | char dld_link (); | 13037 | char dld_link (); |
13038 | int | 13038 | int |
13039 | main () | 13039 | main () |
13040 | { | 13040 | { |
13041 | return dld_link (); | 13041 | return dld_link (); |
13042 | ; | 13042 | ; |
13043 | return 0; | 13043 | return 0; |
13044 | } | 13044 | } |
13045 | _ACEOF | 13045 | _ACEOF |
13046 | if ac_fn_c_try_link "$LINENO"; then : | 13046 | if ac_fn_c_try_link "$LINENO"; then : |
13047 | ac_cv_lib_dld_dld_link=yes | 13047 | ac_cv_lib_dld_dld_link=yes |
13048 | else | 13048 | else |
13049 | ac_cv_lib_dld_dld_link=no | 13049 | ac_cv_lib_dld_dld_link=no |
13050 | fi | 13050 | fi |
13051 | rm -f core conftest.err conftest.$ac_objext \ | 13051 | rm -f core conftest.err conftest.$ac_objext \ |
13052 | conftest$ac_exeext conftest.$ac_ext | 13052 | conftest$ac_exeext conftest.$ac_ext |
13053 | LIBS=$ac_check_lib_save_LIBS | 13053 | LIBS=$ac_check_lib_save_LIBS |
13054 | fi | 13054 | fi |
13055 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 | 13055 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 |
13056 | $as_echo "$ac_cv_lib_dld_dld_link" >&6; } | 13056 | $as_echo "$ac_cv_lib_dld_dld_link" >&6; } |
13057 | if test "x$ac_cv_lib_dld_dld_link" = xyes; then : | 13057 | if test "x$ac_cv_lib_dld_dld_link" = xyes; then : |
13058 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" | 13058 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" |
13059 | fi | 13059 | fi |
13060 | 13060 | ||
13061 | 13061 | ||
13062 | fi | 13062 | fi |
13063 | 13063 | ||
13064 | 13064 | ||
13065 | fi | 13065 | fi |
13066 | 13066 | ||
13067 | 13067 | ||
13068 | fi | 13068 | fi |
13069 | 13069 | ||
13070 | 13070 | ||
13071 | fi | 13071 | fi |
13072 | 13072 | ||
13073 | 13073 | ||
13074 | fi | 13074 | fi |
13075 | 13075 | ||
13076 | ;; | 13076 | ;; |
13077 | esac | 13077 | esac |
13078 | 13078 | ||
13079 | if test "x$lt_cv_dlopen" != xno; then | 13079 | if test "x$lt_cv_dlopen" != xno; then |
13080 | enable_dlopen=yes | 13080 | enable_dlopen=yes |
13081 | else | 13081 | else |
13082 | enable_dlopen=no | 13082 | enable_dlopen=no |
13083 | fi | 13083 | fi |
13084 | 13084 | ||
13085 | case $lt_cv_dlopen in | 13085 | case $lt_cv_dlopen in |
13086 | dlopen) | 13086 | dlopen) |
13087 | save_CPPFLAGS="$CPPFLAGS" | 13087 | save_CPPFLAGS="$CPPFLAGS" |
13088 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 13088 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" |
13089 | 13089 | ||
13090 | save_LDFLAGS="$LDFLAGS" | 13090 | save_LDFLAGS="$LDFLAGS" |
13091 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 13091 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" |
13092 | 13092 | ||
13093 | save_LIBS="$LIBS" | 13093 | save_LIBS="$LIBS" |
13094 | LIBS="$lt_cv_dlopen_libs $LIBS" | 13094 | LIBS="$lt_cv_dlopen_libs $LIBS" |
13095 | 13095 | ||
13096 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 | 13096 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 |
13097 | $as_echo_n "checking whether a program can dlopen itself... " >&6; } | 13097 | $as_echo_n "checking whether a program can dlopen itself... " >&6; } |
13098 | if ${lt_cv_dlopen_self+:} false; then : | 13098 | if ${lt_cv_dlopen_self+:} false; then : |
13099 | $as_echo_n "(cached) " >&6 | 13099 | $as_echo_n "(cached) " >&6 |
13100 | else | 13100 | else |
13101 | if test "$cross_compiling" = yes; then : | 13101 | if test "$cross_compiling" = yes; then : |
13102 | lt_cv_dlopen_self=cross | 13102 | lt_cv_dlopen_self=cross |
13103 | else | 13103 | else |
13104 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 13104 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13105 | lt_status=$lt_dlunknown | 13105 | lt_status=$lt_dlunknown |
13106 | cat > conftest.$ac_ext <<_LT_EOF | 13106 | cat > conftest.$ac_ext <<_LT_EOF |
13107 | #line $LINENO "configure" | 13107 | #line $LINENO "configure" |
13108 | #include "confdefs.h" | 13108 | #include "confdefs.h" |
13109 | 13109 | ||
13110 | #if HAVE_DLFCN_H | 13110 | #if HAVE_DLFCN_H |
13111 | #include <dlfcn.h> | 13111 | #include <dlfcn.h> |
13112 | #endif | 13112 | #endif |
13113 | 13113 | ||
13114 | #include <stdio.h> | 13114 | #include <stdio.h> |
13115 | 13115 | ||
13116 | #ifdef RTLD_GLOBAL | 13116 | #ifdef RTLD_GLOBAL |
13117 | # define LT_DLGLOBAL RTLD_GLOBAL | 13117 | # define LT_DLGLOBAL RTLD_GLOBAL |
13118 | #else | 13118 | #else |
13119 | # ifdef DL_GLOBAL | 13119 | # ifdef DL_GLOBAL |
13120 | # define LT_DLGLOBAL DL_GLOBAL | 13120 | # define LT_DLGLOBAL DL_GLOBAL |
13121 | # else | 13121 | # else |
13122 | # define LT_DLGLOBAL 0 | 13122 | # define LT_DLGLOBAL 0 |
13123 | # endif | 13123 | # endif |
13124 | #endif | 13124 | #endif |
13125 | 13125 | ||
13126 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 13126 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
13127 | find out it does not work in some platform. */ | 13127 | find out it does not work in some platform. */ |
13128 | #ifndef LT_DLLAZY_OR_NOW | 13128 | #ifndef LT_DLLAZY_OR_NOW |
13129 | # ifdef RTLD_LAZY | 13129 | # ifdef RTLD_LAZY |
13130 | # define LT_DLLAZY_OR_NOW RTLD_LAZY | 13130 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
13131 | # else | 13131 | # else |
13132 | # ifdef DL_LAZY | 13132 | # ifdef DL_LAZY |
13133 | # define LT_DLLAZY_OR_NOW DL_LAZY | 13133 | # define LT_DLLAZY_OR_NOW DL_LAZY |
13134 | # else | 13134 | # else |
13135 | # ifdef RTLD_NOW | 13135 | # ifdef RTLD_NOW |
13136 | # define LT_DLLAZY_OR_NOW RTLD_NOW | 13136 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
13137 | # else | 13137 | # else |
13138 | # ifdef DL_NOW | 13138 | # ifdef DL_NOW |
13139 | # define LT_DLLAZY_OR_NOW DL_NOW | 13139 | # define LT_DLLAZY_OR_NOW DL_NOW |
13140 | # else | 13140 | # else |
13141 | # define LT_DLLAZY_OR_NOW 0 | 13141 | # define LT_DLLAZY_OR_NOW 0 |
13142 | # endif | 13142 | # endif |
13143 | # endif | 13143 | # endif |
13144 | # endif | 13144 | # endif |
13145 | # endif | 13145 | # endif |
13146 | #endif | 13146 | #endif |
13147 | 13147 | ||
13148 | /* When -fvisbility=hidden is used, assume the code has been annotated | 13148 | /* When -fvisbility=hidden is used, assume the code has been annotated |
13149 | correspondingly for the symbols needed. */ | 13149 | correspondingly for the symbols needed. */ |
13150 | #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | 13150 | #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
13151 | int fnord () __attribute__((visibility("default"))); | 13151 | int fnord () __attribute__((visibility("default"))); |
13152 | #endif | 13152 | #endif |
13153 | 13153 | ||
13154 | int fnord () { return 42; } | 13154 | int fnord () { return 42; } |
13155 | int main () | 13155 | int main () |
13156 | { | 13156 | { |
13157 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 13157 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
13158 | int status = $lt_dlunknown; | 13158 | int status = $lt_dlunknown; |
13159 | 13159 | ||
13160 | if (self) | 13160 | if (self) |
13161 | { | 13161 | { |
13162 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | 13162 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
13163 | else | 13163 | else |
13164 | { | 13164 | { |
13165 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 13165 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
13166 | else puts (dlerror ()); | 13166 | else puts (dlerror ()); |
13167 | } | 13167 | } |
13168 | /* dlclose (self); */ | 13168 | /* dlclose (self); */ |
13169 | } | 13169 | } |
13170 | else | 13170 | else |
13171 | puts (dlerror ()); | 13171 | puts (dlerror ()); |
13172 | 13172 | ||
13173 | return status; | 13173 | return status; |
13174 | } | 13174 | } |
13175 | _LT_EOF | 13175 | _LT_EOF |
13176 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 13176 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
13177 | (eval $ac_link) 2>&5 | 13177 | (eval $ac_link) 2>&5 |
13178 | ac_status=$? | 13178 | ac_status=$? |
13179 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 13179 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13180 | test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | 13180 | test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
13181 | (./conftest; exit; ) >&5 2>/dev/null | 13181 | (./conftest; exit; ) >&5 2>/dev/null |
13182 | lt_status=$? | 13182 | lt_status=$? |
13183 | case x$lt_status in | 13183 | case x$lt_status in |
13184 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 13184 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; |
13185 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 13185 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; |
13186 | x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; | 13186 | x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; |
13187 | esac | 13187 | esac |
13188 | else : | 13188 | else : |
13189 | # compilation failed | 13189 | # compilation failed |
13190 | lt_cv_dlopen_self=no | 13190 | lt_cv_dlopen_self=no |
13191 | fi | 13191 | fi |
13192 | fi | 13192 | fi |
13193 | rm -fr conftest* | 13193 | rm -fr conftest* |
13194 | 13194 | ||
13195 | 13195 | ||
13196 | fi | 13196 | fi |
13197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 | 13197 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 |
13198 | $as_echo "$lt_cv_dlopen_self" >&6; } | 13198 | $as_echo "$lt_cv_dlopen_self" >&6; } |
13199 | 13199 | ||
13200 | if test "x$lt_cv_dlopen_self" = xyes; then | 13200 | if test "x$lt_cv_dlopen_self" = xyes; then |
13201 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" | 13201 | wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" |
13202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 | 13202 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 |
13203 | $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } | 13203 | $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } |
13204 | if ${lt_cv_dlopen_self_static+:} false; then : | 13204 | if ${lt_cv_dlopen_self_static+:} false; then : |
13205 | $as_echo_n "(cached) " >&6 | 13205 | $as_echo_n "(cached) " >&6 |
13206 | else | 13206 | else |
13207 | if test "$cross_compiling" = yes; then : | 13207 | if test "$cross_compiling" = yes; then : |
13208 | lt_cv_dlopen_self_static=cross | 13208 | lt_cv_dlopen_self_static=cross |
13209 | else | 13209 | else |
13210 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 13210 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
13211 | lt_status=$lt_dlunknown | 13211 | lt_status=$lt_dlunknown |
13212 | cat > conftest.$ac_ext <<_LT_EOF | 13212 | cat > conftest.$ac_ext <<_LT_EOF |
13213 | #line $LINENO "configure" | 13213 | #line $LINENO "configure" |
13214 | #include "confdefs.h" | 13214 | #include "confdefs.h" |
13215 | 13215 | ||
13216 | #if HAVE_DLFCN_H | 13216 | #if HAVE_DLFCN_H |
13217 | #include <dlfcn.h> | 13217 | #include <dlfcn.h> |
13218 | #endif | 13218 | #endif |
13219 | 13219 | ||
13220 | #include <stdio.h> | 13220 | #include <stdio.h> |
13221 | 13221 | ||
13222 | #ifdef RTLD_GLOBAL | 13222 | #ifdef RTLD_GLOBAL |
13223 | # define LT_DLGLOBAL RTLD_GLOBAL | 13223 | # define LT_DLGLOBAL RTLD_GLOBAL |
13224 | #else | 13224 | #else |
13225 | # ifdef DL_GLOBAL | 13225 | # ifdef DL_GLOBAL |
13226 | # define LT_DLGLOBAL DL_GLOBAL | 13226 | # define LT_DLGLOBAL DL_GLOBAL |
13227 | # else | 13227 | # else |
13228 | # define LT_DLGLOBAL 0 | 13228 | # define LT_DLGLOBAL 0 |
13229 | # endif | 13229 | # endif |
13230 | #endif | 13230 | #endif |
13231 | 13231 | ||
13232 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 13232 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we |
13233 | find out it does not work in some platform. */ | 13233 | find out it does not work in some platform. */ |
13234 | #ifndef LT_DLLAZY_OR_NOW | 13234 | #ifndef LT_DLLAZY_OR_NOW |
13235 | # ifdef RTLD_LAZY | 13235 | # ifdef RTLD_LAZY |
13236 | # define LT_DLLAZY_OR_NOW RTLD_LAZY | 13236 | # define LT_DLLAZY_OR_NOW RTLD_LAZY |
13237 | # else | 13237 | # else |
13238 | # ifdef DL_LAZY | 13238 | # ifdef DL_LAZY |
13239 | # define LT_DLLAZY_OR_NOW DL_LAZY | 13239 | # define LT_DLLAZY_OR_NOW DL_LAZY |
13240 | # else | 13240 | # else |
13241 | # ifdef RTLD_NOW | 13241 | # ifdef RTLD_NOW |
13242 | # define LT_DLLAZY_OR_NOW RTLD_NOW | 13242 | # define LT_DLLAZY_OR_NOW RTLD_NOW |
13243 | # else | 13243 | # else |
13244 | # ifdef DL_NOW | 13244 | # ifdef DL_NOW |
13245 | # define LT_DLLAZY_OR_NOW DL_NOW | 13245 | # define LT_DLLAZY_OR_NOW DL_NOW |
13246 | # else | 13246 | # else |
13247 | # define LT_DLLAZY_OR_NOW 0 | 13247 | # define LT_DLLAZY_OR_NOW 0 |
13248 | # endif | 13248 | # endif |
13249 | # endif | 13249 | # endif |
13250 | # endif | 13250 | # endif |
13251 | # endif | 13251 | # endif |
13252 | #endif | 13252 | #endif |
13253 | 13253 | ||
13254 | /* When -fvisbility=hidden is used, assume the code has been annotated | 13254 | /* When -fvisbility=hidden is used, assume the code has been annotated |
13255 | correspondingly for the symbols needed. */ | 13255 | correspondingly for the symbols needed. */ |
13256 | #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | 13256 | #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) |
13257 | int fnord () __attribute__((visibility("default"))); | 13257 | int fnord () __attribute__((visibility("default"))); |
13258 | #endif | 13258 | #endif |
13259 | 13259 | ||
13260 | int fnord () { return 42; } | 13260 | int fnord () { return 42; } |
13261 | int main () | 13261 | int main () |
13262 | { | 13262 | { |
13263 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 13263 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); |
13264 | int status = $lt_dlunknown; | 13264 | int status = $lt_dlunknown; |
13265 | 13265 | ||
13266 | if (self) | 13266 | if (self) |
13267 | { | 13267 | { |
13268 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; | 13268 | if (dlsym (self,"fnord")) status = $lt_dlno_uscore; |
13269 | else | 13269 | else |
13270 | { | 13270 | { |
13271 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 13271 | if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; |
13272 | else puts (dlerror ()); | 13272 | else puts (dlerror ()); |
13273 | } | 13273 | } |
13274 | /* dlclose (self); */ | 13274 | /* dlclose (self); */ |
13275 | } | 13275 | } |
13276 | else | 13276 | else |
13277 | puts (dlerror ()); | 13277 | puts (dlerror ()); |
13278 | 13278 | ||
13279 | return status; | 13279 | return status; |
13280 | } | 13280 | } |
13281 | _LT_EOF | 13281 | _LT_EOF |
13282 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 13282 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 |
13283 | (eval $ac_link) 2>&5 | 13283 | (eval $ac_link) 2>&5 |
13284 | ac_status=$? | 13284 | ac_status=$? |
13285 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 13285 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
13286 | test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | 13286 | test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then |
13287 | (./conftest; exit; ) >&5 2>/dev/null | 13287 | (./conftest; exit; ) >&5 2>/dev/null |
13288 | lt_status=$? | 13288 | lt_status=$? |
13289 | case x$lt_status in | 13289 | case x$lt_status in |
13290 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 13290 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; |
13291 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 13291 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; |
13292 | x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; | 13292 | x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; |
13293 | esac | 13293 | esac |
13294 | else : | 13294 | else : |
13295 | # compilation failed | 13295 | # compilation failed |
13296 | lt_cv_dlopen_self_static=no | 13296 | lt_cv_dlopen_self_static=no |
13297 | fi | 13297 | fi |
13298 | fi | 13298 | fi |
13299 | rm -fr conftest* | 13299 | rm -fr conftest* |
13300 | 13300 | ||
13301 | 13301 | ||
13302 | fi | 13302 | fi |
13303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 | 13303 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 |
13304 | $as_echo "$lt_cv_dlopen_self_static" >&6; } | 13304 | $as_echo "$lt_cv_dlopen_self_static" >&6; } |
13305 | fi | 13305 | fi |
13306 | 13306 | ||
13307 | CPPFLAGS="$save_CPPFLAGS" | 13307 | CPPFLAGS="$save_CPPFLAGS" |
13308 | LDFLAGS="$save_LDFLAGS" | 13308 | LDFLAGS="$save_LDFLAGS" |
13309 | LIBS="$save_LIBS" | 13309 | LIBS="$save_LIBS" |
13310 | ;; | 13310 | ;; |
13311 | esac | 13311 | esac |
13312 | 13312 | ||
13313 | case $lt_cv_dlopen_self in | 13313 | case $lt_cv_dlopen_self in |
13314 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 13314 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; |
13315 | *) enable_dlopen_self=unknown ;; | 13315 | *) enable_dlopen_self=unknown ;; |
13316 | esac | 13316 | esac |
13317 | 13317 | ||
13318 | case $lt_cv_dlopen_self_static in | 13318 | case $lt_cv_dlopen_self_static in |
13319 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 13319 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; |
13320 | *) enable_dlopen_self_static=unknown ;; | 13320 | *) enable_dlopen_self_static=unknown ;; |
13321 | esac | 13321 | esac |
13322 | fi | 13322 | fi |
13323 | 13323 | ||
13324 | 13324 | ||
13325 | 13325 | ||
13326 | 13326 | ||
13327 | 13327 | ||
13328 | 13328 | ||
13329 | 13329 | ||
13330 | 13330 | ||
13331 | 13331 | ||
13332 | 13332 | ||
13333 | 13333 | ||
13334 | 13334 | ||
13335 | 13335 | ||
13336 | 13336 | ||
13337 | 13337 | ||
13338 | 13338 | ||
13339 | 13339 | ||
13340 | striplib= | 13340 | striplib= |
13341 | old_striplib= | 13341 | old_striplib= |
13342 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 | 13342 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 |
13343 | $as_echo_n "checking whether stripping libraries is possible... " >&6; } | 13343 | $as_echo_n "checking whether stripping libraries is possible... " >&6; } |
13344 | if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then | 13344 | if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then |
13345 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 13345 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" |
13346 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 13346 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" |
13347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13347 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13348 | $as_echo "yes" >&6; } | 13348 | $as_echo "yes" >&6; } |
13349 | else | 13349 | else |
13350 | # FIXME - insert some real tests, host_os isn't really good enough | 13350 | # FIXME - insert some real tests, host_os isn't really good enough |
13351 | case $host_os in | 13351 | case $host_os in |
13352 | darwin*) | 13352 | darwin*) |
13353 | if test -n "$STRIP" ; then | 13353 | if test -n "$STRIP" ; then |
13354 | striplib="$STRIP -x" | 13354 | striplib="$STRIP -x" |
13355 | old_striplib="$STRIP -S" | 13355 | old_striplib="$STRIP -S" |
13356 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13356 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13357 | $as_echo "yes" >&6; } | 13357 | $as_echo "yes" >&6; } |
13358 | else | 13358 | else |
13359 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13359 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13360 | $as_echo "no" >&6; } | 13360 | $as_echo "no" >&6; } |
13361 | fi | 13361 | fi |
13362 | ;; | 13362 | ;; |
13363 | *) | 13363 | *) |
13364 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13364 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13365 | $as_echo "no" >&6; } | 13365 | $as_echo "no" >&6; } |
13366 | ;; | 13366 | ;; |
13367 | esac | 13367 | esac |
13368 | fi | 13368 | fi |
13369 | 13369 | ||
13370 | 13370 | ||
13371 | 13371 | ||
13372 | 13372 | ||
13373 | 13373 | ||
13374 | 13374 | ||
13375 | 13375 | ||
13376 | 13376 | ||
13377 | 13377 | ||
13378 | 13378 | ||
13379 | 13379 | ||
13380 | 13380 | ||
13381 | # Report which library types will actually be built | 13381 | # Report which library types will actually be built |
13382 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 | 13382 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 |
13383 | $as_echo_n "checking if libtool supports shared libraries... " >&6; } | 13383 | $as_echo_n "checking if libtool supports shared libraries... " >&6; } |
13384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 | 13384 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 |
13385 | $as_echo "$can_build_shared" >&6; } | 13385 | $as_echo "$can_build_shared" >&6; } |
13386 | 13386 | ||
13387 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 | 13387 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 |
13388 | $as_echo_n "checking whether to build shared libraries... " >&6; } | 13388 | $as_echo_n "checking whether to build shared libraries... " >&6; } |
13389 | test "$can_build_shared" = "no" && enable_shared=no | 13389 | test "$can_build_shared" = "no" && enable_shared=no |
13390 | 13390 | ||
13391 | # On AIX, shared libraries and static libraries use the same namespace, and | 13391 | # On AIX, shared libraries and static libraries use the same namespace, and |
13392 | # are all built from PIC. | 13392 | # are all built from PIC. |
13393 | case $host_os in | 13393 | case $host_os in |
13394 | aix3*) | 13394 | aix3*) |
13395 | test "$enable_shared" = yes && enable_static=no | 13395 | test "$enable_shared" = yes && enable_static=no |
13396 | if test -n "$RANLIB"; then | 13396 | if test -n "$RANLIB"; then |
13397 | archive_cmds="$archive_cmds~\$RANLIB \$lib" | 13397 | archive_cmds="$archive_cmds~\$RANLIB \$lib" |
13398 | postinstall_cmds='$RANLIB $lib' | 13398 | postinstall_cmds='$RANLIB $lib' |
13399 | fi | 13399 | fi |
13400 | ;; | 13400 | ;; |
13401 | 13401 | ||
13402 | aix[4-9]*) | 13402 | aix[4-9]*) |
13403 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 13403 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
13404 | test "$enable_shared" = yes && enable_static=no | 13404 | test "$enable_shared" = yes && enable_static=no |
13405 | fi | 13405 | fi |
13406 | ;; | 13406 | ;; |
13407 | esac | 13407 | esac |
13408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 | 13408 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 |
13409 | $as_echo "$enable_shared" >&6; } | 13409 | $as_echo "$enable_shared" >&6; } |
13410 | 13410 | ||
13411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 | 13411 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 |
13412 | $as_echo_n "checking whether to build static libraries... " >&6; } | 13412 | $as_echo_n "checking whether to build static libraries... " >&6; } |
13413 | # Make sure either enable_shared or enable_static is yes. | 13413 | # Make sure either enable_shared or enable_static is yes. |
13414 | test "$enable_shared" = yes || enable_static=yes | 13414 | test "$enable_shared" = yes || enable_static=yes |
13415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 | 13415 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 |
13416 | $as_echo "$enable_static" >&6; } | 13416 | $as_echo "$enable_static" >&6; } |
13417 | 13417 | ||
13418 | 13418 | ||
13419 | 13419 | ||
13420 | 13420 | ||
13421 | fi | 13421 | fi |
13422 | ac_ext=c | 13422 | ac_ext=c |
13423 | ac_cpp='$CPP $CPPFLAGS' | 13423 | ac_cpp='$CPP $CPPFLAGS' |
13424 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 13424 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
13425 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 13425 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
13426 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 13426 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
13427 | 13427 | ||
13428 | CC="$lt_save_CC" | 13428 | CC="$lt_save_CC" |
13429 | 13429 | ||
13430 | 13430 | ||
13431 | 13431 | ||
13432 | 13432 | ||
13433 | 13433 | ||
13434 | 13434 | ||
13435 | 13435 | ||
13436 | 13436 | ||
13437 | 13437 | ||
13438 | 13438 | ||
13439 | 13439 | ||
13440 | 13440 | ||
13441 | 13441 | ||
13442 | 13442 | ||
13443 | 13443 | ||
13444 | ac_config_commands="$ac_config_commands libtool" | 13444 | ac_config_commands="$ac_config_commands libtool" |
13445 | 13445 | ||
13446 | 13446 | ||
13447 | 13447 | ||
13448 | 13448 | ||
13449 | # Only expand once: | 13449 | # Only expand once: |
13450 | 13450 | ||
13451 | 13451 | ||
13452 | 13452 | ||
13453 | # Select memory manager depending on user input. | 13453 | # Select memory manager depending on user input. |
13454 | # If no "-enable-maxmem", use jmemnobs | 13454 | # If no "-enable-maxmem", use jmemnobs |
13455 | MEMORYMGR='jmemnobs' | 13455 | MEMORYMGR='jmemnobs' |
13456 | MAXMEM="no" | 13456 | MAXMEM="no" |
13457 | # Check whether --enable-maxmem was given. | 13457 | # Check whether --enable-maxmem was given. |
13458 | if test "${enable_maxmem+set}" = set; then : | 13458 | if test "${enable_maxmem+set}" = set; then : |
13459 | enableval=$enable_maxmem; MAXMEM="$enableval" | 13459 | enableval=$enable_maxmem; MAXMEM="$enableval" |
13460 | fi | 13460 | fi |
13461 | 13461 | ||
13462 | if test "x$MAXMEM" = xyes; then | 13462 | if test "x$MAXMEM" = xyes; then |
13463 | MAXMEM=1 | 13463 | MAXMEM=1 |
13464 | fi | 13464 | fi |
13465 | if test "x$MAXMEM" != xno; then | 13465 | if test "x$MAXMEM" != xno; then |
13466 | if test -n "`echo $MAXMEM | sed 's/[0-9]//g'`"; then | 13466 | if test -n "`echo $MAXMEM | sed 's/[0-9]//g'`"; then |
13467 | as_fn_error $? "non-numeric argument to --enable-maxmem" "$LINENO" 5 | 13467 | as_fn_error $? "non-numeric argument to --enable-maxmem" "$LINENO" 5 |
13468 | fi | 13468 | fi |
13469 | DEFAULTMAXMEM=`expr $MAXMEM \* 1048576` | 13469 | DEFAULTMAXMEM=`expr $MAXMEM \* 1048576` |
13470 | 13470 | ||
13471 | cat >>confdefs.h <<_ACEOF | 13471 | cat >>confdefs.h <<_ACEOF |
13472 | #define DEFAULT_MAX_MEM ${DEFAULTMAXMEM} | 13472 | #define DEFAULT_MAX_MEM ${DEFAULTMAXMEM} |
13473 | _ACEOF | 13473 | _ACEOF |
13474 | 13474 | ||
13475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 'tmpfile()'" >&5 | 13475 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 'tmpfile()'" >&5 |
13476 | $as_echo_n "checking for 'tmpfile()'... " >&6; } | 13476 | $as_echo_n "checking for 'tmpfile()'... " >&6; } |
13477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13477 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13478 | /* end confdefs.h. */ | 13478 | /* end confdefs.h. */ |
13479 | #include <stdio.h> | 13479 | #include <stdio.h> |
13480 | int | 13480 | int |
13481 | main () | 13481 | main () |
13482 | { | 13482 | { |
13483 | FILE * tfile = tmpfile(); | 13483 | FILE * tfile = tmpfile(); |
13484 | ; | 13484 | ; |
13485 | return 0; | 13485 | return 0; |
13486 | } | 13486 | } |
13487 | _ACEOF | 13487 | _ACEOF |
13488 | if ac_fn_c_try_link "$LINENO"; then : | 13488 | if ac_fn_c_try_link "$LINENO"; then : |
13489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13489 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13490 | $as_echo "yes" >&6; } | 13490 | $as_echo "yes" >&6; } |
13491 | MEMORYMGR='jmemansi' | 13491 | MEMORYMGR='jmemansi' |
13492 | else | 13492 | else |
13493 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13493 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13494 | $as_echo "no" >&6; } | 13494 | $as_echo "no" >&6; } |
13495 | MEMORYMGR='jmemname' | 13495 | MEMORYMGR='jmemname' |
13496 | 13496 | ||
13497 | # Test for the need to remove temporary files using a signal handler | 13497 | # Test for the need to remove temporary files using a signal handler |
13498 | # (for cjpeg/djpeg) | 13498 | # (for cjpeg/djpeg) |
13499 | 13499 | ||
13500 | $as_echo "#define NEED_SIGNAL_CATCHER 1" >>confdefs.h | 13500 | $as_echo "#define NEED_SIGNAL_CATCHER 1" >>confdefs.h |
13501 | 13501 | ||
13502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 'mktemp()'" >&5 | 13502 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 'mktemp()'" >&5 |
13503 | $as_echo_n "checking for 'mktemp()'... " >&6; } | 13503 | $as_echo_n "checking for 'mktemp()'... " >&6; } |
13504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 13504 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
13505 | /* end confdefs.h. */ | 13505 | /* end confdefs.h. */ |
13506 | 13506 | ||
13507 | int | 13507 | int |
13508 | main () | 13508 | main () |
13509 | { | 13509 | { |
13510 | char fname[80]; mktemp(fname); | 13510 | char fname[80]; mktemp(fname); |
13511 | ; | 13511 | ; |
13512 | return 0; | 13512 | return 0; |
13513 | } | 13513 | } |
13514 | _ACEOF | 13514 | _ACEOF |
13515 | if ac_fn_c_try_link "$LINENO"; then : | 13515 | if ac_fn_c_try_link "$LINENO"; then : |
13516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 13516 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
13517 | $as_echo "yes" >&6; } | 13517 | $as_echo "yes" >&6; } |
13518 | else | 13518 | else |
13519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 13519 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
13520 | $as_echo "no" >&6; } | 13520 | $as_echo "no" >&6; } |
13521 | 13521 | ||
13522 | $as_echo "#define NO_MKTEMP 1" >>confdefs.h | 13522 | $as_echo "#define NO_MKTEMP 1" >>confdefs.h |
13523 | 13523 | ||
13524 | fi | 13524 | fi |
13525 | rm -f core conftest.err conftest.$ac_objext \ | 13525 | rm -f core conftest.err conftest.$ac_objext \ |
13526 | conftest$ac_exeext conftest.$ac_ext | 13526 | conftest$ac_exeext conftest.$ac_ext |
13527 | fi | 13527 | fi |
13528 | rm -f core conftest.err conftest.$ac_objext \ | 13528 | rm -f core conftest.err conftest.$ac_objext \ |
13529 | conftest$ac_exeext conftest.$ac_ext | 13529 | conftest$ac_exeext conftest.$ac_ext |
13530 | fi | 13530 | fi |
13531 | 13531 | ||
13532 | 13532 | ||
13533 | # Extract the library version IDs from jpeglib.h. | 13533 | # Extract the library version IDs from jpeglib.h. |
13534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking libjpeg version number" >&5 | 13534 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking libjpeg version number" >&5 |
13535 | $as_echo_n "checking libjpeg version number... " >&6; } | 13535 | $as_echo_n "checking libjpeg version number... " >&6; } |
13536 | major=`sed -ne 's/^#define JPEG_LIB_VERSION_MAJOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h` | 13536 | major=`sed -ne 's/^#define JPEG_LIB_VERSION_MAJOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h` |
13537 | minor=`sed -ne 's/^#define JPEG_LIB_VERSION_MINOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h` | 13537 | minor=`sed -ne 's/^#define JPEG_LIB_VERSION_MINOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h` |
13538 | JPEG_LIB_VERSION=`expr $major + $minor`:0:$minor | 13538 | JPEG_LIB_VERSION=`expr $major + $minor`:0:$minor |
13539 | 13539 | ||
13540 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JPEG_LIB_VERSION" >&5 | 13540 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JPEG_LIB_VERSION" >&5 |
13541 | $as_echo "$JPEG_LIB_VERSION" >&6; } | 13541 | $as_echo "$JPEG_LIB_VERSION" >&6; } |
13542 | 13542 | ||
13543 | ac_config_files="$ac_config_files Makefile" | 13543 | ac_config_files="$ac_config_files Makefile" |
13544 | 13544 | ||
13545 | cat >confcache <<\_ACEOF | 13545 | cat >confcache <<\_ACEOF |
13546 | # This file is a shell script that caches the results of configure | 13546 | # This file is a shell script that caches the results of configure |
13547 | # tests run on this system so they can be shared between configure | 13547 | # tests run on this system so they can be shared between configure |
13548 | # scripts and configure runs, see configure's option --config-cache. | 13548 | # scripts and configure runs, see configure's option --config-cache. |
13549 | # It is not useful on other systems. If it contains results you don't | 13549 | # It is not useful on other systems. If it contains results you don't |
13550 | # want to keep, you may remove or edit it. | 13550 | # want to keep, you may remove or edit it. |
13551 | # | 13551 | # |
13552 | # config.status only pays attention to the cache file if you give it | 13552 | # config.status only pays attention to the cache file if you give it |
13553 | # the --recheck option to rerun configure. | 13553 | # the --recheck option to rerun configure. |
13554 | # | 13554 | # |
13555 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 13555 | # `ac_cv_env_foo' variables (set or unset) will be overridden when |
13556 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 13556 | # loading this file, other *unset* `ac_cv_foo' will be assigned the |
13557 | # following values. | 13557 | # following values. |
13558 | 13558 | ||
13559 | _ACEOF | 13559 | _ACEOF |
13560 | 13560 | ||
13561 | # The following way of writing the cache mishandles newlines in values, | 13561 | # The following way of writing the cache mishandles newlines in values, |
13562 | # but we know of no workaround that is simple, portable, and efficient. | 13562 | # but we know of no workaround that is simple, portable, and efficient. |
13563 | # So, we kill variables containing newlines. | 13563 | # So, we kill variables containing newlines. |
13564 | # Ultrix sh set writes to stderr and can't be redirected directly, | 13564 | # Ultrix sh set writes to stderr and can't be redirected directly, |
13565 | # and sets the high bit in the cache file unless we assign to the vars. | 13565 | # and sets the high bit in the cache file unless we assign to the vars. |
13566 | ( | 13566 | ( |
13567 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 13567 | for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do |
13568 | eval ac_val=\$$ac_var | 13568 | eval ac_val=\$$ac_var |
13569 | case $ac_val in #( | 13569 | case $ac_val in #( |
13570 | *${as_nl}*) | 13570 | *${as_nl}*) |
13571 | case $ac_var in #( | 13571 | case $ac_var in #( |
13572 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 13572 | *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 |
13573 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 13573 | $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; |
13574 | esac | 13574 | esac |
13575 | case $ac_var in #( | 13575 | case $ac_var in #( |
13576 | _ | IFS | as_nl) ;; #( | 13576 | _ | IFS | as_nl) ;; #( |
13577 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 13577 | BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( |
13578 | *) { eval $ac_var=; unset $ac_var;} ;; | 13578 | *) { eval $ac_var=; unset $ac_var;} ;; |
13579 | esac ;; | 13579 | esac ;; |
13580 | esac | 13580 | esac |
13581 | done | 13581 | done |
13582 | 13582 | ||
13583 | (set) 2>&1 | | 13583 | (set) 2>&1 | |
13584 | case $as_nl`(ac_space=' '; set) 2>&1` in #( | 13584 | case $as_nl`(ac_space=' '; set) 2>&1` in #( |
13585 | *${as_nl}ac_space=\ *) | 13585 | *${as_nl}ac_space=\ *) |
13586 | # `set' does not quote correctly, so add quotes: double-quote | 13586 | # `set' does not quote correctly, so add quotes: double-quote |
13587 | # substitution turns \\\\ into \\, and sed turns \\ into \. | 13587 | # substitution turns \\\\ into \\, and sed turns \\ into \. |
13588 | sed -n \ | 13588 | sed -n \ |
13589 | "s/'/'\\\\''/g; | 13589 | "s/'/'\\\\''/g; |
13590 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 13590 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" |
13591 | ;; #( | 13591 | ;; #( |
13592 | *) | 13592 | *) |
13593 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 13593 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
13594 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 13594 | sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" |
13595 | ;; | 13595 | ;; |
13596 | esac | | 13596 | esac | |
13597 | sort | 13597 | sort |
13598 | ) | | 13598 | ) | |
13599 | sed ' | 13599 | sed ' |
13600 | /^ac_cv_env_/b end | 13600 | /^ac_cv_env_/b end |
13601 | t clear | 13601 | t clear |
13602 | :clear | 13602 | :clear |
13603 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 13603 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ |
13604 | t end | 13604 | t end |
13605 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 13605 | s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ |
13606 | :end' >>confcache | 13606 | :end' >>confcache |
13607 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 13607 | if diff "$cache_file" confcache >/dev/null 2>&1; then :; else |
13608 | if test -w "$cache_file"; then | 13608 | if test -w "$cache_file"; then |
13609 | if test "x$cache_file" != "x/dev/null"; then | 13609 | if test "x$cache_file" != "x/dev/null"; then |
13610 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 13610 | { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 |
13611 | $as_echo "$as_me: updating cache $cache_file" >&6;} | 13611 | $as_echo "$as_me: updating cache $cache_file" >&6;} |
13612 | if test ! -f "$cache_file" || test -h "$cache_file"; then | 13612 | if test ! -f "$cache_file" || test -h "$cache_file"; then |
13613 | cat confcache >"$cache_file" | 13613 | cat confcache >"$cache_file" |
13614 | else | 13614 | else |
13615 | case $cache_file in #( | 13615 | case $cache_file in #( |
13616 | */* | ?:*) | 13616 | */* | ?:*) |
13617 | mv -f confcache "$cache_file"$$ && | 13617 | mv -f confcache "$cache_file"$$ && |
13618 | mv -f "$cache_file"$$ "$cache_file" ;; #( | 13618 | mv -f "$cache_file"$$ "$cache_file" ;; #( |
13619 | *) | 13619 | *) |
13620 | mv -f confcache "$cache_file" ;; | 13620 | mv -f confcache "$cache_file" ;; |
13621 | esac | 13621 | esac |
13622 | fi | 13622 | fi |
13623 | fi | 13623 | fi |
13624 | else | 13624 | else |
13625 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 13625 | { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 |
13626 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 13626 | $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} |
13627 | fi | 13627 | fi |
13628 | fi | 13628 | fi |
13629 | rm -f confcache | 13629 | rm -f confcache |
13630 | 13630 | ||
13631 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 13631 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
13632 | # Let make expand exec_prefix. | 13632 | # Let make expand exec_prefix. |
13633 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 13633 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
13634 | 13634 | ||
13635 | DEFS=-DHAVE_CONFIG_H | 13635 | DEFS=-DHAVE_CONFIG_H |
13636 | 13636 | ||
13637 | ac_libobjs= | 13637 | ac_libobjs= |
13638 | ac_ltlibobjs= | 13638 | ac_ltlibobjs= |
13639 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 13639 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue |
13640 | # 1. Remove the extension, and $U if already installed. | 13640 | # 1. Remove the extension, and $U if already installed. |
13641 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 13641 | ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' |
13642 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 13642 | ac_i=`$as_echo "$ac_i" | sed "$ac_script"` |
13643 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR | 13643 | # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR |
13644 | # will be set to the directory where LIBOBJS objects are built. | 13644 | # will be set to the directory where LIBOBJS objects are built. |
13645 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 13645 | as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" |
13646 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 13646 | as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' |
13647 | done | 13647 | done |
13648 | LIBOBJS=$ac_libobjs | 13648 | LIBOBJS=$ac_libobjs |
13649 | 13649 | ||
13650 | LTLIBOBJS=$ac_ltlibobjs | 13650 | LTLIBOBJS=$ac_ltlibobjs |
13651 | 13651 | ||
13652 | 13652 | ||
13653 | if test -n "$EXEEXT"; then | 13653 | if test -n "$EXEEXT"; then |
13654 | am__EXEEXT_TRUE= | 13654 | am__EXEEXT_TRUE= |
13655 | am__EXEEXT_FALSE='#' | 13655 | am__EXEEXT_FALSE='#' |
13656 | else | 13656 | else |
13657 | am__EXEEXT_TRUE='#' | 13657 | am__EXEEXT_TRUE='#' |
13658 | am__EXEEXT_FALSE= | 13658 | am__EXEEXT_FALSE= |
13659 | fi | 13659 | fi |
13660 | 13660 | ||
13661 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then | 13661 | if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then |
13662 | as_fn_error $? "conditional \"AMDEP\" was never defined. | 13662 | as_fn_error $? "conditional \"AMDEP\" was never defined. |
13663 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 13663 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13664 | fi | 13664 | fi |
13665 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 13665 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
13666 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | 13666 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
13667 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 13667 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13668 | fi | 13668 | fi |
13669 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then | 13669 | if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then |
13670 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. | 13670 | as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined. |
13671 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 13671 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13672 | fi | 13672 | fi |
13673 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then | 13673 | if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then |
13674 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. | 13674 | as_fn_error $? "conditional \"am__fastdepCC\" was never defined. |
13675 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 13675 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13676 | fi | 13676 | fi |
13677 | if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then | 13677 | if test -z "${HAVE_LD_VERSION_SCRIPT_TRUE}" && test -z "${HAVE_LD_VERSION_SCRIPT_FALSE}"; then |
13678 | as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined. | 13678 | as_fn_error $? "conditional \"HAVE_LD_VERSION_SCRIPT\" was never defined. |
13679 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 | 13679 | Usually this means the macro was only invoked conditionally." "$LINENO" 5 |
13680 | fi | 13680 | fi |
13681 | 13681 | ||
13682 | : "${CONFIG_STATUS=./config.status}" | 13682 | : "${CONFIG_STATUS=./config.status}" |
13683 | ac_write_fail=0 | 13683 | ac_write_fail=0 |
13684 | ac_clean_files_save=$ac_clean_files | 13684 | ac_clean_files_save=$ac_clean_files |
13685 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 13685 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" |
13686 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 13686 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 |
13687 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 13687 | $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} |
13688 | as_write_fail=0 | 13688 | as_write_fail=0 |
13689 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | 13689 | cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 |
13690 | #! $SHELL | 13690 | #! $SHELL |
13691 | # Generated by $as_me. | 13691 | # Generated by $as_me. |
13692 | # Run this file to recreate the current configuration. | 13692 | # Run this file to recreate the current configuration. |
13693 | # Compiler output produced by configure, useful for debugging | 13693 | # Compiler output produced by configure, useful for debugging |
13694 | # configure, is in config.log if it exists. | 13694 | # configure, is in config.log if it exists. |
13695 | 13695 | ||
13696 | debug=false | 13696 | debug=false |
13697 | ac_cs_recheck=false | 13697 | ac_cs_recheck=false |
13698 | ac_cs_silent=false | 13698 | ac_cs_silent=false |
13699 | 13699 | ||
13700 | SHELL=\${CONFIG_SHELL-$SHELL} | 13700 | SHELL=\${CONFIG_SHELL-$SHELL} |
13701 | export SHELL | 13701 | export SHELL |
13702 | _ASEOF | 13702 | _ASEOF |
13703 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 13703 | cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 |
13704 | ## -------------------- ## | 13704 | ## -------------------- ## |
13705 | ## M4sh Initialization. ## | 13705 | ## M4sh Initialization. ## |
13706 | ## -------------------- ## | 13706 | ## -------------------- ## |
13707 | 13707 | ||
13708 | # Be more Bourne compatible | 13708 | # Be more Bourne compatible |
13709 | DUALCASE=1; export DUALCASE # for MKS sh | 13709 | DUALCASE=1; export DUALCASE # for MKS sh |
13710 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 13710 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : |
13711 | emulate sh | 13711 | emulate sh |
13712 | NULLCMD=: | 13712 | NULLCMD=: |
13713 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 13713 | # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which |
13714 | # is contrary to our usage. Disable this feature. | 13714 | # is contrary to our usage. Disable this feature. |
13715 | alias -g '${1+"$@"}'='"$@"' | 13715 | alias -g '${1+"$@"}'='"$@"' |
13716 | setopt NO_GLOB_SUBST | 13716 | setopt NO_GLOB_SUBST |
13717 | else | 13717 | else |
13718 | case `(set -o) 2>/dev/null` in #( | 13718 | case `(set -o) 2>/dev/null` in #( |
13719 | *posix*) : | 13719 | *posix*) : |
13720 | set -o posix ;; #( | 13720 | set -o posix ;; #( |
13721 | *) : | 13721 | *) : |
13722 | ;; | 13722 | ;; |
13723 | esac | 13723 | esac |
13724 | fi | 13724 | fi |
13725 | 13725 | ||
13726 | 13726 | ||
13727 | as_nl=' | 13727 | as_nl=' |
13728 | ' | 13728 | ' |
13729 | export as_nl | 13729 | export as_nl |
13730 | # Printing a long string crashes Solaris 7 /usr/bin/printf. | 13730 | # Printing a long string crashes Solaris 7 /usr/bin/printf. |
13731 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 13731 | as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' |
13732 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 13732 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo |
13733 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 13733 | as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo |
13734 | # Prefer a ksh shell builtin over an external printf program on Solaris, | 13734 | # Prefer a ksh shell builtin over an external printf program on Solaris, |
13735 | # but without wasting forks for bash or zsh. | 13735 | # but without wasting forks for bash or zsh. |
13736 | if test -z "$BASH_VERSION$ZSH_VERSION" \ | 13736 | if test -z "$BASH_VERSION$ZSH_VERSION" \ |
13737 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 13737 | && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then |
13738 | as_echo='print -r --' | 13738 | as_echo='print -r --' |
13739 | as_echo_n='print -rn --' | 13739 | as_echo_n='print -rn --' |
13740 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 13740 | elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then |
13741 | as_echo='printf %s\n' | 13741 | as_echo='printf %s\n' |
13742 | as_echo_n='printf %s' | 13742 | as_echo_n='printf %s' |
13743 | else | 13743 | else |
13744 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 13744 | if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then |
13745 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 13745 | as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' |
13746 | as_echo_n='/usr/ucb/echo -n' | 13746 | as_echo_n='/usr/ucb/echo -n' |
13747 | else | 13747 | else |
13748 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 13748 | as_echo_body='eval expr "X$1" : "X\\(.*\\)"' |
13749 | as_echo_n_body='eval | 13749 | as_echo_n_body='eval |
13750 | arg=$1; | 13750 | arg=$1; |
13751 | case $arg in #( | 13751 | case $arg in #( |
13752 | *"$as_nl"*) | 13752 | *"$as_nl"*) |
13753 | expr "X$arg" : "X\\(.*\\)$as_nl"; | 13753 | expr "X$arg" : "X\\(.*\\)$as_nl"; |
13754 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 13754 | arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; |
13755 | esac; | 13755 | esac; |
13756 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 13756 | expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" |
13757 | ' | 13757 | ' |
13758 | export as_echo_n_body | 13758 | export as_echo_n_body |
13759 | as_echo_n='sh -c $as_echo_n_body as_echo' | 13759 | as_echo_n='sh -c $as_echo_n_body as_echo' |
13760 | fi | 13760 | fi |
13761 | export as_echo_body | 13761 | export as_echo_body |
13762 | as_echo='sh -c $as_echo_body as_echo' | 13762 | as_echo='sh -c $as_echo_body as_echo' |
13763 | fi | 13763 | fi |
13764 | 13764 | ||
13765 | # The user is always right. | 13765 | # The user is always right. |
13766 | if test "${PATH_SEPARATOR+set}" != set; then | 13766 | if test "${PATH_SEPARATOR+set}" != set; then |
13767 | PATH_SEPARATOR=: | 13767 | PATH_SEPARATOR=: |
13768 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 13768 | (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { |
13769 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 13769 | (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || |
13770 | PATH_SEPARATOR=';' | 13770 | PATH_SEPARATOR=';' |
13771 | } | 13771 | } |
13772 | fi | 13772 | fi |
13773 | 13773 | ||
13774 | 13774 | ||
13775 | # IFS | 13775 | # IFS |
13776 | # We need space, tab and new line, in precisely that order. Quoting is | 13776 | # We need space, tab and new line, in precisely that order. Quoting is |
13777 | # there to prevent editors from complaining about space-tab. | 13777 | # there to prevent editors from complaining about space-tab. |
13778 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 13778 | # (If _AS_PATH_WALK were called with IFS unset, it would disable word |
13779 | # splitting by setting IFS to empty value.) | 13779 | # splitting by setting IFS to empty value.) |
13780 | IFS=" "" $as_nl" | 13780 | IFS=" "" $as_nl" |
13781 | 13781 | ||
13782 | # Find who we are. Look in the path if we contain no directory separator. | 13782 | # Find who we are. Look in the path if we contain no directory separator. |
13783 | as_myself= | 13783 | as_myself= |
13784 | case $0 in #(( | 13784 | case $0 in #(( |
13785 | *[\\/]* ) as_myself=$0 ;; | 13785 | *[\\/]* ) as_myself=$0 ;; |
13786 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 13786 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR |
13787 | for as_dir in $PATH | 13787 | for as_dir in $PATH |
13788 | do | 13788 | do |
13789 | IFS=$as_save_IFS | 13789 | IFS=$as_save_IFS |
13790 | test -z "$as_dir" && as_dir=. | 13790 | test -z "$as_dir" && as_dir=. |
13791 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 13791 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break |
13792 | done | 13792 | done |
13793 | IFS=$as_save_IFS | 13793 | IFS=$as_save_IFS |
13794 | 13794 | ||
13795 | ;; | 13795 | ;; |
13796 | esac | 13796 | esac |
13797 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 13797 | # We did not find ourselves, most probably we were run as `sh COMMAND' |
13798 | # in which case we are not to be found in the path. | 13798 | # in which case we are not to be found in the path. |
13799 | if test "x$as_myself" = x; then | 13799 | if test "x$as_myself" = x; then |
13800 | as_myself=$0 | 13800 | as_myself=$0 |
13801 | fi | 13801 | fi |
13802 | if test ! -f "$as_myself"; then | 13802 | if test ! -f "$as_myself"; then |
13803 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 13803 | $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 |
13804 | exit 1 | 13804 | exit 1 |
13805 | fi | 13805 | fi |
13806 | 13806 | ||
13807 | # Unset variables that we do not need and which cause bugs (e.g. in | 13807 | # Unset variables that we do not need and which cause bugs (e.g. in |
13808 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" | 13808 | # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" |
13809 | # suppresses any "Segmentation fault" message there. '((' could | 13809 | # suppresses any "Segmentation fault" message there. '((' could |
13810 | # trigger a bug in pdksh 5.2.14. | 13810 | # trigger a bug in pdksh 5.2.14. |
13811 | for as_var in BASH_ENV ENV MAIL MAILPATH | 13811 | for as_var in BASH_ENV ENV MAIL MAILPATH |
13812 | do eval test x\${$as_var+set} = xset \ | 13812 | do eval test x\${$as_var+set} = xset \ |
13813 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 13813 | && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : |
13814 | done | 13814 | done |
13815 | PS1='$ ' | 13815 | PS1='$ ' |
13816 | PS2='> ' | 13816 | PS2='> ' |
13817 | PS4='+ ' | 13817 | PS4='+ ' |
13818 | 13818 | ||
13819 | # NLS nuisances. | 13819 | # NLS nuisances. |
13820 | LC_ALL=C | 13820 | LC_ALL=C |
13821 | export LC_ALL | 13821 | export LC_ALL |
13822 | LANGUAGE=C | 13822 | LANGUAGE=C |
13823 | export LANGUAGE | 13823 | export LANGUAGE |
13824 | 13824 | ||
13825 | # CDPATH. | 13825 | # CDPATH. |
13826 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 13826 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
13827 | 13827 | ||
13828 | 13828 | ||
13829 | # as_fn_error STATUS ERROR [LINENO LOG_FD] | 13829 | # as_fn_error STATUS ERROR [LINENO LOG_FD] |
13830 | # ---------------------------------------- | 13830 | # ---------------------------------------- |
13831 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 13831 | # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are |
13832 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 13832 | # provided, also output the error to LOG_FD, referencing LINENO. Then exit the |
13833 | # script with STATUS, using 1 if that was 0. | 13833 | # script with STATUS, using 1 if that was 0. |
13834 | as_fn_error () | 13834 | as_fn_error () |
13835 | { | 13835 | { |
13836 | as_status=$1; test $as_status -eq 0 && as_status=1 | 13836 | as_status=$1; test $as_status -eq 0 && as_status=1 |
13837 | if test "$4"; then | 13837 | if test "$4"; then |
13838 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 13838 | as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack |
13839 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 13839 | $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 |
13840 | fi | 13840 | fi |
13841 | $as_echo "$as_me: error: $2" >&2 | 13841 | $as_echo "$as_me: error: $2" >&2 |
13842 | as_fn_exit $as_status | 13842 | as_fn_exit $as_status |
13843 | } # as_fn_error | 13843 | } # as_fn_error |
13844 | 13844 | ||
13845 | 13845 | ||
13846 | # as_fn_set_status STATUS | 13846 | # as_fn_set_status STATUS |
13847 | # ----------------------- | 13847 | # ----------------------- |
13848 | # Set $? to STATUS, without forking. | 13848 | # Set $? to STATUS, without forking. |
13849 | as_fn_set_status () | 13849 | as_fn_set_status () |
13850 | { | 13850 | { |
13851 | return $1 | 13851 | return $1 |
13852 | } # as_fn_set_status | 13852 | } # as_fn_set_status |
13853 | 13853 | ||
13854 | # as_fn_exit STATUS | 13854 | # as_fn_exit STATUS |
13855 | # ----------------- | 13855 | # ----------------- |
13856 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 13856 | # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. |
13857 | as_fn_exit () | 13857 | as_fn_exit () |
13858 | { | 13858 | { |
13859 | set +e | 13859 | set +e |
13860 | as_fn_set_status $1 | 13860 | as_fn_set_status $1 |
13861 | exit $1 | 13861 | exit $1 |
13862 | } # as_fn_exit | 13862 | } # as_fn_exit |
13863 | 13863 | ||
13864 | # as_fn_unset VAR | 13864 | # as_fn_unset VAR |
13865 | # --------------- | 13865 | # --------------- |
13866 | # Portably unset VAR. | 13866 | # Portably unset VAR. |
13867 | as_fn_unset () | 13867 | as_fn_unset () |
13868 | { | 13868 | { |
13869 | { eval $1=; unset $1;} | 13869 | { eval $1=; unset $1;} |
13870 | } | 13870 | } |
13871 | as_unset=as_fn_unset | 13871 | as_unset=as_fn_unset |
13872 | # as_fn_append VAR VALUE | 13872 | # as_fn_append VAR VALUE |
13873 | # ---------------------- | 13873 | # ---------------------- |
13874 | # Append the text in VALUE to the end of the definition contained in VAR. Take | 13874 | # Append the text in VALUE to the end of the definition contained in VAR. Take |
13875 | # advantage of any shell optimizations that allow amortized linear growth over | 13875 | # advantage of any shell optimizations that allow amortized linear growth over |
13876 | # repeated appends, instead of the typical quadratic growth present in naive | 13876 | # repeated appends, instead of the typical quadratic growth present in naive |
13877 | # implementations. | 13877 | # implementations. |
13878 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 13878 | if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : |
13879 | eval 'as_fn_append () | 13879 | eval 'as_fn_append () |
13880 | { | 13880 | { |
13881 | eval $1+=\$2 | 13881 | eval $1+=\$2 |
13882 | }' | 13882 | }' |
13883 | else | 13883 | else |
13884 | as_fn_append () | 13884 | as_fn_append () |
13885 | { | 13885 | { |
13886 | eval $1=\$$1\$2 | 13886 | eval $1=\$$1\$2 |
13887 | } | 13887 | } |
13888 | fi # as_fn_append | 13888 | fi # as_fn_append |
13889 | 13889 | ||
13890 | # as_fn_arith ARG... | 13890 | # as_fn_arith ARG... |
13891 | # ------------------ | 13891 | # ------------------ |
13892 | # Perform arithmetic evaluation on the ARGs, and store the result in the | 13892 | # Perform arithmetic evaluation on the ARGs, and store the result in the |
13893 | # global $as_val. Take advantage of shells that can avoid forks. The arguments | 13893 | # global $as_val. Take advantage of shells that can avoid forks. The arguments |
13894 | # must be portable across $(()) and expr. | 13894 | # must be portable across $(()) and expr. |
13895 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 13895 | if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : |
13896 | eval 'as_fn_arith () | 13896 | eval 'as_fn_arith () |
13897 | { | 13897 | { |
13898 | as_val=$(( $* )) | 13898 | as_val=$(( $* )) |
13899 | }' | 13899 | }' |
13900 | else | 13900 | else |
13901 | as_fn_arith () | 13901 | as_fn_arith () |
13902 | { | 13902 | { |
13903 | as_val=`expr "$@" || test $? -eq 1` | 13903 | as_val=`expr "$@" || test $? -eq 1` |
13904 | } | 13904 | } |
13905 | fi # as_fn_arith | 13905 | fi # as_fn_arith |
13906 | 13906 | ||
13907 | 13907 | ||
13908 | if expr a : '\(a\)' >/dev/null 2>&1 && | 13908 | if expr a : '\(a\)' >/dev/null 2>&1 && |
13909 | test "X`expr 00001 : '.*\(...\)'`" = X001; then | 13909 | test "X`expr 00001 : '.*\(...\)'`" = X001; then |
13910 | as_expr=expr | 13910 | as_expr=expr |
13911 | else | 13911 | else |
13912 | as_expr=false | 13912 | as_expr=false |
13913 | fi | 13913 | fi |
13914 | 13914 | ||
13915 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 13915 | if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then |
13916 | as_basename=basename | 13916 | as_basename=basename |
13917 | else | 13917 | else |
13918 | as_basename=false | 13918 | as_basename=false |
13919 | fi | 13919 | fi |
13920 | 13920 | ||
13921 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 13921 | if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then |
13922 | as_dirname=dirname | 13922 | as_dirname=dirname |
13923 | else | 13923 | else |
13924 | as_dirname=false | 13924 | as_dirname=false |
13925 | fi | 13925 | fi |
13926 | 13926 | ||
13927 | as_me=`$as_basename -- "$0" || | 13927 | as_me=`$as_basename -- "$0" || |
13928 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 13928 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ |
13929 | X"$0" : 'X\(//\)$' \| \ | 13929 | X"$0" : 'X\(//\)$' \| \ |
13930 | X"$0" : 'X\(/\)' \| . 2>/dev/null || | 13930 | X"$0" : 'X\(/\)' \| . 2>/dev/null || |
13931 | $as_echo X/"$0" | | 13931 | $as_echo X/"$0" | |
13932 | sed '/^.*\/\([^/][^/]*\)\/*$/{ | 13932 | sed '/^.*\/\([^/][^/]*\)\/*$/{ |
13933 | s//\1/ | 13933 | s//\1/ |
13934 | q | 13934 | q |
13935 | } | 13935 | } |
13936 | /^X\/\(\/\/\)$/{ | 13936 | /^X\/\(\/\/\)$/{ |
13937 | s//\1/ | 13937 | s//\1/ |
13938 | q | 13938 | q |
13939 | } | 13939 | } |
13940 | /^X\/\(\/\).*/{ | 13940 | /^X\/\(\/\).*/{ |
13941 | s//\1/ | 13941 | s//\1/ |
13942 | q | 13942 | q |
13943 | } | 13943 | } |
13944 | s/.*/./; q'` | 13944 | s/.*/./; q'` |
13945 | 13945 | ||
13946 | # Avoid depending upon Character Ranges. | 13946 | # Avoid depending upon Character Ranges. |
13947 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 13947 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' |
13948 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 13948 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
13949 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 13949 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS |
13950 | as_cr_digits='0123456789' | 13950 | as_cr_digits='0123456789' |
13951 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 13951 | as_cr_alnum=$as_cr_Letters$as_cr_digits |
13952 | 13952 | ||
13953 | ECHO_C= ECHO_N= ECHO_T= | 13953 | ECHO_C= ECHO_N= ECHO_T= |
13954 | case `echo -n x` in #((((( | 13954 | case `echo -n x` in #((((( |
13955 | -n*) | 13955 | -n*) |
13956 | case `echo 'xy\c'` in | 13956 | case `echo 'xy\c'` in |
13957 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. | 13957 | *c*) ECHO_T=' ';; # ECHO_T is single tab character. |
13958 | xy) ECHO_C='\c';; | 13958 | xy) ECHO_C='\c';; |
13959 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null | 13959 | *) echo `echo ksh88 bug on AIX 6.1` > /dev/null |
13960 | ECHO_T=' ';; | 13960 | ECHO_T=' ';; |
13961 | esac;; | 13961 | esac;; |
13962 | *) | 13962 | *) |
13963 | ECHO_N='-n';; | 13963 | ECHO_N='-n';; |
13964 | esac | 13964 | esac |
13965 | 13965 | ||
13966 | rm -f conf$$ conf$$.exe conf$$.file | 13966 | rm -f conf$$ conf$$.exe conf$$.file |
13967 | if test -d conf$$.dir; then | 13967 | if test -d conf$$.dir; then |
13968 | rm -f conf$$.dir/conf$$.file | 13968 | rm -f conf$$.dir/conf$$.file |
13969 | else | 13969 | else |
13970 | rm -f conf$$.dir | 13970 | rm -f conf$$.dir |
13971 | mkdir conf$$.dir 2>/dev/null | 13971 | mkdir conf$$.dir 2>/dev/null |
13972 | fi | 13972 | fi |
13973 | if (echo >conf$$.file) 2>/dev/null; then | 13973 | if (echo >conf$$.file) 2>/dev/null; then |
13974 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 13974 | if ln -s conf$$.file conf$$ 2>/dev/null; then |
13975 | as_ln_s='ln -s' | 13975 | as_ln_s='ln -s' |
13976 | # ... but there are two gotchas: | 13976 | # ... but there are two gotchas: |
13977 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 13977 | # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. |
13978 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 13978 | # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. |
13979 | # In both cases, we have to default to `cp -p'. | 13979 | # In both cases, we have to default to `cp -p'. |
13980 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 13980 | ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || |
13981 | as_ln_s='cp -p' | 13981 | as_ln_s='cp -p' |
13982 | elif ln conf$$.file conf$$ 2>/dev/null; then | 13982 | elif ln conf$$.file conf$$ 2>/dev/null; then |
13983 | as_ln_s=ln | 13983 | as_ln_s=ln |
13984 | else | 13984 | else |
13985 | as_ln_s='cp -p' | 13985 | as_ln_s='cp -p' |
13986 | fi | 13986 | fi |
13987 | else | 13987 | else |
13988 | as_ln_s='cp -p' | 13988 | as_ln_s='cp -p' |
13989 | fi | 13989 | fi |
13990 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 13990 | rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file |
13991 | rmdir conf$$.dir 2>/dev/null | 13991 | rmdir conf$$.dir 2>/dev/null |
13992 | 13992 | ||
13993 | 13993 | ||
13994 | # as_fn_mkdir_p | 13994 | # as_fn_mkdir_p |
13995 | # ------------- | 13995 | # ------------- |
13996 | # Create "$as_dir" as a directory, including parents if necessary. | 13996 | # Create "$as_dir" as a directory, including parents if necessary. |
13997 | as_fn_mkdir_p () | 13997 | as_fn_mkdir_p () |
13998 | { | 13998 | { |
13999 | 13999 | ||
14000 | case $as_dir in #( | 14000 | case $as_dir in #( |
14001 | -*) as_dir=./$as_dir;; | 14001 | -*) as_dir=./$as_dir;; |
14002 | esac | 14002 | esac |
14003 | test -d "$as_dir" || eval $as_mkdir_p || { | 14003 | test -d "$as_dir" || eval $as_mkdir_p || { |
14004 | as_dirs= | 14004 | as_dirs= |
14005 | while :; do | 14005 | while :; do |
14006 | case $as_dir in #( | 14006 | case $as_dir in #( |
14007 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 14007 | *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( |
14008 | *) as_qdir=$as_dir;; | 14008 | *) as_qdir=$as_dir;; |
14009 | esac | 14009 | esac |
14010 | as_dirs="'$as_qdir' $as_dirs" | 14010 | as_dirs="'$as_qdir' $as_dirs" |
14011 | as_dir=`$as_dirname -- "$as_dir" || | 14011 | as_dir=`$as_dirname -- "$as_dir" || |
14012 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 14012 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14013 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 14013 | X"$as_dir" : 'X\(//\)[^/]' \| \ |
14014 | X"$as_dir" : 'X\(//\)$' \| \ | 14014 | X"$as_dir" : 'X\(//\)$' \| \ |
14015 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 14015 | X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || |
14016 | $as_echo X"$as_dir" | | 14016 | $as_echo X"$as_dir" | |
14017 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 14017 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14018 | s//\1/ | 14018 | s//\1/ |
14019 | q | 14019 | q |
14020 | } | 14020 | } |
14021 | /^X\(\/\/\)[^/].*/{ | 14021 | /^X\(\/\/\)[^/].*/{ |
14022 | s//\1/ | 14022 | s//\1/ |
14023 | q | 14023 | q |
14024 | } | 14024 | } |
14025 | /^X\(\/\/\)$/{ | 14025 | /^X\(\/\/\)$/{ |
14026 | s//\1/ | 14026 | s//\1/ |
14027 | q | 14027 | q |
14028 | } | 14028 | } |
14029 | /^X\(\/\).*/{ | 14029 | /^X\(\/\).*/{ |
14030 | s//\1/ | 14030 | s//\1/ |
14031 | q | 14031 | q |
14032 | } | 14032 | } |
14033 | s/.*/./; q'` | 14033 | s/.*/./; q'` |
14034 | test -d "$as_dir" && break | 14034 | test -d "$as_dir" && break |
14035 | done | 14035 | done |
14036 | test -z "$as_dirs" || eval "mkdir $as_dirs" | 14036 | test -z "$as_dirs" || eval "mkdir $as_dirs" |
14037 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 14037 | } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" |
14038 | 14038 | ||
14039 | 14039 | ||
14040 | } # as_fn_mkdir_p | 14040 | } # as_fn_mkdir_p |
14041 | if mkdir -p . 2>/dev/null; then | 14041 | if mkdir -p . 2>/dev/null; then |
14042 | as_mkdir_p='mkdir -p "$as_dir"' | 14042 | as_mkdir_p='mkdir -p "$as_dir"' |
14043 | else | 14043 | else |
14044 | test -d ./-p && rmdir ./-p | 14044 | test -d ./-p && rmdir ./-p |
14045 | as_mkdir_p=false | 14045 | as_mkdir_p=false |
14046 | fi | 14046 | fi |
14047 | 14047 | ||
14048 | if test -x / >/dev/null 2>&1; then | 14048 | if test -x / >/dev/null 2>&1; then |
14049 | as_test_x='test -x' | 14049 | as_test_x='test -x' |
14050 | else | 14050 | else |
14051 | if ls -dL / >/dev/null 2>&1; then | 14051 | if ls -dL / >/dev/null 2>&1; then |
14052 | as_ls_L_option=L | 14052 | as_ls_L_option=L |
14053 | else | 14053 | else |
14054 | as_ls_L_option= | 14054 | as_ls_L_option= |
14055 | fi | 14055 | fi |
14056 | as_test_x=' | 14056 | as_test_x=' |
14057 | eval sh -c '\'' | 14057 | eval sh -c '\'' |
14058 | if test -d "$1"; then | 14058 | if test -d "$1"; then |
14059 | test -d "$1/."; | 14059 | test -d "$1/."; |
14060 | else | 14060 | else |
14061 | case $1 in #( | 14061 | case $1 in #( |
14062 | -*)set "./$1";; | 14062 | -*)set "./$1";; |
14063 | esac; | 14063 | esac; |
14064 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 14064 | case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( |
14065 | ???[sx]*):;;*)false;;esac;fi | 14065 | ???[sx]*):;;*)false;;esac;fi |
14066 | '\'' sh | 14066 | '\'' sh |
14067 | ' | 14067 | ' |
14068 | fi | 14068 | fi |
14069 | as_executable_p=$as_test_x | 14069 | as_executable_p=$as_test_x |
14070 | 14070 | ||
14071 | # Sed expression to map a string onto a valid CPP name. | 14071 | # Sed expression to map a string onto a valid CPP name. |
14072 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 14072 | as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" |
14073 | 14073 | ||
14074 | # Sed expression to map a string onto a valid variable name. | 14074 | # Sed expression to map a string onto a valid variable name. |
14075 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 14075 | as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" |
14076 | 14076 | ||
14077 | 14077 | ||
14078 | exec 6>&1 | 14078 | exec 6>&1 |
14079 | ## ----------------------------------- ## | 14079 | ## ----------------------------------- ## |
14080 | ## Main body of $CONFIG_STATUS script. ## | 14080 | ## Main body of $CONFIG_STATUS script. ## |
14081 | ## ----------------------------------- ## | 14081 | ## ----------------------------------- ## |
14082 | _ASEOF | 14082 | _ASEOF |
14083 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | 14083 | test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 |
14084 | 14084 | ||
14085 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14085 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14086 | # Save the log message, to keep $0 and so on meaningful, and to | 14086 | # Save the log message, to keep $0 and so on meaningful, and to |
14087 | # report actual input values of CONFIG_FILES etc. instead of their | 14087 | # report actual input values of CONFIG_FILES etc. instead of their |
14088 | # values after options handling. | 14088 | # values after options handling. |
14089 | ac_log=" | 14089 | ac_log=" |
14090 | This file was extended by libjpeg $as_me 8.4.0, which was | 14090 | This file was extended by libjpeg $as_me 8.4.0, which was |
14091 | generated by GNU Autoconf 2.68. Invocation command line was | 14091 | generated by GNU Autoconf 2.68. Invocation command line was |
14092 | 14092 | ||
14093 | CONFIG_FILES = $CONFIG_FILES | 14093 | CONFIG_FILES = $CONFIG_FILES |
14094 | CONFIG_HEADERS = $CONFIG_HEADERS | 14094 | CONFIG_HEADERS = $CONFIG_HEADERS |
14095 | CONFIG_LINKS = $CONFIG_LINKS | 14095 | CONFIG_LINKS = $CONFIG_LINKS |
14096 | CONFIG_COMMANDS = $CONFIG_COMMANDS | 14096 | CONFIG_COMMANDS = $CONFIG_COMMANDS |
14097 | $ $0 $@ | 14097 | $ $0 $@ |
14098 | 14098 | ||
14099 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | 14099 | on `(hostname || uname -n) 2>/dev/null | sed 1q` |
14100 | " | 14100 | " |
14101 | 14101 | ||
14102 | _ACEOF | 14102 | _ACEOF |
14103 | 14103 | ||
14104 | case $ac_config_files in *" | 14104 | case $ac_config_files in *" |
14105 | "*) set x $ac_config_files; shift; ac_config_files=$*;; | 14105 | "*) set x $ac_config_files; shift; ac_config_files=$*;; |
14106 | esac | 14106 | esac |
14107 | 14107 | ||
14108 | case $ac_config_headers in *" | 14108 | case $ac_config_headers in *" |
14109 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; | 14109 | "*) set x $ac_config_headers; shift; ac_config_headers=$*;; |
14110 | esac | 14110 | esac |
14111 | 14111 | ||
14112 | 14112 | ||
14113 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14113 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14114 | # Files that config.status was made for. | 14114 | # Files that config.status was made for. |
14115 | config_files="$ac_config_files" | 14115 | config_files="$ac_config_files" |
14116 | config_headers="$ac_config_headers" | 14116 | config_headers="$ac_config_headers" |
14117 | config_commands="$ac_config_commands" | 14117 | config_commands="$ac_config_commands" |
14118 | 14118 | ||
14119 | _ACEOF | 14119 | _ACEOF |
14120 | 14120 | ||
14121 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14121 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14122 | ac_cs_usage="\ | 14122 | ac_cs_usage="\ |
14123 | \`$as_me' instantiates files and other configuration actions | 14123 | \`$as_me' instantiates files and other configuration actions |
14124 | from templates according to the current configuration. Unless the files | 14124 | from templates according to the current configuration. Unless the files |
14125 | and actions are specified as TAGs, all are instantiated by default. | 14125 | and actions are specified as TAGs, all are instantiated by default. |
14126 | 14126 | ||
14127 | Usage: $0 [OPTION]... [TAG]... | 14127 | Usage: $0 [OPTION]... [TAG]... |
14128 | 14128 | ||
14129 | -h, --help print this help, then exit | 14129 | -h, --help print this help, then exit |
14130 | -V, --version print version number and configuration settings, then exit | 14130 | -V, --version print version number and configuration settings, then exit |
14131 | --config print configuration, then exit | 14131 | --config print configuration, then exit |
14132 | -q, --quiet, --silent | 14132 | -q, --quiet, --silent |
14133 | do not print progress messages | 14133 | do not print progress messages |
14134 | -d, --debug don't remove temporary files | 14134 | -d, --debug don't remove temporary files |
14135 | --recheck update $as_me by reconfiguring in the same conditions | 14135 | --recheck update $as_me by reconfiguring in the same conditions |
14136 | --file=FILE[:TEMPLATE] | 14136 | --file=FILE[:TEMPLATE] |
14137 | instantiate the configuration file FILE | 14137 | instantiate the configuration file FILE |
14138 | --header=FILE[:TEMPLATE] | 14138 | --header=FILE[:TEMPLATE] |
14139 | instantiate the configuration header FILE | 14139 | instantiate the configuration header FILE |
14140 | 14140 | ||
14141 | Configuration files: | 14141 | Configuration files: |
14142 | $config_files | 14142 | $config_files |
14143 | 14143 | ||
14144 | Configuration headers: | 14144 | Configuration headers: |
14145 | $config_headers | 14145 | $config_headers |
14146 | 14146 | ||
14147 | Configuration commands: | 14147 | Configuration commands: |
14148 | $config_commands | 14148 | $config_commands |
14149 | 14149 | ||
14150 | Report bugs to the package provider." | 14150 | Report bugs to the package provider." |
14151 | 14151 | ||
14152 | _ACEOF | 14152 | _ACEOF |
14153 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14153 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14154 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 14154 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
14155 | ac_cs_version="\\ | 14155 | ac_cs_version="\\ |
14156 | libjpeg config.status 8.4.0 | 14156 | libjpeg config.status 8.4.0 |
14157 | configured by $0, generated by GNU Autoconf 2.68, | 14157 | configured by $0, generated by GNU Autoconf 2.68, |
14158 | with options \\"\$ac_cs_config\\" | 14158 | with options \\"\$ac_cs_config\\" |
14159 | 14159 | ||
14160 | Copyright (C) 2010 Free Software Foundation, Inc. | 14160 | Copyright (C) 2010 Free Software Foundation, Inc. |
14161 | This config.status script is free software; the Free Software Foundation | 14161 | This config.status script is free software; the Free Software Foundation |
14162 | gives unlimited permission to copy, distribute and modify it." | 14162 | gives unlimited permission to copy, distribute and modify it." |
14163 | 14163 | ||
14164 | ac_pwd='$ac_pwd' | 14164 | ac_pwd='$ac_pwd' |
14165 | srcdir='$srcdir' | 14165 | srcdir='$srcdir' |
14166 | INSTALL='$INSTALL' | 14166 | INSTALL='$INSTALL' |
14167 | MKDIR_P='$MKDIR_P' | 14167 | MKDIR_P='$MKDIR_P' |
14168 | AWK='$AWK' | 14168 | AWK='$AWK' |
14169 | test -n "\$AWK" || AWK=awk | 14169 | test -n "\$AWK" || AWK=awk |
14170 | _ACEOF | 14170 | _ACEOF |
14171 | 14171 | ||
14172 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14172 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14173 | # The default lists apply if the user does not specify any file. | 14173 | # The default lists apply if the user does not specify any file. |
14174 | ac_need_defaults=: | 14174 | ac_need_defaults=: |
14175 | while test $# != 0 | 14175 | while test $# != 0 |
14176 | do | 14176 | do |
14177 | case $1 in | 14177 | case $1 in |
14178 | --*=?*) | 14178 | --*=?*) |
14179 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 14179 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
14180 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 14180 | ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` |
14181 | ac_shift=: | 14181 | ac_shift=: |
14182 | ;; | 14182 | ;; |
14183 | --*=) | 14183 | --*=) |
14184 | ac_option=`expr "X$1" : 'X\([^=]*\)='` | 14184 | ac_option=`expr "X$1" : 'X\([^=]*\)='` |
14185 | ac_optarg= | 14185 | ac_optarg= |
14186 | ac_shift=: | 14186 | ac_shift=: |
14187 | ;; | 14187 | ;; |
14188 | *) | 14188 | *) |
14189 | ac_option=$1 | 14189 | ac_option=$1 |
14190 | ac_optarg=$2 | 14190 | ac_optarg=$2 |
14191 | ac_shift=shift | 14191 | ac_shift=shift |
14192 | ;; | 14192 | ;; |
14193 | esac | 14193 | esac |
14194 | 14194 | ||
14195 | case $ac_option in | 14195 | case $ac_option in |
14196 | # Handling of the options. | 14196 | # Handling of the options. |
14197 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 14197 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
14198 | ac_cs_recheck=: ;; | 14198 | ac_cs_recheck=: ;; |
14199 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 14199 | --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) |
14200 | $as_echo "$ac_cs_version"; exit ;; | 14200 | $as_echo "$ac_cs_version"; exit ;; |
14201 | --config | --confi | --conf | --con | --co | --c ) | 14201 | --config | --confi | --conf | --con | --co | --c ) |
14202 | $as_echo "$ac_cs_config"; exit ;; | 14202 | $as_echo "$ac_cs_config"; exit ;; |
14203 | --debug | --debu | --deb | --de | --d | -d ) | 14203 | --debug | --debu | --deb | --de | --d | -d ) |
14204 | debug=: ;; | 14204 | debug=: ;; |
14205 | --file | --fil | --fi | --f ) | 14205 | --file | --fil | --fi | --f ) |
14206 | $ac_shift | 14206 | $ac_shift |
14207 | case $ac_optarg in | 14207 | case $ac_optarg in |
14208 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 14208 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14209 | '') as_fn_error $? "missing file argument" ;; | 14209 | '') as_fn_error $? "missing file argument" ;; |
14210 | esac | 14210 | esac |
14211 | as_fn_append CONFIG_FILES " '$ac_optarg'" | 14211 | as_fn_append CONFIG_FILES " '$ac_optarg'" |
14212 | ac_need_defaults=false;; | 14212 | ac_need_defaults=false;; |
14213 | --header | --heade | --head | --hea ) | 14213 | --header | --heade | --head | --hea ) |
14214 | $ac_shift | 14214 | $ac_shift |
14215 | case $ac_optarg in | 14215 | case $ac_optarg in |
14216 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 14216 | *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; |
14217 | esac | 14217 | esac |
14218 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" | 14218 | as_fn_append CONFIG_HEADERS " '$ac_optarg'" |
14219 | ac_need_defaults=false;; | 14219 | ac_need_defaults=false;; |
14220 | --he | --h) | 14220 | --he | --h) |
14221 | # Conflict between --help and --header | 14221 | # Conflict between --help and --header |
14222 | as_fn_error $? "ambiguous option: \`$1' | 14222 | as_fn_error $? "ambiguous option: \`$1' |
14223 | Try \`$0 --help' for more information.";; | 14223 | Try \`$0 --help' for more information.";; |
14224 | --help | --hel | -h ) | 14224 | --help | --hel | -h ) |
14225 | $as_echo "$ac_cs_usage"; exit ;; | 14225 | $as_echo "$ac_cs_usage"; exit ;; |
14226 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 14226 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
14227 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 14227 | | -silent | --silent | --silen | --sile | --sil | --si | --s) |
14228 | ac_cs_silent=: ;; | 14228 | ac_cs_silent=: ;; |
14229 | 14229 | ||
14230 | # This is an error. | 14230 | # This is an error. |
14231 | -*) as_fn_error $? "unrecognized option: \`$1' | 14231 | -*) as_fn_error $? "unrecognized option: \`$1' |
14232 | Try \`$0 --help' for more information." ;; | 14232 | Try \`$0 --help' for more information." ;; |
14233 | 14233 | ||
14234 | *) as_fn_append ac_config_targets " $1" | 14234 | *) as_fn_append ac_config_targets " $1" |
14235 | ac_need_defaults=false ;; | 14235 | ac_need_defaults=false ;; |
14236 | 14236 | ||
14237 | esac | 14237 | esac |
14238 | shift | 14238 | shift |
14239 | done | 14239 | done |
14240 | 14240 | ||
14241 | ac_configure_extra_args= | 14241 | ac_configure_extra_args= |
14242 | 14242 | ||
14243 | if $ac_cs_silent; then | 14243 | if $ac_cs_silent; then |
14244 | exec 6>/dev/null | 14244 | exec 6>/dev/null |
14245 | ac_configure_extra_args="$ac_configure_extra_args --silent" | 14245 | ac_configure_extra_args="$ac_configure_extra_args --silent" |
14246 | fi | 14246 | fi |
14247 | 14247 | ||
14248 | _ACEOF | 14248 | _ACEOF |
14249 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14249 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14250 | if \$ac_cs_recheck; then | 14250 | if \$ac_cs_recheck; then |
14251 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 14251 | set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion |
14252 | shift | 14252 | shift |
14253 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | 14253 | \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 |
14254 | CONFIG_SHELL='$SHELL' | 14254 | CONFIG_SHELL='$SHELL' |
14255 | export CONFIG_SHELL | 14255 | export CONFIG_SHELL |
14256 | exec "\$@" | 14256 | exec "\$@" |
14257 | fi | 14257 | fi |
14258 | 14258 | ||
14259 | _ACEOF | 14259 | _ACEOF |
14260 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14260 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14261 | exec 5>>config.log | 14261 | exec 5>>config.log |
14262 | { | 14262 | { |
14263 | echo | 14263 | echo |
14264 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 14264 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX |
14265 | ## Running $as_me. ## | 14265 | ## Running $as_me. ## |
14266 | _ASBOX | 14266 | _ASBOX |
14267 | $as_echo "$ac_log" | 14267 | $as_echo "$ac_log" |
14268 | } >&5 | 14268 | } >&5 |
14269 | 14269 | ||
14270 | _ACEOF | 14270 | _ACEOF |
14271 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14271 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14272 | # | 14272 | # |
14273 | # INIT-COMMANDS | 14273 | # INIT-COMMANDS |
14274 | # | 14274 | # |
14275 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" | 14275 | AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir" |
14276 | 14276 | ||
14277 | 14277 | ||
14278 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 14278 | # The HP-UX ksh and POSIX shell print the target directory to stdout |
14279 | # if CDPATH is set. | 14279 | # if CDPATH is set. |
14280 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 14280 | (unset CDPATH) >/dev/null 2>&1 && unset CDPATH |
14281 | 14281 | ||
14282 | sed_quote_subst='$sed_quote_subst' | 14282 | sed_quote_subst='$sed_quote_subst' |
14283 | double_quote_subst='$double_quote_subst' | 14283 | double_quote_subst='$double_quote_subst' |
14284 | delay_variable_subst='$delay_variable_subst' | 14284 | delay_variable_subst='$delay_variable_subst' |
14285 | AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' | 14285 | AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' |
14286 | DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' | 14286 | DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' |
14287 | OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' | 14287 | OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' |
14288 | macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | 14288 | macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' |
14289 | macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | 14289 | macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' |
14290 | enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' | 14290 | enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' |
14291 | enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' | 14291 | enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' |
14292 | pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' | 14292 | pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' |
14293 | enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' | 14293 | enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' |
14294 | SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' | 14294 | SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' |
14295 | ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' | 14295 | ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' |
14296 | PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' | 14296 | PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`' |
14297 | host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' | 14297 | host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' |
14298 | host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' | 14298 | host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' |
14299 | host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' | 14299 | host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' |
14300 | build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' | 14300 | build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' |
14301 | build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' | 14301 | build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' |
14302 | build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' | 14302 | build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' |
14303 | SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' | 14303 | SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' |
14304 | Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' | 14304 | Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' |
14305 | GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' | 14305 | GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' |
14306 | EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' | 14306 | EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' |
14307 | FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' | 14307 | FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' |
14308 | LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' | 14308 | LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' |
14309 | NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' | 14309 | NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' |
14310 | LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' | 14310 | LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' |
14311 | max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' | 14311 | max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' |
14312 | ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' | 14312 | ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' |
14313 | exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' | 14313 | exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' |
14314 | lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' | 14314 | lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' |
14315 | lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' | 14315 | lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' |
14316 | lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' | 14316 | lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' |
14317 | lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' | 14317 | lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' |
14318 | lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' | 14318 | lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' |
14319 | reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' | 14319 | reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' |
14320 | reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' | 14320 | reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' |
14321 | deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' | 14321 | deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' |
14322 | file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' | 14322 | file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' |
14323 | file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' | 14323 | file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' |
14324 | want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' | 14324 | want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' |
14325 | sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' | 14325 | sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' |
14326 | AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' | 14326 | AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' |
14327 | AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' | 14327 | AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' |
14328 | archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' | 14328 | archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' |
14329 | STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' | 14329 | STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' |
14330 | RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' | 14330 | RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' |
14331 | old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' | 14331 | old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
14332 | old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' | 14332 | old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
14333 | old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' | 14333 | old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' |
14334 | lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' | 14334 | lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' |
14335 | CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' | 14335 | CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' |
14336 | CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' | 14336 | CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' |
14337 | compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | 14337 | compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' |
14338 | GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | 14338 | GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' |
14339 | lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' | 14339 | lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' |
14340 | lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' | 14340 | lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' |
14341 | lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' | 14341 | lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' |
14342 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' | 14342 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' |
14343 | nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' | 14343 | nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' |
14344 | lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' | 14344 | lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' |
14345 | objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' | 14345 | objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' |
14346 | MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' | 14346 | MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' |
14347 | lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' | 14347 | lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' |
14348 | lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' | 14348 | lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' |
14349 | lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' | 14349 | lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' |
14350 | lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' | 14350 | lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' |
14351 | lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' | 14351 | lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' |
14352 | need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' | 14352 | need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' |
14353 | MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' | 14353 | MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' |
14354 | DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' | 14354 | DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' |
14355 | NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' | 14355 | NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' |
14356 | LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' | 14356 | LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' |
14357 | OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' | 14357 | OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' |
14358 | OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' | 14358 | OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' |
14359 | libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' | 14359 | libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' |
14360 | shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' | 14360 | shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' |
14361 | extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' | 14361 | extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
14362 | archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' | 14362 | archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' |
14363 | enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' | 14363 | enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' |
14364 | export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' | 14364 | export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' |
14365 | whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' | 14365 | whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' |
14366 | compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' | 14366 | compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' |
14367 | old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' | 14367 | old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' |
14368 | old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' | 14368 | old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' |
14369 | archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' | 14369 | archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' |
14370 | archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' | 14370 | archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
14371 | module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' | 14371 | module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' |
14372 | module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' | 14372 | module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' |
14373 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' | 14373 | with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' |
14374 | allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' | 14374 | allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' |
14375 | no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' | 14375 | no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' |
14376 | hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' | 14376 | hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' |
14377 | hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' | 14377 | hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' |
14378 | hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' | 14378 | hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' |
14379 | hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' | 14379 | hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' |
14380 | hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' | 14380 | hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' |
14381 | hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' | 14381 | hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' |
14382 | hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' | 14382 | hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' |
14383 | inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' | 14383 | inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' |
14384 | link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' | 14384 | link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' |
14385 | always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' | 14385 | always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' |
14386 | export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' | 14386 | export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' |
14387 | exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' | 14387 | exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' |
14388 | include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' | 14388 | include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' |
14389 | prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' | 14389 | prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' |
14390 | postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' | 14390 | postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' |
14391 | file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' | 14391 | file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' |
14392 | variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' | 14392 | variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' |
14393 | need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' | 14393 | need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' |
14394 | need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' | 14394 | need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' |
14395 | version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' | 14395 | version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' |
14396 | runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' | 14396 | runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' |
14397 | shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' | 14397 | shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' |
14398 | shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' | 14398 | shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' |
14399 | libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' | 14399 | libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' |
14400 | library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' | 14400 | library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' |
14401 | soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' | 14401 | soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' |
14402 | install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' | 14402 | install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' |
14403 | postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' | 14403 | postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' |
14404 | postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' | 14404 | postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' |
14405 | finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' | 14405 | finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' |
14406 | finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' | 14406 | finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' |
14407 | hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' | 14407 | hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' |
14408 | sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' | 14408 | sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' |
14409 | sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' | 14409 | sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' |
14410 | hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' | 14410 | hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' |
14411 | enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' | 14411 | enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' |
14412 | enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' | 14412 | enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' |
14413 | enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' | 14413 | enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' |
14414 | old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' | 14414 | old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' |
14415 | striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' | 14415 | striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' |
14416 | 14416 | ||
14417 | LTCC='$LTCC' | 14417 | LTCC='$LTCC' |
14418 | LTCFLAGS='$LTCFLAGS' | 14418 | LTCFLAGS='$LTCFLAGS' |
14419 | compiler='$compiler_DEFAULT' | 14419 | compiler='$compiler_DEFAULT' |
14420 | 14420 | ||
14421 | # A function that is used when there is no print builtin or printf. | 14421 | # A function that is used when there is no print builtin or printf. |
14422 | func_fallback_echo () | 14422 | func_fallback_echo () |
14423 | { | 14423 | { |
14424 | eval 'cat <<_LTECHO_EOF | 14424 | eval 'cat <<_LTECHO_EOF |
14425 | \$1 | 14425 | \$1 |
14426 | _LTECHO_EOF' | 14426 | _LTECHO_EOF' |
14427 | } | 14427 | } |
14428 | 14428 | ||
14429 | # Quote evaled strings. | 14429 | # Quote evaled strings. |
14430 | for var in AS \ | 14430 | for var in AS \ |
14431 | DLLTOOL \ | 14431 | DLLTOOL \ |
14432 | OBJDUMP \ | 14432 | OBJDUMP \ |
14433 | SHELL \ | 14433 | SHELL \ |
14434 | ECHO \ | 14434 | ECHO \ |
14435 | PATH_SEPARATOR \ | 14435 | PATH_SEPARATOR \ |
14436 | SED \ | 14436 | SED \ |
14437 | GREP \ | 14437 | GREP \ |
14438 | EGREP \ | 14438 | EGREP \ |
14439 | FGREP \ | 14439 | FGREP \ |
14440 | LD \ | 14440 | LD \ |
14441 | NM \ | 14441 | NM \ |
14442 | LN_S \ | 14442 | LN_S \ |
14443 | lt_SP2NL \ | 14443 | lt_SP2NL \ |
14444 | lt_NL2SP \ | 14444 | lt_NL2SP \ |
14445 | reload_flag \ | 14445 | reload_flag \ |
14446 | deplibs_check_method \ | 14446 | deplibs_check_method \ |
14447 | file_magic_cmd \ | 14447 | file_magic_cmd \ |
14448 | file_magic_glob \ | 14448 | file_magic_glob \ |
14449 | want_nocaseglob \ | 14449 | want_nocaseglob \ |
14450 | sharedlib_from_linklib_cmd \ | 14450 | sharedlib_from_linklib_cmd \ |
14451 | AR \ | 14451 | AR \ |
14452 | AR_FLAGS \ | 14452 | AR_FLAGS \ |
14453 | archiver_list_spec \ | 14453 | archiver_list_spec \ |
14454 | STRIP \ | 14454 | STRIP \ |
14455 | RANLIB \ | 14455 | RANLIB \ |
14456 | CC \ | 14456 | CC \ |
14457 | CFLAGS \ | 14457 | CFLAGS \ |
14458 | compiler \ | 14458 | compiler \ |
14459 | lt_cv_sys_global_symbol_pipe \ | 14459 | lt_cv_sys_global_symbol_pipe \ |
14460 | lt_cv_sys_global_symbol_to_cdecl \ | 14460 | lt_cv_sys_global_symbol_to_cdecl \ |
14461 | lt_cv_sys_global_symbol_to_c_name_address \ | 14461 | lt_cv_sys_global_symbol_to_c_name_address \ |
14462 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | 14462 | lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ |
14463 | nm_file_list_spec \ | 14463 | nm_file_list_spec \ |
14464 | lt_prog_compiler_no_builtin_flag \ | 14464 | lt_prog_compiler_no_builtin_flag \ |
14465 | lt_prog_compiler_pic \ | 14465 | lt_prog_compiler_pic \ |
14466 | lt_prog_compiler_wl \ | 14466 | lt_prog_compiler_wl \ |
14467 | lt_prog_compiler_static \ | 14467 | lt_prog_compiler_static \ |
14468 | lt_cv_prog_compiler_c_o \ | 14468 | lt_cv_prog_compiler_c_o \ |
14469 | need_locks \ | 14469 | need_locks \ |
14470 | MANIFEST_TOOL \ | 14470 | MANIFEST_TOOL \ |
14471 | DSYMUTIL \ | 14471 | DSYMUTIL \ |
14472 | NMEDIT \ | 14472 | NMEDIT \ |
14473 | LIPO \ | 14473 | LIPO \ |
14474 | OTOOL \ | 14474 | OTOOL \ |
14475 | OTOOL64 \ | 14475 | OTOOL64 \ |
14476 | shrext_cmds \ | 14476 | shrext_cmds \ |
14477 | export_dynamic_flag_spec \ | 14477 | export_dynamic_flag_spec \ |
14478 | whole_archive_flag_spec \ | 14478 | whole_archive_flag_spec \ |
14479 | compiler_needs_object \ | 14479 | compiler_needs_object \ |
14480 | with_gnu_ld \ | 14480 | with_gnu_ld \ |
14481 | allow_undefined_flag \ | 14481 | allow_undefined_flag \ |
14482 | no_undefined_flag \ | 14482 | no_undefined_flag \ |
14483 | hardcode_libdir_flag_spec \ | 14483 | hardcode_libdir_flag_spec \ |
14484 | hardcode_libdir_separator \ | 14484 | hardcode_libdir_separator \ |
14485 | exclude_expsyms \ | 14485 | exclude_expsyms \ |
14486 | include_expsyms \ | 14486 | include_expsyms \ |
14487 | file_list_spec \ | 14487 | file_list_spec \ |
14488 | variables_saved_for_relink \ | 14488 | variables_saved_for_relink \ |
14489 | libname_spec \ | 14489 | libname_spec \ |
14490 | library_names_spec \ | 14490 | library_names_spec \ |
14491 | soname_spec \ | 14491 | soname_spec \ |
14492 | install_override_mode \ | 14492 | install_override_mode \ |
14493 | finish_eval \ | 14493 | finish_eval \ |
14494 | old_striplib \ | 14494 | old_striplib \ |
14495 | striplib; do | 14495 | striplib; do |
14496 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 14496 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
14497 | *[\\\\\\\`\\"\\\$]*) | 14497 | *[\\\\\\\`\\"\\\$]*) |
14498 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | 14498 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" |
14499 | ;; | 14499 | ;; |
14500 | *) | 14500 | *) |
14501 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 14501 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
14502 | ;; | 14502 | ;; |
14503 | esac | 14503 | esac |
14504 | done | 14504 | done |
14505 | 14505 | ||
14506 | # Double-quote double-evaled strings. | 14506 | # Double-quote double-evaled strings. |
14507 | for var in reload_cmds \ | 14507 | for var in reload_cmds \ |
14508 | old_postinstall_cmds \ | 14508 | old_postinstall_cmds \ |
14509 | old_postuninstall_cmds \ | 14509 | old_postuninstall_cmds \ |
14510 | old_archive_cmds \ | 14510 | old_archive_cmds \ |
14511 | extract_expsyms_cmds \ | 14511 | extract_expsyms_cmds \ |
14512 | old_archive_from_new_cmds \ | 14512 | old_archive_from_new_cmds \ |
14513 | old_archive_from_expsyms_cmds \ | 14513 | old_archive_from_expsyms_cmds \ |
14514 | archive_cmds \ | 14514 | archive_cmds \ |
14515 | archive_expsym_cmds \ | 14515 | archive_expsym_cmds \ |
14516 | module_cmds \ | 14516 | module_cmds \ |
14517 | module_expsym_cmds \ | 14517 | module_expsym_cmds \ |
14518 | export_symbols_cmds \ | 14518 | export_symbols_cmds \ |
14519 | prelink_cmds \ | 14519 | prelink_cmds \ |
14520 | postlink_cmds \ | 14520 | postlink_cmds \ |
14521 | postinstall_cmds \ | 14521 | postinstall_cmds \ |
14522 | postuninstall_cmds \ | 14522 | postuninstall_cmds \ |
14523 | finish_cmds \ | 14523 | finish_cmds \ |
14524 | sys_lib_search_path_spec \ | 14524 | sys_lib_search_path_spec \ |
14525 | sys_lib_dlsearch_path_spec; do | 14525 | sys_lib_dlsearch_path_spec; do |
14526 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 14526 | case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in |
14527 | *[\\\\\\\`\\"\\\$]*) | 14527 | *[\\\\\\\`\\"\\\$]*) |
14528 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" | 14528 | eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" |
14529 | ;; | 14529 | ;; |
14530 | *) | 14530 | *) |
14531 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 14531 | eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" |
14532 | ;; | 14532 | ;; |
14533 | esac | 14533 | esac |
14534 | done | 14534 | done |
14535 | 14535 | ||
14536 | ac_aux_dir='$ac_aux_dir' | 14536 | ac_aux_dir='$ac_aux_dir' |
14537 | xsi_shell='$xsi_shell' | 14537 | xsi_shell='$xsi_shell' |
14538 | lt_shell_append='$lt_shell_append' | 14538 | lt_shell_append='$lt_shell_append' |
14539 | 14539 | ||
14540 | # See if we are running on zsh, and set the options which allow our | 14540 | # See if we are running on zsh, and set the options which allow our |
14541 | # commands through without removal of \ escapes INIT. | 14541 | # commands through without removal of \ escapes INIT. |
14542 | if test -n "\${ZSH_VERSION+set}" ; then | 14542 | if test -n "\${ZSH_VERSION+set}" ; then |
14543 | setopt NO_GLOB_SUBST | 14543 | setopt NO_GLOB_SUBST |
14544 | fi | 14544 | fi |
14545 | 14545 | ||
14546 | 14546 | ||
14547 | PACKAGE='$PACKAGE' | 14547 | PACKAGE='$PACKAGE' |
14548 | VERSION='$VERSION' | 14548 | VERSION='$VERSION' |
14549 | TIMESTAMP='$TIMESTAMP' | 14549 | TIMESTAMP='$TIMESTAMP' |
14550 | RM='$RM' | 14550 | RM='$RM' |
14551 | ofile='$ofile' | 14551 | ofile='$ofile' |
14552 | 14552 | ||
14553 | 14553 | ||
14554 | 14554 | ||
14555 | 14555 | ||
14556 | _ACEOF | 14556 | _ACEOF |
14557 | 14557 | ||
14558 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14558 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14559 | 14559 | ||
14560 | # Handling of arguments. | 14560 | # Handling of arguments. |
14561 | for ac_config_target in $ac_config_targets | 14561 | for ac_config_target in $ac_config_targets |
14562 | do | 14562 | do |
14563 | case $ac_config_target in | 14563 | case $ac_config_target in |
14564 | "jconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS jconfig.h:jconfig.cfg" ;; | 14564 | "jconfig.h") CONFIG_HEADERS="$CONFIG_HEADERS jconfig.h:jconfig.cfg" ;; |
14565 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; | 14565 | "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; |
14566 | "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | 14566 | "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; |
14567 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 14567 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
14568 | 14568 | ||
14569 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 14569 | *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; |
14570 | esac | 14570 | esac |
14571 | done | 14571 | done |
14572 | 14572 | ||
14573 | 14573 | ||
14574 | # If the user did not use the arguments to specify the items to instantiate, | 14574 | # If the user did not use the arguments to specify the items to instantiate, |
14575 | # then the envvar interface is used. Set only those that are not. | 14575 | # then the envvar interface is used. Set only those that are not. |
14576 | # We use the long form for the default assignment because of an extremely | 14576 | # We use the long form for the default assignment because of an extremely |
14577 | # bizarre bug on SunOS 4.1.3. | 14577 | # bizarre bug on SunOS 4.1.3. |
14578 | if $ac_need_defaults; then | 14578 | if $ac_need_defaults; then |
14579 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 14579 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files |
14580 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 14580 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers |
14581 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 14581 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands |
14582 | fi | 14582 | fi |
14583 | 14583 | ||
14584 | # Have a temporary directory for convenience. Make it in the build tree | 14584 | # Have a temporary directory for convenience. Make it in the build tree |
14585 | # simply because there is no reason against having it here, and in addition, | 14585 | # simply because there is no reason against having it here, and in addition, |
14586 | # creating and moving files from /tmp can sometimes cause problems. | 14586 | # creating and moving files from /tmp can sometimes cause problems. |
14587 | # Hook for its removal unless debugging. | 14587 | # Hook for its removal unless debugging. |
14588 | # Note that there is a small window in which the directory will not be cleaned: | 14588 | # Note that there is a small window in which the directory will not be cleaned: |
14589 | # after its creation but before its name has been assigned to `$tmp'. | 14589 | # after its creation but before its name has been assigned to `$tmp'. |
14590 | $debug || | 14590 | $debug || |
14591 | { | 14591 | { |
14592 | tmp= ac_tmp= | 14592 | tmp= ac_tmp= |
14593 | trap 'exit_status=$? | 14593 | trap 'exit_status=$? |
14594 | : "${ac_tmp:=$tmp}" | 14594 | : "${ac_tmp:=$tmp}" |
14595 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | 14595 | { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status |
14596 | ' 0 | 14596 | ' 0 |
14597 | trap 'as_fn_exit 1' 1 2 13 15 | 14597 | trap 'as_fn_exit 1' 1 2 13 15 |
14598 | } | 14598 | } |
14599 | # Create a (secure) tmp directory for tmp files. | 14599 | # Create a (secure) tmp directory for tmp files. |
14600 | 14600 | ||
14601 | { | 14601 | { |
14602 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 14602 | tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && |
14603 | test -d "$tmp" | 14603 | test -d "$tmp" |
14604 | } || | 14604 | } || |
14605 | { | 14605 | { |
14606 | tmp=./conf$$-$RANDOM | 14606 | tmp=./conf$$-$RANDOM |
14607 | (umask 077 && mkdir "$tmp") | 14607 | (umask 077 && mkdir "$tmp") |
14608 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 14608 | } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 |
14609 | ac_tmp=$tmp | 14609 | ac_tmp=$tmp |
14610 | 14610 | ||
14611 | # Set up the scripts for CONFIG_FILES section. | 14611 | # Set up the scripts for CONFIG_FILES section. |
14612 | # No need to generate them if there are no CONFIG_FILES. | 14612 | # No need to generate them if there are no CONFIG_FILES. |
14613 | # This happens for instance with `./config.status config.h'. | 14613 | # This happens for instance with `./config.status config.h'. |
14614 | if test -n "$CONFIG_FILES"; then | 14614 | if test -n "$CONFIG_FILES"; then |
14615 | 14615 | ||
14616 | 14616 | ||
14617 | ac_cr=`echo X | tr X '\015'` | 14617 | ac_cr=`echo X | tr X '\015'` |
14618 | # On cygwin, bash can eat \r inside `` if the user requested igncr. | 14618 | # On cygwin, bash can eat \r inside `` if the user requested igncr. |
14619 | # But we know of no other shell where ac_cr would be empty at this | 14619 | # But we know of no other shell where ac_cr would be empty at this |
14620 | # point, so we can use a bashism as a fallback. | 14620 | # point, so we can use a bashism as a fallback. |
14621 | if test "x$ac_cr" = x; then | 14621 | if test "x$ac_cr" = x; then |
14622 | eval ac_cr=\$\'\\r\' | 14622 | eval ac_cr=\$\'\\r\' |
14623 | fi | 14623 | fi |
14624 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 14624 | ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` |
14625 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 14625 | if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then |
14626 | ac_cs_awk_cr='\\r' | 14626 | ac_cs_awk_cr='\\r' |
14627 | else | 14627 | else |
14628 | ac_cs_awk_cr=$ac_cr | 14628 | ac_cs_awk_cr=$ac_cr |
14629 | fi | 14629 | fi |
14630 | 14630 | ||
14631 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | 14631 | echo 'BEGIN {' >"$ac_tmp/subs1.awk" && |
14632 | _ACEOF | 14632 | _ACEOF |
14633 | 14633 | ||
14634 | 14634 | ||
14635 | { | 14635 | { |
14636 | echo "cat >conf$$subs.awk <<_ACEOF" && | 14636 | echo "cat >conf$$subs.awk <<_ACEOF" && |
14637 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 14637 | echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && |
14638 | echo "_ACEOF" | 14638 | echo "_ACEOF" |
14639 | } >conf$$subs.sh || | 14639 | } >conf$$subs.sh || |
14640 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 14640 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
14641 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 14641 | ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` |
14642 | ac_delim='%!_!# ' | 14642 | ac_delim='%!_!# ' |
14643 | for ac_last_try in false false false false false :; do | 14643 | for ac_last_try in false false false false false :; do |
14644 | . ./conf$$subs.sh || | 14644 | . ./conf$$subs.sh || |
14645 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 14645 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
14646 | 14646 | ||
14647 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 14647 | ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` |
14648 | if test $ac_delim_n = $ac_delim_num; then | 14648 | if test $ac_delim_n = $ac_delim_num; then |
14649 | break | 14649 | break |
14650 | elif $ac_last_try; then | 14650 | elif $ac_last_try; then |
14651 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 14651 | as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 |
14652 | else | 14652 | else |
14653 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14653 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14654 | fi | 14654 | fi |
14655 | done | 14655 | done |
14656 | rm -f conf$$subs.sh | 14656 | rm -f conf$$subs.sh |
14657 | 14657 | ||
14658 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14658 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14659 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | 14659 | cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && |
14660 | _ACEOF | 14660 | _ACEOF |
14661 | sed -n ' | 14661 | sed -n ' |
14662 | h | 14662 | h |
14663 | s/^/S["/; s/!.*/"]=/ | 14663 | s/^/S["/; s/!.*/"]=/ |
14664 | p | 14664 | p |
14665 | g | 14665 | g |
14666 | s/^[^!]*!// | 14666 | s/^[^!]*!// |
14667 | :repl | 14667 | :repl |
14668 | t repl | 14668 | t repl |
14669 | s/'"$ac_delim"'$// | 14669 | s/'"$ac_delim"'$// |
14670 | t delim | 14670 | t delim |
14671 | :nl | 14671 | :nl |
14672 | h | 14672 | h |
14673 | s/\(.\{148\}\)..*/\1/ | 14673 | s/\(.\{148\}\)..*/\1/ |
14674 | t more1 | 14674 | t more1 |
14675 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 14675 | s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
14676 | p | 14676 | p |
14677 | n | 14677 | n |
14678 | b repl | 14678 | b repl |
14679 | :more1 | 14679 | :more1 |
14680 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 14680 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
14681 | p | 14681 | p |
14682 | g | 14682 | g |
14683 | s/.\{148\}// | 14683 | s/.\{148\}// |
14684 | t nl | 14684 | t nl |
14685 | :delim | 14685 | :delim |
14686 | h | 14686 | h |
14687 | s/\(.\{148\}\)..*/\1/ | 14687 | s/\(.\{148\}\)..*/\1/ |
14688 | t more2 | 14688 | t more2 |
14689 | s/["\\]/\\&/g; s/^/"/; s/$/"/ | 14689 | s/["\\]/\\&/g; s/^/"/; s/$/"/ |
14690 | p | 14690 | p |
14691 | b | 14691 | b |
14692 | :more2 | 14692 | :more2 |
14693 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 14693 | s/["\\]/\\&/g; s/^/"/; s/$/"\\/ |
14694 | p | 14694 | p |
14695 | g | 14695 | g |
14696 | s/.\{148\}// | 14696 | s/.\{148\}// |
14697 | t delim | 14697 | t delim |
14698 | ' <conf$$subs.awk | sed ' | 14698 | ' <conf$$subs.awk | sed ' |
14699 | /^[^""]/{ | 14699 | /^[^""]/{ |
14700 | N | 14700 | N |
14701 | s/\n// | 14701 | s/\n// |
14702 | } | 14702 | } |
14703 | ' >>$CONFIG_STATUS || ac_write_fail=1 | 14703 | ' >>$CONFIG_STATUS || ac_write_fail=1 |
14704 | rm -f conf$$subs.awk | 14704 | rm -f conf$$subs.awk |
14705 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14705 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14706 | _ACAWK | 14706 | _ACAWK |
14707 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | 14707 | cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && |
14708 | for (key in S) S_is_set[key] = 1 | 14708 | for (key in S) S_is_set[key] = 1 |
14709 | FS = "" | 14709 | FS = "" |
14710 | 14710 | ||
14711 | } | 14711 | } |
14712 | { | 14712 | { |
14713 | line = $ 0 | 14713 | line = $ 0 |
14714 | nfields = split(line, field, "@") | 14714 | nfields = split(line, field, "@") |
14715 | substed = 0 | 14715 | substed = 0 |
14716 | len = length(field[1]) | 14716 | len = length(field[1]) |
14717 | for (i = 2; i < nfields; i++) { | 14717 | for (i = 2; i < nfields; i++) { |
14718 | key = field[i] | 14718 | key = field[i] |
14719 | keylen = length(key) | 14719 | keylen = length(key) |
14720 | if (S_is_set[key]) { | 14720 | if (S_is_set[key]) { |
14721 | value = S[key] | 14721 | value = S[key] |
14722 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | 14722 | line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) |
14723 | len += length(value) + length(field[++i]) | 14723 | len += length(value) + length(field[++i]) |
14724 | substed = 1 | 14724 | substed = 1 |
14725 | } else | 14725 | } else |
14726 | len += 1 + keylen | 14726 | len += 1 + keylen |
14727 | } | 14727 | } |
14728 | 14728 | ||
14729 | print line | 14729 | print line |
14730 | } | 14730 | } |
14731 | 14731 | ||
14732 | _ACAWK | 14732 | _ACAWK |
14733 | _ACEOF | 14733 | _ACEOF |
14734 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14734 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14735 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 14735 | if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then |
14736 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 14736 | sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" |
14737 | else | 14737 | else |
14738 | cat | 14738 | cat |
14739 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | 14739 | fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ |
14740 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 14740 | || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 |
14741 | _ACEOF | 14741 | _ACEOF |
14742 | 14742 | ||
14743 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 14743 | # VPATH may cause trouble with some makes, so we remove sole $(srcdir), |
14744 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 14744 | # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and |
14745 | # trailing colons and then remove the whole line if VPATH becomes empty | 14745 | # trailing colons and then remove the whole line if VPATH becomes empty |
14746 | # (actually we leave an empty line to preserve line numbers). | 14746 | # (actually we leave an empty line to preserve line numbers). |
14747 | if test "x$srcdir" = x.; then | 14747 | if test "x$srcdir" = x.; then |
14748 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ | 14748 | ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ |
14749 | h | 14749 | h |
14750 | s/// | 14750 | s/// |
14751 | s/^/:/ | 14751 | s/^/:/ |
14752 | s/[ ]*$/:/ | 14752 | s/[ ]*$/:/ |
14753 | s/:\$(srcdir):/:/g | 14753 | s/:\$(srcdir):/:/g |
14754 | s/:\${srcdir}:/:/g | 14754 | s/:\${srcdir}:/:/g |
14755 | s/:@srcdir@:/:/g | 14755 | s/:@srcdir@:/:/g |
14756 | s/^:*// | 14756 | s/^:*// |
14757 | s/:*$// | 14757 | s/:*$// |
14758 | x | 14758 | x |
14759 | s/\(=[ ]*\).*/\1/ | 14759 | s/\(=[ ]*\).*/\1/ |
14760 | G | 14760 | G |
14761 | s/\n// | 14761 | s/\n// |
14762 | s/^[^=]*=[ ]*$// | 14762 | s/^[^=]*=[ ]*$// |
14763 | }' | 14763 | }' |
14764 | fi | 14764 | fi |
14765 | 14765 | ||
14766 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14766 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14767 | fi # test -n "$CONFIG_FILES" | 14767 | fi # test -n "$CONFIG_FILES" |
14768 | 14768 | ||
14769 | # Set up the scripts for CONFIG_HEADERS section. | 14769 | # Set up the scripts for CONFIG_HEADERS section. |
14770 | # No need to generate them if there are no CONFIG_HEADERS. | 14770 | # No need to generate them if there are no CONFIG_HEADERS. |
14771 | # This happens for instance with `./config.status Makefile'. | 14771 | # This happens for instance with `./config.status Makefile'. |
14772 | if test -n "$CONFIG_HEADERS"; then | 14772 | if test -n "$CONFIG_HEADERS"; then |
14773 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || | 14773 | cat >"$ac_tmp/defines.awk" <<\_ACAWK || |
14774 | BEGIN { | 14774 | BEGIN { |
14775 | _ACEOF | 14775 | _ACEOF |
14776 | 14776 | ||
14777 | # Transform confdefs.h into an awk script `defines.awk', embedded as | 14777 | # Transform confdefs.h into an awk script `defines.awk', embedded as |
14778 | # here-document in config.status, that substitutes the proper values into | 14778 | # here-document in config.status, that substitutes the proper values into |
14779 | # config.h.in to produce config.h. | 14779 | # config.h.in to produce config.h. |
14780 | 14780 | ||
14781 | # Create a delimiter string that does not exist in confdefs.h, to ease | 14781 | # Create a delimiter string that does not exist in confdefs.h, to ease |
14782 | # handling of long lines. | 14782 | # handling of long lines. |
14783 | ac_delim='%!_!# ' | 14783 | ac_delim='%!_!# ' |
14784 | for ac_last_try in false false :; do | 14784 | for ac_last_try in false false :; do |
14785 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` | 14785 | ac_tt=`sed -n "/$ac_delim/p" confdefs.h` |
14786 | if test -z "$ac_tt"; then | 14786 | if test -z "$ac_tt"; then |
14787 | break | 14787 | break |
14788 | elif $ac_last_try; then | 14788 | elif $ac_last_try; then |
14789 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 | 14789 | as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5 |
14790 | else | 14790 | else |
14791 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 14791 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
14792 | fi | 14792 | fi |
14793 | done | 14793 | done |
14794 | 14794 | ||
14795 | # For the awk script, D is an array of macro values keyed by name, | 14795 | # For the awk script, D is an array of macro values keyed by name, |
14796 | # likewise P contains macro parameters if any. Preserve backslash | 14796 | # likewise P contains macro parameters if any. Preserve backslash |
14797 | # newline sequences. | 14797 | # newline sequences. |
14798 | 14798 | ||
14799 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* | 14799 | ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]* |
14800 | sed -n ' | 14800 | sed -n ' |
14801 | s/.\{148\}/&'"$ac_delim"'/g | 14801 | s/.\{148\}/&'"$ac_delim"'/g |
14802 | t rset | 14802 | t rset |
14803 | :rset | 14803 | :rset |
14804 | s/^[ ]*#[ ]*define[ ][ ]*/ / | 14804 | s/^[ ]*#[ ]*define[ ][ ]*/ / |
14805 | t def | 14805 | t def |
14806 | d | 14806 | d |
14807 | :def | 14807 | :def |
14808 | s/\\$// | 14808 | s/\\$// |
14809 | t bsnl | 14809 | t bsnl |
14810 | s/["\\]/\\&/g | 14810 | s/["\\]/\\&/g |
14811 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | 14811 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
14812 | D["\1"]=" \3"/p | 14812 | D["\1"]=" \3"/p |
14813 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p | 14813 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p |
14814 | d | 14814 | d |
14815 | :bsnl | 14815 | :bsnl |
14816 | s/["\\]/\\&/g | 14816 | s/["\\]/\\&/g |
14817 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ | 14817 | s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\ |
14818 | D["\1"]=" \3\\\\\\n"\\/p | 14818 | D["\1"]=" \3\\\\\\n"\\/p |
14819 | t cont | 14819 | t cont |
14820 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p | 14820 | s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p |
14821 | t cont | 14821 | t cont |
14822 | d | 14822 | d |
14823 | :cont | 14823 | :cont |
14824 | n | 14824 | n |
14825 | s/.\{148\}/&'"$ac_delim"'/g | 14825 | s/.\{148\}/&'"$ac_delim"'/g |
14826 | t clear | 14826 | t clear |
14827 | :clear | 14827 | :clear |
14828 | s/\\$// | 14828 | s/\\$// |
14829 | t bsnlc | 14829 | t bsnlc |
14830 | s/["\\]/\\&/g; s/^/"/; s/$/"/p | 14830 | s/["\\]/\\&/g; s/^/"/; s/$/"/p |
14831 | d | 14831 | d |
14832 | :bsnlc | 14832 | :bsnlc |
14833 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p | 14833 | s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p |
14834 | b cont | 14834 | b cont |
14835 | ' <confdefs.h | sed ' | 14835 | ' <confdefs.h | sed ' |
14836 | s/'"$ac_delim"'/"\\\ | 14836 | s/'"$ac_delim"'/"\\\ |
14837 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 | 14837 | "/g' >>$CONFIG_STATUS || ac_write_fail=1 |
14838 | 14838 | ||
14839 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 14839 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
14840 | for (key in D) D_is_set[key] = 1 | 14840 | for (key in D) D_is_set[key] = 1 |
14841 | FS = "" | 14841 | FS = "" |
14842 | } | 14842 | } |
14843 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { | 14843 | /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ { |
14844 | line = \$ 0 | 14844 | line = \$ 0 |
14845 | split(line, arg, " ") | 14845 | split(line, arg, " ") |
14846 | if (arg[1] == "#") { | 14846 | if (arg[1] == "#") { |
14847 | defundef = arg[2] | 14847 | defundef = arg[2] |
14848 | mac1 = arg[3] | 14848 | mac1 = arg[3] |
14849 | } else { | 14849 | } else { |
14850 | defundef = substr(arg[1], 2) | 14850 | defundef = substr(arg[1], 2) |
14851 | mac1 = arg[2] | 14851 | mac1 = arg[2] |
14852 | } | 14852 | } |
14853 | split(mac1, mac2, "(") #) | 14853 | split(mac1, mac2, "(") #) |
14854 | macro = mac2[1] | 14854 | macro = mac2[1] |
14855 | prefix = substr(line, 1, index(line, defundef) - 1) | 14855 | prefix = substr(line, 1, index(line, defundef) - 1) |
14856 | if (D_is_set[macro]) { | 14856 | if (D_is_set[macro]) { |
14857 | # Preserve the white space surrounding the "#". | 14857 | # Preserve the white space surrounding the "#". |
14858 | print prefix "define", macro P[macro] D[macro] | 14858 | print prefix "define", macro P[macro] D[macro] |
14859 | next | 14859 | next |
14860 | } else { | 14860 | } else { |
14861 | # Replace #undef with comments. This is necessary, for example, | 14861 | # Replace #undef with comments. This is necessary, for example, |
14862 | # in the case of _POSIX_SOURCE, which is predefined and required | 14862 | # in the case of _POSIX_SOURCE, which is predefined and required |
14863 | # on some systems where configure will not decide to define it. | 14863 | # on some systems where configure will not decide to define it. |
14864 | if (defundef == "undef") { | 14864 | if (defundef == "undef") { |
14865 | print "/*", prefix defundef, macro, "*/" | 14865 | print "/*", prefix defundef, macro, "*/" |
14866 | next | 14866 | next |
14867 | } | 14867 | } |
14868 | } | 14868 | } |
14869 | } | 14869 | } |
14870 | { print } | 14870 | { print } |
14871 | _ACAWK | 14871 | _ACAWK |
14872 | _ACEOF | 14872 | _ACEOF |
14873 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 14873 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
14874 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 | 14874 | as_fn_error $? "could not setup config headers machinery" "$LINENO" 5 |
14875 | fi # test -n "$CONFIG_HEADERS" | 14875 | fi # test -n "$CONFIG_HEADERS" |
14876 | 14876 | ||
14877 | 14877 | ||
14878 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" | 14878 | eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS" |
14879 | shift | 14879 | shift |
14880 | for ac_tag | 14880 | for ac_tag |
14881 | do | 14881 | do |
14882 | case $ac_tag in | 14882 | case $ac_tag in |
14883 | :[FHLC]) ac_mode=$ac_tag; continue;; | 14883 | :[FHLC]) ac_mode=$ac_tag; continue;; |
14884 | esac | 14884 | esac |
14885 | case $ac_mode$ac_tag in | 14885 | case $ac_mode$ac_tag in |
14886 | :[FHL]*:*);; | 14886 | :[FHL]*:*);; |
14887 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 14887 | :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; |
14888 | :[FH]-) ac_tag=-:-;; | 14888 | :[FH]-) ac_tag=-:-;; |
14889 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 14889 | :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; |
14890 | esac | 14890 | esac |
14891 | ac_save_IFS=$IFS | 14891 | ac_save_IFS=$IFS |
14892 | IFS=: | 14892 | IFS=: |
14893 | set x $ac_tag | 14893 | set x $ac_tag |
14894 | IFS=$ac_save_IFS | 14894 | IFS=$ac_save_IFS |
14895 | shift | 14895 | shift |
14896 | ac_file=$1 | 14896 | ac_file=$1 |
14897 | shift | 14897 | shift |
14898 | 14898 | ||
14899 | case $ac_mode in | 14899 | case $ac_mode in |
14900 | :L) ac_source=$1;; | 14900 | :L) ac_source=$1;; |
14901 | :[FH]) | 14901 | :[FH]) |
14902 | ac_file_inputs= | 14902 | ac_file_inputs= |
14903 | for ac_f | 14903 | for ac_f |
14904 | do | 14904 | do |
14905 | case $ac_f in | 14905 | case $ac_f in |
14906 | -) ac_f="$ac_tmp/stdin";; | 14906 | -) ac_f="$ac_tmp/stdin";; |
14907 | *) # Look for the file first in the build tree, then in the source tree | 14907 | *) # Look for the file first in the build tree, then in the source tree |
14908 | # (if the path is not absolute). The absolute path cannot be DOS-style, | 14908 | # (if the path is not absolute). The absolute path cannot be DOS-style, |
14909 | # because $ac_f cannot contain `:'. | 14909 | # because $ac_f cannot contain `:'. |
14910 | test -f "$ac_f" || | 14910 | test -f "$ac_f" || |
14911 | case $ac_f in | 14911 | case $ac_f in |
14912 | [\\/$]*) false;; | 14912 | [\\/$]*) false;; |
14913 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 14913 | *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; |
14914 | esac || | 14914 | esac || |
14915 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 14915 | as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; |
14916 | esac | 14916 | esac |
14917 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 14917 | case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac |
14918 | as_fn_append ac_file_inputs " '$ac_f'" | 14918 | as_fn_append ac_file_inputs " '$ac_f'" |
14919 | done | 14919 | done |
14920 | 14920 | ||
14921 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 14921 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
14922 | # use $as_me), people would be surprised to read: | 14922 | # use $as_me), people would be surprised to read: |
14923 | # /* config.h. Generated by config.status. */ | 14923 | # /* config.h. Generated by config.status. */ |
14924 | configure_input='Generated from '` | 14924 | configure_input='Generated from '` |
14925 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 14925 | $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' |
14926 | `' by configure.' | 14926 | `' by configure.' |
14927 | if test x"$ac_file" != x-; then | 14927 | if test x"$ac_file" != x-; then |
14928 | configure_input="$ac_file. $configure_input" | 14928 | configure_input="$ac_file. $configure_input" |
14929 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 14929 | { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 |
14930 | $as_echo "$as_me: creating $ac_file" >&6;} | 14930 | $as_echo "$as_me: creating $ac_file" >&6;} |
14931 | fi | 14931 | fi |
14932 | # Neutralize special characters interpreted by sed in replacement strings. | 14932 | # Neutralize special characters interpreted by sed in replacement strings. |
14933 | case $configure_input in #( | 14933 | case $configure_input in #( |
14934 | *\&* | *\|* | *\\* ) | 14934 | *\&* | *\|* | *\\* ) |
14935 | ac_sed_conf_input=`$as_echo "$configure_input" | | 14935 | ac_sed_conf_input=`$as_echo "$configure_input" | |
14936 | sed 's/[\\\\&|]/\\\\&/g'`;; #( | 14936 | sed 's/[\\\\&|]/\\\\&/g'`;; #( |
14937 | *) ac_sed_conf_input=$configure_input;; | 14937 | *) ac_sed_conf_input=$configure_input;; |
14938 | esac | 14938 | esac |
14939 | 14939 | ||
14940 | case $ac_tag in | 14940 | case $ac_tag in |
14941 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 14941 | *:-:* | *:-) cat >"$ac_tmp/stdin" \ |
14942 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 14942 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; |
14943 | esac | 14943 | esac |
14944 | ;; | 14944 | ;; |
14945 | esac | 14945 | esac |
14946 | 14946 | ||
14947 | ac_dir=`$as_dirname -- "$ac_file" || | 14947 | ac_dir=`$as_dirname -- "$ac_file" || |
14948 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 14948 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
14949 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 14949 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
14950 | X"$ac_file" : 'X\(//\)$' \| \ | 14950 | X"$ac_file" : 'X\(//\)$' \| \ |
14951 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 14951 | X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || |
14952 | $as_echo X"$ac_file" | | 14952 | $as_echo X"$ac_file" | |
14953 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 14953 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
14954 | s//\1/ | 14954 | s//\1/ |
14955 | q | 14955 | q |
14956 | } | 14956 | } |
14957 | /^X\(\/\/\)[^/].*/{ | 14957 | /^X\(\/\/\)[^/].*/{ |
14958 | s//\1/ | 14958 | s//\1/ |
14959 | q | 14959 | q |
14960 | } | 14960 | } |
14961 | /^X\(\/\/\)$/{ | 14961 | /^X\(\/\/\)$/{ |
14962 | s//\1/ | 14962 | s//\1/ |
14963 | q | 14963 | q |
14964 | } | 14964 | } |
14965 | /^X\(\/\).*/{ | 14965 | /^X\(\/\).*/{ |
14966 | s//\1/ | 14966 | s//\1/ |
14967 | q | 14967 | q |
14968 | } | 14968 | } |
14969 | s/.*/./; q'` | 14969 | s/.*/./; q'` |
14970 | as_dir="$ac_dir"; as_fn_mkdir_p | 14970 | as_dir="$ac_dir"; as_fn_mkdir_p |
14971 | ac_builddir=. | 14971 | ac_builddir=. |
14972 | 14972 | ||
14973 | case "$ac_dir" in | 14973 | case "$ac_dir" in |
14974 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 14974 | .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; |
14975 | *) | 14975 | *) |
14976 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 14976 | ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` |
14977 | # A ".." for each directory in $ac_dir_suffix. | 14977 | # A ".." for each directory in $ac_dir_suffix. |
14978 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 14978 | ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` |
14979 | case $ac_top_builddir_sub in | 14979 | case $ac_top_builddir_sub in |
14980 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 14980 | "") ac_top_builddir_sub=. ac_top_build_prefix= ;; |
14981 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 14981 | *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; |
14982 | esac ;; | 14982 | esac ;; |
14983 | esac | 14983 | esac |
14984 | ac_abs_top_builddir=$ac_pwd | 14984 | ac_abs_top_builddir=$ac_pwd |
14985 | ac_abs_builddir=$ac_pwd$ac_dir_suffix | 14985 | ac_abs_builddir=$ac_pwd$ac_dir_suffix |
14986 | # for backward compatibility: | 14986 | # for backward compatibility: |
14987 | ac_top_builddir=$ac_top_build_prefix | 14987 | ac_top_builddir=$ac_top_build_prefix |
14988 | 14988 | ||
14989 | case $srcdir in | 14989 | case $srcdir in |
14990 | .) # We are building in place. | 14990 | .) # We are building in place. |
14991 | ac_srcdir=. | 14991 | ac_srcdir=. |
14992 | ac_top_srcdir=$ac_top_builddir_sub | 14992 | ac_top_srcdir=$ac_top_builddir_sub |
14993 | ac_abs_top_srcdir=$ac_pwd ;; | 14993 | ac_abs_top_srcdir=$ac_pwd ;; |
14994 | [\\/]* | ?:[\\/]* ) # Absolute name. | 14994 | [\\/]* | ?:[\\/]* ) # Absolute name. |
14995 | ac_srcdir=$srcdir$ac_dir_suffix; | 14995 | ac_srcdir=$srcdir$ac_dir_suffix; |
14996 | ac_top_srcdir=$srcdir | 14996 | ac_top_srcdir=$srcdir |
14997 | ac_abs_top_srcdir=$srcdir ;; | 14997 | ac_abs_top_srcdir=$srcdir ;; |
14998 | *) # Relative name. | 14998 | *) # Relative name. |
14999 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 14999 | ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix |
15000 | ac_top_srcdir=$ac_top_build_prefix$srcdir | 15000 | ac_top_srcdir=$ac_top_build_prefix$srcdir |
15001 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 15001 | ac_abs_top_srcdir=$ac_pwd/$srcdir ;; |
15002 | esac | 15002 | esac |
15003 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 15003 | ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix |
15004 | 15004 | ||
15005 | 15005 | ||
15006 | case $ac_mode in | 15006 | case $ac_mode in |
15007 | :F) | 15007 | :F) |
15008 | # | 15008 | # |
15009 | # CONFIG_FILE | 15009 | # CONFIG_FILE |
15010 | # | 15010 | # |
15011 | 15011 | ||
15012 | case $INSTALL in | 15012 | case $INSTALL in |
15013 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 15013 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; |
15014 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 15014 | *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; |
15015 | esac | 15015 | esac |
15016 | ac_MKDIR_P=$MKDIR_P | 15016 | ac_MKDIR_P=$MKDIR_P |
15017 | case $MKDIR_P in | 15017 | case $MKDIR_P in |
15018 | [\\/$]* | ?:[\\/]* ) ;; | 15018 | [\\/$]* | ?:[\\/]* ) ;; |
15019 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; | 15019 | */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;; |
15020 | esac | 15020 | esac |
15021 | _ACEOF | 15021 | _ACEOF |
15022 | 15022 | ||
15023 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15023 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15024 | # If the template does not know about datarootdir, expand it. | 15024 | # If the template does not know about datarootdir, expand it. |
15025 | # FIXME: This hack should be removed a few years after 2.60. | 15025 | # FIXME: This hack should be removed a few years after 2.60. |
15026 | ac_datarootdir_hack=; ac_datarootdir_seen= | 15026 | ac_datarootdir_hack=; ac_datarootdir_seen= |
15027 | ac_sed_dataroot=' | 15027 | ac_sed_dataroot=' |
15028 | /datarootdir/ { | 15028 | /datarootdir/ { |
15029 | p | 15029 | p |
15030 | q | 15030 | q |
15031 | } | 15031 | } |
15032 | /@datadir@/p | 15032 | /@datadir@/p |
15033 | /@docdir@/p | 15033 | /@docdir@/p |
15034 | /@infodir@/p | 15034 | /@infodir@/p |
15035 | /@localedir@/p | 15035 | /@localedir@/p |
15036 | /@mandir@/p' | 15036 | /@mandir@/p' |
15037 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 15037 | case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in |
15038 | *datarootdir*) ac_datarootdir_seen=yes;; | 15038 | *datarootdir*) ac_datarootdir_seen=yes;; |
15039 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 15039 | *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) |
15040 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 15040 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 |
15041 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 15041 | $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} |
15042 | _ACEOF | 15042 | _ACEOF |
15043 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15043 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15044 | ac_datarootdir_hack=' | 15044 | ac_datarootdir_hack=' |
15045 | s&@datadir@&$datadir&g | 15045 | s&@datadir@&$datadir&g |
15046 | s&@docdir@&$docdir&g | 15046 | s&@docdir@&$docdir&g |
15047 | s&@infodir@&$infodir&g | 15047 | s&@infodir@&$infodir&g |
15048 | s&@localedir@&$localedir&g | 15048 | s&@localedir@&$localedir&g |
15049 | s&@mandir@&$mandir&g | 15049 | s&@mandir@&$mandir&g |
15050 | s&\\\${datarootdir}&$datarootdir&g' ;; | 15050 | s&\\\${datarootdir}&$datarootdir&g' ;; |
15051 | esac | 15051 | esac |
15052 | _ACEOF | 15052 | _ACEOF |
15053 | 15053 | ||
15054 | # Neutralize VPATH when `$srcdir' = `.'. | 15054 | # Neutralize VPATH when `$srcdir' = `.'. |
15055 | # Shell code in configure.ac might set extrasub. | 15055 | # Shell code in configure.ac might set extrasub. |
15056 | # FIXME: do we really want to maintain this feature? | 15056 | # FIXME: do we really want to maintain this feature? |
15057 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 15057 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15058 | ac_sed_extra="$ac_vpsub | 15058 | ac_sed_extra="$ac_vpsub |
15059 | $extrasub | 15059 | $extrasub |
15060 | _ACEOF | 15060 | _ACEOF |
15061 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 15061 | cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 |
15062 | :t | 15062 | :t |
15063 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 15063 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
15064 | s|@configure_input@|$ac_sed_conf_input|;t t | 15064 | s|@configure_input@|$ac_sed_conf_input|;t t |
15065 | s&@top_builddir@&$ac_top_builddir_sub&;t t | 15065 | s&@top_builddir@&$ac_top_builddir_sub&;t t |
15066 | s&@top_build_prefix@&$ac_top_build_prefix&;t t | 15066 | s&@top_build_prefix@&$ac_top_build_prefix&;t t |
15067 | s&@srcdir@&$ac_srcdir&;t t | 15067 | s&@srcdir@&$ac_srcdir&;t t |
15068 | s&@abs_srcdir@&$ac_abs_srcdir&;t t | 15068 | s&@abs_srcdir@&$ac_abs_srcdir&;t t |
15069 | s&@top_srcdir@&$ac_top_srcdir&;t t | 15069 | s&@top_srcdir@&$ac_top_srcdir&;t t |
15070 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 15070 | s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t |
15071 | s&@builddir@&$ac_builddir&;t t | 15071 | s&@builddir@&$ac_builddir&;t t |
15072 | s&@abs_builddir@&$ac_abs_builddir&;t t | 15072 | s&@abs_builddir@&$ac_abs_builddir&;t t |
15073 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 15073 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
15074 | s&@INSTALL@&$ac_INSTALL&;t t | 15074 | s&@INSTALL@&$ac_INSTALL&;t t |
15075 | s&@MKDIR_P@&$ac_MKDIR_P&;t t | 15075 | s&@MKDIR_P@&$ac_MKDIR_P&;t t |
15076 | $ac_datarootdir_hack | 15076 | $ac_datarootdir_hack |
15077 | " | 15077 | " |
15078 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 15078 | eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ |
15079 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15079 | >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15080 | 15080 | ||
15081 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 15081 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
15082 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 15082 | { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && |
15083 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ | 15083 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ |
15084 | "$ac_tmp/out"`; test -z "$ac_out"; } && | 15084 | "$ac_tmp/out"`; test -z "$ac_out"; } && |
15085 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15085 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15086 | which seems to be undefined. Please make sure it is defined" >&5 | 15086 | which seems to be undefined. Please make sure it is defined" >&5 |
15087 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 15087 | $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
15088 | which seems to be undefined. Please make sure it is defined" >&2;} | 15088 | which seems to be undefined. Please make sure it is defined" >&2;} |
15089 | 15089 | ||
15090 | rm -f "$ac_tmp/stdin" | 15090 | rm -f "$ac_tmp/stdin" |
15091 | case $ac_file in | 15091 | case $ac_file in |
15092 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 15092 | -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; |
15093 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 15093 | *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; |
15094 | esac \ | 15094 | esac \ |
15095 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15095 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15096 | ;; | 15096 | ;; |
15097 | :H) | 15097 | :H) |
15098 | # | 15098 | # |
15099 | # CONFIG_HEADER | 15099 | # CONFIG_HEADER |
15100 | # | 15100 | # |
15101 | if test x"$ac_file" != x-; then | 15101 | if test x"$ac_file" != x-; then |
15102 | { | 15102 | { |
15103 | $as_echo "/* $configure_input */" \ | 15103 | $as_echo "/* $configure_input */" \ |
15104 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" | 15104 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" |
15105 | } >"$ac_tmp/config.h" \ | 15105 | } >"$ac_tmp/config.h" \ |
15106 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15106 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15107 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then | 15107 | if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then |
15108 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 | 15108 | { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5 |
15109 | $as_echo "$as_me: $ac_file is unchanged" >&6;} | 15109 | $as_echo "$as_me: $ac_file is unchanged" >&6;} |
15110 | else | 15110 | else |
15111 | rm -f "$ac_file" | 15111 | rm -f "$ac_file" |
15112 | mv "$ac_tmp/config.h" "$ac_file" \ | 15112 | mv "$ac_tmp/config.h" "$ac_file" \ |
15113 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 15113 | || as_fn_error $? "could not create $ac_file" "$LINENO" 5 |
15114 | fi | 15114 | fi |
15115 | else | 15115 | else |
15116 | $as_echo "/* $configure_input */" \ | 15116 | $as_echo "/* $configure_input */" \ |
15117 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ | 15117 | && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \ |
15118 | || as_fn_error $? "could not create -" "$LINENO" 5 | 15118 | || as_fn_error $? "could not create -" "$LINENO" 5 |
15119 | fi | 15119 | fi |
15120 | # Compute "$ac_file"'s index in $config_headers. | 15120 | # Compute "$ac_file"'s index in $config_headers. |
15121 | _am_arg="$ac_file" | 15121 | _am_arg="$ac_file" |
15122 | _am_stamp_count=1 | 15122 | _am_stamp_count=1 |
15123 | for _am_header in $config_headers :; do | 15123 | for _am_header in $config_headers :; do |
15124 | case $_am_header in | 15124 | case $_am_header in |
15125 | $_am_arg | $_am_arg:* ) | 15125 | $_am_arg | $_am_arg:* ) |
15126 | break ;; | 15126 | break ;; |
15127 | * ) | 15127 | * ) |
15128 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 15128 | _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
15129 | esac | 15129 | esac |
15130 | done | 15130 | done |
15131 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || | 15131 | echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" || |
15132 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 15132 | $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15133 | X"$_am_arg" : 'X\(//\)[^/]' \| \ | 15133 | X"$_am_arg" : 'X\(//\)[^/]' \| \ |
15134 | X"$_am_arg" : 'X\(//\)$' \| \ | 15134 | X"$_am_arg" : 'X\(//\)$' \| \ |
15135 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || | 15135 | X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null || |
15136 | $as_echo X"$_am_arg" | | 15136 | $as_echo X"$_am_arg" | |
15137 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 15137 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15138 | s//\1/ | 15138 | s//\1/ |
15139 | q | 15139 | q |
15140 | } | 15140 | } |
15141 | /^X\(\/\/\)[^/].*/{ | 15141 | /^X\(\/\/\)[^/].*/{ |
15142 | s//\1/ | 15142 | s//\1/ |
15143 | q | 15143 | q |
15144 | } | 15144 | } |
15145 | /^X\(\/\/\)$/{ | 15145 | /^X\(\/\/\)$/{ |
15146 | s//\1/ | 15146 | s//\1/ |
15147 | q | 15147 | q |
15148 | } | 15148 | } |
15149 | /^X\(\/\).*/{ | 15149 | /^X\(\/\).*/{ |
15150 | s//\1/ | 15150 | s//\1/ |
15151 | q | 15151 | q |
15152 | } | 15152 | } |
15153 | s/.*/./; q'`/stamp-h$_am_stamp_count | 15153 | s/.*/./; q'`/stamp-h$_am_stamp_count |
15154 | ;; | 15154 | ;; |
15155 | 15155 | ||
15156 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 15156 | :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 |
15157 | $as_echo "$as_me: executing $ac_file commands" >&6;} | 15157 | $as_echo "$as_me: executing $ac_file commands" >&6;} |
15158 | ;; | 15158 | ;; |
15159 | esac | 15159 | esac |
15160 | 15160 | ||
15161 | 15161 | ||
15162 | case $ac_file$ac_mode in | 15162 | case $ac_file$ac_mode in |
15163 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { | 15163 | "depfiles":C) test x"$AMDEP_TRUE" != x"" || { |
15164 | # Autoconf 2.62 quotes --file arguments for eval, but not when files | 15164 | # Autoconf 2.62 quotes --file arguments for eval, but not when files |
15165 | # are listed without --file. Let's play safe and only enable the eval | 15165 | # are listed without --file. Let's play safe and only enable the eval |
15166 | # if we detect the quoting. | 15166 | # if we detect the quoting. |
15167 | case $CONFIG_FILES in | 15167 | case $CONFIG_FILES in |
15168 | *\'*) eval set x "$CONFIG_FILES" ;; | 15168 | *\'*) eval set x "$CONFIG_FILES" ;; |
15169 | *) set x $CONFIG_FILES ;; | 15169 | *) set x $CONFIG_FILES ;; |
15170 | esac | 15170 | esac |
15171 | shift | 15171 | shift |
15172 | for mf | 15172 | for mf |
15173 | do | 15173 | do |
15174 | # Strip MF so we end up with the name of the file. | 15174 | # Strip MF so we end up with the name of the file. |
15175 | mf=`echo "$mf" | sed -e 's/:.*$//'` | 15175 | mf=`echo "$mf" | sed -e 's/:.*$//'` |
15176 | # Check whether this is an Automake generated Makefile or not. | 15176 | # Check whether this is an Automake generated Makefile or not. |
15177 | # We used to match only the files named `Makefile.in', but | 15177 | # We used to match only the files named `Makefile.in', but |
15178 | # some people rename them; so instead we look at the file content. | 15178 | # some people rename them; so instead we look at the file content. |
15179 | # Grep'ing the first line is not enough: some people post-process | 15179 | # Grep'ing the first line is not enough: some people post-process |
15180 | # each Makefile.in and add a new line on top of each file to say so. | 15180 | # each Makefile.in and add a new line on top of each file to say so. |
15181 | # Grep'ing the whole file is not good either: AIX grep has a line | 15181 | # Grep'ing the whole file is not good either: AIX grep has a line |
15182 | # limit of 2048, but all sed's we know have understand at least 4000. | 15182 | # limit of 2048, but all sed's we know have understand at least 4000. |
15183 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then | 15183 | if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
15184 | dirpart=`$as_dirname -- "$mf" || | 15184 | dirpart=`$as_dirname -- "$mf" || |
15185 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 15185 | $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15186 | X"$mf" : 'X\(//\)[^/]' \| \ | 15186 | X"$mf" : 'X\(//\)[^/]' \| \ |
15187 | X"$mf" : 'X\(//\)$' \| \ | 15187 | X"$mf" : 'X\(//\)$' \| \ |
15188 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || | 15188 | X"$mf" : 'X\(/\)' \| . 2>/dev/null || |
15189 | $as_echo X"$mf" | | 15189 | $as_echo X"$mf" | |
15190 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 15190 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15191 | s//\1/ | 15191 | s//\1/ |
15192 | q | 15192 | q |
15193 | } | 15193 | } |
15194 | /^X\(\/\/\)[^/].*/{ | 15194 | /^X\(\/\/\)[^/].*/{ |
15195 | s//\1/ | 15195 | s//\1/ |
15196 | q | 15196 | q |
15197 | } | 15197 | } |
15198 | /^X\(\/\/\)$/{ | 15198 | /^X\(\/\/\)$/{ |
15199 | s//\1/ | 15199 | s//\1/ |
15200 | q | 15200 | q |
15201 | } | 15201 | } |
15202 | /^X\(\/\).*/{ | 15202 | /^X\(\/\).*/{ |
15203 | s//\1/ | 15203 | s//\1/ |
15204 | q | 15204 | q |
15205 | } | 15205 | } |
15206 | s/.*/./; q'` | 15206 | s/.*/./; q'` |
15207 | else | 15207 | else |
15208 | continue | 15208 | continue |
15209 | fi | 15209 | fi |
15210 | # Extract the definition of DEPDIR, am__include, and am__quote | 15210 | # Extract the definition of DEPDIR, am__include, and am__quote |
15211 | # from the Makefile without running `make'. | 15211 | # from the Makefile without running `make'. |
15212 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 15212 | DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
15213 | test -z "$DEPDIR" && continue | 15213 | test -z "$DEPDIR" && continue |
15214 | am__include=`sed -n 's/^am__include = //p' < "$mf"` | 15214 | am__include=`sed -n 's/^am__include = //p' < "$mf"` |
15215 | test -z "am__include" && continue | 15215 | test -z "am__include" && continue |
15216 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` | 15216 | am__quote=`sed -n 's/^am__quote = //p' < "$mf"` |
15217 | # When using ansi2knr, U may be empty or an underscore; expand it | 15217 | # When using ansi2knr, U may be empty or an underscore; expand it |
15218 | U=`sed -n 's/^U = //p' < "$mf"` | 15218 | U=`sed -n 's/^U = //p' < "$mf"` |
15219 | # Find all dependency output files, they are included files with | 15219 | # Find all dependency output files, they are included files with |
15220 | # $(DEPDIR) in their names. We invoke sed twice because it is the | 15220 | # $(DEPDIR) in their names. We invoke sed twice because it is the |
15221 | # simplest approach to changing $(DEPDIR) to its actual value in the | 15221 | # simplest approach to changing $(DEPDIR) to its actual value in the |
15222 | # expansion. | 15222 | # expansion. |
15223 | for file in `sed -n " | 15223 | for file in `sed -n " |
15224 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ | 15224 | s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ |
15225 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do | 15225 | sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do |
15226 | # Make sure the directory exists. | 15226 | # Make sure the directory exists. |
15227 | test -f "$dirpart/$file" && continue | 15227 | test -f "$dirpart/$file" && continue |
15228 | fdir=`$as_dirname -- "$file" || | 15228 | fdir=`$as_dirname -- "$file" || |
15229 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 15229 | $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
15230 | X"$file" : 'X\(//\)[^/]' \| \ | 15230 | X"$file" : 'X\(//\)[^/]' \| \ |
15231 | X"$file" : 'X\(//\)$' \| \ | 15231 | X"$file" : 'X\(//\)$' \| \ |
15232 | X"$file" : 'X\(/\)' \| . 2>/dev/null || | 15232 | X"$file" : 'X\(/\)' \| . 2>/dev/null || |
15233 | $as_echo X"$file" | | 15233 | $as_echo X"$file" | |
15234 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 15234 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ |
15235 | s//\1/ | 15235 | s//\1/ |
15236 | q | 15236 | q |
15237 | } | 15237 | } |
15238 | /^X\(\/\/\)[^/].*/{ | 15238 | /^X\(\/\/\)[^/].*/{ |
15239 | s//\1/ | 15239 | s//\1/ |
15240 | q | 15240 | q |
15241 | } | 15241 | } |
15242 | /^X\(\/\/\)$/{ | 15242 | /^X\(\/\/\)$/{ |
15243 | s//\1/ | 15243 | s//\1/ |
15244 | q | 15244 | q |
15245 | } | 15245 | } |
15246 | /^X\(\/\).*/{ | 15246 | /^X\(\/\).*/{ |
15247 | s//\1/ | 15247 | s//\1/ |
15248 | q | 15248 | q |
15249 | } | 15249 | } |
15250 | s/.*/./; q'` | 15250 | s/.*/./; q'` |
15251 | as_dir=$dirpart/$fdir; as_fn_mkdir_p | 15251 | as_dir=$dirpart/$fdir; as_fn_mkdir_p |
15252 | # echo "creating $dirpart/$file" | 15252 | # echo "creating $dirpart/$file" |
15253 | echo '# dummy' > "$dirpart/$file" | 15253 | echo '# dummy' > "$dirpart/$file" |
15254 | done | 15254 | done |
15255 | done | 15255 | done |
15256 | } | 15256 | } |
15257 | ;; | 15257 | ;; |
15258 | "libtool":C) | 15258 | "libtool":C) |
15259 | 15259 | ||
15260 | # See if we are running on zsh, and set the options which allow our | 15260 | # See if we are running on zsh, and set the options which allow our |
15261 | # commands through without removal of \ escapes. | 15261 | # commands through without removal of \ escapes. |
15262 | if test -n "${ZSH_VERSION+set}" ; then | 15262 | if test -n "${ZSH_VERSION+set}" ; then |
15263 | setopt NO_GLOB_SUBST | 15263 | setopt NO_GLOB_SUBST |
15264 | fi | 15264 | fi |
15265 | 15265 | ||
15266 | cfgfile="${ofile}T" | 15266 | cfgfile="${ofile}T" |
15267 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | 15267 | trap "$RM \"$cfgfile\"; exit 1" 1 2 15 |
15268 | $RM "$cfgfile" | 15268 | $RM "$cfgfile" |
15269 | 15269 | ||
15270 | cat <<_LT_EOF >> "$cfgfile" | 15270 | cat <<_LT_EOF >> "$cfgfile" |
15271 | #! $SHELL | 15271 | #! $SHELL |
15272 | 15272 | ||
15273 | # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 15273 | # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. |
15274 | # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | 15274 | # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION |
15275 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 15275 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
15276 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 15276 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
15277 | # | 15277 | # |
15278 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | 15278 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, |
15279 | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software | 15279 | # 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
15280 | # Foundation, Inc. | 15280 | # Foundation, Inc. |
15281 | # Written by Gordon Matzigkeit, 1996 | 15281 | # Written by Gordon Matzigkeit, 1996 |
15282 | # | 15282 | # |
15283 | # This file is part of GNU Libtool. | 15283 | # This file is part of GNU Libtool. |
15284 | # | 15284 | # |
15285 | # GNU Libtool is free software; you can redistribute it and/or | 15285 | # GNU Libtool is free software; you can redistribute it and/or |
15286 | # modify it under the terms of the GNU General Public License as | 15286 | # modify it under the terms of the GNU General Public License as |
15287 | # published by the Free Software Foundation; either version 2 of | 15287 | # published by the Free Software Foundation; either version 2 of |
15288 | # the License, or (at your option) any later version. | 15288 | # the License, or (at your option) any later version. |
15289 | # | 15289 | # |
15290 | # As a special exception to the GNU General Public License, | 15290 | # As a special exception to the GNU General Public License, |
15291 | # if you distribute this file as part of a program or library that | 15291 | # if you distribute this file as part of a program or library that |
15292 | # is built using GNU Libtool, you may include this file under the | 15292 | # is built using GNU Libtool, you may include this file under the |
15293 | # same distribution terms that you use for the rest of that program. | 15293 | # same distribution terms that you use for the rest of that program. |
15294 | # | 15294 | # |
15295 | # GNU Libtool is distributed in the hope that it will be useful, | 15295 | # GNU Libtool is distributed in the hope that it will be useful, |
15296 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 15296 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
15297 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15297 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15298 | # GNU General Public License for more details. | 15298 | # GNU General Public License for more details. |
15299 | # | 15299 | # |
15300 | # You should have received a copy of the GNU General Public License | 15300 | # You should have received a copy of the GNU General Public License |
15301 | # along with GNU Libtool; see the file COPYING. If not, a copy | 15301 | # along with GNU Libtool; see the file COPYING. If not, a copy |
15302 | # can be downloaded from http://www.gnu.org/licenses/gpl.html, or | 15302 | # can be downloaded from http://www.gnu.org/licenses/gpl.html, or |
15303 | # obtained by writing to the Free Software Foundation, Inc., | 15303 | # obtained by writing to the Free Software Foundation, Inc., |
15304 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 15304 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
15305 | 15305 | ||
15306 | 15306 | ||
15307 | # The names of the tagged configurations supported by this script. | 15307 | # The names of the tagged configurations supported by this script. |
15308 | available_tags="" | 15308 | available_tags="" |
15309 | 15309 | ||
15310 | # ### BEGIN LIBTOOL CONFIG | 15310 | # ### BEGIN LIBTOOL CONFIG |
15311 | 15311 | ||
15312 | # Assembler program. | 15312 | # Assembler program. |
15313 | AS=$lt_AS | 15313 | AS=$lt_AS |
15314 | 15314 | ||
15315 | # DLL creation program. | 15315 | # DLL creation program. |
15316 | DLLTOOL=$lt_DLLTOOL | 15316 | DLLTOOL=$lt_DLLTOOL |
15317 | 15317 | ||
15318 | # Object dumper program. | 15318 | # Object dumper program. |
15319 | OBJDUMP=$lt_OBJDUMP | 15319 | OBJDUMP=$lt_OBJDUMP |
15320 | 15320 | ||
15321 | # Which release of libtool.m4 was used? | 15321 | # Which release of libtool.m4 was used? |
15322 | macro_version=$macro_version | 15322 | macro_version=$macro_version |
15323 | macro_revision=$macro_revision | 15323 | macro_revision=$macro_revision |
15324 | 15324 | ||
15325 | # Whether or not to build shared libraries. | 15325 | # Whether or not to build shared libraries. |
15326 | build_libtool_libs=$enable_shared | 15326 | build_libtool_libs=$enable_shared |
15327 | 15327 | ||
15328 | # Whether or not to build static libraries. | 15328 | # Whether or not to build static libraries. |
15329 | build_old_libs=$enable_static | 15329 | build_old_libs=$enable_static |
15330 | 15330 | ||
15331 | # What type of objects to build. | 15331 | # What type of objects to build. |
15332 | pic_mode=$pic_mode | 15332 | pic_mode=$pic_mode |
15333 | 15333 | ||
15334 | # Whether or not to optimize for fast installation. | 15334 | # Whether or not to optimize for fast installation. |
15335 | fast_install=$enable_fast_install | 15335 | fast_install=$enable_fast_install |
15336 | 15336 | ||
15337 | # Shell to use when invoking shell scripts. | 15337 | # Shell to use when invoking shell scripts. |
15338 | SHELL=$lt_SHELL | 15338 | SHELL=$lt_SHELL |
15339 | 15339 | ||
15340 | # An echo program that protects backslashes. | 15340 | # An echo program that protects backslashes. |
15341 | ECHO=$lt_ECHO | 15341 | ECHO=$lt_ECHO |
15342 | 15342 | ||
15343 | # The PATH separator for the build system. | 15343 | # The PATH separator for the build system. |
15344 | PATH_SEPARATOR=$lt_PATH_SEPARATOR | 15344 | PATH_SEPARATOR=$lt_PATH_SEPARATOR |
15345 | 15345 | ||
15346 | # The host system. | 15346 | # The host system. |
15347 | host_alias=$host_alias | 15347 | host_alias=$host_alias |
15348 | host=$host | 15348 | host=$host |
15349 | host_os=$host_os | 15349 | host_os=$host_os |
15350 | 15350 | ||
15351 | # The build system. | 15351 | # The build system. |
15352 | build_alias=$build_alias | 15352 | build_alias=$build_alias |
15353 | build=$build | 15353 | build=$build |
15354 | build_os=$build_os | 15354 | build_os=$build_os |
15355 | 15355 | ||
15356 | # A sed program that does not truncate output. | 15356 | # A sed program that does not truncate output. |
15357 | SED=$lt_SED | 15357 | SED=$lt_SED |
15358 | 15358 | ||
15359 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 15359 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. |
15360 | Xsed="\$SED -e 1s/^X//" | 15360 | Xsed="\$SED -e 1s/^X//" |
15361 | 15361 | ||
15362 | # A grep program that handles long lines. | 15362 | # A grep program that handles long lines. |
15363 | GREP=$lt_GREP | 15363 | GREP=$lt_GREP |
15364 | 15364 | ||
15365 | # An ERE matcher. | 15365 | # An ERE matcher. |
15366 | EGREP=$lt_EGREP | 15366 | EGREP=$lt_EGREP |
15367 | 15367 | ||
15368 | # A literal string matcher. | 15368 | # A literal string matcher. |
15369 | FGREP=$lt_FGREP | 15369 | FGREP=$lt_FGREP |
15370 | 15370 | ||
15371 | # A BSD- or MS-compatible name lister. | 15371 | # A BSD- or MS-compatible name lister. |
15372 | NM=$lt_NM | 15372 | NM=$lt_NM |
15373 | 15373 | ||
15374 | # Whether we need soft or hard links. | 15374 | # Whether we need soft or hard links. |
15375 | LN_S=$lt_LN_S | 15375 | LN_S=$lt_LN_S |
15376 | 15376 | ||
15377 | # What is the maximum length of a command? | 15377 | # What is the maximum length of a command? |
15378 | max_cmd_len=$max_cmd_len | 15378 | max_cmd_len=$max_cmd_len |
15379 | 15379 | ||
15380 | # Object file suffix (normally "o"). | 15380 | # Object file suffix (normally "o"). |
15381 | objext=$ac_objext | 15381 | objext=$ac_objext |
15382 | 15382 | ||
15383 | # Executable file suffix (normally ""). | 15383 | # Executable file suffix (normally ""). |
15384 | exeext=$exeext | 15384 | exeext=$exeext |
15385 | 15385 | ||
15386 | # whether the shell understands "unset". | 15386 | # whether the shell understands "unset". |
15387 | lt_unset=$lt_unset | 15387 | lt_unset=$lt_unset |
15388 | 15388 | ||
15389 | # turn spaces into newlines. | 15389 | # turn spaces into newlines. |
15390 | SP2NL=$lt_lt_SP2NL | 15390 | SP2NL=$lt_lt_SP2NL |
15391 | 15391 | ||
15392 | # turn newlines into spaces. | 15392 | # turn newlines into spaces. |
15393 | NL2SP=$lt_lt_NL2SP | 15393 | NL2SP=$lt_lt_NL2SP |
15394 | 15394 | ||
15395 | # convert \$build file names to \$host format. | 15395 | # convert \$build file names to \$host format. |
15396 | to_host_file_cmd=$lt_cv_to_host_file_cmd | 15396 | to_host_file_cmd=$lt_cv_to_host_file_cmd |
15397 | 15397 | ||
15398 | # convert \$build files to toolchain format. | 15398 | # convert \$build files to toolchain format. |
15399 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 15399 | to_tool_file_cmd=$lt_cv_to_tool_file_cmd |
15400 | 15400 | ||
15401 | # Method to check whether dependent libraries are shared objects. | 15401 | # Method to check whether dependent libraries are shared objects. |
15402 | deplibs_check_method=$lt_deplibs_check_method | 15402 | deplibs_check_method=$lt_deplibs_check_method |
15403 | 15403 | ||
15404 | # Command to use when deplibs_check_method = "file_magic". | 15404 | # Command to use when deplibs_check_method = "file_magic". |
15405 | file_magic_cmd=$lt_file_magic_cmd | 15405 | file_magic_cmd=$lt_file_magic_cmd |
15406 | 15406 | ||
15407 | # How to find potential files when deplibs_check_method = "file_magic". | 15407 | # How to find potential files when deplibs_check_method = "file_magic". |
15408 | file_magic_glob=$lt_file_magic_glob | 15408 | file_magic_glob=$lt_file_magic_glob |
15409 | 15409 | ||
15410 | # Find potential files using nocaseglob when deplibs_check_method = "file_magic". | 15410 | # Find potential files using nocaseglob when deplibs_check_method = "file_magic". |
15411 | want_nocaseglob=$lt_want_nocaseglob | 15411 | want_nocaseglob=$lt_want_nocaseglob |
15412 | 15412 | ||
15413 | # Command to associate shared and link libraries. | 15413 | # Command to associate shared and link libraries. |
15414 | sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd | 15414 | sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd |
15415 | 15415 | ||
15416 | # The archiver. | 15416 | # The archiver. |
15417 | AR=$lt_AR | 15417 | AR=$lt_AR |
15418 | 15418 | ||
15419 | # Flags to create an archive. | 15419 | # Flags to create an archive. |
15420 | AR_FLAGS=$lt_AR_FLAGS | 15420 | AR_FLAGS=$lt_AR_FLAGS |
15421 | 15421 | ||
15422 | # How to feed a file listing to the archiver. | 15422 | # How to feed a file listing to the archiver. |
15423 | archiver_list_spec=$lt_archiver_list_spec | 15423 | archiver_list_spec=$lt_archiver_list_spec |
15424 | 15424 | ||
15425 | # A symbol stripping program. | 15425 | # A symbol stripping program. |
15426 | STRIP=$lt_STRIP | 15426 | STRIP=$lt_STRIP |
15427 | 15427 | ||
15428 | # Commands used to install an old-style archive. | 15428 | # Commands used to install an old-style archive. |
15429 | RANLIB=$lt_RANLIB | 15429 | RANLIB=$lt_RANLIB |
15430 | old_postinstall_cmds=$lt_old_postinstall_cmds | 15430 | old_postinstall_cmds=$lt_old_postinstall_cmds |
15431 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 15431 | old_postuninstall_cmds=$lt_old_postuninstall_cmds |
15432 | 15432 | ||
15433 | # Whether to use a lock for old archive extraction. | 15433 | # Whether to use a lock for old archive extraction. |
15434 | lock_old_archive_extraction=$lock_old_archive_extraction | 15434 | lock_old_archive_extraction=$lock_old_archive_extraction |
15435 | 15435 | ||
15436 | # A C compiler. | 15436 | # A C compiler. |
15437 | LTCC=$lt_CC | 15437 | LTCC=$lt_CC |
15438 | 15438 | ||
15439 | # LTCC compiler flags. | 15439 | # LTCC compiler flags. |
15440 | LTCFLAGS=$lt_CFLAGS | 15440 | LTCFLAGS=$lt_CFLAGS |
15441 | 15441 | ||
15442 | # Take the output of nm and produce a listing of raw symbols and C names. | 15442 | # Take the output of nm and produce a listing of raw symbols and C names. |
15443 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 15443 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe |
15444 | 15444 | ||
15445 | # Transform the output of nm in a proper C declaration. | 15445 | # Transform the output of nm in a proper C declaration. |
15446 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 15446 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl |
15447 | 15447 | ||
15448 | # Transform the output of nm in a C name address pair. | 15448 | # Transform the output of nm in a C name address pair. |
15449 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 15449 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address |
15450 | 15450 | ||
15451 | # Transform the output of nm in a C name address pair when lib prefix is needed. | 15451 | # Transform the output of nm in a C name address pair when lib prefix is needed. |
15452 | global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix | 15452 | global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix |
15453 | 15453 | ||
15454 | # Specify filename containing input files for \$NM. | 15454 | # Specify filename containing input files for \$NM. |
15455 | nm_file_list_spec=$lt_nm_file_list_spec | 15455 | nm_file_list_spec=$lt_nm_file_list_spec |
15456 | 15456 | ||
15457 | # The root where to search for dependent libraries,and in which our libraries should be installed. | 15457 | # The root where to search for dependent libraries,and in which our libraries should be installed. |
15458 | lt_sysroot=$lt_sysroot | 15458 | lt_sysroot=$lt_sysroot |
15459 | 15459 | ||
15460 | # The name of the directory that contains temporary libtool files. | 15460 | # The name of the directory that contains temporary libtool files. |
15461 | objdir=$objdir | 15461 | objdir=$objdir |
15462 | 15462 | ||
15463 | # Used to examine libraries when file_magic_cmd begins with "file". | 15463 | # Used to examine libraries when file_magic_cmd begins with "file". |
15464 | MAGIC_CMD=$MAGIC_CMD | 15464 | MAGIC_CMD=$MAGIC_CMD |
15465 | 15465 | ||
15466 | # Must we lock files when doing compilation? | 15466 | # Must we lock files when doing compilation? |
15467 | need_locks=$lt_need_locks | 15467 | need_locks=$lt_need_locks |
15468 | 15468 | ||
15469 | # Manifest tool. | 15469 | # Manifest tool. |
15470 | MANIFEST_TOOL=$lt_MANIFEST_TOOL | 15470 | MANIFEST_TOOL=$lt_MANIFEST_TOOL |
15471 | 15471 | ||
15472 | # Tool to manipulate archived DWARF debug symbol files on Mac OS X. | 15472 | # Tool to manipulate archived DWARF debug symbol files on Mac OS X. |
15473 | DSYMUTIL=$lt_DSYMUTIL | 15473 | DSYMUTIL=$lt_DSYMUTIL |
15474 | 15474 | ||
15475 | # Tool to change global to local symbols on Mac OS X. | 15475 | # Tool to change global to local symbols on Mac OS X. |
15476 | NMEDIT=$lt_NMEDIT | 15476 | NMEDIT=$lt_NMEDIT |
15477 | 15477 | ||
15478 | # Tool to manipulate fat objects and archives on Mac OS X. | 15478 | # Tool to manipulate fat objects and archives on Mac OS X. |
15479 | LIPO=$lt_LIPO | 15479 | LIPO=$lt_LIPO |
15480 | 15480 | ||
15481 | # ldd/readelf like tool for Mach-O binaries on Mac OS X. | 15481 | # ldd/readelf like tool for Mach-O binaries on Mac OS X. |
15482 | OTOOL=$lt_OTOOL | 15482 | OTOOL=$lt_OTOOL |
15483 | 15483 | ||
15484 | # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. | 15484 | # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. |
15485 | OTOOL64=$lt_OTOOL64 | 15485 | OTOOL64=$lt_OTOOL64 |
15486 | 15486 | ||
15487 | # Old archive suffix (normally "a"). | 15487 | # Old archive suffix (normally "a"). |
15488 | libext=$libext | 15488 | libext=$libext |
15489 | 15489 | ||
15490 | # Shared library suffix (normally ".so"). | 15490 | # Shared library suffix (normally ".so"). |
15491 | shrext_cmds=$lt_shrext_cmds | 15491 | shrext_cmds=$lt_shrext_cmds |
15492 | 15492 | ||
15493 | # The commands to extract the exported symbol list from a shared archive. | 15493 | # The commands to extract the exported symbol list from a shared archive. |
15494 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 15494 | extract_expsyms_cmds=$lt_extract_expsyms_cmds |
15495 | 15495 | ||
15496 | # Variables whose values should be saved in libtool wrapper scripts and | 15496 | # Variables whose values should be saved in libtool wrapper scripts and |
15497 | # restored at link time. | 15497 | # restored at link time. |
15498 | variables_saved_for_relink=$lt_variables_saved_for_relink | 15498 | variables_saved_for_relink=$lt_variables_saved_for_relink |
15499 | 15499 | ||
15500 | # Do we need the "lib" prefix for modules? | 15500 | # Do we need the "lib" prefix for modules? |
15501 | need_lib_prefix=$need_lib_prefix | 15501 | need_lib_prefix=$need_lib_prefix |
15502 | 15502 | ||
15503 | # Do we need a version for libraries? | 15503 | # Do we need a version for libraries? |
15504 | need_version=$need_version | 15504 | need_version=$need_version |
15505 | 15505 | ||
15506 | # Library versioning type. | 15506 | # Library versioning type. |
15507 | version_type=$version_type | 15507 | version_type=$version_type |
15508 | 15508 | ||
15509 | # Shared library runtime path variable. | 15509 | # Shared library runtime path variable. |
15510 | runpath_var=$runpath_var | 15510 | runpath_var=$runpath_var |
15511 | 15511 | ||
15512 | # Shared library path variable. | 15512 | # Shared library path variable. |
15513 | shlibpath_var=$shlibpath_var | 15513 | shlibpath_var=$shlibpath_var |
15514 | 15514 | ||
15515 | # Is shlibpath searched before the hard-coded library search path? | 15515 | # Is shlibpath searched before the hard-coded library search path? |
15516 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 15516 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath |
15517 | 15517 | ||
15518 | # Format of library name prefix. | 15518 | # Format of library name prefix. |
15519 | libname_spec=$lt_libname_spec | 15519 | libname_spec=$lt_libname_spec |
15520 | 15520 | ||
15521 | # List of archive names. First name is the real one, the rest are links. | 15521 | # List of archive names. First name is the real one, the rest are links. |
15522 | # The last name is the one that the linker finds with -lNAME | 15522 | # The last name is the one that the linker finds with -lNAME |
15523 | library_names_spec=$lt_library_names_spec | 15523 | library_names_spec=$lt_library_names_spec |
15524 | 15524 | ||
15525 | # The coded name of the library, if different from the real name. | 15525 | # The coded name of the library, if different from the real name. |
15526 | soname_spec=$lt_soname_spec | 15526 | soname_spec=$lt_soname_spec |
15527 | 15527 | ||
15528 | # Permission mode override for installation of shared libraries. | 15528 | # Permission mode override for installation of shared libraries. |
15529 | install_override_mode=$lt_install_override_mode | 15529 | install_override_mode=$lt_install_override_mode |
15530 | 15530 | ||
15531 | # Command to use after installation of a shared archive. | 15531 | # Command to use after installation of a shared archive. |
15532 | postinstall_cmds=$lt_postinstall_cmds | 15532 | postinstall_cmds=$lt_postinstall_cmds |
15533 | 15533 | ||
15534 | # Command to use after uninstallation of a shared archive. | 15534 | # Command to use after uninstallation of a shared archive. |
15535 | postuninstall_cmds=$lt_postuninstall_cmds | 15535 | postuninstall_cmds=$lt_postuninstall_cmds |
15536 | 15536 | ||
15537 | # Commands used to finish a libtool library installation in a directory. | 15537 | # Commands used to finish a libtool library installation in a directory. |
15538 | finish_cmds=$lt_finish_cmds | 15538 | finish_cmds=$lt_finish_cmds |
15539 | 15539 | ||
15540 | # As "finish_cmds", except a single script fragment to be evaled but | 15540 | # As "finish_cmds", except a single script fragment to be evaled but |
15541 | # not shown. | 15541 | # not shown. |
15542 | finish_eval=$lt_finish_eval | 15542 | finish_eval=$lt_finish_eval |
15543 | 15543 | ||
15544 | # Whether we should hardcode library paths into libraries. | 15544 | # Whether we should hardcode library paths into libraries. |
15545 | hardcode_into_libs=$hardcode_into_libs | 15545 | hardcode_into_libs=$hardcode_into_libs |
15546 | 15546 | ||
15547 | # Compile-time system search path for libraries. | 15547 | # Compile-time system search path for libraries. |
15548 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 15548 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec |
15549 | 15549 | ||
15550 | # Run-time system search path for libraries. | 15550 | # Run-time system search path for libraries. |
15551 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 15551 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec |
15552 | 15552 | ||
15553 | # Whether dlopen is supported. | 15553 | # Whether dlopen is supported. |
15554 | dlopen_support=$enable_dlopen | 15554 | dlopen_support=$enable_dlopen |
15555 | 15555 | ||
15556 | # Whether dlopen of programs is supported. | 15556 | # Whether dlopen of programs is supported. |
15557 | dlopen_self=$enable_dlopen_self | 15557 | dlopen_self=$enable_dlopen_self |
15558 | 15558 | ||
15559 | # Whether dlopen of statically linked programs is supported. | 15559 | # Whether dlopen of statically linked programs is supported. |
15560 | dlopen_self_static=$enable_dlopen_self_static | 15560 | dlopen_self_static=$enable_dlopen_self_static |
15561 | 15561 | ||
15562 | # Commands to strip libraries. | 15562 | # Commands to strip libraries. |
15563 | old_striplib=$lt_old_striplib | 15563 | old_striplib=$lt_old_striplib |
15564 | striplib=$lt_striplib | 15564 | striplib=$lt_striplib |
15565 | 15565 | ||
15566 | 15566 | ||
15567 | # The linker used to build libraries. | 15567 | # The linker used to build libraries. |
15568 | LD=$lt_LD | 15568 | LD=$lt_LD |
15569 | 15569 | ||
15570 | # How to create reloadable object files. | 15570 | # How to create reloadable object files. |
15571 | reload_flag=$lt_reload_flag | 15571 | reload_flag=$lt_reload_flag |
15572 | reload_cmds=$lt_reload_cmds | 15572 | reload_cmds=$lt_reload_cmds |
15573 | 15573 | ||
15574 | # Commands used to build an old-style archive. | 15574 | # Commands used to build an old-style archive. |
15575 | old_archive_cmds=$lt_old_archive_cmds | 15575 | old_archive_cmds=$lt_old_archive_cmds |
15576 | 15576 | ||
15577 | # A language specific compiler. | 15577 | # A language specific compiler. |
15578 | CC=$lt_compiler | 15578 | CC=$lt_compiler |
15579 | 15579 | ||
15580 | # Is the compiler the GNU compiler? | 15580 | # Is the compiler the GNU compiler? |
15581 | with_gcc=$GCC | 15581 | with_gcc=$GCC |
15582 | 15582 | ||
15583 | # Compiler flag to turn off builtin functions. | 15583 | # Compiler flag to turn off builtin functions. |
15584 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | 15584 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag |
15585 | 15585 | ||
15586 | # Additional compiler flags for building library objects. | 15586 | # Additional compiler flags for building library objects. |
15587 | pic_flag=$lt_lt_prog_compiler_pic | 15587 | pic_flag=$lt_lt_prog_compiler_pic |
15588 | 15588 | ||
15589 | # How to pass a linker flag through the compiler. | 15589 | # How to pass a linker flag through the compiler. |
15590 | wl=$lt_lt_prog_compiler_wl | 15590 | wl=$lt_lt_prog_compiler_wl |
15591 | 15591 | ||
15592 | # Compiler flag to prevent dynamic linking. | 15592 | # Compiler flag to prevent dynamic linking. |
15593 | link_static_flag=$lt_lt_prog_compiler_static | 15593 | link_static_flag=$lt_lt_prog_compiler_static |
15594 | 15594 | ||
15595 | # Does compiler simultaneously support -c and -o options? | 15595 | # Does compiler simultaneously support -c and -o options? |
15596 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o | 15596 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o |
15597 | 15597 | ||
15598 | # Whether or not to add -lc for building shared libraries. | 15598 | # Whether or not to add -lc for building shared libraries. |
15599 | build_libtool_need_lc=$archive_cmds_need_lc | 15599 | build_libtool_need_lc=$archive_cmds_need_lc |
15600 | 15600 | ||
15601 | # Whether or not to disallow shared libs when runtime libs are static. | 15601 | # Whether or not to disallow shared libs when runtime libs are static. |
15602 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | 15602 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes |
15603 | 15603 | ||
15604 | # Compiler flag to allow reflexive dlopens. | 15604 | # Compiler flag to allow reflexive dlopens. |
15605 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 15605 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec |
15606 | 15606 | ||
15607 | # Compiler flag to generate shared objects directly from archives. | 15607 | # Compiler flag to generate shared objects directly from archives. |
15608 | whole_archive_flag_spec=$lt_whole_archive_flag_spec | 15608 | whole_archive_flag_spec=$lt_whole_archive_flag_spec |
15609 | 15609 | ||
15610 | # Whether the compiler copes with passing no objects directly. | 15610 | # Whether the compiler copes with passing no objects directly. |
15611 | compiler_needs_object=$lt_compiler_needs_object | 15611 | compiler_needs_object=$lt_compiler_needs_object |
15612 | 15612 | ||
15613 | # Create an old-style archive from a shared archive. | 15613 | # Create an old-style archive from a shared archive. |
15614 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 15614 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds |
15615 | 15615 | ||
15616 | # Create a temporary old-style archive to link instead of a shared archive. | 15616 | # Create a temporary old-style archive to link instead of a shared archive. |
15617 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 15617 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds |
15618 | 15618 | ||
15619 | # Commands used to build a shared archive. | 15619 | # Commands used to build a shared archive. |
15620 | archive_cmds=$lt_archive_cmds | 15620 | archive_cmds=$lt_archive_cmds |
15621 | archive_expsym_cmds=$lt_archive_expsym_cmds | 15621 | archive_expsym_cmds=$lt_archive_expsym_cmds |
15622 | 15622 | ||
15623 | # Commands used to build a loadable module if different from building | 15623 | # Commands used to build a loadable module if different from building |
15624 | # a shared archive. | 15624 | # a shared archive. |
15625 | module_cmds=$lt_module_cmds | 15625 | module_cmds=$lt_module_cmds |
15626 | module_expsym_cmds=$lt_module_expsym_cmds | 15626 | module_expsym_cmds=$lt_module_expsym_cmds |
15627 | 15627 | ||
15628 | # Whether we are building with GNU ld or not. | 15628 | # Whether we are building with GNU ld or not. |
15629 | with_gnu_ld=$lt_with_gnu_ld | 15629 | with_gnu_ld=$lt_with_gnu_ld |
15630 | 15630 | ||
15631 | # Flag that allows shared libraries with undefined symbols to be built. | 15631 | # Flag that allows shared libraries with undefined symbols to be built. |
15632 | allow_undefined_flag=$lt_allow_undefined_flag | 15632 | allow_undefined_flag=$lt_allow_undefined_flag |
15633 | 15633 | ||
15634 | # Flag that enforces no undefined symbols. | 15634 | # Flag that enforces no undefined symbols. |
15635 | no_undefined_flag=$lt_no_undefined_flag | 15635 | no_undefined_flag=$lt_no_undefined_flag |
15636 | 15636 | ||
15637 | # Flag to hardcode \$libdir into a binary during linking. | 15637 | # Flag to hardcode \$libdir into a binary during linking. |
15638 | # This must work even if \$libdir does not exist | 15638 | # This must work even if \$libdir does not exist |
15639 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 15639 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec |
15640 | 15640 | ||
15641 | # Whether we need a single "-rpath" flag with a separated argument. | 15641 | # Whether we need a single "-rpath" flag with a separated argument. |
15642 | hardcode_libdir_separator=$lt_hardcode_libdir_separator | 15642 | hardcode_libdir_separator=$lt_hardcode_libdir_separator |
15643 | 15643 | ||
15644 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 15644 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
15645 | # DIR into the resulting binary. | 15645 | # DIR into the resulting binary. |
15646 | hardcode_direct=$hardcode_direct | 15646 | hardcode_direct=$hardcode_direct |
15647 | 15647 | ||
15648 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 15648 | # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes |
15649 | # DIR into the resulting binary and the resulting library dependency is | 15649 | # DIR into the resulting binary and the resulting library dependency is |
15650 | # "absolute",i.e impossible to change by setting \${shlibpath_var} if the | 15650 | # "absolute",i.e impossible to change by setting \${shlibpath_var} if the |
15651 | # library is relocated. | 15651 | # library is relocated. |
15652 | hardcode_direct_absolute=$hardcode_direct_absolute | 15652 | hardcode_direct_absolute=$hardcode_direct_absolute |
15653 | 15653 | ||
15654 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | 15654 | # Set to "yes" if using the -LDIR flag during linking hardcodes DIR |
15655 | # into the resulting binary. | 15655 | # into the resulting binary. |
15656 | hardcode_minus_L=$hardcode_minus_L | 15656 | hardcode_minus_L=$hardcode_minus_L |
15657 | 15657 | ||
15658 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | 15658 | # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR |
15659 | # into the resulting binary. | 15659 | # into the resulting binary. |
15660 | hardcode_shlibpath_var=$hardcode_shlibpath_var | 15660 | hardcode_shlibpath_var=$hardcode_shlibpath_var |
15661 | 15661 | ||
15662 | # Set to "yes" if building a shared library automatically hardcodes DIR | 15662 | # Set to "yes" if building a shared library automatically hardcodes DIR |
15663 | # into the library and all subsequent libraries and executables linked | 15663 | # into the library and all subsequent libraries and executables linked |
15664 | # against it. | 15664 | # against it. |
15665 | hardcode_automatic=$hardcode_automatic | 15665 | hardcode_automatic=$hardcode_automatic |
15666 | 15666 | ||
15667 | # Set to yes if linker adds runtime paths of dependent libraries | 15667 | # Set to yes if linker adds runtime paths of dependent libraries |
15668 | # to runtime path list. | 15668 | # to runtime path list. |
15669 | inherit_rpath=$inherit_rpath | 15669 | inherit_rpath=$inherit_rpath |
15670 | 15670 | ||
15671 | # Whether libtool must link a program against all its dependency libraries. | 15671 | # Whether libtool must link a program against all its dependency libraries. |
15672 | link_all_deplibs=$link_all_deplibs | 15672 | link_all_deplibs=$link_all_deplibs |
15673 | 15673 | ||
15674 | # Set to "yes" if exported symbols are required. | 15674 | # Set to "yes" if exported symbols are required. |
15675 | always_export_symbols=$always_export_symbols | 15675 | always_export_symbols=$always_export_symbols |
15676 | 15676 | ||
15677 | # The commands to list exported symbols. | 15677 | # The commands to list exported symbols. |
15678 | export_symbols_cmds=$lt_export_symbols_cmds | 15678 | export_symbols_cmds=$lt_export_symbols_cmds |
15679 | 15679 | ||
15680 | # Symbols that should not be listed in the preloaded symbols. | 15680 | # Symbols that should not be listed in the preloaded symbols. |
15681 | exclude_expsyms=$lt_exclude_expsyms | 15681 | exclude_expsyms=$lt_exclude_expsyms |
15682 | 15682 | ||
15683 | # Symbols that must always be exported. | 15683 | # Symbols that must always be exported. |
15684 | include_expsyms=$lt_include_expsyms | 15684 | include_expsyms=$lt_include_expsyms |
15685 | 15685 | ||
15686 | # Commands necessary for linking programs (against libraries) with templates. | 15686 | # Commands necessary for linking programs (against libraries) with templates. |
15687 | prelink_cmds=$lt_prelink_cmds | 15687 | prelink_cmds=$lt_prelink_cmds |
15688 | 15688 | ||
15689 | # Commands necessary for finishing linking programs. | 15689 | # Commands necessary for finishing linking programs. |
15690 | postlink_cmds=$lt_postlink_cmds | 15690 | postlink_cmds=$lt_postlink_cmds |
15691 | 15691 | ||
15692 | # Specify filename containing input files. | 15692 | # Specify filename containing input files. |
15693 | file_list_spec=$lt_file_list_spec | 15693 | file_list_spec=$lt_file_list_spec |
15694 | 15694 | ||
15695 | # How to hardcode a shared library path into an executable. | 15695 | # How to hardcode a shared library path into an executable. |
15696 | hardcode_action=$hardcode_action | 15696 | hardcode_action=$hardcode_action |
15697 | 15697 | ||
15698 | # ### END LIBTOOL CONFIG | 15698 | # ### END LIBTOOL CONFIG |
15699 | 15699 | ||
15700 | _LT_EOF | 15700 | _LT_EOF |
15701 | 15701 | ||
15702 | case $host_os in | 15702 | case $host_os in |
15703 | aix3*) | 15703 | aix3*) |
15704 | cat <<\_LT_EOF >> "$cfgfile" | 15704 | cat <<\_LT_EOF >> "$cfgfile" |
15705 | # AIX sometimes has problems with the GCC collect2 program. For some | 15705 | # AIX sometimes has problems with the GCC collect2 program. For some |
15706 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 15706 | # reason, if we set the COLLECT_NAMES environment variable, the problems |
15707 | # vanish in a puff of smoke. | 15707 | # vanish in a puff of smoke. |
15708 | if test "X${COLLECT_NAMES+set}" != Xset; then | 15708 | if test "X${COLLECT_NAMES+set}" != Xset; then |
15709 | COLLECT_NAMES= | 15709 | COLLECT_NAMES= |
15710 | export COLLECT_NAMES | 15710 | export COLLECT_NAMES |
15711 | fi | 15711 | fi |
15712 | _LT_EOF | 15712 | _LT_EOF |
15713 | ;; | 15713 | ;; |
15714 | esac | 15714 | esac |
15715 | 15715 | ||
15716 | 15716 | ||
15717 | ltmain="$ac_aux_dir/ltmain.sh" | 15717 | ltmain="$ac_aux_dir/ltmain.sh" |
15718 | 15718 | ||
15719 | 15719 | ||
15720 | # We use sed instead of cat because bash on DJGPP gets confused if | 15720 | # We use sed instead of cat because bash on DJGPP gets confused if |
15721 | # if finds mixed CR/LF and LF-only lines. Since sed operates in | 15721 | # if finds mixed CR/LF and LF-only lines. Since sed operates in |
15722 | # text mode, it properly converts lines to CR/LF. This bash problem | 15722 | # text mode, it properly converts lines to CR/LF. This bash problem |
15723 | # is reportedly fixed, but why not run on old versions too? | 15723 | # is reportedly fixed, but why not run on old versions too? |
15724 | sed '$q' "$ltmain" >> "$cfgfile" \ | 15724 | sed '$q' "$ltmain" >> "$cfgfile" \ |
15725 | || (rm -f "$cfgfile"; exit 1) | 15725 | || (rm -f "$cfgfile"; exit 1) |
15726 | 15726 | ||
15727 | if test x"$xsi_shell" = xyes; then | 15727 | if test x"$xsi_shell" = xyes; then |
15728 | sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ | 15728 | sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ |
15729 | func_dirname ()\ | 15729 | func_dirname ()\ |
15730 | {\ | 15730 | {\ |
15731 | \ case ${1} in\ | 15731 | \ case ${1} in\ |
15732 | \ */*) func_dirname_result="${1%/*}${2}" ;;\ | 15732 | \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
15733 | \ * ) func_dirname_result="${3}" ;;\ | 15733 | \ * ) func_dirname_result="${3}" ;;\ |
15734 | \ esac\ | 15734 | \ esac\ |
15735 | } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ | 15735 | } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ |
15736 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15736 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15737 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15737 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15738 | test 0 -eq $? || _lt_function_replace_fail=: | 15738 | test 0 -eq $? || _lt_function_replace_fail=: |
15739 | 15739 | ||
15740 | 15740 | ||
15741 | sed -e '/^func_basename ()$/,/^} # func_basename /c\ | 15741 | sed -e '/^func_basename ()$/,/^} # func_basename /c\ |
15742 | func_basename ()\ | 15742 | func_basename ()\ |
15743 | {\ | 15743 | {\ |
15744 | \ func_basename_result="${1##*/}"\ | 15744 | \ func_basename_result="${1##*/}"\ |
15745 | } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ | 15745 | } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
15746 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15746 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15747 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15747 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15748 | test 0 -eq $? || _lt_function_replace_fail=: | 15748 | test 0 -eq $? || _lt_function_replace_fail=: |
15749 | 15749 | ||
15750 | 15750 | ||
15751 | sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ | 15751 | sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ |
15752 | func_dirname_and_basename ()\ | 15752 | func_dirname_and_basename ()\ |
15753 | {\ | 15753 | {\ |
15754 | \ case ${1} in\ | 15754 | \ case ${1} in\ |
15755 | \ */*) func_dirname_result="${1%/*}${2}" ;;\ | 15755 | \ */*) func_dirname_result="${1%/*}${2}" ;;\ |
15756 | \ * ) func_dirname_result="${3}" ;;\ | 15756 | \ * ) func_dirname_result="${3}" ;;\ |
15757 | \ esac\ | 15757 | \ esac\ |
15758 | \ func_basename_result="${1##*/}"\ | 15758 | \ func_basename_result="${1##*/}"\ |
15759 | } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ | 15759 | } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ |
15760 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15760 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15761 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15761 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15762 | test 0 -eq $? || _lt_function_replace_fail=: | 15762 | test 0 -eq $? || _lt_function_replace_fail=: |
15763 | 15763 | ||
15764 | 15764 | ||
15765 | sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ | 15765 | sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ |
15766 | func_stripname ()\ | 15766 | func_stripname ()\ |
15767 | {\ | 15767 | {\ |
15768 | \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ | 15768 | \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ |
15769 | \ # positional parameters, so assign one to ordinary parameter first.\ | 15769 | \ # positional parameters, so assign one to ordinary parameter first.\ |
15770 | \ func_stripname_result=${3}\ | 15770 | \ func_stripname_result=${3}\ |
15771 | \ func_stripname_result=${func_stripname_result#"${1}"}\ | 15771 | \ func_stripname_result=${func_stripname_result#"${1}"}\ |
15772 | \ func_stripname_result=${func_stripname_result%"${2}"}\ | 15772 | \ func_stripname_result=${func_stripname_result%"${2}"}\ |
15773 | } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ | 15773 | } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ |
15774 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15774 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15775 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15775 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15776 | test 0 -eq $? || _lt_function_replace_fail=: | 15776 | test 0 -eq $? || _lt_function_replace_fail=: |
15777 | 15777 | ||
15778 | 15778 | ||
15779 | sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ | 15779 | sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ |
15780 | func_split_long_opt ()\ | 15780 | func_split_long_opt ()\ |
15781 | {\ | 15781 | {\ |
15782 | \ func_split_long_opt_name=${1%%=*}\ | 15782 | \ func_split_long_opt_name=${1%%=*}\ |
15783 | \ func_split_long_opt_arg=${1#*=}\ | 15783 | \ func_split_long_opt_arg=${1#*=}\ |
15784 | } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ | 15784 | } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
15785 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15785 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15786 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15786 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15787 | test 0 -eq $? || _lt_function_replace_fail=: | 15787 | test 0 -eq $? || _lt_function_replace_fail=: |
15788 | 15788 | ||
15789 | 15789 | ||
15790 | sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ | 15790 | sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ |
15791 | func_split_short_opt ()\ | 15791 | func_split_short_opt ()\ |
15792 | {\ | 15792 | {\ |
15793 | \ func_split_short_opt_arg=${1#??}\ | 15793 | \ func_split_short_opt_arg=${1#??}\ |
15794 | \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ | 15794 | \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ |
15795 | } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ | 15795 | } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ |
15796 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15796 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15797 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15797 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15798 | test 0 -eq $? || _lt_function_replace_fail=: | 15798 | test 0 -eq $? || _lt_function_replace_fail=: |
15799 | 15799 | ||
15800 | 15800 | ||
15801 | sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ | 15801 | sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ |
15802 | func_lo2o ()\ | 15802 | func_lo2o ()\ |
15803 | {\ | 15803 | {\ |
15804 | \ case ${1} in\ | 15804 | \ case ${1} in\ |
15805 | \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ | 15805 | \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ |
15806 | \ *) func_lo2o_result=${1} ;;\ | 15806 | \ *) func_lo2o_result=${1} ;;\ |
15807 | \ esac\ | 15807 | \ esac\ |
15808 | } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ | 15808 | } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ |
15809 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15809 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15810 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15810 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15811 | test 0 -eq $? || _lt_function_replace_fail=: | 15811 | test 0 -eq $? || _lt_function_replace_fail=: |
15812 | 15812 | ||
15813 | 15813 | ||
15814 | sed -e '/^func_xform ()$/,/^} # func_xform /c\ | 15814 | sed -e '/^func_xform ()$/,/^} # func_xform /c\ |
15815 | func_xform ()\ | 15815 | func_xform ()\ |
15816 | {\ | 15816 | {\ |
15817 | func_xform_result=${1%.*}.lo\ | 15817 | func_xform_result=${1%.*}.lo\ |
15818 | } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ | 15818 | } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ |
15819 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15819 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15820 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15820 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15821 | test 0 -eq $? || _lt_function_replace_fail=: | 15821 | test 0 -eq $? || _lt_function_replace_fail=: |
15822 | 15822 | ||
15823 | 15823 | ||
15824 | sed -e '/^func_arith ()$/,/^} # func_arith /c\ | 15824 | sed -e '/^func_arith ()$/,/^} # func_arith /c\ |
15825 | func_arith ()\ | 15825 | func_arith ()\ |
15826 | {\ | 15826 | {\ |
15827 | func_arith_result=$(( $* ))\ | 15827 | func_arith_result=$(( $* ))\ |
15828 | } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ | 15828 | } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ |
15829 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15829 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15830 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15830 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15831 | test 0 -eq $? || _lt_function_replace_fail=: | 15831 | test 0 -eq $? || _lt_function_replace_fail=: |
15832 | 15832 | ||
15833 | 15833 | ||
15834 | sed -e '/^func_len ()$/,/^} # func_len /c\ | 15834 | sed -e '/^func_len ()$/,/^} # func_len /c\ |
15835 | func_len ()\ | 15835 | func_len ()\ |
15836 | {\ | 15836 | {\ |
15837 | func_len_result=${#1}\ | 15837 | func_len_result=${#1}\ |
15838 | } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ | 15838 | } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ |
15839 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15839 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15840 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15840 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15841 | test 0 -eq $? || _lt_function_replace_fail=: | 15841 | test 0 -eq $? || _lt_function_replace_fail=: |
15842 | 15842 | ||
15843 | fi | 15843 | fi |
15844 | 15844 | ||
15845 | if test x"$lt_shell_append" = xyes; then | 15845 | if test x"$lt_shell_append" = xyes; then |
15846 | sed -e '/^func_append ()$/,/^} # func_append /c\ | 15846 | sed -e '/^func_append ()$/,/^} # func_append /c\ |
15847 | func_append ()\ | 15847 | func_append ()\ |
15848 | {\ | 15848 | {\ |
15849 | eval "${1}+=\\${2}"\ | 15849 | eval "${1}+=\\${2}"\ |
15850 | } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ | 15850 | } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ |
15851 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15851 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15852 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15852 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15853 | test 0 -eq $? || _lt_function_replace_fail=: | 15853 | test 0 -eq $? || _lt_function_replace_fail=: |
15854 | 15854 | ||
15855 | 15855 | ||
15856 | sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ | 15856 | sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ |
15857 | func_append_quoted ()\ | 15857 | func_append_quoted ()\ |
15858 | {\ | 15858 | {\ |
15859 | \ func_quote_for_eval "${2}"\ | 15859 | \ func_quote_for_eval "${2}"\ |
15860 | \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ | 15860 | \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ |
15861 | } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ | 15861 | } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ |
15862 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15862 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15863 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15863 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15864 | test 0 -eq $? || _lt_function_replace_fail=: | 15864 | test 0 -eq $? || _lt_function_replace_fail=: |
15865 | 15865 | ||
15866 | 15866 | ||
15867 | # Save a `func_append' function call where possible by direct use of '+=' | 15867 | # Save a `func_append' function call where possible by direct use of '+=' |
15868 | sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ | 15868 | sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ |
15869 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15869 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15870 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15870 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15871 | test 0 -eq $? || _lt_function_replace_fail=: | 15871 | test 0 -eq $? || _lt_function_replace_fail=: |
15872 | else | 15872 | else |
15873 | # Save a `func_append' function call even when '+=' is not available | 15873 | # Save a `func_append' function call even when '+=' is not available |
15874 | sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ | 15874 | sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ |
15875 | && mv -f "$cfgfile.tmp" "$cfgfile" \ | 15875 | && mv -f "$cfgfile.tmp" "$cfgfile" \ |
15876 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 15876 | || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") |
15877 | test 0 -eq $? || _lt_function_replace_fail=: | 15877 | test 0 -eq $? || _lt_function_replace_fail=: |
15878 | fi | 15878 | fi |
15879 | 15879 | ||
15880 | if test x"$_lt_function_replace_fail" = x":"; then | 15880 | if test x"$_lt_function_replace_fail" = x":"; then |
15881 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 | 15881 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 |
15882 | $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} | 15882 | $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} |
15883 | fi | 15883 | fi |
15884 | 15884 | ||
15885 | 15885 | ||
15886 | mv -f "$cfgfile" "$ofile" || | 15886 | mv -f "$cfgfile" "$ofile" || |
15887 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 15887 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") |
15888 | chmod +x "$ofile" | 15888 | chmod +x "$ofile" |
15889 | 15889 | ||
15890 | ;; | 15890 | ;; |
15891 | 15891 | ||
15892 | esac | 15892 | esac |
15893 | done # for ac_tag | 15893 | done # for ac_tag |
15894 | 15894 | ||
15895 | 15895 | ||
15896 | as_fn_exit 0 | 15896 | as_fn_exit 0 |
15897 | _ACEOF | 15897 | _ACEOF |
15898 | ac_clean_files=$ac_clean_files_save | 15898 | ac_clean_files=$ac_clean_files_save |
15899 | 15899 | ||
15900 | test $ac_write_fail = 0 || | 15900 | test $ac_write_fail = 0 || |
15901 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 15901 | as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 |
15902 | 15902 | ||
15903 | 15903 | ||
15904 | # configure is writing to config.log, and then calls config.status. | 15904 | # configure is writing to config.log, and then calls config.status. |
15905 | # config.status does its own redirection, appending to config.log. | 15905 | # config.status does its own redirection, appending to config.log. |
15906 | # Unfortunately, on DOS this fails, as config.log is still kept open | 15906 | # Unfortunately, on DOS this fails, as config.log is still kept open |
15907 | # by configure, so config.status won't be able to write to it; its | 15907 | # by configure, so config.status won't be able to write to it; its |
15908 | # output is simply discarded. So we exec the FD to /dev/null, | 15908 | # output is simply discarded. So we exec the FD to /dev/null, |
15909 | # effectively closing config.log, so it can be properly (re)opened and | 15909 | # effectively closing config.log, so it can be properly (re)opened and |
15910 | # appended to by config.status. When coming back to configure, we | 15910 | # appended to by config.status. When coming back to configure, we |
15911 | # need to make the FD available again. | 15911 | # need to make the FD available again. |
15912 | if test "$no_create" != yes; then | 15912 | if test "$no_create" != yes; then |
15913 | ac_cs_success=: | 15913 | ac_cs_success=: |
15914 | ac_config_status_args= | 15914 | ac_config_status_args= |
15915 | test "$silent" = yes && | 15915 | test "$silent" = yes && |
15916 | ac_config_status_args="$ac_config_status_args --quiet" | 15916 | ac_config_status_args="$ac_config_status_args --quiet" |
15917 | exec 5>/dev/null | 15917 | exec 5>/dev/null |
15918 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 15918 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false |
15919 | exec 5>>config.log | 15919 | exec 5>>config.log |
15920 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 15920 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which |
15921 | # would make configure fail if this is the last instruction. | 15921 | # would make configure fail if this is the last instruction. |
15922 | $ac_cs_success || as_fn_exit 1 | 15922 | $ac_cs_success || as_fn_exit 1 |
15923 | fi | 15923 | fi |
15924 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 15924 | if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then |
15925 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 15925 | { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 |
15926 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 15926 | $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} |
15927 | fi | 15927 | fi |
15928 | 15928 | ||
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure.ac b/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure.ac index c3c3d81..12293b0 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure.ac +++ b/libraries/irrlicht-1.8/source/Irrlicht/jpeglib/configure.ac | |||
@@ -1,356 +1,356 @@ | |||
1 | # IJG auto-configuration source file. | 1 | # IJG auto-configuration source file. |
2 | # Process this file with autoconf to produce a configure script. | 2 | # Process this file with autoconf to produce a configure script. |
3 | 3 | ||
4 | # | 4 | # |
5 | # Configure script for IJG libjpeg | 5 | # Configure script for IJG libjpeg |
6 | # | 6 | # |
7 | 7 | ||
8 | AC_INIT([libjpeg], [8.4.0]) | 8 | AC_INIT([libjpeg], [8.4.0]) |
9 | 9 | ||
10 | # Directory where autotools helper scripts lives. | 10 | # Directory where autotools helper scripts lives. |
11 | AC_CONFIG_AUX_DIR([.]) | 11 | AC_CONFIG_AUX_DIR([.]) |
12 | 12 | ||
13 | # Generate configuration headers. | 13 | # Generate configuration headers. |
14 | AC_CONFIG_HEADERS([jconfig.h:jconfig.cfg]) | 14 | AC_CONFIG_HEADERS([jconfig.h:jconfig.cfg]) |
15 | 15 | ||
16 | # Hack: disable autoheader so that it doesn't overwrite our cfg template. | 16 | # Hack: disable autoheader so that it doesn't overwrite our cfg template. |
17 | AUTOHEADER="echo autoheader ignored" | 17 | AUTOHEADER="echo autoheader ignored" |
18 | 18 | ||
19 | # Check system type | 19 | # Check system type |
20 | AC_CANONICAL_TARGET | 20 | AC_CANONICAL_TARGET |
21 | 21 | ||
22 | # Initialize Automake | 22 | # Initialize Automake |
23 | # Don't require all the GNU mandated files | 23 | # Don't require all the GNU mandated files |
24 | AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete ansi2knr no-dist foreign]) | 24 | AM_INIT_AUTOMAKE([-Wall -Werror -Wno-obsolete ansi2knr no-dist foreign]) |
25 | 25 | ||
26 | # Make --enable-silent-rules the default. | 26 | # Make --enable-silent-rules the default. |
27 | # To get verbose build output you may configure | 27 | # To get verbose build output you may configure |
28 | # with --disable-silent-rules or use "make V=1". | 28 | # with --disable-silent-rules or use "make V=1". |
29 | AM_SILENT_RULES([yes]) | 29 | AM_SILENT_RULES([yes]) |
30 | 30 | ||
31 | # This is required when using the de-ANSI-fication feature. | 31 | # This is required when using the de-ANSI-fication feature. |
32 | AM_C_PROTOTYPES | 32 | AM_C_PROTOTYPES |
33 | 33 | ||
34 | # Add configure option --enable-maintainer-mode which enables | 34 | # Add configure option --enable-maintainer-mode which enables |
35 | # dependency checking and generation useful to package maintainers. | 35 | # dependency checking and generation useful to package maintainers. |
36 | # This is made an option to avoid confusing end users. | 36 | # This is made an option to avoid confusing end users. |
37 | AM_MAINTAINER_MODE | 37 | AM_MAINTAINER_MODE |
38 | 38 | ||
39 | # Check for programs | 39 | # Check for programs |
40 | AC_PROG_CC | 40 | AC_PROG_CC |
41 | AC_PROG_CC_STDC | 41 | AC_PROG_CC_STDC |
42 | AC_PROG_CPP | 42 | AC_PROG_CPP |
43 | AC_PROG_INSTALL | 43 | AC_PROG_INSTALL |
44 | AC_PROG_MAKE_SET | 44 | AC_PROG_MAKE_SET |
45 | AC_PROG_LN_S | 45 | AC_PROG_LN_S |
46 | 46 | ||
47 | # Check if LD supports linker scripts, | 47 | # Check if LD supports linker scripts, |
48 | # and define automake conditional HAVE_LD_VERSION_SCRIPT if so. | 48 | # and define automake conditional HAVE_LD_VERSION_SCRIPT if so. |
49 | AC_ARG_ENABLE([ld-version-script], | 49 | AC_ARG_ENABLE([ld-version-script], |
50 | AS_HELP_STRING([--enable-ld-version-script], | 50 | AS_HELP_STRING([--enable-ld-version-script], |
51 | [enable linker version script (default is enabled when possible)]), | 51 | [enable linker version script (default is enabled when possible)]), |
52 | [have_ld_version_script=$enableval], []) | 52 | [have_ld_version_script=$enableval], []) |
53 | if test -z "$have_ld_version_script"; then | 53 | if test -z "$have_ld_version_script"; then |
54 | AC_MSG_CHECKING([if LD -Wl,--version-script works]) | 54 | AC_MSG_CHECKING([if LD -Wl,--version-script works]) |
55 | save_LDFLAGS="$LDFLAGS" | 55 | save_LDFLAGS="$LDFLAGS" |
56 | LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" | 56 | LDFLAGS="$LDFLAGS -Wl,--version-script=conftest.map" |
57 | cat > conftest.map <<EOF | 57 | cat > conftest.map <<EOF |
58 | VERS_1 { | 58 | VERS_1 { |
59 | global: sym; | 59 | global: sym; |
60 | }; | 60 | }; |
61 | 61 | ||
62 | VERS_2 { | 62 | VERS_2 { |
63 | global: sym; | 63 | global: sym; |
64 | } VERS_1; | 64 | } VERS_1; |
65 | EOF | 65 | EOF |
66 | AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], | 66 | AC_LINK_IFELSE([AC_LANG_PROGRAM([], [])], |
67 | [have_ld_version_script=yes], [have_ld_version_script=no]) | 67 | [have_ld_version_script=yes], [have_ld_version_script=no]) |
68 | rm -f conftest.map | 68 | rm -f conftest.map |
69 | LDFLAGS="$save_LDFLAGS" | 69 | LDFLAGS="$save_LDFLAGS" |
70 | AC_MSG_RESULT($have_ld_version_script) | 70 | AC_MSG_RESULT($have_ld_version_script) |
71 | fi | 71 | fi |
72 | AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes") | 72 | AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$have_ld_version_script" = "yes") |
73 | 73 | ||
74 | # See if compiler supports prototypes. | 74 | # See if compiler supports prototypes. |
75 | AC_MSG_CHECKING([for function prototypes]) | 75 | AC_MSG_CHECKING([for function prototypes]) |
76 | AC_CACHE_VAL([ijg_cv_have_prototypes], | 76 | AC_CACHE_VAL([ijg_cv_have_prototypes], |
77 | [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ | 77 | [AC_COMPILE_IFELSE([AC_LANG_SOURCE([[ |
78 | int testfunction (int arg1, int * arg2); /* check prototypes */ | 78 | int testfunction (int arg1, int * arg2); /* check prototypes */ |
79 | struct methods_struct { /* check method-pointer declarations */ | 79 | struct methods_struct { /* check method-pointer declarations */ |
80 | int (*error_exit) (char *msgtext); | 80 | int (*error_exit) (char *msgtext); |
81 | int (*trace_message) (char *msgtext); | 81 | int (*trace_message) (char *msgtext); |
82 | int (*another_method) (void); | 82 | int (*another_method) (void); |
83 | }; | 83 | }; |
84 | int testfunction (int arg1, int * arg2) /* check definitions */ | 84 | int testfunction (int arg1, int * arg2) /* check definitions */ |
85 | { return arg2[arg1]; } | 85 | { return arg2[arg1]; } |
86 | int test2function (void) /* check void arg list */ | 86 | int test2function (void) /* check void arg list */ |
87 | { return 0; } | 87 | { return 0; } |
88 | ]])], | 88 | ]])], |
89 | [ijg_cv_have_prototypes=yes], | 89 | [ijg_cv_have_prototypes=yes], |
90 | [ijg_cv_have_prototypes=no])]) | 90 | [ijg_cv_have_prototypes=no])]) |
91 | AC_MSG_RESULT([$ijg_cv_have_prototypes]) | 91 | AC_MSG_RESULT([$ijg_cv_have_prototypes]) |
92 | if test $ijg_cv_have_prototypes = yes; then | 92 | if test $ijg_cv_have_prototypes = yes; then |
93 | AC_DEFINE([HAVE_PROTOTYPES],[1],[Compiler supports function prototypes.]) | 93 | AC_DEFINE([HAVE_PROTOTYPES],[1],[Compiler supports function prototypes.]) |
94 | else | 94 | else |
95 | AC_MSG_WARN([Your compiler does not seem to know about function prototypes. | 95 | AC_MSG_WARN([Your compiler does not seem to know about function prototypes. |
96 | Perhaps it needs a special switch to enable ANSI C mode. | 96 | Perhaps it needs a special switch to enable ANSI C mode. |
97 | If so, we recommend running configure like this: | 97 | If so, we recommend running configure like this: |
98 | ./configure CC='cc -switch' | 98 | ./configure CC='cc -switch' |
99 | where -switch is the proper switch.]) | 99 | where -switch is the proper switch.]) |
100 | fi | 100 | fi |
101 | 101 | ||
102 | # Check header files | 102 | # Check header files |
103 | AC_CHECK_HEADERS([stddef.h stdlib.h locale.h]) | 103 | AC_CHECK_HEADERS([stddef.h stdlib.h locale.h]) |
104 | AC_CHECK_HEADER([string.h], [], | 104 | AC_CHECK_HEADER([string.h], [], |
105 | [AC_DEFINE([NEED_BSD_STRINGS], [1], | 105 | [AC_DEFINE([NEED_BSD_STRINGS], [1], |
106 | [Compiler has <strings.h> rather than standard <string.h>.])]) | 106 | [Compiler has <strings.h> rather than standard <string.h>.])]) |
107 | 107 | ||
108 | # See whether type size_t is defined in any ANSI-standard places; | 108 | # See whether type size_t is defined in any ANSI-standard places; |
109 | # if not, perhaps it is defined in <sys/types.h>. | 109 | # if not, perhaps it is defined in <sys/types.h>. |
110 | AC_MSG_CHECKING([for size_t]) | 110 | AC_MSG_CHECKING([for size_t]) |
111 | AC_TRY_COMPILE([ | 111 | AC_TRY_COMPILE([ |
112 | #ifdef HAVE_STDDEF_H | 112 | #ifdef HAVE_STDDEF_H |
113 | #include <stddef.h> | 113 | #include <stddef.h> |
114 | #endif | 114 | #endif |
115 | #ifdef HAVE_STDLIB_H | 115 | #ifdef HAVE_STDLIB_H |
116 | #include <stdlib.h> | 116 | #include <stdlib.h> |
117 | #endif | 117 | #endif |
118 | #include <stdio.h> | 118 | #include <stdio.h> |
119 | #ifdef NEED_BSD_STRINGS | 119 | #ifdef NEED_BSD_STRINGS |
120 | #include <strings.h> | 120 | #include <strings.h> |
121 | #else | 121 | #else |
122 | #include <string.h> | 122 | #include <string.h> |
123 | #endif | 123 | #endif |
124 | typedef size_t my_size_t; | 124 | typedef size_t my_size_t; |
125 | ], | 125 | ], |
126 | [ my_size_t foovar; ], | 126 | [ my_size_t foovar; ], |
127 | [ijg_size_t_ok=yes], | 127 | [ijg_size_t_ok=yes], |
128 | [ijg_size_t_ok="not ANSI, perhaps it is in sys/types.h"]) | 128 | [ijg_size_t_ok="not ANSI, perhaps it is in sys/types.h"]) |
129 | AC_MSG_RESULT([$ijg_size_t_ok]) | 129 | AC_MSG_RESULT([$ijg_size_t_ok]) |
130 | if test "$ijg_size_t_ok" != yes; then | 130 | if test "$ijg_size_t_ok" != yes; then |
131 | AC_CHECK_HEADER([sys/types.h], | 131 | AC_CHECK_HEADER([sys/types.h], |
132 | [AC_DEFINE([NEED_SYS_TYPES_H], [1], | 132 | [AC_DEFINE([NEED_SYS_TYPES_H], [1], |
133 | [Need to include <sys/types.h> in order to obtain size_t.]) | 133 | [Need to include <sys/types.h> in order to obtain size_t.]) |
134 | AC_EGREP_CPP([size_t], [#include <sys/types.h>], | 134 | AC_EGREP_CPP([size_t], [#include <sys/types.h>], |
135 | [ijg_size_t_ok="size_t is in sys/types.h"], | 135 | [ijg_size_t_ok="size_t is in sys/types.h"], |
136 | [ijg_size_t_ok=no])], | 136 | [ijg_size_t_ok=no])], |
137 | [ijg_size_t_ok=no]) | 137 | [ijg_size_t_ok=no]) |
138 | AC_MSG_RESULT([$ijg_size_t_ok]) | 138 | AC_MSG_RESULT([$ijg_size_t_ok]) |
139 | if test "$ijg_size_t_ok" = no; then | 139 | if test "$ijg_size_t_ok" = no; then |
140 | AC_MSG_WARN([Type size_t is not defined in any of the usual places. | 140 | AC_MSG_WARN([Type size_t is not defined in any of the usual places. |
141 | Try putting '"typedef unsigned int size_t;"' in jconfig.h.]) | 141 | Try putting '"typedef unsigned int size_t;"' in jconfig.h.]) |
142 | fi | 142 | fi |
143 | fi | 143 | fi |
144 | 144 | ||
145 | # Check compiler characteristics | 145 | # Check compiler characteristics |
146 | AC_MSG_CHECKING([for type unsigned char]) | 146 | AC_MSG_CHECKING([for type unsigned char]) |
147 | AC_TRY_COMPILE([], [ unsigned char un_char; ], | 147 | AC_TRY_COMPILE([], [ unsigned char un_char; ], |
148 | [AC_MSG_RESULT(yes) | 148 | [AC_MSG_RESULT(yes) |
149 | AC_DEFINE([HAVE_UNSIGNED_CHAR], [1], | 149 | AC_DEFINE([HAVE_UNSIGNED_CHAR], [1], |
150 | [Compiler supports 'unsigned char'.])], | 150 | [Compiler supports 'unsigned char'.])], |
151 | [AC_MSG_RESULT(no)]) | 151 | [AC_MSG_RESULT(no)]) |
152 | 152 | ||
153 | AC_MSG_CHECKING([for type unsigned short]) | 153 | AC_MSG_CHECKING([for type unsigned short]) |
154 | AC_TRY_COMPILE([], [ unsigned short un_short; ], | 154 | AC_TRY_COMPILE([], [ unsigned short un_short; ], |
155 | [AC_MSG_RESULT(yes) | 155 | [AC_MSG_RESULT(yes) |
156 | AC_DEFINE([HAVE_UNSIGNED_SHORT], [1], | 156 | AC_DEFINE([HAVE_UNSIGNED_SHORT], [1], |
157 | [Compiler supports 'unsigned short'.])], | 157 | [Compiler supports 'unsigned short'.])], |
158 | [AC_MSG_RESULT(no)]) | 158 | [AC_MSG_RESULT(no)]) |
159 | 159 | ||
160 | AC_MSG_CHECKING([for type void]) | 160 | AC_MSG_CHECKING([for type void]) |
161 | AC_TRY_COMPILE([ | 161 | AC_TRY_COMPILE([ |
162 | /* Caution: a C++ compiler will insist on valid prototypes */ | 162 | /* Caution: a C++ compiler will insist on valid prototypes */ |
163 | typedef void * void_ptr; /* check void * */ | 163 | typedef void * void_ptr; /* check void * */ |
164 | #ifdef HAVE_PROTOTYPES /* check ptr to function returning void */ | 164 | #ifdef HAVE_PROTOTYPES /* check ptr to function returning void */ |
165 | typedef void (*void_func) (int a, int b); | 165 | typedef void (*void_func) (int a, int b); |
166 | #else | 166 | #else |
167 | typedef void (*void_func) (); | 167 | typedef void (*void_func) (); |
168 | #endif | 168 | #endif |
169 | 169 | ||
170 | #ifdef HAVE_PROTOTYPES /* check void function result */ | 170 | #ifdef HAVE_PROTOTYPES /* check void function result */ |
171 | void test3function (void_ptr arg1, void_func arg2) | 171 | void test3function (void_ptr arg1, void_func arg2) |
172 | #else | 172 | #else |
173 | void test3function (arg1, arg2) | 173 | void test3function (arg1, arg2) |
174 | void_ptr arg1; | 174 | void_ptr arg1; |
175 | void_func arg2; | 175 | void_func arg2; |
176 | #endif | 176 | #endif |
177 | { | 177 | { |
178 | char * locptr = (char *) arg1; /* check casting to and from void * */ | 178 | char * locptr = (char *) arg1; /* check casting to and from void * */ |
179 | arg1 = (void *) locptr; | 179 | arg1 = (void *) locptr; |
180 | (*arg2) (1, 2); /* check call of fcn returning void */ | 180 | (*arg2) (1, 2); /* check call of fcn returning void */ |
181 | } | 181 | } |
182 | ], [ ], | 182 | ], [ ], |
183 | [AC_MSG_RESULT(yes)], | 183 | [AC_MSG_RESULT(yes)], |
184 | [AC_MSG_RESULT(no) | 184 | [AC_MSG_RESULT(no) |
185 | AC_DEFINE([void], [char], | 185 | AC_DEFINE([void], [char], |
186 | [Define 'void' as 'char' for archaic compilers | 186 | [Define 'void' as 'char' for archaic compilers |
187 | that don't understand it.])]) | 187 | that don't understand it.])]) |
188 | AC_C_CONST | 188 | AC_C_CONST |
189 | 189 | ||
190 | # Check for non-broken inline under various spellings | 190 | # Check for non-broken inline under various spellings |
191 | AC_MSG_CHECKING([for inline]) | 191 | AC_MSG_CHECKING([for inline]) |
192 | ijg_cv_inline="" | 192 | ijg_cv_inline="" |
193 | AC_TRY_COMPILE([], [} __inline__ int foo() { return 0; } | 193 | AC_TRY_COMPILE([], [} __inline__ int foo() { return 0; } |
194 | int bar() { return foo();], ijg_cv_inline="__inline__", | 194 | int bar() { return foo();], ijg_cv_inline="__inline__", |
195 | [AC_TRY_COMPILE(, [} __inline int foo() { return 0; } | 195 | [AC_TRY_COMPILE(, [} __inline int foo() { return 0; } |
196 | int bar() { return foo();], ijg_cv_inline="__inline", | 196 | int bar() { return foo();], ijg_cv_inline="__inline", |
197 | [AC_TRY_COMPILE(, [} inline int foo() { return 0; } | 197 | [AC_TRY_COMPILE(, [} inline int foo() { return 0; } |
198 | int bar() { return foo();], ijg_cv_inline="inline")])]) | 198 | int bar() { return foo();], ijg_cv_inline="inline")])]) |
199 | AC_MSG_RESULT($ijg_cv_inline) | 199 | AC_MSG_RESULT($ijg_cv_inline) |
200 | AC_DEFINE_UNQUOTED([INLINE], [$ijg_cv_inline], | 200 | AC_DEFINE_UNQUOTED([INLINE], [$ijg_cv_inline], |
201 | [How to obtain function inlining.]) | 201 | [How to obtain function inlining.]) |
202 | 202 | ||
203 | # We cannot check for bogus warnings, but at least we can check for errors | 203 | # We cannot check for bogus warnings, but at least we can check for errors |
204 | AC_MSG_CHECKING([for broken incomplete types]) | 204 | AC_MSG_CHECKING([for broken incomplete types]) |
205 | AC_TRY_COMPILE([ typedef struct undefined_structure * undef_struct_ptr; ], | 205 | AC_TRY_COMPILE([ typedef struct undefined_structure * undef_struct_ptr; ], |
206 | [], | 206 | [], |
207 | [AC_MSG_RESULT(ok)], | 207 | [AC_MSG_RESULT(ok)], |
208 | [AC_MSG_RESULT(broken) | 208 | [AC_MSG_RESULT(broken) |
209 | AC_DEFINE([INCOMPLETE_TYPES_BROKEN], [1], | 209 | AC_DEFINE([INCOMPLETE_TYPES_BROKEN], [1], |
210 | [Compiler does not support pointers to unspecified | 210 | [Compiler does not support pointers to unspecified |
211 | structures.])]) | 211 | structures.])]) |
212 | 212 | ||
213 | # Test whether global names are unique to at least 15 chars | 213 | # Test whether global names are unique to at least 15 chars |
214 | AC_MSG_CHECKING([for short external names]) | 214 | AC_MSG_CHECKING([for short external names]) |
215 | AC_TRY_LINK([ | 215 | AC_TRY_LINK([ |
216 | int possibly_duplicate_function () { return 0; } | 216 | int possibly_duplicate_function () { return 0; } |
217 | int possibly_dupli_function () { return 1; } | 217 | int possibly_dupli_function () { return 1; } |
218 | ], [], | 218 | ], [], |
219 | [AC_MSG_RESULT(ok)], | 219 | [AC_MSG_RESULT(ok)], |
220 | [AC_MSG_RESULT(short) | 220 | [AC_MSG_RESULT(short) |
221 | AC_DEFINE([NEED_SHORT_EXTERNAL_NAMES], [1], | 221 | AC_DEFINE([NEED_SHORT_EXTERNAL_NAMES], [1], |
222 | [Linker requires that global names be unique in | 222 | [Linker requires that global names be unique in |
223 | first 15 characters.])]) | 223 | first 15 characters.])]) |
224 | 224 | ||
225 | # Run-time checks | 225 | # Run-time checks |
226 | AC_MSG_CHECKING([to see if char is signed]) | 226 | AC_MSG_CHECKING([to see if char is signed]) |
227 | AC_TRY_RUN([ | 227 | AC_TRY_RUN([ |
228 | #ifdef HAVE_PROTOTYPES | 228 | #ifdef HAVE_PROTOTYPES |
229 | int is_char_signed (int arg) | 229 | int is_char_signed (int arg) |
230 | #else | 230 | #else |
231 | int is_char_signed (arg) | 231 | int is_char_signed (arg) |
232 | int arg; | 232 | int arg; |
233 | #endif | 233 | #endif |
234 | { | 234 | { |
235 | if (arg == 189) { /* expected result for unsigned char */ | 235 | if (arg == 189) { /* expected result for unsigned char */ |
236 | return 0; /* type char is unsigned */ | 236 | return 0; /* type char is unsigned */ |
237 | } | 237 | } |
238 | else if (arg != -67) { /* expected result for signed char */ | 238 | else if (arg != -67) { /* expected result for signed char */ |
239 | printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n"); | 239 | printf("Hmm, it seems 'char' is not eight bits wide on your machine.\n"); |
240 | printf("I fear the JPEG software will not work at all.\n\n"); | 240 | printf("I fear the JPEG software will not work at all.\n\n"); |
241 | } | 241 | } |
242 | return 1; /* assume char is signed otherwise */ | 242 | return 1; /* assume char is signed otherwise */ |
243 | } | 243 | } |
244 | char signed_char_check = (char) (-67); | 244 | char signed_char_check = (char) (-67); |
245 | int main() { | 245 | int main() { |
246 | exit(is_char_signed((int) signed_char_check)); | 246 | exit(is_char_signed((int) signed_char_check)); |
247 | }], [AC_MSG_RESULT(no) | 247 | }], [AC_MSG_RESULT(no) |
248 | AC_DEFINE([CHAR_IS_UNSIGNED], [1], | 248 | AC_DEFINE([CHAR_IS_UNSIGNED], [1], |
249 | [Characters are unsigned])], | 249 | [Characters are unsigned])], |
250 | [AC_MSG_RESULT(yes)], | 250 | [AC_MSG_RESULT(yes)], |
251 | [AC_MSG_WARN([Assuming that char is signed on target machine. | 251 | [AC_MSG_WARN([Assuming that char is signed on target machine. |
252 | If it is unsigned, this will be a little bit inefficient.]) | 252 | If it is unsigned, this will be a little bit inefficient.]) |
253 | ]) | 253 | ]) |
254 | 254 | ||
255 | AC_MSG_CHECKING([to see if right shift is signed]) | 255 | AC_MSG_CHECKING([to see if right shift is signed]) |
256 | AC_TRY_RUN([ | 256 | AC_TRY_RUN([ |
257 | #ifdef HAVE_PROTOTYPES | 257 | #ifdef HAVE_PROTOTYPES |
258 | int is_shifting_signed (long arg) | 258 | int is_shifting_signed (long arg) |
259 | #else | 259 | #else |
260 | int is_shifting_signed (arg) | 260 | int is_shifting_signed (arg) |
261 | long arg; | 261 | long arg; |
262 | #endif | 262 | #endif |
263 | /* See whether right-shift on a long is signed or not. */ | 263 | /* See whether right-shift on a long is signed or not. */ |
264 | { | 264 | { |
265 | long res = arg >> 4; | 265 | long res = arg >> 4; |
266 | 266 | ||
267 | if (res == -0x7F7E80CL) { /* expected result for signed shift */ | 267 | if (res == -0x7F7E80CL) { /* expected result for signed shift */ |
268 | return 1; /* right shift is signed */ | 268 | return 1; /* right shift is signed */ |
269 | } | 269 | } |
270 | /* see if unsigned-shift hack will fix it. */ | 270 | /* see if unsigned-shift hack will fix it. */ |
271 | /* we can't just test exact value since it depends on width of long... */ | 271 | /* we can't just test exact value since it depends on width of long... */ |
272 | res |= (~0L) << (32-4); | 272 | res |= (~0L) << (32-4); |
273 | if (res == -0x7F7E80CL) { /* expected result now? */ | 273 | if (res == -0x7F7E80CL) { /* expected result now? */ |
274 | return 0; /* right shift is unsigned */ | 274 | return 0; /* right shift is unsigned */ |
275 | } | 275 | } |
276 | printf("Right shift isn't acting as I expect it to.\n"); | 276 | printf("Right shift isn't acting as I expect it to.\n"); |
277 | printf("I fear the JPEG software will not work at all.\n\n"); | 277 | printf("I fear the JPEG software will not work at all.\n\n"); |
278 | return 0; /* try it with unsigned anyway */ | 278 | return 0; /* try it with unsigned anyway */ |
279 | } | 279 | } |
280 | int main() { | 280 | int main() { |
281 | exit(is_shifting_signed(-0x7F7E80B1L)); | 281 | exit(is_shifting_signed(-0x7F7E80B1L)); |
282 | }], | 282 | }], |
283 | [AC_MSG_RESULT(no) | 283 | [AC_MSG_RESULT(no) |
284 | AC_DEFINE([RIGHT_SHIFT_IS_UNSIGNED], [1], | 284 | AC_DEFINE([RIGHT_SHIFT_IS_UNSIGNED], [1], |
285 | [Broken compiler shifts signed values as an unsigned shift.])], | 285 | [Broken compiler shifts signed values as an unsigned shift.])], |
286 | [AC_MSG_RESULT(yes)], | 286 | [AC_MSG_RESULT(yes)], |
287 | [AC_MSG_RESULT(Assuming that right shift is signed on target machine.)]) | 287 | [AC_MSG_RESULT(Assuming that right shift is signed on target machine.)]) |
288 | 288 | ||
289 | AC_MSG_CHECKING([to see if fopen accepts b spec]) | 289 | AC_MSG_CHECKING([to see if fopen accepts b spec]) |
290 | AC_TRY_RUN([ | 290 | AC_TRY_RUN([ |
291 | #include <stdio.h> | 291 | #include <stdio.h> |
292 | int main() { | 292 | int main() { |
293 | if (fopen("conftestdata", "wb") != NULL) | 293 | if (fopen("conftestdata", "wb") != NULL) |
294 | exit(0); | 294 | exit(0); |
295 | exit(1); | 295 | exit(1); |
296 | }], | 296 | }], |
297 | [AC_MSG_RESULT(yes)], | 297 | [AC_MSG_RESULT(yes)], |
298 | [AC_MSG_RESULT(no) | 298 | [AC_MSG_RESULT(no) |
299 | AC_DEFINE([DONT_USE_B_MODE], [1], | 299 | AC_DEFINE([DONT_USE_B_MODE], [1], |
300 | [Don't open files in binary mode.])], | 300 | [Don't open files in binary mode.])], |
301 | [AC_MSG_RESULT(Assuming that it does.)]) | 301 | [AC_MSG_RESULT(Assuming that it does.)]) |
302 | 302 | ||
303 | # Configure libtool | 303 | # Configure libtool |
304 | AC_LIBTOOL_WIN32_DLL | 304 | AC_LIBTOOL_WIN32_DLL |
305 | AC_PROG_LIBTOOL | 305 | AC_PROG_LIBTOOL |
306 | 306 | ||
307 | # Select memory manager depending on user input. | 307 | # Select memory manager depending on user input. |
308 | # If no "-enable-maxmem", use jmemnobs | 308 | # If no "-enable-maxmem", use jmemnobs |
309 | MEMORYMGR='jmemnobs' | 309 | MEMORYMGR='jmemnobs' |
310 | MAXMEM="no" | 310 | MAXMEM="no" |
311 | AC_ARG_ENABLE([maxmem], | 311 | AC_ARG_ENABLE([maxmem], |
312 | [ --enable-maxmem[=N] enable use of temp files, set max mem usage to N MB], | 312 | [ --enable-maxmem[=N] enable use of temp files, set max mem usage to N MB], |
313 | [MAXMEM="$enableval"]) | 313 | [MAXMEM="$enableval"]) |
314 | dnl [# support --with-maxmem for backwards compatibility with IJG V5.] | 314 | dnl [# support --with-maxmem for backwards compatibility with IJG V5.] |
315 | dnl AC_ARG_WITH(maxmem, , MAXMEM="$withval") | 315 | dnl AC_ARG_WITH(maxmem, , MAXMEM="$withval") |
316 | if test "x$MAXMEM" = xyes; then | 316 | if test "x$MAXMEM" = xyes; then |
317 | MAXMEM=1 | 317 | MAXMEM=1 |
318 | fi | 318 | fi |
319 | if test "x$MAXMEM" != xno; then | 319 | if test "x$MAXMEM" != xno; then |
320 | if test -n "`echo $MAXMEM | sed 's/[[0-9]]//g'`"; then | 320 | if test -n "`echo $MAXMEM | sed 's/[[0-9]]//g'`"; then |
321 | AC_MSG_ERROR(non-numeric argument to --enable-maxmem) | 321 | AC_MSG_ERROR(non-numeric argument to --enable-maxmem) |
322 | fi | 322 | fi |
323 | DEFAULTMAXMEM=`expr $MAXMEM \* 1048576` | 323 | DEFAULTMAXMEM=`expr $MAXMEM \* 1048576` |
324 | AC_DEFINE_UNQUOTED([DEFAULT_MAX_MEM], [${DEFAULTMAXMEM}], | 324 | AC_DEFINE_UNQUOTED([DEFAULT_MAX_MEM], [${DEFAULTMAXMEM}], |
325 | [Maximum data space library will allocate.]) | 325 | [Maximum data space library will allocate.]) |
326 | AC_MSG_CHECKING([for 'tmpfile()']) | 326 | AC_MSG_CHECKING([for 'tmpfile()']) |
327 | AC_TRY_LINK([#include <stdio.h>], [ FILE * tfile = tmpfile(); ], | 327 | AC_TRY_LINK([#include <stdio.h>], [ FILE * tfile = tmpfile(); ], |
328 | [AC_MSG_RESULT(yes) | 328 | [AC_MSG_RESULT(yes) |
329 | MEMORYMGR='jmemansi'], | 329 | MEMORYMGR='jmemansi'], |
330 | [AC_MSG_RESULT(no) | 330 | [AC_MSG_RESULT(no) |
331 | dnl if tmpfile is not present, must use jmemname. | 331 | dnl if tmpfile is not present, must use jmemname. |
332 | MEMORYMGR='jmemname' | 332 | MEMORYMGR='jmemname' |
333 | 333 | ||
334 | # Test for the need to remove temporary files using a signal handler | 334 | # Test for the need to remove temporary files using a signal handler |
335 | # (for cjpeg/djpeg) | 335 | # (for cjpeg/djpeg) |
336 | AC_DEFINE([NEED_SIGNAL_CATCHER], [1], | 336 | AC_DEFINE([NEED_SIGNAL_CATCHER], [1], |
337 | [Need signal handler to clean up temporary files.]) | 337 | [Need signal handler to clean up temporary files.]) |
338 | AC_MSG_CHECKING([for 'mktemp()']) | 338 | AC_MSG_CHECKING([for 'mktemp()']) |
339 | AC_TRY_LINK([], [ char fname[80]; mktemp(fname); ], | 339 | AC_TRY_LINK([], [ char fname[80]; mktemp(fname); ], |
340 | [AC_MSG_RESULT(yes)], | 340 | [AC_MSG_RESULT(yes)], |
341 | [AC_MSG_RESULT(no) | 341 | [AC_MSG_RESULT(no) |
342 | AC_DEFINE([NO_MKTEMP], [1], | 342 | AC_DEFINE([NO_MKTEMP], [1], |
343 | [The mktemp() function is not available.])])]) | 343 | [The mktemp() function is not available.])])]) |
344 | fi | 344 | fi |
345 | AC_SUBST([MEMORYMGR]) | 345 | AC_SUBST([MEMORYMGR]) |
346 | 346 | ||
347 | # Extract the library version IDs from jpeglib.h. | 347 | # Extract the library version IDs from jpeglib.h. |
348 | AC_MSG_CHECKING([libjpeg version number]) | 348 | AC_MSG_CHECKING([libjpeg version number]) |
349 | [major=`sed -ne 's/^#define JPEG_LIB_VERSION_MAJOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h` | 349 | [major=`sed -ne 's/^#define JPEG_LIB_VERSION_MAJOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h` |
350 | minor=`sed -ne 's/^#define JPEG_LIB_VERSION_MINOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h`] | 350 | minor=`sed -ne 's/^#define JPEG_LIB_VERSION_MINOR *\([0-9][0-9]*\).*$/\1/p' $srcdir/jpeglib.h`] |
351 | AC_SUBST([JPEG_LIB_VERSION], | 351 | AC_SUBST([JPEG_LIB_VERSION], |
352 | [`expr $major + $minor`:0:$minor]) | 352 | [`expr $major + $minor`:0:$minor]) |
353 | AC_MSG_RESULT([$JPEG_LIB_VERSION]) | 353 | AC_MSG_RESULT([$JPEG_LIB_VERSION]) |
354 | 354 | ||
355 | AC_CONFIG_FILES([Makefile]) | 355 | AC_CONFIG_FILES([Makefile]) |
356 | AC_OUTPUT | 356 | AC_OUTPUT |