| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1 | #! /bin/sh | 
|  | 2 | # Guess values for system-dependent variables and create Makefiles. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3 | # Generated by GNU Autoconf 2.57 for [LLVM] [1.0]. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4 | # | 
|  | 5 | # Report bugs to <llvmbugs@cs.uiuc.edu>. | 
|  | 6 | # | 
|  | 7 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 
|  | 8 | # Free Software Foundation, Inc. | 
|  | 9 | # This configure script is free software; the Free Software Foundation | 
|  | 10 | # gives unlimited permission to copy, distribute and modify it. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11 | ## --------------------- ## | 
|  | 12 | ## M4sh Initialization.  ## | 
|  | 13 | ## --------------------- ## | 
|  | 14 |  | 
|  | 15 | # Be Bourne compatible | 
|  | 16 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|  | 17 | emulate sh | 
|  | 18 | NULLCMD=: | 
|  | 19 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|  | 20 | # is contrary to our usage.  Disable this feature. | 
|  | 21 | alias -g '${1+"$@"}'='"$@"' | 
|  | 22 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|  | 23 | set -o posix | 
|  | 24 | fi | 
|  | 25 |  | 
|  | 26 | # Support unset when possible. | 
|  | 27 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
|  | 28 | as_unset=unset | 
|  | 29 | else | 
|  | 30 | as_unset=false | 
|  | 31 | fi | 
|  | 32 |  | 
|  | 33 |  | 
|  | 34 | # Work around bugs in pre-3.0 UWIN ksh. | 
|  | 35 | $as_unset ENV MAIL MAILPATH | 
|  | 36 | PS1='$ ' | 
|  | 37 | PS2='> ' | 
|  | 38 | PS4='+ ' | 
|  | 39 |  | 
|  | 40 | # NLS nuisances. | 
|  | 41 | for as_var in \ | 
|  | 42 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|  | 43 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|  | 44 | LC_TELEPHONE LC_TIME | 
|  | 45 | do | 
|  | 46 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|  | 47 | eval $as_var=C; export $as_var | 
|  | 48 | else | 
|  | 49 | $as_unset $as_var | 
|  | 50 | fi | 
|  | 51 | done | 
|  | 52 |  | 
|  | 53 | # Required to use basename. | 
|  | 54 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|  | 55 | as_expr=expr | 
|  | 56 | else | 
|  | 57 | as_expr=false | 
|  | 58 | fi | 
|  | 59 |  | 
|  | 60 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|  | 61 | as_basename=basename | 
|  | 62 | else | 
|  | 63 | as_basename=false | 
|  | 64 | fi | 
|  | 65 |  | 
|  | 66 |  | 
|  | 67 | # Name of the executable. | 
|  | 68 | as_me=`$as_basename "$0" || | 
|  | 69 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|  | 70 | X"$0" : 'X\(//\)$' \| \ | 
|  | 71 | X"$0" : 'X\(/\)$' \| \ | 
|  | 72 | .     : '\(.\)' 2>/dev/null || | 
|  | 73 | echo X/"$0" | | 
|  | 74 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|  | 75 | /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|  | 76 | /^X\/\(\/\).*/{ s//\1/; q; } | 
|  | 77 | s/.*/./; q'` | 
|  | 78 |  | 
|  | 79 |  | 
|  | 80 | # PATH needs CR, and LINENO needs CR and PATH. | 
|  | 81 | # Avoid depending upon Character Ranges. | 
|  | 82 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|  | 83 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|  | 84 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|  | 85 | as_cr_digits='0123456789' | 
|  | 86 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|  | 87 |  | 
|  | 88 | # The user is always right. | 
|  | 89 | if test "${PATH_SEPARATOR+set}" != set; then | 
|  | 90 | echo "#! /bin/sh" >conf$$.sh | 
|  | 91 | echo  "exit 0"   >>conf$$.sh | 
|  | 92 | chmod +x conf$$.sh | 
|  | 93 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
|  | 94 | PATH_SEPARATOR=';' | 
|  | 95 | else | 
|  | 96 | PATH_SEPARATOR=: | 
|  | 97 | fi | 
|  | 98 | rm -f conf$$.sh | 
|  | 99 | fi | 
|  | 100 |  | 
|  | 101 |  | 
|  | 102 | as_lineno_1=$LINENO | 
|  | 103 | as_lineno_2=$LINENO | 
|  | 104 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|  | 105 | test "x$as_lineno_1" != "x$as_lineno_2" && | 
|  | 106 | test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|  | 107 | # Find who we are.  Look in the path if we contain no path at all | 
|  | 108 | # relative or not. | 
|  | 109 | case $0 in | 
|  | 110 | *[\\/]* ) as_myself=$0 ;; | 
|  | 111 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 112 | for as_dir in $PATH | 
|  | 113 | do | 
|  | 114 | IFS=$as_save_IFS | 
|  | 115 | test -z "$as_dir" && as_dir=. | 
|  | 116 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|  | 117 | done | 
|  | 118 |  | 
|  | 119 | ;; | 
|  | 120 | esac | 
|  | 121 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|  | 122 | # in which case we are not to be found in the path. | 
|  | 123 | if test "x$as_myself" = x; then | 
|  | 124 | as_myself=$0 | 
|  | 125 | fi | 
|  | 126 | if test ! -f "$as_myself"; then | 
|  | 127 | { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
|  | 128 | { (exit 1); exit 1; }; } | 
|  | 129 | fi | 
|  | 130 | case $CONFIG_SHELL in | 
|  | 131 | '') | 
|  | 132 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 133 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|  | 134 | do | 
|  | 135 | IFS=$as_save_IFS | 
|  | 136 | test -z "$as_dir" && as_dir=. | 
|  | 137 | for as_base in sh bash ksh sh5; do | 
|  | 138 | case $as_dir in | 
|  | 139 | /*) | 
|  | 140 | if ("$as_dir/$as_base" -c ' | 
|  | 141 | as_lineno_1=$LINENO | 
|  | 142 | as_lineno_2=$LINENO | 
|  | 143 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|  | 144 | test "x$as_lineno_1" != "x$as_lineno_2" && | 
|  | 145 | test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
|  | 146 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|  | 147 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
|  | 148 | CONFIG_SHELL=$as_dir/$as_base | 
|  | 149 | export CONFIG_SHELL | 
|  | 150 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|  | 151 | fi;; | 
|  | 152 | esac | 
|  | 153 | done | 
|  | 154 | done | 
|  | 155 | ;; | 
|  | 156 | esac | 
|  | 157 |  | 
|  | 158 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|  | 159 | # uniformly replaced by the line number.  The first 'sed' inserts a | 
|  | 160 | # line-number line before each line; the second 'sed' does the real | 
|  | 161 | # work.  The second script uses 'N' to pair each line-number line | 
|  | 162 | # with the numbered line, and appends trailing '-' during | 
|  | 163 | # substitution so that $LINENO is not a special case at line end. | 
|  | 164 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|  | 165 | # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|  | 166 | sed '=' <$as_myself | | 
|  | 167 | sed ' | 
|  | 168 | N | 
|  | 169 | s,$,-, | 
|  | 170 | : loop | 
|  | 171 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|  | 172 | t loop | 
|  | 173 | s,-$,, | 
|  | 174 | s,^['$as_cr_digits']*\n,, | 
|  | 175 | ' >$as_me.lineno && | 
|  | 176 | chmod +x $as_me.lineno || | 
|  | 177 | { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
|  | 178 | { (exit 1); exit 1; }; } | 
|  | 179 |  | 
|  | 180 | # Don't try to exec as it changes $[0], causing all sort of problems | 
|  | 181 | # (the dirname of $[0] is not the place where we might find the | 
|  | 182 | # original and so on.  Autoconf is especially sensible to this). | 
|  | 183 | . ./$as_me.lineno | 
|  | 184 | # Exit status is that of the last command. | 
|  | 185 | exit | 
|  | 186 | } | 
|  | 187 |  | 
|  | 188 |  | 
|  | 189 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|  | 190 | *c*,-n*) ECHO_N= ECHO_C=' | 
|  | 191 | ' ECHO_T='	' ;; | 
|  | 192 | *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|  | 193 | *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|  | 194 | esac | 
|  | 195 |  | 
|  | 196 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|  | 197 | as_expr=expr | 
|  | 198 | else | 
|  | 199 | as_expr=false | 
|  | 200 | fi | 
|  | 201 |  | 
|  | 202 | rm -f conf$$ conf$$.exe conf$$.file | 
|  | 203 | echo >conf$$.file | 
|  | 204 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|  | 205 | # We could just check for DJGPP; but this test a) works b) is more generic | 
|  | 206 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|  | 207 | if test -f conf$$.exe; then | 
|  | 208 | # Don't use ln at all; we don't have any links | 
|  | 209 | as_ln_s='cp -p' | 
|  | 210 | else | 
|  | 211 | as_ln_s='ln -s' | 
|  | 212 | fi | 
|  | 213 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|  | 214 | as_ln_s=ln | 
|  | 215 | else | 
|  | 216 | as_ln_s='cp -p' | 
|  | 217 | fi | 
|  | 218 | rm -f conf$$ conf$$.exe conf$$.file | 
|  | 219 |  | 
|  | 220 | if mkdir -p . 2>/dev/null; then | 
|  | 221 | as_mkdir_p=: | 
|  | 222 | else | 
|  | 223 | as_mkdir_p=false | 
|  | 224 | fi | 
|  | 225 |  | 
|  | 226 | as_executable_p="test -f" | 
|  | 227 |  | 
|  | 228 | # Sed expression to map a string onto a valid CPP name. | 
|  | 229 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
|  | 230 |  | 
|  | 231 | # Sed expression to map a string onto a valid variable name. | 
|  | 232 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
|  | 233 |  | 
|  | 234 |  | 
|  | 235 | # IFS | 
|  | 236 | # We need space, tab and new line, in precisely that order. | 
|  | 237 | as_nl=' | 
|  | 238 | ' | 
|  | 239 | IFS=" 	$as_nl" | 
|  | 240 |  | 
|  | 241 | # CDPATH. | 
|  | 242 | $as_unset CDPATH | 
|  | 243 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 244 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 245 |  | 
|  | 246 | # Check that we are running under the correct shell. | 
|  | 247 | SHELL=${CONFIG_SHELL-/bin/sh} | 
|  | 248 |  | 
|  | 249 | case X$ECHO in | 
|  | 250 | X*--fallback-echo) | 
|  | 251 | # Remove one level of quotation (which was required for Make). | 
|  | 252 | ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | 
|  | 253 | ;; | 
|  | 254 | esac | 
|  | 255 |  | 
|  | 256 | echo=${ECHO-echo} | 
|  | 257 | if test "X$1" = X--no-reexec; then | 
|  | 258 | # Discard the --no-reexec flag, and continue. | 
|  | 259 | shift | 
|  | 260 | elif test "X$1" = X--fallback-echo; then | 
|  | 261 | # Avoid inline document here, it may be left over | 
|  | 262 | : | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 263 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 264 | # Yippee, $echo works! | 
|  | 265 | : | 
|  | 266 | else | 
|  | 267 | # Restart under the correct shell. | 
|  | 268 | exec $SHELL "$0" --no-reexec ${1+"$@"} | 
|  | 269 | fi | 
|  | 270 |  | 
|  | 271 | if test "X$1" = X--fallback-echo; then | 
|  | 272 | # used as fallback echo | 
|  | 273 | shift | 
|  | 274 | cat <<EOF | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 275 | $* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 276 | EOF | 
|  | 277 | exit 0 | 
|  | 278 | fi | 
|  | 279 |  | 
|  | 280 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
|  | 281 | # if CDPATH is set. | 
|  | 282 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
|  | 283 |  | 
|  | 284 | if test -z "$ECHO"; then | 
|  | 285 | if test "X${echo_test_string+set}" != Xset; then | 
|  | 286 | # find a string as large as possible, as long as the shell can cope with it | 
|  | 287 | for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | 
|  | 288 | # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 
|  | 289 | if (echo_test_string="`eval $cmd`") 2>/dev/null && | 
|  | 290 | echo_test_string="`eval $cmd`" && | 
|  | 291 | (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | 
|  | 292 | then | 
|  | 293 | break | 
|  | 294 | fi | 
|  | 295 | done | 
|  | 296 | fi | 
|  | 297 |  | 
|  | 298 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
|  | 299 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
|  | 300 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  | 301 | : | 
|  | 302 | else | 
|  | 303 | # The Solaris, AIX, and Digital Unix default echo programs unquote | 
|  | 304 | # backslashes.  This makes it impossible to quote backslashes using | 
|  | 305 | #   echo "$something" | sed 's/\\/\\\\/g' | 
|  | 306 | # | 
|  | 307 | # So, first we look for a working echo in the user's PATH. | 
|  | 308 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 309 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 310 | for dir in $PATH /usr/ucb; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 311 | IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 312 | if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | 
|  | 313 | test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | 
|  | 314 | echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | 
|  | 315 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  | 316 | echo="$dir/echo" | 
|  | 317 | break | 
|  | 318 | fi | 
|  | 319 | done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 320 | IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 321 |  | 
|  | 322 | if test "X$echo" = Xecho; then | 
|  | 323 | # We didn't find a better echo, so look for alternatives. | 
|  | 324 | if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | 
|  | 325 | echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | 
|  | 326 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  | 327 | # This shell has a builtin print -r that does the trick. | 
|  | 328 | echo='print -r' | 
|  | 329 | elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | 
|  | 330 | test "X$CONFIG_SHELL" != X/bin/ksh; then | 
|  | 331 | # If we have ksh, try running configure again with it. | 
|  | 332 | ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 
|  | 333 | export ORIGINAL_CONFIG_SHELL | 
|  | 334 | CONFIG_SHELL=/bin/ksh | 
|  | 335 | export CONFIG_SHELL | 
|  | 336 | exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | 
|  | 337 | else | 
|  | 338 | # Try using printf. | 
|  | 339 | echo='printf %s\n' | 
|  | 340 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
|  | 341 | echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
|  | 342 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  | 343 | # Cool, printf works | 
|  | 344 | : | 
|  | 345 | elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
|  | 346 | test "X$echo_testing_string" = 'X\t' && | 
|  | 347 | echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
|  | 348 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  | 349 | CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | 
|  | 350 | export CONFIG_SHELL | 
|  | 351 | SHELL="$CONFIG_SHELL" | 
|  | 352 | export SHELL | 
|  | 353 | echo="$CONFIG_SHELL $0 --fallback-echo" | 
|  | 354 | elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
|  | 355 | test "X$echo_testing_string" = 'X\t' && | 
|  | 356 | echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
|  | 357 | test "X$echo_testing_string" = "X$echo_test_string"; then | 
|  | 358 | echo="$CONFIG_SHELL $0 --fallback-echo" | 
|  | 359 | else | 
|  | 360 | # maybe with a smaller string... | 
|  | 361 | prev=: | 
|  | 362 |  | 
|  | 363 | for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | 
|  | 364 | if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | 
|  | 365 | then | 
|  | 366 | break | 
|  | 367 | fi | 
|  | 368 | prev="$cmd" | 
|  | 369 | done | 
|  | 370 |  | 
|  | 371 | if test "$prev" != 'sed 50q "$0"'; then | 
|  | 372 | echo_test_string=`eval $prev` | 
|  | 373 | export echo_test_string | 
|  | 374 | exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | 
|  | 375 | else | 
|  | 376 | # Oops.  We lost completely, so just stick with echo. | 
|  | 377 | echo=echo | 
|  | 378 | fi | 
|  | 379 | fi | 
|  | 380 | fi | 
|  | 381 | fi | 
|  | 382 | fi | 
|  | 383 | fi | 
|  | 384 |  | 
|  | 385 | # Copy echo and quote the copy suitably for passing to libtool from | 
|  | 386 | # the Makefile, instead of quoting the original, which is used later. | 
|  | 387 | ECHO=$echo | 
|  | 388 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | 
|  | 389 | ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | 
|  | 390 | fi | 
|  | 391 |  | 
|  | 392 |  | 
|  | 393 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 394 |  | 
|  | 395 | tagnames=`echo "$tagnames,CXX" | sed 's/^,//'` | 
|  | 396 |  | 
|  | 397 | tagnames=`echo "$tagnames,F77" | sed 's/^,//'` | 
|  | 398 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 399 | # Name of the host. | 
|  | 400 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
|  | 401 | # so uname gets run too. | 
|  | 402 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
|  | 403 |  | 
|  | 404 | exec 6>&1 | 
|  | 405 |  | 
|  | 406 | # | 
|  | 407 | # Initializations. | 
|  | 408 | # | 
|  | 409 | ac_default_prefix=/usr/local | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 410 | ac_config_libobj_dir=. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 411 | cross_compiling=no | 
|  | 412 | subdirs= | 
|  | 413 | MFLAGS= | 
|  | 414 | MAKEFLAGS= | 
|  | 415 | SHELL=${CONFIG_SHELL-/bin/sh} | 
|  | 416 |  | 
|  | 417 | # Maximum number of lines to put in a shell here document. | 
|  | 418 | # This variable seems obsolete.  It should probably be removed, and | 
|  | 419 | # only ac_max_sed_lines should be used. | 
|  | 420 | : ${ac_max_here_lines=38} | 
|  | 421 |  | 
|  | 422 | # Identity of this package. | 
|  | 423 | PACKAGE_NAME='[LLVM]' | 
|  | 424 | PACKAGE_TARNAME='--llvm--' | 
|  | 425 | PACKAGE_VERSION='[1.0]' | 
|  | 426 | PACKAGE_STRING='[LLVM] [1.0]' | 
|  | 427 | PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu' | 
|  | 428 |  | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 429 | ac_subdirs_all="$ac_subdirs_all projects/reopt" | 
| John Criswell | 559a6c1 | 2003-09-30 16:31:48 +0000 | [diff] [blame] | 430 | ac_subdirs_all="$ac_subdirs_all projects/poolalloc" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 431 | # Factoring default headers for most tests. | 
|  | 432 | ac_includes_default="\ | 
|  | 433 | #include <stdio.h> | 
|  | 434 | #if HAVE_SYS_TYPES_H | 
|  | 435 | # include <sys/types.h> | 
|  | 436 | #endif | 
|  | 437 | #if HAVE_SYS_STAT_H | 
|  | 438 | # include <sys/stat.h> | 
|  | 439 | #endif | 
|  | 440 | #if STDC_HEADERS | 
|  | 441 | # include <stdlib.h> | 
|  | 442 | # include <stddef.h> | 
|  | 443 | #else | 
|  | 444 | # if HAVE_STDLIB_H | 
|  | 445 | #  include <stdlib.h> | 
|  | 446 | # endif | 
|  | 447 | #endif | 
|  | 448 | #if HAVE_STRING_H | 
|  | 449 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
|  | 450 | #  include <memory.h> | 
|  | 451 | # endif | 
|  | 452 | # include <string.h> | 
|  | 453 | #endif | 
|  | 454 | #if HAVE_STRINGS_H | 
|  | 455 | # include <strings.h> | 
|  | 456 | #endif | 
|  | 457 | #if HAVE_INTTYPES_H | 
|  | 458 | # include <inttypes.h> | 
|  | 459 | #else | 
|  | 460 | # if HAVE_STDINT_H | 
|  | 461 | #  include <stdint.h> | 
|  | 462 | # endif | 
|  | 463 | #endif | 
|  | 464 | #if HAVE_UNISTD_H | 
|  | 465 | # include <unistd.h> | 
|  | 466 | #endif" | 
|  | 467 |  | 
|  | 468 | ac_unique_file=""Makefile.config.in"" | 
| John Criswell | ce2141f | 2003-10-02 19:02:30 +0000 | [diff] [blame] | 469 | ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS subdirs INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR PURIFY LTLIBOBJS' | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 470 | ac_subst_files='' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 471 |  | 
|  | 472 | # Initialize some variables set by options. | 
|  | 473 | ac_init_help= | 
|  | 474 | ac_init_version=false | 
|  | 475 | # The variables have the same names as the options, with | 
|  | 476 | # dashes changed to underlines. | 
|  | 477 | cache_file=/dev/null | 
|  | 478 | exec_prefix=NONE | 
|  | 479 | no_create= | 
|  | 480 | no_recursion= | 
|  | 481 | prefix=NONE | 
|  | 482 | program_prefix=NONE | 
|  | 483 | program_suffix=NONE | 
|  | 484 | program_transform_name=s,x,x, | 
|  | 485 | silent= | 
|  | 486 | site= | 
|  | 487 | srcdir= | 
|  | 488 | verbose= | 
|  | 489 | x_includes=NONE | 
|  | 490 | x_libraries=NONE | 
|  | 491 |  | 
|  | 492 | # Installation directory options. | 
|  | 493 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
|  | 494 | # and all the variables that are supposed to be based on exec_prefix | 
|  | 495 | # by default will actually change. | 
|  | 496 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
|  | 497 | bindir='${exec_prefix}/bin' | 
|  | 498 | sbindir='${exec_prefix}/sbin' | 
|  | 499 | libexecdir='${exec_prefix}/libexec' | 
|  | 500 | datadir='${prefix}/share' | 
|  | 501 | sysconfdir='${prefix}/etc' | 
|  | 502 | sharedstatedir='${prefix}/com' | 
|  | 503 | localstatedir='${prefix}/var' | 
|  | 504 | libdir='${exec_prefix}/lib' | 
|  | 505 | includedir='${prefix}/include' | 
|  | 506 | oldincludedir='/usr/include' | 
|  | 507 | infodir='${prefix}/info' | 
|  | 508 | mandir='${prefix}/man' | 
|  | 509 |  | 
|  | 510 | ac_prev= | 
|  | 511 | for ac_option | 
|  | 512 | do | 
|  | 513 | # If the previous option needs an argument, assign it. | 
|  | 514 | if test -n "$ac_prev"; then | 
|  | 515 | eval "$ac_prev=\$ac_option" | 
|  | 516 | ac_prev= | 
|  | 517 | continue | 
|  | 518 | fi | 
|  | 519 |  | 
|  | 520 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
|  | 521 |  | 
|  | 522 | # Accept the important Cygnus configure options, so we can diagnose typos. | 
|  | 523 |  | 
|  | 524 | case $ac_option in | 
|  | 525 |  | 
|  | 526 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
|  | 527 | ac_prev=bindir ;; | 
|  | 528 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
|  | 529 | bindir=$ac_optarg ;; | 
|  | 530 |  | 
|  | 531 | -build | --build | --buil | --bui | --bu) | 
|  | 532 | ac_prev=build_alias ;; | 
|  | 533 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
|  | 534 | build_alias=$ac_optarg ;; | 
|  | 535 |  | 
|  | 536 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|  | 537 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|  | 538 | ac_prev=cache_file ;; | 
|  | 539 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|  | 540 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
|  | 541 | cache_file=$ac_optarg ;; | 
|  | 542 |  | 
|  | 543 | --config-cache | -C) | 
|  | 544 | cache_file=config.cache ;; | 
|  | 545 |  | 
|  | 546 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
|  | 547 | ac_prev=datadir ;; | 
|  | 548 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
|  | 549 | | --da=*) | 
|  | 550 | datadir=$ac_optarg ;; | 
|  | 551 |  | 
|  | 552 | -disable-* | --disable-*) | 
|  | 553 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
|  | 554 | # Reject names that are not valid shell variable names. | 
|  | 555 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|  | 556 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|  | 557 | { (exit 1); exit 1; }; } | 
|  | 558 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|  | 559 | eval "enable_$ac_feature=no" ;; | 
|  | 560 |  | 
|  | 561 | -enable-* | --enable-*) | 
|  | 562 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
|  | 563 | # Reject names that are not valid shell variable names. | 
|  | 564 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|  | 565 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
|  | 566 | { (exit 1); exit 1; }; } | 
|  | 567 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
|  | 568 | case $ac_option in | 
|  | 569 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|  | 570 | *) ac_optarg=yes ;; | 
|  | 571 | esac | 
|  | 572 | eval "enable_$ac_feature='$ac_optarg'" ;; | 
|  | 573 |  | 
|  | 574 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
|  | 575 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
|  | 576 | | --exec | --exe | --ex) | 
|  | 577 | ac_prev=exec_prefix ;; | 
|  | 578 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
|  | 579 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
|  | 580 | | --exec=* | --exe=* | --ex=*) | 
|  | 581 | exec_prefix=$ac_optarg ;; | 
|  | 582 |  | 
|  | 583 | -gas | --gas | --ga | --g) | 
|  | 584 | # Obsolete; use --with-gas. | 
|  | 585 | with_gas=yes ;; | 
|  | 586 |  | 
|  | 587 | -help | --help | --hel | --he | -h) | 
|  | 588 | ac_init_help=long ;; | 
|  | 589 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
|  | 590 | ac_init_help=recursive ;; | 
|  | 591 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
|  | 592 | ac_init_help=short ;; | 
|  | 593 |  | 
|  | 594 | -host | --host | --hos | --ho) | 
|  | 595 | ac_prev=host_alias ;; | 
|  | 596 | -host=* | --host=* | --hos=* | --ho=*) | 
|  | 597 | host_alias=$ac_optarg ;; | 
|  | 598 |  | 
|  | 599 | -includedir | --includedir | --includedi | --included | --include \ | 
|  | 600 | | --includ | --inclu | --incl | --inc) | 
|  | 601 | ac_prev=includedir ;; | 
|  | 602 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
|  | 603 | | --includ=* | --inclu=* | --incl=* | --inc=*) | 
|  | 604 | includedir=$ac_optarg ;; | 
|  | 605 |  | 
|  | 606 | -infodir | --infodir | --infodi | --infod | --info | --inf) | 
|  | 607 | ac_prev=infodir ;; | 
|  | 608 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
|  | 609 | infodir=$ac_optarg ;; | 
|  | 610 |  | 
|  | 611 | -libdir | --libdir | --libdi | --libd) | 
|  | 612 | ac_prev=libdir ;; | 
|  | 613 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
|  | 614 | libdir=$ac_optarg ;; | 
|  | 615 |  | 
|  | 616 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
|  | 617 | | --libexe | --libex | --libe) | 
|  | 618 | ac_prev=libexecdir ;; | 
|  | 619 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
|  | 620 | | --libexe=* | --libex=* | --libe=*) | 
|  | 621 | libexecdir=$ac_optarg ;; | 
|  | 622 |  | 
|  | 623 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
|  | 624 | | --localstate | --localstat | --localsta | --localst \ | 
|  | 625 | | --locals | --local | --loca | --loc | --lo) | 
|  | 626 | ac_prev=localstatedir ;; | 
|  | 627 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
|  | 628 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
|  | 629 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
|  | 630 | localstatedir=$ac_optarg ;; | 
|  | 631 |  | 
|  | 632 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
|  | 633 | ac_prev=mandir ;; | 
|  | 634 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
|  | 635 | mandir=$ac_optarg ;; | 
|  | 636 |  | 
|  | 637 | -nfp | --nfp | --nf) | 
|  | 638 | # Obsolete; use --without-fp. | 
|  | 639 | with_fp=no ;; | 
|  | 640 |  | 
|  | 641 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
|  | 642 | | --no-cr | --no-c | -n) | 
|  | 643 | no_create=yes ;; | 
|  | 644 |  | 
|  | 645 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
|  | 646 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
|  | 647 | no_recursion=yes ;; | 
|  | 648 |  | 
|  | 649 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
|  | 650 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
|  | 651 | | --oldin | --oldi | --old | --ol | --o) | 
|  | 652 | ac_prev=oldincludedir ;; | 
|  | 653 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
|  | 654 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
|  | 655 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
|  | 656 | oldincludedir=$ac_optarg ;; | 
|  | 657 |  | 
|  | 658 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|  | 659 | ac_prev=prefix ;; | 
|  | 660 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|  | 661 | prefix=$ac_optarg ;; | 
|  | 662 |  | 
|  | 663 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
|  | 664 | | --program-pre | --program-pr | --program-p) | 
|  | 665 | ac_prev=program_prefix ;; | 
|  | 666 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
|  | 667 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
|  | 668 | program_prefix=$ac_optarg ;; | 
|  | 669 |  | 
|  | 670 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
|  | 671 | | --program-suf | --program-su | --program-s) | 
|  | 672 | ac_prev=program_suffix ;; | 
|  | 673 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
|  | 674 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
|  | 675 | program_suffix=$ac_optarg ;; | 
|  | 676 |  | 
|  | 677 | -program-transform-name | --program-transform-name \ | 
|  | 678 | | --program-transform-nam | --program-transform-na \ | 
|  | 679 | | --program-transform-n | --program-transform- \ | 
|  | 680 | | --program-transform | --program-transfor \ | 
|  | 681 | | --program-transfo | --program-transf \ | 
|  | 682 | | --program-trans | --program-tran \ | 
|  | 683 | | --progr-tra | --program-tr | --program-t) | 
|  | 684 | ac_prev=program_transform_name ;; | 
|  | 685 | -program-transform-name=* | --program-transform-name=* \ | 
|  | 686 | | --program-transform-nam=* | --program-transform-na=* \ | 
|  | 687 | | --program-transform-n=* | --program-transform-=* \ | 
|  | 688 | | --program-transform=* | --program-transfor=* \ | 
|  | 689 | | --program-transfo=* | --program-transf=* \ | 
|  | 690 | | --program-trans=* | --program-tran=* \ | 
|  | 691 | | --progr-tra=* | --program-tr=* | --program-t=*) | 
|  | 692 | program_transform_name=$ac_optarg ;; | 
|  | 693 |  | 
|  | 694 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|  | 695 | | -silent | --silent | --silen | --sile | --sil) | 
|  | 696 | silent=yes ;; | 
|  | 697 |  | 
|  | 698 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
|  | 699 | ac_prev=sbindir ;; | 
|  | 700 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
|  | 701 | | --sbi=* | --sb=*) | 
|  | 702 | sbindir=$ac_optarg ;; | 
|  | 703 |  | 
|  | 704 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
|  | 705 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
|  | 706 | | --sharedst | --shareds | --shared | --share | --shar \ | 
|  | 707 | | --sha | --sh) | 
|  | 708 | ac_prev=sharedstatedir ;; | 
|  | 709 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
|  | 710 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
|  | 711 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
|  | 712 | | --sha=* | --sh=*) | 
|  | 713 | sharedstatedir=$ac_optarg ;; | 
|  | 714 |  | 
|  | 715 | -site | --site | --sit) | 
|  | 716 | ac_prev=site ;; | 
|  | 717 | -site=* | --site=* | --sit=*) | 
|  | 718 | site=$ac_optarg ;; | 
|  | 719 |  | 
|  | 720 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|  | 721 | ac_prev=srcdir ;; | 
|  | 722 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|  | 723 | srcdir=$ac_optarg ;; | 
|  | 724 |  | 
|  | 725 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
|  | 726 | | --syscon | --sysco | --sysc | --sys | --sy) | 
|  | 727 | ac_prev=sysconfdir ;; | 
|  | 728 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
|  | 729 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
|  | 730 | sysconfdir=$ac_optarg ;; | 
|  | 731 |  | 
|  | 732 | -target | --target | --targe | --targ | --tar | --ta | --t) | 
|  | 733 | ac_prev=target_alias ;; | 
|  | 734 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
|  | 735 | target_alias=$ac_optarg ;; | 
|  | 736 |  | 
|  | 737 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
|  | 738 | verbose=yes ;; | 
|  | 739 |  | 
|  | 740 | -version | --version | --versio | --versi | --vers | -V) | 
|  | 741 | ac_init_version=: ;; | 
|  | 742 |  | 
|  | 743 | -with-* | --with-*) | 
|  | 744 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
|  | 745 | # Reject names that are not valid shell variable names. | 
|  | 746 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|  | 747 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|  | 748 | { (exit 1); exit 1; }; } | 
|  | 749 | ac_package=`echo $ac_package| sed 's/-/_/g'` | 
|  | 750 | case $ac_option in | 
|  | 751 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
|  | 752 | *) ac_optarg=yes ;; | 
|  | 753 | esac | 
|  | 754 | eval "with_$ac_package='$ac_optarg'" ;; | 
|  | 755 |  | 
|  | 756 | -without-* | --without-*) | 
|  | 757 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
|  | 758 | # Reject names that are not valid shell variable names. | 
|  | 759 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
|  | 760 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
|  | 761 | { (exit 1); exit 1; }; } | 
|  | 762 | ac_package=`echo $ac_package | sed 's/-/_/g'` | 
|  | 763 | eval "with_$ac_package=no" ;; | 
|  | 764 |  | 
|  | 765 | --x) | 
|  | 766 | # Obsolete; use --with-x. | 
|  | 767 | with_x=yes ;; | 
|  | 768 |  | 
|  | 769 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
|  | 770 | | --x-incl | --x-inc | --x-in | --x-i) | 
|  | 771 | ac_prev=x_includes ;; | 
|  | 772 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
|  | 773 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
|  | 774 | x_includes=$ac_optarg ;; | 
|  | 775 |  | 
|  | 776 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
|  | 777 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
|  | 778 | ac_prev=x_libraries ;; | 
|  | 779 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
|  | 780 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
|  | 781 | x_libraries=$ac_optarg ;; | 
|  | 782 |  | 
|  | 783 | -*) { echo "$as_me: error: unrecognized option: $ac_option | 
|  | 784 | Try \`$0 --help' for more information." >&2 | 
|  | 785 | { (exit 1); exit 1; }; } | 
|  | 786 | ;; | 
|  | 787 |  | 
|  | 788 | *=*) | 
|  | 789 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
|  | 790 | # Reject names that are not valid shell variable names. | 
|  | 791 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
|  | 792 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
|  | 793 | { (exit 1); exit 1; }; } | 
|  | 794 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
|  | 795 | eval "$ac_envvar='$ac_optarg'" | 
|  | 796 | export $ac_envvar ;; | 
|  | 797 |  | 
|  | 798 | *) | 
|  | 799 | # FIXME: should be removed in autoconf 3.0. | 
|  | 800 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
|  | 801 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
|  | 802 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
|  | 803 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
|  | 804 | ;; | 
|  | 805 |  | 
|  | 806 | esac | 
|  | 807 | done | 
|  | 808 |  | 
|  | 809 | if test -n "$ac_prev"; then | 
|  | 810 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
|  | 811 | { echo "$as_me: error: missing argument to $ac_option" >&2 | 
|  | 812 | { (exit 1); exit 1; }; } | 
|  | 813 | fi | 
|  | 814 |  | 
|  | 815 | # Be sure to have absolute paths. | 
|  | 816 | for ac_var in exec_prefix prefix | 
|  | 817 | do | 
|  | 818 | eval ac_val=$`echo $ac_var` | 
|  | 819 | case $ac_val in | 
|  | 820 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
|  | 821 | *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|  | 822 | { (exit 1); exit 1; }; };; | 
|  | 823 | esac | 
|  | 824 | done | 
|  | 825 |  | 
|  | 826 | # Be sure to have absolute paths. | 
|  | 827 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
|  | 828 | localstatedir libdir includedir oldincludedir infodir mandir | 
|  | 829 | do | 
|  | 830 | eval ac_val=$`echo $ac_var` | 
|  | 831 | case $ac_val in | 
|  | 832 | [\\/$]* | ?:[\\/]* ) ;; | 
|  | 833 | *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
|  | 834 | { (exit 1); exit 1; }; };; | 
|  | 835 | esac | 
|  | 836 | done | 
|  | 837 |  | 
|  | 838 | # There might be people who depend on the old broken behavior: `$host' | 
|  | 839 | # used to hold the argument of --host etc. | 
|  | 840 | # FIXME: To remove some day. | 
|  | 841 | build=$build_alias | 
|  | 842 | host=$host_alias | 
|  | 843 | target=$target_alias | 
|  | 844 |  | 
|  | 845 | # FIXME: To remove some day. | 
|  | 846 | if test "x$host_alias" != x; then | 
|  | 847 | if test "x$build_alias" = x; then | 
|  | 848 | cross_compiling=maybe | 
|  | 849 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
|  | 850 | If a cross compiler is detected then cross compile mode will be used." >&2 | 
|  | 851 | elif test "x$build_alias" != "x$host_alias"; then | 
|  | 852 | cross_compiling=yes | 
|  | 853 | fi | 
|  | 854 | fi | 
|  | 855 |  | 
|  | 856 | ac_tool_prefix= | 
|  | 857 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
|  | 858 |  | 
|  | 859 | test "$silent" = yes && exec 6>/dev/null | 
|  | 860 |  | 
|  | 861 |  | 
|  | 862 | # Find the source files, if location was not specified. | 
|  | 863 | if test -z "$srcdir"; then | 
|  | 864 | ac_srcdir_defaulted=yes | 
|  | 865 | # Try the directory containing this script, then its parent. | 
|  | 866 | ac_confdir=`(dirname "$0") 2>/dev/null || | 
|  | 867 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  | 868 | X"$0" : 'X\(//\)[^/]' \| \ | 
|  | 869 | X"$0" : 'X\(//\)$' \| \ | 
|  | 870 | X"$0" : 'X\(/\)' \| \ | 
|  | 871 | .     : '\(.\)' 2>/dev/null || | 
|  | 872 | echo X"$0" | | 
|  | 873 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  | 874 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  | 875 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  | 876 | /^X\(\/\).*/{ s//\1/; q; } | 
|  | 877 | s/.*/./; q'` | 
|  | 878 | srcdir=$ac_confdir | 
|  | 879 | if test ! -r $srcdir/$ac_unique_file; then | 
|  | 880 | srcdir=.. | 
|  | 881 | fi | 
|  | 882 | else | 
|  | 883 | ac_srcdir_defaulted=no | 
|  | 884 | fi | 
|  | 885 | if test ! -r $srcdir/$ac_unique_file; then | 
|  | 886 | if test "$ac_srcdir_defaulted" = yes; then | 
|  | 887 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
|  | 888 | { (exit 1); exit 1; }; } | 
|  | 889 | else | 
|  | 890 | { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
|  | 891 | { (exit 1); exit 1; }; } | 
|  | 892 | fi | 
|  | 893 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 894 | (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || | 
|  | 895 | { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 | 
|  | 896 | { (exit 1); exit 1; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 897 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
|  | 898 | ac_env_build_alias_set=${build_alias+set} | 
|  | 899 | ac_env_build_alias_value=$build_alias | 
|  | 900 | ac_cv_env_build_alias_set=${build_alias+set} | 
|  | 901 | ac_cv_env_build_alias_value=$build_alias | 
|  | 902 | ac_env_host_alias_set=${host_alias+set} | 
|  | 903 | ac_env_host_alias_value=$host_alias | 
|  | 904 | ac_cv_env_host_alias_set=${host_alias+set} | 
|  | 905 | ac_cv_env_host_alias_value=$host_alias | 
|  | 906 | ac_env_target_alias_set=${target_alias+set} | 
|  | 907 | ac_env_target_alias_value=$target_alias | 
|  | 908 | ac_cv_env_target_alias_set=${target_alias+set} | 
|  | 909 | ac_cv_env_target_alias_value=$target_alias | 
|  | 910 | ac_env_CXX_set=${CXX+set} | 
|  | 911 | ac_env_CXX_value=$CXX | 
|  | 912 | ac_cv_env_CXX_set=${CXX+set} | 
|  | 913 | ac_cv_env_CXX_value=$CXX | 
|  | 914 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|  | 915 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
|  | 916 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
|  | 917 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
|  | 918 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
|  | 919 | ac_env_LDFLAGS_value=$LDFLAGS | 
|  | 920 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
|  | 921 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
|  | 922 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|  | 923 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
|  | 924 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
|  | 925 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
|  | 926 | ac_env_CC_set=${CC+set} | 
|  | 927 | ac_env_CC_value=$CC | 
|  | 928 | ac_cv_env_CC_set=${CC+set} | 
|  | 929 | ac_cv_env_CC_value=$CC | 
|  | 930 | ac_env_CFLAGS_set=${CFLAGS+set} | 
|  | 931 | ac_env_CFLAGS_value=$CFLAGS | 
|  | 932 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
|  | 933 | ac_cv_env_CFLAGS_value=$CFLAGS | 
|  | 934 | ac_env_CPP_set=${CPP+set} | 
|  | 935 | ac_env_CPP_value=$CPP | 
|  | 936 | ac_cv_env_CPP_set=${CPP+set} | 
|  | 937 | ac_cv_env_CPP_value=$CPP | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 938 | ac_env_CXXCPP_set=${CXXCPP+set} | 
|  | 939 | ac_env_CXXCPP_value=$CXXCPP | 
|  | 940 | ac_cv_env_CXXCPP_set=${CXXCPP+set} | 
|  | 941 | ac_cv_env_CXXCPP_value=$CXXCPP | 
|  | 942 | ac_env_F77_set=${F77+set} | 
|  | 943 | ac_env_F77_value=$F77 | 
|  | 944 | ac_cv_env_F77_set=${F77+set} | 
|  | 945 | ac_cv_env_F77_value=$F77 | 
|  | 946 | ac_env_FFLAGS_set=${FFLAGS+set} | 
|  | 947 | ac_env_FFLAGS_value=$FFLAGS | 
|  | 948 | ac_cv_env_FFLAGS_set=${FFLAGS+set} | 
|  | 949 | ac_cv_env_FFLAGS_value=$FFLAGS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 950 |  | 
|  | 951 | # | 
|  | 952 | # Report the --help message. | 
|  | 953 | # | 
|  | 954 | if test "$ac_init_help" = "long"; then | 
|  | 955 | # Omit some internal or obsolete options to make the list less imposing. | 
|  | 956 | # This message is too long to be a string in the A/UX 3.1 sh. | 
|  | 957 | cat <<_ACEOF | 
|  | 958 | \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems. | 
|  | 959 |  | 
|  | 960 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
|  | 961 |  | 
|  | 962 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
|  | 963 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
|  | 964 |  | 
|  | 965 | Defaults for the options are specified in brackets. | 
|  | 966 |  | 
|  | 967 | Configuration: | 
|  | 968 | -h, --help              display this help and exit | 
|  | 969 | --help=short        display options specific to this package | 
|  | 970 | --help=recursive    display the short help of all the included packages | 
|  | 971 | -V, --version           display version information and exit | 
|  | 972 | -q, --quiet, --silent   do not print \`checking...' messages | 
|  | 973 | --cache-file=FILE   cache test results in FILE [disabled] | 
|  | 974 | -C, --config-cache      alias for \`--cache-file=config.cache' | 
|  | 975 | -n, --no-create         do not create output files | 
|  | 976 | --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
|  | 977 |  | 
|  | 978 | _ACEOF | 
|  | 979 |  | 
|  | 980 | cat <<_ACEOF | 
|  | 981 | Installation directories: | 
|  | 982 | --prefix=PREFIX         install architecture-independent files in PREFIX | 
|  | 983 | [$ac_default_prefix] | 
|  | 984 | --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
|  | 985 | [PREFIX] | 
|  | 986 |  | 
|  | 987 | By default, \`make install' will install all the files in | 
|  | 988 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
|  | 989 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
|  | 990 | for instance \`--prefix=\$HOME'. | 
|  | 991 |  | 
|  | 992 | For better control, use the options below. | 
|  | 993 |  | 
|  | 994 | Fine tuning of the installation directories: | 
|  | 995 | --bindir=DIR           user executables [EPREFIX/bin] | 
|  | 996 | --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
|  | 997 | --libexecdir=DIR       program executables [EPREFIX/libexec] | 
|  | 998 | --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
|  | 999 | --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
|  | 1000 | --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
|  | 1001 | --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
|  | 1002 | --libdir=DIR           object code libraries [EPREFIX/lib] | 
|  | 1003 | --includedir=DIR       C header files [PREFIX/include] | 
|  | 1004 | --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
|  | 1005 | --infodir=DIR          info documentation [PREFIX/info] | 
|  | 1006 | --mandir=DIR           man documentation [PREFIX/man] | 
|  | 1007 | _ACEOF | 
|  | 1008 |  | 
|  | 1009 | cat <<\_ACEOF | 
|  | 1010 |  | 
|  | 1011 | System types: | 
|  | 1012 | --build=BUILD     configure for building on BUILD [guessed] | 
|  | 1013 | --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
|  | 1014 | --target=TARGET   configure for building compilers for TARGET [HOST] | 
|  | 1015 | _ACEOF | 
|  | 1016 | fi | 
|  | 1017 |  | 
|  | 1018 | if test -n "$ac_init_help"; then | 
|  | 1019 | case $ac_init_help in | 
|  | 1020 | short | recursive ) echo "Configuration of [LLVM] [1.0]:";; | 
|  | 1021 | esac | 
|  | 1022 | cat <<\_ACEOF | 
|  | 1023 |  | 
|  | 1024 | Optional Features: | 
|  | 1025 | --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
|  | 1026 | --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1027 | --enable-shared[=PKGS] | 
|  | 1028 | build shared libraries [default=yes] | 
|  | 1029 | --enable-static[=PKGS] | 
|  | 1030 | build static libraries [default=yes] | 
|  | 1031 | --enable-fast-install[=PKGS] | 
|  | 1032 | optimize for fast installation [default=yes] | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1033 | --disable-libtool-lock  avoid locking (might break parallel builds) | 
|  | 1034 | --enable-purify         Compile with purify (default is NO) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1035 | --enable-optimized      Compile with optimizations enabled (default is NO) | 
|  | 1036 | --enable-spec           Compile SPEC benchmarks (default is NO) | 
|  | 1037 | --enable-precompiled_bytecode | 
|  | 1038 | Use pre-compiled bytecode (default is NO) | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 1039 | --enable-llc_diffs      Enable LLC Diffs when testing (default is YES) | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 1040 | --enable-jit            Enable Just In Time Compiling (default is YES) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1041 |  | 
|  | 1042 | Optional Packages: | 
|  | 1043 | --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
|  | 1044 | --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1045 | --with-gnu-ld           assume the C compiler uses GNU ld [default=no] | 
|  | 1046 | --with-pic              try to use only PIC/non-PIC objects [default=use | 
|  | 1047 | both] | 
|  | 1048 | --with-tags[=TAGS] | 
|  | 1049 | include additional configurations [automatic] | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1050 | --with-spec             Location of SPEC benchmarks | 
|  | 1051 | --with-llvmgccdir       Location of LLVM GCC front-end | 
|  | 1052 | --with-bcrepos          Location of Bytecode Repository | 
|  | 1053 | --with-papi             Location of PAPI | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 1054 | --with-purify           Location of purify program | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1055 |  | 
|  | 1056 | Some influential environment variables: | 
|  | 1057 | CXX         C++ compiler command | 
|  | 1058 | CXXFLAGS    C++ compiler flags | 
|  | 1059 | LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
|  | 1060 | nonstandard directory <lib dir> | 
|  | 1061 | CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
|  | 1062 | headers in a nonstandard directory <include dir> | 
|  | 1063 | CC          C compiler command | 
|  | 1064 | CFLAGS      C compiler flags | 
|  | 1065 | CPP         C preprocessor | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 1066 | CXXCPP      C++ preprocessor | 
|  | 1067 | F77         Fortran 77 compiler command | 
|  | 1068 | FFLAGS      Fortran 77 compiler flags | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1069 |  | 
|  | 1070 | Use these variables to override the choices made by `configure' or to help | 
|  | 1071 | it to find libraries and programs with nonstandard names/locations. | 
|  | 1072 |  | 
|  | 1073 | Report bugs to <llvmbugs@cs.uiuc.edu>. | 
|  | 1074 | _ACEOF | 
|  | 1075 | fi | 
|  | 1076 |  | 
|  | 1077 | if test "$ac_init_help" = "recursive"; then | 
|  | 1078 | # If there are subdirs, report their specific --help. | 
|  | 1079 | ac_popdir=`pwd` | 
|  | 1080 | for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
|  | 1081 | test -d $ac_dir || continue | 
|  | 1082 | ac_builddir=. | 
|  | 1083 |  | 
|  | 1084 | if test "$ac_dir" != .; then | 
|  | 1085 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|  | 1086 | # A "../" for each directory in $ac_dir_suffix. | 
|  | 1087 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|  | 1088 | else | 
|  | 1089 | ac_dir_suffix= ac_top_builddir= | 
|  | 1090 | fi | 
|  | 1091 |  | 
|  | 1092 | case $srcdir in | 
|  | 1093 | .)  # No --srcdir option.  We are building in place. | 
|  | 1094 | ac_srcdir=. | 
|  | 1095 | if test -z "$ac_top_builddir"; then | 
|  | 1096 | ac_top_srcdir=. | 
|  | 1097 | else | 
|  | 1098 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|  | 1099 | fi ;; | 
|  | 1100 | [\\/]* | ?:[\\/]* )  # Absolute path. | 
|  | 1101 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|  | 1102 | ac_top_srcdir=$srcdir ;; | 
|  | 1103 | *) # Relative path. | 
|  | 1104 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|  | 1105 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|  | 1106 | esac | 
|  | 1107 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
|  | 1108 | # absolute. | 
|  | 1109 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1110 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1111 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
|  | 1112 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
|  | 1113 |  | 
|  | 1114 | cd $ac_dir | 
|  | 1115 | # Check for guested configure; otherwise get Cygnus style configure. | 
|  | 1116 | if test -f $ac_srcdir/configure.gnu; then | 
|  | 1117 | echo | 
|  | 1118 | $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
|  | 1119 | elif test -f $ac_srcdir/configure; then | 
|  | 1120 | echo | 
|  | 1121 | $SHELL $ac_srcdir/configure  --help=recursive | 
|  | 1122 | elif test -f $ac_srcdir/configure.ac || | 
|  | 1123 | test -f $ac_srcdir/configure.in; then | 
|  | 1124 | echo | 
|  | 1125 | $ac_configure --help | 
|  | 1126 | else | 
|  | 1127 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
|  | 1128 | fi | 
|  | 1129 | cd $ac_popdir | 
|  | 1130 | done | 
|  | 1131 | fi | 
|  | 1132 |  | 
|  | 1133 | test -n "$ac_init_help" && exit 0 | 
|  | 1134 | if $ac_init_version; then | 
|  | 1135 | cat <<\_ACEOF | 
|  | 1136 | [LLVM] configure [1.0] | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1137 | generated by GNU Autoconf 2.57 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1138 |  | 
|  | 1139 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 
|  | 1140 | Free Software Foundation, Inc. | 
|  | 1141 | This configure script is free software; the Free Software Foundation | 
|  | 1142 | gives unlimited permission to copy, distribute and modify it. | 
|  | 1143 | _ACEOF | 
|  | 1144 | exit 0 | 
|  | 1145 | fi | 
|  | 1146 | exec 5>config.log | 
|  | 1147 | cat >&5 <<_ACEOF | 
|  | 1148 | This file contains any messages produced by compilers while | 
|  | 1149 | running configure, to aid debugging if configure makes a mistake. | 
|  | 1150 |  | 
|  | 1151 | It was created by [LLVM] $as_me [1.0], which was | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1152 | generated by GNU Autoconf 2.57.  Invocation command line was | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1153 |  | 
|  | 1154 | $ $0 $@ | 
|  | 1155 |  | 
|  | 1156 | _ACEOF | 
|  | 1157 | { | 
|  | 1158 | cat <<_ASUNAME | 
|  | 1159 | ## --------- ## | 
|  | 1160 | ## Platform. ## | 
|  | 1161 | ## --------- ## | 
|  | 1162 |  | 
|  | 1163 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
|  | 1164 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
|  | 1165 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
|  | 1166 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
|  | 1167 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
|  | 1168 |  | 
|  | 1169 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
|  | 1170 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
|  | 1171 |  | 
|  | 1172 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
|  | 1173 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
|  | 1174 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
|  | 1175 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
|  | 1176 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
|  | 1177 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
|  | 1178 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
|  | 1179 |  | 
|  | 1180 | _ASUNAME | 
|  | 1181 |  | 
|  | 1182 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 1183 | for as_dir in $PATH | 
|  | 1184 | do | 
|  | 1185 | IFS=$as_save_IFS | 
|  | 1186 | test -z "$as_dir" && as_dir=. | 
|  | 1187 | echo "PATH: $as_dir" | 
|  | 1188 | done | 
|  | 1189 |  | 
|  | 1190 | } >&5 | 
|  | 1191 |  | 
|  | 1192 | cat >&5 <<_ACEOF | 
|  | 1193 |  | 
|  | 1194 |  | 
|  | 1195 | ## ----------- ## | 
|  | 1196 | ## Core tests. ## | 
|  | 1197 | ## ----------- ## | 
|  | 1198 |  | 
|  | 1199 | _ACEOF | 
|  | 1200 |  | 
|  | 1201 |  | 
|  | 1202 | # Keep a trace of the command line. | 
|  | 1203 | # Strip out --no-create and --no-recursion so they do not pile up. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1204 | # Strip out --silent because we don't want to record it for future runs. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1205 | # Also quote any args containing shell meta-characters. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1206 | # Make two passes to allow for proper duplicate-argument suppression. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1207 | ac_configure_args= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1208 | ac_configure_args0= | 
|  | 1209 | ac_configure_args1= | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1210 | ac_sep= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1211 | ac_must_keep_next=false | 
|  | 1212 | for ac_pass in 1 2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1213 | do | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1214 | for ac_arg | 
|  | 1215 | do | 
|  | 1216 | case $ac_arg in | 
|  | 1217 | -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
|  | 1218 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|  | 1219 | | -silent | --silent | --silen | --sile | --sil) | 
|  | 1220 | continue ;; | 
|  | 1221 | *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|  | 1222 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|  | 1223 | esac | 
|  | 1224 | case $ac_pass in | 
|  | 1225 | 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; | 
|  | 1226 | 2) | 
|  | 1227 | ac_configure_args1="$ac_configure_args1 '$ac_arg'" | 
|  | 1228 | if test $ac_must_keep_next = true; then | 
|  | 1229 | ac_must_keep_next=false # Got value, back to normal. | 
|  | 1230 | else | 
|  | 1231 | case $ac_arg in | 
|  | 1232 | *=* | --config-cache | -C | -disable-* | --disable-* \ | 
|  | 1233 | | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
|  | 1234 | | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
|  | 1235 | | -with-* | --with-* | -without-* | --without-* | --x) | 
|  | 1236 | case "$ac_configure_args0 " in | 
|  | 1237 | "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
|  | 1238 | esac | 
|  | 1239 | ;; | 
|  | 1240 | -* ) ac_must_keep_next=true ;; | 
|  | 1241 | esac | 
|  | 1242 | fi | 
|  | 1243 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
|  | 1244 | # Get rid of the leading space. | 
|  | 1245 | ac_sep=" " | 
|  | 1246 | ;; | 
|  | 1247 | esac | 
|  | 1248 | done | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1249 | done | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1250 | $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } | 
|  | 1251 | $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1252 |  | 
|  | 1253 | # When interrupted or exit'd, cleanup temporary files, and complete | 
|  | 1254 | # config.log.  We remove comments because anyway the quotes in there | 
|  | 1255 | # would cause problems or look ugly. | 
|  | 1256 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
|  | 1257 | # such as our DU 5.0 friend, will then `close' the trap. | 
|  | 1258 | trap 'exit_status=$? | 
|  | 1259 | # Save into config.log some information that might help in debugging. | 
|  | 1260 | { | 
|  | 1261 | echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1262 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1263 | cat <<\_ASBOX | 
|  | 1264 | ## ---------------- ## | 
|  | 1265 | ## Cache variables. ## | 
|  | 1266 | ## ---------------- ## | 
|  | 1267 | _ASBOX | 
|  | 1268 | echo | 
|  | 1269 | # The following way of writing the cache mishandles newlines in values, | 
|  | 1270 | { | 
|  | 1271 | (set) 2>&1 | | 
|  | 1272 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
|  | 1273 | *ac_space=\ *) | 
|  | 1274 | sed -n \ | 
|  | 1275 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
|  | 1276 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
|  | 1277 | ;; | 
|  | 1278 | *) | 
|  | 1279 | sed -n \ | 
|  | 1280 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|  | 1281 | ;; | 
|  | 1282 | esac; | 
|  | 1283 | } | 
|  | 1284 | echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1285 |  | 
|  | 1286 | cat <<\_ASBOX | 
|  | 1287 | ## ----------------- ## | 
|  | 1288 | ## Output variables. ## | 
|  | 1289 | ## ----------------- ## | 
|  | 1290 | _ASBOX | 
|  | 1291 | echo | 
|  | 1292 | for ac_var in $ac_subst_vars | 
|  | 1293 | do | 
|  | 1294 | eval ac_val=$`echo $ac_var` | 
|  | 1295 | echo "$ac_var='"'"'$ac_val'"'"'" | 
|  | 1296 | done | sort | 
|  | 1297 | echo | 
|  | 1298 |  | 
|  | 1299 | if test -n "$ac_subst_files"; then | 
|  | 1300 | cat <<\_ASBOX | 
|  | 1301 | ## ------------- ## | 
|  | 1302 | ## Output files. ## | 
|  | 1303 | ## ------------- ## | 
|  | 1304 | _ASBOX | 
|  | 1305 | echo | 
|  | 1306 | for ac_var in $ac_subst_files | 
|  | 1307 | do | 
|  | 1308 | eval ac_val=$`echo $ac_var` | 
|  | 1309 | echo "$ac_var='"'"'$ac_val'"'"'" | 
|  | 1310 | done | sort | 
|  | 1311 | echo | 
|  | 1312 | fi | 
|  | 1313 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1314 | if test -s confdefs.h; then | 
|  | 1315 | cat <<\_ASBOX | 
|  | 1316 | ## ----------- ## | 
|  | 1317 | ## confdefs.h. ## | 
|  | 1318 | ## ----------- ## | 
|  | 1319 | _ASBOX | 
|  | 1320 | echo | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1321 | sed "/^$/d" confdefs.h | sort | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1322 | echo | 
|  | 1323 | fi | 
|  | 1324 | test "$ac_signal" != 0 && | 
|  | 1325 | echo "$as_me: caught signal $ac_signal" | 
|  | 1326 | echo "$as_me: exit $exit_status" | 
|  | 1327 | } >&5 | 
|  | 1328 | rm -f core core.* *.core && | 
|  | 1329 | rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
|  | 1330 | exit $exit_status | 
|  | 1331 | ' 0 | 
|  | 1332 | for ac_signal in 1 2 13 15; do | 
|  | 1333 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
|  | 1334 | done | 
|  | 1335 | ac_signal=0 | 
|  | 1336 |  | 
|  | 1337 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
|  | 1338 | rm -rf conftest* confdefs.h | 
|  | 1339 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
|  | 1340 | echo >confdefs.h | 
|  | 1341 |  | 
|  | 1342 | # Predefined preprocessor variables. | 
|  | 1343 |  | 
|  | 1344 | cat >>confdefs.h <<_ACEOF | 
|  | 1345 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
|  | 1346 | _ACEOF | 
|  | 1347 |  | 
|  | 1348 |  | 
|  | 1349 | cat >>confdefs.h <<_ACEOF | 
|  | 1350 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
|  | 1351 | _ACEOF | 
|  | 1352 |  | 
|  | 1353 |  | 
|  | 1354 | cat >>confdefs.h <<_ACEOF | 
|  | 1355 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
|  | 1356 | _ACEOF | 
|  | 1357 |  | 
|  | 1358 |  | 
|  | 1359 | cat >>confdefs.h <<_ACEOF | 
|  | 1360 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
|  | 1361 | _ACEOF | 
|  | 1362 |  | 
|  | 1363 |  | 
|  | 1364 | cat >>confdefs.h <<_ACEOF | 
|  | 1365 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
|  | 1366 | _ACEOF | 
|  | 1367 |  | 
|  | 1368 |  | 
|  | 1369 | # Let the site file select an alternate cache file if it wants to. | 
|  | 1370 | # Prefer explicitly selected file to automatically selected ones. | 
|  | 1371 | if test -z "$CONFIG_SITE"; then | 
|  | 1372 | if test "x$prefix" != xNONE; then | 
|  | 1373 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
|  | 1374 | else | 
|  | 1375 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
|  | 1376 | fi | 
|  | 1377 | fi | 
|  | 1378 | for ac_site_file in $CONFIG_SITE; do | 
|  | 1379 | if test -r "$ac_site_file"; then | 
|  | 1380 | { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
|  | 1381 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
|  | 1382 | sed 's/^/| /' "$ac_site_file" >&5 | 
|  | 1383 | . "$ac_site_file" | 
|  | 1384 | fi | 
|  | 1385 | done | 
|  | 1386 |  | 
|  | 1387 | if test -r "$cache_file"; then | 
|  | 1388 | # Some versions of bash will fail to source /dev/null (special | 
|  | 1389 | # files actually), so we avoid doing that. | 
|  | 1390 | if test -f "$cache_file"; then | 
|  | 1391 | { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
|  | 1392 | echo "$as_me: loading cache $cache_file" >&6;} | 
|  | 1393 | case $cache_file in | 
|  | 1394 | [\\/]* | ?:[\\/]* ) . $cache_file;; | 
|  | 1395 | *)                      . ./$cache_file;; | 
|  | 1396 | esac | 
|  | 1397 | fi | 
|  | 1398 | else | 
|  | 1399 | { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
|  | 1400 | echo "$as_me: creating cache $cache_file" >&6;} | 
|  | 1401 | >$cache_file | 
|  | 1402 | fi | 
|  | 1403 |  | 
|  | 1404 | # Check that the precious variables saved in the cache have kept the same | 
|  | 1405 | # value. | 
|  | 1406 | ac_cache_corrupted=false | 
|  | 1407 | for ac_var in `(set) 2>&1 | | 
|  | 1408 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
|  | 1409 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
|  | 1410 | eval ac_new_set=\$ac_env_${ac_var}_set | 
|  | 1411 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
|  | 1412 | eval ac_new_val="\$ac_env_${ac_var}_value" | 
|  | 1413 | case $ac_old_set,$ac_new_set in | 
|  | 1414 | set,) | 
|  | 1415 | { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
|  | 1416 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
|  | 1417 | ac_cache_corrupted=: ;; | 
|  | 1418 | ,set) | 
|  | 1419 | { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
|  | 1420 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
|  | 1421 | ac_cache_corrupted=: ;; | 
|  | 1422 | ,);; | 
|  | 1423 | *) | 
|  | 1424 | if test "x$ac_old_val" != "x$ac_new_val"; then | 
|  | 1425 | { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
|  | 1426 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
|  | 1427 | { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
|  | 1428 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
|  | 1429 | { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
|  | 1430 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
|  | 1431 | ac_cache_corrupted=: | 
|  | 1432 | fi;; | 
|  | 1433 | esac | 
|  | 1434 | # Pass precious variables to config.status. | 
|  | 1435 | if test "$ac_new_set" = set; then | 
|  | 1436 | case $ac_new_val in | 
|  | 1437 | *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
|  | 1438 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
|  | 1439 | *) ac_arg=$ac_var=$ac_new_val ;; | 
|  | 1440 | esac | 
|  | 1441 | case " $ac_configure_args " in | 
|  | 1442 | *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
|  | 1443 | *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
|  | 1444 | esac | 
|  | 1445 | fi | 
|  | 1446 | done | 
|  | 1447 | if $ac_cache_corrupted; then | 
|  | 1448 | { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
|  | 1449 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
|  | 1450 | { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
|  | 1451 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
|  | 1452 | { (exit 1); exit 1; }; } | 
|  | 1453 | fi | 
|  | 1454 |  | 
|  | 1455 | ac_ext=c | 
|  | 1456 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 1457 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 1458 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 1459 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 1460 |  | 
|  | 1461 |  | 
|  | 1462 |  | 
|  | 1463 |  | 
|  | 1464 |  | 
|  | 1465 |  | 
|  | 1466 |  | 
|  | 1467 |  | 
|  | 1468 |  | 
|  | 1469 |  | 
|  | 1470 |  | 
|  | 1471 |  | 
|  | 1472 |  | 
|  | 1473 |  | 
|  | 1474 |  | 
|  | 1475 |  | 
|  | 1476 |  | 
|  | 1477 |  | 
|  | 1478 |  | 
|  | 1479 |  | 
|  | 1480 |  | 
|  | 1481 |  | 
|  | 1482 |  | 
|  | 1483 |  | 
|  | 1484 |  | 
|  | 1485 |  | 
|  | 1486 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1487 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1488 | ac_aux_dir= | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1489 | for ac_dir in autoconf $srcdir/autoconf; do | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1490 | if test -f $ac_dir/install-sh; then | 
|  | 1491 | ac_aux_dir=$ac_dir | 
|  | 1492 | ac_install_sh="$ac_aux_dir/install-sh -c" | 
|  | 1493 | break | 
|  | 1494 | elif test -f $ac_dir/install.sh; then | 
|  | 1495 | ac_aux_dir=$ac_dir | 
|  | 1496 | ac_install_sh="$ac_aux_dir/install.sh -c" | 
|  | 1497 | break | 
|  | 1498 | elif test -f $ac_dir/shtool; then | 
|  | 1499 | ac_aux_dir=$ac_dir | 
|  | 1500 | ac_install_sh="$ac_aux_dir/shtool install -c" | 
|  | 1501 | break | 
|  | 1502 | fi | 
|  | 1503 | done | 
|  | 1504 | if test -z "$ac_aux_dir"; then | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1505 | { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5 | 
|  | 1506 | echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1507 | { (exit 1); exit 1; }; } | 
|  | 1508 | fi | 
|  | 1509 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
|  | 1510 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
|  | 1511 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
|  | 1512 |  | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1513 |  | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1514 | if test ${srcdir} != "." | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1515 | then | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1516 | if test -f ${srcdir}/include/Config/config.h | 
|  | 1517 | then | 
|  | 1518 | { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5 | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1519 | echo "$as_me: error: Already configured in ${srcdir}" >&2;} | 
|  | 1520 | { (exit 1); exit 1; }; } | 
| John Criswell | 1b82432 | 2003-09-15 17:19:42 +0000 | [diff] [blame] | 1521 | fi | 
| John Criswell | 93e1c72 | 2003-09-15 17:04:06 +0000 | [diff] [blame] | 1522 | fi | 
|  | 1523 |  | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 1524 | if test -d ${srcdir}/projects/reopt | 
|  | 1525 | then | 
|  | 1526 |  | 
|  | 1527 |  | 
|  | 1528 | subdirs="$subdirs projects/reopt" | 
|  | 1529 |  | 
|  | 1530 | fi | 
|  | 1531 |  | 
| John Criswell | 559a6c1 | 2003-09-30 16:31:48 +0000 | [diff] [blame] | 1532 | if test -d ${srcdir}/projects/poolalloc | 
|  | 1533 | then | 
|  | 1534 |  | 
|  | 1535 |  | 
|  | 1536 | subdirs="$subdirs projects/poolalloc" | 
|  | 1537 |  | 
|  | 1538 | fi | 
|  | 1539 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1540 | ac_config_headers="$ac_config_headers include/Config/config.h" | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 1541 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1542 | ac_config_commands="$ac_config_commands Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1543 |  | 
|  | 1544 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1545 | ac_config_commands="$ac_config_commands Makefile.common" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1546 |  | 
|  | 1547 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1548 | ac_config_commands="$ac_config_commands Makefile.rules" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1549 |  | 
|  | 1550 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1551 | ac_config_commands="$ac_config_commands lib/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1552 |  | 
|  | 1553 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1554 | ac_config_commands="$ac_config_commands lib/Analysis/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1555 |  | 
|  | 1556 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1557 | ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1558 |  | 
|  | 1559 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1560 | ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1561 |  | 
|  | 1562 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1563 | ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1564 |  | 
|  | 1565 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1566 | ac_config_commands="$ac_config_commands lib/AsmParser/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1567 |  | 
|  | 1568 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1569 | ac_config_commands="$ac_config_commands lib/Bytecode/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1570 |  | 
|  | 1571 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1572 | ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1573 |  | 
|  | 1574 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1575 | ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1576 |  | 
|  | 1577 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1578 | ac_config_commands="$ac_config_commands lib/CWriter/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1579 |  | 
|  | 1580 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1581 | ac_config_commands="$ac_config_commands lib/CodeGen/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1582 |  | 
|  | 1583 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1584 | ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1585 |  | 
|  | 1586 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1587 | ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1588 |  | 
|  | 1589 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1590 | ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1591 |  | 
|  | 1592 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1593 | ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1594 |  | 
|  | 1595 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1596 | ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1597 |  | 
|  | 1598 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1599 | ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1600 |  | 
|  | 1601 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1602 | ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1603 |  | 
|  | 1604 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1605 | ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1606 |  | 
|  | 1607 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1608 | ac_config_commands="$ac_config_commands lib/Target/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1609 |  | 
|  | 1610 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1611 | ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1612 |  | 
|  | 1613 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1614 | ac_config_commands="$ac_config_commands lib/Target/X86/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1615 |  | 
|  | 1616 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1617 | ac_config_commands="$ac_config_commands lib/Transforms/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1618 |  | 
|  | 1619 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1620 | ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1621 |  | 
|  | 1622 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1623 | ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1624 |  | 
|  | 1625 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1626 | ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1627 |  | 
|  | 1628 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1629 | ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1630 |  | 
|  | 1631 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1632 | ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1633 |  | 
|  | 1634 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1635 | ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1636 |  | 
|  | 1637 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1638 | ac_config_commands="$ac_config_commands lib/VMCore/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1639 |  | 
|  | 1640 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1641 | ac_config_commands="$ac_config_commands runtime/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1642 |  | 
|  | 1643 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1644 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1645 |  | 
|  | 1646 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1647 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1648 |  | 
|  | 1649 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1650 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1651 |  | 
|  | 1652 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1653 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile" | 
|  | 1654 |  | 
|  | 1655 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1656 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1657 |  | 
|  | 1658 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1659 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1660 |  | 
|  | 1661 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1662 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1663 |  | 
|  | 1664 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1665 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1666 |  | 
|  | 1667 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1668 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile" | 
|  | 1669 |  | 
|  | 1670 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1671 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1672 |  | 
|  | 1673 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1674 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile" | 
|  | 1675 |  | 
|  | 1676 |  | 
|  | 1677 | ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile" | 
|  | 1678 |  | 
|  | 1679 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1680 | ac_config_commands="$ac_config_commands runtime/libdummy/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1681 |  | 
|  | 1682 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1683 | ac_config_commands="$ac_config_commands runtime/libtrace/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1684 |  | 
|  | 1685 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1686 | ac_config_commands="$ac_config_commands test/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1687 |  | 
|  | 1688 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1689 | ac_config_commands="$ac_config_commands test/Makefile.tests" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1690 |  | 
|  | 1691 |  | 
| John Criswell | 08acb9b | 2003-09-16 02:12:45 +0000 | [diff] [blame] | 1692 | ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py" | 
|  | 1693 |  | 
|  | 1694 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1695 | ac_config_commands="$ac_config_commands test/Programs/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1696 |  | 
|  | 1697 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1698 | ac_config_commands="$ac_config_commands test/Programs/Makefile.programs" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1699 |  | 
|  | 1700 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1701 | ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1702 |  | 
|  | 1703 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1704 | ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1705 |  | 
|  | 1706 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1707 | ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1708 |  | 
|  | 1709 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1710 | ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1711 |  | 
|  | 1712 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1713 | ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1714 |  | 
|  | 1715 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1716 | ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1717 |  | 
|  | 1718 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1719 | ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1720 |  | 
|  | 1721 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1722 | ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1723 |  | 
|  | 1724 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1725 | ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1726 |  | 
|  | 1727 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1728 | ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1729 |  | 
|  | 1730 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1731 | ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1732 |  | 
|  | 1733 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1734 | ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1735 |  | 
|  | 1736 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1737 | ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1738 |  | 
|  | 1739 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1740 | ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1741 |  | 
|  | 1742 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1743 | ac_config_commands="$ac_config_commands test/Programs/External/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1744 |  | 
|  | 1745 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1746 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1747 |  | 
|  | 1748 |  | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 1749 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec" | 
|  | 1750 |  | 
|  | 1751 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1752 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1753 |  | 
|  | 1754 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1755 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1756 |  | 
|  | 1757 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1758 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1759 |  | 
|  | 1760 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1761 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1762 |  | 
|  | 1763 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1764 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1765 |  | 
|  | 1766 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1767 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1768 |  | 
|  | 1769 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1770 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1771 |  | 
|  | 1772 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1773 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1774 |  | 
|  | 1775 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1776 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1777 |  | 
|  | 1778 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1779 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1780 |  | 
|  | 1781 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1782 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1783 |  | 
|  | 1784 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1785 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1786 |  | 
|  | 1787 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1788 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1789 |  | 
|  | 1790 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1791 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1792 |  | 
|  | 1793 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1794 | ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1795 |  | 
|  | 1796 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1797 | ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1798 |  | 
|  | 1799 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1800 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1801 |  | 
|  | 1802 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1803 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1804 |  | 
|  | 1805 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1806 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1807 |  | 
|  | 1808 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1809 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1810 |  | 
|  | 1811 |  | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 1812 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile" | 
|  | 1813 |  | 
|  | 1814 |  | 
|  | 1815 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile" | 
|  | 1816 |  | 
|  | 1817 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1818 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1819 |  | 
|  | 1820 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1821 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1822 |  | 
|  | 1823 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1824 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1825 |  | 
|  | 1826 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1827 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1828 |  | 
|  | 1829 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1830 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1831 |  | 
|  | 1832 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1833 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1834 |  | 
|  | 1835 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1836 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1837 |  | 
|  | 1838 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1839 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1840 |  | 
|  | 1841 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1842 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1843 |  | 
|  | 1844 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1845 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1846 |  | 
|  | 1847 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1848 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1849 |  | 
|  | 1850 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1851 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1852 |  | 
|  | 1853 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1854 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1855 |  | 
|  | 1856 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1857 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1858 |  | 
|  | 1859 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1860 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1861 |  | 
|  | 1862 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1863 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1864 |  | 
|  | 1865 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1866 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1867 |  | 
|  | 1868 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1869 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1870 |  | 
|  | 1871 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1872 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1873 |  | 
|  | 1874 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1875 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1876 |  | 
|  | 1877 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1878 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1879 |  | 
|  | 1880 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1881 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" | 
|  | 1882 |  | 
|  | 1883 |  | 
|  | 1884 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" | 
|  | 1885 |  | 
|  | 1886 |  | 
|  | 1887 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1888 |  | 
|  | 1889 |  | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 1890 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1891 |  | 
|  | 1892 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1893 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1894 |  | 
|  | 1895 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1896 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1897 |  | 
|  | 1898 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1899 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1900 |  | 
|  | 1901 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1902 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1903 |  | 
|  | 1904 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1905 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1906 |  | 
|  | 1907 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1908 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1909 |  | 
|  | 1910 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1911 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1912 |  | 
|  | 1913 |  | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 1914 | ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1915 |  | 
|  | 1916 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1917 | ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1918 |  | 
|  | 1919 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1920 | ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1921 |  | 
|  | 1922 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1923 | ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1924 |  | 
|  | 1925 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1926 | ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1927 |  | 
|  | 1928 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1929 | ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1930 |  | 
|  | 1931 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1932 | ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1933 |  | 
|  | 1934 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1935 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1936 |  | 
|  | 1937 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1938 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1939 |  | 
|  | 1940 |  | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 1941 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile" | 
|  | 1942 |  | 
|  | 1943 |  | 
|  | 1944 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile" | 
|  | 1945 |  | 
|  | 1946 |  | 
|  | 1947 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" | 
|  | 1948 |  | 
|  | 1949 |  | 
|  | 1950 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile" | 
|  | 1951 |  | 
|  | 1952 |  | 
|  | 1953 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile" | 
|  | 1954 |  | 
|  | 1955 |  | 
|  | 1956 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile" | 
|  | 1957 |  | 
|  | 1958 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1959 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1960 |  | 
|  | 1961 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1962 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1963 |  | 
|  | 1964 |  | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 1965 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" | 
|  | 1966 |  | 
|  | 1967 |  | 
| John Criswell | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 1968 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile" | 
|  | 1969 |  | 
|  | 1970 |  | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 1971 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile" | 
|  | 1972 |  | 
|  | 1973 |  | 
|  | 1974 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile" | 
|  | 1975 |  | 
|  | 1976 |  | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 1977 | ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile" | 
|  | 1978 |  | 
|  | 1979 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1980 | ac_config_commands="$ac_config_commands tools/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1981 |  | 
|  | 1982 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1983 | ac_config_commands="$ac_config_commands tools/analyze/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1984 |  | 
|  | 1985 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1986 | ac_config_commands="$ac_config_commands tools/bugpoint/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1987 |  | 
|  | 1988 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1989 | ac_config_commands="$ac_config_commands tools/extract/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1990 |  | 
|  | 1991 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1992 | ac_config_commands="$ac_config_commands tools/gccas/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1993 |  | 
|  | 1994 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1995 | ac_config_commands="$ac_config_commands tools/gccld/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1996 |  | 
|  | 1997 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 1998 | ac_config_commands="$ac_config_commands tools/llc/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 1999 |  | 
|  | 2000 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2001 | ac_config_commands="$ac_config_commands tools/llee/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2002 |  | 
|  | 2003 |  | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 2004 | ac_config_commands="$ac_config_commands tools/lli/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2005 |  | 
|  | 2006 |  | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 2007 | ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile" | 
|  | 2008 |  | 
|  | 2009 |  | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 2010 | ac_config_commands="$ac_config_commands tools/llvm-as/Makefile" | 
|  | 2011 |  | 
|  | 2012 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2013 | ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2014 |  | 
|  | 2015 |  | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 2016 | ac_config_commands="$ac_config_commands tools/llvm-link/Makefile" | 
|  | 2017 |  | 
|  | 2018 |  | 
|  | 2019 | ac_config_commands="$ac_config_commands tools/opt/Makefile" | 
|  | 2020 |  | 
|  | 2021 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2022 | ac_config_commands="$ac_config_commands www/docs/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2023 |  | 
|  | 2024 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2025 | ac_config_commands="$ac_config_commands projects/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2026 |  | 
|  | 2027 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2028 | ac_config_commands="$ac_config_commands projects/sample/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2029 |  | 
|  | 2030 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2031 | ac_config_commands="$ac_config_commands projects/sample/Makefile.common" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2032 |  | 
|  | 2033 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2034 | ac_config_commands="$ac_config_commands projects/sample/Makefile.config" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2035 |  | 
|  | 2036 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2037 | ac_config_commands="$ac_config_commands projects/sample/lib/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2038 |  | 
|  | 2039 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2040 | ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2041 |  | 
|  | 2042 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2043 | ac_config_commands="$ac_config_commands projects/sample/tools/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2044 |  | 
|  | 2045 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2046 | ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2047 |  | 
|  | 2048 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2049 | ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2050 |  | 
|  | 2051 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2052 | ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2053 |  | 
|  | 2054 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2055 | ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2056 |  | 
|  | 2057 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2058 | ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile" | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 2059 |  | 
|  | 2060 |  | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 2061 | ac_config_commands="$ac_config_commands lib/Support/Makefile" | 
| John Criswell | 4e07978 | 2003-09-29 14:52:28 +0000 | [diff] [blame] | 2062 |  | 
|  | 2063 |  | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 2064 | ac_config_commands="$ac_config_commands utils/Makefile" | 
| John Criswell | 4e07978 | 2003-09-29 14:52:28 +0000 | [diff] [blame] | 2065 |  | 
|  | 2066 |  | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 2067 | ac_config_commands="$ac_config_commands utils/Burg/Makefile" | 
| John Criswell | 4e07978 | 2003-09-29 14:52:28 +0000 | [diff] [blame] | 2068 |  | 
|  | 2069 |  | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 2070 | ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile" | 
| John Criswell | 4e07978 | 2003-09-29 14:52:28 +0000 | [diff] [blame] | 2071 |  | 
|  | 2072 |  | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 2073 | ac_config_commands="$ac_config_commands utils/TableGen/Makefile" | 
| John Criswell | 4e07978 | 2003-09-29 14:52:28 +0000 | [diff] [blame] | 2074 |  | 
|  | 2075 |  | 
| John Criswell | 392aaa3 | 2003-07-22 19:18:09 +0000 | [diff] [blame] | 2076 |  | 
|  | 2077 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2078 | # Find a good install program.  We prefer a C program (faster), | 
|  | 2079 | # so one script is as good as another.  But avoid the broken or | 
|  | 2080 | # incompatible versions: | 
|  | 2081 | # SysV /etc/install, /usr/sbin/install | 
|  | 2082 | # SunOS /usr/etc/install | 
|  | 2083 | # IRIX /sbin/install | 
|  | 2084 | # AIX /bin/install | 
|  | 2085 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
|  | 2086 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
|  | 2087 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
|  | 2088 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
|  | 2089 | # ./install, which can be erroneously created by make from ./install.sh. | 
|  | 2090 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
|  | 2091 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
|  | 2092 | if test -z "$INSTALL"; then | 
|  | 2093 | if test "${ac_cv_path_install+set}" = set; then | 
|  | 2094 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2095 | else | 
|  | 2096 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 2097 | for as_dir in $PATH | 
|  | 2098 | do | 
|  | 2099 | IFS=$as_save_IFS | 
|  | 2100 | test -z "$as_dir" && as_dir=. | 
|  | 2101 | # Account for people who put trailing slashes in PATH elements. | 
|  | 2102 | case $as_dir/ in | 
|  | 2103 | ./ | .// | /cC/* | \ | 
|  | 2104 | /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
|  | 2105 | /usr/ucb/* ) ;; | 
|  | 2106 | *) | 
|  | 2107 | # OSF1 and SCO ODT 3.0 have their own names for install. | 
|  | 2108 | # Don't use installbsd from OSF since it installs stuff as root | 
|  | 2109 | # by default. | 
|  | 2110 | for ac_prog in ginstall scoinst install; do | 
|  | 2111 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 2112 | if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
|  | 2113 | if test $ac_prog = install && | 
|  | 2114 | grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|  | 2115 | # AIX install.  It has an incompatible calling convention. | 
|  | 2116 | : | 
|  | 2117 | elif test $ac_prog = install && | 
|  | 2118 | grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
|  | 2119 | # program-specific install script used by HP pwplus--don't use. | 
|  | 2120 | : | 
|  | 2121 | else | 
|  | 2122 | ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
|  | 2123 | break 3 | 
|  | 2124 | fi | 
|  | 2125 | fi | 
|  | 2126 | done | 
|  | 2127 | done | 
|  | 2128 | ;; | 
|  | 2129 | esac | 
|  | 2130 | done | 
|  | 2131 |  | 
|  | 2132 |  | 
|  | 2133 | fi | 
|  | 2134 | if test "${ac_cv_path_install+set}" = set; then | 
|  | 2135 | INSTALL=$ac_cv_path_install | 
|  | 2136 | else | 
|  | 2137 | # As a last resort, use the slow shell script.  We don't cache a | 
|  | 2138 | # path for INSTALL within a source directory, because that will | 
|  | 2139 | # break other packages using the cache if that directory is | 
|  | 2140 | # removed, or if the path is relative. | 
|  | 2141 | INSTALL=$ac_install_sh | 
|  | 2142 | fi | 
|  | 2143 | fi | 
|  | 2144 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
|  | 2145 | echo "${ECHO_T}$INSTALL" >&6 | 
|  | 2146 |  | 
|  | 2147 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
|  | 2148 | # It thinks the first close brace ends the variable substitution. | 
|  | 2149 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
|  | 2150 |  | 
|  | 2151 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
|  | 2152 |  | 
|  | 2153 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
|  | 2154 |  | 
|  | 2155 |  | 
|  | 2156 | # Make sure we can run config.sub. | 
|  | 2157 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
|  | 2158 | { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
|  | 2159 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
|  | 2160 | { (exit 1); exit 1; }; } | 
|  | 2161 |  | 
|  | 2162 | echo "$as_me:$LINENO: checking build system type" >&5 | 
|  | 2163 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
|  | 2164 | if test "${ac_cv_build+set}" = set; then | 
|  | 2165 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2166 | else | 
|  | 2167 | ac_cv_build_alias=$build_alias | 
|  | 2168 | test -z "$ac_cv_build_alias" && | 
|  | 2169 | ac_cv_build_alias=`$ac_config_guess` | 
|  | 2170 | test -z "$ac_cv_build_alias" && | 
|  | 2171 | { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
|  | 2172 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
|  | 2173 | { (exit 1); exit 1; }; } | 
|  | 2174 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
|  | 2175 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
|  | 2176 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
|  | 2177 | { (exit 1); exit 1; }; } | 
|  | 2178 |  | 
|  | 2179 | fi | 
|  | 2180 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
|  | 2181 | echo "${ECHO_T}$ac_cv_build" >&6 | 
|  | 2182 | build=$ac_cv_build | 
|  | 2183 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|  | 2184 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|  | 2185 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|  | 2186 |  | 
|  | 2187 |  | 
|  | 2188 | echo "$as_me:$LINENO: checking host system type" >&5 | 
|  | 2189 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
|  | 2190 | if test "${ac_cv_host+set}" = set; then | 
|  | 2191 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2192 | else | 
|  | 2193 | ac_cv_host_alias=$host_alias | 
|  | 2194 | test -z "$ac_cv_host_alias" && | 
|  | 2195 | ac_cv_host_alias=$ac_cv_build_alias | 
|  | 2196 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
|  | 2197 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
|  | 2198 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
|  | 2199 | { (exit 1); exit 1; }; } | 
|  | 2200 |  | 
|  | 2201 | fi | 
|  | 2202 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
|  | 2203 | echo "${ECHO_T}$ac_cv_host" >&6 | 
|  | 2204 | host=$ac_cv_host | 
|  | 2205 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|  | 2206 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|  | 2207 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|  | 2208 |  | 
|  | 2209 |  | 
|  | 2210 | echo "$as_me:$LINENO: checking target system type" >&5 | 
|  | 2211 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
|  | 2212 | if test "${ac_cv_target+set}" = set; then | 
|  | 2213 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2214 | else | 
|  | 2215 | ac_cv_target_alias=$target_alias | 
|  | 2216 | test "x$ac_cv_target_alias" = "x" && | 
|  | 2217 | ac_cv_target_alias=$ac_cv_host_alias | 
|  | 2218 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
|  | 2219 | { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
|  | 2220 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
|  | 2221 | { (exit 1); exit 1; }; } | 
|  | 2222 |  | 
|  | 2223 | fi | 
|  | 2224 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
|  | 2225 | echo "${ECHO_T}$ac_cv_target" >&6 | 
|  | 2226 | target=$ac_cv_target | 
|  | 2227 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
|  | 2228 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
|  | 2229 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
|  | 2230 |  | 
|  | 2231 |  | 
|  | 2232 | # The aliases save the names the user supplied, while $host etc. | 
|  | 2233 | # will get canonicalized. | 
|  | 2234 | test -n "$target_alias" && | 
|  | 2235 | test "$program_prefix$program_suffix$program_transform_name" = \ | 
|  | 2236 | NONENONEs,x,x, && | 
|  | 2237 | program_prefix=${target_alias}- | 
|  | 2238 |  | 
|  | 2239 | case $build in | 
|  | 2240 | *i*86*)  OS=Linux | 
|  | 2241 |  | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 2242 | LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2243 |  | 
|  | 2244 | ;; | 
|  | 2245 |  | 
|  | 2246 | *sparc*) OS=SunOS | 
|  | 2247 |  | 
|  | 2248 | LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/ | 
|  | 2249 |  | 
|  | 2250 | ;; | 
|  | 2251 |  | 
|  | 2252 | *)       OS=Unknown | 
|  | 2253 |  | 
|  | 2254 | ;; | 
|  | 2255 | esac | 
|  | 2256 |  | 
|  | 2257 | case $target in | 
|  | 2258 | *sparc*solaris*)  target=sparcv9-sun-solaris2.8 | 
|  | 2259 |  | 
|  | 2260 | ;; | 
|  | 2261 | esac | 
|  | 2262 |  | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 2263 | case $target in | 
|  | 2264 | *i*86*)           ARCH=x86 | 
|  | 2265 |  | 
|  | 2266 | ;; | 
|  | 2267 | *sparc*solaris*)  ARCH=Sparc | 
|  | 2268 |  | 
|  | 2269 | ;; | 
|  | 2270 | esac | 
|  | 2271 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2272 |  | 
|  | 2273 | ac_ext=cc | 
|  | 2274 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 2275 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 2276 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 2277 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 2278 | if test -n "$ac_tool_prefix"; then | 
|  | 2279 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|  | 2280 | do | 
|  | 2281 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|  | 2282 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|  | 2283 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 2284 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 2285 | if test "${ac_cv_prog_CXX+set}" = set; then | 
|  | 2286 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2287 | else | 
|  | 2288 | if test -n "$CXX"; then | 
|  | 2289 | ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
|  | 2290 | else | 
|  | 2291 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 2292 | for as_dir in $PATH | 
|  | 2293 | do | 
|  | 2294 | IFS=$as_save_IFS | 
|  | 2295 | test -z "$as_dir" && as_dir=. | 
|  | 2296 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 2297 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 2298 | ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
|  | 2299 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 2300 | break 2 | 
|  | 2301 | fi | 
|  | 2302 | done | 
|  | 2303 | done | 
|  | 2304 |  | 
|  | 2305 | fi | 
|  | 2306 | fi | 
|  | 2307 | CXX=$ac_cv_prog_CXX | 
|  | 2308 | if test -n "$CXX"; then | 
|  | 2309 | echo "$as_me:$LINENO: result: $CXX" >&5 | 
|  | 2310 | echo "${ECHO_T}$CXX" >&6 | 
|  | 2311 | else | 
|  | 2312 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 2313 | echo "${ECHO_T}no" >&6 | 
|  | 2314 | fi | 
|  | 2315 |  | 
|  | 2316 | test -n "$CXX" && break | 
|  | 2317 | done | 
|  | 2318 | fi | 
|  | 2319 | if test -z "$CXX"; then | 
|  | 2320 | ac_ct_CXX=$CXX | 
|  | 2321 | for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
|  | 2322 | do | 
|  | 2323 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|  | 2324 | set dummy $ac_prog; ac_word=$2 | 
|  | 2325 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 2326 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 2327 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
|  | 2328 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2329 | else | 
|  | 2330 | if test -n "$ac_ct_CXX"; then | 
|  | 2331 | ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
|  | 2332 | else | 
|  | 2333 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 2334 | for as_dir in $PATH | 
|  | 2335 | do | 
|  | 2336 | IFS=$as_save_IFS | 
|  | 2337 | test -z "$as_dir" && as_dir=. | 
|  | 2338 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 2339 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 2340 | ac_cv_prog_ac_ct_CXX="$ac_prog" | 
|  | 2341 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 2342 | break 2 | 
|  | 2343 | fi | 
|  | 2344 | done | 
|  | 2345 | done | 
|  | 2346 |  | 
|  | 2347 | fi | 
|  | 2348 | fi | 
|  | 2349 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
|  | 2350 | if test -n "$ac_ct_CXX"; then | 
|  | 2351 | echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
|  | 2352 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
|  | 2353 | else | 
|  | 2354 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 2355 | echo "${ECHO_T}no" >&6 | 
|  | 2356 | fi | 
|  | 2357 |  | 
|  | 2358 | test -n "$ac_ct_CXX" && break | 
|  | 2359 | done | 
|  | 2360 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
|  | 2361 |  | 
|  | 2362 | CXX=$ac_ct_CXX | 
|  | 2363 | fi | 
|  | 2364 |  | 
|  | 2365 |  | 
|  | 2366 | # Provide some information about the compiler. | 
|  | 2367 | echo "$as_me:$LINENO:" \ | 
|  | 2368 | "checking for C++ compiler version" >&5 | 
|  | 2369 | ac_compiler=`set X $ac_compile; echo $2` | 
|  | 2370 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|  | 2371 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|  | 2372 | ac_status=$? | 
|  | 2373 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2374 | (exit $ac_status); } | 
|  | 2375 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|  | 2376 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|  | 2377 | ac_status=$? | 
|  | 2378 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2379 | (exit $ac_status); } | 
|  | 2380 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|  | 2381 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|  | 2382 | ac_status=$? | 
|  | 2383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2384 | (exit $ac_status); } | 
|  | 2385 |  | 
|  | 2386 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2387 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2388 | /* confdefs.h.  */ | 
|  | 2389 | _ACEOF | 
|  | 2390 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2391 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2392 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2393 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2394 | int | 
|  | 2395 | main () | 
|  | 2396 | { | 
|  | 2397 |  | 
|  | 2398 | ; | 
|  | 2399 | return 0; | 
|  | 2400 | } | 
|  | 2401 | _ACEOF | 
|  | 2402 | ac_clean_files_save=$ac_clean_files | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2403 | ac_clean_files="$ac_clean_files a.out a.exe b.out" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2404 | # Try to create an executable without -o first, disregard a.out. | 
|  | 2405 | # It will help us diagnose broken compilers, and finding out an intuition | 
|  | 2406 | # of exeext. | 
|  | 2407 | echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 | 
|  | 2408 | echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 | 
|  | 2409 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
|  | 2410 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
|  | 2411 | (eval $ac_link_default) 2>&5 | 
|  | 2412 | ac_status=$? | 
|  | 2413 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2414 | (exit $ac_status); }; then | 
|  | 2415 | # Find the output, starting from the most likely.  This scheme is | 
|  | 2416 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
|  | 2417 | # resort. | 
|  | 2418 |  | 
|  | 2419 | # Be careful to initialize this variable, since it used to be cached. | 
|  | 2420 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
|  | 2421 | ac_cv_exeext= | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2422 | # b.out is created by i960 compilers. | 
|  | 2423 | for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out | 
|  | 2424 | do | 
|  | 2425 | test -f "$ac_file" || continue | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2426 | case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2427 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) | 
|  | 2428 | ;; | 
|  | 2429 | conftest.$ac_ext ) | 
|  | 2430 | # This is the source file. | 
|  | 2431 | ;; | 
|  | 2432 | [ab].out ) | 
|  | 2433 | # We found the default executable, but exeext='' is most | 
|  | 2434 | # certainly right. | 
|  | 2435 | break;; | 
|  | 2436 | *.* ) | 
|  | 2437 | ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|  | 2438 | # FIXME: I believe we export ac_cv_exeext for Libtool, | 
|  | 2439 | # but it would be cool to find out if it's true.  Does anybody | 
|  | 2440 | # maintain Libtool? --akim. | 
|  | 2441 | export ac_cv_exeext | 
|  | 2442 | break;; | 
|  | 2443 | * ) | 
|  | 2444 | break;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2445 | esac | 
|  | 2446 | done | 
|  | 2447 | else | 
|  | 2448 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2449 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 2450 |  | 
|  | 2451 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables | 
|  | 2452 | See \`config.log' for more details." >&5 | 
|  | 2453 | echo "$as_me: error: C++ compiler cannot create executables | 
|  | 2454 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2455 | { (exit 77); exit 77; }; } | 
|  | 2456 | fi | 
|  | 2457 |  | 
|  | 2458 | ac_exeext=$ac_cv_exeext | 
|  | 2459 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
|  | 2460 | echo "${ECHO_T}$ac_file" >&6 | 
|  | 2461 |  | 
|  | 2462 | # Check the compiler produces executables we can run.  If not, either | 
|  | 2463 | # the compiler is broken, or we cross compile. | 
|  | 2464 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
|  | 2465 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
|  | 2466 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
|  | 2467 | # If not cross compiling, check that we can run a simple program. | 
|  | 2468 | if test "$cross_compiling" != yes; then | 
|  | 2469 | if { ac_try='./$ac_file' | 
|  | 2470 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 2471 | (eval $ac_try) 2>&5 | 
|  | 2472 | ac_status=$? | 
|  | 2473 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2474 | (exit $ac_status); }; }; then | 
|  | 2475 | cross_compiling=no | 
|  | 2476 | else | 
|  | 2477 | if test "$cross_compiling" = maybe; then | 
|  | 2478 | cross_compiling=yes | 
|  | 2479 | else | 
|  | 2480 | { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2481 | If you meant to cross compile, use \`--host'. | 
|  | 2482 | See \`config.log' for more details." >&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2483 | echo "$as_me: error: cannot run C++ compiled programs. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2484 | If you meant to cross compile, use \`--host'. | 
|  | 2485 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2486 | { (exit 1); exit 1; }; } | 
|  | 2487 | fi | 
|  | 2488 | fi | 
|  | 2489 | fi | 
|  | 2490 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 2491 | echo "${ECHO_T}yes" >&6 | 
|  | 2492 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2493 | rm -f a.out a.exe conftest$ac_cv_exeext b.out | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2494 | ac_clean_files=$ac_clean_files_save | 
|  | 2495 | # Check the compiler produces executables we can run.  If not, either | 
|  | 2496 | # the compiler is broken, or we cross compile. | 
|  | 2497 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
|  | 2498 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
|  | 2499 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
|  | 2500 | echo "${ECHO_T}$cross_compiling" >&6 | 
|  | 2501 |  | 
|  | 2502 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
|  | 2503 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
|  | 2504 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 2505 | (eval $ac_link) 2>&5 | 
|  | 2506 | ac_status=$? | 
|  | 2507 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2508 | (exit $ac_status); }; then | 
|  | 2509 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
|  | 2510 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
|  | 2511 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
|  | 2512 | # `rm'. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2513 | for ac_file in conftest.exe conftest conftest.*; do | 
|  | 2514 | test -f "$ac_file" || continue | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2515 | case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2516 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2517 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
|  | 2518 | export ac_cv_exeext | 
|  | 2519 | break;; | 
|  | 2520 | * ) break;; | 
|  | 2521 | esac | 
|  | 2522 | done | 
|  | 2523 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2524 | { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link | 
|  | 2525 | See \`config.log' for more details." >&5 | 
|  | 2526 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link | 
|  | 2527 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2528 | { (exit 1); exit 1; }; } | 
|  | 2529 | fi | 
|  | 2530 |  | 
|  | 2531 | rm -f conftest$ac_cv_exeext | 
|  | 2532 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
|  | 2533 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
|  | 2534 |  | 
|  | 2535 | rm -f conftest.$ac_ext | 
|  | 2536 | EXEEXT=$ac_cv_exeext | 
|  | 2537 | ac_exeext=$EXEEXT | 
|  | 2538 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
|  | 2539 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
|  | 2540 | if test "${ac_cv_objext+set}" = set; then | 
|  | 2541 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2542 | else | 
|  | 2543 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2544 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2545 | /* confdefs.h.  */ | 
|  | 2546 | _ACEOF | 
|  | 2547 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2548 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2549 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2550 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2551 | int | 
|  | 2552 | main () | 
|  | 2553 | { | 
|  | 2554 |  | 
|  | 2555 | ; | 
|  | 2556 | return 0; | 
|  | 2557 | } | 
|  | 2558 | _ACEOF | 
|  | 2559 | rm -f conftest.o conftest.obj | 
|  | 2560 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 2561 | (eval $ac_compile) 2>&5 | 
|  | 2562 | ac_status=$? | 
|  | 2563 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2564 | (exit $ac_status); }; then | 
|  | 2565 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
|  | 2566 | case $ac_file in | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2567 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2568 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
|  | 2569 | break;; | 
|  | 2570 | esac | 
|  | 2571 | done | 
|  | 2572 | else | 
|  | 2573 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2574 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 2575 |  | 
|  | 2576 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile | 
|  | 2577 | See \`config.log' for more details." >&5 | 
|  | 2578 | echo "$as_me: error: cannot compute suffix of object files: cannot compile | 
|  | 2579 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2580 | { (exit 1); exit 1; }; } | 
|  | 2581 | fi | 
|  | 2582 |  | 
|  | 2583 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
|  | 2584 | fi | 
|  | 2585 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
|  | 2586 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
|  | 2587 | OBJEXT=$ac_cv_objext | 
|  | 2588 | ac_objext=$OBJEXT | 
|  | 2589 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
|  | 2590 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
|  | 2591 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
|  | 2592 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2593 | else | 
|  | 2594 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2595 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2596 | /* confdefs.h.  */ | 
|  | 2597 | _ACEOF | 
|  | 2598 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2599 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2600 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2601 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2602 | int | 
|  | 2603 | main () | 
|  | 2604 | { | 
|  | 2605 | #ifndef __GNUC__ | 
|  | 2606 | choke me | 
|  | 2607 | #endif | 
|  | 2608 |  | 
|  | 2609 | ; | 
|  | 2610 | return 0; | 
|  | 2611 | } | 
|  | 2612 | _ACEOF | 
|  | 2613 | rm -f conftest.$ac_objext | 
|  | 2614 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 2615 | (eval $ac_compile) 2>&5 | 
|  | 2616 | ac_status=$? | 
|  | 2617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2618 | (exit $ac_status); } && | 
|  | 2619 | { ac_try='test -s conftest.$ac_objext' | 
|  | 2620 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 2621 | (eval $ac_try) 2>&5 | 
|  | 2622 | ac_status=$? | 
|  | 2623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2624 | (exit $ac_status); }; }; then | 
|  | 2625 | ac_compiler_gnu=yes | 
|  | 2626 | else | 
|  | 2627 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2628 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 2629 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2630 | ac_compiler_gnu=no | 
|  | 2631 | fi | 
|  | 2632 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 2633 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
|  | 2634 |  | 
|  | 2635 | fi | 
|  | 2636 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
|  | 2637 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
|  | 2638 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
|  | 2639 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
|  | 2640 | ac_save_CXXFLAGS=$CXXFLAGS | 
|  | 2641 | CXXFLAGS="-g" | 
|  | 2642 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
|  | 2643 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
|  | 2644 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
|  | 2645 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2646 | else | 
|  | 2647 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2648 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2649 | /* confdefs.h.  */ | 
|  | 2650 | _ACEOF | 
|  | 2651 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2652 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2653 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2654 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2655 | int | 
|  | 2656 | main () | 
|  | 2657 | { | 
|  | 2658 |  | 
|  | 2659 | ; | 
|  | 2660 | return 0; | 
|  | 2661 | } | 
|  | 2662 | _ACEOF | 
|  | 2663 | rm -f conftest.$ac_objext | 
|  | 2664 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 2665 | (eval $ac_compile) 2>&5 | 
|  | 2666 | ac_status=$? | 
|  | 2667 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2668 | (exit $ac_status); } && | 
|  | 2669 | { ac_try='test -s conftest.$ac_objext' | 
|  | 2670 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 2671 | (eval $ac_try) 2>&5 | 
|  | 2672 | ac_status=$? | 
|  | 2673 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2674 | (exit $ac_status); }; }; then | 
|  | 2675 | ac_cv_prog_cxx_g=yes | 
|  | 2676 | else | 
|  | 2677 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2678 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 2679 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2680 | ac_cv_prog_cxx_g=no | 
|  | 2681 | fi | 
|  | 2682 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 2683 | fi | 
|  | 2684 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
|  | 2685 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
|  | 2686 | if test "$ac_test_CXXFLAGS" = set; then | 
|  | 2687 | CXXFLAGS=$ac_save_CXXFLAGS | 
|  | 2688 | elif test $ac_cv_prog_cxx_g = yes; then | 
|  | 2689 | if test "$GXX" = yes; then | 
|  | 2690 | CXXFLAGS="-g -O2" | 
|  | 2691 | else | 
|  | 2692 | CXXFLAGS="-g" | 
|  | 2693 | fi | 
|  | 2694 | else | 
|  | 2695 | if test "$GXX" = yes; then | 
|  | 2696 | CXXFLAGS="-O2" | 
|  | 2697 | else | 
|  | 2698 | CXXFLAGS= | 
|  | 2699 | fi | 
|  | 2700 | fi | 
|  | 2701 | for ac_declaration in \ | 
|  | 2702 | ''\ | 
|  | 2703 | '#include <stdlib.h>' \ | 
|  | 2704 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|  | 2705 | 'extern "C" void std::exit (int); using std::exit;' \ | 
|  | 2706 | 'extern "C" void exit (int) throw ();' \ | 
|  | 2707 | 'extern "C" void exit (int);' \ | 
|  | 2708 | 'void exit (int);' | 
|  | 2709 | do | 
|  | 2710 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2711 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2712 | /* confdefs.h.  */ | 
|  | 2713 | _ACEOF | 
|  | 2714 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2715 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2716 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2717 | #include <stdlib.h> | 
|  | 2718 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2719 | int | 
|  | 2720 | main () | 
|  | 2721 | { | 
|  | 2722 | exit (42); | 
|  | 2723 | ; | 
|  | 2724 | return 0; | 
|  | 2725 | } | 
|  | 2726 | _ACEOF | 
|  | 2727 | rm -f conftest.$ac_objext | 
|  | 2728 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 2729 | (eval $ac_compile) 2>&5 | 
|  | 2730 | ac_status=$? | 
|  | 2731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2732 | (exit $ac_status); } && | 
|  | 2733 | { ac_try='test -s conftest.$ac_objext' | 
|  | 2734 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 2735 | (eval $ac_try) 2>&5 | 
|  | 2736 | ac_status=$? | 
|  | 2737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2738 | (exit $ac_status); }; }; then | 
|  | 2739 | : | 
|  | 2740 | else | 
|  | 2741 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2742 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 2743 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2744 | continue | 
|  | 2745 | fi | 
|  | 2746 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 2747 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2748 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2749 | /* confdefs.h.  */ | 
|  | 2750 | _ACEOF | 
|  | 2751 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2752 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2753 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2754 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2755 | int | 
|  | 2756 | main () | 
|  | 2757 | { | 
|  | 2758 | exit (42); | 
|  | 2759 | ; | 
|  | 2760 | return 0; | 
|  | 2761 | } | 
|  | 2762 | _ACEOF | 
|  | 2763 | rm -f conftest.$ac_objext | 
|  | 2764 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 2765 | (eval $ac_compile) 2>&5 | 
|  | 2766 | ac_status=$? | 
|  | 2767 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2768 | (exit $ac_status); } && | 
|  | 2769 | { ac_try='test -s conftest.$ac_objext' | 
|  | 2770 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 2771 | (eval $ac_try) 2>&5 | 
|  | 2772 | ac_status=$? | 
|  | 2773 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2774 | (exit $ac_status); }; }; then | 
|  | 2775 | break | 
|  | 2776 | else | 
|  | 2777 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2778 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 2779 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2780 | fi | 
|  | 2781 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 2782 | done | 
|  | 2783 | rm -f conftest* | 
|  | 2784 | if test -n "$ac_declaration"; then | 
|  | 2785 | echo '#ifdef __cplusplus' >>confdefs.h | 
|  | 2786 | echo $ac_declaration      >>confdefs.h | 
|  | 2787 | echo '#endif'             >>confdefs.h | 
|  | 2788 | fi | 
|  | 2789 |  | 
|  | 2790 | ac_ext=c | 
|  | 2791 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 2792 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 2793 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 2794 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 2795 |  | 
|  | 2796 | ac_ext=c | 
|  | 2797 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 2798 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 2799 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 2800 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 2801 | if test -n "$ac_tool_prefix"; then | 
|  | 2802 | for ac_prog in gcc | 
|  | 2803 | do | 
|  | 2804 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|  | 2805 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|  | 2806 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 2807 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 2808 | if test "${ac_cv_prog_CC+set}" = set; then | 
|  | 2809 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2810 | else | 
|  | 2811 | if test -n "$CC"; then | 
|  | 2812 | ac_cv_prog_CC="$CC" # Let the user override the test. | 
|  | 2813 | else | 
|  | 2814 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 2815 | for as_dir in $PATH | 
|  | 2816 | do | 
|  | 2817 | IFS=$as_save_IFS | 
|  | 2818 | test -z "$as_dir" && as_dir=. | 
|  | 2819 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 2820 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 2821 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
|  | 2822 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 2823 | break 2 | 
|  | 2824 | fi | 
|  | 2825 | done | 
|  | 2826 | done | 
|  | 2827 |  | 
|  | 2828 | fi | 
|  | 2829 | fi | 
|  | 2830 | CC=$ac_cv_prog_CC | 
|  | 2831 | if test -n "$CC"; then | 
|  | 2832 | echo "$as_me:$LINENO: result: $CC" >&5 | 
|  | 2833 | echo "${ECHO_T}$CC" >&6 | 
|  | 2834 | else | 
|  | 2835 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 2836 | echo "${ECHO_T}no" >&6 | 
|  | 2837 | fi | 
|  | 2838 |  | 
|  | 2839 | test -n "$CC" && break | 
|  | 2840 | done | 
|  | 2841 | fi | 
|  | 2842 | if test -z "$CC"; then | 
|  | 2843 | ac_ct_CC=$CC | 
|  | 2844 | for ac_prog in gcc | 
|  | 2845 | do | 
|  | 2846 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|  | 2847 | set dummy $ac_prog; ac_word=$2 | 
|  | 2848 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 2849 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 2850 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
|  | 2851 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2852 | else | 
|  | 2853 | if test -n "$ac_ct_CC"; then | 
|  | 2854 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
|  | 2855 | else | 
|  | 2856 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 2857 | for as_dir in $PATH | 
|  | 2858 | do | 
|  | 2859 | IFS=$as_save_IFS | 
|  | 2860 | test -z "$as_dir" && as_dir=. | 
|  | 2861 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 2862 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 2863 | ac_cv_prog_ac_ct_CC="$ac_prog" | 
|  | 2864 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 2865 | break 2 | 
|  | 2866 | fi | 
|  | 2867 | done | 
|  | 2868 | done | 
|  | 2869 |  | 
|  | 2870 | fi | 
|  | 2871 | fi | 
|  | 2872 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
|  | 2873 | if test -n "$ac_ct_CC"; then | 
|  | 2874 | echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
|  | 2875 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
|  | 2876 | else | 
|  | 2877 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 2878 | echo "${ECHO_T}no" >&6 | 
|  | 2879 | fi | 
|  | 2880 |  | 
|  | 2881 | test -n "$ac_ct_CC" && break | 
|  | 2882 | done | 
|  | 2883 |  | 
|  | 2884 | CC=$ac_ct_CC | 
|  | 2885 | fi | 
|  | 2886 |  | 
|  | 2887 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2888 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH | 
|  | 2889 | See \`config.log' for more details." >&5 | 
|  | 2890 | echo "$as_me: error: no acceptable C compiler found in \$PATH | 
|  | 2891 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2892 | { (exit 1); exit 1; }; } | 
|  | 2893 |  | 
|  | 2894 | # Provide some information about the compiler. | 
|  | 2895 | echo "$as_me:$LINENO:" \ | 
|  | 2896 | "checking for C compiler version" >&5 | 
|  | 2897 | ac_compiler=`set X $ac_compile; echo $2` | 
|  | 2898 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|  | 2899 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|  | 2900 | ac_status=$? | 
|  | 2901 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2902 | (exit $ac_status); } | 
|  | 2903 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|  | 2904 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|  | 2905 | ac_status=$? | 
|  | 2906 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2907 | (exit $ac_status); } | 
|  | 2908 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|  | 2909 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|  | 2910 | ac_status=$? | 
|  | 2911 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2912 | (exit $ac_status); } | 
|  | 2913 |  | 
|  | 2914 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
|  | 2915 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
|  | 2916 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
|  | 2917 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2918 | else | 
|  | 2919 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2920 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2921 | /* confdefs.h.  */ | 
|  | 2922 | _ACEOF | 
|  | 2923 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2924 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2925 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2926 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2927 | int | 
|  | 2928 | main () | 
|  | 2929 | { | 
|  | 2930 | #ifndef __GNUC__ | 
|  | 2931 | choke me | 
|  | 2932 | #endif | 
|  | 2933 |  | 
|  | 2934 | ; | 
|  | 2935 | return 0; | 
|  | 2936 | } | 
|  | 2937 | _ACEOF | 
|  | 2938 | rm -f conftest.$ac_objext | 
|  | 2939 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 2940 | (eval $ac_compile) 2>&5 | 
|  | 2941 | ac_status=$? | 
|  | 2942 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2943 | (exit $ac_status); } && | 
|  | 2944 | { ac_try='test -s conftest.$ac_objext' | 
|  | 2945 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 2946 | (eval $ac_try) 2>&5 | 
|  | 2947 | ac_status=$? | 
|  | 2948 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2949 | (exit $ac_status); }; }; then | 
|  | 2950 | ac_compiler_gnu=yes | 
|  | 2951 | else | 
|  | 2952 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2953 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 2954 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2955 | ac_compiler_gnu=no | 
|  | 2956 | fi | 
|  | 2957 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 2958 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
|  | 2959 |  | 
|  | 2960 | fi | 
|  | 2961 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
|  | 2962 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
|  | 2963 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
|  | 2964 | ac_test_CFLAGS=${CFLAGS+set} | 
|  | 2965 | ac_save_CFLAGS=$CFLAGS | 
|  | 2966 | CFLAGS="-g" | 
|  | 2967 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
|  | 2968 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
|  | 2969 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
|  | 2970 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 2971 | else | 
|  | 2972 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 2973 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 2974 | /* confdefs.h.  */ | 
|  | 2975 | _ACEOF | 
|  | 2976 | cat confdefs.h >>conftest.$ac_ext | 
|  | 2977 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 2978 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2979 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 2980 | int | 
|  | 2981 | main () | 
|  | 2982 | { | 
|  | 2983 |  | 
|  | 2984 | ; | 
|  | 2985 | return 0; | 
|  | 2986 | } | 
|  | 2987 | _ACEOF | 
|  | 2988 | rm -f conftest.$ac_objext | 
|  | 2989 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 2990 | (eval $ac_compile) 2>&5 | 
|  | 2991 | ac_status=$? | 
|  | 2992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2993 | (exit $ac_status); } && | 
|  | 2994 | { ac_try='test -s conftest.$ac_objext' | 
|  | 2995 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 2996 | (eval $ac_try) 2>&5 | 
|  | 2997 | ac_status=$? | 
|  | 2998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 2999 | (exit $ac_status); }; }; then | 
|  | 3000 | ac_cv_prog_cc_g=yes | 
|  | 3001 | else | 
|  | 3002 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3003 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3004 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3005 | ac_cv_prog_cc_g=no | 
|  | 3006 | fi | 
|  | 3007 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 3008 | fi | 
|  | 3009 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
|  | 3010 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
|  | 3011 | if test "$ac_test_CFLAGS" = set; then | 
|  | 3012 | CFLAGS=$ac_save_CFLAGS | 
|  | 3013 | elif test $ac_cv_prog_cc_g = yes; then | 
|  | 3014 | if test "$GCC" = yes; then | 
|  | 3015 | CFLAGS="-g -O2" | 
|  | 3016 | else | 
|  | 3017 | CFLAGS="-g" | 
|  | 3018 | fi | 
|  | 3019 | else | 
|  | 3020 | if test "$GCC" = yes; then | 
|  | 3021 | CFLAGS="-O2" | 
|  | 3022 | else | 
|  | 3023 | CFLAGS= | 
|  | 3024 | fi | 
|  | 3025 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3026 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
|  | 3027 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
|  | 3028 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
|  | 3029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3030 | else | 
|  | 3031 | ac_cv_prog_cc_stdc=no | 
|  | 3032 | ac_save_CC=$CC | 
|  | 3033 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3034 | #line $LINENO "configure" | 
|  | 3035 | /* confdefs.h.  */ | 
|  | 3036 | _ACEOF | 
|  | 3037 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3038 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3039 | /* end confdefs.h.  */ | 
|  | 3040 | #include <stdarg.h> | 
|  | 3041 | #include <stdio.h> | 
|  | 3042 | #include <sys/types.h> | 
|  | 3043 | #include <sys/stat.h> | 
|  | 3044 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
|  | 3045 | struct buf { int x; }; | 
|  | 3046 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
|  | 3047 | static char *e (p, i) | 
|  | 3048 | char **p; | 
|  | 3049 | int i; | 
|  | 3050 | { | 
|  | 3051 | return p[i]; | 
|  | 3052 | } | 
|  | 3053 | static char *f (char * (*g) (char **, int), char **p, ...) | 
|  | 3054 | { | 
|  | 3055 | char *s; | 
|  | 3056 | va_list v; | 
|  | 3057 | va_start (v,p); | 
|  | 3058 | s = g (p, va_arg (v,int)); | 
|  | 3059 | va_end (v); | 
|  | 3060 | return s; | 
|  | 3061 | } | 
|  | 3062 | int test (int i, double x); | 
|  | 3063 | struct s1 {int (*f) (int a);}; | 
|  | 3064 | struct s2 {int (*f) (double a);}; | 
|  | 3065 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
|  | 3066 | int argc; | 
|  | 3067 | char **argv; | 
|  | 3068 | int | 
|  | 3069 | main () | 
|  | 3070 | { | 
|  | 3071 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
|  | 3072 | ; | 
|  | 3073 | return 0; | 
|  | 3074 | } | 
|  | 3075 | _ACEOF | 
|  | 3076 | # Don't try gcc -ansi; that turns off useful extensions and | 
|  | 3077 | # breaks some systems' header files. | 
|  | 3078 | # AIX			-qlanglvl=ansi | 
|  | 3079 | # Ultrix and OSF/1	-std1 | 
|  | 3080 | # HP-UX 10.20 and later	-Ae | 
|  | 3081 | # HP-UX older versions	-Aa -D_HPUX_SOURCE | 
|  | 3082 | # SVR4			-Xc -D__EXTENSIONS__ | 
|  | 3083 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
|  | 3084 | do | 
|  | 3085 | CC="$ac_save_CC $ac_arg" | 
|  | 3086 | rm -f conftest.$ac_objext | 
|  | 3087 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 3088 | (eval $ac_compile) 2>&5 | 
|  | 3089 | ac_status=$? | 
|  | 3090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3091 | (exit $ac_status); } && | 
|  | 3092 | { ac_try='test -s conftest.$ac_objext' | 
|  | 3093 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 3094 | (eval $ac_try) 2>&5 | 
|  | 3095 | ac_status=$? | 
|  | 3096 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3097 | (exit $ac_status); }; }; then | 
|  | 3098 | ac_cv_prog_cc_stdc=$ac_arg | 
|  | 3099 | break | 
|  | 3100 | else | 
|  | 3101 | echo "$as_me: failed program was:" >&5 | 
|  | 3102 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3103 |  | 
|  | 3104 | fi | 
|  | 3105 | rm -f conftest.$ac_objext | 
|  | 3106 | done | 
|  | 3107 | rm -f conftest.$ac_ext conftest.$ac_objext | 
|  | 3108 | CC=$ac_save_CC | 
|  | 3109 |  | 
|  | 3110 | fi | 
|  | 3111 |  | 
|  | 3112 | case "x$ac_cv_prog_cc_stdc" in | 
|  | 3113 | x|xno) | 
|  | 3114 | echo "$as_me:$LINENO: result: none needed" >&5 | 
|  | 3115 | echo "${ECHO_T}none needed" >&6 ;; | 
|  | 3116 | *) | 
|  | 3117 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
|  | 3118 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
|  | 3119 | CC="$CC $ac_cv_prog_cc_stdc" ;; | 
|  | 3120 | esac | 
|  | 3121 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3122 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
|  | 3123 | # in C++ we need to declare it.  In case someone uses the same compiler | 
|  | 3124 | # for both compiling C and C++ we need to have the C++ compiler decide | 
|  | 3125 | # the declaration of exit, since it's the most demanding environment. | 
|  | 3126 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3127 | #ifndef __cplusplus | 
|  | 3128 | choke me | 
|  | 3129 | #endif | 
|  | 3130 | _ACEOF | 
|  | 3131 | rm -f conftest.$ac_objext | 
|  | 3132 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 3133 | (eval $ac_compile) 2>&5 | 
|  | 3134 | ac_status=$? | 
|  | 3135 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3136 | (exit $ac_status); } && | 
|  | 3137 | { ac_try='test -s conftest.$ac_objext' | 
|  | 3138 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 3139 | (eval $ac_try) 2>&5 | 
|  | 3140 | ac_status=$? | 
|  | 3141 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3142 | (exit $ac_status); }; }; then | 
|  | 3143 | for ac_declaration in \ | 
|  | 3144 | ''\ | 
|  | 3145 | '#include <stdlib.h>' \ | 
|  | 3146 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
|  | 3147 | 'extern "C" void std::exit (int); using std::exit;' \ | 
|  | 3148 | 'extern "C" void exit (int) throw ();' \ | 
|  | 3149 | 'extern "C" void exit (int);' \ | 
|  | 3150 | 'void exit (int);' | 
|  | 3151 | do | 
|  | 3152 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3153 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3154 | /* confdefs.h.  */ | 
|  | 3155 | _ACEOF | 
|  | 3156 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3157 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3158 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3159 | #include <stdlib.h> | 
|  | 3160 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3161 | int | 
|  | 3162 | main () | 
|  | 3163 | { | 
|  | 3164 | exit (42); | 
|  | 3165 | ; | 
|  | 3166 | return 0; | 
|  | 3167 | } | 
|  | 3168 | _ACEOF | 
|  | 3169 | rm -f conftest.$ac_objext | 
|  | 3170 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 3171 | (eval $ac_compile) 2>&5 | 
|  | 3172 | ac_status=$? | 
|  | 3173 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3174 | (exit $ac_status); } && | 
|  | 3175 | { ac_try='test -s conftest.$ac_objext' | 
|  | 3176 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 3177 | (eval $ac_try) 2>&5 | 
|  | 3178 | ac_status=$? | 
|  | 3179 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3180 | (exit $ac_status); }; }; then | 
|  | 3181 | : | 
|  | 3182 | else | 
|  | 3183 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3184 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3185 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3186 | continue | 
|  | 3187 | fi | 
|  | 3188 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 3189 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3190 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3191 | /* confdefs.h.  */ | 
|  | 3192 | _ACEOF | 
|  | 3193 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3194 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3195 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3196 | $ac_declaration | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3197 | int | 
|  | 3198 | main () | 
|  | 3199 | { | 
|  | 3200 | exit (42); | 
|  | 3201 | ; | 
|  | 3202 | return 0; | 
|  | 3203 | } | 
|  | 3204 | _ACEOF | 
|  | 3205 | rm -f conftest.$ac_objext | 
|  | 3206 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 3207 | (eval $ac_compile) 2>&5 | 
|  | 3208 | ac_status=$? | 
|  | 3209 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3210 | (exit $ac_status); } && | 
|  | 3211 | { ac_try='test -s conftest.$ac_objext' | 
|  | 3212 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 3213 | (eval $ac_try) 2>&5 | 
|  | 3214 | ac_status=$? | 
|  | 3215 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3216 | (exit $ac_status); }; }; then | 
|  | 3217 | break | 
|  | 3218 | else | 
|  | 3219 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3220 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3221 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3222 | fi | 
|  | 3223 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 3224 | done | 
|  | 3225 | rm -f conftest* | 
|  | 3226 | if test -n "$ac_declaration"; then | 
|  | 3227 | echo '#ifdef __cplusplus' >>confdefs.h | 
|  | 3228 | echo $ac_declaration      >>confdefs.h | 
|  | 3229 | echo '#endif'             >>confdefs.h | 
|  | 3230 | fi | 
|  | 3231 |  | 
|  | 3232 | else | 
|  | 3233 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3234 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3235 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3236 | fi | 
|  | 3237 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 3238 | ac_ext=c | 
|  | 3239 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 3240 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 3241 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 3242 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 3243 |  | 
|  | 3244 | ac_ext=c | 
|  | 3245 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 3246 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 3247 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 3248 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 3249 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
|  | 3250 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
|  | 3251 | # On Suns, sometimes $CPP names a directory. | 
|  | 3252 | if test -n "$CPP" && test -d "$CPP"; then | 
|  | 3253 | CPP= | 
|  | 3254 | fi | 
|  | 3255 | if test -z "$CPP"; then | 
|  | 3256 | if test "${ac_cv_prog_CPP+set}" = set; then | 
|  | 3257 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3258 | else | 
|  | 3259 | # Double quotes because CPP needs to be expanded | 
|  | 3260 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
|  | 3261 | do | 
|  | 3262 | ac_preproc_ok=false | 
|  | 3263 | for ac_c_preproc_warn_flag in '' yes | 
|  | 3264 | do | 
|  | 3265 | # Use a header file that comes with gcc, so configuring glibc | 
|  | 3266 | # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3267 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 3268 | # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3269 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|  | 3270 | # not just through cpp. "Syntax error" is here to catch this case. | 
|  | 3271 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3272 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3273 | /* confdefs.h.  */ | 
|  | 3274 | _ACEOF | 
|  | 3275 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3276 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3277 | /* end confdefs.h.  */ | 
|  | 3278 | #ifdef __STDC__ | 
|  | 3279 | # include <limits.h> | 
|  | 3280 | #else | 
|  | 3281 | # include <assert.h> | 
|  | 3282 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3283 | Syntax error | 
|  | 3284 | _ACEOF | 
|  | 3285 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 3286 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 3287 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3288 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3289 | rm -f conftest.er1 | 
|  | 3290 | cat conftest.err >&5 | 
|  | 3291 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3292 | (exit $ac_status); } >/dev/null; then | 
|  | 3293 | if test -s conftest.err; then | 
|  | 3294 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 3295 | else | 
|  | 3296 | ac_cpp_err= | 
|  | 3297 | fi | 
|  | 3298 | else | 
|  | 3299 | ac_cpp_err=yes | 
|  | 3300 | fi | 
|  | 3301 | if test -z "$ac_cpp_err"; then | 
|  | 3302 | : | 
|  | 3303 | else | 
|  | 3304 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3305 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3306 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3307 | # Broken: fails on valid input. | 
|  | 3308 | continue | 
|  | 3309 | fi | 
|  | 3310 | rm -f conftest.err conftest.$ac_ext | 
|  | 3311 |  | 
|  | 3312 | # OK, works on sane cases.  Now check whether non-existent headers | 
|  | 3313 | # can be detected and how. | 
|  | 3314 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3315 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3316 | /* confdefs.h.  */ | 
|  | 3317 | _ACEOF | 
|  | 3318 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3319 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3320 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3321 | #include <ac_nonexistent.h> | 
|  | 3322 | _ACEOF | 
|  | 3323 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 3324 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 3325 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3326 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3327 | rm -f conftest.er1 | 
|  | 3328 | cat conftest.err >&5 | 
|  | 3329 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3330 | (exit $ac_status); } >/dev/null; then | 
|  | 3331 | if test -s conftest.err; then | 
|  | 3332 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 3333 | else | 
|  | 3334 | ac_cpp_err= | 
|  | 3335 | fi | 
|  | 3336 | else | 
|  | 3337 | ac_cpp_err=yes | 
|  | 3338 | fi | 
|  | 3339 | if test -z "$ac_cpp_err"; then | 
|  | 3340 | # Broken: success on invalid input. | 
|  | 3341 | continue | 
|  | 3342 | else | 
|  | 3343 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3344 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3345 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3346 | # Passes both tests. | 
|  | 3347 | ac_preproc_ok=: | 
|  | 3348 | break | 
|  | 3349 | fi | 
|  | 3350 | rm -f conftest.err conftest.$ac_ext | 
|  | 3351 |  | 
|  | 3352 | done | 
|  | 3353 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|  | 3354 | rm -f conftest.err conftest.$ac_ext | 
|  | 3355 | if $ac_preproc_ok; then | 
|  | 3356 | break | 
|  | 3357 | fi | 
|  | 3358 |  | 
|  | 3359 | done | 
|  | 3360 | ac_cv_prog_CPP=$CPP | 
|  | 3361 |  | 
|  | 3362 | fi | 
|  | 3363 | CPP=$ac_cv_prog_CPP | 
|  | 3364 | else | 
|  | 3365 | ac_cv_prog_CPP=$CPP | 
|  | 3366 | fi | 
|  | 3367 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
|  | 3368 | echo "${ECHO_T}$CPP" >&6 | 
|  | 3369 | ac_preproc_ok=false | 
|  | 3370 | for ac_c_preproc_warn_flag in '' yes | 
|  | 3371 | do | 
|  | 3372 | # Use a header file that comes with gcc, so configuring glibc | 
|  | 3373 | # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3374 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 3375 | # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3376 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|  | 3377 | # not just through cpp. "Syntax error" is here to catch this case. | 
|  | 3378 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3379 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3380 | /* confdefs.h.  */ | 
|  | 3381 | _ACEOF | 
|  | 3382 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3383 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3384 | /* end confdefs.h.  */ | 
|  | 3385 | #ifdef __STDC__ | 
|  | 3386 | # include <limits.h> | 
|  | 3387 | #else | 
|  | 3388 | # include <assert.h> | 
|  | 3389 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3390 | Syntax error | 
|  | 3391 | _ACEOF | 
|  | 3392 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 3393 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 3394 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3395 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3396 | rm -f conftest.er1 | 
|  | 3397 | cat conftest.err >&5 | 
|  | 3398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3399 | (exit $ac_status); } >/dev/null; then | 
|  | 3400 | if test -s conftest.err; then | 
|  | 3401 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 3402 | else | 
|  | 3403 | ac_cpp_err= | 
|  | 3404 | fi | 
|  | 3405 | else | 
|  | 3406 | ac_cpp_err=yes | 
|  | 3407 | fi | 
|  | 3408 | if test -z "$ac_cpp_err"; then | 
|  | 3409 | : | 
|  | 3410 | else | 
|  | 3411 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3412 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3413 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3414 | # Broken: fails on valid input. | 
|  | 3415 | continue | 
|  | 3416 | fi | 
|  | 3417 | rm -f conftest.err conftest.$ac_ext | 
|  | 3418 |  | 
|  | 3419 | # OK, works on sane cases.  Now check whether non-existent headers | 
|  | 3420 | # can be detected and how. | 
|  | 3421 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3422 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3423 | /* confdefs.h.  */ | 
|  | 3424 | _ACEOF | 
|  | 3425 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3426 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3427 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3428 | #include <ac_nonexistent.h> | 
|  | 3429 | _ACEOF | 
|  | 3430 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 3431 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 3432 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3433 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3434 | rm -f conftest.er1 | 
|  | 3435 | cat conftest.err >&5 | 
|  | 3436 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3437 | (exit $ac_status); } >/dev/null; then | 
|  | 3438 | if test -s conftest.err; then | 
|  | 3439 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 3440 | else | 
|  | 3441 | ac_cpp_err= | 
|  | 3442 | fi | 
|  | 3443 | else | 
|  | 3444 | ac_cpp_err=yes | 
|  | 3445 | fi | 
|  | 3446 | if test -z "$ac_cpp_err"; then | 
|  | 3447 | # Broken: success on invalid input. | 
|  | 3448 | continue | 
|  | 3449 | else | 
|  | 3450 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3451 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3452 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3453 | # Passes both tests. | 
|  | 3454 | ac_preproc_ok=: | 
|  | 3455 | break | 
|  | 3456 | fi | 
|  | 3457 | rm -f conftest.err conftest.$ac_ext | 
|  | 3458 |  | 
|  | 3459 | done | 
|  | 3460 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|  | 3461 | rm -f conftest.err conftest.$ac_ext | 
|  | 3462 | if $ac_preproc_ok; then | 
|  | 3463 | : | 
|  | 3464 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3465 | { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check | 
|  | 3466 | See \`config.log' for more details." >&5 | 
|  | 3467 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check | 
|  | 3468 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3469 | { (exit 1); exit 1; }; } | 
|  | 3470 | fi | 
|  | 3471 |  | 
|  | 3472 | ac_ext=c | 
|  | 3473 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 3474 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 3475 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 3476 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 3477 |  | 
|  | 3478 |  | 
|  | 3479 | if test "$GCC" != "yes" | 
|  | 3480 | then | 
|  | 3481 | { { echo "$as_me:$LINENO: error: gcc required but not found" >&5 | 
|  | 3482 | echo "$as_me: error: gcc required but not found" >&2;} | 
|  | 3483 | { (exit 1); exit 1; }; } | 
|  | 3484 | fi | 
|  | 3485 |  | 
|  | 3486 | if test "$GXX" != "yes" | 
|  | 3487 | then | 
|  | 3488 | { { echo "$as_me:$LINENO: error: g++ required but not found" >&5 | 
|  | 3489 | echo "$as_me: error: g++ required but not found" >&2;} | 
|  | 3490 | { (exit 1); exit 1; }; } | 
|  | 3491 | fi | 
|  | 3492 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 3493 | gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1` | 
|  | 3494 | if test "$gccmajor" -lt "3" | 
|  | 3495 | then | 
|  | 3496 | { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5 | 
|  | 3497 | echo "$as_me: error: gcc 3.x required" >&2;} | 
|  | 3498 | { (exit 1); exit 1; }; } | 
|  | 3499 | fi | 
|  | 3500 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3501 | echo "$as_me:$LINENO: checking for GNU make" >&5 | 
|  | 3502 | echo $ECHO_N "checking for GNU make... $ECHO_C" >&6 | 
|  | 3503 | if test "${_cv_gnu_make_command+set}" = set; then | 
|  | 3504 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3505 | else | 
|  | 3506 | _cv_gnu_make_command='' ; | 
|  | 3507 | for a in "$MAKE" make gmake gnumake ; do | 
|  | 3508 | if test -z "$a" ; then continue ; fi ; | 
|  | 3509 | if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then | 
|  | 3510 | _cv_gnu_make_command=$a ; | 
|  | 3511 | break; | 
|  | 3512 | fi | 
|  | 3513 | done ; | 
|  | 3514 |  | 
|  | 3515 | fi | 
|  | 3516 | echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5 | 
|  | 3517 | echo "${ECHO_T}$_cv_gnu_make_command" >&6 ; | 
|  | 3518 | if test  "x$_cv_gnu_make_command" != "x"  ; then | 
|  | 3519 | ifGNUmake='' ; | 
|  | 3520 | else | 
|  | 3521 | ifGNUmake='#' ; | 
|  | 3522 | echo "$as_me:$LINENO: result: \"Not found\"" >&5 | 
|  | 3523 | echo "${ECHO_T}\"Not found\"" >&6; | 
|  | 3524 | fi | 
|  | 3525 |  | 
|  | 3526 |  | 
|  | 3527 | if test -z "$_cv_gnu_make_command" | 
|  | 3528 | then | 
|  | 3529 | { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5 | 
|  | 3530 | echo "$as_me: error: GNU Make required but not found" >&2;} | 
|  | 3531 | { (exit 1); exit 1; }; } | 
|  | 3532 | fi | 
|  | 3533 |  | 
|  | 3534 |  | 
|  | 3535 | echo "$as_me:$LINENO: checking " >&5 | 
|  | 3536 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
|  | 3537 | if test "${ac_cv_has_flex+set}" = set; then | 
|  | 3538 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3539 | else | 
|  | 3540 | for ac_prog in flex lex | 
|  | 3541 | do | 
|  | 3542 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|  | 3543 | set dummy $ac_prog; ac_word=$2 | 
|  | 3544 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 3545 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 3546 | if test "${ac_cv_prog_LEX+set}" = set; then | 
|  | 3547 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3548 | else | 
|  | 3549 | if test -n "$LEX"; then | 
|  | 3550 | ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
|  | 3551 | else | 
|  | 3552 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 3553 | for as_dir in $PATH | 
|  | 3554 | do | 
|  | 3555 | IFS=$as_save_IFS | 
|  | 3556 | test -z "$as_dir" && as_dir=. | 
|  | 3557 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 3558 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 3559 | ac_cv_prog_LEX="$ac_prog" | 
|  | 3560 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 3561 | break 2 | 
|  | 3562 | fi | 
|  | 3563 | done | 
|  | 3564 | done | 
|  | 3565 |  | 
|  | 3566 | fi | 
|  | 3567 | fi | 
|  | 3568 | LEX=$ac_cv_prog_LEX | 
|  | 3569 | if test -n "$LEX"; then | 
|  | 3570 | echo "$as_me:$LINENO: result: $LEX" >&5 | 
|  | 3571 | echo "${ECHO_T}$LEX" >&6 | 
|  | 3572 | else | 
|  | 3573 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 3574 | echo "${ECHO_T}no" >&6 | 
|  | 3575 | fi | 
|  | 3576 |  | 
|  | 3577 | test -n "$LEX" && break | 
|  | 3578 | done | 
|  | 3579 | test -n "$LEX" || LEX=":" | 
|  | 3580 |  | 
|  | 3581 | if test -z "$LEXLIB" | 
|  | 3582 | then | 
|  | 3583 | echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 | 
|  | 3584 | echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 | 
|  | 3585 | if test "${ac_cv_lib_fl_yywrap+set}" = set; then | 
|  | 3586 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3587 | else | 
|  | 3588 | ac_check_lib_save_LIBS=$LIBS | 
|  | 3589 | LIBS="-lfl  $LIBS" | 
|  | 3590 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3591 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3592 | /* confdefs.h.  */ | 
|  | 3593 | _ACEOF | 
|  | 3594 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3595 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3596 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3597 |  | 
|  | 3598 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 3599 | #ifdef __cplusplus | 
|  | 3600 | extern "C" | 
|  | 3601 | #endif | 
|  | 3602 | /* We use char because int might match the return type of a gcc2 | 
|  | 3603 | builtin and then its argument prototype would still apply.  */ | 
|  | 3604 | char yywrap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3605 | int | 
|  | 3606 | main () | 
|  | 3607 | { | 
|  | 3608 | yywrap (); | 
|  | 3609 | ; | 
|  | 3610 | return 0; | 
|  | 3611 | } | 
|  | 3612 | _ACEOF | 
|  | 3613 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 3614 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 3615 | (eval $ac_link) 2>&5 | 
|  | 3616 | ac_status=$? | 
|  | 3617 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3618 | (exit $ac_status); } && | 
|  | 3619 | { ac_try='test -s conftest$ac_exeext' | 
|  | 3620 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 3621 | (eval $ac_try) 2>&5 | 
|  | 3622 | ac_status=$? | 
|  | 3623 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3624 | (exit $ac_status); }; }; then | 
|  | 3625 | ac_cv_lib_fl_yywrap=yes | 
|  | 3626 | else | 
|  | 3627 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3628 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3629 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3630 | ac_cv_lib_fl_yywrap=no | 
|  | 3631 | fi | 
|  | 3632 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 3633 | LIBS=$ac_check_lib_save_LIBS | 
|  | 3634 | fi | 
|  | 3635 | echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 | 
|  | 3636 | echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 | 
|  | 3637 | if test $ac_cv_lib_fl_yywrap = yes; then | 
|  | 3638 | LEXLIB="-lfl" | 
|  | 3639 | else | 
|  | 3640 | echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 | 
|  | 3641 | echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 | 
|  | 3642 | if test "${ac_cv_lib_l_yywrap+set}" = set; then | 
|  | 3643 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3644 | else | 
|  | 3645 | ac_check_lib_save_LIBS=$LIBS | 
|  | 3646 | LIBS="-ll  $LIBS" | 
|  | 3647 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3648 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3649 | /* confdefs.h.  */ | 
|  | 3650 | _ACEOF | 
|  | 3651 | cat confdefs.h >>conftest.$ac_ext | 
|  | 3652 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 3653 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3654 |  | 
|  | 3655 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 3656 | #ifdef __cplusplus | 
|  | 3657 | extern "C" | 
|  | 3658 | #endif | 
|  | 3659 | /* We use char because int might match the return type of a gcc2 | 
|  | 3660 | builtin and then its argument prototype would still apply.  */ | 
|  | 3661 | char yywrap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3662 | int | 
|  | 3663 | main () | 
|  | 3664 | { | 
|  | 3665 | yywrap (); | 
|  | 3666 | ; | 
|  | 3667 | return 0; | 
|  | 3668 | } | 
|  | 3669 | _ACEOF | 
|  | 3670 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 3671 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 3672 | (eval $ac_link) 2>&5 | 
|  | 3673 | ac_status=$? | 
|  | 3674 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3675 | (exit $ac_status); } && | 
|  | 3676 | { ac_try='test -s conftest$ac_exeext' | 
|  | 3677 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 3678 | (eval $ac_try) 2>&5 | 
|  | 3679 | ac_status=$? | 
|  | 3680 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3681 | (exit $ac_status); }; }; then | 
|  | 3682 | ac_cv_lib_l_yywrap=yes | 
|  | 3683 | else | 
|  | 3684 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3685 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3686 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3687 | ac_cv_lib_l_yywrap=no | 
|  | 3688 | fi | 
|  | 3689 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 3690 | LIBS=$ac_check_lib_save_LIBS | 
|  | 3691 | fi | 
|  | 3692 | echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 | 
|  | 3693 | echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 | 
|  | 3694 | if test $ac_cv_lib_l_yywrap = yes; then | 
|  | 3695 | LEXLIB="-ll" | 
|  | 3696 | fi | 
|  | 3697 |  | 
|  | 3698 | fi | 
|  | 3699 |  | 
|  | 3700 | fi | 
|  | 3701 |  | 
|  | 3702 | if test "x$LEX" != "x:"; then | 
|  | 3703 | echo "$as_me:$LINENO: checking lex output file root" >&5 | 
|  | 3704 | echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 | 
|  | 3705 | if test "${ac_cv_prog_lex_root+set}" = set; then | 
|  | 3706 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3707 | else | 
|  | 3708 | # The minimal lex program is just a single line: %%.  But some broken lexes | 
|  | 3709 | # (Solaris, I think it was) want two %% lines, so accommodate them. | 
|  | 3710 | cat >conftest.l <<_ACEOF | 
|  | 3711 | %% | 
|  | 3712 | %% | 
|  | 3713 | _ACEOF | 
|  | 3714 | { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 | 
|  | 3715 | (eval $LEX conftest.l) 2>&5 | 
|  | 3716 | ac_status=$? | 
|  | 3717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3718 | (exit $ac_status); } | 
|  | 3719 | if test -f lex.yy.c; then | 
|  | 3720 | ac_cv_prog_lex_root=lex.yy | 
|  | 3721 | elif test -f lexyy.c; then | 
|  | 3722 | ac_cv_prog_lex_root=lexyy | 
|  | 3723 | else | 
|  | 3724 | { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 | 
|  | 3725 | echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} | 
|  | 3726 | { (exit 1); exit 1; }; } | 
|  | 3727 | fi | 
|  | 3728 | fi | 
|  | 3729 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 | 
|  | 3730 | echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 | 
|  | 3731 | rm -f conftest.l | 
|  | 3732 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
|  | 3733 |  | 
|  | 3734 | echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 | 
|  | 3735 | echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 | 
|  | 3736 | if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then | 
|  | 3737 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3738 | else | 
|  | 3739 | # POSIX says lex can declare yytext either as a pointer or an array; the | 
|  | 3740 | # default is implementation-dependent. Figure out which it is, since | 
|  | 3741 | # not all implementations provide the %pointer and %array declarations. | 
|  | 3742 | ac_cv_prog_lex_yytext_pointer=no | 
|  | 3743 | echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | 
|  | 3744 | ac_save_LIBS=$LIBS | 
|  | 3745 | LIBS="$LIBS $LEXLIB" | 
|  | 3746 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 3747 | `cat $LEX_OUTPUT_ROOT.c` | 
|  | 3748 | _ACEOF | 
|  | 3749 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 3750 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 3751 | (eval $ac_link) 2>&5 | 
|  | 3752 | ac_status=$? | 
|  | 3753 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3754 | (exit $ac_status); } && | 
|  | 3755 | { ac_try='test -s conftest$ac_exeext' | 
|  | 3756 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 3757 | (eval $ac_try) 2>&5 | 
|  | 3758 | ac_status=$? | 
|  | 3759 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 3760 | (exit $ac_status); }; }; then | 
|  | 3761 | ac_cv_prog_lex_yytext_pointer=yes | 
|  | 3762 | else | 
|  | 3763 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 3764 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 3765 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3766 | fi | 
|  | 3767 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 3768 | LIBS=$ac_save_LIBS | 
|  | 3769 | rm -f "${LEX_OUTPUT_ROOT}.c" | 
|  | 3770 |  | 
|  | 3771 | fi | 
|  | 3772 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
|  | 3773 | echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 | 
|  | 3774 | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
|  | 3775 |  | 
|  | 3776 | cat >>confdefs.h <<\_ACEOF | 
|  | 3777 | #define YYTEXT_POINTER 1 | 
|  | 3778 | _ACEOF | 
|  | 3779 |  | 
|  | 3780 | fi | 
|  | 3781 |  | 
|  | 3782 | fi | 
|  | 3783 |  | 
|  | 3784 | fi | 
|  | 3785 | echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5 | 
|  | 3786 | echo "${ECHO_T}$ac_cv_has_flex" >&6 | 
|  | 3787 | if test "$LEX" != "flex"; then | 
|  | 3788 | { { echo "$as_me:$LINENO: error: flex not found but required" >&5 | 
|  | 3789 | echo "$as_me: error: flex not found but required" >&2;} | 
|  | 3790 | { (exit 1); exit 1; }; } | 
|  | 3791 | fi | 
|  | 3792 |  | 
|  | 3793 | echo "$as_me:$LINENO: checking " >&5 | 
|  | 3794 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
|  | 3795 | if test "${ac_cv_has_bison+set}" = set; then | 
|  | 3796 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3797 | else | 
|  | 3798 | for ac_prog in 'bison -y' byacc | 
|  | 3799 | do | 
|  | 3800 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|  | 3801 | set dummy $ac_prog; ac_word=$2 | 
|  | 3802 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 3803 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 3804 | if test "${ac_cv_prog_YACC+set}" = set; then | 
|  | 3805 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3806 | else | 
|  | 3807 | if test -n "$YACC"; then | 
|  | 3808 | ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
|  | 3809 | else | 
|  | 3810 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 3811 | for as_dir in $PATH | 
|  | 3812 | do | 
|  | 3813 | IFS=$as_save_IFS | 
|  | 3814 | test -z "$as_dir" && as_dir=. | 
|  | 3815 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 3816 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 3817 | ac_cv_prog_YACC="$ac_prog" | 
|  | 3818 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 3819 | break 2 | 
|  | 3820 | fi | 
|  | 3821 | done | 
|  | 3822 | done | 
|  | 3823 |  | 
|  | 3824 | fi | 
|  | 3825 | fi | 
|  | 3826 | YACC=$ac_cv_prog_YACC | 
|  | 3827 | if test -n "$YACC"; then | 
|  | 3828 | echo "$as_me:$LINENO: result: $YACC" >&5 | 
|  | 3829 | echo "${ECHO_T}$YACC" >&6 | 
|  | 3830 | else | 
|  | 3831 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 3832 | echo "${ECHO_T}no" >&6 | 
|  | 3833 | fi | 
|  | 3834 |  | 
|  | 3835 | test -n "$YACC" && break | 
|  | 3836 | done | 
|  | 3837 | test -n "$YACC" || YACC="yacc" | 
|  | 3838 |  | 
|  | 3839 |  | 
|  | 3840 | fi | 
|  | 3841 | echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5 | 
|  | 3842 | echo "${ECHO_T}$ac_cv_has_bison" >&6 | 
|  | 3843 | if test "$YACC" != "bison -y"; then | 
|  | 3844 | { { echo "$as_me:$LINENO: error: bison not found but required" >&5 | 
|  | 3845 | echo "$as_me: error: bison not found but required" >&2;} | 
|  | 3846 | { (exit 1); exit 1; }; } | 
|  | 3847 | else | 
|  | 3848 | YACC=bison | 
|  | 3849 |  | 
|  | 3850 | fi | 
|  | 3851 |  | 
|  | 3852 |  | 
|  | 3853 | # Check whether --enable-shared or --disable-shared was given. | 
|  | 3854 | if test "${enable_shared+set}" = set; then | 
|  | 3855 | enableval="$enable_shared" | 
|  | 3856 | p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3857 | case $enableval in | 
|  | 3858 | yes) enable_shared=yes ;; | 
|  | 3859 | no) enable_shared=no ;; | 
|  | 3860 | *) | 
|  | 3861 | enable_shared=no | 
|  | 3862 | # Look at the argument we got.  We use all the common list separators. | 
|  | 3863 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
|  | 3864 | for pkg in $enableval; do | 
|  | 3865 | IFS="$lt_save_ifs" | 
|  | 3866 | if test "X$pkg" = "X$p"; then | 
|  | 3867 | enable_shared=yes | 
|  | 3868 | fi | 
|  | 3869 | done | 
|  | 3870 | IFS="$lt_save_ifs" | 
|  | 3871 | ;; | 
|  | 3872 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3873 | else | 
|  | 3874 | enable_shared=yes | 
|  | 3875 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3876 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3877 | # Check whether --enable-static or --disable-static was given. | 
|  | 3878 | if test "${enable_static+set}" = set; then | 
|  | 3879 | enableval="$enable_static" | 
|  | 3880 | p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3881 | case $enableval in | 
|  | 3882 | yes) enable_static=yes ;; | 
|  | 3883 | no) enable_static=no ;; | 
|  | 3884 | *) | 
|  | 3885 | enable_static=no | 
|  | 3886 | # Look at the argument we got.  We use all the common list separators. | 
|  | 3887 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
|  | 3888 | for pkg in $enableval; do | 
|  | 3889 | IFS="$lt_save_ifs" | 
|  | 3890 | if test "X$pkg" = "X$p"; then | 
|  | 3891 | enable_static=yes | 
|  | 3892 | fi | 
|  | 3893 | done | 
|  | 3894 | IFS="$lt_save_ifs" | 
|  | 3895 | ;; | 
|  | 3896 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3897 | else | 
|  | 3898 | enable_static=yes | 
|  | 3899 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3900 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3901 | # Check whether --enable-fast-install or --disable-fast-install was given. | 
|  | 3902 | if test "${enable_fast_install+set}" = set; then | 
|  | 3903 | enableval="$enable_fast_install" | 
|  | 3904 | p=${PACKAGE-default} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3905 | case $enableval in | 
|  | 3906 | yes) enable_fast_install=yes ;; | 
|  | 3907 | no) enable_fast_install=no ;; | 
|  | 3908 | *) | 
|  | 3909 | enable_fast_install=no | 
|  | 3910 | # Look at the argument we got.  We use all the common list separators. | 
|  | 3911 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
|  | 3912 | for pkg in $enableval; do | 
|  | 3913 | IFS="$lt_save_ifs" | 
|  | 3914 | if test "X$pkg" = "X$p"; then | 
|  | 3915 | enable_fast_install=yes | 
|  | 3916 | fi | 
|  | 3917 | done | 
|  | 3918 | IFS="$lt_save_ifs" | 
|  | 3919 | ;; | 
|  | 3920 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3921 | else | 
|  | 3922 | enable_fast_install=yes | 
|  | 3923 | fi; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3924 |  | 
|  | 3925 | echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 | 
|  | 3926 | echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6 | 
|  | 3927 | if test "${lt_cv_path_SED+set}" = set; then | 
|  | 3928 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3929 | else | 
|  | 3930 | # Loop through the user's path and test for sed and gsed. | 
|  | 3931 | # Then use that list of sed's as ones to test for truncation. | 
|  | 3932 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 3933 | for as_dir in $PATH | 
|  | 3934 | do | 
|  | 3935 | IFS=$as_save_IFS | 
|  | 3936 | test -z "$as_dir" && as_dir=. | 
|  | 3937 | for lt_ac_prog in sed gsed; do | 
|  | 3938 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 3939 | if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then | 
|  | 3940 | lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext" | 
|  | 3941 | fi | 
|  | 3942 | done | 
|  | 3943 | done | 
|  | 3944 | done | 
|  | 3945 | lt_ac_max=0 | 
|  | 3946 | lt_ac_count=0 | 
|  | 3947 | # Add /usr/xpg4/bin/sed as it is typically found on Solaris | 
|  | 3948 | # along with /bin/sed that truncates output. | 
|  | 3949 | for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do | 
|  | 3950 | test ! -f $lt_ac_sed && break | 
|  | 3951 | cat /dev/null > conftest.in | 
|  | 3952 | lt_ac_count=0 | 
|  | 3953 | echo $ECHO_N "0123456789$ECHO_C" >conftest.in | 
|  | 3954 | # Check for GNU sed and select it if it is found. | 
|  | 3955 | if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then | 
|  | 3956 | lt_cv_path_SED=$lt_ac_sed | 
|  | 3957 | break | 
|  | 3958 | fi | 
|  | 3959 | while true; do | 
|  | 3960 | cat conftest.in conftest.in >conftest.tmp | 
|  | 3961 | mv conftest.tmp conftest.in | 
|  | 3962 | cp conftest.in conftest.nl | 
|  | 3963 | echo >>conftest.nl | 
|  | 3964 | $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break | 
|  | 3965 | cmp -s conftest.out conftest.nl || break | 
|  | 3966 | # 10000 chars as input seems more than enough | 
|  | 3967 | test $lt_ac_count -gt 10 && break | 
|  | 3968 | lt_ac_count=`expr $lt_ac_count + 1` | 
|  | 3969 | if test $lt_ac_count -gt $lt_ac_max; then | 
|  | 3970 | lt_ac_max=$lt_ac_count | 
|  | 3971 | lt_cv_path_SED=$lt_ac_sed | 
|  | 3972 | fi | 
|  | 3973 | done | 
|  | 3974 | done | 
|  | 3975 | SED=$lt_cv_path_SED | 
|  | 3976 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3977 | fi | 
|  | 3978 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 3979 | echo "$as_me:$LINENO: result: $SED" >&5 | 
|  | 3980 | echo "${ECHO_T}$SED" >&6 | 
|  | 3981 |  | 
|  | 3982 | echo "$as_me:$LINENO: checking for egrep" >&5 | 
|  | 3983 | echo $ECHO_N "checking for egrep... $ECHO_C" >&6 | 
|  | 3984 | if test "${ac_cv_prog_egrep+set}" = set; then | 
|  | 3985 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 3986 | else | 
|  | 3987 | if echo a | (grep -E '(a|b)') >/dev/null 2>&1 | 
|  | 3988 | then ac_cv_prog_egrep='grep -E' | 
|  | 3989 | else ac_cv_prog_egrep='egrep' | 
|  | 3990 | fi | 
|  | 3991 | fi | 
|  | 3992 | echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 | 
|  | 3993 | echo "${ECHO_T}$ac_cv_prog_egrep" >&6 | 
|  | 3994 | EGREP=$ac_cv_prog_egrep | 
|  | 3995 |  | 
|  | 3996 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 3997 |  | 
|  | 3998 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
|  | 3999 | if test "${with_gnu_ld+set}" = set; then | 
|  | 4000 | withval="$with_gnu_ld" | 
|  | 4001 | test "$withval" = no || with_gnu_ld=yes | 
|  | 4002 | else | 
|  | 4003 | with_gnu_ld=no | 
|  | 4004 | fi; | 
|  | 4005 | ac_prog=ld | 
|  | 4006 | if test "$GCC" = yes; then | 
|  | 4007 | # Check if gcc -print-prog-name=ld gives a path. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4008 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 
|  | 4009 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4010 | case $host in | 
|  | 4011 | *-*-mingw*) | 
|  | 4012 | # gcc leaves a trailing carriage return which upsets mingw | 
|  | 4013 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
|  | 4014 | *) | 
|  | 4015 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
|  | 4016 | esac | 
|  | 4017 | case $ac_prog in | 
|  | 4018 | # Accept absolute paths. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4019 | [\\/]* | ?:[\\/]*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4020 | re_direlt='/[^/][^/]*/\.\./' | 
|  | 4021 | # Canonicalize the path of ld | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4022 | ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4023 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4024 | ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4025 | done | 
|  | 4026 | test -z "$LD" && LD="$ac_prog" | 
|  | 4027 | ;; | 
|  | 4028 | "") | 
|  | 4029 | # If it fails, then pretend we aren't using GCC. | 
|  | 4030 | ac_prog=ld | 
|  | 4031 | ;; | 
|  | 4032 | *) | 
|  | 4033 | # If it is relative, then search for the first ld in PATH. | 
|  | 4034 | with_gnu_ld=unknown | 
|  | 4035 | ;; | 
|  | 4036 | esac | 
|  | 4037 | elif test "$with_gnu_ld" = yes; then | 
|  | 4038 | echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
|  | 4039 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
|  | 4040 | else | 
|  | 4041 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
|  | 4042 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
|  | 4043 | fi | 
|  | 4044 | if test "${lt_cv_path_LD+set}" = set; then | 
|  | 4045 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4046 | else | 
|  | 4047 | if test -z "$LD"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4048 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4049 | for ac_dir in $PATH; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4050 | IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4051 | test -z "$ac_dir" && ac_dir=. | 
|  | 4052 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
|  | 4053 | lt_cv_path_LD="$ac_dir/$ac_prog" | 
|  | 4054 | # Check to see if the program is GNU ld.  I'd rather use --version, | 
|  | 4055 | # but apparently some GNU ld's only accept -v. | 
|  | 4056 | # Break only if it was the GNU/non-GNU ld that we prefer. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4057 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
|  | 4058 | *GNU* | *'with BFD'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4059 | test "$with_gnu_ld" != no && break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4060 | ;; | 
|  | 4061 | *) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4062 | test "$with_gnu_ld" != yes && break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4063 | ;; | 
|  | 4064 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4065 | fi | 
|  | 4066 | done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4067 | IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4068 | else | 
|  | 4069 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
|  | 4070 | fi | 
|  | 4071 | fi | 
|  | 4072 |  | 
|  | 4073 | LD="$lt_cv_path_LD" | 
|  | 4074 | if test -n "$LD"; then | 
|  | 4075 | echo "$as_me:$LINENO: result: $LD" >&5 | 
|  | 4076 | echo "${ECHO_T}$LD" >&6 | 
|  | 4077 | else | 
|  | 4078 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 4079 | echo "${ECHO_T}no" >&6 | 
|  | 4080 | fi | 
|  | 4081 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
|  | 4082 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
|  | 4083 | { (exit 1); exit 1; }; } | 
|  | 4084 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
|  | 4085 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
|  | 4086 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
|  | 4087 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4088 | else | 
|  | 4089 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4090 | case `"$LD" -v 2>&1 </dev/null` in | 
|  | 4091 | *GNU* | *'with BFD'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4092 | lt_cv_prog_gnu_ld=yes | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4093 | ;; | 
|  | 4094 | *) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4095 | lt_cv_prog_gnu_ld=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4096 | ;; | 
|  | 4097 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4098 | fi | 
|  | 4099 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
|  | 4100 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
|  | 4101 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
|  | 4102 |  | 
|  | 4103 |  | 
|  | 4104 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | 
|  | 4105 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | 
|  | 4106 | if test "${lt_cv_ld_reload_flag+set}" = set; then | 
|  | 4107 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4108 | else | 
|  | 4109 | lt_cv_ld_reload_flag='-r' | 
|  | 4110 | fi | 
|  | 4111 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | 
|  | 4112 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | 
|  | 4113 | reload_flag=$lt_cv_ld_reload_flag | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4114 | case $reload_flag in | 
|  | 4115 | "" | " "*) ;; | 
|  | 4116 | *) reload_flag=" $reload_flag" ;; | 
|  | 4117 | esac | 
|  | 4118 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4119 |  | 
|  | 4120 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | 
|  | 4121 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | 
|  | 4122 | if test "${lt_cv_path_NM+set}" = set; then | 
|  | 4123 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4124 | else | 
|  | 4125 | if test -n "$NM"; then | 
|  | 4126 | # Let the user override the test. | 
|  | 4127 | lt_cv_path_NM="$NM" | 
|  | 4128 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4129 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4130 | for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4131 | IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4132 | test -z "$ac_dir" && ac_dir=. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4133 | tmp_nm="$ac_dir/${ac_tool_prefix}nm" | 
|  | 4134 | if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4135 | # Check to see if the nm accepts a BSD-compat flag. | 
|  | 4136 | # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
|  | 4137 | #   nm: unknown option "B" ignored | 
|  | 4138 | # Tru64's nm complains that /dev/null is an invalid object file | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4139 | case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | 
|  | 4140 | */dev/null* | *'Invalid file or object type'*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4141 | lt_cv_path_NM="$tmp_nm -B" | 
|  | 4142 | break | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4143 | ;; | 
|  | 4144 | *) | 
|  | 4145 | case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 
|  | 4146 | */dev/null*) | 
|  | 4147 | lt_cv_path_NM="$tmp_nm -p" | 
|  | 4148 | break | 
|  | 4149 | ;; | 
|  | 4150 | *) | 
|  | 4151 | lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
|  | 4152 | continue # so that we can try to find one that supports BSD flags | 
|  | 4153 | ;; | 
|  | 4154 | esac | 
|  | 4155 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4156 | fi | 
|  | 4157 | done | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4158 | IFS="$lt_save_ifs" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4159 | test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 
|  | 4160 | fi | 
|  | 4161 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4162 | echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 | 
|  | 4163 | echo "${ECHO_T}$lt_cv_path_NM" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4164 | NM="$lt_cv_path_NM" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4165 |  | 
|  | 4166 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 
|  | 4167 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
|  | 4168 | LN_S=$as_ln_s | 
|  | 4169 | if test "$LN_S" = "ln -s"; then | 
|  | 4170 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 4171 | echo "${ECHO_T}yes" >&6 | 
|  | 4172 | else | 
|  | 4173 | echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 
|  | 4174 | echo "${ECHO_T}no, using $LN_S" >&6 | 
|  | 4175 | fi | 
|  | 4176 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4177 | echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5 | 
|  | 4178 | echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4179 | if test "${lt_cv_deplibs_check_method+set}" = set; then | 
|  | 4180 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4181 | else | 
|  | 4182 | lt_cv_file_magic_cmd='$MAGIC_CMD' | 
|  | 4183 | lt_cv_file_magic_test_file= | 
|  | 4184 | lt_cv_deplibs_check_method='unknown' | 
|  | 4185 | # Need to set the preceding variable on all platforms that support | 
|  | 4186 | # interlibrary dependencies. | 
|  | 4187 | # 'none' -- dependencies not supported. | 
|  | 4188 | # `unknown' -- same as none, but documents that we really don't know. | 
|  | 4189 | # 'pass_all' -- all dependencies passed with no checks. | 
|  | 4190 | # 'test_compile' -- check by making test program. | 
|  | 4191 | # 'file_magic [[regex]]' -- check by looking for files in library path | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4192 | # which responds to the $file_magic_cmd with a given extended regex. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4193 | # If you have `file' or equivalent on your system and you're not sure | 
|  | 4194 | # whether `pass_all' will *always* work, you probably want this one. | 
|  | 4195 |  | 
|  | 4196 | case $host_os in | 
|  | 4197 | aix4* | aix5*) | 
|  | 4198 | lt_cv_deplibs_check_method=pass_all | 
|  | 4199 | ;; | 
|  | 4200 |  | 
|  | 4201 | beos*) | 
|  | 4202 | lt_cv_deplibs_check_method=pass_all | 
|  | 4203 | ;; | 
|  | 4204 |  | 
|  | 4205 | bsdi4*) | 
|  | 4206 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
|  | 4207 | lt_cv_file_magic_cmd='/usr/bin/file -L' | 
|  | 4208 | lt_cv_file_magic_test_file=/shlib/libc.so | 
|  | 4209 | ;; | 
|  | 4210 |  | 
|  | 4211 | cygwin* | mingw* | pw32*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4212 | # win32_libid is a shell function defined in ltmain.sh | 
|  | 4213 | lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 
|  | 4214 | lt_cv_file_magic_cmd='win32_libid' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4215 | ;; | 
|  | 4216 |  | 
|  | 4217 | darwin* | rhapsody*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4218 | # this will be overwritten by pass_all, but leave it in just in case | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4219 | lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | 
|  | 4220 | lt_cv_file_magic_cmd='/usr/bin/file -L' | 
|  | 4221 | case "$host_os" in | 
|  | 4222 | rhapsody* | darwin1.[012]) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4223 | lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4224 | ;; | 
|  | 4225 | *) # Darwin 1.3 on | 
|  | 4226 | lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | 
|  | 4227 | ;; | 
|  | 4228 | esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4229 | lt_cv_deplibs_check_method=pass_all | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4230 | ;; | 
|  | 4231 |  | 
|  | 4232 | freebsd*) | 
|  | 4233 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
|  | 4234 | case $host_cpu in | 
|  | 4235 | i*86 ) | 
|  | 4236 | # Not sure whether the presence of OpenBSD here was a mistake. | 
|  | 4237 | # Let's accept both of them until this is cleared up. | 
|  | 4238 | lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 
|  | 4239 | lt_cv_file_magic_cmd=/usr/bin/file | 
|  | 4240 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
|  | 4241 | ;; | 
|  | 4242 | esac | 
|  | 4243 | else | 
|  | 4244 | lt_cv_deplibs_check_method=pass_all | 
|  | 4245 | fi | 
|  | 4246 | ;; | 
|  | 4247 |  | 
|  | 4248 | gnu*) | 
|  | 4249 | lt_cv_deplibs_check_method=pass_all | 
|  | 4250 | ;; | 
|  | 4251 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4252 | hpux10.20* | hpux11*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4253 | lt_cv_file_magic_cmd=/usr/bin/file | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4254 | case "$host_cpu" in | 
|  | 4255 | ia64*) | 
|  | 4256 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | 
|  | 4257 | lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | 
|  | 4258 | ;; | 
|  | 4259 | hppa*64*) | 
|  | 4260 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]' | 
|  | 4261 | lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | 
|  | 4262 | ;; | 
|  | 4263 | *) | 
|  | 4264 | lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | 
|  | 4265 | lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
|  | 4266 | ;; | 
|  | 4267 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4268 | ;; | 
|  | 4269 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4270 | irix5* | irix6* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4271 | case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4272 | irix5* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4273 | # this will be overridden with pass_all, but let us keep it just in case | 
|  | 4274 | lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 
|  | 4275 | ;; | 
|  | 4276 | *) | 
|  | 4277 | case $LD in | 
|  | 4278 | *-32|*"-32 ") libmagic=32-bit;; | 
|  | 4279 | *-n32|*"-n32 ") libmagic=N32;; | 
|  | 4280 | *-64|*"-64 ") libmagic=64-bit;; | 
|  | 4281 | *) libmagic=never-match;; | 
|  | 4282 | esac | 
|  | 4283 | # this will be overridden with pass_all, but let us keep it just in case | 
|  | 4284 | lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | 
|  | 4285 | ;; | 
|  | 4286 | esac | 
|  | 4287 | lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | 
|  | 4288 | lt_cv_deplibs_check_method=pass_all | 
|  | 4289 | ;; | 
|  | 4290 |  | 
|  | 4291 | # This must be Linux ELF. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4292 | linux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4293 | case $host_cpu in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4294 | alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4295 | lt_cv_deplibs_check_method=pass_all ;; | 
|  | 4296 | *) | 
|  | 4297 | # glibc up to 2.1.1 does not perform some relocations on ARM | 
|  | 4298 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | 
|  | 4299 | esac | 
|  | 4300 | lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | 
|  | 4301 | ;; | 
|  | 4302 |  | 
|  | 4303 | netbsd*) | 
|  | 4304 | if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4305 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4306 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4307 | lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4308 | fi | 
|  | 4309 | ;; | 
|  | 4310 |  | 
|  | 4311 | newos6*) | 
|  | 4312 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
|  | 4313 | lt_cv_file_magic_cmd=/usr/bin/file | 
|  | 4314 | lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
|  | 4315 | ;; | 
|  | 4316 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4317 | nto-qnx) | 
|  | 4318 | lt_cv_deplibs_check_method=unknown | 
|  | 4319 | ;; | 
|  | 4320 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4321 | openbsd*) | 
|  | 4322 | lt_cv_file_magic_cmd=/usr/bin/file | 
|  | 4323 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
|  | 4324 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
|  | 4325 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' | 
|  | 4326 | else | 
|  | 4327 | lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' | 
|  | 4328 | fi | 
|  | 4329 | ;; | 
|  | 4330 |  | 
|  | 4331 | osf3* | osf4* | osf5*) | 
|  | 4332 | # this will be overridden with pass_all, but let us keep it just in case | 
|  | 4333 | lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | 
|  | 4334 | lt_cv_file_magic_test_file=/shlib/libc.so | 
|  | 4335 | lt_cv_deplibs_check_method=pass_all | 
|  | 4336 | ;; | 
|  | 4337 |  | 
|  | 4338 | sco3.2v5*) | 
|  | 4339 | lt_cv_deplibs_check_method=pass_all | 
|  | 4340 | ;; | 
|  | 4341 |  | 
|  | 4342 | solaris*) | 
|  | 4343 | lt_cv_deplibs_check_method=pass_all | 
|  | 4344 | lt_cv_file_magic_test_file=/lib/libc.so | 
|  | 4345 | ;; | 
|  | 4346 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4347 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  | 4348 | case $host_vendor in | 
|  | 4349 | motorola) | 
|  | 4350 | 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]' | 
|  | 4351 | lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
|  | 4352 | ;; | 
|  | 4353 | ncr) | 
|  | 4354 | lt_cv_deplibs_check_method=pass_all | 
|  | 4355 | ;; | 
|  | 4356 | sequent) | 
|  | 4357 | lt_cv_file_magic_cmd='/bin/file' | 
|  | 4358 | lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 
|  | 4359 | ;; | 
|  | 4360 | sni) | 
|  | 4361 | lt_cv_file_magic_cmd='/bin/file' | 
|  | 4362 | lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 
|  | 4363 | lt_cv_file_magic_test_file=/lib/libc.so | 
|  | 4364 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4365 | siemens) | 
|  | 4366 | lt_cv_deplibs_check_method=pass_all | 
|  | 4367 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4368 | esac | 
|  | 4369 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4370 |  | 
|  | 4371 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*) | 
|  | 4372 | lt_cv_deplibs_check_method=pass_all | 
|  | 4373 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4374 | esac | 
|  | 4375 |  | 
|  | 4376 | fi | 
|  | 4377 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 | 
|  | 4378 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | 
|  | 4379 | file_magic_cmd=$lt_cv_file_magic_cmd | 
|  | 4380 | deplibs_check_method=$lt_cv_deplibs_check_method | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4381 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4382 |  | 
|  | 4383 |  | 
|  | 4384 |  | 
|  | 4385 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4386 | # If no C compiler was specified, use CC. | 
|  | 4387 | LTCC=${LTCC-"$CC"} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4388 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4389 | # Allow CC to be a program name with arguments. | 
|  | 4390 | compiler=$CC | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4391 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4392 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
|  | 4393 | if test "${enable_libtool_lock+set}" = set; then | 
|  | 4394 | enableval="$enable_libtool_lock" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4395 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4396 | fi; | 
|  | 4397 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4398 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4399 | # Some flags need to be propagated to the compiler or linker for good | 
|  | 4400 | # libtool support. | 
|  | 4401 | case $host in | 
|  | 4402 | ia64-*-hpux*) | 
|  | 4403 | # Find out which ABI we are using. | 
|  | 4404 | echo 'int i;' > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4405 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 4406 | (eval $ac_compile) 2>&5 | 
|  | 4407 | ac_status=$? | 
|  | 4408 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4409 | (exit $ac_status); }; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4410 | case `/usr/bin/file conftest.$ac_objext` in | 
|  | 4411 | *ELF-32*) | 
|  | 4412 | HPUX_IA64_MODE="32" | 
|  | 4413 | ;; | 
|  | 4414 | *ELF-64*) | 
|  | 4415 | HPUX_IA64_MODE="64" | 
|  | 4416 | ;; | 
|  | 4417 | esac | 
|  | 4418 | fi | 
|  | 4419 | rm -rf conftest* | 
|  | 4420 | ;; | 
|  | 4421 | *-*-irix6*) | 
|  | 4422 | # Find out which ABI we are using. | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 4423 | echo '#line 4429 "configure"' > conftest.$ac_ext | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4424 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 4425 | (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4426 | ac_status=$? | 
|  | 4427 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4428 | (exit $ac_status); }; then | 
|  | 4429 | if test "$lt_cv_prog_gnu_ld" = yes; then | 
|  | 4430 | case `/usr/bin/file conftest.$ac_objext` in | 
|  | 4431 | *32-bit*) | 
|  | 4432 | LD="${LD-ld} -melf32bsmip" | 
|  | 4433 | ;; | 
|  | 4434 | *N32*) | 
|  | 4435 | LD="${LD-ld} -melf32bmipn32" | 
|  | 4436 | ;; | 
|  | 4437 | *64-bit*) | 
|  | 4438 | LD="${LD-ld} -melf64bmip" | 
|  | 4439 | ;; | 
|  | 4440 | esac | 
|  | 4441 | else | 
|  | 4442 | case `/usr/bin/file conftest.$ac_objext` in | 
|  | 4443 | *32-bit*) | 
|  | 4444 | LD="${LD-ld} -32" | 
|  | 4445 | ;; | 
|  | 4446 | *N32*) | 
|  | 4447 | LD="${LD-ld} -n32" | 
|  | 4448 | ;; | 
|  | 4449 | *64-bit*) | 
|  | 4450 | LD="${LD-ld} -64" | 
|  | 4451 | ;; | 
|  | 4452 | esac | 
|  | 4453 | fi | 
|  | 4454 | fi | 
|  | 4455 | rm -rf conftest* | 
|  | 4456 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4457 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4458 | x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*) | 
|  | 4459 | # Find out which ABI we are using. | 
|  | 4460 | echo 'int i;' > conftest.$ac_ext | 
|  | 4461 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 4462 | (eval $ac_compile) 2>&5 | 
|  | 4463 | ac_status=$? | 
|  | 4464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4465 | (exit $ac_status); }; then | 
|  | 4466 | case "`/usr/bin/file conftest.o`" in | 
|  | 4467 | *32-bit*) | 
|  | 4468 | case $host in | 
|  | 4469 | x86_64-*linux*) | 
|  | 4470 | LD="${LD-ld} -m elf_i386" | 
|  | 4471 | ;; | 
|  | 4472 | ppc64-*linux*) | 
|  | 4473 | LD="${LD-ld} -m elf32ppclinux" | 
|  | 4474 | ;; | 
|  | 4475 | s390x-*linux*) | 
|  | 4476 | LD="${LD-ld} -m elf_s390" | 
|  | 4477 | ;; | 
|  | 4478 | sparc64-*linux*) | 
|  | 4479 | LD="${LD-ld} -m elf32_sparc" | 
|  | 4480 | ;; | 
|  | 4481 | esac | 
|  | 4482 | ;; | 
|  | 4483 | *64-bit*) | 
|  | 4484 | case $host in | 
|  | 4485 | x86_64-*linux*) | 
|  | 4486 | LD="${LD-ld} -m elf_x86_64" | 
|  | 4487 | ;; | 
|  | 4488 | ppc*-*linux*|powerpc*-*linux*) | 
|  | 4489 | LD="${LD-ld} -m elf64ppc" | 
|  | 4490 | ;; | 
|  | 4491 | s390*-*linux*) | 
|  | 4492 | LD="${LD-ld} -m elf64_s390" | 
|  | 4493 | ;; | 
|  | 4494 | sparc*-*linux*) | 
|  | 4495 | LD="${LD-ld} -m elf64_sparc" | 
|  | 4496 | ;; | 
|  | 4497 | esac | 
|  | 4498 | ;; | 
|  | 4499 | esac | 
|  | 4500 | fi | 
|  | 4501 | rm -rf conftest* | 
|  | 4502 | ;; | 
|  | 4503 |  | 
|  | 4504 | *-*-sco3.2v5*) | 
|  | 4505 | # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
|  | 4506 | SAVE_CFLAGS="$CFLAGS" | 
|  | 4507 | CFLAGS="$CFLAGS -belf" | 
|  | 4508 | echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 | 
|  | 4509 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | 
|  | 4510 | if test "${lt_cv_cc_needs_belf+set}" = set; then | 
|  | 4511 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4512 | else | 
|  | 4513 | ac_ext=c | 
|  | 4514 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 4515 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 4516 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 4517 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 4518 |  | 
|  | 4519 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4520 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4521 | /* confdefs.h.  */ | 
|  | 4522 | _ACEOF | 
|  | 4523 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4524 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4525 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4526 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4527 | int | 
|  | 4528 | main () | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4529 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4530 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4531 | ; | 
|  | 4532 | return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4533 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4534 | _ACEOF | 
|  | 4535 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 4536 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4537 | (eval $ac_link) 2>&5 | 
|  | 4538 | ac_status=$? | 
|  | 4539 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4540 | (exit $ac_status); } && | 
|  | 4541 | { ac_try='test -s conftest$ac_exeext' | 
|  | 4542 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 4543 | (eval $ac_try) 2>&5 | 
|  | 4544 | ac_status=$? | 
|  | 4545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4546 | (exit $ac_status); }; }; then | 
|  | 4547 | lt_cv_cc_needs_belf=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4548 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4549 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4550 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 4551 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4552 | lt_cv_cc_needs_belf=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4553 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4554 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 4555 | ac_ext=c | 
|  | 4556 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 4557 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 4558 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 4559 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 4560 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4561 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4562 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 | 
|  | 4563 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | 
|  | 4564 | if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
|  | 4565 | # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
|  | 4566 | CFLAGS="$SAVE_CFLAGS" | 
|  | 4567 | fi | 
|  | 4568 | ;; | 
|  | 4569 |  | 
|  | 4570 | esac | 
|  | 4571 |  | 
|  | 4572 | need_locks="$enable_libtool_lock" | 
|  | 4573 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4574 |  | 
|  | 4575 |  | 
|  | 4576 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|  | 4577 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|  | 4578 | if test "${ac_cv_header_stdc+set}" = set; then | 
|  | 4579 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4580 | else | 
|  | 4581 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4582 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4583 | /* confdefs.h.  */ | 
|  | 4584 | _ACEOF | 
|  | 4585 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4586 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4587 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4588 | #include <stdlib.h> | 
|  | 4589 | #include <stdarg.h> | 
|  | 4590 | #include <string.h> | 
|  | 4591 | #include <float.h> | 
|  | 4592 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4593 | int | 
|  | 4594 | main () | 
|  | 4595 | { | 
|  | 4596 |  | 
|  | 4597 | ; | 
|  | 4598 | return 0; | 
|  | 4599 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4600 | _ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4601 | rm -f conftest.$ac_objext | 
|  | 4602 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 4603 | (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4604 | ac_status=$? | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4605 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4606 | (exit $ac_status); } && | 
|  | 4607 | { ac_try='test -s conftest.$ac_objext' | 
|  | 4608 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 4609 | (eval $ac_try) 2>&5 | 
|  | 4610 | ac_status=$? | 
|  | 4611 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4612 | (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4613 | ac_cv_header_stdc=yes | 
|  | 4614 | else | 
|  | 4615 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4616 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 4617 |  | 
|  | 4618 | ac_cv_header_stdc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4619 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4620 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4621 |  | 
|  | 4622 | if test $ac_cv_header_stdc = yes; then | 
|  | 4623 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|  | 4624 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4625 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4626 | /* confdefs.h.  */ | 
|  | 4627 | _ACEOF | 
|  | 4628 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4629 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4630 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4631 | #include <string.h> | 
|  | 4632 |  | 
|  | 4633 | _ACEOF | 
|  | 4634 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4635 | $EGREP "memchr" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4636 | : | 
|  | 4637 | else | 
|  | 4638 | ac_cv_header_stdc=no | 
|  | 4639 | fi | 
|  | 4640 | rm -f conftest* | 
|  | 4641 |  | 
|  | 4642 | fi | 
|  | 4643 |  | 
|  | 4644 | if test $ac_cv_header_stdc = yes; then | 
|  | 4645 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|  | 4646 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4647 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4648 | /* confdefs.h.  */ | 
|  | 4649 | _ACEOF | 
|  | 4650 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4651 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4652 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4653 | #include <stdlib.h> | 
|  | 4654 |  | 
|  | 4655 | _ACEOF | 
|  | 4656 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4657 | $EGREP "free" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4658 | : | 
|  | 4659 | else | 
|  | 4660 | ac_cv_header_stdc=no | 
|  | 4661 | fi | 
|  | 4662 | rm -f conftest* | 
|  | 4663 |  | 
|  | 4664 | fi | 
|  | 4665 |  | 
|  | 4666 | if test $ac_cv_header_stdc = yes; then | 
|  | 4667 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|  | 4668 | if test "$cross_compiling" = yes; then | 
|  | 4669 | : | 
|  | 4670 | else | 
|  | 4671 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4672 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4673 | /* confdefs.h.  */ | 
|  | 4674 | _ACEOF | 
|  | 4675 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4676 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4677 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4678 | #include <ctype.h> | 
|  | 4679 | #if ((' ' & 0x0FF) == 0x020) | 
|  | 4680 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|  | 4681 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|  | 4682 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4683 | # define ISLOWER(c) \ | 
|  | 4684 | (('a' <= (c) && (c) <= 'i') \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4685 | || ('j' <= (c) && (c) <= 'r') \ | 
|  | 4686 | || ('s' <= (c) && (c) <= 'z')) | 
|  | 4687 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|  | 4688 | #endif | 
|  | 4689 |  | 
|  | 4690 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|  | 4691 | int | 
|  | 4692 | main () | 
|  | 4693 | { | 
|  | 4694 | int i; | 
|  | 4695 | for (i = 0; i < 256; i++) | 
|  | 4696 | if (XOR (islower (i), ISLOWER (i)) | 
|  | 4697 | || toupper (i) != TOUPPER (i)) | 
|  | 4698 | exit(2); | 
|  | 4699 | exit (0); | 
|  | 4700 | } | 
|  | 4701 | _ACEOF | 
|  | 4702 | rm -f conftest$ac_exeext | 
|  | 4703 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 4704 | (eval $ac_link) 2>&5 | 
|  | 4705 | ac_status=$? | 
|  | 4706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4707 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  | 4708 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 4709 | (eval $ac_try) 2>&5 | 
|  | 4710 | ac_status=$? | 
|  | 4711 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4712 | (exit $ac_status); }; }; then | 
|  | 4713 | : | 
|  | 4714 | else | 
|  | 4715 | echo "$as_me: program exited with status $ac_status" >&5 | 
|  | 4716 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4717 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 4718 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4719 | ( exit $ac_status ) | 
|  | 4720 | ac_cv_header_stdc=no | 
|  | 4721 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4722 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4723 | fi | 
|  | 4724 | fi | 
|  | 4725 | fi | 
|  | 4726 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|  | 4727 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|  | 4728 | if test $ac_cv_header_stdc = yes; then | 
|  | 4729 |  | 
|  | 4730 | cat >>confdefs.h <<\_ACEOF | 
|  | 4731 | #define STDC_HEADERS 1 | 
|  | 4732 | _ACEOF | 
|  | 4733 |  | 
|  | 4734 | fi | 
|  | 4735 |  | 
|  | 4736 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
|  | 4737 |  | 
|  | 4738 |  | 
|  | 4739 |  | 
|  | 4740 |  | 
|  | 4741 |  | 
|  | 4742 |  | 
|  | 4743 |  | 
|  | 4744 |  | 
|  | 4745 |  | 
|  | 4746 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
|  | 4747 | inttypes.h stdint.h unistd.h | 
|  | 4748 | do | 
|  | 4749 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|  | 4750 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 4751 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 4752 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 4753 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4754 | else | 
|  | 4755 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4756 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4757 | /* confdefs.h.  */ | 
|  | 4758 | _ACEOF | 
|  | 4759 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4760 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4761 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4762 | $ac_includes_default | 
|  | 4763 |  | 
|  | 4764 | #include <$ac_header> | 
|  | 4765 | _ACEOF | 
|  | 4766 | rm -f conftest.$ac_objext | 
|  | 4767 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 4768 | (eval $ac_compile) 2>&5 | 
|  | 4769 | ac_status=$? | 
|  | 4770 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4771 | (exit $ac_status); } && | 
|  | 4772 | { ac_try='test -s conftest.$ac_objext' | 
|  | 4773 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 4774 | (eval $ac_try) 2>&5 | 
|  | 4775 | ac_status=$? | 
|  | 4776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4777 | (exit $ac_status); }; }; then | 
|  | 4778 | eval "$as_ac_Header=yes" | 
|  | 4779 | else | 
|  | 4780 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4781 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 4782 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4783 | eval "$as_ac_Header=no" | 
|  | 4784 | fi | 
|  | 4785 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 4786 | fi | 
|  | 4787 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 4788 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 4789 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|  | 4790 | cat >>confdefs.h <<_ACEOF | 
|  | 4791 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|  | 4792 | _ACEOF | 
|  | 4793 |  | 
|  | 4794 | fi | 
|  | 4795 |  | 
|  | 4796 | done | 
|  | 4797 |  | 
|  | 4798 |  | 
|  | 4799 |  | 
|  | 4800 | for ac_header in dlfcn.h | 
|  | 4801 | do | 
|  | 4802 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|  | 4803 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 4804 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 4805 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 4806 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 4807 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4808 | fi | 
|  | 4809 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 4810 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 4811 | else | 
|  | 4812 | # Is the header compilable? | 
|  | 4813 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|  | 4814 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|  | 4815 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4816 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4817 | /* confdefs.h.  */ | 
|  | 4818 | _ACEOF | 
|  | 4819 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4820 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4821 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4822 | $ac_includes_default | 
|  | 4823 | #include <$ac_header> | 
|  | 4824 | _ACEOF | 
|  | 4825 | rm -f conftest.$ac_objext | 
|  | 4826 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 4827 | (eval $ac_compile) 2>&5 | 
|  | 4828 | ac_status=$? | 
|  | 4829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4830 | (exit $ac_status); } && | 
|  | 4831 | { ac_try='test -s conftest.$ac_objext' | 
|  | 4832 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 4833 | (eval $ac_try) 2>&5 | 
|  | 4834 | ac_status=$? | 
|  | 4835 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4836 | (exit $ac_status); }; }; then | 
|  | 4837 | ac_header_compiler=yes | 
|  | 4838 | else | 
|  | 4839 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4840 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 4841 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4842 | ac_header_compiler=no | 
|  | 4843 | fi | 
|  | 4844 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 4845 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|  | 4846 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|  | 4847 |  | 
|  | 4848 | # Is the header present? | 
|  | 4849 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|  | 4850 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|  | 4851 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4852 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4853 | /* confdefs.h.  */ | 
|  | 4854 | _ACEOF | 
|  | 4855 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4856 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4857 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4858 | #include <$ac_header> | 
|  | 4859 | _ACEOF | 
|  | 4860 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 4861 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 4862 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4863 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4864 | rm -f conftest.er1 | 
|  | 4865 | cat conftest.err >&5 | 
|  | 4866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4867 | (exit $ac_status); } >/dev/null; then | 
|  | 4868 | if test -s conftest.err; then | 
|  | 4869 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 4870 | else | 
|  | 4871 | ac_cpp_err= | 
|  | 4872 | fi | 
|  | 4873 | else | 
|  | 4874 | ac_cpp_err=yes | 
|  | 4875 | fi | 
|  | 4876 | if test -z "$ac_cpp_err"; then | 
|  | 4877 | ac_header_preproc=yes | 
|  | 4878 | else | 
|  | 4879 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4880 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 4881 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4882 | ac_header_preproc=no | 
|  | 4883 | fi | 
|  | 4884 | rm -f conftest.err conftest.$ac_ext | 
|  | 4885 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|  | 4886 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|  | 4887 |  | 
|  | 4888 | # So?  What about this header? | 
|  | 4889 | case $ac_header_compiler:$ac_header_preproc in | 
|  | 4890 | yes:no ) | 
|  | 4891 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|  | 4892 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|  | 4893 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4894 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 4895 | ( | 
|  | 4896 | cat <<\_ASBOX | 
|  | 4897 | ## ------------------------------------ ## | 
|  | 4898 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 4899 | ## ------------------------------------ ## | 
|  | 4900 | _ASBOX | 
|  | 4901 | ) | | 
|  | 4902 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 4903 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4904 | no:yes ) | 
|  | 4905 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|  | 4906 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|  | 4907 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
|  | 4908 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
|  | 4909 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4910 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 4911 | ( | 
|  | 4912 | cat <<\_ASBOX | 
|  | 4913 | ## ------------------------------------ ## | 
|  | 4914 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 4915 | ## ------------------------------------ ## | 
|  | 4916 | _ASBOX | 
|  | 4917 | ) | | 
|  | 4918 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 4919 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4920 | esac | 
|  | 4921 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 4922 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 4923 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 4924 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4925 | else | 
|  | 4926 | eval "$as_ac_Header=$ac_header_preproc" | 
|  | 4927 | fi | 
|  | 4928 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 4929 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 4930 |  | 
|  | 4931 | fi | 
|  | 4932 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|  | 4933 | cat >>confdefs.h <<_ACEOF | 
|  | 4934 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|  | 4935 | _ACEOF | 
|  | 4936 |  | 
|  | 4937 | fi | 
|  | 4938 |  | 
|  | 4939 | done | 
|  | 4940 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4941 | ac_ext=cc | 
|  | 4942 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 4943 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 4944 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 4945 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 4946 | echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 | 
|  | 4947 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6 | 
|  | 4948 | if test -z "$CXXCPP"; then | 
|  | 4949 | if test "${ac_cv_prog_CXXCPP+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4950 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 4951 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4952 | # Double quotes because CXXCPP needs to be expanded | 
|  | 4953 | for CXXCPP in "$CXX -E" "/lib/cpp" | 
|  | 4954 | do | 
|  | 4955 | ac_preproc_ok=false | 
|  | 4956 | for ac_cxx_preproc_warn_flag in '' yes | 
|  | 4957 | do | 
|  | 4958 | # Use a header file that comes with gcc, so configuring glibc | 
|  | 4959 | # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4960 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 4961 | # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4962 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|  | 4963 | # not just through cpp. "Syntax error" is here to catch this case. | 
|  | 4964 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 4965 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4966 | /* confdefs.h.  */ | 
|  | 4967 | _ACEOF | 
|  | 4968 | cat confdefs.h >>conftest.$ac_ext | 
|  | 4969 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 4970 | /* end confdefs.h.  */ | 
|  | 4971 | #ifdef __STDC__ | 
|  | 4972 | # include <limits.h> | 
|  | 4973 | #else | 
|  | 4974 | # include <assert.h> | 
|  | 4975 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4976 | Syntax error | 
|  | 4977 | _ACEOF | 
|  | 4978 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 4979 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 4980 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4981 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4982 | rm -f conftest.er1 | 
|  | 4983 | cat conftest.err >&5 | 
|  | 4984 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 4985 | (exit $ac_status); } >/dev/null; then | 
|  | 4986 | if test -s conftest.err; then | 
|  | 4987 | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4988 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4989 | ac_cpp_err= | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4990 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 4991 | else | 
|  | 4992 | ac_cpp_err=yes | 
|  | 4993 | fi | 
|  | 4994 | if test -z "$ac_cpp_err"; then | 
|  | 4995 | : | 
|  | 4996 | else | 
|  | 4997 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 4998 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 4999 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5000 | # Broken: fails on valid input. | 
|  | 5001 | continue | 
|  | 5002 | fi | 
|  | 5003 | rm -f conftest.err conftest.$ac_ext | 
|  | 5004 |  | 
|  | 5005 | # OK, works on sane cases.  Now check whether non-existent headers | 
|  | 5006 | # can be detected and how. | 
|  | 5007 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 5008 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5009 | /* confdefs.h.  */ | 
|  | 5010 | _ACEOF | 
|  | 5011 | cat confdefs.h >>conftest.$ac_ext | 
|  | 5012 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 5013 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5014 | #include <ac_nonexistent.h> | 
|  | 5015 | _ACEOF | 
|  | 5016 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 5017 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 5018 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5019 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5020 | rm -f conftest.er1 | 
|  | 5021 | cat conftest.err >&5 | 
|  | 5022 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5023 | (exit $ac_status); } >/dev/null; then | 
|  | 5024 | if test -s conftest.err; then | 
|  | 5025 | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
|  | 5026 | else | 
|  | 5027 | ac_cpp_err= | 
|  | 5028 | fi | 
|  | 5029 | else | 
|  | 5030 | ac_cpp_err=yes | 
|  | 5031 | fi | 
|  | 5032 | if test -z "$ac_cpp_err"; then | 
|  | 5033 | # Broken: success on invalid input. | 
|  | 5034 | continue | 
|  | 5035 | else | 
|  | 5036 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5037 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 5038 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5039 | # Passes both tests. | 
|  | 5040 | ac_preproc_ok=: | 
|  | 5041 | break | 
|  | 5042 | fi | 
|  | 5043 | rm -f conftest.err conftest.$ac_ext | 
|  | 5044 |  | 
|  | 5045 | done | 
|  | 5046 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|  | 5047 | rm -f conftest.err conftest.$ac_ext | 
|  | 5048 | if $ac_preproc_ok; then | 
|  | 5049 | break | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5050 | fi | 
|  | 5051 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5052 | done | 
|  | 5053 | ac_cv_prog_CXXCPP=$CXXCPP | 
|  | 5054 |  | 
|  | 5055 | fi | 
|  | 5056 | CXXCPP=$ac_cv_prog_CXXCPP | 
|  | 5057 | else | 
|  | 5058 | ac_cv_prog_CXXCPP=$CXXCPP | 
|  | 5059 | fi | 
|  | 5060 | echo "$as_me:$LINENO: result: $CXXCPP" >&5 | 
|  | 5061 | echo "${ECHO_T}$CXXCPP" >&6 | 
|  | 5062 | ac_preproc_ok=false | 
|  | 5063 | for ac_cxx_preproc_warn_flag in '' yes | 
|  | 5064 | do | 
|  | 5065 | # Use a header file that comes with gcc, so configuring glibc | 
|  | 5066 | # with a fresh cross-compiler works. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5067 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 5068 | # <limits.h> exists even on freestanding compilers. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5069 | # On the NeXT, cc -E runs the code through the compiler's parser, | 
|  | 5070 | # not just through cpp. "Syntax error" is here to catch this case. | 
|  | 5071 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 5072 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5073 | /* confdefs.h.  */ | 
|  | 5074 | _ACEOF | 
|  | 5075 | cat confdefs.h >>conftest.$ac_ext | 
|  | 5076 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 5077 | /* end confdefs.h.  */ | 
|  | 5078 | #ifdef __STDC__ | 
|  | 5079 | # include <limits.h> | 
|  | 5080 | #else | 
|  | 5081 | # include <assert.h> | 
|  | 5082 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5083 | Syntax error | 
|  | 5084 | _ACEOF | 
|  | 5085 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 5086 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 5087 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5088 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5089 | rm -f conftest.er1 | 
|  | 5090 | cat conftest.err >&5 | 
|  | 5091 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5092 | (exit $ac_status); } >/dev/null; then | 
|  | 5093 | if test -s conftest.err; then | 
|  | 5094 | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
|  | 5095 | else | 
|  | 5096 | ac_cpp_err= | 
|  | 5097 | fi | 
|  | 5098 | else | 
|  | 5099 | ac_cpp_err=yes | 
|  | 5100 | fi | 
|  | 5101 | if test -z "$ac_cpp_err"; then | 
|  | 5102 | : | 
|  | 5103 | else | 
|  | 5104 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5105 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 5106 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5107 | # Broken: fails on valid input. | 
|  | 5108 | continue | 
|  | 5109 | fi | 
|  | 5110 | rm -f conftest.err conftest.$ac_ext | 
|  | 5111 |  | 
|  | 5112 | # OK, works on sane cases.  Now check whether non-existent headers | 
|  | 5113 | # can be detected and how. | 
|  | 5114 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 5115 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5116 | /* confdefs.h.  */ | 
|  | 5117 | _ACEOF | 
|  | 5118 | cat confdefs.h >>conftest.$ac_ext | 
|  | 5119 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 5120 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5121 | #include <ac_nonexistent.h> | 
|  | 5122 | _ACEOF | 
|  | 5123 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 5124 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 5125 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5126 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5127 | rm -f conftest.er1 | 
|  | 5128 | cat conftest.err >&5 | 
|  | 5129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5130 | (exit $ac_status); } >/dev/null; then | 
|  | 5131 | if test -s conftest.err; then | 
|  | 5132 | ac_cpp_err=$ac_cxx_preproc_warn_flag | 
|  | 5133 | else | 
|  | 5134 | ac_cpp_err= | 
|  | 5135 | fi | 
|  | 5136 | else | 
|  | 5137 | ac_cpp_err=yes | 
|  | 5138 | fi | 
|  | 5139 | if test -z "$ac_cpp_err"; then | 
|  | 5140 | # Broken: success on invalid input. | 
|  | 5141 | continue | 
|  | 5142 | else | 
|  | 5143 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5144 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 5145 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5146 | # Passes both tests. | 
|  | 5147 | ac_preproc_ok=: | 
|  | 5148 | break | 
|  | 5149 | fi | 
|  | 5150 | rm -f conftest.err conftest.$ac_ext | 
|  | 5151 |  | 
|  | 5152 | done | 
|  | 5153 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
|  | 5154 | rm -f conftest.err conftest.$ac_ext | 
|  | 5155 | if $ac_preproc_ok; then | 
|  | 5156 | : | 
|  | 5157 | else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5158 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
|  | 5159 | See \`config.log' for more details." >&5 | 
|  | 5160 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check | 
|  | 5161 | See \`config.log' for more details." >&2;} | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5162 | { (exit 1); exit 1; }; } | 
|  | 5163 | fi | 
|  | 5164 |  | 
|  | 5165 | ac_ext=cc | 
|  | 5166 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 5167 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 5168 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 5169 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 5170 |  | 
|  | 5171 |  | 
|  | 5172 | ac_ext=f | 
|  | 5173 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' | 
|  | 5174 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 5175 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu | 
|  | 5176 | if test -n "$ac_tool_prefix"; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5177 | for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5178 | do | 
|  | 5179 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
|  | 5180 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
|  | 5181 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5182 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5183 | if test "${ac_cv_prog_F77+set}" = set; then | 
|  | 5184 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5185 | else | 
|  | 5186 | if test -n "$F77"; then | 
|  | 5187 | ac_cv_prog_F77="$F77" # Let the user override the test. | 
|  | 5188 | else | 
|  | 5189 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5190 | for as_dir in $PATH | 
|  | 5191 | do | 
|  | 5192 | IFS=$as_save_IFS | 
|  | 5193 | test -z "$as_dir" && as_dir=. | 
|  | 5194 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5195 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5196 | ac_cv_prog_F77="$ac_tool_prefix$ac_prog" | 
|  | 5197 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5198 | break 2 | 
|  | 5199 | fi | 
|  | 5200 | done | 
|  | 5201 | done | 
|  | 5202 |  | 
|  | 5203 | fi | 
|  | 5204 | fi | 
|  | 5205 | F77=$ac_cv_prog_F77 | 
|  | 5206 | if test -n "$F77"; then | 
|  | 5207 | echo "$as_me:$LINENO: result: $F77" >&5 | 
|  | 5208 | echo "${ECHO_T}$F77" >&6 | 
|  | 5209 | else | 
|  | 5210 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5211 | echo "${ECHO_T}no" >&6 | 
|  | 5212 | fi | 
|  | 5213 |  | 
|  | 5214 | test -n "$F77" && break | 
|  | 5215 | done | 
|  | 5216 | fi | 
|  | 5217 | if test -z "$F77"; then | 
|  | 5218 | ac_ct_F77=$F77 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5219 | for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5220 | do | 
|  | 5221 | # Extract the first word of "$ac_prog", so it can be a program name with args. | 
|  | 5222 | set dummy $ac_prog; ac_word=$2 | 
|  | 5223 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5224 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5225 | if test "${ac_cv_prog_ac_ct_F77+set}" = set; then | 
|  | 5226 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5227 | else | 
|  | 5228 | if test -n "$ac_ct_F77"; then | 
|  | 5229 | ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test. | 
|  | 5230 | else | 
|  | 5231 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5232 | for as_dir in $PATH | 
|  | 5233 | do | 
|  | 5234 | IFS=$as_save_IFS | 
|  | 5235 | test -z "$as_dir" && as_dir=. | 
|  | 5236 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5237 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5238 | ac_cv_prog_ac_ct_F77="$ac_prog" | 
|  | 5239 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5240 | break 2 | 
|  | 5241 | fi | 
|  | 5242 | done | 
|  | 5243 | done | 
|  | 5244 |  | 
|  | 5245 | fi | 
|  | 5246 | fi | 
|  | 5247 | ac_ct_F77=$ac_cv_prog_ac_ct_F77 | 
|  | 5248 | if test -n "$ac_ct_F77"; then | 
|  | 5249 | echo "$as_me:$LINENO: result: $ac_ct_F77" >&5 | 
|  | 5250 | echo "${ECHO_T}$ac_ct_F77" >&6 | 
|  | 5251 | else | 
|  | 5252 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5253 | echo "${ECHO_T}no" >&6 | 
|  | 5254 | fi | 
|  | 5255 |  | 
|  | 5256 | test -n "$ac_ct_F77" && break | 
|  | 5257 | done | 
|  | 5258 |  | 
|  | 5259 | F77=$ac_ct_F77 | 
|  | 5260 | fi | 
|  | 5261 |  | 
|  | 5262 |  | 
|  | 5263 | # Provide some information about the compiler. | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 5264 | echo "$as_me:5270:" \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5265 | "checking for Fortran 77 compiler version" >&5 | 
|  | 5266 | ac_compiler=`set X $ac_compile; echo $2` | 
|  | 5267 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
|  | 5268 | (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
|  | 5269 | ac_status=$? | 
|  | 5270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5271 | (exit $ac_status); } | 
|  | 5272 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
|  | 5273 | (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
|  | 5274 | ac_status=$? | 
|  | 5275 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5276 | (exit $ac_status); } | 
|  | 5277 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
|  | 5278 | (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
|  | 5279 | ac_status=$? | 
|  | 5280 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5281 | (exit $ac_status); } | 
|  | 5282 |  | 
|  | 5283 | # If we don't use `.F' as extension, the preprocessor is not run on the | 
|  | 5284 | # input file. | 
|  | 5285 | ac_save_ext=$ac_ext | 
|  | 5286 | ac_ext=F | 
|  | 5287 | echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5 | 
|  | 5288 | echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6 | 
|  | 5289 | if test "${ac_cv_f77_compiler_gnu+set}" = set; then | 
|  | 5290 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5291 | else | 
|  | 5292 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 5293 | program main | 
|  | 5294 | #ifndef __GNUC__ | 
|  | 5295 | choke me | 
|  | 5296 | #endif | 
|  | 5297 |  | 
|  | 5298 | end | 
|  | 5299 | _ACEOF | 
|  | 5300 | rm -f conftest.$ac_objext | 
|  | 5301 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 5302 | (eval $ac_compile) 2>&5 | 
|  | 5303 | ac_status=$? | 
|  | 5304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5305 | (exit $ac_status); } && | 
|  | 5306 | { ac_try='test -s conftest.$ac_objext' | 
|  | 5307 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 5308 | (eval $ac_try) 2>&5 | 
|  | 5309 | ac_status=$? | 
|  | 5310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5311 | (exit $ac_status); }; }; then | 
|  | 5312 | ac_compiler_gnu=yes | 
|  | 5313 | else | 
|  | 5314 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5315 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 5316 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5317 | ac_compiler_gnu=no | 
|  | 5318 | fi | 
|  | 5319 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 5320 | ac_cv_f77_compiler_gnu=$ac_compiler_gnu | 
|  | 5321 |  | 
|  | 5322 | fi | 
|  | 5323 | echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5 | 
|  | 5324 | echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6 | 
|  | 5325 | ac_ext=$ac_save_ext | 
|  | 5326 | G77=`test $ac_compiler_gnu = yes && echo yes` | 
|  | 5327 | ac_test_FFLAGS=${FFLAGS+set} | 
|  | 5328 | ac_save_FFLAGS=$FFLAGS | 
|  | 5329 | FFLAGS= | 
|  | 5330 | echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5 | 
|  | 5331 | echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6 | 
|  | 5332 | if test "${ac_cv_prog_f77_g+set}" = set; then | 
|  | 5333 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5334 | else | 
|  | 5335 | FFLAGS=-g | 
|  | 5336 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 5337 | program main | 
|  | 5338 |  | 
|  | 5339 | end | 
|  | 5340 | _ACEOF | 
|  | 5341 | rm -f conftest.$ac_objext | 
|  | 5342 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 5343 | (eval $ac_compile) 2>&5 | 
|  | 5344 | ac_status=$? | 
|  | 5345 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5346 | (exit $ac_status); } && | 
|  | 5347 | { ac_try='test -s conftest.$ac_objext' | 
|  | 5348 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 5349 | (eval $ac_try) 2>&5 | 
|  | 5350 | ac_status=$? | 
|  | 5351 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5352 | (exit $ac_status); }; }; then | 
|  | 5353 | ac_cv_prog_f77_g=yes | 
|  | 5354 | else | 
|  | 5355 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 5356 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 5357 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5358 | ac_cv_prog_f77_g=no | 
|  | 5359 | fi | 
|  | 5360 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 5361 |  | 
|  | 5362 | fi | 
|  | 5363 | echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5 | 
|  | 5364 | echo "${ECHO_T}$ac_cv_prog_f77_g" >&6 | 
|  | 5365 | if test "$ac_test_FFLAGS" = set; then | 
|  | 5366 | FFLAGS=$ac_save_FFLAGS | 
|  | 5367 | elif test $ac_cv_prog_f77_g = yes; then | 
|  | 5368 | if test "$G77" = yes; then | 
|  | 5369 | FFLAGS="-g -O2" | 
|  | 5370 | else | 
|  | 5371 | FFLAGS="-g" | 
|  | 5372 | fi | 
|  | 5373 | else | 
|  | 5374 | if test "$G77" = yes; then | 
|  | 5375 | FFLAGS="-O2" | 
|  | 5376 | else | 
|  | 5377 | FFLAGS= | 
|  | 5378 | fi | 
|  | 5379 | fi | 
|  | 5380 | ac_ext=c | 
|  | 5381 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 5382 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 5383 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 5384 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 5385 |  | 
|  | 5386 |  | 
|  | 5387 |  | 
|  | 5388 | # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 
|  | 5389 |  | 
|  | 5390 | # find the maximum length of command line arguments | 
|  | 5391 | echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 | 
|  | 5392 | echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6 | 
|  | 5393 | if test "${lt_cv_sys_max_cmd_len+set}" = set; then | 
|  | 5394 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5395 | else | 
|  | 5396 | i=0 | 
|  | 5397 | testring="ABCD" | 
|  | 5398 |  | 
|  | 5399 | case $build_os in | 
|  | 5400 | msdosdjgpp*) | 
|  | 5401 | # On DJGPP, this test can blow up pretty badly due to problems in libc | 
|  | 5402 | # (any single argument exceeding 2000 bytes causes a buffer overrun | 
|  | 5403 | # during glob expansion).  Even if it were fixed, the result of this | 
|  | 5404 | # check would be larger than it should be. | 
|  | 5405 | lt_cv_sys_max_cmd_len=12288;    # 12K is about right | 
|  | 5406 | ;; | 
|  | 5407 |  | 
|  | 5408 | gnu*) | 
|  | 5409 | # Under GNU Hurd, this test is not required because there is | 
|  | 5410 | # no limit to the length of command line arguments. | 
|  | 5411 | # Libtool will interpret -1 as no limit whatsoever | 
|  | 5412 | lt_cv_sys_max_cmd_len=-1; | 
|  | 5413 | ;; | 
|  | 5414 |  | 
|  | 5415 | cygwin* | mingw*) | 
|  | 5416 | # On Win9x/ME, this test blows up -- it succeeds, but takes | 
|  | 5417 | # about 5 minutes as the teststring grows exponentially. | 
|  | 5418 | # Worse, since 9x/ME are not pre-emptively multitasking, | 
|  | 5419 | # you end up with a "frozen" computer, even though with patience | 
|  | 5420 | # the test eventually succeeds (with a max line length of 256k). | 
|  | 5421 | # Instead, let's just punt: use the minimum linelength reported by | 
|  | 5422 | # all of the supported platforms: 8192 (on NT/2K/XP). | 
|  | 5423 | lt_cv_sys_max_cmd_len=8192; | 
|  | 5424 | ;; | 
|  | 5425 |  | 
|  | 5426 | *) | 
|  | 5427 | # If test is not a shell built-in, we'll probably end up computing a | 
|  | 5428 | # maximum length that is only half of the actual maximum length, but | 
|  | 5429 | # we can't tell. | 
|  | 5430 | while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \ | 
|  | 5431 | = "XX$testring") >/dev/null 2>&1 && | 
|  | 5432 | new_result=`expr "X$testring" : ".*" 2>&1` && | 
|  | 5433 | lt_cv_sys_max_cmd_len=$new_result && | 
|  | 5434 | test $i != 17 # 1/2 MB should be enough | 
|  | 5435 | do | 
|  | 5436 | i=`expr $i + 1` | 
|  | 5437 | testring=$testring$testring | 
|  | 5438 | done | 
|  | 5439 | testring= | 
|  | 5440 | # Add a significant safety factor because C++ compilers can tack on massive | 
|  | 5441 | # amounts of additional arguments before passing them to the linker. | 
|  | 5442 | # It appears as though 1/2 is a usable value. | 
|  | 5443 | lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 
|  | 5444 | ;; | 
|  | 5445 | esac | 
|  | 5446 |  | 
|  | 5447 | fi | 
|  | 5448 |  | 
|  | 5449 | if test -n $lt_cv_sys_max_cmd_len ; then | 
|  | 5450 | echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 | 
|  | 5451 | echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6 | 
|  | 5452 | else | 
|  | 5453 | echo "$as_me:$LINENO: result: none" >&5 | 
|  | 5454 | echo "${ECHO_T}none" >&6 | 
|  | 5455 | fi | 
|  | 5456 |  | 
|  | 5457 |  | 
|  | 5458 |  | 
|  | 5459 |  | 
|  | 5460 | # Check for command to grab the raw symbol name followed by C symbol from nm. | 
|  | 5461 | echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 | 
|  | 5462 | echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6 | 
|  | 5463 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | 
|  | 5464 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5465 | else | 
|  | 5466 |  | 
|  | 5467 | # These are sane defaults that work on at least a few old systems. | 
|  | 5468 | # [They come from Ultrix.  What could be older than Ultrix?!! ;)] | 
|  | 5469 |  | 
|  | 5470 | # Character class describing NM global symbol codes. | 
|  | 5471 | symcode='[BCDEGRST]' | 
|  | 5472 |  | 
|  | 5473 | # Regexp to match symbols that can be accessed directly from C. | 
|  | 5474 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 
|  | 5475 |  | 
|  | 5476 | # Transform the above into a raw symbol and a C symbol. | 
|  | 5477 | symxfrm='\1 \2\3 \3' | 
|  | 5478 |  | 
|  | 5479 | # Transform an extracted symbol line into a proper C declaration | 
|  | 5480 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'" | 
|  | 5481 |  | 
|  | 5482 | # Transform an extracted symbol line into symbol name and symbol address | 
|  | 5483 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
|  | 5484 |  | 
|  | 5485 | # Define system-specific variables. | 
|  | 5486 | case $host_os in | 
|  | 5487 | aix*) | 
|  | 5488 | symcode='[BCDT]' | 
|  | 5489 | ;; | 
|  | 5490 | cygwin* | mingw* | pw32*) | 
|  | 5491 | symcode='[ABCDGISTW]' | 
|  | 5492 | ;; | 
|  | 5493 | hpux*) # Its linker distinguishes data from code symbols | 
|  | 5494 | if test "$host_cpu" = ia64; then | 
|  | 5495 | symcode='[ABCDEGRST]' | 
|  | 5496 | fi | 
|  | 5497 | lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 
|  | 5498 | lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
|  | 5499 | ;; | 
|  | 5500 | irix* | nonstopux*) | 
|  | 5501 | symcode='[BCDEGRST]' | 
|  | 5502 | ;; | 
|  | 5503 | osf*) | 
|  | 5504 | symcode='[BCDEGQRST]' | 
|  | 5505 | ;; | 
|  | 5506 | solaris* | sysv5*) | 
|  | 5507 | symcode='[BDT]' | 
|  | 5508 | ;; | 
|  | 5509 | sysv4) | 
|  | 5510 | symcode='[DFNSTU]' | 
|  | 5511 | ;; | 
|  | 5512 | esac | 
|  | 5513 |  | 
|  | 5514 | # Handle CRLF in mingw tool chain | 
|  | 5515 | opt_cr= | 
|  | 5516 | case $build_os in | 
|  | 5517 | mingw*) | 
|  | 5518 | opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 
|  | 5519 | ;; | 
|  | 5520 | esac | 
|  | 5521 |  | 
|  | 5522 | # If we're using GNU nm, then use its standard symbol codes. | 
|  | 5523 | case `$NM -V 2>&1` in | 
|  | 5524 | *GNU* | *'with BFD'*) | 
|  | 5525 | symcode='[ABCDGISTW]' ;; | 
|  | 5526 | esac | 
|  | 5527 |  | 
|  | 5528 | # Try without a prefix undercore, then with it. | 
|  | 5529 | for ac_symprfx in "" "_"; do | 
|  | 5530 |  | 
|  | 5531 | # Write the raw and C identifiers. | 
|  | 5532 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | 
|  | 5533 |  | 
|  | 5534 | # Check to see that the pipe works correctly. | 
|  | 5535 | pipe_works=no | 
|  | 5536 |  | 
|  | 5537 | rm -f conftest* | 
|  | 5538 | cat > conftest.$ac_ext <<EOF | 
|  | 5539 | #ifdef __cplusplus | 
|  | 5540 | extern "C" { | 
|  | 5541 | #endif | 
|  | 5542 | char nm_test_var; | 
|  | 5543 | void nm_test_func(){} | 
|  | 5544 | #ifdef __cplusplus | 
|  | 5545 | } | 
|  | 5546 | #endif | 
|  | 5547 | int main(){nm_test_var='a';nm_test_func();return(0);} | 
|  | 5548 | EOF | 
|  | 5549 |  | 
|  | 5550 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 5551 | (eval $ac_compile) 2>&5 | 
|  | 5552 | ac_status=$? | 
|  | 5553 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5554 | (exit $ac_status); }; then | 
|  | 5555 | # Now try to grab the symbols. | 
|  | 5556 | nlist=conftest.nm | 
|  | 5557 | if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 | 
|  | 5558 | (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | 
|  | 5559 | ac_status=$? | 
|  | 5560 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5561 | (exit $ac_status); } && test -s "$nlist"; then | 
|  | 5562 | # Try sorting and uniquifying the output. | 
|  | 5563 | if sort "$nlist" | uniq > "$nlist"T; then | 
|  | 5564 | mv -f "$nlist"T "$nlist" | 
|  | 5565 | else | 
|  | 5566 | rm -f "$nlist"T | 
|  | 5567 | fi | 
|  | 5568 |  | 
|  | 5569 | # Make sure that we snagged all the symbols we need. | 
|  | 5570 | if grep ' nm_test_var$' "$nlist" >/dev/null; then | 
|  | 5571 | if grep ' nm_test_func$' "$nlist" >/dev/null; then | 
|  | 5572 | cat <<EOF > conftest.$ac_ext | 
|  | 5573 | #ifdef __cplusplus | 
|  | 5574 | extern "C" { | 
|  | 5575 | #endif | 
|  | 5576 |  | 
|  | 5577 | EOF | 
|  | 5578 | # Now generate the symbol file. | 
|  | 5579 | eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext' | 
|  | 5580 |  | 
|  | 5581 | cat <<EOF >> conftest.$ac_ext | 
|  | 5582 | #if defined (__STDC__) && __STDC__ | 
|  | 5583 | # define lt_ptr_t void * | 
|  | 5584 | #else | 
|  | 5585 | # define lt_ptr_t char * | 
|  | 5586 | # define const | 
|  | 5587 | #endif | 
|  | 5588 |  | 
|  | 5589 | /* The mapping between symbol names and symbols. */ | 
|  | 5590 | const struct { | 
|  | 5591 | const char *name; | 
|  | 5592 | lt_ptr_t address; | 
|  | 5593 | } | 
|  | 5594 | lt_preloaded_symbols[] = | 
|  | 5595 | { | 
|  | 5596 | EOF | 
|  | 5597 | $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext | 
|  | 5598 | cat <<\EOF >> conftest.$ac_ext | 
|  | 5599 | {0, (lt_ptr_t) 0} | 
|  | 5600 | }; | 
|  | 5601 |  | 
|  | 5602 | #ifdef __cplusplus | 
|  | 5603 | } | 
|  | 5604 | #endif | 
|  | 5605 | EOF | 
|  | 5606 | # Now try linking the two files. | 
|  | 5607 | mv conftest.$ac_objext conftstm.$ac_objext | 
|  | 5608 | lt_save_LIBS="$LIBS" | 
|  | 5609 | lt_save_CFLAGS="$CFLAGS" | 
|  | 5610 | LIBS="conftstm.$ac_objext" | 
|  | 5611 | CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | 
|  | 5612 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 5613 | (eval $ac_link) 2>&5 | 
|  | 5614 | ac_status=$? | 
|  | 5615 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 5616 | (exit $ac_status); } && test -s conftest${ac_exeext}; then | 
|  | 5617 | pipe_works=yes | 
|  | 5618 | fi | 
|  | 5619 | LIBS="$lt_save_LIBS" | 
|  | 5620 | CFLAGS="$lt_save_CFLAGS" | 
|  | 5621 | else | 
|  | 5622 | echo "cannot find nm_test_func in $nlist" >&5 | 
|  | 5623 | fi | 
|  | 5624 | else | 
|  | 5625 | echo "cannot find nm_test_var in $nlist" >&5 | 
|  | 5626 | fi | 
|  | 5627 | else | 
|  | 5628 | echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 
|  | 5629 | fi | 
|  | 5630 | else | 
|  | 5631 | echo "$progname: failed program was:" >&5 | 
|  | 5632 | cat conftest.$ac_ext >&5 | 
|  | 5633 | fi | 
|  | 5634 | rm -f conftest* conftst* | 
|  | 5635 |  | 
|  | 5636 | # Do not use the global_symbol_pipe unless it works. | 
|  | 5637 | if test "$pipe_works" = yes; then | 
|  | 5638 | break | 
|  | 5639 | else | 
|  | 5640 | lt_cv_sys_global_symbol_pipe= | 
|  | 5641 | fi | 
|  | 5642 | done | 
|  | 5643 |  | 
|  | 5644 | fi | 
|  | 5645 |  | 
|  | 5646 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | 
|  | 5647 | lt_cv_sys_global_symbol_to_cdecl= | 
|  | 5648 | fi | 
|  | 5649 | if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then | 
|  | 5650 | echo "$as_me:$LINENO: result: failed" >&5 | 
|  | 5651 | echo "${ECHO_T}failed" >&6 | 
|  | 5652 | else | 
|  | 5653 | echo "$as_me:$LINENO: result: ok" >&5 | 
|  | 5654 | echo "${ECHO_T}ok" >&6 | 
|  | 5655 | fi | 
|  | 5656 |  | 
|  | 5657 | echo "$as_me:$LINENO: checking for objdir" >&5 | 
|  | 5658 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | 
|  | 5659 | if test "${lt_cv_objdir+set}" = set; then | 
|  | 5660 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5661 | else | 
|  | 5662 | rm -f .libs 2>/dev/null | 
|  | 5663 | mkdir .libs 2>/dev/null | 
|  | 5664 | if test -d .libs; then | 
|  | 5665 | lt_cv_objdir=.libs | 
|  | 5666 | else | 
|  | 5667 | # MS-DOS does not allow filenames that begin with a dot. | 
|  | 5668 | lt_cv_objdir=_libs | 
|  | 5669 | fi | 
|  | 5670 | rmdir .libs 2>/dev/null | 
|  | 5671 | fi | 
|  | 5672 | echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 | 
|  | 5673 | echo "${ECHO_T}$lt_cv_objdir" >&6 | 
|  | 5674 | objdir=$lt_cv_objdir | 
|  | 5675 |  | 
|  | 5676 |  | 
|  | 5677 |  | 
|  | 5678 |  | 
|  | 5679 |  | 
|  | 5680 | case $host_os in | 
|  | 5681 | aix3*) | 
|  | 5682 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
|  | 5683 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
|  | 5684 | # vanish in a puff of smoke. | 
|  | 5685 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
|  | 5686 | COLLECT_NAMES= | 
|  | 5687 | export COLLECT_NAMES | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5688 | fi | 
|  | 5689 | ;; | 
|  | 5690 | esac | 
|  | 5691 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5692 | # Sed substitution that helps us do robust quoting.  It backslashifies | 
|  | 5693 | # metacharacters that are still active within double-quoted strings. | 
|  | 5694 | Xsed='sed -e s/^X//' | 
|  | 5695 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' | 
|  | 5696 |  | 
|  | 5697 | # Same as above, but do not quote variable references. | 
|  | 5698 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' | 
|  | 5699 |  | 
|  | 5700 | # Sed substitution to delay expansion of an escaped shell variable in a | 
|  | 5701 | # double_quote_subst'ed string. | 
|  | 5702 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 
|  | 5703 |  | 
|  | 5704 | # Sed substitution to avoid accidental globbing in evaled expressions | 
|  | 5705 | no_glob_subst='s/\*/\\\*/g' | 
|  | 5706 |  | 
|  | 5707 | # Constants: | 
|  | 5708 | rm="rm -f" | 
|  | 5709 |  | 
|  | 5710 | # Global variables: | 
| John Criswell | 8d4221e | 2003-07-23 16:52:50 +0000 | [diff] [blame] | 5711 | default_ofile=mklib | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5712 | can_build_shared=yes | 
|  | 5713 |  | 
|  | 5714 | # All known linkers require a `.a' archive for static linking (except M$VC, | 
|  | 5715 | # which needs '.lib'). | 
|  | 5716 | libext=a | 
|  | 5717 | ltmain="$ac_aux_dir/ltmain.sh" | 
|  | 5718 | ofile="$default_ofile" | 
|  | 5719 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 
|  | 5720 |  | 
|  | 5721 | if test -n "$ac_tool_prefix"; then | 
|  | 5722 | # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. | 
|  | 5723 | set dummy ${ac_tool_prefix}ar; ac_word=$2 | 
|  | 5724 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5725 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5726 | if test "${ac_cv_prog_AR+set}" = set; then | 
|  | 5727 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5728 | else | 
|  | 5729 | if test -n "$AR"; then | 
|  | 5730 | ac_cv_prog_AR="$AR" # Let the user override the test. | 
|  | 5731 | else | 
|  | 5732 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5733 | for as_dir in $PATH | 
|  | 5734 | do | 
|  | 5735 | IFS=$as_save_IFS | 
|  | 5736 | test -z "$as_dir" && as_dir=. | 
|  | 5737 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5738 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5739 | ac_cv_prog_AR="${ac_tool_prefix}ar" | 
|  | 5740 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5741 | break 2 | 
|  | 5742 | fi | 
|  | 5743 | done | 
|  | 5744 | done | 
|  | 5745 |  | 
|  | 5746 | fi | 
|  | 5747 | fi | 
|  | 5748 | AR=$ac_cv_prog_AR | 
|  | 5749 | if test -n "$AR"; then | 
|  | 5750 | echo "$as_me:$LINENO: result: $AR" >&5 | 
|  | 5751 | echo "${ECHO_T}$AR" >&6 | 
|  | 5752 | else | 
|  | 5753 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5754 | echo "${ECHO_T}no" >&6 | 
|  | 5755 | fi | 
|  | 5756 |  | 
|  | 5757 | fi | 
|  | 5758 | if test -z "$ac_cv_prog_AR"; then | 
|  | 5759 | ac_ct_AR=$AR | 
|  | 5760 | # Extract the first word of "ar", so it can be a program name with args. | 
|  | 5761 | set dummy ar; ac_word=$2 | 
|  | 5762 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5763 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5764 | if test "${ac_cv_prog_ac_ct_AR+set}" = set; then | 
|  | 5765 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5766 | else | 
|  | 5767 | if test -n "$ac_ct_AR"; then | 
|  | 5768 | ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | 
|  | 5769 | else | 
|  | 5770 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5771 | for as_dir in $PATH | 
|  | 5772 | do | 
|  | 5773 | IFS=$as_save_IFS | 
|  | 5774 | test -z "$as_dir" && as_dir=. | 
|  | 5775 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5776 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5777 | ac_cv_prog_ac_ct_AR="ar" | 
|  | 5778 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5779 | break 2 | 
|  | 5780 | fi | 
|  | 5781 | done | 
|  | 5782 | done | 
|  | 5783 |  | 
|  | 5784 | test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false" | 
|  | 5785 | fi | 
|  | 5786 | fi | 
|  | 5787 | ac_ct_AR=$ac_cv_prog_ac_ct_AR | 
|  | 5788 | if test -n "$ac_ct_AR"; then | 
|  | 5789 | echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 | 
|  | 5790 | echo "${ECHO_T}$ac_ct_AR" >&6 | 
|  | 5791 | else | 
|  | 5792 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5793 | echo "${ECHO_T}no" >&6 | 
|  | 5794 | fi | 
|  | 5795 |  | 
|  | 5796 | AR=$ac_ct_AR | 
|  | 5797 | else | 
|  | 5798 | AR="$ac_cv_prog_AR" | 
|  | 5799 | fi | 
|  | 5800 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5801 | if test -n "$ac_tool_prefix"; then | 
|  | 5802 | # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
|  | 5803 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
|  | 5804 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5805 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5806 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
|  | 5807 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5808 | else | 
|  | 5809 | if test -n "$RANLIB"; then | 
|  | 5810 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
|  | 5811 | else | 
|  | 5812 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5813 | for as_dir in $PATH | 
|  | 5814 | do | 
|  | 5815 | IFS=$as_save_IFS | 
|  | 5816 | test -z "$as_dir" && as_dir=. | 
|  | 5817 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5818 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5819 | ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
|  | 5820 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5821 | break 2 | 
|  | 5822 | fi | 
|  | 5823 | done | 
|  | 5824 | done | 
|  | 5825 |  | 
|  | 5826 | fi | 
|  | 5827 | fi | 
|  | 5828 | RANLIB=$ac_cv_prog_RANLIB | 
|  | 5829 | if test -n "$RANLIB"; then | 
|  | 5830 | echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
|  | 5831 | echo "${ECHO_T}$RANLIB" >&6 | 
|  | 5832 | else | 
|  | 5833 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5834 | echo "${ECHO_T}no" >&6 | 
|  | 5835 | fi | 
|  | 5836 |  | 
|  | 5837 | fi | 
|  | 5838 | if test -z "$ac_cv_prog_RANLIB"; then | 
|  | 5839 | ac_ct_RANLIB=$RANLIB | 
|  | 5840 | # Extract the first word of "ranlib", so it can be a program name with args. | 
|  | 5841 | set dummy ranlib; ac_word=$2 | 
|  | 5842 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5843 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5844 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
|  | 5845 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5846 | else | 
|  | 5847 | if test -n "$ac_ct_RANLIB"; then | 
|  | 5848 | ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
|  | 5849 | else | 
|  | 5850 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5851 | for as_dir in $PATH | 
|  | 5852 | do | 
|  | 5853 | IFS=$as_save_IFS | 
|  | 5854 | test -z "$as_dir" && as_dir=. | 
|  | 5855 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5856 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5857 | ac_cv_prog_ac_ct_RANLIB="ranlib" | 
|  | 5858 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5859 | break 2 | 
|  | 5860 | fi | 
|  | 5861 | done | 
|  | 5862 | done | 
|  | 5863 |  | 
|  | 5864 | test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
|  | 5865 | fi | 
|  | 5866 | fi | 
|  | 5867 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
|  | 5868 | if test -n "$ac_ct_RANLIB"; then | 
|  | 5869 | echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
|  | 5870 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
|  | 5871 | else | 
|  | 5872 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5873 | echo "${ECHO_T}no" >&6 | 
|  | 5874 | fi | 
|  | 5875 |  | 
|  | 5876 | RANLIB=$ac_ct_RANLIB | 
|  | 5877 | else | 
|  | 5878 | RANLIB="$ac_cv_prog_RANLIB" | 
|  | 5879 | fi | 
|  | 5880 |  | 
|  | 5881 | if test -n "$ac_tool_prefix"; then | 
|  | 5882 | # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
|  | 5883 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
|  | 5884 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5885 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5886 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
|  | 5887 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5888 | else | 
|  | 5889 | if test -n "$STRIP"; then | 
|  | 5890 | ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
|  | 5891 | else | 
|  | 5892 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5893 | for as_dir in $PATH | 
|  | 5894 | do | 
|  | 5895 | IFS=$as_save_IFS | 
|  | 5896 | test -z "$as_dir" && as_dir=. | 
|  | 5897 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5898 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5899 | ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
|  | 5900 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5901 | break 2 | 
|  | 5902 | fi | 
|  | 5903 | done | 
|  | 5904 | done | 
|  | 5905 |  | 
|  | 5906 | fi | 
|  | 5907 | fi | 
|  | 5908 | STRIP=$ac_cv_prog_STRIP | 
|  | 5909 | if test -n "$STRIP"; then | 
|  | 5910 | echo "$as_me:$LINENO: result: $STRIP" >&5 | 
|  | 5911 | echo "${ECHO_T}$STRIP" >&6 | 
|  | 5912 | else | 
|  | 5913 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5914 | echo "${ECHO_T}no" >&6 | 
|  | 5915 | fi | 
|  | 5916 |  | 
|  | 5917 | fi | 
|  | 5918 | if test -z "$ac_cv_prog_STRIP"; then | 
|  | 5919 | ac_ct_STRIP=$STRIP | 
|  | 5920 | # Extract the first word of "strip", so it can be a program name with args. | 
|  | 5921 | set dummy strip; ac_word=$2 | 
|  | 5922 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 5923 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 5924 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
|  | 5925 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 5926 | else | 
|  | 5927 | if test -n "$ac_ct_STRIP"; then | 
|  | 5928 | ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
|  | 5929 | else | 
|  | 5930 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 5931 | for as_dir in $PATH | 
|  | 5932 | do | 
|  | 5933 | IFS=$as_save_IFS | 
|  | 5934 | test -z "$as_dir" && as_dir=. | 
|  | 5935 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 5936 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 5937 | ac_cv_prog_ac_ct_STRIP="strip" | 
|  | 5938 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 5939 | break 2 | 
|  | 5940 | fi | 
|  | 5941 | done | 
|  | 5942 | done | 
|  | 5943 |  | 
|  | 5944 | test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
|  | 5945 | fi | 
|  | 5946 | fi | 
|  | 5947 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
|  | 5948 | if test -n "$ac_ct_STRIP"; then | 
|  | 5949 | echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
|  | 5950 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
|  | 5951 | else | 
|  | 5952 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 5953 | echo "${ECHO_T}no" >&6 | 
|  | 5954 | fi | 
|  | 5955 |  | 
|  | 5956 | STRIP=$ac_ct_STRIP | 
|  | 5957 | else | 
|  | 5958 | STRIP="$ac_cv_prog_STRIP" | 
|  | 5959 | fi | 
|  | 5960 |  | 
|  | 5961 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5962 | old_CC="$CC" | 
|  | 5963 | old_CFLAGS="$CFLAGS" | 
|  | 5964 |  | 
|  | 5965 | # Set sane defaults for various variables | 
|  | 5966 | test -z "$AR" && AR=ar | 
|  | 5967 | test -z "$AR_FLAGS" && AR_FLAGS=cru | 
|  | 5968 | test -z "$AS" && AS=as | 
|  | 5969 | test -z "$CC" && CC=cc | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5970 | test -z "$LTCC" && LTCC=$CC | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5971 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 
|  | 5972 | test -z "$LD" && LD=ld | 
|  | 5973 | test -z "$LN_S" && LN_S="ln -s" | 
|  | 5974 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | 
|  | 5975 | test -z "$NM" && NM=nm | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5976 | test -z "$SED" && SED=sed | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5977 | test -z "$OBJDUMP" && OBJDUMP=objdump | 
|  | 5978 | test -z "$RANLIB" && RANLIB=: | 
|  | 5979 | test -z "$STRIP" && STRIP=: | 
|  | 5980 | test -z "$ac_objext" && ac_objext=o | 
|  | 5981 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 5982 | # Determine commands to create old-style static archives. | 
|  | 5983 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' | 
|  | 5984 | old_postinstall_cmds='chmod 644 $oldlib' | 
|  | 5985 | old_postuninstall_cmds= | 
|  | 5986 |  | 
|  | 5987 | if test -n "$RANLIB"; then | 
|  | 5988 | case $host_os in | 
|  | 5989 | openbsd*) | 
|  | 5990 | old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" | 
|  | 5991 | ;; | 
|  | 5992 | *) | 
|  | 5993 | old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 
|  | 5994 | ;; | 
|  | 5995 | esac | 
|  | 5996 | old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 
|  | 5997 | fi | 
|  | 5998 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 5999 | # Only perform the check for file, if the check method requires it | 
|  | 6000 | case $deplibs_check_method in | 
|  | 6001 | file_magic*) | 
|  | 6002 | if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
|  | 6003 | echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 | 
|  | 6004 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | 
|  | 6005 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
|  | 6006 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6007 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6008 | case $MAGIC_CMD in | 
|  | 6009 | [\\/*] |  ?:[\\/]*) | 
|  | 6010 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
|  | 6011 | ;; | 
|  | 6012 | *) | 
|  | 6013 | lt_save_MAGIC_CMD="$MAGIC_CMD" | 
|  | 6014 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
|  | 6015 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
|  | 6016 | for ac_dir in $ac_dummy; do | 
|  | 6017 | IFS="$lt_save_ifs" | 
|  | 6018 | test -z "$ac_dir" && ac_dir=. | 
|  | 6019 | if test -f $ac_dir/${ac_tool_prefix}file; then | 
|  | 6020 | lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
|  | 6021 | if test -n "$file_magic_test_file"; then | 
|  | 6022 | case $deplibs_check_method in | 
|  | 6023 | "file_magic "*) | 
|  | 6024 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
|  | 6025 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  | 6026 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
|  | 6027 | $EGREP "$file_magic_regex" > /dev/null; then | 
|  | 6028 | : | 
|  | 6029 | else | 
|  | 6030 | cat <<EOF 1>&2 | 
|  | 6031 |  | 
|  | 6032 | *** Warning: the command libtool uses to detect shared libraries, | 
|  | 6033 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
|  | 6034 | *** The result is that libtool may fail to recognize shared libraries | 
|  | 6035 | *** as such.  This will affect the creation of libtool libraries that | 
|  | 6036 | *** depend on shared libraries, but programs linked with such libtool | 
|  | 6037 | *** libraries will work regardless of this problem.  Nevertheless, you | 
|  | 6038 | *** may want to report the problem to your system manager and/or to | 
|  | 6039 | *** bug-libtool@gnu.org | 
|  | 6040 |  | 
|  | 6041 | EOF | 
|  | 6042 | fi ;; | 
|  | 6043 | esac | 
|  | 6044 | fi | 
|  | 6045 | break | 
|  | 6046 | fi | 
|  | 6047 | done | 
|  | 6048 | IFS="$lt_save_ifs" | 
|  | 6049 | MAGIC_CMD="$lt_save_MAGIC_CMD" | 
|  | 6050 | ;; | 
|  | 6051 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6052 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6053 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6054 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  | 6055 | if test -n "$MAGIC_CMD"; then | 
|  | 6056 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
|  | 6057 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
|  | 6058 | else | 
|  | 6059 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 6060 | echo "${ECHO_T}no" >&6 | 
|  | 6061 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6062 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6063 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 
|  | 6064 | if test -n "$ac_tool_prefix"; then | 
|  | 6065 | echo "$as_me:$LINENO: checking for file" >&5 | 
|  | 6066 | echo $ECHO_N "checking for file... $ECHO_C" >&6 | 
|  | 6067 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
|  | 6068 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 6069 | else | 
|  | 6070 | case $MAGIC_CMD in | 
|  | 6071 | [\\/*] |  ?:[\\/]*) | 
|  | 6072 | lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
|  | 6073 | ;; | 
|  | 6074 | *) | 
|  | 6075 | lt_save_MAGIC_CMD="$MAGIC_CMD" | 
|  | 6076 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
|  | 6077 | ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
|  | 6078 | for ac_dir in $ac_dummy; do | 
|  | 6079 | IFS="$lt_save_ifs" | 
|  | 6080 | test -z "$ac_dir" && ac_dir=. | 
|  | 6081 | if test -f $ac_dir/file; then | 
|  | 6082 | lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
|  | 6083 | if test -n "$file_magic_test_file"; then | 
|  | 6084 | case $deplibs_check_method in | 
|  | 6085 | "file_magic "*) | 
|  | 6086 | file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
|  | 6087 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  | 6088 | if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
|  | 6089 | $EGREP "$file_magic_regex" > /dev/null; then | 
|  | 6090 | : | 
|  | 6091 | else | 
|  | 6092 | cat <<EOF 1>&2 | 
|  | 6093 |  | 
|  | 6094 | *** Warning: the command libtool uses to detect shared libraries, | 
|  | 6095 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
|  | 6096 | *** The result is that libtool may fail to recognize shared libraries | 
|  | 6097 | *** as such.  This will affect the creation of libtool libraries that | 
|  | 6098 | *** depend on shared libraries, but programs linked with such libtool | 
|  | 6099 | *** libraries will work regardless of this problem.  Nevertheless, you | 
|  | 6100 | *** may want to report the problem to your system manager and/or to | 
|  | 6101 | *** bug-libtool@gnu.org | 
|  | 6102 |  | 
|  | 6103 | EOF | 
|  | 6104 | fi ;; | 
|  | 6105 | esac | 
|  | 6106 | fi | 
|  | 6107 | break | 
|  | 6108 | fi | 
|  | 6109 | done | 
|  | 6110 | IFS="$lt_save_ifs" | 
|  | 6111 | MAGIC_CMD="$lt_save_MAGIC_CMD" | 
|  | 6112 | ;; | 
|  | 6113 | esac | 
|  | 6114 | fi | 
|  | 6115 |  | 
|  | 6116 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
|  | 6117 | if test -n "$MAGIC_CMD"; then | 
|  | 6118 | echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
|  | 6119 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
|  | 6120 | else | 
|  | 6121 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 6122 | echo "${ECHO_T}no" >&6 | 
|  | 6123 | fi | 
|  | 6124 |  | 
|  | 6125 | else | 
|  | 6126 | MAGIC_CMD=: | 
|  | 6127 | fi | 
|  | 6128 | fi | 
|  | 6129 |  | 
|  | 6130 | fi | 
|  | 6131 | ;; | 
|  | 6132 | esac | 
|  | 6133 |  | 
|  | 6134 | enable_dlopen=no | 
|  | 6135 | enable_win32_dll=no | 
|  | 6136 |  | 
|  | 6137 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
|  | 6138 | if test "${enable_libtool_lock+set}" = set; then | 
|  | 6139 | enableval="$enable_libtool_lock" | 
|  | 6140 |  | 
|  | 6141 | fi; | 
|  | 6142 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
|  | 6143 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6144 |  | 
|  | 6145 | # Check whether --with-pic or --without-pic was given. | 
|  | 6146 | if test "${with_pic+set}" = set; then | 
|  | 6147 | withval="$with_pic" | 
|  | 6148 | pic_mode="$withval" | 
|  | 6149 | else | 
|  | 6150 | pic_mode=default | 
|  | 6151 | fi; | 
|  | 6152 | test -z "$pic_mode" && pic_mode=default | 
|  | 6153 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6154 | # Use C for the default configuration in the libtool script | 
|  | 6155 | tagname= | 
|  | 6156 | lt_save_CC="$CC" | 
|  | 6157 | ac_ext=c | 
|  | 6158 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 6159 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 6160 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 6161 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 6162 |  | 
|  | 6163 |  | 
|  | 6164 | # Source file extension for C test sources. | 
|  | 6165 | ac_ext=c | 
|  | 6166 |  | 
|  | 6167 | # Object file extension for compiled C test sources. | 
|  | 6168 | objext=o | 
|  | 6169 | objext=$objext | 
|  | 6170 |  | 
|  | 6171 | # Code to be used in simple compile tests | 
|  | 6172 | lt_simple_compile_test_code="int some_variable = 0;\n" | 
|  | 6173 |  | 
|  | 6174 | # Code to be used in simple link tests | 
|  | 6175 | lt_simple_link_test_code='int main(){return(0);}\n' | 
|  | 6176 |  | 
|  | 6177 |  | 
|  | 6178 | # If no C compiler was specified, use CC. | 
|  | 6179 | LTCC=${LTCC-"$CC"} | 
|  | 6180 |  | 
|  | 6181 | # Allow CC to be a program name with arguments. | 
|  | 6182 | compiler=$CC | 
|  | 6183 |  | 
|  | 6184 |  | 
|  | 6185 | # | 
|  | 6186 | # Check for any special shared library compilation flags. | 
|  | 6187 | # | 
|  | 6188 | lt_prog_cc_shlib= | 
|  | 6189 | if test "$GCC" = no; then | 
|  | 6190 | case $host_os in | 
|  | 6191 | sco3.2v5*) | 
|  | 6192 | lt_prog_cc_shlib='-belf' | 
|  | 6193 | ;; | 
|  | 6194 | esac | 
|  | 6195 | fi | 
|  | 6196 | if test -n "$lt_prog_cc_shlib"; then | 
|  | 6197 | { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5 | 
|  | 6198 | echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;} | 
|  | 6199 | if echo "$old_CC $old_CFLAGS " | grep "[ 	]$lt_prog_cc_shlib[ 	]" >/dev/null; then : | 
|  | 6200 | else | 
|  | 6201 | { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 | 
|  | 6202 | echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | 
|  | 6203 | lt_cv_prog_cc_can_build_shared=no | 
|  | 6204 | fi | 
|  | 6205 | fi | 
|  | 6206 |  | 
|  | 6207 |  | 
|  | 6208 | # | 
|  | 6209 | # Check to make sure the static flag actually works. | 
|  | 6210 | # | 
|  | 6211 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5 | 
|  | 6212 | echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6 | 
|  | 6213 | if test "${lt_prog_compiler_static_works+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6214 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 6215 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6216 | lt_prog_compiler_static_works=no | 
|  | 6217 | save_LDFLAGS="$LDFLAGS" | 
|  | 6218 | LDFLAGS="$LDFLAGS $lt_prog_compiler_static" | 
|  | 6219 | printf "$lt_simple_link_test_code" > conftest.$ac_ext | 
|  | 6220 | if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 
|  | 6221 | # The compiler can only warn and ignore the option if not recognized | 
|  | 6222 | # So say no if there are warnings | 
|  | 6223 | if test -s conftest.err; then | 
|  | 6224 | # Append any errors to the config.log. | 
|  | 6225 | cat conftest.err 1>&5 | 
|  | 6226 | else | 
|  | 6227 | lt_prog_compiler_static_works=yes | 
|  | 6228 | fi | 
|  | 6229 | fi | 
|  | 6230 | $rm conftest* | 
|  | 6231 | LDFLAGS="$save_LDFLAGS" | 
|  | 6232 |  | 
|  | 6233 | fi | 
|  | 6234 | echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5 | 
|  | 6235 | echo "${ECHO_T}$lt_prog_compiler_static_works" >&6 | 
|  | 6236 |  | 
|  | 6237 | if test x"$lt_prog_compiler_static_works" = xyes; then | 
|  | 6238 | : | 
|  | 6239 | else | 
|  | 6240 | lt_prog_compiler_static= | 
|  | 6241 | fi | 
|  | 6242 |  | 
|  | 6243 |  | 
|  | 6244 |  | 
|  | 6245 | ## CAVEAT EMPTOR: | 
|  | 6246 | ## There is no encapsulation within the following macros, do not change | 
|  | 6247 | ## the running order or otherwise move them around unless you know exactly | 
|  | 6248 | ## what you are doing... | 
|  | 6249 |  | 
|  | 6250 | lt_prog_compiler_no_builtin_flag= | 
|  | 6251 |  | 
|  | 6252 | if test "$GCC" = yes; then | 
|  | 6253 | lt_prog_compiler_no_builtin_flag=' -fno-builtin' | 
|  | 6254 |  | 
|  | 6255 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
|  | 6256 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
|  | 6257 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 
|  | 6258 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 6259 | else | 
|  | 6260 | lt_cv_prog_compiler_rtti_exceptions=no | 
|  | 6261 | ac_outfile=conftest.$ac_objext | 
|  | 6262 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 6263 | lt_compiler_flag="-fno-rtti -fno-exceptions" | 
|  | 6264 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 6265 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 6266 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 6267 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 6268 | # The option is referenced via a variable to avoid confusing sed. | 
|  | 6269 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 6270 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 6271 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 6272 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 6273 | (eval echo "\"\$as_me:6279: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6274 | (eval "$lt_compile" 2>conftest.err) | 
|  | 6275 | ac_status=$? | 
|  | 6276 | cat conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 6277 | echo "$as_me:6283: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6278 | if (exit $ac_status) && test -s "$ac_outfile"; then | 
|  | 6279 | # The compiler can only warn and ignore the option if not recognized | 
|  | 6280 | # So say no if there are warnings | 
|  | 6281 | if test ! -s conftest.err; then | 
|  | 6282 | lt_cv_prog_compiler_rtti_exceptions=yes | 
|  | 6283 | fi | 
|  | 6284 | fi | 
|  | 6285 | $rm conftest* | 
|  | 6286 |  | 
|  | 6287 | fi | 
|  | 6288 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 
|  | 6289 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 
|  | 6290 |  | 
|  | 6291 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 
|  | 6292 | lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" | 
|  | 6293 | else | 
|  | 6294 | : | 
|  | 6295 | fi | 
|  | 6296 |  | 
|  | 6297 | fi | 
|  | 6298 |  | 
|  | 6299 | lt_prog_compiler_wl= | 
|  | 6300 | lt_prog_compiler_pic= | 
|  | 6301 | lt_prog_compiler_static= | 
|  | 6302 |  | 
|  | 6303 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
|  | 6304 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6305 |  | 
|  | 6306 | if test "$GCC" = yes; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6307 | lt_prog_compiler_wl='-Wl,' | 
|  | 6308 | lt_prog_compiler_static='-static' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6309 |  | 
|  | 6310 | case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6311 | aix*) | 
|  | 6312 | # All AIX code is PIC. | 
|  | 6313 | if test "$host_cpu" = ia64; then | 
|  | 6314 | # AIX 5 now supports IA64 processor | 
|  | 6315 | lt_prog_compiler_static='-Bstatic' | 
|  | 6316 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6317 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6318 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6319 | amigaos*) | 
|  | 6320 | # FIXME: we need at least 68020 code to build shared libraries, but | 
|  | 6321 | # adding the `-m68020' flag to GCC prevents building anything better, | 
|  | 6322 | # like `-m68040'. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6323 | lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6324 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6325 |  | 
|  | 6326 | beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6327 | # PIC is the default for these OSes. | 
|  | 6328 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6329 |  | 
|  | 6330 | mingw* | pw32* | os2*) | 
|  | 6331 | # This hack is so that the source file can tell whether it is being | 
|  | 6332 | # built for inclusion in a dll (and should export symbols for example). | 
|  | 6333 | lt_prog_compiler_pic='-DDLL_EXPORT' | 
|  | 6334 | ;; | 
|  | 6335 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6336 | darwin* | rhapsody*) | 
|  | 6337 | # PIC is the default on this platform | 
|  | 6338 | # Common symbols not allowed in MH_DYLIB files | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6339 | lt_prog_compiler_pic='-fno-common' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6340 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6341 |  | 
|  | 6342 | msdosdjgpp*) | 
|  | 6343 | # Just because we use GCC doesn't mean we suddenly get shared libraries | 
|  | 6344 | # on systems that don't support them. | 
|  | 6345 | lt_prog_compiler_can_build_shared=no | 
|  | 6346 | enable_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6347 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6348 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6349 | sysv4*MP*) | 
|  | 6350 | if test -d /usr/nec; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6351 | lt_prog_compiler_pic=-Kconform_pic | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6352 | fi | 
|  | 6353 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6354 |  | 
|  | 6355 | hpux*) | 
|  | 6356 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
|  | 6357 | # not for PA HP-UX. | 
|  | 6358 | case "$host_cpu" in | 
|  | 6359 | hppa*64*|ia64*) | 
|  | 6360 | # +Z the default | 
|  | 6361 | ;; | 
|  | 6362 | *) | 
|  | 6363 | lt_prog_compiler_pic='-fPIC' | 
|  | 6364 | ;; | 
|  | 6365 | esac | 
|  | 6366 | ;; | 
|  | 6367 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6368 | *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6369 | lt_prog_compiler_pic='-fPIC' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6370 | ;; | 
|  | 6371 | esac | 
|  | 6372 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6373 | # PORTME Check for flag to pass linker flags through the system compiler. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6374 | case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6375 | aix*) | 
|  | 6376 | lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6377 | if test "$host_cpu" = ia64; then | 
|  | 6378 | # AIX 5 now supports IA64 processor | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6379 | lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6380 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6381 | lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6382 | fi | 
|  | 6383 | ;; | 
|  | 6384 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6385 | mingw* | pw32* | os2*) | 
|  | 6386 | # This hack is so that the source file can tell whether it is being | 
|  | 6387 | # built for inclusion in a dll (and should export symbols for example). | 
|  | 6388 | lt_prog_compiler_pic='-DDLL_EXPORT' | 
|  | 6389 | ;; | 
|  | 6390 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6391 | hpux9* | hpux10* | hpux11*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6392 | lt_prog_compiler_wl='-Wl,' | 
|  | 6393 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
|  | 6394 | # not for PA HP-UX. | 
|  | 6395 | case "$host_cpu" in | 
|  | 6396 | hppa*64*|ia64*) | 
|  | 6397 | # +Z the default | 
|  | 6398 | ;; | 
|  | 6399 | *) | 
|  | 6400 | lt_prog_compiler_pic='+Z' | 
|  | 6401 | ;; | 
|  | 6402 | esac | 
|  | 6403 | # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
|  | 6404 | lt_prog_compiler_static='${wl}-a ${wl}archive' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6405 | ;; | 
|  | 6406 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6407 | irix5* | irix6* | nonstopux*) | 
|  | 6408 | lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6409 | # PIC (with -KPIC) is the default. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6410 | lt_prog_compiler_static='-non_shared' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6411 | ;; | 
|  | 6412 |  | 
|  | 6413 | newsos6) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6414 | lt_prog_compiler_pic='-KPIC' | 
|  | 6415 | lt_prog_compiler_static='-Bstatic' | 
|  | 6416 | ;; | 
|  | 6417 |  | 
|  | 6418 | linux*) | 
|  | 6419 | case $CC in | 
|  | 6420 | icc|ecc) | 
|  | 6421 | lt_prog_compiler_wl='-Wl,' | 
|  | 6422 | lt_prog_compiler_pic='-KPIC' | 
|  | 6423 | lt_prog_compiler_static='-static' | 
|  | 6424 | ;; | 
|  | 6425 | ccc) | 
|  | 6426 | lt_prog_compiler_wl='-Wl,' | 
|  | 6427 | # All Alpha code is PIC. | 
|  | 6428 | lt_prog_compiler_static='-non_shared' | 
|  | 6429 | ;; | 
|  | 6430 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6431 | ;; | 
|  | 6432 |  | 
|  | 6433 | osf3* | osf4* | osf5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6434 | lt_prog_compiler_wl='-Wl,' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6435 | # All OSF/1 code is PIC. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6436 | lt_prog_compiler_static='-non_shared' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6437 | ;; | 
|  | 6438 |  | 
|  | 6439 | sco3.2v5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6440 | lt_prog_compiler_pic='-Kpic' | 
|  | 6441 | lt_prog_compiler_static='-dn' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6442 | ;; | 
|  | 6443 |  | 
|  | 6444 | solaris*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6445 | lt_prog_compiler_wl='-Wl,' | 
|  | 6446 | lt_prog_compiler_pic='-KPIC' | 
|  | 6447 | lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6448 | ;; | 
|  | 6449 |  | 
|  | 6450 | sunos4*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6451 | lt_prog_compiler_wl='-Qoption ld ' | 
|  | 6452 | lt_prog_compiler_pic='-PIC' | 
|  | 6453 | lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6454 | ;; | 
|  | 6455 |  | 
|  | 6456 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6457 | lt_prog_compiler_wl='-Wl,' | 
|  | 6458 | lt_prog_compiler_pic='-KPIC' | 
|  | 6459 | lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6460 | ;; | 
|  | 6461 |  | 
|  | 6462 | sysv4*MP*) | 
|  | 6463 | if test -d /usr/nec ;then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6464 | lt_prog_compiler_pic='-Kconform_pic' | 
|  | 6465 | lt_prog_compiler_static='-Bstatic' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6466 | fi | 
|  | 6467 | ;; | 
|  | 6468 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6469 | uts4*) | 
|  | 6470 | lt_prog_compiler_pic='-pic' | 
|  | 6471 | lt_prog_compiler_static='-Bstatic' | 
|  | 6472 | ;; | 
|  | 6473 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6474 | *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6475 | lt_prog_compiler_can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6476 | ;; | 
|  | 6477 | esac | 
|  | 6478 | fi | 
|  | 6479 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6480 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 | 
|  | 6481 | echo "${ECHO_T}$lt_prog_compiler_pic" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6482 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6483 | # | 
|  | 6484 | # Check to make sure the PIC flag actually works. | 
|  | 6485 | # | 
|  | 6486 | if test -n "$lt_prog_compiler_pic"; then | 
|  | 6487 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 | 
|  | 6488 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6 | 
|  | 6489 | if test "${lt_prog_compiler_pic_works+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6490 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 6491 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6492 | lt_prog_compiler_pic_works=no | 
|  | 6493 | ac_outfile=conftest.$ac_objext | 
|  | 6494 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 6495 | lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | 
|  | 6496 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 6497 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 6498 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 6499 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 6500 | # The option is referenced via a variable to avoid confusing sed. | 
|  | 6501 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 6502 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 6503 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 6504 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 6505 | (eval echo "\"\$as_me:6511: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6506 | (eval "$lt_compile" 2>conftest.err) | 
|  | 6507 | ac_status=$? | 
|  | 6508 | cat conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 6509 | echo "$as_me:6515: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6510 | if (exit $ac_status) && test -s "$ac_outfile"; then | 
|  | 6511 | # The compiler can only warn and ignore the option if not recognized | 
|  | 6512 | # So say no if there are warnings | 
|  | 6513 | if test ! -s conftest.err; then | 
|  | 6514 | lt_prog_compiler_pic_works=yes | 
|  | 6515 | fi | 
|  | 6516 | fi | 
|  | 6517 | $rm conftest* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6518 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6519 | fi | 
|  | 6520 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5 | 
|  | 6521 | echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6522 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6523 | if test x"$lt_prog_compiler_pic_works" = xyes; then | 
|  | 6524 | case $lt_prog_compiler_pic in | 
|  | 6525 | "" | " "*) ;; | 
|  | 6526 | *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 
|  | 6527 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6528 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6529 | lt_prog_compiler_pic= | 
|  | 6530 | lt_prog_compiler_can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6531 | fi | 
|  | 6532 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6533 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6534 | case "$host_os" in | 
|  | 6535 | # For platforms which do not support PIC, -DPIC is meaningless: | 
|  | 6536 | *djgpp*) | 
|  | 6537 | lt_prog_compiler_pic= | 
|  | 6538 | ;; | 
|  | 6539 | *) | 
|  | 6540 | lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 
|  | 6541 | ;; | 
|  | 6542 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6543 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6544 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
|  | 6545 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6546 | if test "${lt_cv_prog_compiler_c_o+set}" = set; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6547 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 6548 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6549 | lt_cv_prog_compiler_c_o=no | 
|  | 6550 | $rm -r conftest 2>/dev/null | 
|  | 6551 | mkdir conftest | 
|  | 6552 | cd conftest | 
|  | 6553 | mkdir out | 
|  | 6554 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6555 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6556 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
|  | 6557 | # that will create temporary files in the current directory regardless of | 
|  | 6558 | # the output directory.  Thus, making CWD read-only will cause this test | 
|  | 6559 | # to fail, enabling locking or at least warning the user not to do parallel | 
|  | 6560 | # builds. | 
|  | 6561 | chmod -w . | 
|  | 6562 |  | 
|  | 6563 | lt_compiler_flag="-o out/conftest2.$ac_objext" | 
|  | 6564 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 6565 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 6566 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 6567 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 6568 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 6569 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 6570 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 6571 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 6572 | (eval echo "\"\$as_me:6578: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6573 | (eval "$lt_compile" 2>out/conftest.err) | 
|  | 6574 | ac_status=$? | 
|  | 6575 | cat out/conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 6576 | echo "$as_me:6582: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6577 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
|  | 6578 | then | 
|  | 6579 | # The compiler can only warn and ignore the option if not recognized | 
|  | 6580 | # So say no if there are warnings | 
|  | 6581 | if test ! -s out/conftest.err; then | 
|  | 6582 | lt_cv_prog_compiler_c_o=yes | 
|  | 6583 | fi | 
|  | 6584 | fi | 
|  | 6585 | chmod u+w . | 
|  | 6586 | $rm conftest* out/* | 
|  | 6587 | rmdir out | 
|  | 6588 | cd .. | 
|  | 6589 | rmdir conftest | 
|  | 6590 | $rm conftest* | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6591 |  | 
|  | 6592 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6593 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 | 
|  | 6594 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6595 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6596 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6597 | hard_links="nottested" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6598 | if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6599 | # do not overwrite the value of need_locks provided by the user | 
|  | 6600 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
|  | 6601 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
|  | 6602 | hard_links=yes | 
|  | 6603 | $rm conftest* | 
|  | 6604 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 6605 | touch conftest.a | 
|  | 6606 | ln conftest.a conftest.b 2>&5 || hard_links=no | 
|  | 6607 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 6608 | echo "$as_me:$LINENO: result: $hard_links" >&5 | 
|  | 6609 | echo "${ECHO_T}$hard_links" >&6 | 
|  | 6610 | if test "$hard_links" = no; then | 
|  | 6611 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
|  | 6612 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
|  | 6613 | need_locks=warn | 
|  | 6614 | fi | 
|  | 6615 | else | 
|  | 6616 | need_locks=no | 
|  | 6617 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6618 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6619 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
|  | 6620 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
|  | 6621 |  | 
|  | 6622 | runpath_var= | 
|  | 6623 | allow_undefined_flag= | 
|  | 6624 | enable_shared_with_static_runtimes=no | 
|  | 6625 | archive_cmds= | 
|  | 6626 | archive_expsym_cmds= | 
|  | 6627 | old_archive_From_new_cmds= | 
|  | 6628 | old_archive_from_expsyms_cmds= | 
|  | 6629 | export_dynamic_flag_spec= | 
|  | 6630 | whole_archive_flag_spec= | 
|  | 6631 | thread_safe_flag_spec= | 
|  | 6632 | hardcode_libdir_flag_spec= | 
|  | 6633 | hardcode_libdir_flag_spec_ld= | 
|  | 6634 | hardcode_libdir_separator= | 
|  | 6635 | hardcode_direct=no | 
|  | 6636 | hardcode_minus_L=no | 
|  | 6637 | hardcode_shlibpath_var=unsupported | 
|  | 6638 | link_all_deplibs=unknown | 
|  | 6639 | hardcode_automatic=no | 
|  | 6640 | module_cmds= | 
|  | 6641 | module_expsym_cmds= | 
|  | 6642 | always_export_symbols=no | 
|  | 6643 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 6644 | # include_expsyms should be a list of space-separated symbols to be *always* | 
|  | 6645 | # included in the symbol list | 
|  | 6646 | include_expsyms= | 
|  | 6647 | # exclude_expsyms can be an extended regexp of symbols to exclude | 
|  | 6648 | # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
|  | 6649 | # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
|  | 6650 | # as well as any symbol that contains `d'. | 
|  | 6651 | exclude_expsyms="_GLOBAL_OFFSET_TABLE_" | 
|  | 6652 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
|  | 6653 | # platforms (ab)use it in PIC code, but their linkers get confused if | 
|  | 6654 | # the symbol is explicitly referenced.  Since portable code cannot | 
|  | 6655 | # rely on this symbol name, it's probably fine to never include it in | 
|  | 6656 | # preloaded symbol tables. | 
|  | 6657 | extract_expsyms_cmds= | 
|  | 6658 |  | 
|  | 6659 | case $host_os in | 
|  | 6660 | cygwin* | mingw* | pw32*) | 
|  | 6661 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
|  | 6662 | # When not using gcc, we currently assume that we are using | 
|  | 6663 | # Microsoft Visual C++. | 
|  | 6664 | if test "$GCC" != yes; then | 
|  | 6665 | with_gnu_ld=no | 
|  | 6666 | fi | 
|  | 6667 | ;; | 
|  | 6668 | openbsd*) | 
|  | 6669 | with_gnu_ld=no | 
|  | 6670 | ;; | 
|  | 6671 | esac | 
|  | 6672 |  | 
|  | 6673 | ld_shlibs=yes | 
|  | 6674 | if test "$with_gnu_ld" = yes; then | 
|  | 6675 | # If archive_cmds runs LD, not CC, wlarc should be empty | 
|  | 6676 | wlarc='${wl}' | 
|  | 6677 |  | 
|  | 6678 | # See if GNU ld supports shared libraries. | 
|  | 6679 | case $host_os in | 
|  | 6680 | aix3* | aix4* | aix5*) | 
|  | 6681 | # On AIX/PPC, the GNU linker is very broken | 
|  | 6682 | if test "$host_cpu" != ia64; then | 
|  | 6683 | ld_shlibs=no | 
|  | 6684 | cat <<EOF 1>&2 | 
|  | 6685 |  | 
|  | 6686 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
|  | 6687 | *** to be unable to reliably create shared libraries on AIX. | 
|  | 6688 | *** Therefore, libtool is disabling shared libraries support.  If you | 
|  | 6689 | *** really care for shared libraries, you may want to modify your PATH | 
|  | 6690 | *** so that a non-GNU linker is found, and then restart. | 
|  | 6691 |  | 
|  | 6692 | EOF | 
|  | 6693 | fi | 
|  | 6694 | ;; | 
|  | 6695 |  | 
|  | 6696 | amigaos*) | 
|  | 6697 | 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)' | 
|  | 6698 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 6699 | hardcode_minus_L=yes | 
|  | 6700 |  | 
|  | 6701 | # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
|  | 6702 | # that the semantics of dynamic libraries on AmigaOS, at least up | 
|  | 6703 | # to version 4, is to share data among multiple programs linked | 
|  | 6704 | # with the same dynamic library.  Since this doesn't match the | 
|  | 6705 | # behavior of shared libraries on other platforms, we can't use | 
|  | 6706 | # them. | 
|  | 6707 | ld_shlibs=no | 
|  | 6708 | ;; | 
|  | 6709 |  | 
|  | 6710 | beos*) | 
|  | 6711 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 6712 | allow_undefined_flag=unsupported | 
|  | 6713 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
|  | 6714 | # support --undefined.  This deserves some investigation.  FIXME | 
|  | 6715 | archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 6716 | else | 
|  | 6717 | ld_shlibs=no | 
|  | 6718 | fi | 
|  | 6719 | ;; | 
|  | 6720 |  | 
|  | 6721 | cygwin* | mingw* | pw32*) | 
|  | 6722 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | 
|  | 6723 | # as there is no search path for DLLs. | 
|  | 6724 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 6725 | allow_undefined_flag=unsupported | 
|  | 6726 | always_export_symbols=no | 
|  | 6727 | enable_shared_with_static_runtimes=yes | 
|  | 6728 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 6729 |  | 
|  | 6730 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
|  | 6731 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
|  | 6732 | # If the export-symbols file already is a .def file (1st line | 
|  | 6733 | # is EXPORTS), use it as is; otherwise, prepend... | 
|  | 6734 | archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
|  | 6735 | cp $export_symbols $output_objdir/$soname.def; | 
|  | 6736 | else | 
|  | 6737 | echo EXPORTS > $output_objdir/$soname.def; | 
|  | 6738 | cat $export_symbols >> $output_objdir/$soname.def; | 
|  | 6739 | fi~ | 
|  | 6740 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
|  | 6741 | else | 
|  | 6742 | ld_shlibs=no | 
|  | 6743 | fi | 
|  | 6744 | ;; | 
|  | 6745 |  | 
|  | 6746 | netbsd*) | 
|  | 6747 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 6748 | archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
|  | 6749 | wlarc= | 
|  | 6750 | else | 
|  | 6751 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 6752 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 6753 | fi | 
|  | 6754 | ;; | 
|  | 6755 |  | 
|  | 6756 | solaris* | sysv5*) | 
|  | 6757 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
|  | 6758 | ld_shlibs=no | 
|  | 6759 | cat <<EOF 1>&2 | 
|  | 6760 |  | 
|  | 6761 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
|  | 6762 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
|  | 6763 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
|  | 6764 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
|  | 6765 | *** your PATH or compiler configuration so that the native linker is | 
|  | 6766 | *** used, and then restart. | 
|  | 6767 |  | 
|  | 6768 | EOF | 
|  | 6769 | elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 6770 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 6771 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 6772 | else | 
|  | 6773 | ld_shlibs=no | 
|  | 6774 | fi | 
|  | 6775 | ;; | 
|  | 6776 |  | 
|  | 6777 | sunos4*) | 
|  | 6778 | archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 6779 | wlarc= | 
|  | 6780 | hardcode_direct=yes | 
|  | 6781 | hardcode_shlibpath_var=no | 
|  | 6782 | ;; | 
|  | 6783 |  | 
|  | 6784 | *) | 
|  | 6785 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 6786 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 6787 | archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 6788 | else | 
|  | 6789 | ld_shlibs=no | 
|  | 6790 | fi | 
|  | 6791 | ;; | 
|  | 6792 | esac | 
|  | 6793 |  | 
|  | 6794 | if test "$ld_shlibs" = yes; then | 
|  | 6795 | runpath_var=LD_RUN_PATH | 
|  | 6796 | hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | 
|  | 6797 | export_dynamic_flag_spec='${wl}--export-dynamic' | 
|  | 6798 | # ancient GNU ld didn't support --whole-archive et. al. | 
|  | 6799 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
|  | 6800 | whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
|  | 6801 | else | 
|  | 6802 | whole_archive_flag_spec= | 
|  | 6803 | fi | 
|  | 6804 | fi | 
|  | 6805 | else | 
|  | 6806 | # PORTME fill in a description of your system's linker (not GNU ld) | 
|  | 6807 | case $host_os in | 
|  | 6808 | aix3*) | 
|  | 6809 | allow_undefined_flag=unsupported | 
|  | 6810 | always_export_symbols=yes | 
|  | 6811 | 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' | 
|  | 6812 | # Note: this linker hardcodes the directories in LIBPATH if there | 
|  | 6813 | # are no directories specified by -L. | 
|  | 6814 | hardcode_minus_L=yes | 
|  | 6815 | if test "$GCC" = yes && test -z "$link_static_flag"; then | 
|  | 6816 | # Neither direct hardcoding nor static linking is supported with a | 
|  | 6817 | # broken collect2. | 
|  | 6818 | hardcode_direct=unsupported | 
|  | 6819 | fi | 
|  | 6820 | ;; | 
|  | 6821 |  | 
|  | 6822 | aix4* | aix5*) | 
|  | 6823 | if test "$host_cpu" = ia64; then | 
|  | 6824 | # On IA64, the linker does run time linking by default, so we don't | 
|  | 6825 | # have to do anything special. | 
|  | 6826 | aix_use_runtimelinking=no | 
|  | 6827 | exp_sym_flag='-Bexport' | 
|  | 6828 | no_entry_flag="" | 
|  | 6829 | else | 
|  | 6830 | # If we're using GNU nm, then we don't want the "-C" option. | 
|  | 6831 | # -C means demangle to AIX nm, but means don't demangle with GNU nm | 
|  | 6832 | if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
|  | 6833 | export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
|  | 6834 | else | 
|  | 6835 | 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' | 
|  | 6836 | fi | 
|  | 6837 | aix_use_runtimelinking=no | 
|  | 6838 |  | 
|  | 6839 | # Test if we are trying to use run time linking or normal | 
|  | 6840 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
|  | 6841 | # need to do runtime linking. | 
|  | 6842 | case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
|  | 6843 | for ld_flag in $LDFLAGS; do | 
|  | 6844 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
|  | 6845 | aix_use_runtimelinking=yes | 
|  | 6846 | break | 
|  | 6847 | fi | 
|  | 6848 | done | 
|  | 6849 | esac | 
|  | 6850 |  | 
|  | 6851 | exp_sym_flag='-bexport' | 
|  | 6852 | no_entry_flag='-bnoentry' | 
|  | 6853 | fi | 
|  | 6854 |  | 
|  | 6855 | # When large executables or shared objects are built, AIX ld can | 
|  | 6856 | # have problems creating the table of contents.  If linking a library | 
|  | 6857 | # or program results in "error TOC overflow" add -mminimal-toc to | 
|  | 6858 | # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
|  | 6859 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
|  | 6860 |  | 
|  | 6861 | archive_cmds='' | 
|  | 6862 | hardcode_direct=yes | 
|  | 6863 | hardcode_libdir_separator=':' | 
|  | 6864 | link_all_deplibs=yes | 
|  | 6865 |  | 
|  | 6866 | if test "$GCC" = yes; then | 
|  | 6867 | case $host_os in aix4.012|aix4.012.*) | 
|  | 6868 | # We only want to do this on AIX 4.2 and lower, the check | 
|  | 6869 | # below for broken collect2 doesn't work under 4.3+ | 
|  | 6870 | collect2name=`${CC} -print-prog-name=collect2` | 
|  | 6871 | if test -f "$collect2name" && \ | 
|  | 6872 | strings "$collect2name" | grep resolve_lib_name >/dev/null | 
|  | 6873 | then | 
|  | 6874 | # We have reworked collect2 | 
|  | 6875 | hardcode_direct=yes | 
|  | 6876 | else | 
|  | 6877 | # We have old collect2 | 
|  | 6878 | hardcode_direct=unsupported | 
|  | 6879 | # It fails to find uninstalled libraries when the uninstalled | 
|  | 6880 | # path is not listed in the libpath.  Setting hardcode_minus_L | 
|  | 6881 | # to unsupported forces relinking | 
|  | 6882 | hardcode_minus_L=yes | 
|  | 6883 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 6884 | hardcode_libdir_separator= | 
|  | 6885 | fi | 
|  | 6886 | esac | 
|  | 6887 | shared_flag='-shared' | 
|  | 6888 | else | 
|  | 6889 | # not using gcc | 
|  | 6890 | if test "$host_cpu" = ia64; then | 
|  | 6891 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
|  | 6892 | # chokes on -Wl,-G. The following line is correct: | 
|  | 6893 | shared_flag='-G' | 
|  | 6894 | else | 
|  | 6895 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 6896 | shared_flag='${wl}-G' | 
|  | 6897 | else | 
|  | 6898 | shared_flag='${wl}-bM:SRE' | 
|  | 6899 | fi | 
|  | 6900 | fi | 
|  | 6901 | fi | 
|  | 6902 |  | 
|  | 6903 | # It seems that -bexpall does not export symbols beginning with | 
|  | 6904 | # underscore (_), so it is better to generate a list of symbols to export. | 
|  | 6905 | always_export_symbols=yes | 
|  | 6906 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 6907 | # Warning - without using the other runtime loading flags (-brtl), | 
|  | 6908 | # -berok will link without error, but may produce a broken library. | 
|  | 6909 | allow_undefined_flag='-berok' | 
|  | 6910 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 6911 | cat >conftest.$ac_ext <<_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6912 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6913 | /* confdefs.h.  */ | 
|  | 6914 | _ACEOF | 
|  | 6915 | cat confdefs.h >>conftest.$ac_ext | 
|  | 6916 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 6917 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6918 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6919 | int | 
|  | 6920 | main () | 
|  | 6921 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6922 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6923 | ; | 
|  | 6924 | return 0; | 
|  | 6925 | } | 
|  | 6926 | _ACEOF | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6927 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 6928 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 6929 | (eval $ac_link) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6930 | ac_status=$? | 
|  | 6931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 6932 | (exit $ac_status); } && | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6933 | { ac_try='test -s conftest$ac_exeext' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6934 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 6935 | (eval $ac_try) 2>&5 | 
|  | 6936 | ac_status=$? | 
|  | 6937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 6938 | (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6939 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6940 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 6941 | }'` | 
|  | 6942 | # Check for a 64-bit object if we didn't find anything. | 
|  | 6943 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 6944 | }'`; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6945 | else | 
|  | 6946 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6947 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 6948 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6949 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6950 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 6951 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6952 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6953 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 6954 | archive_expsym_cmds="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
|  | 6955 | else | 
|  | 6956 | if test "$host_cpu" = ia64; then | 
|  | 6957 | hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 
|  | 6958 | allow_undefined_flag="-z nodefs" | 
|  | 6959 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
|  | 6960 | else | 
|  | 6961 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 6962 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 6963 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6964 | /* confdefs.h.  */ | 
|  | 6965 | _ACEOF | 
|  | 6966 | cat confdefs.h >>conftest.$ac_ext | 
|  | 6967 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 6968 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6969 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6970 | int | 
|  | 6971 | main () | 
|  | 6972 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6973 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6974 | ; | 
|  | 6975 | return 0; | 
|  | 6976 | } | 
|  | 6977 | _ACEOF | 
|  | 6978 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 6979 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 6980 | (eval $ac_link) 2>&5 | 
|  | 6981 | ac_status=$? | 
|  | 6982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 6983 | (exit $ac_status); } && | 
|  | 6984 | { ac_try='test -s conftest$ac_exeext' | 
|  | 6985 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 6986 | (eval $ac_try) 2>&5 | 
|  | 6987 | ac_status=$? | 
|  | 6988 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 6989 | (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6990 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6991 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 6992 | }'` | 
|  | 6993 | # Check for a 64-bit object if we didn't find anything. | 
|  | 6994 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 6995 | }'`; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6996 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 6997 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 6998 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 6999 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7000 | fi | 
|  | 7001 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 7002 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7003 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7004 | hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 7005 | # Warning - without using the other run time loading flags, | 
|  | 7006 | # -berok will link without error, but may produce a broken library. | 
|  | 7007 | no_undefined_flag=' ${wl}-bernotok' | 
|  | 7008 | allow_undefined_flag=' ${wl}-berok' | 
|  | 7009 | # -bexpall does not export symbols beginning with underscore (_) | 
|  | 7010 | always_export_symbols=yes | 
|  | 7011 | # Exported symbols can be pulled into shared objects from archives | 
|  | 7012 | whole_archive_flag_spec=' ' | 
|  | 7013 | archive_cmds_need_lc=yes | 
|  | 7014 | # This is similar to how AIX traditionally builds it's shared libraries. | 
|  | 7015 | archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7016 | fi | 
|  | 7017 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7018 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7019 |  | 
|  | 7020 | amigaos*) | 
|  | 7021 | 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)' | 
|  | 7022 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 7023 | hardcode_minus_L=yes | 
|  | 7024 | # see comment about different semantics on the GNU ld section | 
|  | 7025 | ld_shlibs=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7026 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7027 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7028 | bsdi4*) | 
|  | 7029 | export_dynamic_flag_spec=-rdynamic | 
|  | 7030 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7031 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7032 | cygwin* | mingw* | pw32*) | 
|  | 7033 | # When not using gcc, we currently assume that we are using | 
|  | 7034 | # Microsoft Visual C++. | 
|  | 7035 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 
|  | 7036 | # no search path for DLLs. | 
|  | 7037 | hardcode_libdir_flag_spec=' ' | 
|  | 7038 | allow_undefined_flag=unsupported | 
|  | 7039 | # Tell ltmain to make .lib files, not .a files. | 
|  | 7040 | libext=lib | 
|  | 7041 | # Tell ltmain to make .dll files, not .so files. | 
|  | 7042 | shrext=".dll" | 
|  | 7043 | # FIXME: Setting linknames here is a bad hack. | 
|  | 7044 | archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
|  | 7045 | # The linker will automatically build a .lib file if we build a DLL. | 
|  | 7046 | old_archive_From_new_cmds='true' | 
|  | 7047 | # FIXME: Should let the user specify the lib program. | 
|  | 7048 | old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
|  | 7049 | fix_srcfile_path='`cygpath -w "$srcfile"`' | 
|  | 7050 | enable_shared_with_static_runtimes=yes | 
|  | 7051 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7052 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7053 | darwin* | rhapsody*) | 
|  | 7054 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 7055 | archive_cmds_need_lc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7056 | case "$host_os" in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7057 | rhapsody* | darwin1.[012]) | 
|  | 7058 | allow_undefined_flag='-undefined suppress' | 
|  | 7059 | ;; | 
|  | 7060 | *) # Darwin 1.3 on | 
|  | 7061 | test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7062 | ;; | 
|  | 7063 | esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7064 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 7065 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 7066 | #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
|  | 7067 | #	       `"' quotes if we put them in here... so don't! | 
|  | 7068 | lt_int_apple_cc_single_mod=no | 
|  | 7069 | output_verbose_link_cmd='echo' | 
|  | 7070 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
|  | 7071 | lt_int_apple_cc_single_mod=yes | 
|  | 7072 | fi | 
|  | 7073 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 7074 | archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 7075 | else | 
|  | 7076 | archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 7077 | fi | 
|  | 7078 | module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
|  | 7079 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
|  | 7080 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 7081 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 7082 | else | 
|  | 7083 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 7084 | fi | 
|  | 7085 | module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 7086 | hardcode_direct=no | 
|  | 7087 | hardcode_automatic=yes | 
|  | 7088 | hardcode_shlibpath_var=unsupported | 
|  | 7089 | whole_archive_flag_spec='-all_load $convenience' | 
|  | 7090 | link_all_deplibs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7091 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7092 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7093 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7094 | dgux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7095 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7096 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 7097 | hardcode_shlibpath_var=no | 
|  | 7098 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7099 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7100 | freebsd1*) | 
|  | 7101 | ld_shlibs=no | 
|  | 7102 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7103 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7104 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
|  | 7105 | # support.  Future versions do this automatically, but an explicit c++rt0.o | 
|  | 7106 | # does not break anything, and helps significantly (at the cost of a little | 
|  | 7107 | # extra space). | 
|  | 7108 | freebsd2.2*) | 
|  | 7109 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
|  | 7110 | hardcode_libdir_flag_spec='-R$libdir' | 
|  | 7111 | hardcode_direct=yes | 
|  | 7112 | hardcode_shlibpath_var=no | 
|  | 7113 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7114 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7115 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
|  | 7116 | freebsd2*) | 
|  | 7117 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7118 | hardcode_direct=yes | 
|  | 7119 | hardcode_minus_L=yes | 
|  | 7120 | hardcode_shlibpath_var=no | 
|  | 7121 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7122 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7123 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
|  | 7124 | freebsd*) | 
|  | 7125 | archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7126 | hardcode_libdir_flag_spec='-R$libdir' | 
|  | 7127 | hardcode_direct=yes | 
|  | 7128 | hardcode_shlibpath_var=no | 
|  | 7129 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7130 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7131 | hpux9*) | 
|  | 7132 | if test "$GCC" = yes; then | 
|  | 7133 | archive_cmds='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
|  | 7134 | else | 
|  | 7135 | 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' | 
|  | 7136 | fi | 
|  | 7137 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
|  | 7138 | hardcode_libdir_separator=: | 
|  | 7139 | hardcode_direct=yes | 
|  | 7140 |  | 
|  | 7141 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 7142 | # but as the default location of the library. | 
|  | 7143 | hardcode_minus_L=yes | 
|  | 7144 | export_dynamic_flag_spec='${wl}-E' | 
|  | 7145 | ;; | 
|  | 7146 |  | 
|  | 7147 | hpux10* | hpux11*) | 
|  | 7148 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
|  | 7149 | case "$host_cpu" in | 
|  | 7150 | hppa*64*|ia64*) | 
|  | 7151 | archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7152 | ;; | 
|  | 7153 | *) | 
|  | 7154 | archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7155 | ;; | 
|  | 7156 | esac | 
|  | 7157 | else | 
|  | 7158 | case "$host_cpu" in | 
|  | 7159 | hppa*64*|ia64*) | 
|  | 7160 | archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7161 | ;; | 
|  | 7162 | *) | 
|  | 7163 | archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7164 | ;; | 
|  | 7165 | esac | 
|  | 7166 | fi | 
|  | 7167 | if test "$with_gnu_ld" = no; then | 
|  | 7168 | case "$host_cpu" in | 
|  | 7169 | hppa*64*) | 
|  | 7170 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
|  | 7171 | hardcode_libdir_flag_spec_ld='+b $libdir' | 
|  | 7172 | hardcode_libdir_separator=: | 
|  | 7173 | hardcode_direct=no | 
|  | 7174 | hardcode_shlibpath_var=no | 
|  | 7175 | ;; | 
|  | 7176 | ia64*) | 
|  | 7177 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 7178 | hardcode_direct=no | 
|  | 7179 | hardcode_shlibpath_var=no | 
|  | 7180 |  | 
|  | 7181 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 7182 | # but as the default location of the library. | 
|  | 7183 | hardcode_minus_L=yes | 
|  | 7184 | ;; | 
|  | 7185 | *) | 
|  | 7186 | hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
|  | 7187 | hardcode_libdir_separator=: | 
|  | 7188 | hardcode_direct=yes | 
|  | 7189 | export_dynamic_flag_spec='${wl}-E' | 
|  | 7190 |  | 
|  | 7191 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 7192 | # but as the default location of the library. | 
|  | 7193 | hardcode_minus_L=yes | 
|  | 7194 | ;; | 
|  | 7195 | esac | 
|  | 7196 | fi | 
|  | 7197 | ;; | 
|  | 7198 |  | 
|  | 7199 | irix5* | irix6* | nonstopux*) | 
|  | 7200 | if test "$GCC" = yes; then | 
|  | 7201 | archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 7202 | else | 
|  | 7203 | archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 7204 | hardcode_libdir_flag_spec_ld='-rpath $libdir' | 
|  | 7205 | fi | 
|  | 7206 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  | 7207 | hardcode_libdir_separator=: | 
|  | 7208 | link_all_deplibs=yes | 
|  | 7209 | ;; | 
|  | 7210 |  | 
|  | 7211 | netbsd*) | 
|  | 7212 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 7213 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
|  | 7214 | else | 
|  | 7215 | archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
|  | 7216 | fi | 
|  | 7217 | hardcode_libdir_flag_spec='-R$libdir' | 
|  | 7218 | hardcode_direct=yes | 
|  | 7219 | hardcode_shlibpath_var=no | 
|  | 7220 | ;; | 
|  | 7221 |  | 
|  | 7222 | newsos6) | 
|  | 7223 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7224 | hardcode_direct=yes | 
|  | 7225 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  | 7226 | hardcode_libdir_separator=: | 
|  | 7227 | hardcode_shlibpath_var=no | 
|  | 7228 | ;; | 
|  | 7229 |  | 
|  | 7230 | openbsd*) | 
|  | 7231 | hardcode_direct=yes | 
|  | 7232 | hardcode_shlibpath_var=no | 
|  | 7233 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
|  | 7234 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7235 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
|  | 7236 | export_dynamic_flag_spec='${wl}-E' | 
|  | 7237 | else | 
|  | 7238 | case $host_os in | 
|  | 7239 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
|  | 7240 | archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7241 | hardcode_libdir_flag_spec='-R$libdir' | 
|  | 7242 | ;; | 
|  | 7243 | *) | 
|  | 7244 | archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7245 | hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
|  | 7246 | ;; | 
|  | 7247 | esac | 
|  | 7248 | fi | 
|  | 7249 | ;; | 
|  | 7250 |  | 
|  | 7251 | os2*) | 
|  | 7252 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 7253 | hardcode_minus_L=yes | 
|  | 7254 | allow_undefined_flag=unsupported | 
|  | 7255 | 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' | 
|  | 7256 | old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
|  | 7257 | ;; | 
|  | 7258 |  | 
|  | 7259 | osf3*) | 
|  | 7260 | if test "$GCC" = yes; then | 
|  | 7261 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 7262 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 7263 | else | 
|  | 7264 | allow_undefined_flag=' -expect_unresolved \*' | 
|  | 7265 | archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 7266 | fi | 
|  | 7267 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  | 7268 | hardcode_libdir_separator=: | 
|  | 7269 | ;; | 
|  | 7270 |  | 
|  | 7271 | osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
|  | 7272 | if test "$GCC" = yes; then | 
|  | 7273 | allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 7274 | archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 7275 | hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
|  | 7276 | else | 
|  | 7277 | allow_undefined_flag=' -expect_unresolved \*' | 
|  | 7278 | archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 7279 | archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
|  | 7280 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 
|  | 7281 |  | 
|  | 7282 | # Both c and cxx compiler support -rpath directly | 
|  | 7283 | hardcode_libdir_flag_spec='-rpath $libdir' | 
|  | 7284 | fi | 
|  | 7285 | hardcode_libdir_separator=: | 
|  | 7286 | ;; | 
|  | 7287 |  | 
|  | 7288 | sco3.2v5*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7289 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7290 | hardcode_shlibpath_var=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7291 | export_dynamic_flag_spec='${wl}-Bexport' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7292 | runpath_var=LD_RUN_PATH | 
|  | 7293 | hardcode_runpath_var=yes | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7294 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7295 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7296 | solaris*) | 
|  | 7297 | no_undefined_flag=' -z text' | 
|  | 7298 | if test "$GCC" = yes; then | 
|  | 7299 | archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7300 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 7301 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
|  | 7302 | else | 
|  | 7303 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7304 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 7305 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  | 7306 | fi | 
|  | 7307 | hardcode_libdir_flag_spec='-R$libdir' | 
|  | 7308 | hardcode_shlibpath_var=no | 
|  | 7309 | case $host_os in | 
|  | 7310 | solaris2.[0-5] | solaris2.[0-5].*) ;; | 
|  | 7311 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
|  | 7312 | whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | 
|  | 7313 | esac | 
|  | 7314 | link_all_deplibs=yes | 
|  | 7315 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7316 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7317 | sunos4*) | 
|  | 7318 | if test "x$host_vendor" = xsequent; then | 
|  | 7319 | # Use $CC to link under sequent, because it throws in some extra .o | 
|  | 7320 | # files that make .init and .fini sections work. | 
|  | 7321 | archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7322 | else | 
|  | 7323 | archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7324 | fi | 
|  | 7325 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 7326 | hardcode_direct=yes | 
|  | 7327 | hardcode_minus_L=yes | 
|  | 7328 | hardcode_shlibpath_var=no | 
|  | 7329 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7330 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7331 | sysv4) | 
|  | 7332 | case $host_vendor in | 
|  | 7333 | sni) | 
|  | 7334 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7335 | hardcode_direct=yes # is this really true??? | 
|  | 7336 | ;; | 
|  | 7337 | siemens) | 
|  | 7338 | ## LD is ld it makes a PLAMLIB | 
|  | 7339 | ## CC just makes a GrossModule. | 
|  | 7340 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7341 | reload_cmds='$CC -r -o $output$reload_objs' | 
|  | 7342 | hardcode_direct=no | 
|  | 7343 | ;; | 
|  | 7344 | motorola) | 
|  | 7345 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7346 | hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 
|  | 7347 | ;; | 
|  | 7348 | esac | 
|  | 7349 | runpath_var='LD_RUN_PATH' | 
|  | 7350 | hardcode_shlibpath_var=no | 
|  | 7351 | ;; | 
|  | 7352 |  | 
|  | 7353 | sysv4.3*) | 
|  | 7354 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7355 | hardcode_shlibpath_var=no | 
|  | 7356 | export_dynamic_flag_spec='-Bexport' | 
|  | 7357 | ;; | 
|  | 7358 |  | 
|  | 7359 | sysv4*MP*) | 
|  | 7360 | if test -d /usr/nec; then | 
|  | 7361 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7362 | hardcode_shlibpath_var=no | 
|  | 7363 | runpath_var=LD_RUN_PATH | 
|  | 7364 | hardcode_runpath_var=yes | 
|  | 7365 | ld_shlibs=yes | 
|  | 7366 | fi | 
|  | 7367 | ;; | 
|  | 7368 |  | 
|  | 7369 | sysv4.2uw2*) | 
|  | 7370 | archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7371 | hardcode_direct=yes | 
|  | 7372 | hardcode_minus_L=no | 
|  | 7373 | hardcode_shlibpath_var=no | 
|  | 7374 | hardcode_runpath_var=yes | 
|  | 7375 | runpath_var=LD_RUN_PATH | 
|  | 7376 | ;; | 
|  | 7377 |  | 
|  | 7378 | sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
|  | 7379 | no_undefined_flag='${wl}-z ${wl}text' | 
|  | 7380 | if test "$GCC" = yes; then | 
|  | 7381 | archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7382 | else | 
|  | 7383 | archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 7384 | fi | 
|  | 7385 | runpath_var='LD_RUN_PATH' | 
|  | 7386 | hardcode_shlibpath_var=no | 
|  | 7387 | ;; | 
|  | 7388 |  | 
|  | 7389 | sysv5*) | 
|  | 7390 | no_undefined_flag=' -z text' | 
|  | 7391 | # $CC -shared without GNU ld will not create a library from C++ | 
|  | 7392 | # object files and a static libstdc++, better avoid it by now | 
|  | 7393 | archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7394 | archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 7395 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  | 7396 | hardcode_libdir_flag_spec= | 
|  | 7397 | hardcode_shlibpath_var=no | 
|  | 7398 | runpath_var='LD_RUN_PATH' | 
|  | 7399 | ;; | 
|  | 7400 |  | 
|  | 7401 | uts4*) | 
|  | 7402 | archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 7403 | hardcode_libdir_flag_spec='-L$libdir' | 
|  | 7404 | hardcode_shlibpath_var=no | 
|  | 7405 | ;; | 
|  | 7406 |  | 
|  | 7407 | *) | 
|  | 7408 | ld_shlibs=no | 
|  | 7409 | ;; | 
|  | 7410 | esac | 
|  | 7411 | fi | 
|  | 7412 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7413 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 | 
|  | 7414 | echo "${ECHO_T}$ld_shlibs" >&6 | 
|  | 7415 | test "$ld_shlibs" = no && can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7416 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7417 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
|  | 7418 | if test "$GCC" = yes; then | 
|  | 7419 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
|  | 7420 | fi | 
|  | 7421 |  | 
|  | 7422 | # | 
|  | 7423 | # Do we need to explicitly link libc? | 
|  | 7424 | # | 
|  | 7425 | case "x$archive_cmds_need_lc" in | 
|  | 7426 | x|xyes) | 
|  | 7427 | # Assume -lc should be added | 
|  | 7428 | archive_cmds_need_lc=yes | 
|  | 7429 |  | 
|  | 7430 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 
|  | 7431 | case $archive_cmds in | 
|  | 7432 | *'~'*) | 
|  | 7433 | # FIXME: we may have to deal with multi-command sequences. | 
|  | 7434 | ;; | 
|  | 7435 | '$CC '*) | 
|  | 7436 | # Test whether the compiler implicitly links with -lc since on some | 
|  | 7437 | # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
|  | 7438 | # to ld, don't add -lc before -lgcc. | 
|  | 7439 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
|  | 7440 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
|  | 7441 | $rm conftest* | 
|  | 7442 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 7443 |  | 
|  | 7444 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 7445 | (eval $ac_compile) 2>&5 | 
|  | 7446 | ac_status=$? | 
|  | 7447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 7448 | (exit $ac_status); } 2>conftest.err; then | 
|  | 7449 | soname=conftest | 
|  | 7450 | lib=conftest | 
|  | 7451 | libobjs=conftest.$ac_objext | 
|  | 7452 | deplibs= | 
|  | 7453 | wl=$lt_prog_compiler_wl | 
|  | 7454 | compiler_flags=-v | 
|  | 7455 | linker_flags=-v | 
|  | 7456 | verstring= | 
|  | 7457 | output_objdir=. | 
|  | 7458 | libname=conftest | 
|  | 7459 | lt_save_allow_undefined_flag=$allow_undefined_flag | 
|  | 7460 | allow_undefined_flag= | 
|  | 7461 | if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
|  | 7462 | (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
|  | 7463 | ac_status=$? | 
|  | 7464 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 7465 | (exit $ac_status); } | 
|  | 7466 | then | 
|  | 7467 | archive_cmds_need_lc=no | 
|  | 7468 | else | 
|  | 7469 | archive_cmds_need_lc=yes | 
|  | 7470 | fi | 
|  | 7471 | allow_undefined_flag=$lt_save_allow_undefined_flag | 
|  | 7472 | else | 
|  | 7473 | cat conftest.err 1>&5 | 
|  | 7474 | fi | 
|  | 7475 | $rm conftest* | 
|  | 7476 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 | 
|  | 7477 | echo "${ECHO_T}$archive_cmds_need_lc" >&6 | 
|  | 7478 | ;; | 
|  | 7479 | esac | 
|  | 7480 | fi | 
|  | 7481 | ;; | 
|  | 7482 | esac | 
|  | 7483 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7484 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
|  | 7485 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
|  | 7486 | hardcode_action= | 
|  | 7487 | if test -n "$hardcode_libdir_flag_spec" || \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7488 | test -n "$runpath_var " || \ | 
|  | 7489 | test "X$hardcode_automatic"="Xyes" ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7490 |  | 
|  | 7491 | # We can hardcode non-existant directories. | 
|  | 7492 | if test "$hardcode_direct" != no && | 
|  | 7493 | # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
|  | 7494 | # have to relink, otherwise we might link with an installed library | 
|  | 7495 | # when we should be linking with a yet-to-be-installed one | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7496 | ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no && | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7497 | test "$hardcode_minus_L" != no; then | 
|  | 7498 | # Linking always hardcodes the temporary library directory. | 
|  | 7499 | hardcode_action=relink | 
|  | 7500 | else | 
|  | 7501 | # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
|  | 7502 | hardcode_action=immediate | 
|  | 7503 | fi | 
|  | 7504 | else | 
|  | 7505 | # We cannot hardcode anything, or else we can only hardcode existing | 
|  | 7506 | # directories. | 
|  | 7507 | hardcode_action=unsupported | 
|  | 7508 | fi | 
|  | 7509 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 | 
|  | 7510 | echo "${ECHO_T}$hardcode_action" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7511 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7512 | if test "$hardcode_action" = relink; then | 
|  | 7513 | # Fast installation is not supported | 
|  | 7514 | enable_fast_install=no | 
|  | 7515 | elif test "$shlibpath_overrides_runpath" = yes || | 
|  | 7516 | test "$enable_shared" = no; then | 
|  | 7517 | # Fast installation is not necessary | 
|  | 7518 | enable_fast_install=needless | 
|  | 7519 | fi | 
|  | 7520 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7521 | striplib= | 
|  | 7522 | old_striplib= | 
|  | 7523 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
|  | 7524 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
|  | 7525 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
|  | 7526 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
|  | 7527 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
|  | 7528 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 7529 | echo "${ECHO_T}yes" >&6 | 
|  | 7530 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7531 | # FIXME - insert some real tests, host_os isn't really good enough | 
|  | 7532 | case $host_os in | 
|  | 7533 | darwin*) | 
|  | 7534 | if test -n "$STRIP" ; then | 
|  | 7535 | striplib="$STRIP -x" | 
|  | 7536 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 7537 | echo "${ECHO_T}yes" >&6 | 
|  | 7538 | else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7539 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 7540 | echo "${ECHO_T}no" >&6 | 
|  | 7541 | fi | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7542 | ;; | 
|  | 7543 | *) | 
|  | 7544 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 7545 | echo "${ECHO_T}no" >&6 | 
|  | 7546 | ;; | 
|  | 7547 | esac | 
|  | 7548 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7549 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7550 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
|  | 7551 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
|  | 7552 | library_names_spec= | 
|  | 7553 | libname_spec='lib$name' | 
|  | 7554 | soname_spec= | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7555 | shrext=".so" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7556 | postinstall_cmds= | 
|  | 7557 | postuninstall_cmds= | 
|  | 7558 | finish_cmds= | 
|  | 7559 | finish_eval= | 
|  | 7560 | shlibpath_var= | 
|  | 7561 | shlibpath_overrides_runpath=unknown | 
|  | 7562 | version_type=none | 
|  | 7563 | dynamic_linker="$host_os ld.so" | 
|  | 7564 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7565 | if test "$GCC" = yes; then | 
|  | 7566 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 7567 | if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
|  | 7568 | # if the path contains ";" then we assume it to be the separator | 
|  | 7569 | # otherwise default to the standard path separator (i.e. ":") - it is | 
|  | 7570 | # assumed that no part of a normal pathname contains ";" but that should | 
|  | 7571 | # okay in the real world where ";" in dirpaths is itself problematic. | 
|  | 7572 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 7573 | else | 
|  | 7574 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 7575 | fi | 
|  | 7576 | else | 
|  | 7577 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
|  | 7578 | fi | 
|  | 7579 | need_lib_prefix=unknown | 
|  | 7580 | hardcode_into_libs=no | 
|  | 7581 |  | 
|  | 7582 | # when you set need_version to no, make sure it does not cause -set_version | 
|  | 7583 | # flags to be left without arguments | 
|  | 7584 | need_version=unknown | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7585 |  | 
|  | 7586 | case $host_os in | 
|  | 7587 | aix3*) | 
|  | 7588 | version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7589 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7590 | shlibpath_var=LIBPATH | 
|  | 7591 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7592 | # AIX 3 has no versioning support, so we append a major version to the name. | 
|  | 7593 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7594 | ;; | 
|  | 7595 |  | 
|  | 7596 | aix4* | aix5*) | 
|  | 7597 | version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7598 | need_lib_prefix=no | 
|  | 7599 | need_version=no | 
|  | 7600 | hardcode_into_libs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7601 | if test "$host_cpu" = ia64; then | 
|  | 7602 | # AIX 5 supports IA64 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7603 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7604 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7605 | else | 
|  | 7606 | # With GCC up to 2.95.x, collect2 would create an import file | 
|  | 7607 | # for dependence libraries.  The import file would start with | 
|  | 7608 | # the line `#! .'.  This would cause the generated library to | 
|  | 7609 | # depend on `.', always an invalid library.  This was fixed in | 
|  | 7610 | # development snapshots of GCC prior to 3.0. | 
|  | 7611 | case $host_os in | 
|  | 7612 | aix4 | aix4.[01] | aix4.[01].*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7613 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
|  | 7614 | echo ' yes ' | 
|  | 7615 | echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
|  | 7616 | : | 
|  | 7617 | else | 
|  | 7618 | can_build_shared=no | 
|  | 7619 | fi | 
|  | 7620 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7621 | esac | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7622 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
|  | 7623 | # soname into executable. Probably we can add versioning support to | 
|  | 7624 | # collect2, so additional links can be useful in future. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7625 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 7626 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
|  | 7627 | # instead of lib<name>.a to let people know that these are not | 
|  | 7628 | # typical AIX shared libraries. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7629 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7630 | else | 
|  | 7631 | # We preserve .a as extension for shared libraries through AIX4.2 | 
|  | 7632 | # and later when we are not doing run time linking. | 
|  | 7633 | library_names_spec='${libname}${release}.a $libname.a' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7634 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7635 | fi | 
|  | 7636 | shlibpath_var=LIBPATH | 
|  | 7637 | fi | 
|  | 7638 | ;; | 
|  | 7639 |  | 
|  | 7640 | amigaos*) | 
|  | 7641 | library_names_spec='$libname.ixlibrary $libname.a' | 
|  | 7642 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
|  | 7643 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
|  | 7644 | ;; | 
|  | 7645 |  | 
|  | 7646 | beos*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7647 | library_names_spec='${libname}${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7648 | dynamic_linker="$host_os ld.so" | 
|  | 7649 | shlibpath_var=LIBRARY_PATH | 
|  | 7650 | ;; | 
|  | 7651 |  | 
|  | 7652 | bsdi4*) | 
|  | 7653 | version_type=linux | 
|  | 7654 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7655 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7656 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7657 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
|  | 7658 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7659 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
|  | 7660 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7661 | # the default ld.so.conf also contains /usr/contrib/lib and | 
|  | 7662 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
|  | 7663 | # libtool to hard-code these into programs | 
|  | 7664 | ;; | 
|  | 7665 |  | 
|  | 7666 | cygwin* | mingw* | pw32*) | 
|  | 7667 | version_type=windows | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7668 | shrext=".dll" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7669 | need_version=no | 
|  | 7670 | need_lib_prefix=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7671 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7672 | case $GCC,$host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7673 | yes,cygwin* | yes,mingw* | yes,pw32*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7674 | library_names_spec='$libname.dll.a' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7675 | # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
|  | 7676 | postinstall_cmds='base_file=`basename \${file}`~ | 
|  | 7677 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7678 | dldir=$destdir/`dirname \$dlpath`~ | 
|  | 7679 | test -d \$dldir || mkdir -p \$dldir~ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7680 | $install_prog $dir/$dlname \$dldir/$dlname' | 
|  | 7681 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7682 | dlpath=$dir/\$dldll~ | 
|  | 7683 | $rm \$dlpath' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7684 | shlibpath_overrides_runpath=yes | 
|  | 7685 |  | 
|  | 7686 | case $host_os in | 
|  | 7687 | cygwin*) | 
|  | 7688 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
|  | 7689 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 7690 | sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
|  | 7691 | ;; | 
|  | 7692 | mingw*) | 
|  | 7693 | # MinGW DLLs use traditional 'lib' prefix | 
|  | 7694 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 7695 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 7696 | if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
|  | 7697 | # It is most probably a Windows format PATH printed by | 
|  | 7698 | # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
|  | 7699 | # path with ; separators, and with drive letters. We can handle the | 
|  | 7700 | # drive letters (cygwin fileutils understands them), so leave them, | 
|  | 7701 | # especially as we might pass files found there to a mingw objdump, | 
|  | 7702 | # which wouldn't understand a cygwinified path. Ahh. | 
|  | 7703 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 7704 | else | 
|  | 7705 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 7706 | fi | 
|  | 7707 | ;; | 
|  | 7708 | pw32*) | 
|  | 7709 | # pw32 DLLs use 'pw' prefix rather than 'lib' | 
|  | 7710 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
|  | 7711 | ;; | 
|  | 7712 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7713 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7714 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7715 | *) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7716 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7717 | ;; | 
|  | 7718 | esac | 
|  | 7719 | dynamic_linker='Win32 ld.exe' | 
|  | 7720 | # FIXME: first we should search . and the directory the executable is in | 
|  | 7721 | shlibpath_var=PATH | 
|  | 7722 | ;; | 
|  | 7723 |  | 
|  | 7724 | darwin* | rhapsody*) | 
|  | 7725 | dynamic_linker="$host_os dyld" | 
|  | 7726 | version_type=darwin | 
|  | 7727 | need_lib_prefix=no | 
|  | 7728 | need_version=no | 
|  | 7729 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 7730 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 7731 | #        yet detect zsh echo's removal of \ escapes. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7732 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
|  | 7733 | soname_spec='${libname}${release}${major}$shared_ext' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7734 | shlibpath_overrides_runpath=yes | 
|  | 7735 | shlibpath_var=DYLD_LIBRARY_PATH | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7736 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
|  | 7737 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
|  | 7738 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 7739 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
|  | 7740 | fi | 
|  | 7741 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
|  | 7742 | ;; | 
|  | 7743 |  | 
|  | 7744 | dgux*) | 
|  | 7745 | version_type=linux | 
|  | 7746 | need_lib_prefix=no | 
|  | 7747 | need_version=no | 
|  | 7748 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
|  | 7749 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 7750 | shlibpath_var=LD_LIBRARY_PATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7751 | ;; | 
|  | 7752 |  | 
|  | 7753 | freebsd1*) | 
|  | 7754 | dynamic_linker=no | 
|  | 7755 | ;; | 
|  | 7756 |  | 
|  | 7757 | freebsd*) | 
|  | 7758 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
|  | 7759 | version_type=freebsd-$objformat | 
|  | 7760 | case $version_type in | 
|  | 7761 | freebsd-elf*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7762 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7763 | need_version=no | 
|  | 7764 | need_lib_prefix=no | 
|  | 7765 | ;; | 
|  | 7766 | freebsd-*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7767 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7768 | need_version=yes | 
|  | 7769 | ;; | 
|  | 7770 | esac | 
|  | 7771 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7772 | case $host_os in | 
|  | 7773 | freebsd2*) | 
|  | 7774 | shlibpath_overrides_runpath=yes | 
|  | 7775 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7776 | freebsd3.01* | freebsdelf3.01*) | 
|  | 7777 | shlibpath_overrides_runpath=yes | 
|  | 7778 | hardcode_into_libs=yes | 
|  | 7779 | ;; | 
|  | 7780 | *) # from 3.2 on | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7781 | shlibpath_overrides_runpath=no | 
|  | 7782 | hardcode_into_libs=yes | 
|  | 7783 | ;; | 
|  | 7784 | esac | 
|  | 7785 | ;; | 
|  | 7786 |  | 
|  | 7787 | gnu*) | 
|  | 7788 | version_type=linux | 
|  | 7789 | need_lib_prefix=no | 
|  | 7790 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7791 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
|  | 7792 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7793 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7794 | hardcode_into_libs=yes | 
|  | 7795 | ;; | 
|  | 7796 |  | 
|  | 7797 | hpux9* | hpux10* | hpux11*) | 
|  | 7798 | # Give a soname corresponding to the major version so that dld.sl refuses to | 
|  | 7799 | # link against other versions. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7800 | version_type=sunos | 
|  | 7801 | need_lib_prefix=no | 
|  | 7802 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7803 | case "$host_cpu" in | 
|  | 7804 | ia64*) | 
|  | 7805 | shrext='.so' | 
|  | 7806 | hardcode_into_libs=yes | 
|  | 7807 | dynamic_linker="$host_os dld.so" | 
|  | 7808 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7809 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 7810 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7811 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 7812 | if test "X$HPUX_IA64_MODE" = X32; then | 
|  | 7813 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
|  | 7814 | else | 
|  | 7815 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
|  | 7816 | fi | 
|  | 7817 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 7818 | ;; | 
|  | 7819 | hppa*64*) | 
|  | 7820 | shrext='.sl' | 
|  | 7821 | hardcode_into_libs=yes | 
|  | 7822 | dynamic_linker="$host_os dld.sl" | 
|  | 7823 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
|  | 7824 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 7825 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7826 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 7827 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
|  | 7828 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 7829 | ;; | 
|  | 7830 | *) | 
|  | 7831 | shrext='.sl' | 
|  | 7832 | dynamic_linker="$host_os dld.sl" | 
|  | 7833 | shlibpath_var=SHLIB_PATH | 
|  | 7834 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
|  | 7835 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7836 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 7837 | ;; | 
|  | 7838 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7839 | # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
|  | 7840 | postinstall_cmds='chmod 555 $lib' | 
|  | 7841 | ;; | 
|  | 7842 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7843 | irix5* | irix6* | nonstopux*) | 
|  | 7844 | case $host_os in | 
|  | 7845 | nonstopux*) version_type=nonstopux ;; | 
|  | 7846 | *) | 
|  | 7847 | if test "$lt_cv_prog_gnu_ld" = yes; then | 
|  | 7848 | version_type=linux | 
|  | 7849 | else | 
|  | 7850 | version_type=irix | 
|  | 7851 | fi ;; | 
|  | 7852 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7853 | need_lib_prefix=no | 
|  | 7854 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7855 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 7856 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7857 | case $host_os in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7858 | irix5* | nonstopux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7859 | libsuff= shlibsuff= | 
|  | 7860 | ;; | 
|  | 7861 | *) | 
|  | 7862 | case $LD in # libtool.m4 will add one of these switches to LD | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7863 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
|  | 7864 | libsuff= shlibsuff= libmagic=32-bit;; | 
|  | 7865 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
|  | 7866 | libsuff=32 shlibsuff=N32 libmagic=N32;; | 
|  | 7867 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
|  | 7868 | libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7869 | *) libsuff= shlibsuff= libmagic=never-match;; | 
|  | 7870 | esac | 
|  | 7871 | ;; | 
|  | 7872 | esac | 
|  | 7873 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
|  | 7874 | shlibpath_overrides_runpath=no | 
|  | 7875 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
|  | 7876 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7877 | hardcode_into_libs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7878 | ;; | 
|  | 7879 |  | 
|  | 7880 | # No shared lib support for Linux oldld, aout, or coff. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7881 | linux*oldld* | linux*aout* | linux*coff*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7882 | dynamic_linker=no | 
|  | 7883 | ;; | 
|  | 7884 |  | 
|  | 7885 | # This must be Linux ELF. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7886 | linux*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7887 | version_type=linux | 
|  | 7888 | need_lib_prefix=no | 
|  | 7889 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7890 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7891 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7892 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
|  | 7893 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7894 | shlibpath_overrides_runpath=no | 
|  | 7895 | # This implies no fast_install, which is unacceptable. | 
|  | 7896 | # Some rework will be needed to allow for fast_install | 
|  | 7897 | # before this can be enabled. | 
|  | 7898 | hardcode_into_libs=yes | 
|  | 7899 |  | 
|  | 7900 | # We used to test for /lib/ld.so.1 and disable shared libraries on | 
|  | 7901 | # powerpc, because MkLinux only supported shared libraries with the | 
|  | 7902 | # GNU dynamic linker.  Since this was broken with cross compilers, | 
|  | 7903 | # most powerpc-linux boxes support dynamic linking these days and | 
|  | 7904 | # people can always --disable-shared, the test was removed, and we | 
|  | 7905 | # assume the GNU/Linux dynamic linker is in use. | 
|  | 7906 | dynamic_linker='GNU/Linux ld.so' | 
|  | 7907 | ;; | 
|  | 7908 |  | 
|  | 7909 | netbsd*) | 
|  | 7910 | version_type=sunos | 
|  | 7911 | need_lib_prefix=no | 
|  | 7912 | need_version=no | 
|  | 7913 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7914 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7915 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 7916 | dynamic_linker='NetBSD (a.out) ld.so' | 
|  | 7917 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7918 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
|  | 7919 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7920 | dynamic_linker='NetBSD ld.elf_so' | 
|  | 7921 | fi | 
|  | 7922 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7923 | shlibpath_overrides_runpath=yes | 
|  | 7924 | hardcode_into_libs=yes | 
|  | 7925 | ;; | 
|  | 7926 |  | 
|  | 7927 | newsos6) | 
|  | 7928 | version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7929 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7930 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7931 | shlibpath_overrides_runpath=yes | 
|  | 7932 | ;; | 
|  | 7933 |  | 
|  | 7934 | nto-qnx) | 
|  | 7935 | version_type=linux | 
|  | 7936 | need_lib_prefix=no | 
|  | 7937 | need_version=no | 
|  | 7938 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7939 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7940 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7941 | shlibpath_overrides_runpath=yes | 
|  | 7942 | ;; | 
|  | 7943 |  | 
|  | 7944 | openbsd*) | 
|  | 7945 | version_type=sunos | 
|  | 7946 | need_lib_prefix=no | 
|  | 7947 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7948 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 7949 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 7950 | shlibpath_var=LD_LIBRARY_PATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7951 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7952 | case $host_os in | 
|  | 7953 | openbsd2.[89] | openbsd2.[89].*) | 
|  | 7954 | shlibpath_overrides_runpath=no | 
|  | 7955 | ;; | 
|  | 7956 | *) | 
|  | 7957 | shlibpath_overrides_runpath=yes | 
|  | 7958 | ;; | 
|  | 7959 | esac | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7960 | else | 
|  | 7961 | shlibpath_overrides_runpath=yes | 
|  | 7962 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7963 | ;; | 
|  | 7964 |  | 
|  | 7965 | os2*) | 
|  | 7966 | libname_spec='$name' | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7967 | shrext=".dll" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7968 | need_lib_prefix=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7969 | library_names_spec='$libname${shared_ext} $libname.a' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7970 | dynamic_linker='OS/2 ld.exe' | 
|  | 7971 | shlibpath_var=LIBPATH | 
|  | 7972 | ;; | 
|  | 7973 |  | 
|  | 7974 | osf3* | osf4* | osf5*) | 
|  | 7975 | version_type=osf | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7976 | need_lib_prefix=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7977 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7978 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 7979 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7980 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7981 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
|  | 7982 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
|  | 7983 | ;; | 
|  | 7984 |  | 
|  | 7985 | sco3.2v5*) | 
|  | 7986 | version_type=osf | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7987 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 7988 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7989 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7990 | ;; | 
|  | 7991 |  | 
|  | 7992 | solaris*) | 
|  | 7993 | version_type=linux | 
|  | 7994 | need_lib_prefix=no | 
|  | 7995 | need_version=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 7996 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 7997 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 7998 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 7999 | shlibpath_overrides_runpath=yes | 
|  | 8000 | hardcode_into_libs=yes | 
|  | 8001 | # ldd complains unless libraries are executable | 
|  | 8002 | postinstall_cmds='chmod +x $lib' | 
|  | 8003 | ;; | 
|  | 8004 |  | 
|  | 8005 | sunos4*) | 
|  | 8006 | version_type=sunos | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8007 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8008 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
|  | 8009 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 8010 | shlibpath_overrides_runpath=yes | 
|  | 8011 | if test "$with_gnu_ld" = yes; then | 
|  | 8012 | need_lib_prefix=no | 
|  | 8013 | fi | 
|  | 8014 | need_version=yes | 
|  | 8015 | ;; | 
|  | 8016 |  | 
|  | 8017 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  | 8018 | version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8019 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 8020 | soname_spec='${libname}${release}${shared_ext}$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8021 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 8022 | case $host_vendor in | 
|  | 8023 | sni) | 
|  | 8024 | shlibpath_overrides_runpath=no | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8025 | need_lib_prefix=no | 
|  | 8026 | export_dynamic_flag_spec='${wl}-Blargedynsym' | 
|  | 8027 | runpath_var=LD_RUN_PATH | 
|  | 8028 | ;; | 
|  | 8029 | siemens) | 
|  | 8030 | need_lib_prefix=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8031 | ;; | 
|  | 8032 | motorola) | 
|  | 8033 | need_lib_prefix=no | 
|  | 8034 | need_version=no | 
|  | 8035 | shlibpath_overrides_runpath=no | 
|  | 8036 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
|  | 8037 | ;; | 
|  | 8038 | esac | 
|  | 8039 | ;; | 
|  | 8040 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8041 | sysv4*MP*) | 
|  | 8042 | if test -d /usr/nec ;then | 
|  | 8043 | version_type=linux | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8044 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
|  | 8045 | soname_spec='$libname${shared_ext}.$major' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8046 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 8047 | fi | 
|  | 8048 | ;; | 
|  | 8049 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8050 | uts4*) | 
|  | 8051 | version_type=linux | 
|  | 8052 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 8053 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 8054 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 8055 | ;; | 
|  | 8056 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8057 | *) | 
|  | 8058 | dynamic_linker=no | 
|  | 8059 | ;; | 
|  | 8060 | esac | 
|  | 8061 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
|  | 8062 | echo "${ECHO_T}$dynamic_linker" >&6 | 
|  | 8063 | test "$dynamic_linker" = no && can_build_shared=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8064 |  | 
|  | 8065 | if test "x$enable_dlopen" != xyes; then | 
|  | 8066 | enable_dlopen=unknown | 
|  | 8067 | enable_dlopen_self=unknown | 
|  | 8068 | enable_dlopen_self_static=unknown | 
|  | 8069 | else | 
|  | 8070 | lt_cv_dlopen=no | 
|  | 8071 | lt_cv_dlopen_libs= | 
|  | 8072 |  | 
|  | 8073 | case $host_os in | 
|  | 8074 | beos*) | 
|  | 8075 | lt_cv_dlopen="load_add_on" | 
|  | 8076 | lt_cv_dlopen_libs= | 
|  | 8077 | lt_cv_dlopen_self=yes | 
|  | 8078 | ;; | 
|  | 8079 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8080 | mingw* | pw32*) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8081 | lt_cv_dlopen="LoadLibrary" | 
|  | 8082 | lt_cv_dlopen_libs= | 
|  | 8083 | ;; | 
|  | 8084 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8085 | cygwin*) | 
|  | 8086 | lt_cv_dlopen="dlopen" | 
|  | 8087 | lt_cv_dlopen_libs= | 
|  | 8088 | ;; | 
|  | 8089 |  | 
|  | 8090 | darwin*) | 
|  | 8091 | # if libdl is installed we need to link against it | 
|  | 8092 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
|  | 8093 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
|  | 8094 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
|  | 8095 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8096 | else | 
|  | 8097 | ac_check_lib_save_LIBS=$LIBS | 
|  | 8098 | LIBS="-ldl  $LIBS" | 
|  | 8099 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 8100 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8101 | /* confdefs.h.  */ | 
|  | 8102 | _ACEOF | 
|  | 8103 | cat confdefs.h >>conftest.$ac_ext | 
|  | 8104 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 8105 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8106 |  | 
|  | 8107 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 8108 | #ifdef __cplusplus | 
|  | 8109 | extern "C" | 
|  | 8110 | #endif | 
|  | 8111 | /* We use char because int might match the return type of a gcc2 | 
|  | 8112 | builtin and then its argument prototype would still apply.  */ | 
|  | 8113 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8114 | int | 
|  | 8115 | main () | 
|  | 8116 | { | 
|  | 8117 | dlopen (); | 
|  | 8118 | ; | 
|  | 8119 | return 0; | 
|  | 8120 | } | 
|  | 8121 | _ACEOF | 
|  | 8122 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 8123 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8124 | (eval $ac_link) 2>&5 | 
|  | 8125 | ac_status=$? | 
|  | 8126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8127 | (exit $ac_status); } && | 
|  | 8128 | { ac_try='test -s conftest$ac_exeext' | 
|  | 8129 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 8130 | (eval $ac_try) 2>&5 | 
|  | 8131 | ac_status=$? | 
|  | 8132 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8133 | (exit $ac_status); }; }; then | 
|  | 8134 | ac_cv_lib_dl_dlopen=yes | 
|  | 8135 | else | 
|  | 8136 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8137 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 8138 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8139 | ac_cv_lib_dl_dlopen=no | 
|  | 8140 | fi | 
|  | 8141 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 8142 | LIBS=$ac_check_lib_save_LIBS | 
|  | 8143 | fi | 
|  | 8144 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
|  | 8145 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
|  | 8146 | if test $ac_cv_lib_dl_dlopen = yes; then | 
|  | 8147 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
|  | 8148 | else | 
|  | 8149 |  | 
|  | 8150 | lt_cv_dlopen="dyld" | 
|  | 8151 | lt_cv_dlopen_libs= | 
|  | 8152 | lt_cv_dlopen_self=yes | 
|  | 8153 |  | 
|  | 8154 | fi | 
|  | 8155 |  | 
|  | 8156 | ;; | 
|  | 8157 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8158 | *) | 
|  | 8159 | echo "$as_me:$LINENO: checking for shl_load" >&5 | 
|  | 8160 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
|  | 8161 | if test "${ac_cv_func_shl_load+set}" = set; then | 
|  | 8162 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8163 | else | 
|  | 8164 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 8165 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8166 | /* confdefs.h.  */ | 
|  | 8167 | _ACEOF | 
|  | 8168 | cat confdefs.h >>conftest.$ac_ext | 
|  | 8169 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 8170 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8171 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8172 | which can conflict with char shl_load (); below. | 
|  | 8173 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 8174 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 8175 | #ifdef __STDC__ | 
|  | 8176 | # include <limits.h> | 
|  | 8177 | #else | 
|  | 8178 | # include <assert.h> | 
|  | 8179 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8180 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 8181 | #ifdef __cplusplus | 
|  | 8182 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8183 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8184 | #endif | 
|  | 8185 | /* We use char because int might match the return type of a gcc2 | 
|  | 8186 | builtin and then its argument prototype would still apply.  */ | 
|  | 8187 | char shl_load (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8188 | /* The GNU C library defines this for functions which it implements | 
|  | 8189 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 8190 | something starting with __ and the normal name is an alias.  */ | 
|  | 8191 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
|  | 8192 | choke me | 
|  | 8193 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8194 | char (*f) () = shl_load; | 
|  | 8195 | #endif | 
|  | 8196 | #ifdef __cplusplus | 
|  | 8197 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8198 | #endif | 
|  | 8199 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8200 | int | 
|  | 8201 | main () | 
|  | 8202 | { | 
|  | 8203 | return f != shl_load; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8204 | ; | 
|  | 8205 | return 0; | 
|  | 8206 | } | 
|  | 8207 | _ACEOF | 
|  | 8208 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 8209 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8210 | (eval $ac_link) 2>&5 | 
|  | 8211 | ac_status=$? | 
|  | 8212 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8213 | (exit $ac_status); } && | 
|  | 8214 | { ac_try='test -s conftest$ac_exeext' | 
|  | 8215 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 8216 | (eval $ac_try) 2>&5 | 
|  | 8217 | ac_status=$? | 
|  | 8218 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8219 | (exit $ac_status); }; }; then | 
|  | 8220 | ac_cv_func_shl_load=yes | 
|  | 8221 | else | 
|  | 8222 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8223 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 8224 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8225 | ac_cv_func_shl_load=no | 
|  | 8226 | fi | 
|  | 8227 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 8228 | fi | 
|  | 8229 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
|  | 8230 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
|  | 8231 | if test $ac_cv_func_shl_load = yes; then | 
|  | 8232 | lt_cv_dlopen="shl_load" | 
|  | 8233 | else | 
|  | 8234 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
|  | 8235 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
|  | 8236 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
|  | 8237 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8238 | else | 
|  | 8239 | ac_check_lib_save_LIBS=$LIBS | 
|  | 8240 | LIBS="-ldld  $LIBS" | 
|  | 8241 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 8242 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8243 | /* confdefs.h.  */ | 
|  | 8244 | _ACEOF | 
|  | 8245 | cat confdefs.h >>conftest.$ac_ext | 
|  | 8246 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 8247 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8248 |  | 
|  | 8249 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 8250 | #ifdef __cplusplus | 
|  | 8251 | extern "C" | 
|  | 8252 | #endif | 
|  | 8253 | /* We use char because int might match the return type of a gcc2 | 
|  | 8254 | builtin and then its argument prototype would still apply.  */ | 
|  | 8255 | char shl_load (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8256 | int | 
|  | 8257 | main () | 
|  | 8258 | { | 
|  | 8259 | shl_load (); | 
|  | 8260 | ; | 
|  | 8261 | return 0; | 
|  | 8262 | } | 
|  | 8263 | _ACEOF | 
|  | 8264 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 8265 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8266 | (eval $ac_link) 2>&5 | 
|  | 8267 | ac_status=$? | 
|  | 8268 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8269 | (exit $ac_status); } && | 
|  | 8270 | { ac_try='test -s conftest$ac_exeext' | 
|  | 8271 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 8272 | (eval $ac_try) 2>&5 | 
|  | 8273 | ac_status=$? | 
|  | 8274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8275 | (exit $ac_status); }; }; then | 
|  | 8276 | ac_cv_lib_dld_shl_load=yes | 
|  | 8277 | else | 
|  | 8278 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8279 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 8280 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8281 | ac_cv_lib_dld_shl_load=no | 
|  | 8282 | fi | 
|  | 8283 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 8284 | LIBS=$ac_check_lib_save_LIBS | 
|  | 8285 | fi | 
|  | 8286 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
|  | 8287 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
|  | 8288 | if test $ac_cv_lib_dld_shl_load = yes; then | 
|  | 8289 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
|  | 8290 | else | 
|  | 8291 | echo "$as_me:$LINENO: checking for dlopen" >&5 | 
|  | 8292 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
|  | 8293 | if test "${ac_cv_func_dlopen+set}" = set; then | 
|  | 8294 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8295 | else | 
|  | 8296 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 8297 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8298 | /* confdefs.h.  */ | 
|  | 8299 | _ACEOF | 
|  | 8300 | cat confdefs.h >>conftest.$ac_ext | 
|  | 8301 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 8302 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8303 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8304 | which can conflict with char dlopen (); below. | 
|  | 8305 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 8306 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 8307 | #ifdef __STDC__ | 
|  | 8308 | # include <limits.h> | 
|  | 8309 | #else | 
|  | 8310 | # include <assert.h> | 
|  | 8311 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8312 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 8313 | #ifdef __cplusplus | 
|  | 8314 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8315 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8316 | #endif | 
|  | 8317 | /* We use char because int might match the return type of a gcc2 | 
|  | 8318 | builtin and then its argument prototype would still apply.  */ | 
|  | 8319 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8320 | /* The GNU C library defines this for functions which it implements | 
|  | 8321 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 8322 | something starting with __ and the normal name is an alias.  */ | 
|  | 8323 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
|  | 8324 | choke me | 
|  | 8325 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8326 | char (*f) () = dlopen; | 
|  | 8327 | #endif | 
|  | 8328 | #ifdef __cplusplus | 
|  | 8329 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8330 | #endif | 
|  | 8331 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8332 | int | 
|  | 8333 | main () | 
|  | 8334 | { | 
|  | 8335 | return f != dlopen; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8336 | ; | 
|  | 8337 | return 0; | 
|  | 8338 | } | 
|  | 8339 | _ACEOF | 
|  | 8340 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 8341 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8342 | (eval $ac_link) 2>&5 | 
|  | 8343 | ac_status=$? | 
|  | 8344 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8345 | (exit $ac_status); } && | 
|  | 8346 | { ac_try='test -s conftest$ac_exeext' | 
|  | 8347 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 8348 | (eval $ac_try) 2>&5 | 
|  | 8349 | ac_status=$? | 
|  | 8350 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8351 | (exit $ac_status); }; }; then | 
|  | 8352 | ac_cv_func_dlopen=yes | 
|  | 8353 | else | 
|  | 8354 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8355 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 8356 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8357 | ac_cv_func_dlopen=no | 
|  | 8358 | fi | 
|  | 8359 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 8360 | fi | 
|  | 8361 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
|  | 8362 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
|  | 8363 | if test $ac_cv_func_dlopen = yes; then | 
|  | 8364 | lt_cv_dlopen="dlopen" | 
|  | 8365 | else | 
|  | 8366 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
|  | 8367 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
|  | 8368 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
|  | 8369 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8370 | else | 
|  | 8371 | ac_check_lib_save_LIBS=$LIBS | 
|  | 8372 | LIBS="-ldl  $LIBS" | 
|  | 8373 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 8374 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8375 | /* confdefs.h.  */ | 
|  | 8376 | _ACEOF | 
|  | 8377 | cat confdefs.h >>conftest.$ac_ext | 
|  | 8378 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 8379 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8380 |  | 
|  | 8381 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 8382 | #ifdef __cplusplus | 
|  | 8383 | extern "C" | 
|  | 8384 | #endif | 
|  | 8385 | /* We use char because int might match the return type of a gcc2 | 
|  | 8386 | builtin and then its argument prototype would still apply.  */ | 
|  | 8387 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8388 | int | 
|  | 8389 | main () | 
|  | 8390 | { | 
|  | 8391 | dlopen (); | 
|  | 8392 | ; | 
|  | 8393 | return 0; | 
|  | 8394 | } | 
|  | 8395 | _ACEOF | 
|  | 8396 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 8397 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8398 | (eval $ac_link) 2>&5 | 
|  | 8399 | ac_status=$? | 
|  | 8400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8401 | (exit $ac_status); } && | 
|  | 8402 | { ac_try='test -s conftest$ac_exeext' | 
|  | 8403 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 8404 | (eval $ac_try) 2>&5 | 
|  | 8405 | ac_status=$? | 
|  | 8406 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8407 | (exit $ac_status); }; }; then | 
|  | 8408 | ac_cv_lib_dl_dlopen=yes | 
|  | 8409 | else | 
|  | 8410 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8411 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 8412 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8413 | ac_cv_lib_dl_dlopen=no | 
|  | 8414 | fi | 
|  | 8415 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 8416 | LIBS=$ac_check_lib_save_LIBS | 
|  | 8417 | fi | 
|  | 8418 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
|  | 8419 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
|  | 8420 | if test $ac_cv_lib_dl_dlopen = yes; then | 
|  | 8421 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
|  | 8422 | else | 
|  | 8423 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
|  | 8424 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
|  | 8425 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
|  | 8426 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8427 | else | 
|  | 8428 | ac_check_lib_save_LIBS=$LIBS | 
|  | 8429 | LIBS="-lsvld  $LIBS" | 
|  | 8430 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 8431 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8432 | /* confdefs.h.  */ | 
|  | 8433 | _ACEOF | 
|  | 8434 | cat confdefs.h >>conftest.$ac_ext | 
|  | 8435 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 8436 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8437 |  | 
|  | 8438 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 8439 | #ifdef __cplusplus | 
|  | 8440 | extern "C" | 
|  | 8441 | #endif | 
|  | 8442 | /* We use char because int might match the return type of a gcc2 | 
|  | 8443 | builtin and then its argument prototype would still apply.  */ | 
|  | 8444 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8445 | int | 
|  | 8446 | main () | 
|  | 8447 | { | 
|  | 8448 | dlopen (); | 
|  | 8449 | ; | 
|  | 8450 | return 0; | 
|  | 8451 | } | 
|  | 8452 | _ACEOF | 
|  | 8453 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 8454 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8455 | (eval $ac_link) 2>&5 | 
|  | 8456 | ac_status=$? | 
|  | 8457 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8458 | (exit $ac_status); } && | 
|  | 8459 | { ac_try='test -s conftest$ac_exeext' | 
|  | 8460 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 8461 | (eval $ac_try) 2>&5 | 
|  | 8462 | ac_status=$? | 
|  | 8463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8464 | (exit $ac_status); }; }; then | 
|  | 8465 | ac_cv_lib_svld_dlopen=yes | 
|  | 8466 | else | 
|  | 8467 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8468 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 8469 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8470 | ac_cv_lib_svld_dlopen=no | 
|  | 8471 | fi | 
|  | 8472 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 8473 | LIBS=$ac_check_lib_save_LIBS | 
|  | 8474 | fi | 
|  | 8475 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
|  | 8476 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
|  | 8477 | if test $ac_cv_lib_svld_dlopen = yes; then | 
|  | 8478 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
|  | 8479 | else | 
|  | 8480 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
|  | 8481 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
|  | 8482 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
|  | 8483 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8484 | else | 
|  | 8485 | ac_check_lib_save_LIBS=$LIBS | 
|  | 8486 | LIBS="-ldld  $LIBS" | 
|  | 8487 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 8488 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8489 | /* confdefs.h.  */ | 
|  | 8490 | _ACEOF | 
|  | 8491 | cat confdefs.h >>conftest.$ac_ext | 
|  | 8492 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 8493 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8494 |  | 
|  | 8495 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 8496 | #ifdef __cplusplus | 
|  | 8497 | extern "C" | 
|  | 8498 | #endif | 
|  | 8499 | /* We use char because int might match the return type of a gcc2 | 
|  | 8500 | builtin and then its argument prototype would still apply.  */ | 
|  | 8501 | char dld_link (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8502 | int | 
|  | 8503 | main () | 
|  | 8504 | { | 
|  | 8505 | dld_link (); | 
|  | 8506 | ; | 
|  | 8507 | return 0; | 
|  | 8508 | } | 
|  | 8509 | _ACEOF | 
|  | 8510 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 8511 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8512 | (eval $ac_link) 2>&5 | 
|  | 8513 | ac_status=$? | 
|  | 8514 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8515 | (exit $ac_status); } && | 
|  | 8516 | { ac_try='test -s conftest$ac_exeext' | 
|  | 8517 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 8518 | (eval $ac_try) 2>&5 | 
|  | 8519 | ac_status=$? | 
|  | 8520 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8521 | (exit $ac_status); }; }; then | 
|  | 8522 | ac_cv_lib_dld_dld_link=yes | 
|  | 8523 | else | 
|  | 8524 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 8525 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 8526 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8527 | ac_cv_lib_dld_dld_link=no | 
|  | 8528 | fi | 
|  | 8529 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 8530 | LIBS=$ac_check_lib_save_LIBS | 
|  | 8531 | fi | 
|  | 8532 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
|  | 8533 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
|  | 8534 | if test $ac_cv_lib_dld_dld_link = yes; then | 
|  | 8535 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
|  | 8536 | fi | 
|  | 8537 |  | 
|  | 8538 |  | 
|  | 8539 | fi | 
|  | 8540 |  | 
|  | 8541 |  | 
|  | 8542 | fi | 
|  | 8543 |  | 
|  | 8544 |  | 
|  | 8545 | fi | 
|  | 8546 |  | 
|  | 8547 |  | 
|  | 8548 | fi | 
|  | 8549 |  | 
|  | 8550 |  | 
|  | 8551 | fi | 
|  | 8552 |  | 
|  | 8553 | ;; | 
|  | 8554 | esac | 
|  | 8555 |  | 
|  | 8556 | if test "x$lt_cv_dlopen" != xno; then | 
|  | 8557 | enable_dlopen=yes | 
|  | 8558 | else | 
|  | 8559 | enable_dlopen=no | 
|  | 8560 | fi | 
|  | 8561 |  | 
|  | 8562 | case $lt_cv_dlopen in | 
|  | 8563 | dlopen) | 
|  | 8564 | save_CPPFLAGS="$CPPFLAGS" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8565 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8566 |  | 
|  | 8567 | save_LDFLAGS="$LDFLAGS" | 
|  | 8568 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
|  | 8569 |  | 
|  | 8570 | save_LIBS="$LIBS" | 
|  | 8571 | LIBS="$lt_cv_dlopen_libs $LIBS" | 
|  | 8572 |  | 
|  | 8573 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
|  | 8574 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
|  | 8575 | if test "${lt_cv_dlopen_self+set}" = set; then | 
|  | 8576 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8577 | else | 
|  | 8578 | if test "$cross_compiling" = yes; then : | 
|  | 8579 | lt_cv_dlopen_self=cross | 
|  | 8580 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8581 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8582 | lt_status=$lt_dlunknown | 
|  | 8583 | cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 8584 | #line 8590 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8585 | #include "confdefs.h" | 
|  | 8586 |  | 
|  | 8587 | #if HAVE_DLFCN_H | 
|  | 8588 | #include <dlfcn.h> | 
|  | 8589 | #endif | 
|  | 8590 |  | 
|  | 8591 | #include <stdio.h> | 
|  | 8592 |  | 
|  | 8593 | #ifdef RTLD_GLOBAL | 
|  | 8594 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  | 8595 | #else | 
|  | 8596 | #  ifdef DL_GLOBAL | 
|  | 8597 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  | 8598 | #  else | 
|  | 8599 | #    define LT_DLGLOBAL		0 | 
|  | 8600 | #  endif | 
|  | 8601 | #endif | 
|  | 8602 |  | 
|  | 8603 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  | 8604 | find out it does not work in some platform. */ | 
|  | 8605 | #ifndef LT_DLLAZY_OR_NOW | 
|  | 8606 | #  ifdef RTLD_LAZY | 
|  | 8607 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  | 8608 | #  else | 
|  | 8609 | #    ifdef DL_LAZY | 
|  | 8610 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  | 8611 | #    else | 
|  | 8612 | #      ifdef RTLD_NOW | 
|  | 8613 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  | 8614 | #      else | 
|  | 8615 | #        ifdef DL_NOW | 
|  | 8616 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  | 8617 | #        else | 
|  | 8618 | #          define LT_DLLAZY_OR_NOW	0 | 
|  | 8619 | #        endif | 
|  | 8620 | #      endif | 
|  | 8621 | #    endif | 
|  | 8622 | #  endif | 
|  | 8623 | #endif | 
|  | 8624 |  | 
|  | 8625 | #ifdef __cplusplus | 
|  | 8626 | extern "C" void exit (int); | 
|  | 8627 | #endif | 
|  | 8628 |  | 
|  | 8629 | void fnord() { int i=42;} | 
|  | 8630 | int main () | 
|  | 8631 | { | 
|  | 8632 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  | 8633 | int status = $lt_dlunknown; | 
|  | 8634 |  | 
|  | 8635 | if (self) | 
|  | 8636 | { | 
|  | 8637 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  | 8638 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  | 8639 | /* dlclose (self); */ | 
|  | 8640 | } | 
|  | 8641 |  | 
|  | 8642 | exit (status); | 
|  | 8643 | } | 
|  | 8644 | EOF | 
|  | 8645 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8646 | (eval $ac_link) 2>&5 | 
|  | 8647 | ac_status=$? | 
|  | 8648 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8649 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  | 8650 | (./conftest; exit; ) 2>/dev/null | 
|  | 8651 | lt_status=$? | 
|  | 8652 | case x$lt_status in | 
|  | 8653 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
|  | 8654 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
|  | 8655 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
|  | 8656 | esac | 
|  | 8657 | else : | 
|  | 8658 | # compilation failed | 
|  | 8659 | lt_cv_dlopen_self=no | 
|  | 8660 | fi | 
|  | 8661 | fi | 
|  | 8662 | rm -fr conftest* | 
|  | 8663 |  | 
|  | 8664 |  | 
|  | 8665 | fi | 
|  | 8666 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
|  | 8667 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
|  | 8668 |  | 
|  | 8669 | if test "x$lt_cv_dlopen_self" = xyes; then | 
|  | 8670 | LDFLAGS="$LDFLAGS $link_static_flag" | 
|  | 8671 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
|  | 8672 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
|  | 8673 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
|  | 8674 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 8675 | else | 
|  | 8676 | if test "$cross_compiling" = yes; then : | 
|  | 8677 | lt_cv_dlopen_self_static=cross | 
|  | 8678 | else | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8679 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8680 | lt_status=$lt_dlunknown | 
|  | 8681 | cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 8682 | #line 8688 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8683 | #include "confdefs.h" | 
|  | 8684 |  | 
|  | 8685 | #if HAVE_DLFCN_H | 
|  | 8686 | #include <dlfcn.h> | 
|  | 8687 | #endif | 
|  | 8688 |  | 
|  | 8689 | #include <stdio.h> | 
|  | 8690 |  | 
|  | 8691 | #ifdef RTLD_GLOBAL | 
|  | 8692 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  | 8693 | #else | 
|  | 8694 | #  ifdef DL_GLOBAL | 
|  | 8695 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  | 8696 | #  else | 
|  | 8697 | #    define LT_DLGLOBAL		0 | 
|  | 8698 | #  endif | 
|  | 8699 | #endif | 
|  | 8700 |  | 
|  | 8701 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  | 8702 | find out it does not work in some platform. */ | 
|  | 8703 | #ifndef LT_DLLAZY_OR_NOW | 
|  | 8704 | #  ifdef RTLD_LAZY | 
|  | 8705 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  | 8706 | #  else | 
|  | 8707 | #    ifdef DL_LAZY | 
|  | 8708 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  | 8709 | #    else | 
|  | 8710 | #      ifdef RTLD_NOW | 
|  | 8711 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  | 8712 | #      else | 
|  | 8713 | #        ifdef DL_NOW | 
|  | 8714 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  | 8715 | #        else | 
|  | 8716 | #          define LT_DLLAZY_OR_NOW	0 | 
|  | 8717 | #        endif | 
|  | 8718 | #      endif | 
|  | 8719 | #    endif | 
|  | 8720 | #  endif | 
|  | 8721 | #endif | 
|  | 8722 |  | 
|  | 8723 | #ifdef __cplusplus | 
|  | 8724 | extern "C" void exit (int); | 
|  | 8725 | #endif | 
|  | 8726 |  | 
|  | 8727 | void fnord() { int i=42;} | 
|  | 8728 | int main () | 
|  | 8729 | { | 
|  | 8730 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  | 8731 | int status = $lt_dlunknown; | 
|  | 8732 |  | 
|  | 8733 | if (self) | 
|  | 8734 | { | 
|  | 8735 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  | 8736 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  | 8737 | /* dlclose (self); */ | 
|  | 8738 | } | 
|  | 8739 |  | 
|  | 8740 | exit (status); | 
|  | 8741 | } | 
|  | 8742 | EOF | 
|  | 8743 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 8744 | (eval $ac_link) 2>&5 | 
|  | 8745 | ac_status=$? | 
|  | 8746 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 8747 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  | 8748 | (./conftest; exit; ) 2>/dev/null | 
|  | 8749 | lt_status=$? | 
|  | 8750 | case x$lt_status in | 
|  | 8751 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  | 8752 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  | 8753 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
|  | 8754 | esac | 
|  | 8755 | else : | 
|  | 8756 | # compilation failed | 
|  | 8757 | lt_cv_dlopen_self_static=no | 
|  | 8758 | fi | 
|  | 8759 | fi | 
|  | 8760 | rm -fr conftest* | 
|  | 8761 |  | 
|  | 8762 |  | 
|  | 8763 | fi | 
|  | 8764 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
|  | 8765 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
|  | 8766 | fi | 
|  | 8767 |  | 
|  | 8768 | CPPFLAGS="$save_CPPFLAGS" | 
|  | 8769 | LDFLAGS="$save_LDFLAGS" | 
|  | 8770 | LIBS="$save_LIBS" | 
|  | 8771 | ;; | 
|  | 8772 | esac | 
|  | 8773 |  | 
|  | 8774 | case $lt_cv_dlopen_self in | 
|  | 8775 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
|  | 8776 | *) enable_dlopen_self=unknown ;; | 
|  | 8777 | esac | 
|  | 8778 |  | 
|  | 8779 | case $lt_cv_dlopen_self_static in | 
|  | 8780 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
|  | 8781 | *) enable_dlopen_self_static=unknown ;; | 
|  | 8782 | esac | 
|  | 8783 | fi | 
|  | 8784 |  | 
|  | 8785 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8786 | # Report which librarie types wil actually be built | 
|  | 8787 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
|  | 8788 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
|  | 8789 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
|  | 8790 | echo "${ECHO_T}$can_build_shared" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8791 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8792 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
|  | 8793 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
|  | 8794 | test "$can_build_shared" = "no" && enable_shared=no | 
|  | 8795 |  | 
|  | 8796 | # On AIX, shared libraries and static libraries use the same namespace, and | 
|  | 8797 | # are all built from PIC. | 
|  | 8798 | case "$host_os" in | 
|  | 8799 | aix3*) | 
|  | 8800 | test "$enable_shared" = yes && enable_static=no | 
|  | 8801 | if test -n "$RANLIB"; then | 
|  | 8802 | archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
|  | 8803 | postinstall_cmds='$RANLIB $lib' | 
|  | 8804 | fi | 
|  | 8805 | ;; | 
|  | 8806 |  | 
|  | 8807 | aix4*) | 
|  | 8808 | if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 
|  | 8809 | test "$enable_shared" = yes && enable_static=no | 
|  | 8810 | fi | 
|  | 8811 | ;; | 
|  | 8812 | darwin* | rhapsody*) | 
|  | 8813 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 8814 | archive_cmds_need_lc=no | 
|  | 8815 | case "$host_os" in | 
|  | 8816 | rhapsody* | darwin1.[012]) | 
|  | 8817 | allow_undefined_flag='-undefined suppress' | 
|  | 8818 | ;; | 
|  | 8819 | *) # Darwin 1.3 on | 
|  | 8820 | test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress' | 
|  | 8821 | ;; | 
|  | 8822 | esac | 
|  | 8823 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 8824 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 8825 | #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
|  | 8826 | #	       `"' quotes if we put them in here... so don't! | 
|  | 8827 | output_verbose_link_cmd='echo' | 
|  | 8828 | archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 8829 | module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
|  | 8830 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
|  | 8831 | archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 8832 | module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 8833 | hardcode_direct=no | 
|  | 8834 | hardcode_automatic=yes | 
|  | 8835 | hardcode_shlibpath_var=unsupported | 
|  | 8836 | whole_archive_flag_spec='-all_load $convenience' | 
|  | 8837 | link_all_deplibs=yes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8838 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8839 | ;; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8840 | esac | 
|  | 8841 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
|  | 8842 | echo "${ECHO_T}$enable_shared" >&6 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8843 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8844 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
|  | 8845 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
|  | 8846 | # Make sure either enable_shared or enable_static is yes. | 
|  | 8847 | test "$enable_shared" = yes || enable_static=yes | 
|  | 8848 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
|  | 8849 | echo "${ECHO_T}$enable_static" >&6 | 
|  | 8850 |  | 
|  | 8851 | # The else clause should only fire when bootstrapping the | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8852 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
|  | 8853 | # with your package, and you will get complaints that there are | 
|  | 8854 | # no rules to generate ltmain.sh. | 
|  | 8855 | if test -f "$ltmain"; then | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8856 | # See if we are running on zsh, and set the options which allow our commands through | 
|  | 8857 | # without removal of \ escapes. | 
|  | 8858 | if test -n "${ZSH_VERSION+set}" ; then | 
|  | 8859 | setopt NO_GLOB_SUBST | 
|  | 8860 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8861 | # Now quote all the things that may contain metacharacters while being | 
|  | 8862 | # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
|  | 8863 | # variables and quote the copies for generation of the libtool script. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8864 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
|  | 8865 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
|  | 8866 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
|  | 8867 | deplibs_check_method reload_flag reload_cmds need_locks \ | 
|  | 8868 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
|  | 8869 | lt_cv_sys_global_symbol_to_c_name_address \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8870 | sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8871 | old_postinstall_cmds old_postuninstall_cmds \ | 
|  | 8872 | compiler \ | 
|  | 8873 | CC \ | 
|  | 8874 | LD \ | 
|  | 8875 | lt_prog_compiler_wl \ | 
|  | 8876 | lt_prog_compiler_pic \ | 
|  | 8877 | lt_prog_compiler_static \ | 
|  | 8878 | lt_prog_compiler_no_builtin_flag \ | 
|  | 8879 | export_dynamic_flag_spec \ | 
|  | 8880 | thread_safe_flag_spec \ | 
|  | 8881 | whole_archive_flag_spec \ | 
|  | 8882 | enable_shared_with_static_runtimes \ | 
|  | 8883 | old_archive_cmds \ | 
|  | 8884 | old_archive_from_new_cmds \ | 
|  | 8885 | predep_objects \ | 
|  | 8886 | postdep_objects \ | 
|  | 8887 | predeps \ | 
|  | 8888 | postdeps \ | 
|  | 8889 | compiler_lib_search_path \ | 
|  | 8890 | archive_cmds \ | 
|  | 8891 | archive_expsym_cmds \ | 
|  | 8892 | postinstall_cmds \ | 
|  | 8893 | postuninstall_cmds \ | 
|  | 8894 | old_archive_from_expsyms_cmds \ | 
|  | 8895 | allow_undefined_flag \ | 
|  | 8896 | no_undefined_flag \ | 
|  | 8897 | export_symbols_cmds \ | 
|  | 8898 | hardcode_libdir_flag_spec \ | 
|  | 8899 | hardcode_libdir_flag_spec_ld \ | 
|  | 8900 | hardcode_libdir_separator \ | 
|  | 8901 | hardcode_automatic \ | 
|  | 8902 | module_cmds \ | 
|  | 8903 | module_expsym_cmds \ | 
|  | 8904 | lt_cv_prog_compiler_c_o \ | 
|  | 8905 | exclude_expsyms \ | 
|  | 8906 | include_expsyms; do | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8907 |  | 
|  | 8908 | case $var in | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8909 | old_archive_cmds | \ | 
|  | 8910 | old_archive_from_new_cmds | \ | 
|  | 8911 | archive_cmds | \ | 
|  | 8912 | archive_expsym_cmds | \ | 
|  | 8913 | module_cmds | \ | 
|  | 8914 | module_expsym_cmds | \ | 
|  | 8915 | old_archive_from_expsyms_cmds | \ | 
|  | 8916 | export_symbols_cmds | \ | 
|  | 8917 | extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8918 | postinstall_cmds | postuninstall_cmds | \ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8919 | old_postinstall_cmds | old_postuninstall_cmds | \ | 
|  | 8920 | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8921 | # Double-quote double-evaled strings. | 
|  | 8922 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
|  | 8923 | ;; | 
|  | 8924 | *) | 
|  | 8925 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
|  | 8926 | ;; | 
|  | 8927 | esac | 
|  | 8928 | done | 
|  | 8929 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8930 | case $lt_echo in | 
|  | 8931 | *'\$0 --fallback-echo"') | 
|  | 8932 | lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
|  | 8933 | ;; | 
|  | 8934 | esac | 
|  | 8935 |  | 
|  | 8936 | cfgfile="${ofile}T" | 
|  | 8937 | trap "$rm \"$cfgfile\"; exit 1" 1 2 15 | 
|  | 8938 | $rm -f "$cfgfile" | 
|  | 8939 | { echo "$as_me:$LINENO: creating $ofile" >&5 | 
|  | 8940 | echo "$as_me: creating $ofile" >&6;} | 
|  | 8941 |  | 
|  | 8942 | cat <<__EOF__ >> "$cfgfile" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8943 | #! $SHELL | 
|  | 8944 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8945 | # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8946 | # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) | 
|  | 8947 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 
|  | 8948 | # | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8949 | # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001 | 
|  | 8950 | # Free Software Foundation, Inc. | 
|  | 8951 | # | 
|  | 8952 | # This file is part of GNU Libtool: | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8953 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 
|  | 8954 | # | 
|  | 8955 | # This program is free software; you can redistribute it and/or modify | 
|  | 8956 | # it under the terms of the GNU General Public License as published by | 
|  | 8957 | # the Free Software Foundation; either version 2 of the License, or | 
|  | 8958 | # (at your option) any later version. | 
|  | 8959 | # | 
|  | 8960 | # This program is distributed in the hope that it will be useful, but | 
|  | 8961 | # WITHOUT ANY WARRANTY; without even the implied warranty of | 
|  | 8962 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
|  | 8963 | # General Public License for more details. | 
|  | 8964 | # | 
|  | 8965 | # You should have received a copy of the GNU General Public License | 
|  | 8966 | # along with this program; if not, write to the Free Software | 
|  | 8967 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
|  | 8968 | # | 
|  | 8969 | # As a special exception to the GNU General Public License, if you | 
|  | 8970 | # distribute this file as part of a program that contains a | 
|  | 8971 | # configuration script generated by Autoconf, you may include it under | 
|  | 8972 | # the same distribution terms that you use for the rest of that program. | 
|  | 8973 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8974 | # A sed program that does not truncate output. | 
|  | 8975 | SED=$lt_SED | 
|  | 8976 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8977 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8978 | Xsed="$SED -e s/^X//" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8979 |  | 
|  | 8980 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
|  | 8981 | # if CDPATH is set. | 
|  | 8982 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
|  | 8983 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 8984 | # The names of the tagged configurations supported by this script. | 
|  | 8985 | available_tags= | 
|  | 8986 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 8987 | # ### BEGIN LIBTOOL CONFIG | 
|  | 8988 |  | 
|  | 8989 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
|  | 8990 |  | 
|  | 8991 | # Shell to use when invoking shell scripts. | 
|  | 8992 | SHELL=$lt_SHELL | 
|  | 8993 |  | 
|  | 8994 | # Whether or not to build shared libraries. | 
|  | 8995 | build_libtool_libs=$enable_shared | 
|  | 8996 |  | 
|  | 8997 | # Whether or not to build static libraries. | 
|  | 8998 | build_old_libs=$enable_static | 
|  | 8999 |  | 
|  | 9000 | # Whether or not to add -lc for building shared libraries. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9001 | build_libtool_need_lc=$archive_cmds_need_lc | 
|  | 9002 |  | 
|  | 9003 | # Whether or not to disallow shared libs when runtime libs are static | 
|  | 9004 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9005 |  | 
|  | 9006 | # Whether or not to optimize for fast installation. | 
|  | 9007 | fast_install=$enable_fast_install | 
|  | 9008 |  | 
|  | 9009 | # The host system. | 
|  | 9010 | host_alias=$host_alias | 
|  | 9011 | host=$host | 
|  | 9012 |  | 
|  | 9013 | # An echo program that does not interpret backslashes. | 
|  | 9014 | echo=$lt_echo | 
|  | 9015 |  | 
|  | 9016 | # The archiver. | 
|  | 9017 | AR=$lt_AR | 
|  | 9018 | AR_FLAGS=$lt_AR_FLAGS | 
|  | 9019 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9020 | # A C compiler. | 
|  | 9021 | LTCC=$lt_LTCC | 
|  | 9022 |  | 
|  | 9023 | # A language-specific compiler. | 
|  | 9024 | CC=$lt_compiler | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9025 |  | 
|  | 9026 | # Is the compiler the GNU C compiler? | 
|  | 9027 | with_gcc=$GCC | 
|  | 9028 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9029 | # An ERE matcher. | 
|  | 9030 | EGREP=$lt_EGREP | 
|  | 9031 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9032 | # The linker used to build libraries. | 
|  | 9033 | LD=$lt_LD | 
|  | 9034 |  | 
|  | 9035 | # Whether we need hard or soft links. | 
|  | 9036 | LN_S=$lt_LN_S | 
|  | 9037 |  | 
|  | 9038 | # A BSD-compatible nm program. | 
|  | 9039 | NM=$lt_NM | 
|  | 9040 |  | 
|  | 9041 | # A symbol stripping program | 
|  | 9042 | STRIP=$STRIP | 
|  | 9043 |  | 
|  | 9044 | # Used to examine libraries when file_magic_cmd begins "file" | 
|  | 9045 | MAGIC_CMD=$MAGIC_CMD | 
|  | 9046 |  | 
|  | 9047 | # Used on cygwin: DLL creation program. | 
|  | 9048 | DLLTOOL="$DLLTOOL" | 
|  | 9049 |  | 
|  | 9050 | # Used on cygwin: object dumper. | 
|  | 9051 | OBJDUMP="$OBJDUMP" | 
|  | 9052 |  | 
|  | 9053 | # Used on cygwin: assembler. | 
|  | 9054 | AS="$AS" | 
|  | 9055 |  | 
|  | 9056 | # The name of the directory that contains temporary libtool files. | 
|  | 9057 | objdir=$objdir | 
|  | 9058 |  | 
|  | 9059 | # How to create reloadable object files. | 
|  | 9060 | reload_flag=$lt_reload_flag | 
|  | 9061 | reload_cmds=$lt_reload_cmds | 
|  | 9062 |  | 
|  | 9063 | # How to pass a linker flag through the compiler. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9064 | wl=$lt_lt_prog_compiler_wl | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9065 |  | 
|  | 9066 | # Object file suffix (normally "o"). | 
|  | 9067 | objext="$ac_objext" | 
|  | 9068 |  | 
|  | 9069 | # Old archive suffix (normally "a"). | 
|  | 9070 | libext="$libext" | 
|  | 9071 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9072 | # Shared library suffix (normally ".so"). | 
|  | 9073 | shrext='$shrext' | 
|  | 9074 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9075 | # Executable file suffix (normally ""). | 
|  | 9076 | exeext="$exeext" | 
|  | 9077 |  | 
|  | 9078 | # Additional compiler flags for building library objects. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9079 | pic_flag=$lt_lt_prog_compiler_pic | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9080 | pic_mode=$pic_mode | 
|  | 9081 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9082 | # What is the maximum length of a command? | 
|  | 9083 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9084 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9085 | # Does compiler simultaneously support -c and -o options? | 
|  | 9086 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9087 |  | 
|  | 9088 | # Must we lock files when doing compilation ? | 
|  | 9089 | need_locks=$lt_need_locks | 
|  | 9090 |  | 
|  | 9091 | # Do we need the lib prefix for modules? | 
|  | 9092 | need_lib_prefix=$need_lib_prefix | 
|  | 9093 |  | 
|  | 9094 | # Do we need a version for libraries? | 
|  | 9095 | need_version=$need_version | 
|  | 9096 |  | 
|  | 9097 | # Whether dlopen is supported. | 
|  | 9098 | dlopen_support=$enable_dlopen | 
|  | 9099 |  | 
|  | 9100 | # Whether dlopen of programs is supported. | 
|  | 9101 | dlopen_self=$enable_dlopen_self | 
|  | 9102 |  | 
|  | 9103 | # Whether dlopen of statically linked programs is supported. | 
|  | 9104 | dlopen_self_static=$enable_dlopen_self_static | 
|  | 9105 |  | 
|  | 9106 | # Compiler flag to prevent dynamic linking. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9107 | link_static_flag=$lt_lt_prog_compiler_static | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9108 |  | 
|  | 9109 | # Compiler flag to turn off builtin functions. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9110 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9111 |  | 
|  | 9112 | # Compiler flag to allow reflexive dlopens. | 
|  | 9113 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 
|  | 9114 |  | 
|  | 9115 | # Compiler flag to generate shared objects directly from archives. | 
|  | 9116 | whole_archive_flag_spec=$lt_whole_archive_flag_spec | 
|  | 9117 |  | 
|  | 9118 | # Compiler flag to generate thread-safe objects. | 
|  | 9119 | thread_safe_flag_spec=$lt_thread_safe_flag_spec | 
|  | 9120 |  | 
|  | 9121 | # Library versioning type. | 
|  | 9122 | version_type=$version_type | 
|  | 9123 |  | 
|  | 9124 | # Format of library name prefix. | 
|  | 9125 | libname_spec=$lt_libname_spec | 
|  | 9126 |  | 
|  | 9127 | # List of archive names.  First name is the real one, the rest are links. | 
|  | 9128 | # The last name is the one that the linker finds with -lNAME. | 
|  | 9129 | library_names_spec=$lt_library_names_spec | 
|  | 9130 |  | 
|  | 9131 | # The coded name of the library, if different from the real name. | 
|  | 9132 | soname_spec=$lt_soname_spec | 
|  | 9133 |  | 
|  | 9134 | # Commands used to build and install an old-style archive. | 
|  | 9135 | RANLIB=$lt_RANLIB | 
|  | 9136 | old_archive_cmds=$lt_old_archive_cmds | 
|  | 9137 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
|  | 9138 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
|  | 9139 |  | 
|  | 9140 | # Create an old-style archive from a shared archive. | 
|  | 9141 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 
|  | 9142 |  | 
|  | 9143 | # Create a temporary old-style archive to link instead of a shared archive. | 
|  | 9144 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 
|  | 9145 |  | 
|  | 9146 | # Commands used to build and install a shared archive. | 
|  | 9147 | archive_cmds=$lt_archive_cmds | 
|  | 9148 | archive_expsym_cmds=$lt_archive_expsym_cmds | 
|  | 9149 | postinstall_cmds=$lt_postinstall_cmds | 
|  | 9150 | postuninstall_cmds=$lt_postuninstall_cmds | 
|  | 9151 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9152 | # Commands used to build a loadable module (assumed same as above if empty) | 
|  | 9153 | module_cmds=$lt_module_cmds | 
|  | 9154 | module_expsym_cmds=$lt_module_expsym_cmds | 
|  | 9155 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9156 | # Commands to strip libraries. | 
|  | 9157 | old_striplib=$lt_old_striplib | 
|  | 9158 | striplib=$lt_striplib | 
|  | 9159 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9160 | # Dependencies to place before the objects being linked to create a | 
|  | 9161 | # shared library. | 
|  | 9162 | predep_objects=$lt_predep_objects | 
|  | 9163 |  | 
|  | 9164 | # Dependencies to place after the objects being linked to create a | 
|  | 9165 | # shared library. | 
|  | 9166 | postdep_objects=$lt_postdep_objects | 
|  | 9167 |  | 
|  | 9168 | # Dependencies to place before the objects being linked to create a | 
|  | 9169 | # shared library. | 
|  | 9170 | predeps=$lt_predeps | 
|  | 9171 |  | 
|  | 9172 | # Dependencies to place after the objects being linked to create a | 
|  | 9173 | # shared library. | 
|  | 9174 | postdeps=$lt_postdeps | 
|  | 9175 |  | 
|  | 9176 | # The library search path used internally by the compiler when linking | 
|  | 9177 | # a shared library. | 
|  | 9178 | compiler_lib_search_path=$lt_compiler_lib_search_path | 
|  | 9179 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9180 | # Method to check whether dependent libraries are shared objects. | 
|  | 9181 | deplibs_check_method=$lt_deplibs_check_method | 
|  | 9182 |  | 
|  | 9183 | # Command to use when deplibs_check_method == file_magic. | 
|  | 9184 | file_magic_cmd=$lt_file_magic_cmd | 
|  | 9185 |  | 
|  | 9186 | # Flag that allows shared libraries with undefined symbols to be built. | 
|  | 9187 | allow_undefined_flag=$lt_allow_undefined_flag | 
|  | 9188 |  | 
|  | 9189 | # Flag that forces no undefined symbols. | 
|  | 9190 | no_undefined_flag=$lt_no_undefined_flag | 
|  | 9191 |  | 
|  | 9192 | # Commands used to finish a libtool library installation in a directory. | 
|  | 9193 | finish_cmds=$lt_finish_cmds | 
|  | 9194 |  | 
|  | 9195 | # Same as above, but a single script fragment to be evaled but not shown. | 
|  | 9196 | finish_eval=$lt_finish_eval | 
|  | 9197 |  | 
|  | 9198 | # Take the output of nm and produce a listing of raw symbols and C names. | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9199 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9200 |  | 
|  | 9201 | # Transform the output of nm in a proper C declaration | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9202 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9203 |  | 
|  | 9204 | # Transform the output of nm in a C name address pair | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9205 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9206 |  | 
|  | 9207 | # This is the shared library runtime path variable. | 
|  | 9208 | runpath_var=$runpath_var | 
|  | 9209 |  | 
|  | 9210 | # This is the shared library path variable. | 
|  | 9211 | shlibpath_var=$shlibpath_var | 
|  | 9212 |  | 
|  | 9213 | # Is shlibpath searched before the hard-coded library search path? | 
|  | 9214 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
|  | 9215 |  | 
|  | 9216 | # How to hardcode a shared library path into an executable. | 
|  | 9217 | hardcode_action=$hardcode_action | 
|  | 9218 |  | 
|  | 9219 | # Whether we should hardcode library paths into libraries. | 
|  | 9220 | hardcode_into_libs=$hardcode_into_libs | 
|  | 9221 |  | 
|  | 9222 | # Flag to hardcode \$libdir into a binary during linking. | 
|  | 9223 | # This must work even if \$libdir does not exist. | 
|  | 9224 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 
|  | 9225 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9226 | # If ld is used when linking, flag to hardcode \$libdir into | 
|  | 9227 | # a binary during linking. This must work even if \$libdir does | 
|  | 9228 | # not exist. | 
|  | 9229 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld | 
|  | 9230 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9231 | # Whether we need a single -rpath flag with a separated argument. | 
|  | 9232 | hardcode_libdir_separator=$lt_hardcode_libdir_separator | 
|  | 9233 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9234 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9235 | # resulting binary. | 
|  | 9236 | hardcode_direct=$hardcode_direct | 
|  | 9237 |  | 
|  | 9238 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
|  | 9239 | # resulting binary. | 
|  | 9240 | hardcode_minus_L=$hardcode_minus_L | 
|  | 9241 |  | 
|  | 9242 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
|  | 9243 | # the resulting binary. | 
|  | 9244 | hardcode_shlibpath_var=$hardcode_shlibpath_var | 
|  | 9245 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9246 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
|  | 9247 | # and all subsequent libraries and executables linked against it. | 
|  | 9248 | hardcode_automatic=$hardcode_automatic | 
|  | 9249 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9250 | # Variables whose values should be saved in libtool wrapper scripts and | 
|  | 9251 | # restored at relink time. | 
|  | 9252 | variables_saved_for_relink="$variables_saved_for_relink" | 
|  | 9253 |  | 
|  | 9254 | # Whether libtool must link a program against all its dependency libraries. | 
|  | 9255 | link_all_deplibs=$link_all_deplibs | 
|  | 9256 |  | 
|  | 9257 | # Compile-time system search path for libraries | 
|  | 9258 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
|  | 9259 |  | 
|  | 9260 | # Run-time system search path for libraries | 
|  | 9261 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
|  | 9262 |  | 
|  | 9263 | # Fix the shell variable \$srcfile for the compiler. | 
|  | 9264 | fix_srcfile_path="$fix_srcfile_path" | 
|  | 9265 |  | 
|  | 9266 | # Set to yes if exported symbols are required. | 
|  | 9267 | always_export_symbols=$always_export_symbols | 
|  | 9268 |  | 
|  | 9269 | # The commands to list exported symbols. | 
|  | 9270 | export_symbols_cmds=$lt_export_symbols_cmds | 
|  | 9271 |  | 
|  | 9272 | # The commands to extract the exported symbol list from a shared archive. | 
|  | 9273 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
|  | 9274 |  | 
|  | 9275 | # Symbols that should not be listed in the preloaded symbols. | 
|  | 9276 | exclude_expsyms=$lt_exclude_expsyms | 
|  | 9277 |  | 
|  | 9278 | # Symbols that must always be exported. | 
|  | 9279 | include_expsyms=$lt_include_expsyms | 
|  | 9280 |  | 
|  | 9281 | # ### END LIBTOOL CONFIG | 
|  | 9282 |  | 
|  | 9283 | __EOF__ | 
|  | 9284 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9285 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9286 | case $host_os in | 
|  | 9287 | aix3*) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9288 | cat <<\EOF >> "$cfgfile" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9289 |  | 
|  | 9290 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
|  | 9291 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
|  | 9292 | # vanish in a puff of smoke. | 
|  | 9293 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
|  | 9294 | COLLECT_NAMES= | 
|  | 9295 | export COLLECT_NAMES | 
|  | 9296 | fi | 
|  | 9297 | EOF | 
|  | 9298 | ;; | 
|  | 9299 | esac | 
|  | 9300 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9301 | # We use sed instead of cat because bash on DJGPP gets confused if | 
|  | 9302 | # if finds mixed CR/LF and LF-only lines.  Since sed operates in | 
|  | 9303 | # text mode, it properly converts lines to CR/LF.  This bash problem | 
|  | 9304 | # is reportedly fixed, but why not run on old versions too? | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9305 | sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9306 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9307 | mv -f "$cfgfile" "$ofile" || \ | 
|  | 9308 | (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9309 | chmod +x "$ofile" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9310 |  | 
|  | 9311 | else | 
|  | 9312 | # If there is no Makefile yet, we rely on a make rule to execute | 
|  | 9313 | # `config.status --recheck' to rerun these tests and create the | 
|  | 9314 | # libtool script then. | 
|  | 9315 | test -f Makefile && make "$ltmain" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9316 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 9317 |  | 
|  | 9318 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9319 | ac_ext=c | 
|  | 9320 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 9321 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 9322 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 9323 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 9324 |  | 
|  | 9325 | CC="$lt_save_CC" | 
|  | 9326 |  | 
|  | 9327 |  | 
|  | 9328 | # Check whether --with-tags or --without-tags was given. | 
|  | 9329 | if test "${with_tags+set}" = set; then | 
|  | 9330 | withval="$with_tags" | 
|  | 9331 | tagnames="$withval" | 
|  | 9332 | fi; | 
|  | 9333 |  | 
|  | 9334 | if test -f "$ltmain" && test -n "$tagnames"; then | 
|  | 9335 | if test ! -f "${ofile}"; then | 
|  | 9336 | { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5 | 
|  | 9337 | echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;} | 
|  | 9338 | fi | 
|  | 9339 |  | 
|  | 9340 | if test -z "$LTCC"; then | 
|  | 9341 | eval "`$SHELL ${ofile} --config | grep '^LTCC='`" | 
|  | 9342 | if test -z "$LTCC"; then | 
|  | 9343 | { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5 | 
|  | 9344 | echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;} | 
|  | 9345 | else | 
|  | 9346 | { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5 | 
|  | 9347 | echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;} | 
|  | 9348 | fi | 
|  | 9349 | fi | 
|  | 9350 |  | 
|  | 9351 | # Extract list of available tagged configurations in $ofile. | 
|  | 9352 | # Note that this assumes the entire list is on one line. | 
|  | 9353 | available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'` | 
|  | 9354 |  | 
|  | 9355 | lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
|  | 9356 | for tagname in $tagnames; do | 
|  | 9357 | IFS="$lt_save_ifs" | 
|  | 9358 | # Check whether tagname contains only valid characters | 
|  | 9359 | case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in | 
|  | 9360 | "") ;; | 
|  | 9361 | *)  { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5 | 
|  | 9362 | echo "$as_me: error: invalid tag name: $tagname" >&2;} | 
|  | 9363 | { (exit 1); exit 1; }; } | 
|  | 9364 | ;; | 
|  | 9365 | esac | 
|  | 9366 |  | 
|  | 9367 | if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null | 
|  | 9368 | then | 
|  | 9369 | { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5 | 
|  | 9370 | echo "$as_me: error: tag name \"$tagname\" already exists" >&2;} | 
|  | 9371 | { (exit 1); exit 1; }; } | 
|  | 9372 | fi | 
|  | 9373 |  | 
|  | 9374 | # Update the list of available tags. | 
|  | 9375 | if test -n "$tagname"; then | 
|  | 9376 | echo appending configuration tag \"$tagname\" to $ofile | 
|  | 9377 |  | 
|  | 9378 | case $tagname in | 
|  | 9379 | CXX) | 
|  | 9380 | if test -n "$CXX" && test "X$CXX" != "Xno"; then | 
|  | 9381 | ac_ext=cc | 
|  | 9382 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 9383 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 9384 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 9385 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 9386 |  | 
|  | 9387 |  | 
|  | 9388 |  | 
|  | 9389 |  | 
|  | 9390 | archive_cmds_need_lc_CXX=no | 
|  | 9391 | allow_undefined_flag_CXX= | 
|  | 9392 | always_export_symbols_CXX=no | 
|  | 9393 | archive_expsym_cmds_CXX= | 
|  | 9394 | export_dynamic_flag_spec_CXX= | 
|  | 9395 | hardcode_direct_CXX=no | 
|  | 9396 | hardcode_libdir_flag_spec_CXX= | 
|  | 9397 | hardcode_libdir_flag_spec_ld_CXX= | 
|  | 9398 | hardcode_libdir_separator_CXX= | 
|  | 9399 | hardcode_minus_L_CXX=no | 
|  | 9400 | hardcode_automatic_CXX=no | 
|  | 9401 | module_cmds_CXX= | 
|  | 9402 | module_expsym_cmds_CXX= | 
|  | 9403 | link_all_deplibs_CXX=unknown | 
|  | 9404 | old_archive_cmds_CXX=$old_archive_cmds | 
|  | 9405 | no_undefined_flag_CXX= | 
|  | 9406 | whole_archive_flag_spec_CXX= | 
|  | 9407 | enable_shared_with_static_runtimes_CXX=no | 
|  | 9408 |  | 
|  | 9409 | # Dependencies to place before and after the object being linked: | 
|  | 9410 | predep_objects_CXX= | 
|  | 9411 | postdep_objects_CXX= | 
|  | 9412 | predeps_CXX= | 
|  | 9413 | postdeps_CXX= | 
|  | 9414 | compiler_lib_search_path_CXX= | 
|  | 9415 |  | 
|  | 9416 | # Source file extension for C++ test sources. | 
|  | 9417 | ac_ext=cc | 
|  | 9418 |  | 
|  | 9419 | # Object file extension for compiled C++ test sources. | 
|  | 9420 | objext=o | 
|  | 9421 | objext_CXX=$objext | 
|  | 9422 |  | 
|  | 9423 | # Code to be used in simple compile tests | 
|  | 9424 | lt_simple_compile_test_code="int some_variable = 0;\n" | 
|  | 9425 |  | 
|  | 9426 | # Code to be used in simple link tests | 
|  | 9427 | lt_simple_link_test_code='int main(int, char *) { return(0); }\n' | 
|  | 9428 |  | 
|  | 9429 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
|  | 9430 |  | 
|  | 9431 | # If no C compiler was specified, use CC. | 
|  | 9432 | LTCC=${LTCC-"$CC"} | 
|  | 9433 |  | 
|  | 9434 | # Allow CC to be a program name with arguments. | 
|  | 9435 | compiler=$CC | 
|  | 9436 |  | 
|  | 9437 |  | 
|  | 9438 | # Allow CC to be a program name with arguments. | 
|  | 9439 | lt_save_CC=$CC | 
|  | 9440 | lt_save_LD=$LD | 
|  | 9441 | lt_save_GCC=$GCC | 
|  | 9442 | GCC=$GXX | 
|  | 9443 | lt_save_with_gnu_ld=$with_gnu_ld | 
|  | 9444 | lt_save_path_LD=$lt_cv_path_LD | 
|  | 9445 | if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then | 
|  | 9446 | lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx | 
|  | 9447 | else | 
|  | 9448 | unset lt_cv_prog_gnu_ld | 
|  | 9449 | fi | 
|  | 9450 | if test -n "${lt_cv_path_LDCXX+set}"; then | 
|  | 9451 | lt_cv_path_LD=$lt_cv_path_LDCXX | 
|  | 9452 | else | 
|  | 9453 | unset lt_cv_path_LD | 
|  | 9454 | fi | 
|  | 9455 | test -z "${LDCXX+set}" || LD=$LDCXX | 
|  | 9456 | CC=${CXX-"c++"} | 
|  | 9457 | compiler=$CC | 
|  | 9458 | compiler_CXX=$CC | 
|  | 9459 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 
|  | 9460 |  | 
|  | 9461 | # We don't want -fno-exception wen compiling C++ code, so set the | 
|  | 9462 | # no_builtin_flag separately | 
|  | 9463 | if test "$GXX" = yes; then | 
|  | 9464 | lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' | 
|  | 9465 | else | 
|  | 9466 | lt_prog_compiler_no_builtin_flag_CXX= | 
|  | 9467 | fi | 
|  | 9468 |  | 
|  | 9469 | if test "$GXX" = yes; then | 
|  | 9470 | # Set up default GNU C++ configuration | 
|  | 9471 |  | 
|  | 9472 |  | 
|  | 9473 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
|  | 9474 | if test "${with_gnu_ld+set}" = set; then | 
|  | 9475 | withval="$with_gnu_ld" | 
|  | 9476 | test "$withval" = no || with_gnu_ld=yes | 
|  | 9477 | else | 
|  | 9478 | with_gnu_ld=no | 
|  | 9479 | fi; | 
|  | 9480 | ac_prog=ld | 
|  | 9481 | if test "$GCC" = yes; then | 
|  | 9482 | # Check if gcc -print-prog-name=ld gives a path. | 
|  | 9483 | echo "$as_me:$LINENO: checking for ld used by $CC" >&5 | 
|  | 9484 | echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6 | 
|  | 9485 | case $host in | 
|  | 9486 | *-*-mingw*) | 
|  | 9487 | # gcc leaves a trailing carriage return which upsets mingw | 
|  | 9488 | ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
|  | 9489 | *) | 
|  | 9490 | ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
|  | 9491 | esac | 
|  | 9492 | case $ac_prog in | 
|  | 9493 | # Accept absolute paths. | 
|  | 9494 | [\\/]* | ?:[\\/]*) | 
|  | 9495 | re_direlt='/[^/][^/]*/\.\./' | 
|  | 9496 | # Canonicalize the path of ld | 
|  | 9497 | ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` | 
|  | 9498 | while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
|  | 9499 | ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"` | 
|  | 9500 | done | 
|  | 9501 | test -z "$LD" && LD="$ac_prog" | 
|  | 9502 | ;; | 
|  | 9503 | "") | 
|  | 9504 | # If it fails, then pretend we aren't using GCC. | 
|  | 9505 | ac_prog=ld | 
|  | 9506 | ;; | 
|  | 9507 | *) | 
|  | 9508 | # If it is relative, then search for the first ld in PATH. | 
|  | 9509 | with_gnu_ld=unknown | 
|  | 9510 | ;; | 
|  | 9511 | esac | 
|  | 9512 | elif test "$with_gnu_ld" = yes; then | 
|  | 9513 | echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
|  | 9514 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
|  | 9515 | else | 
|  | 9516 | echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
|  | 9517 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
|  | 9518 | fi | 
|  | 9519 | if test "${lt_cv_path_LD+set}" = set; then | 
|  | 9520 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 9521 | else | 
|  | 9522 | if test -z "$LD"; then | 
|  | 9523 | lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
|  | 9524 | for ac_dir in $PATH; do | 
|  | 9525 | IFS="$lt_save_ifs" | 
|  | 9526 | test -z "$ac_dir" && ac_dir=. | 
|  | 9527 | if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
|  | 9528 | lt_cv_path_LD="$ac_dir/$ac_prog" | 
|  | 9529 | # Check to see if the program is GNU ld.  I'd rather use --version, | 
|  | 9530 | # but apparently some GNU ld's only accept -v. | 
|  | 9531 | # Break only if it was the GNU/non-GNU ld that we prefer. | 
|  | 9532 | case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
|  | 9533 | *GNU* | *'with BFD'*) | 
|  | 9534 | test "$with_gnu_ld" != no && break | 
|  | 9535 | ;; | 
|  | 9536 | *) | 
|  | 9537 | test "$with_gnu_ld" != yes && break | 
|  | 9538 | ;; | 
|  | 9539 | esac | 
|  | 9540 | fi | 
|  | 9541 | done | 
|  | 9542 | IFS="$lt_save_ifs" | 
|  | 9543 | else | 
|  | 9544 | lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
|  | 9545 | fi | 
|  | 9546 | fi | 
|  | 9547 |  | 
|  | 9548 | LD="$lt_cv_path_LD" | 
|  | 9549 | if test -n "$LD"; then | 
|  | 9550 | echo "$as_me:$LINENO: result: $LD" >&5 | 
|  | 9551 | echo "${ECHO_T}$LD" >&6 | 
|  | 9552 | else | 
|  | 9553 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 9554 | echo "${ECHO_T}no" >&6 | 
|  | 9555 | fi | 
|  | 9556 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
|  | 9557 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
|  | 9558 | { (exit 1); exit 1; }; } | 
|  | 9559 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
|  | 9560 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
|  | 9561 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
|  | 9562 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 9563 | else | 
|  | 9564 | # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
|  | 9565 | case `"$LD" -v 2>&1 </dev/null` in | 
|  | 9566 | *GNU* | *'with BFD'*) | 
|  | 9567 | lt_cv_prog_gnu_ld=yes | 
|  | 9568 | ;; | 
|  | 9569 | *) | 
|  | 9570 | lt_cv_prog_gnu_ld=no | 
|  | 9571 | ;; | 
|  | 9572 | esac | 
|  | 9573 | fi | 
|  | 9574 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
|  | 9575 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
|  | 9576 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
|  | 9577 |  | 
|  | 9578 |  | 
|  | 9579 |  | 
|  | 9580 | # Check if GNU C++ uses GNU ld as the underlying linker, since the | 
|  | 9581 | # archiving commands below assume that GNU ld is being used. | 
|  | 9582 | if test "$with_gnu_ld" = yes; then | 
|  | 9583 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 9584 | archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 9585 |  | 
|  | 9586 | hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' | 
|  | 9587 | export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
|  | 9588 |  | 
|  | 9589 | # If archive_cmds runs LD, not CC, wlarc should be empty | 
|  | 9590 | # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to | 
|  | 9591 | #     investigate it a little bit more. (MM) | 
|  | 9592 | wlarc='${wl}' | 
|  | 9593 |  | 
|  | 9594 | # ancient GNU ld didn't support --whole-archive et. al. | 
|  | 9595 | if eval "`$CC -print-prog-name=ld` --help 2>&1" | \ | 
|  | 9596 | grep 'no-whole-archive' > /dev/null; then | 
|  | 9597 | whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
|  | 9598 | else | 
|  | 9599 | whole_archive_flag_spec_CXX= | 
|  | 9600 | fi | 
|  | 9601 | else | 
|  | 9602 | with_gnu_ld=no | 
|  | 9603 | wlarc= | 
|  | 9604 |  | 
|  | 9605 | # A generic and very simple default shared library creation | 
|  | 9606 | # command for GNU C++ for the case where it uses the native | 
|  | 9607 | # linker, instead of GNU ld.  If possible, this setting should | 
|  | 9608 | # overridden to take advantage of the native linker features on | 
|  | 9609 | # the platform it is being used on. | 
|  | 9610 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | 
|  | 9611 | fi | 
|  | 9612 |  | 
|  | 9613 | # Commands to make compiler produce verbose output that lists | 
|  | 9614 | # what "hidden" libraries, object files and flags are used when | 
|  | 9615 | # linking a shared library. | 
|  | 9616 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
|  | 9617 |  | 
|  | 9618 | else | 
|  | 9619 | GXX=no | 
|  | 9620 | with_gnu_ld=no | 
|  | 9621 | wlarc= | 
|  | 9622 | fi | 
|  | 9623 |  | 
|  | 9624 | # PORTME: fill in a description of your system's C++ link characteristics | 
|  | 9625 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
|  | 9626 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
|  | 9627 | ld_shlibs_CXX=yes | 
|  | 9628 | case $host_os in | 
|  | 9629 | aix3*) | 
|  | 9630 | # FIXME: insert proper C++ library support | 
|  | 9631 | ld_shlibs_CXX=no | 
|  | 9632 | ;; | 
|  | 9633 | aix4* | aix5*) | 
|  | 9634 | if test "$host_cpu" = ia64; then | 
|  | 9635 | # On IA64, the linker does run time linking by default, so we don't | 
|  | 9636 | # have to do anything special. | 
|  | 9637 | aix_use_runtimelinking=no | 
|  | 9638 | exp_sym_flag='-Bexport' | 
|  | 9639 | no_entry_flag="" | 
|  | 9640 | else | 
|  | 9641 | aix_use_runtimelinking=no | 
|  | 9642 |  | 
|  | 9643 | # Test if we are trying to use run time linking or normal | 
|  | 9644 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
|  | 9645 | # need to do runtime linking. | 
|  | 9646 | case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
|  | 9647 | for ld_flag in $LDFLAGS; do | 
|  | 9648 | case $ld_flag in | 
|  | 9649 | *-brtl*) | 
|  | 9650 | aix_use_runtimelinking=yes | 
|  | 9651 | break | 
|  | 9652 | ;; | 
|  | 9653 | esac | 
|  | 9654 | done | 
|  | 9655 | esac | 
|  | 9656 |  | 
|  | 9657 | exp_sym_flag='-bexport' | 
|  | 9658 | no_entry_flag='-bnoentry' | 
|  | 9659 | fi | 
|  | 9660 |  | 
|  | 9661 | # When large executables or shared objects are built, AIX ld can | 
|  | 9662 | # have problems creating the table of contents.  If linking a library | 
|  | 9663 | # or program results in "error TOC overflow" add -mminimal-toc to | 
|  | 9664 | # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
|  | 9665 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
|  | 9666 |  | 
|  | 9667 | archive_cmds_CXX='' | 
|  | 9668 | hardcode_direct_CXX=yes | 
|  | 9669 | hardcode_libdir_separator_CXX=':' | 
|  | 9670 | link_all_deplibs_CXX=yes | 
|  | 9671 |  | 
|  | 9672 | if test "$GXX" = yes; then | 
|  | 9673 | case $host_os in aix4.012|aix4.012.*) | 
|  | 9674 | # We only want to do this on AIX 4.2 and lower, the check | 
|  | 9675 | # below for broken collect2 doesn't work under 4.3+ | 
|  | 9676 | collect2name=`${CC} -print-prog-name=collect2` | 
|  | 9677 | if test -f "$collect2name" && \ | 
|  | 9678 | strings "$collect2name" | grep resolve_lib_name >/dev/null | 
|  | 9679 | then | 
|  | 9680 | # We have reworked collect2 | 
|  | 9681 | hardcode_direct_CXX=yes | 
|  | 9682 | else | 
|  | 9683 | # We have old collect2 | 
|  | 9684 | hardcode_direct_CXX=unsupported | 
|  | 9685 | # It fails to find uninstalled libraries when the uninstalled | 
|  | 9686 | # path is not listed in the libpath.  Setting hardcode_minus_L | 
|  | 9687 | # to unsupported forces relinking | 
|  | 9688 | hardcode_minus_L_CXX=yes | 
|  | 9689 | hardcode_libdir_flag_spec_CXX='-L$libdir' | 
|  | 9690 | hardcode_libdir_separator_CXX= | 
|  | 9691 | fi | 
|  | 9692 | esac | 
|  | 9693 | shared_flag='-shared' | 
|  | 9694 | else | 
|  | 9695 | # not using gcc | 
|  | 9696 | if test "$host_cpu" = ia64; then | 
|  | 9697 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
|  | 9698 | # chokes on -Wl,-G. The following line is correct: | 
|  | 9699 | shared_flag='-G' | 
|  | 9700 | else | 
|  | 9701 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 9702 | shared_flag='${wl}-G' | 
|  | 9703 | else | 
|  | 9704 | shared_flag='${wl}-bM:SRE' | 
|  | 9705 | fi | 
|  | 9706 | fi | 
|  | 9707 | fi | 
|  | 9708 |  | 
|  | 9709 | # It seems that -bexpall does not export symbols beginning with | 
|  | 9710 | # underscore (_), so it is better to generate a list of symbols to export. | 
|  | 9711 | always_export_symbols_CXX=yes | 
|  | 9712 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 9713 | # Warning - without using the other runtime loading flags (-brtl), | 
|  | 9714 | # -berok will link without error, but may produce a broken library. | 
|  | 9715 | allow_undefined_flag_CXX='-berok' | 
|  | 9716 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 9717 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 9718 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9719 | /* confdefs.h.  */ | 
|  | 9720 | _ACEOF | 
|  | 9721 | cat confdefs.h >>conftest.$ac_ext | 
|  | 9722 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 9723 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9724 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9725 | int | 
|  | 9726 | main () | 
|  | 9727 | { | 
|  | 9728 |  | 
|  | 9729 | ; | 
|  | 9730 | return 0; | 
|  | 9731 | } | 
|  | 9732 | _ACEOF | 
|  | 9733 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 9734 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 9735 | (eval $ac_link) 2>&5 | 
|  | 9736 | ac_status=$? | 
|  | 9737 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 9738 | (exit $ac_status); } && | 
|  | 9739 | { ac_try='test -s conftest$ac_exeext' | 
|  | 9740 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 9741 | (eval $ac_try) 2>&5 | 
|  | 9742 | ac_status=$? | 
|  | 9743 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 9744 | (exit $ac_status); }; }; then | 
|  | 9745 |  | 
|  | 9746 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 9747 | }'` | 
|  | 9748 | # Check for a 64-bit object if we didn't find anything. | 
|  | 9749 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 9750 | }'`; fi | 
|  | 9751 | else | 
|  | 9752 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9753 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 9754 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9755 | fi | 
|  | 9756 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 9757 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
|  | 9758 |  | 
|  | 9759 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 9760 |  | 
|  | 9761 | archive_expsym_cmds_CXX="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
|  | 9762 | else | 
|  | 9763 | if test "$host_cpu" = ia64; then | 
|  | 9764 | hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' | 
|  | 9765 | allow_undefined_flag_CXX="-z nodefs" | 
|  | 9766 | archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
|  | 9767 | else | 
|  | 9768 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 9769 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 9770 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9771 | /* confdefs.h.  */ | 
|  | 9772 | _ACEOF | 
|  | 9773 | cat confdefs.h >>conftest.$ac_ext | 
|  | 9774 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 9775 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9776 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9777 | int | 
|  | 9778 | main () | 
|  | 9779 | { | 
|  | 9780 |  | 
|  | 9781 | ; | 
|  | 9782 | return 0; | 
|  | 9783 | } | 
|  | 9784 | _ACEOF | 
|  | 9785 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 9786 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 9787 | (eval $ac_link) 2>&5 | 
|  | 9788 | ac_status=$? | 
|  | 9789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 9790 | (exit $ac_status); } && | 
|  | 9791 | { ac_try='test -s conftest$ac_exeext' | 
|  | 9792 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 9793 | (eval $ac_try) 2>&5 | 
|  | 9794 | ac_status=$? | 
|  | 9795 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 9796 | (exit $ac_status); }; }; then | 
|  | 9797 |  | 
|  | 9798 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 9799 | }'` | 
|  | 9800 | # Check for a 64-bit object if we didn't find anything. | 
|  | 9801 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 9802 | }'`; fi | 
|  | 9803 | else | 
|  | 9804 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 9805 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 9806 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 9807 | fi | 
|  | 9808 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 9809 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
|  | 9810 |  | 
|  | 9811 | hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 9812 | # Warning - without using the other run time loading flags, | 
|  | 9813 | # -berok will link without error, but may produce a broken library. | 
|  | 9814 | no_undefined_flag_CXX=' ${wl}-bernotok' | 
|  | 9815 | allow_undefined_flag_CXX=' ${wl}-berok' | 
|  | 9816 | # -bexpall does not export symbols beginning with underscore (_) | 
|  | 9817 | always_export_symbols_CXX=yes | 
|  | 9818 | # Exported symbols can be pulled into shared objects from archives | 
|  | 9819 | whole_archive_flag_spec_CXX=' ' | 
|  | 9820 | archive_cmds_need_lc_CXX=yes | 
|  | 9821 | # This is similar to how AIX traditionally builds it's shared libraries. | 
|  | 9822 | archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
|  | 9823 | fi | 
|  | 9824 | fi | 
|  | 9825 | ;; | 
|  | 9826 | chorus*) | 
|  | 9827 | case $cc_basename in | 
|  | 9828 | *) | 
|  | 9829 | # FIXME: insert proper C++ library support | 
|  | 9830 | ld_shlibs_CXX=no | 
|  | 9831 | ;; | 
|  | 9832 | esac | 
|  | 9833 | ;; | 
|  | 9834 |  | 
|  | 9835 | cygwin* | mingw* | pw32*) | 
|  | 9836 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, | 
|  | 9837 | # as there is no search path for DLLs. | 
|  | 9838 | hardcode_libdir_flag_spec_CXX='-L$libdir' | 
|  | 9839 | allow_undefined_flag_CXX=unsupported | 
|  | 9840 | always_export_symbols_CXX=no | 
|  | 9841 | enable_shared_with_static_runtimes_CXX=yes | 
|  | 9842 |  | 
|  | 9843 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
|  | 9844 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
|  | 9845 | # If the export-symbols file already is a .def file (1st line | 
|  | 9846 | # is EXPORTS), use it as is; otherwise, prepend... | 
|  | 9847 | archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
|  | 9848 | cp $export_symbols $output_objdir/$soname.def; | 
|  | 9849 | else | 
|  | 9850 | echo EXPORTS > $output_objdir/$soname.def; | 
|  | 9851 | cat $export_symbols >> $output_objdir/$soname.def; | 
|  | 9852 | fi~ | 
|  | 9853 | $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
|  | 9854 | else | 
|  | 9855 | ld_shlibs_CXX=no | 
|  | 9856 | fi | 
|  | 9857 | ;; | 
|  | 9858 |  | 
|  | 9859 | darwin* | rhapsody*) | 
|  | 9860 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 9861 | archive_cmds_need_lc_CXX=no | 
|  | 9862 | case "$host_os" in | 
|  | 9863 | rhapsody* | darwin1.[012]) | 
|  | 9864 | allow_undefined_flag_CXX='-undefined suppress' | 
|  | 9865 | ;; | 
|  | 9866 | *) # Darwin 1.3 on | 
|  | 9867 | test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress' | 
|  | 9868 | ;; | 
|  | 9869 | esac | 
|  | 9870 | lt_int_apple_cc_single_mod=no | 
|  | 9871 | output_verbose_link_cmd='echo' | 
|  | 9872 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
|  | 9873 | lt_int_apple_cc_single_mod=yes | 
|  | 9874 | fi | 
|  | 9875 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 9876 | archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 9877 | else | 
|  | 9878 | archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 9879 | fi | 
|  | 9880 | module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
|  | 9881 |  | 
|  | 9882 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
|  | 9883 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 9884 | archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 9885 | else | 
|  | 9886 | archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 9887 | fi | 
|  | 9888 | module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 9889 | hardcode_direct_CXX=no | 
|  | 9890 | hardcode_automatic_CXX=yes | 
|  | 9891 | hardcode_shlibpath_var_CXX=unsupported | 
|  | 9892 | whole_archive_flag_spec_CXX='-all_load $convenience' | 
|  | 9893 | link_all_deplibs_CXX=yes | 
|  | 9894 | fi | 
|  | 9895 | ;; | 
|  | 9896 |  | 
|  | 9897 | dgux*) | 
|  | 9898 | case $cc_basename in | 
|  | 9899 | ec++) | 
|  | 9900 | # FIXME: insert proper C++ library support | 
|  | 9901 | ld_shlibs_CXX=no | 
|  | 9902 | ;; | 
|  | 9903 | ghcx) | 
|  | 9904 | # Green Hills C++ Compiler | 
|  | 9905 | # FIXME: insert proper C++ library support | 
|  | 9906 | ld_shlibs_CXX=no | 
|  | 9907 | ;; | 
|  | 9908 | *) | 
|  | 9909 | # FIXME: insert proper C++ library support | 
|  | 9910 | ld_shlibs_CXX=no | 
|  | 9911 | ;; | 
|  | 9912 | esac | 
|  | 9913 | ;; | 
|  | 9914 | freebsd12*) | 
|  | 9915 | # C++ shared libraries reported to be fairly broken before switch to ELF | 
|  | 9916 | ld_shlibs_CXX=no | 
|  | 9917 | ;; | 
|  | 9918 | freebsd-elf*) | 
|  | 9919 | archive_cmds_need_lc_CXX=no | 
|  | 9920 | ;; | 
|  | 9921 | freebsd*) | 
|  | 9922 | # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | 
|  | 9923 | # conventions | 
|  | 9924 | ld_shlibs_CXX=yes | 
|  | 9925 | ;; | 
|  | 9926 | gnu*) | 
|  | 9927 | ;; | 
|  | 9928 | hpux9*) | 
|  | 9929 | hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
|  | 9930 | hardcode_libdir_separator_CXX=: | 
|  | 9931 | export_dynamic_flag_spec_CXX='${wl}-E' | 
|  | 9932 | hardcode_direct_CXX=yes | 
|  | 9933 | hardcode_minus_L_CXX=yes # Not in the search PATH, | 
|  | 9934 | # but as the default | 
|  | 9935 | # location of the library. | 
|  | 9936 |  | 
|  | 9937 | case $cc_basename in | 
|  | 9938 | CC) | 
|  | 9939 | # FIXME: insert proper C++ library support | 
|  | 9940 | ld_shlibs_CXX=no | 
|  | 9941 | ;; | 
|  | 9942 | aCC) | 
|  | 9943 | archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
|  | 9944 | # Commands to make compiler produce verbose output that lists | 
|  | 9945 | # what "hidden" libraries, object files and flags are used when | 
|  | 9946 | # linking a shared library. | 
|  | 9947 | # | 
|  | 9948 | # There doesn't appear to be a way to prevent this compiler from | 
|  | 9949 | # explicitly linking system object files so we need to strip them | 
|  | 9950 | # from the output so that they don't get included in the library | 
|  | 9951 | # dependencies. | 
|  | 9952 | output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | egrep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
|  | 9953 | ;; | 
|  | 9954 | *) | 
|  | 9955 | if test "$GXX" = yes; then | 
|  | 9956 | archive_cmds_CXX='$rm $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
|  | 9957 | else | 
|  | 9958 | # FIXME: insert proper C++ library support | 
|  | 9959 | ld_shlibs_CXX=no | 
|  | 9960 | fi | 
|  | 9961 | ;; | 
|  | 9962 | esac | 
|  | 9963 | ;; | 
|  | 9964 | hpux10*|hpux11*) | 
|  | 9965 | if test $with_gnu_ld = no; then | 
|  | 9966 | case "$host_cpu" in | 
|  | 9967 | hppa*64*) | 
|  | 9968 | hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
|  | 9969 | hardcode_libdir_flag_spec_ld_CXX='+b $libdir' | 
|  | 9970 | hardcode_libdir_separator_CXX=: | 
|  | 9971 | ;; | 
|  | 9972 | ia64*) | 
|  | 9973 | hardcode_libdir_flag_spec_CXX='-L$libdir' | 
|  | 9974 | ;; | 
|  | 9975 | *) | 
|  | 9976 | hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
|  | 9977 | hardcode_libdir_separator_CXX=: | 
|  | 9978 | export_dynamic_flag_spec_CXX='${wl}-E' | 
|  | 9979 | ;; | 
|  | 9980 | esac | 
|  | 9981 | fi | 
|  | 9982 | case "$host_cpu" in | 
|  | 9983 | hppa*64*) | 
|  | 9984 | hardcode_direct_CXX=no | 
|  | 9985 | hardcode_shlibpath_var_CXX=no | 
|  | 9986 | ;; | 
|  | 9987 | ia64*) | 
|  | 9988 | hardcode_direct_CXX=no | 
|  | 9989 | hardcode_shlibpath_var_CXX=no | 
|  | 9990 | hardcode_minus_L_CXX=yes # Not in the search PATH, | 
|  | 9991 | # but as the default | 
|  | 9992 | # location of the library. | 
|  | 9993 | ;; | 
|  | 9994 | *) | 
|  | 9995 | hardcode_direct_CXX=yes | 
|  | 9996 | hardcode_minus_L_CXX=yes # Not in the search PATH, | 
|  | 9997 | # but as the default | 
|  | 9998 | # location of the library. | 
|  | 9999 | ;; | 
|  | 10000 | esac | 
|  | 10001 |  | 
|  | 10002 | case $cc_basename in | 
|  | 10003 | CC) | 
|  | 10004 | # FIXME: insert proper C++ library support | 
|  | 10005 | ld_shlibs_CXX=no | 
|  | 10006 | ;; | 
|  | 10007 | aCC) | 
|  | 10008 | case "$host_cpu" in | 
|  | 10009 | hppa*64*|ia64*) | 
|  | 10010 | archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 
|  | 10011 | ;; | 
|  | 10012 | *) | 
|  | 10013 | archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
|  | 10014 | ;; | 
|  | 10015 | esac | 
|  | 10016 | # Commands to make compiler produce verbose output that lists | 
|  | 10017 | # what "hidden" libraries, object files and flags are used when | 
|  | 10018 | # linking a shared library. | 
|  | 10019 | # | 
|  | 10020 | # There doesn't appear to be a way to prevent this compiler from | 
|  | 10021 | # explicitly linking system object files so we need to strip them | 
|  | 10022 | # from the output so that they don't get included in the library | 
|  | 10023 | # dependencies. | 
|  | 10024 | output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | grep "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
|  | 10025 | ;; | 
|  | 10026 | *) | 
|  | 10027 | if test "$GXX" = yes; then | 
|  | 10028 | if test $with_gnu_ld = no; then | 
|  | 10029 | case "$host_cpu" in | 
|  | 10030 | ia64*|hppa*64*) | 
|  | 10031 | archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs' | 
|  | 10032 | ;; | 
|  | 10033 | *) | 
|  | 10034 | archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
|  | 10035 | ;; | 
|  | 10036 | esac | 
|  | 10037 | fi | 
|  | 10038 | else | 
|  | 10039 | # FIXME: insert proper C++ library support | 
|  | 10040 | ld_shlibs_CXX=no | 
|  | 10041 | fi | 
|  | 10042 | ;; | 
|  | 10043 | esac | 
|  | 10044 | ;; | 
|  | 10045 | irix5* | irix6*) | 
|  | 10046 | case $cc_basename in | 
|  | 10047 | CC) | 
|  | 10048 | # SGI C++ | 
|  | 10049 | archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 
|  | 10050 |  | 
|  | 10051 | # Archives containing C++ object files must be created using | 
|  | 10052 | # "CC -ar", where "CC" is the IRIX C++ compiler.  This is | 
|  | 10053 | # necessary to make sure instantiated templates are included | 
|  | 10054 | # in the archive. | 
|  | 10055 | old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' | 
|  | 10056 | ;; | 
|  | 10057 | *) | 
|  | 10058 | if test "$GXX" = yes; then | 
|  | 10059 | if test "$with_gnu_ld" = no; then | 
|  | 10060 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 
|  | 10061 | else | 
|  | 10062 | archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib' | 
|  | 10063 | fi | 
|  | 10064 | fi | 
|  | 10065 | link_all_deplibs_CXX=yes | 
|  | 10066 | ;; | 
|  | 10067 | esac | 
|  | 10068 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
|  | 10069 | hardcode_libdir_separator_CXX=: | 
|  | 10070 | ;; | 
|  | 10071 | linux*) | 
|  | 10072 | case $cc_basename in | 
|  | 10073 | KCC) | 
|  | 10074 | # Kuck and Associates, Inc. (KAI) C++ Compiler | 
|  | 10075 |  | 
|  | 10076 | # KCC will only create a shared library if the output file | 
|  | 10077 | # ends with ".so" (or ".sl" for HP-UX), so rename the library | 
|  | 10078 | # to its proper name (with version) after linking. | 
|  | 10079 | archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
|  | 10080 | archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' | 
|  | 10081 | # Commands to make compiler produce verbose output that lists | 
|  | 10082 | # what "hidden" libraries, object files and flags are used when | 
|  | 10083 | # linking a shared library. | 
|  | 10084 | # | 
|  | 10085 | # There doesn't appear to be a way to prevent this compiler from | 
|  | 10086 | # explicitly linking system object files so we need to strip them | 
|  | 10087 | # from the output so that they don't get included in the library | 
|  | 10088 | # dependencies. | 
|  | 10089 | output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | grep "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
|  | 10090 |  | 
|  | 10091 | hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir' | 
|  | 10092 | export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
|  | 10093 |  | 
|  | 10094 | # Archives containing C++ object files must be created using | 
|  | 10095 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. | 
|  | 10096 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 
|  | 10097 | ;; | 
|  | 10098 | icpc) | 
|  | 10099 | # Intel C++ | 
|  | 10100 | with_gnu_ld=yes | 
|  | 10101 | archive_cmds_need_lc_CXX=no | 
|  | 10102 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 10103 | archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 10104 | hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
|  | 10105 | export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
|  | 10106 | whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 
|  | 10107 | ;; | 
|  | 10108 | cxx) | 
|  | 10109 | # Compaq C++ | 
|  | 10110 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 10111 | archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols' | 
|  | 10112 |  | 
|  | 10113 | runpath_var=LD_RUN_PATH | 
|  | 10114 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
|  | 10115 | hardcode_libdir_separator_CXX=: | 
|  | 10116 |  | 
|  | 10117 | # Commands to make compiler produce verbose output that lists | 
|  | 10118 | # what "hidden" libraries, object files and flags are used when | 
|  | 10119 | # linking a shared library. | 
|  | 10120 | # | 
|  | 10121 | # There doesn't appear to be a way to prevent this compiler from | 
|  | 10122 | # explicitly linking system object files so we need to strip them | 
|  | 10123 | # from the output so that they don't get included in the library | 
|  | 10124 | # dependencies. | 
|  | 10125 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
|  | 10126 | ;; | 
|  | 10127 | esac | 
|  | 10128 | ;; | 
|  | 10129 | lynxos*) | 
|  | 10130 | # FIXME: insert proper C++ library support | 
|  | 10131 | ld_shlibs_CXX=no | 
|  | 10132 | ;; | 
|  | 10133 | m88k*) | 
|  | 10134 | # FIXME: insert proper C++ library support | 
|  | 10135 | ld_shlibs_CXX=no | 
|  | 10136 | ;; | 
|  | 10137 | mvs*) | 
|  | 10138 | case $cc_basename in | 
|  | 10139 | cxx) | 
|  | 10140 | # FIXME: insert proper C++ library support | 
|  | 10141 | ld_shlibs_CXX=no | 
|  | 10142 | ;; | 
|  | 10143 | *) | 
|  | 10144 | # FIXME: insert proper C++ library support | 
|  | 10145 | ld_shlibs_CXX=no | 
|  | 10146 | ;; | 
|  | 10147 | esac | 
|  | 10148 | ;; | 
|  | 10149 | netbsd*) | 
|  | 10150 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 10151 | archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | 
|  | 10152 | wlarc= | 
|  | 10153 | hardcode_libdir_flag_spec_CXX='-R$libdir' | 
|  | 10154 | hardcode_direct_CXX=yes | 
|  | 10155 | hardcode_shlibpath_var_CXX=no | 
|  | 10156 | fi | 
|  | 10157 | # Workaround some broken pre-1.5 toolchains | 
|  | 10158 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | 
|  | 10159 | ;; | 
|  | 10160 | osf3*) | 
|  | 10161 | case $cc_basename in | 
|  | 10162 | KCC) | 
|  | 10163 | # Kuck and Associates, Inc. (KAI) C++ Compiler | 
|  | 10164 |  | 
|  | 10165 | # KCC will only create a shared library if the output file | 
|  | 10166 | # ends with ".so" (or ".sl" for HP-UX), so rename the library | 
|  | 10167 | # to its proper name (with version) after linking. | 
|  | 10168 | archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
|  | 10169 |  | 
|  | 10170 | hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
|  | 10171 | hardcode_libdir_separator_CXX=: | 
|  | 10172 |  | 
|  | 10173 | # Archives containing C++ object files must be created using | 
|  | 10174 | # "CC -Bstatic", where "CC" is the KAI C++ compiler. | 
|  | 10175 | old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 
|  | 10176 |  | 
|  | 10177 | ;; | 
|  | 10178 | RCC) | 
|  | 10179 | # Rational C++ 2.4.1 | 
|  | 10180 | # FIXME: insert proper C++ library support | 
|  | 10181 | ld_shlibs_CXX=no | 
|  | 10182 | ;; | 
|  | 10183 | cxx) | 
|  | 10184 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 10185 | archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 
|  | 10186 |  | 
|  | 10187 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
|  | 10188 | hardcode_libdir_separator_CXX=: | 
|  | 10189 |  | 
|  | 10190 | # Commands to make compiler produce verbose output that lists | 
|  | 10191 | # what "hidden" libraries, object files and flags are used when | 
|  | 10192 | # linking a shared library. | 
|  | 10193 | # | 
|  | 10194 | # There doesn't appear to be a way to prevent this compiler from | 
|  | 10195 | # explicitly linking system object files so we need to strip them | 
|  | 10196 | # from the output so that they don't get included in the library | 
|  | 10197 | # dependencies. | 
|  | 10198 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
|  | 10199 | ;; | 
|  | 10200 | *) | 
|  | 10201 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
|  | 10202 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 10203 | archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 
|  | 10204 |  | 
|  | 10205 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
|  | 10206 | hardcode_libdir_separator_CXX=: | 
|  | 10207 |  | 
|  | 10208 | # Commands to make compiler produce verbose output that lists | 
|  | 10209 | # what "hidden" libraries, object files and flags are used when | 
|  | 10210 | # linking a shared library. | 
|  | 10211 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
|  | 10212 |  | 
|  | 10213 | else | 
|  | 10214 | # FIXME: insert proper C++ library support | 
|  | 10215 | ld_shlibs_CXX=no | 
|  | 10216 | fi | 
|  | 10217 | ;; | 
|  | 10218 | esac | 
|  | 10219 | ;; | 
|  | 10220 | osf4* | osf5*) | 
|  | 10221 | case $cc_basename in | 
|  | 10222 | KCC) | 
|  | 10223 | # Kuck and Associates, Inc. (KAI) C++ Compiler | 
|  | 10224 |  | 
|  | 10225 | # KCC will only create a shared library if the output file | 
|  | 10226 | # ends with ".so" (or ".sl" for HP-UX), so rename the library | 
|  | 10227 | # to its proper name (with version) after linking. | 
|  | 10228 | archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
|  | 10229 |  | 
|  | 10230 | hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
|  | 10231 | hardcode_libdir_separator_CXX=: | 
|  | 10232 |  | 
|  | 10233 | # Archives containing C++ object files must be created using | 
|  | 10234 | # the KAI C++ compiler. | 
|  | 10235 | old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' | 
|  | 10236 | ;; | 
|  | 10237 | RCC) | 
|  | 10238 | # Rational C++ 2.4.1 | 
|  | 10239 | # FIXME: insert proper C++ library support | 
|  | 10240 | ld_shlibs_CXX=no | 
|  | 10241 | ;; | 
|  | 10242 | cxx) | 
|  | 10243 | allow_undefined_flag_CXX=' -expect_unresolved \*' | 
|  | 10244 | archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib' | 
|  | 10245 | archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | 
|  | 10246 | echo "-hidden">> $lib.exp~ | 
|  | 10247 | $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input -Wl,$lib.exp  `test -n "$verstring" && echo -set_version	$verstring` -update_registry $objdir/so_locations -o $lib~ | 
|  | 10248 | $rm $lib.exp' | 
|  | 10249 |  | 
|  | 10250 | hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
|  | 10251 | hardcode_libdir_separator_CXX=: | 
|  | 10252 |  | 
|  | 10253 | # Commands to make compiler produce verbose output that lists | 
|  | 10254 | # what "hidden" libraries, object files and flags are used when | 
|  | 10255 | # linking a shared library. | 
|  | 10256 | # | 
|  | 10257 | # There doesn't appear to be a way to prevent this compiler from | 
|  | 10258 | # explicitly linking system object files so we need to strip them | 
|  | 10259 | # from the output so that they don't get included in the library | 
|  | 10260 | # dependencies. | 
|  | 10261 | output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld" | grep -v "ld:"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
|  | 10262 | ;; | 
|  | 10263 | *) | 
|  | 10264 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
|  | 10265 | allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 10266 | archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib' | 
|  | 10267 |  | 
|  | 10268 | hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
|  | 10269 | hardcode_libdir_separator_CXX=: | 
|  | 10270 |  | 
|  | 10271 | # Commands to make compiler produce verbose output that lists | 
|  | 10272 | # what "hidden" libraries, object files and flags are used when | 
|  | 10273 | # linking a shared library. | 
|  | 10274 | output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"' | 
|  | 10275 |  | 
|  | 10276 | else | 
|  | 10277 | # FIXME: insert proper C++ library support | 
|  | 10278 | ld_shlibs_CXX=no | 
|  | 10279 | fi | 
|  | 10280 | ;; | 
|  | 10281 | esac | 
|  | 10282 | ;; | 
|  | 10283 | psos*) | 
|  | 10284 | # FIXME: insert proper C++ library support | 
|  | 10285 | ld_shlibs_CXX=no | 
|  | 10286 | ;; | 
|  | 10287 | sco*) | 
|  | 10288 | archive_cmds_need_lc_CXX=no | 
|  | 10289 | case $cc_basename in | 
|  | 10290 | CC) | 
|  | 10291 | # FIXME: insert proper C++ library support | 
|  | 10292 | ld_shlibs_CXX=no | 
|  | 10293 | ;; | 
|  | 10294 | *) | 
|  | 10295 | # FIXME: insert proper C++ library support | 
|  | 10296 | ld_shlibs_CXX=no | 
|  | 10297 | ;; | 
|  | 10298 | esac | 
|  | 10299 | ;; | 
|  | 10300 | sunos4*) | 
|  | 10301 | case $cc_basename in | 
|  | 10302 | CC) | 
|  | 10303 | # Sun C++ 4.x | 
|  | 10304 | # FIXME: insert proper C++ library support | 
|  | 10305 | ld_shlibs_CXX=no | 
|  | 10306 | ;; | 
|  | 10307 | lcc) | 
|  | 10308 | # Lucid | 
|  | 10309 | # FIXME: insert proper C++ library support | 
|  | 10310 | ld_shlibs_CXX=no | 
|  | 10311 | ;; | 
|  | 10312 | *) | 
|  | 10313 | # FIXME: insert proper C++ library support | 
|  | 10314 | ld_shlibs_CXX=no | 
|  | 10315 | ;; | 
|  | 10316 | esac | 
|  | 10317 | ;; | 
|  | 10318 | solaris*) | 
|  | 10319 | case $cc_basename in | 
|  | 10320 | CC) | 
|  | 10321 | # Sun C++ 4.2, 5.x and Centerline C++ | 
|  | 10322 | no_undefined_flag_CXX=' -zdefs' | 
|  | 10323 | archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
|  | 10324 | archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 10325 | $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
|  | 10326 |  | 
|  | 10327 | hardcode_libdir_flag_spec_CXX='-R$libdir' | 
|  | 10328 | hardcode_shlibpath_var_CXX=no | 
|  | 10329 | case $host_os in | 
|  | 10330 | solaris2.0-5 | solaris2.0-5.*) ;; | 
|  | 10331 | *) | 
|  | 10332 | # The C++ compiler is used as linker so we must use $wl | 
|  | 10333 | # flag to pass the commands to the underlying system | 
|  | 10334 | # linker. | 
|  | 10335 | # Supported since Solaris 2.6 (maybe 2.5.1?) | 
|  | 10336 | whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 
|  | 10337 | ;; | 
|  | 10338 | esac | 
|  | 10339 | link_all_deplibs_CXX=yes | 
|  | 10340 |  | 
|  | 10341 | # Commands to make compiler produce verbose output that lists | 
|  | 10342 | # what "hidden" libraries, object files and flags are used when | 
|  | 10343 | # linking a shared library. | 
|  | 10344 | # | 
|  | 10345 | # There doesn't appear to be a way to prevent this compiler from | 
|  | 10346 | # explicitly linking system object files so we need to strip them | 
|  | 10347 | # from the output so that they don't get included in the library | 
|  | 10348 | # dependencies. | 
|  | 10349 | output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list' | 
|  | 10350 |  | 
|  | 10351 | # Archives containing C++ object files must be created using | 
|  | 10352 | # "CC -xar", where "CC" is the Sun C++ compiler.  This is | 
|  | 10353 | # necessary to make sure instantiated templates are included | 
|  | 10354 | # in the archive. | 
|  | 10355 | old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | 
|  | 10356 | ;; | 
|  | 10357 | gcx) | 
|  | 10358 | # Green Hills C++ Compiler | 
|  | 10359 | archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
|  | 10360 |  | 
|  | 10361 | # The C++ compiler must be used to create the archive. | 
|  | 10362 | old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' | 
|  | 10363 | ;; | 
|  | 10364 | *) | 
|  | 10365 | # GNU C++ compiler with Solaris linker | 
|  | 10366 | if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
|  | 10367 | no_undefined_flag_CXX=' ${wl}-z ${wl}defs' | 
|  | 10368 | if $CC --version | grep -v '^2\.7' > /dev/null; then | 
|  | 10369 | archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
|  | 10370 | archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 10371 | $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
|  | 10372 |  | 
|  | 10373 | # Commands to make compiler produce verbose output that lists | 
|  | 10374 | # what "hidden" libraries, object files and flags are used when | 
|  | 10375 | # linking a shared library. | 
|  | 10376 | output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" | 
|  | 10377 | else | 
|  | 10378 | # g++ 2.7 appears to require `-G' NOT `-shared' on this | 
|  | 10379 | # platform. | 
|  | 10380 | archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
|  | 10381 | archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 10382 | $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp' | 
|  | 10383 |  | 
|  | 10384 | # Commands to make compiler produce verbose output that lists | 
|  | 10385 | # what "hidden" libraries, object files and flags are used when | 
|  | 10386 | # linking a shared library. | 
|  | 10387 | output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\"" | 
|  | 10388 | fi | 
|  | 10389 |  | 
|  | 10390 | hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' | 
|  | 10391 | fi | 
|  | 10392 | ;; | 
|  | 10393 | esac | 
|  | 10394 | ;; | 
|  | 10395 | sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*) | 
|  | 10396 | archive_cmds_need_lc_CXX=no | 
|  | 10397 | ;; | 
|  | 10398 | tandem*) | 
|  | 10399 | case $cc_basename in | 
|  | 10400 | NCC) | 
|  | 10401 | # NonStop-UX NCC 3.20 | 
|  | 10402 | # FIXME: insert proper C++ library support | 
|  | 10403 | ld_shlibs_CXX=no | 
|  | 10404 | ;; | 
|  | 10405 | *) | 
|  | 10406 | # FIXME: insert proper C++ library support | 
|  | 10407 | ld_shlibs_CXX=no | 
|  | 10408 | ;; | 
|  | 10409 | esac | 
|  | 10410 | ;; | 
|  | 10411 | vxworks*) | 
|  | 10412 | # FIXME: insert proper C++ library support | 
|  | 10413 | ld_shlibs_CXX=no | 
|  | 10414 | ;; | 
|  | 10415 | *) | 
|  | 10416 | # FIXME: insert proper C++ library support | 
|  | 10417 | ld_shlibs_CXX=no | 
|  | 10418 | ;; | 
|  | 10419 | esac | 
|  | 10420 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 
|  | 10421 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 
|  | 10422 | test "$ld_shlibs_CXX" = no && can_build_shared=no | 
|  | 10423 |  | 
|  | 10424 | GCC_CXX="$GXX" | 
|  | 10425 | LD_CXX="$LD" | 
|  | 10426 |  | 
|  | 10427 | ## CAVEAT EMPTOR: | 
|  | 10428 | ## There is no encapsulation within the following macros, do not change | 
|  | 10429 | ## the running order or otherwise move them around unless you know exactly | 
|  | 10430 | ## what you are doing... | 
|  | 10431 |  | 
|  | 10432 | cat > conftest.$ac_ext <<EOF | 
|  | 10433 | class Foo | 
|  | 10434 | { | 
|  | 10435 | public: | 
|  | 10436 | Foo (void) { a = 0; } | 
|  | 10437 | private: | 
|  | 10438 | int a; | 
|  | 10439 | }; | 
|  | 10440 | EOF | 
|  | 10441 |  | 
|  | 10442 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 10443 | (eval $ac_compile) 2>&5 | 
|  | 10444 | ac_status=$? | 
|  | 10445 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 10446 | (exit $ac_status); }; then | 
|  | 10447 | # Parse the compiler output and extract the necessary | 
|  | 10448 | # objects, libraries and library flags. | 
|  | 10449 |  | 
|  | 10450 | # Sentinel used to keep track of whether or not we are before | 
|  | 10451 | # the conftest object file. | 
|  | 10452 | pre_test_object_deps_done=no | 
|  | 10453 |  | 
|  | 10454 | # The `*' in the case matches for architectures that use `case' in | 
|  | 10455 | # $output_verbose_cmd can trigger glob expansion during the loop | 
|  | 10456 | # eval without this substitution. | 
|  | 10457 | output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`" | 
|  | 10458 |  | 
|  | 10459 | for p in `eval $output_verbose_link_cmd`; do | 
|  | 10460 | case $p in | 
|  | 10461 |  | 
|  | 10462 | -L* | -R* | -l*) | 
|  | 10463 | # Some compilers place space between "-{L,R}" and the path. | 
|  | 10464 | # Remove the space. | 
|  | 10465 | if test $p = "-L" \ | 
|  | 10466 | || test $p = "-R"; then | 
|  | 10467 | prev=$p | 
|  | 10468 | continue | 
|  | 10469 | else | 
|  | 10470 | prev= | 
|  | 10471 | fi | 
|  | 10472 |  | 
|  | 10473 | if test "$pre_test_object_deps_done" = no; then | 
|  | 10474 | case $p in | 
|  | 10475 | -L* | -R*) | 
|  | 10476 | # Internal compiler library paths should come after those | 
|  | 10477 | # provided the user.  The postdeps already come after the | 
|  | 10478 | # user supplied libs so there is no need to process them. | 
|  | 10479 | if test -z "$compiler_lib_search_path_CXX"; then | 
|  | 10480 | compiler_lib_search_path_CXX="${prev}${p}" | 
|  | 10481 | else | 
|  | 10482 | compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" | 
|  | 10483 | fi | 
|  | 10484 | ;; | 
|  | 10485 | # The "-l" case would never come before the object being | 
|  | 10486 | # linked, so don't bother handling this case. | 
|  | 10487 | esac | 
|  | 10488 | else | 
|  | 10489 | if test -z "$postdeps_CXX"; then | 
|  | 10490 | postdeps_CXX="${prev}${p}" | 
|  | 10491 | else | 
|  | 10492 | postdeps_CXX="${postdeps_CXX} ${prev}${p}" | 
|  | 10493 | fi | 
|  | 10494 | fi | 
|  | 10495 | ;; | 
|  | 10496 |  | 
|  | 10497 | *.$objext) | 
|  | 10498 | # This assumes that the test object file only shows up | 
|  | 10499 | # once in the compiler output. | 
|  | 10500 | if test "$p" = "conftest.$objext"; then | 
|  | 10501 | pre_test_object_deps_done=yes | 
|  | 10502 | continue | 
|  | 10503 | fi | 
|  | 10504 |  | 
|  | 10505 | if test "$pre_test_object_deps_done" = no; then | 
|  | 10506 | if test -z "$predep_objects_CXX"; then | 
|  | 10507 | predep_objects_CXX="$p" | 
|  | 10508 | else | 
|  | 10509 | predep_objects_CXX="$predep_objects_CXX $p" | 
|  | 10510 | fi | 
|  | 10511 | else | 
|  | 10512 | if test -z "$postdep_objects_CXX"; then | 
|  | 10513 | postdep_objects_CXX="$p" | 
|  | 10514 | else | 
|  | 10515 | postdep_objects_CXX="$postdep_objects_CXX $p" | 
|  | 10516 | fi | 
|  | 10517 | fi | 
|  | 10518 | ;; | 
|  | 10519 |  | 
|  | 10520 | *) ;; # Ignore the rest. | 
|  | 10521 |  | 
|  | 10522 | esac | 
|  | 10523 | done | 
|  | 10524 |  | 
|  | 10525 | # Clean up. | 
|  | 10526 | rm -f a.out a.exe | 
|  | 10527 | else | 
|  | 10528 | echo "libtool.m4: error: problem compiling CXX test program" | 
|  | 10529 | fi | 
|  | 10530 |  | 
|  | 10531 | $rm -f confest.$objext | 
|  | 10532 |  | 
|  | 10533 | case " $postdeps_CXX " in | 
|  | 10534 | *" -lc "*) archive_cmds_need_lc_CXX=no ;; | 
|  | 10535 | esac | 
|  | 10536 |  | 
|  | 10537 | lt_prog_compiler_wl_CXX= | 
|  | 10538 | lt_prog_compiler_pic_CXX= | 
|  | 10539 | lt_prog_compiler_static_CXX= | 
|  | 10540 |  | 
|  | 10541 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
|  | 10542 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
|  | 10543 |  | 
|  | 10544 | # C++ specific cases for pic, static, wl, etc. | 
|  | 10545 | if test "$GXX" = yes; then | 
|  | 10546 | lt_prog_compiler_wl_CXX='-Wl,' | 
|  | 10547 | lt_prog_compiler_static_CXX='-static' | 
|  | 10548 |  | 
|  | 10549 | case $host_os in | 
|  | 10550 | aix*) | 
|  | 10551 | # All AIX code is PIC. | 
|  | 10552 | if test "$host_cpu" = ia64; then | 
|  | 10553 | # AIX 5 now supports IA64 processor | 
|  | 10554 | lt_prog_compiler_static_CXX='-Bstatic' | 
|  | 10555 | fi | 
|  | 10556 | ;; | 
|  | 10557 | amigaos*) | 
|  | 10558 | # FIXME: we need at least 68020 code to build shared libraries, but | 
|  | 10559 | # adding the `-m68020' flag to GCC prevents building anything better, | 
|  | 10560 | # like `-m68040'. | 
|  | 10561 | lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' | 
|  | 10562 | ;; | 
|  | 10563 | beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
|  | 10564 | # PIC is the default for these OSes. | 
|  | 10565 | ;; | 
|  | 10566 | mingw* | os2* | pw32*) | 
|  | 10567 | # This hack is so that the source file can tell whether it is being | 
|  | 10568 | # built for inclusion in a dll (and should export symbols for example). | 
|  | 10569 | lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | 
|  | 10570 | ;; | 
|  | 10571 | darwin* | rhapsody*) | 
|  | 10572 | # PIC is the default on this platform | 
|  | 10573 | # Common symbols not allowed in MH_DYLIB files | 
|  | 10574 | lt_prog_compiler_pic_CXX='-fno-common' | 
|  | 10575 | ;; | 
|  | 10576 | *djgpp*) | 
|  | 10577 | # DJGPP does not support shared libraries at all | 
|  | 10578 | lt_prog_compiler_pic_CXX= | 
|  | 10579 | ;; | 
|  | 10580 | sysv4*MP*) | 
|  | 10581 | if test -d /usr/nec; then | 
|  | 10582 | lt_prog_compiler_pic_CXX=-Kconform_pic | 
|  | 10583 | fi | 
|  | 10584 | ;; | 
|  | 10585 | hpux*) | 
|  | 10586 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
|  | 10587 | # not for PA HP-UX. | 
|  | 10588 | case "$host_cpu" in | 
|  | 10589 | hppa*64*|ia64*) | 
|  | 10590 | ;; | 
|  | 10591 | *) | 
|  | 10592 | lt_prog_compiler_pic_CXX='-fPIC' | 
|  | 10593 | ;; | 
|  | 10594 | esac | 
|  | 10595 | ;; | 
|  | 10596 | *) | 
|  | 10597 | lt_prog_compiler_pic_CXX='-fPIC' | 
|  | 10598 | ;; | 
|  | 10599 | esac | 
|  | 10600 | else | 
|  | 10601 | case $host_os in | 
|  | 10602 | aix4* | aix5*) | 
|  | 10603 | # All AIX code is PIC. | 
|  | 10604 | if test "$host_cpu" = ia64; then | 
|  | 10605 | # AIX 5 now supports IA64 processor | 
|  | 10606 | lt_prog_compiler_static_CXX='-Bstatic' | 
|  | 10607 | else | 
|  | 10608 | lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' | 
|  | 10609 | fi | 
|  | 10610 | ;; | 
|  | 10611 | chorus*) | 
|  | 10612 | case $cc_basename in | 
|  | 10613 | cxch68) | 
|  | 10614 | # Green Hills C++ Compiler | 
|  | 10615 | # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" | 
|  | 10616 | ;; | 
|  | 10617 | esac | 
|  | 10618 | ;; | 
|  | 10619 | dgux*) | 
|  | 10620 | case $cc_basename in | 
|  | 10621 | ec++) | 
|  | 10622 | lt_prog_compiler_pic_CXX='-KPIC' | 
|  | 10623 | ;; | 
|  | 10624 | ghcx) | 
|  | 10625 | # Green Hills C++ Compiler | 
|  | 10626 | lt_prog_compiler_pic_CXX='-pic' | 
|  | 10627 | ;; | 
|  | 10628 | *) | 
|  | 10629 | ;; | 
|  | 10630 | esac | 
|  | 10631 | ;; | 
|  | 10632 | freebsd*) | 
|  | 10633 | # FreeBSD uses GNU C++ | 
|  | 10634 | ;; | 
|  | 10635 | hpux9* | hpux10* | hpux11*) | 
|  | 10636 | case $cc_basename in | 
|  | 10637 | CC) | 
|  | 10638 | lt_prog_compiler_wl_CXX='-Wl,' | 
|  | 10639 | lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 
|  | 10640 | if test "$host_cpu" != ia64; then | 
|  | 10641 | lt_prog_compiler_pic_CXX='+Z' | 
|  | 10642 | fi | 
|  | 10643 | ;; | 
|  | 10644 | aCC) | 
|  | 10645 | lt_prog_compiler_wl_CXX='-Wl,' | 
|  | 10646 | lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive" | 
|  | 10647 | case "$host_cpu" in | 
|  | 10648 | hppa*64*|ia64*) | 
|  | 10649 | # +Z the default | 
|  | 10650 | ;; | 
|  | 10651 | *) | 
|  | 10652 | lt_prog_compiler_pic_CXX='+Z' | 
|  | 10653 | ;; | 
|  | 10654 | esac | 
|  | 10655 | ;; | 
|  | 10656 | *) | 
|  | 10657 | ;; | 
|  | 10658 | esac | 
|  | 10659 | ;; | 
|  | 10660 | irix5* | irix6* | nonstopux*) | 
|  | 10661 | case $cc_basename in | 
|  | 10662 | CC) | 
|  | 10663 | lt_prog_compiler_wl_CXX='-Wl,' | 
|  | 10664 | lt_prog_compiler_static_CXX='-non_shared' | 
|  | 10665 | # CC pic flag -KPIC is the default. | 
|  | 10666 | ;; | 
|  | 10667 | *) | 
|  | 10668 | ;; | 
|  | 10669 | esac | 
|  | 10670 | ;; | 
|  | 10671 | linux*) | 
|  | 10672 | case $cc_basename in | 
|  | 10673 | KCC) | 
|  | 10674 | # KAI C++ Compiler | 
|  | 10675 | lt_prog_compiler_wl_CXX='--backend -Wl,' | 
|  | 10676 | lt_prog_compiler_pic_CXX='-fPIC' | 
|  | 10677 | ;; | 
|  | 10678 | icpc) | 
|  | 10679 | # Intel C++ | 
|  | 10680 | lt_prog_compiler_wl_CXX='-Wl,' | 
|  | 10681 | lt_prog_compiler_pic_CXX='-KPIC' | 
|  | 10682 | lt_prog_compiler_static_CXX='-static' | 
|  | 10683 | ;; | 
|  | 10684 | cxx) | 
|  | 10685 | # Compaq C++ | 
|  | 10686 | # Make sure the PIC flag is empty.  It appears that all Alpha | 
|  | 10687 | # Linux and Compaq Tru64 Unix objects are PIC. | 
|  | 10688 | lt_prog_compiler_pic_CXX= | 
|  | 10689 | lt_prog_compiler_static_CXX='-non_shared' | 
|  | 10690 | ;; | 
|  | 10691 | *) | 
|  | 10692 | ;; | 
|  | 10693 | esac | 
|  | 10694 | ;; | 
|  | 10695 | lynxos*) | 
|  | 10696 | ;; | 
|  | 10697 | m88k*) | 
|  | 10698 | ;; | 
|  | 10699 | mvs*) | 
|  | 10700 | case $cc_basename in | 
|  | 10701 | cxx) | 
|  | 10702 | lt_prog_compiler_pic_CXX='-W c,exportall' | 
|  | 10703 | ;; | 
|  | 10704 | *) | 
|  | 10705 | ;; | 
|  | 10706 | esac | 
|  | 10707 | ;; | 
|  | 10708 | netbsd*) | 
|  | 10709 | ;; | 
|  | 10710 | osf3* | osf4* | osf5*) | 
|  | 10711 | case $cc_basename in | 
|  | 10712 | KCC) | 
|  | 10713 | lt_prog_compiler_wl_CXX='--backend -Wl,' | 
|  | 10714 | ;; | 
|  | 10715 | RCC) | 
|  | 10716 | # Rational C++ 2.4.1 | 
|  | 10717 | lt_prog_compiler_pic_CXX='-pic' | 
|  | 10718 | ;; | 
|  | 10719 | cxx) | 
|  | 10720 | # Digital/Compaq C++ | 
|  | 10721 | lt_prog_compiler_wl_CXX='-Wl,' | 
|  | 10722 | # Make sure the PIC flag is empty.  It appears that all Alpha | 
|  | 10723 | # Linux and Compaq Tru64 Unix objects are PIC. | 
|  | 10724 | lt_prog_compiler_pic_CXX= | 
|  | 10725 | lt_prog_compiler_static_CXX='-non_shared' | 
|  | 10726 | ;; | 
|  | 10727 | *) | 
|  | 10728 | ;; | 
|  | 10729 | esac | 
|  | 10730 | ;; | 
|  | 10731 | psos*) | 
|  | 10732 | ;; | 
|  | 10733 | sco*) | 
|  | 10734 | case $cc_basename in | 
|  | 10735 | CC) | 
|  | 10736 | lt_prog_compiler_pic_CXX='-fPIC' | 
|  | 10737 | ;; | 
|  | 10738 | *) | 
|  | 10739 | ;; | 
|  | 10740 | esac | 
|  | 10741 | ;; | 
|  | 10742 | solaris*) | 
|  | 10743 | case $cc_basename in | 
|  | 10744 | CC) | 
|  | 10745 | # Sun C++ 4.2, 5.x and Centerline C++ | 
|  | 10746 | lt_prog_compiler_pic_CXX='-KPIC' | 
|  | 10747 | lt_prog_compiler_static_CXX='-Bstatic' | 
|  | 10748 | lt_prog_compiler_wl_CXX='-Qoption ld ' | 
|  | 10749 | ;; | 
|  | 10750 | gcx) | 
|  | 10751 | # Green Hills C++ Compiler | 
|  | 10752 | lt_prog_compiler_pic_CXX='-PIC' | 
|  | 10753 | ;; | 
|  | 10754 | *) | 
|  | 10755 | ;; | 
|  | 10756 | esac | 
|  | 10757 | ;; | 
|  | 10758 | sunos4*) | 
|  | 10759 | case $cc_basename in | 
|  | 10760 | CC) | 
|  | 10761 | # Sun C++ 4.x | 
|  | 10762 | lt_prog_compiler_pic_CXX='-pic' | 
|  | 10763 | lt_prog_compiler_static_CXX='-Bstatic' | 
|  | 10764 | ;; | 
|  | 10765 | lcc) | 
|  | 10766 | # Lucid | 
|  | 10767 | lt_prog_compiler_pic_CXX='-pic' | 
|  | 10768 | ;; | 
|  | 10769 | *) | 
|  | 10770 | ;; | 
|  | 10771 | esac | 
|  | 10772 | ;; | 
|  | 10773 | tandem*) | 
|  | 10774 | case $cc_basename in | 
|  | 10775 | NCC) | 
|  | 10776 | # NonStop-UX NCC 3.20 | 
|  | 10777 | lt_prog_compiler_pic_CXX='-KPIC' | 
|  | 10778 | ;; | 
|  | 10779 | *) | 
|  | 10780 | ;; | 
|  | 10781 | esac | 
|  | 10782 | ;; | 
|  | 10783 | unixware*) | 
|  | 10784 | ;; | 
|  | 10785 | vxworks*) | 
|  | 10786 | ;; | 
|  | 10787 | *) | 
|  | 10788 | lt_prog_compiler_can_build_shared_CXX=no | 
|  | 10789 | ;; | 
|  | 10790 | esac | 
|  | 10791 | fi | 
|  | 10792 |  | 
|  | 10793 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 | 
|  | 10794 | echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6 | 
|  | 10795 |  | 
|  | 10796 | # | 
|  | 10797 | # Check to make sure the PIC flag actually works. | 
|  | 10798 | # | 
|  | 10799 | if test -n "$lt_prog_compiler_pic_CXX"; then | 
|  | 10800 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 | 
|  | 10801 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6 | 
|  | 10802 | if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then | 
|  | 10803 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 10804 | else | 
|  | 10805 | lt_prog_compiler_pic_works_CXX=no | 
|  | 10806 | ac_outfile=conftest.$ac_objext | 
|  | 10807 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 10808 | lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" | 
|  | 10809 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 10810 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 10811 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 10812 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 10813 | # The option is referenced via a variable to avoid confusing sed. | 
|  | 10814 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 10815 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 10816 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 10817 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 10818 | (eval echo "\"\$as_me:10824: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10819 | (eval "$lt_compile" 2>conftest.err) | 
|  | 10820 | ac_status=$? | 
|  | 10821 | cat conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 10822 | echo "$as_me:10828: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10823 | if (exit $ac_status) && test -s "$ac_outfile"; then | 
|  | 10824 | # The compiler can only warn and ignore the option if not recognized | 
|  | 10825 | # So say no if there are warnings | 
|  | 10826 | if test ! -s conftest.err; then | 
|  | 10827 | lt_prog_compiler_pic_works_CXX=yes | 
|  | 10828 | fi | 
|  | 10829 | fi | 
|  | 10830 | $rm conftest* | 
|  | 10831 |  | 
|  | 10832 | fi | 
|  | 10833 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5 | 
|  | 10834 | echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6 | 
|  | 10835 |  | 
|  | 10836 | if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then | 
|  | 10837 | case $lt_prog_compiler_pic_CXX in | 
|  | 10838 | "" | " "*) ;; | 
|  | 10839 | *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; | 
|  | 10840 | esac | 
|  | 10841 | else | 
|  | 10842 | lt_prog_compiler_pic_CXX= | 
|  | 10843 | lt_prog_compiler_can_build_shared_CXX=no | 
|  | 10844 | fi | 
|  | 10845 |  | 
|  | 10846 | fi | 
|  | 10847 | case "$host_os" in | 
|  | 10848 | # For platforms which do not support PIC, -DPIC is meaningless: | 
|  | 10849 | *djgpp*) | 
|  | 10850 | lt_prog_compiler_pic_CXX= | 
|  | 10851 | ;; | 
|  | 10852 | *) | 
|  | 10853 | lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" | 
|  | 10854 | ;; | 
|  | 10855 | esac | 
|  | 10856 |  | 
|  | 10857 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
|  | 10858 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
|  | 10859 | if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then | 
|  | 10860 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 10861 | else | 
|  | 10862 | lt_cv_prog_compiler_c_o_CXX=no | 
|  | 10863 | $rm -r conftest 2>/dev/null | 
|  | 10864 | mkdir conftest | 
|  | 10865 | cd conftest | 
|  | 10866 | mkdir out | 
|  | 10867 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 10868 |  | 
|  | 10869 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
|  | 10870 | # that will create temporary files in the current directory regardless of | 
|  | 10871 | # the output directory.  Thus, making CWD read-only will cause this test | 
|  | 10872 | # to fail, enabling locking or at least warning the user not to do parallel | 
|  | 10873 | # builds. | 
|  | 10874 | chmod -w . | 
|  | 10875 |  | 
|  | 10876 | lt_compiler_flag="-o out/conftest2.$ac_objext" | 
|  | 10877 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 10878 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 10879 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 10880 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 10881 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 10882 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 10883 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 10884 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 10885 | (eval echo "\"\$as_me:10891: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10886 | (eval "$lt_compile" 2>out/conftest.err) | 
|  | 10887 | ac_status=$? | 
|  | 10888 | cat out/conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 10889 | echo "$as_me:10895: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 10890 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
|  | 10891 | then | 
|  | 10892 | # The compiler can only warn and ignore the option if not recognized | 
|  | 10893 | # So say no if there are warnings | 
|  | 10894 | if test ! -s out/conftest.err; then | 
|  | 10895 | lt_cv_prog_compiler_c_o_CXX=yes | 
|  | 10896 | fi | 
|  | 10897 | fi | 
|  | 10898 | chmod u+w . | 
|  | 10899 | $rm conftest* out/* | 
|  | 10900 | rmdir out | 
|  | 10901 | cd .. | 
|  | 10902 | rmdir conftest | 
|  | 10903 | $rm conftest* | 
|  | 10904 |  | 
|  | 10905 | fi | 
|  | 10906 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | 
|  | 10907 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6 | 
|  | 10908 |  | 
|  | 10909 |  | 
|  | 10910 | hard_links="nottested" | 
|  | 10911 | if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then | 
|  | 10912 | # do not overwrite the value of need_locks provided by the user | 
|  | 10913 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
|  | 10914 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
|  | 10915 | hard_links=yes | 
|  | 10916 | $rm conftest* | 
|  | 10917 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 10918 | touch conftest.a | 
|  | 10919 | ln conftest.a conftest.b 2>&5 || hard_links=no | 
|  | 10920 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 10921 | echo "$as_me:$LINENO: result: $hard_links" >&5 | 
|  | 10922 | echo "${ECHO_T}$hard_links" >&6 | 
|  | 10923 | if test "$hard_links" = no; then | 
|  | 10924 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
|  | 10925 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
|  | 10926 | need_locks=warn | 
|  | 10927 | fi | 
|  | 10928 | else | 
|  | 10929 | need_locks=no | 
|  | 10930 | fi | 
|  | 10931 |  | 
|  | 10932 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
|  | 10933 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
|  | 10934 |  | 
|  | 10935 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 10936 | case $host_os in | 
|  | 10937 | aix4* | aix5*) | 
|  | 10938 | # If we're using GNU nm, then we don't want the "-C" option. | 
|  | 10939 | # -C means demangle to AIX nm, but means don't demangle with GNU nm | 
|  | 10940 | if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
|  | 10941 | export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
|  | 10942 | else | 
|  | 10943 | export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
|  | 10944 | fi | 
|  | 10945 | ;; | 
|  | 10946 | pw32*) | 
|  | 10947 | export_symbols_cmds_CXX="$ltdll_cmds" | 
|  | 10948 | ;; | 
|  | 10949 | cygwin* | mingw*) | 
|  | 10950 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 10951 | ;; | 
|  | 10952 | *) | 
|  | 10953 | export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 10954 | ;; | 
|  | 10955 | esac | 
|  | 10956 |  | 
|  | 10957 | echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 | 
|  | 10958 | echo "${ECHO_T}$ld_shlibs_CXX" >&6 | 
|  | 10959 | test "$ld_shlibs_CXX" = no && can_build_shared=no | 
|  | 10960 |  | 
|  | 10961 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
|  | 10962 | if test "$GCC" = yes; then | 
|  | 10963 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
|  | 10964 | fi | 
|  | 10965 |  | 
|  | 10966 | # | 
|  | 10967 | # Do we need to explicitly link libc? | 
|  | 10968 | # | 
|  | 10969 | case "x$archive_cmds_need_lc_CXX" in | 
|  | 10970 | x|xyes) | 
|  | 10971 | # Assume -lc should be added | 
|  | 10972 | archive_cmds_need_lc_CXX=yes | 
|  | 10973 |  | 
|  | 10974 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 
|  | 10975 | case $archive_cmds_CXX in | 
|  | 10976 | *'~'*) | 
|  | 10977 | # FIXME: we may have to deal with multi-command sequences. | 
|  | 10978 | ;; | 
|  | 10979 | '$CC '*) | 
|  | 10980 | # Test whether the compiler implicitly links with -lc since on some | 
|  | 10981 | # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
|  | 10982 | # to ld, don't add -lc before -lgcc. | 
|  | 10983 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
|  | 10984 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
|  | 10985 | $rm conftest* | 
|  | 10986 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 10987 |  | 
|  | 10988 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 10989 | (eval $ac_compile) 2>&5 | 
|  | 10990 | ac_status=$? | 
|  | 10991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 10992 | (exit $ac_status); } 2>conftest.err; then | 
|  | 10993 | soname=conftest | 
|  | 10994 | lib=conftest | 
|  | 10995 | libobjs=conftest.$ac_objext | 
|  | 10996 | deplibs= | 
|  | 10997 | wl=$lt_prog_compiler_wl_CXX | 
|  | 10998 | compiler_flags=-v | 
|  | 10999 | linker_flags=-v | 
|  | 11000 | verstring= | 
|  | 11001 | output_objdir=. | 
|  | 11002 | libname=conftest | 
|  | 11003 | lt_save_allow_undefined_flag=$allow_undefined_flag_CXX | 
|  | 11004 | allow_undefined_flag_CXX= | 
|  | 11005 | if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
|  | 11006 | (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
|  | 11007 | ac_status=$? | 
|  | 11008 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11009 | (exit $ac_status); } | 
|  | 11010 | then | 
|  | 11011 | archive_cmds_need_lc_CXX=no | 
|  | 11012 | else | 
|  | 11013 | archive_cmds_need_lc_CXX=yes | 
|  | 11014 | fi | 
|  | 11015 | allow_undefined_flag_CXX=$lt_save_allow_undefined_flag | 
|  | 11016 | else | 
|  | 11017 | cat conftest.err 1>&5 | 
|  | 11018 | fi | 
|  | 11019 | $rm conftest* | 
|  | 11020 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 | 
|  | 11021 | echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6 | 
|  | 11022 | ;; | 
|  | 11023 | esac | 
|  | 11024 | fi | 
|  | 11025 | ;; | 
|  | 11026 | esac | 
|  | 11027 |  | 
|  | 11028 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
|  | 11029 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
|  | 11030 | hardcode_action_CXX= | 
|  | 11031 | if test -n "$hardcode_libdir_flag_spec_CXX" || \ | 
|  | 11032 | test -n "$runpath_var CXX" || \ | 
|  | 11033 | test "X$hardcode_automatic_CXX"="Xyes" ; then | 
|  | 11034 |  | 
|  | 11035 | # We can hardcode non-existant directories. | 
|  | 11036 | if test "$hardcode_direct_CXX" != no && | 
|  | 11037 | # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
|  | 11038 | # have to relink, otherwise we might link with an installed library | 
|  | 11039 | # when we should be linking with a yet-to-be-installed one | 
|  | 11040 | ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no && | 
|  | 11041 | test "$hardcode_minus_L_CXX" != no; then | 
|  | 11042 | # Linking always hardcodes the temporary library directory. | 
|  | 11043 | hardcode_action_CXX=relink | 
|  | 11044 | else | 
|  | 11045 | # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
|  | 11046 | hardcode_action_CXX=immediate | 
|  | 11047 | fi | 
|  | 11048 | else | 
|  | 11049 | # We cannot hardcode anything, or else we can only hardcode existing | 
|  | 11050 | # directories. | 
|  | 11051 | hardcode_action_CXX=unsupported | 
|  | 11052 | fi | 
|  | 11053 | echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 | 
|  | 11054 | echo "${ECHO_T}$hardcode_action_CXX" >&6 | 
|  | 11055 |  | 
|  | 11056 | if test "$hardcode_action_CXX" = relink; then | 
|  | 11057 | # Fast installation is not supported | 
|  | 11058 | enable_fast_install=no | 
|  | 11059 | elif test "$shlibpath_overrides_runpath" = yes || | 
|  | 11060 | test "$enable_shared" = no; then | 
|  | 11061 | # Fast installation is not necessary | 
|  | 11062 | enable_fast_install=needless | 
|  | 11063 | fi | 
|  | 11064 |  | 
|  | 11065 | striplib= | 
|  | 11066 | old_striplib= | 
|  | 11067 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
|  | 11068 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
|  | 11069 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
|  | 11070 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
|  | 11071 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
|  | 11072 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 11073 | echo "${ECHO_T}yes" >&6 | 
|  | 11074 | else | 
|  | 11075 | # FIXME - insert some real tests, host_os isn't really good enough | 
|  | 11076 | case $host_os in | 
|  | 11077 | darwin*) | 
|  | 11078 | if test -n "$STRIP" ; then | 
|  | 11079 | striplib="$STRIP -x" | 
|  | 11080 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 11081 | echo "${ECHO_T}yes" >&6 | 
|  | 11082 | else | 
|  | 11083 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 11084 | echo "${ECHO_T}no" >&6 | 
|  | 11085 | fi | 
|  | 11086 | ;; | 
|  | 11087 | *) | 
|  | 11088 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 11089 | echo "${ECHO_T}no" >&6 | 
|  | 11090 | ;; | 
|  | 11091 | esac | 
|  | 11092 | fi | 
|  | 11093 |  | 
|  | 11094 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
|  | 11095 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
|  | 11096 | library_names_spec= | 
|  | 11097 | libname_spec='lib$name' | 
|  | 11098 | soname_spec= | 
|  | 11099 | shrext=".so" | 
|  | 11100 | postinstall_cmds= | 
|  | 11101 | postuninstall_cmds= | 
|  | 11102 | finish_cmds= | 
|  | 11103 | finish_eval= | 
|  | 11104 | shlibpath_var= | 
|  | 11105 | shlibpath_overrides_runpath=unknown | 
|  | 11106 | version_type=none | 
|  | 11107 | dynamic_linker="$host_os ld.so" | 
|  | 11108 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
|  | 11109 | if test "$GCC" = yes; then | 
|  | 11110 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 11111 | if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
|  | 11112 | # if the path contains ";" then we assume it to be the separator | 
|  | 11113 | # otherwise default to the standard path separator (i.e. ":") - it is | 
|  | 11114 | # assumed that no part of a normal pathname contains ";" but that should | 
|  | 11115 | # okay in the real world where ";" in dirpaths is itself problematic. | 
|  | 11116 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 11117 | else | 
|  | 11118 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 11119 | fi | 
|  | 11120 | else | 
|  | 11121 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
|  | 11122 | fi | 
|  | 11123 | need_lib_prefix=unknown | 
|  | 11124 | hardcode_into_libs=no | 
|  | 11125 |  | 
|  | 11126 | # when you set need_version to no, make sure it does not cause -set_version | 
|  | 11127 | # flags to be left without arguments | 
|  | 11128 | need_version=unknown | 
|  | 11129 |  | 
|  | 11130 | case $host_os in | 
|  | 11131 | aix3*) | 
|  | 11132 | version_type=linux | 
|  | 11133 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
|  | 11134 | shlibpath_var=LIBPATH | 
|  | 11135 |  | 
|  | 11136 | # AIX 3 has no versioning support, so we append a major version to the name. | 
|  | 11137 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11138 | ;; | 
|  | 11139 |  | 
|  | 11140 | aix4* | aix5*) | 
|  | 11141 | version_type=linux | 
|  | 11142 | need_lib_prefix=no | 
|  | 11143 | need_version=no | 
|  | 11144 | hardcode_into_libs=yes | 
|  | 11145 | if test "$host_cpu" = ia64; then | 
|  | 11146 | # AIX 5 supports IA64 | 
|  | 11147 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
|  | 11148 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11149 | else | 
|  | 11150 | # With GCC up to 2.95.x, collect2 would create an import file | 
|  | 11151 | # for dependence libraries.  The import file would start with | 
|  | 11152 | # the line `#! .'.  This would cause the generated library to | 
|  | 11153 | # depend on `.', always an invalid library.  This was fixed in | 
|  | 11154 | # development snapshots of GCC prior to 3.0. | 
|  | 11155 | case $host_os in | 
|  | 11156 | aix4 | aix4.[01] | aix4.[01].*) | 
|  | 11157 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
|  | 11158 | echo ' yes ' | 
|  | 11159 | echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
|  | 11160 | : | 
|  | 11161 | else | 
|  | 11162 | can_build_shared=no | 
|  | 11163 | fi | 
|  | 11164 | ;; | 
|  | 11165 | esac | 
|  | 11166 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
|  | 11167 | # soname into executable. Probably we can add versioning support to | 
|  | 11168 | # collect2, so additional links can be useful in future. | 
|  | 11169 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 11170 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
|  | 11171 | # instead of lib<name>.a to let people know that these are not | 
|  | 11172 | # typical AIX shared libraries. | 
|  | 11173 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11174 | else | 
|  | 11175 | # We preserve .a as extension for shared libraries through AIX4.2 | 
|  | 11176 | # and later when we are not doing run time linking. | 
|  | 11177 | library_names_spec='${libname}${release}.a $libname.a' | 
|  | 11178 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11179 | fi | 
|  | 11180 | shlibpath_var=LIBPATH | 
|  | 11181 | fi | 
|  | 11182 | ;; | 
|  | 11183 |  | 
|  | 11184 | amigaos*) | 
|  | 11185 | library_names_spec='$libname.ixlibrary $libname.a' | 
|  | 11186 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
|  | 11187 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
|  | 11188 | ;; | 
|  | 11189 |  | 
|  | 11190 | beos*) | 
|  | 11191 | library_names_spec='${libname}${shared_ext}' | 
|  | 11192 | dynamic_linker="$host_os ld.so" | 
|  | 11193 | shlibpath_var=LIBRARY_PATH | 
|  | 11194 | ;; | 
|  | 11195 |  | 
|  | 11196 | bsdi4*) | 
|  | 11197 | version_type=linux | 
|  | 11198 | need_version=no | 
|  | 11199 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11200 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11201 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
|  | 11202 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11203 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
|  | 11204 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
|  | 11205 | # the default ld.so.conf also contains /usr/contrib/lib and | 
|  | 11206 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
|  | 11207 | # libtool to hard-code these into programs | 
|  | 11208 | ;; | 
|  | 11209 |  | 
|  | 11210 | cygwin* | mingw* | pw32*) | 
|  | 11211 | version_type=windows | 
|  | 11212 | shrext=".dll" | 
|  | 11213 | need_version=no | 
|  | 11214 | need_lib_prefix=no | 
|  | 11215 |  | 
|  | 11216 | case $GCC,$host_os in | 
|  | 11217 | yes,cygwin* | yes,mingw* | yes,pw32*) | 
|  | 11218 | library_names_spec='$libname.dll.a' | 
|  | 11219 | # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
|  | 11220 | postinstall_cmds='base_file=`basename \${file}`~ | 
|  | 11221 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
|  | 11222 | dldir=$destdir/`dirname \$dlpath`~ | 
|  | 11223 | test -d \$dldir || mkdir -p \$dldir~ | 
|  | 11224 | $install_prog $dir/$dlname \$dldir/$dlname' | 
|  | 11225 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
|  | 11226 | dlpath=$dir/\$dldll~ | 
|  | 11227 | $rm \$dlpath' | 
|  | 11228 | shlibpath_overrides_runpath=yes | 
|  | 11229 |  | 
|  | 11230 | case $host_os in | 
|  | 11231 | cygwin*) | 
|  | 11232 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
|  | 11233 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 11234 | sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
|  | 11235 | ;; | 
|  | 11236 | mingw*) | 
|  | 11237 | # MinGW DLLs use traditional 'lib' prefix | 
|  | 11238 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 11239 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 11240 | if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
|  | 11241 | # It is most probably a Windows format PATH printed by | 
|  | 11242 | # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
|  | 11243 | # path with ; separators, and with drive letters. We can handle the | 
|  | 11244 | # drive letters (cygwin fileutils understands them), so leave them, | 
|  | 11245 | # especially as we might pass files found there to a mingw objdump, | 
|  | 11246 | # which wouldn't understand a cygwinified path. Ahh. | 
|  | 11247 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 11248 | else | 
|  | 11249 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 11250 | fi | 
|  | 11251 | ;; | 
|  | 11252 | pw32*) | 
|  | 11253 | # pw32 DLLs use 'pw' prefix rather than 'lib' | 
|  | 11254 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
|  | 11255 | ;; | 
|  | 11256 | esac | 
|  | 11257 | ;; | 
|  | 11258 |  | 
|  | 11259 | *) | 
|  | 11260 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
|  | 11261 | ;; | 
|  | 11262 | esac | 
|  | 11263 | dynamic_linker='Win32 ld.exe' | 
|  | 11264 | # FIXME: first we should search . and the directory the executable is in | 
|  | 11265 | shlibpath_var=PATH | 
|  | 11266 | ;; | 
|  | 11267 |  | 
|  | 11268 | darwin* | rhapsody*) | 
|  | 11269 | dynamic_linker="$host_os dyld" | 
|  | 11270 | version_type=darwin | 
|  | 11271 | need_lib_prefix=no | 
|  | 11272 | need_version=no | 
|  | 11273 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 11274 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 11275 | #        yet detect zsh echo's removal of \ escapes. | 
|  | 11276 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
|  | 11277 | soname_spec='${libname}${release}${major}$shared_ext' | 
|  | 11278 | shlibpath_overrides_runpath=yes | 
|  | 11279 | shlibpath_var=DYLD_LIBRARY_PATH | 
|  | 11280 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
|  | 11281 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
|  | 11282 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 11283 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
|  | 11284 | fi | 
|  | 11285 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
|  | 11286 | ;; | 
|  | 11287 |  | 
|  | 11288 | dgux*) | 
|  | 11289 | version_type=linux | 
|  | 11290 | need_lib_prefix=no | 
|  | 11291 | need_version=no | 
|  | 11292 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
|  | 11293 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11294 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11295 | ;; | 
|  | 11296 |  | 
|  | 11297 | freebsd1*) | 
|  | 11298 | dynamic_linker=no | 
|  | 11299 | ;; | 
|  | 11300 |  | 
|  | 11301 | freebsd*) | 
|  | 11302 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
|  | 11303 | version_type=freebsd-$objformat | 
|  | 11304 | case $version_type in | 
|  | 11305 | freebsd-elf*) | 
|  | 11306 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
|  | 11307 | need_version=no | 
|  | 11308 | need_lib_prefix=no | 
|  | 11309 | ;; | 
|  | 11310 | freebsd-*) | 
|  | 11311 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
|  | 11312 | need_version=yes | 
|  | 11313 | ;; | 
|  | 11314 | esac | 
|  | 11315 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11316 | case $host_os in | 
|  | 11317 | freebsd2*) | 
|  | 11318 | shlibpath_overrides_runpath=yes | 
|  | 11319 | ;; | 
|  | 11320 | freebsd3.01* | freebsdelf3.01*) | 
|  | 11321 | shlibpath_overrides_runpath=yes | 
|  | 11322 | hardcode_into_libs=yes | 
|  | 11323 | ;; | 
|  | 11324 | *) # from 3.2 on | 
|  | 11325 | shlibpath_overrides_runpath=no | 
|  | 11326 | hardcode_into_libs=yes | 
|  | 11327 | ;; | 
|  | 11328 | esac | 
|  | 11329 | ;; | 
|  | 11330 |  | 
|  | 11331 | gnu*) | 
|  | 11332 | version_type=linux | 
|  | 11333 | need_lib_prefix=no | 
|  | 11334 | need_version=no | 
|  | 11335 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
|  | 11336 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11337 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11338 | hardcode_into_libs=yes | 
|  | 11339 | ;; | 
|  | 11340 |  | 
|  | 11341 | hpux9* | hpux10* | hpux11*) | 
|  | 11342 | # Give a soname corresponding to the major version so that dld.sl refuses to | 
|  | 11343 | # link against other versions. | 
|  | 11344 | version_type=sunos | 
|  | 11345 | need_lib_prefix=no | 
|  | 11346 | need_version=no | 
|  | 11347 | case "$host_cpu" in | 
|  | 11348 | ia64*) | 
|  | 11349 | shrext='.so' | 
|  | 11350 | hardcode_into_libs=yes | 
|  | 11351 | dynamic_linker="$host_os dld.so" | 
|  | 11352 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11353 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 11354 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11355 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11356 | if test "X$HPUX_IA64_MODE" = X32; then | 
|  | 11357 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
|  | 11358 | else | 
|  | 11359 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
|  | 11360 | fi | 
|  | 11361 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 11362 | ;; | 
|  | 11363 | hppa*64*) | 
|  | 11364 | shrext='.sl' | 
|  | 11365 | hardcode_into_libs=yes | 
|  | 11366 | dynamic_linker="$host_os dld.sl" | 
|  | 11367 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
|  | 11368 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 11369 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11370 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11371 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
|  | 11372 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 11373 | ;; | 
|  | 11374 | *) | 
|  | 11375 | shrext='.sl' | 
|  | 11376 | dynamic_linker="$host_os dld.sl" | 
|  | 11377 | shlibpath_var=SHLIB_PATH | 
|  | 11378 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
|  | 11379 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11380 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11381 | ;; | 
|  | 11382 | esac | 
|  | 11383 | # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
|  | 11384 | postinstall_cmds='chmod 555 $lib' | 
|  | 11385 | ;; | 
|  | 11386 |  | 
|  | 11387 | irix5* | irix6* | nonstopux*) | 
|  | 11388 | case $host_os in | 
|  | 11389 | nonstopux*) version_type=nonstopux ;; | 
|  | 11390 | *) | 
|  | 11391 | if test "$lt_cv_prog_gnu_ld" = yes; then | 
|  | 11392 | version_type=linux | 
|  | 11393 | else | 
|  | 11394 | version_type=irix | 
|  | 11395 | fi ;; | 
|  | 11396 | esac | 
|  | 11397 | need_lib_prefix=no | 
|  | 11398 | need_version=no | 
|  | 11399 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11400 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
|  | 11401 | case $host_os in | 
|  | 11402 | irix5* | nonstopux*) | 
|  | 11403 | libsuff= shlibsuff= | 
|  | 11404 | ;; | 
|  | 11405 | *) | 
|  | 11406 | case $LD in # libtool.m4 will add one of these switches to LD | 
|  | 11407 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
|  | 11408 | libsuff= shlibsuff= libmagic=32-bit;; | 
|  | 11409 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
|  | 11410 | libsuff=32 shlibsuff=N32 libmagic=N32;; | 
|  | 11411 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
|  | 11412 | libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
|  | 11413 | *) libsuff= shlibsuff= libmagic=never-match;; | 
|  | 11414 | esac | 
|  | 11415 | ;; | 
|  | 11416 | esac | 
|  | 11417 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
|  | 11418 | shlibpath_overrides_runpath=no | 
|  | 11419 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
|  | 11420 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
|  | 11421 | hardcode_into_libs=yes | 
|  | 11422 | ;; | 
|  | 11423 |  | 
|  | 11424 | # No shared lib support for Linux oldld, aout, or coff. | 
|  | 11425 | linux*oldld* | linux*aout* | linux*coff*) | 
|  | 11426 | dynamic_linker=no | 
|  | 11427 | ;; | 
|  | 11428 |  | 
|  | 11429 | # This must be Linux ELF. | 
|  | 11430 | linux*) | 
|  | 11431 | version_type=linux | 
|  | 11432 | need_lib_prefix=no | 
|  | 11433 | need_version=no | 
|  | 11434 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11435 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11436 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
|  | 11437 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11438 | shlibpath_overrides_runpath=no | 
|  | 11439 | # This implies no fast_install, which is unacceptable. | 
|  | 11440 | # Some rework will be needed to allow for fast_install | 
|  | 11441 | # before this can be enabled. | 
|  | 11442 | hardcode_into_libs=yes | 
|  | 11443 |  | 
|  | 11444 | # We used to test for /lib/ld.so.1 and disable shared libraries on | 
|  | 11445 | # powerpc, because MkLinux only supported shared libraries with the | 
|  | 11446 | # GNU dynamic linker.  Since this was broken with cross compilers, | 
|  | 11447 | # most powerpc-linux boxes support dynamic linking these days and | 
|  | 11448 | # people can always --disable-shared, the test was removed, and we | 
|  | 11449 | # assume the GNU/Linux dynamic linker is in use. | 
|  | 11450 | dynamic_linker='GNU/Linux ld.so' | 
|  | 11451 | ;; | 
|  | 11452 |  | 
|  | 11453 | netbsd*) | 
|  | 11454 | version_type=sunos | 
|  | 11455 | need_lib_prefix=no | 
|  | 11456 | need_version=no | 
|  | 11457 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 11458 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 11459 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 11460 | dynamic_linker='NetBSD (a.out) ld.so' | 
|  | 11461 | else | 
|  | 11462 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
|  | 11463 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11464 | dynamic_linker='NetBSD ld.elf_so' | 
|  | 11465 | fi | 
|  | 11466 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11467 | shlibpath_overrides_runpath=yes | 
|  | 11468 | hardcode_into_libs=yes | 
|  | 11469 | ;; | 
|  | 11470 |  | 
|  | 11471 | newsos6) | 
|  | 11472 | version_type=linux | 
|  | 11473 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11474 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11475 | shlibpath_overrides_runpath=yes | 
|  | 11476 | ;; | 
|  | 11477 |  | 
|  | 11478 | nto-qnx) | 
|  | 11479 | version_type=linux | 
|  | 11480 | need_lib_prefix=no | 
|  | 11481 | need_version=no | 
|  | 11482 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11483 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11484 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11485 | shlibpath_overrides_runpath=yes | 
|  | 11486 | ;; | 
|  | 11487 |  | 
|  | 11488 | openbsd*) | 
|  | 11489 | version_type=sunos | 
|  | 11490 | need_lib_prefix=no | 
|  | 11491 | need_version=no | 
|  | 11492 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 11493 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 11494 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11495 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
|  | 11496 | case $host_os in | 
|  | 11497 | openbsd2.[89] | openbsd2.[89].*) | 
|  | 11498 | shlibpath_overrides_runpath=no | 
|  | 11499 | ;; | 
|  | 11500 | *) | 
|  | 11501 | shlibpath_overrides_runpath=yes | 
|  | 11502 | ;; | 
|  | 11503 | esac | 
|  | 11504 | else | 
|  | 11505 | shlibpath_overrides_runpath=yes | 
|  | 11506 | fi | 
|  | 11507 | ;; | 
|  | 11508 |  | 
|  | 11509 | os2*) | 
|  | 11510 | libname_spec='$name' | 
|  | 11511 | shrext=".dll" | 
|  | 11512 | need_lib_prefix=no | 
|  | 11513 | library_names_spec='$libname${shared_ext} $libname.a' | 
|  | 11514 | dynamic_linker='OS/2 ld.exe' | 
|  | 11515 | shlibpath_var=LIBPATH | 
|  | 11516 | ;; | 
|  | 11517 |  | 
|  | 11518 | osf3* | osf4* | osf5*) | 
|  | 11519 | version_type=osf | 
|  | 11520 | need_lib_prefix=no | 
|  | 11521 | need_version=no | 
|  | 11522 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11523 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11524 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11525 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
|  | 11526 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
|  | 11527 | ;; | 
|  | 11528 |  | 
|  | 11529 | sco3.2v5*) | 
|  | 11530 | version_type=osf | 
|  | 11531 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11532 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11533 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11534 | ;; | 
|  | 11535 |  | 
|  | 11536 | solaris*) | 
|  | 11537 | version_type=linux | 
|  | 11538 | need_lib_prefix=no | 
|  | 11539 | need_version=no | 
|  | 11540 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11541 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11542 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11543 | shlibpath_overrides_runpath=yes | 
|  | 11544 | hardcode_into_libs=yes | 
|  | 11545 | # ldd complains unless libraries are executable | 
|  | 11546 | postinstall_cmds='chmod +x $lib' | 
|  | 11547 | ;; | 
|  | 11548 |  | 
|  | 11549 | sunos4*) | 
|  | 11550 | version_type=sunos | 
|  | 11551 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 11552 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
|  | 11553 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11554 | shlibpath_overrides_runpath=yes | 
|  | 11555 | if test "$with_gnu_ld" = yes; then | 
|  | 11556 | need_lib_prefix=no | 
|  | 11557 | fi | 
|  | 11558 | need_version=yes | 
|  | 11559 | ;; | 
|  | 11560 |  | 
|  | 11561 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  | 11562 | version_type=linux | 
|  | 11563 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11564 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11565 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11566 | case $host_vendor in | 
|  | 11567 | sni) | 
|  | 11568 | shlibpath_overrides_runpath=no | 
|  | 11569 | need_lib_prefix=no | 
|  | 11570 | export_dynamic_flag_spec='${wl}-Blargedynsym' | 
|  | 11571 | runpath_var=LD_RUN_PATH | 
|  | 11572 | ;; | 
|  | 11573 | siemens) | 
|  | 11574 | need_lib_prefix=no | 
|  | 11575 | ;; | 
|  | 11576 | motorola) | 
|  | 11577 | need_lib_prefix=no | 
|  | 11578 | need_version=no | 
|  | 11579 | shlibpath_overrides_runpath=no | 
|  | 11580 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
|  | 11581 | ;; | 
|  | 11582 | esac | 
|  | 11583 | ;; | 
|  | 11584 |  | 
|  | 11585 | sysv4*MP*) | 
|  | 11586 | if test -d /usr/nec ;then | 
|  | 11587 | version_type=linux | 
|  | 11588 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
|  | 11589 | soname_spec='$libname${shared_ext}.$major' | 
|  | 11590 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11591 | fi | 
|  | 11592 | ;; | 
|  | 11593 |  | 
|  | 11594 | uts4*) | 
|  | 11595 | version_type=linux | 
|  | 11596 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 11597 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 11598 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 11599 | ;; | 
|  | 11600 |  | 
|  | 11601 | *) | 
|  | 11602 | dynamic_linker=no | 
|  | 11603 | ;; | 
|  | 11604 | esac | 
|  | 11605 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
|  | 11606 | echo "${ECHO_T}$dynamic_linker" >&6 | 
|  | 11607 | test "$dynamic_linker" = no && can_build_shared=no | 
|  | 11608 |  | 
|  | 11609 | if test "x$enable_dlopen" != xyes; then | 
|  | 11610 | enable_dlopen=unknown | 
|  | 11611 | enable_dlopen_self=unknown | 
|  | 11612 | enable_dlopen_self_static=unknown | 
|  | 11613 | else | 
|  | 11614 | lt_cv_dlopen=no | 
|  | 11615 | lt_cv_dlopen_libs= | 
|  | 11616 |  | 
|  | 11617 | case $host_os in | 
|  | 11618 | beos*) | 
|  | 11619 | lt_cv_dlopen="load_add_on" | 
|  | 11620 | lt_cv_dlopen_libs= | 
|  | 11621 | lt_cv_dlopen_self=yes | 
|  | 11622 | ;; | 
|  | 11623 |  | 
|  | 11624 | mingw* | pw32*) | 
|  | 11625 | lt_cv_dlopen="LoadLibrary" | 
|  | 11626 | lt_cv_dlopen_libs= | 
|  | 11627 | ;; | 
|  | 11628 |  | 
|  | 11629 | cygwin*) | 
|  | 11630 | lt_cv_dlopen="dlopen" | 
|  | 11631 | lt_cv_dlopen_libs= | 
|  | 11632 | ;; | 
|  | 11633 |  | 
|  | 11634 | darwin*) | 
|  | 11635 | # if libdl is installed we need to link against it | 
|  | 11636 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
|  | 11637 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
|  | 11638 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
|  | 11639 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 11640 | else | 
|  | 11641 | ac_check_lib_save_LIBS=$LIBS | 
|  | 11642 | LIBS="-ldl  $LIBS" | 
|  | 11643 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 11644 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11645 | /* confdefs.h.  */ | 
|  | 11646 | _ACEOF | 
|  | 11647 | cat confdefs.h >>conftest.$ac_ext | 
|  | 11648 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 11649 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11650 |  | 
|  | 11651 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 11652 | #ifdef __cplusplus | 
|  | 11653 | extern "C" | 
|  | 11654 | #endif | 
|  | 11655 | /* We use char because int might match the return type of a gcc2 | 
|  | 11656 | builtin and then its argument prototype would still apply.  */ | 
|  | 11657 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11658 | int | 
|  | 11659 | main () | 
|  | 11660 | { | 
|  | 11661 | dlopen (); | 
|  | 11662 | ; | 
|  | 11663 | return 0; | 
|  | 11664 | } | 
|  | 11665 | _ACEOF | 
|  | 11666 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 11667 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 11668 | (eval $ac_link) 2>&5 | 
|  | 11669 | ac_status=$? | 
|  | 11670 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11671 | (exit $ac_status); } && | 
|  | 11672 | { ac_try='test -s conftest$ac_exeext' | 
|  | 11673 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 11674 | (eval $ac_try) 2>&5 | 
|  | 11675 | ac_status=$? | 
|  | 11676 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11677 | (exit $ac_status); }; }; then | 
|  | 11678 | ac_cv_lib_dl_dlopen=yes | 
|  | 11679 | else | 
|  | 11680 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11681 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 11682 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11683 | ac_cv_lib_dl_dlopen=no | 
|  | 11684 | fi | 
|  | 11685 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 11686 | LIBS=$ac_check_lib_save_LIBS | 
|  | 11687 | fi | 
|  | 11688 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
|  | 11689 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
|  | 11690 | if test $ac_cv_lib_dl_dlopen = yes; then | 
|  | 11691 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
|  | 11692 | else | 
|  | 11693 |  | 
|  | 11694 | lt_cv_dlopen="dyld" | 
|  | 11695 | lt_cv_dlopen_libs= | 
|  | 11696 | lt_cv_dlopen_self=yes | 
|  | 11697 |  | 
|  | 11698 | fi | 
|  | 11699 |  | 
|  | 11700 | ;; | 
|  | 11701 |  | 
|  | 11702 | *) | 
|  | 11703 | echo "$as_me:$LINENO: checking for shl_load" >&5 | 
|  | 11704 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
|  | 11705 | if test "${ac_cv_func_shl_load+set}" = set; then | 
|  | 11706 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 11707 | else | 
|  | 11708 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 11709 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11710 | /* confdefs.h.  */ | 
|  | 11711 | _ACEOF | 
|  | 11712 | cat confdefs.h >>conftest.$ac_ext | 
|  | 11713 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 11714 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11715 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11716 | which can conflict with char shl_load (); below. | 
|  | 11717 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 11718 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 11719 | #ifdef __STDC__ | 
|  | 11720 | # include <limits.h> | 
|  | 11721 | #else | 
|  | 11722 | # include <assert.h> | 
|  | 11723 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11724 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 11725 | #ifdef __cplusplus | 
|  | 11726 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11727 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11728 | #endif | 
|  | 11729 | /* We use char because int might match the return type of a gcc2 | 
|  | 11730 | builtin and then its argument prototype would still apply.  */ | 
|  | 11731 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11732 | /* The GNU C library defines this for functions which it implements | 
|  | 11733 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 11734 | something starting with __ and the normal name is an alias.  */ | 
|  | 11735 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
|  | 11736 | choke me | 
|  | 11737 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11738 | char (*f) () = shl_load; | 
|  | 11739 | #endif | 
|  | 11740 | #ifdef __cplusplus | 
|  | 11741 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11742 | #endif | 
|  | 11743 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11744 | int | 
|  | 11745 | main () | 
|  | 11746 | { | 
|  | 11747 | return f != shl_load; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11748 | ; | 
|  | 11749 | return 0; | 
|  | 11750 | } | 
|  | 11751 | _ACEOF | 
|  | 11752 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 11753 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 11754 | (eval $ac_link) 2>&5 | 
|  | 11755 | ac_status=$? | 
|  | 11756 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11757 | (exit $ac_status); } && | 
|  | 11758 | { ac_try='test -s conftest$ac_exeext' | 
|  | 11759 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 11760 | (eval $ac_try) 2>&5 | 
|  | 11761 | ac_status=$? | 
|  | 11762 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11763 | (exit $ac_status); }; }; then | 
|  | 11764 | ac_cv_func_shl_load=yes | 
|  | 11765 | else | 
|  | 11766 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11767 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 11768 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11769 | ac_cv_func_shl_load=no | 
|  | 11770 | fi | 
|  | 11771 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 11772 | fi | 
|  | 11773 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
|  | 11774 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
|  | 11775 | if test $ac_cv_func_shl_load = yes; then | 
|  | 11776 | lt_cv_dlopen="shl_load" | 
|  | 11777 | else | 
|  | 11778 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
|  | 11779 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
|  | 11780 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
|  | 11781 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 11782 | else | 
|  | 11783 | ac_check_lib_save_LIBS=$LIBS | 
|  | 11784 | LIBS="-ldld  $LIBS" | 
|  | 11785 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 11786 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11787 | /* confdefs.h.  */ | 
|  | 11788 | _ACEOF | 
|  | 11789 | cat confdefs.h >>conftest.$ac_ext | 
|  | 11790 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 11791 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11792 |  | 
|  | 11793 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 11794 | #ifdef __cplusplus | 
|  | 11795 | extern "C" | 
|  | 11796 | #endif | 
|  | 11797 | /* We use char because int might match the return type of a gcc2 | 
|  | 11798 | builtin and then its argument prototype would still apply.  */ | 
|  | 11799 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11800 | int | 
|  | 11801 | main () | 
|  | 11802 | { | 
|  | 11803 | shl_load (); | 
|  | 11804 | ; | 
|  | 11805 | return 0; | 
|  | 11806 | } | 
|  | 11807 | _ACEOF | 
|  | 11808 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 11809 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 11810 | (eval $ac_link) 2>&5 | 
|  | 11811 | ac_status=$? | 
|  | 11812 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11813 | (exit $ac_status); } && | 
|  | 11814 | { ac_try='test -s conftest$ac_exeext' | 
|  | 11815 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 11816 | (eval $ac_try) 2>&5 | 
|  | 11817 | ac_status=$? | 
|  | 11818 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11819 | (exit $ac_status); }; }; then | 
|  | 11820 | ac_cv_lib_dld_shl_load=yes | 
|  | 11821 | else | 
|  | 11822 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11823 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 11824 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11825 | ac_cv_lib_dld_shl_load=no | 
|  | 11826 | fi | 
|  | 11827 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 11828 | LIBS=$ac_check_lib_save_LIBS | 
|  | 11829 | fi | 
|  | 11830 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
|  | 11831 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
|  | 11832 | if test $ac_cv_lib_dld_shl_load = yes; then | 
|  | 11833 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
|  | 11834 | else | 
|  | 11835 | echo "$as_me:$LINENO: checking for dlopen" >&5 | 
|  | 11836 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
|  | 11837 | if test "${ac_cv_func_dlopen+set}" = set; then | 
|  | 11838 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 11839 | else | 
|  | 11840 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 11841 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11842 | /* confdefs.h.  */ | 
|  | 11843 | _ACEOF | 
|  | 11844 | cat confdefs.h >>conftest.$ac_ext | 
|  | 11845 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 11846 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11847 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11848 | which can conflict with char dlopen (); below. | 
|  | 11849 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 11850 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 11851 | #ifdef __STDC__ | 
|  | 11852 | # include <limits.h> | 
|  | 11853 | #else | 
|  | 11854 | # include <assert.h> | 
|  | 11855 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11856 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 11857 | #ifdef __cplusplus | 
|  | 11858 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11859 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11860 | #endif | 
|  | 11861 | /* We use char because int might match the return type of a gcc2 | 
|  | 11862 | builtin and then its argument prototype would still apply.  */ | 
|  | 11863 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11864 | /* The GNU C library defines this for functions which it implements | 
|  | 11865 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 11866 | something starting with __ and the normal name is an alias.  */ | 
|  | 11867 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
|  | 11868 | choke me | 
|  | 11869 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11870 | char (*f) () = dlopen; | 
|  | 11871 | #endif | 
|  | 11872 | #ifdef __cplusplus | 
|  | 11873 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11874 | #endif | 
|  | 11875 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11876 | int | 
|  | 11877 | main () | 
|  | 11878 | { | 
|  | 11879 | return f != dlopen; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11880 | ; | 
|  | 11881 | return 0; | 
|  | 11882 | } | 
|  | 11883 | _ACEOF | 
|  | 11884 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 11885 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 11886 | (eval $ac_link) 2>&5 | 
|  | 11887 | ac_status=$? | 
|  | 11888 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11889 | (exit $ac_status); } && | 
|  | 11890 | { ac_try='test -s conftest$ac_exeext' | 
|  | 11891 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 11892 | (eval $ac_try) 2>&5 | 
|  | 11893 | ac_status=$? | 
|  | 11894 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11895 | (exit $ac_status); }; }; then | 
|  | 11896 | ac_cv_func_dlopen=yes | 
|  | 11897 | else | 
|  | 11898 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11899 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 11900 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11901 | ac_cv_func_dlopen=no | 
|  | 11902 | fi | 
|  | 11903 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 11904 | fi | 
|  | 11905 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
|  | 11906 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
|  | 11907 | if test $ac_cv_func_dlopen = yes; then | 
|  | 11908 | lt_cv_dlopen="dlopen" | 
|  | 11909 | else | 
|  | 11910 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
|  | 11911 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
|  | 11912 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
|  | 11913 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 11914 | else | 
|  | 11915 | ac_check_lib_save_LIBS=$LIBS | 
|  | 11916 | LIBS="-ldl  $LIBS" | 
|  | 11917 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 11918 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11919 | /* confdefs.h.  */ | 
|  | 11920 | _ACEOF | 
|  | 11921 | cat confdefs.h >>conftest.$ac_ext | 
|  | 11922 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 11923 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11924 |  | 
|  | 11925 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 11926 | #ifdef __cplusplus | 
|  | 11927 | extern "C" | 
|  | 11928 | #endif | 
|  | 11929 | /* We use char because int might match the return type of a gcc2 | 
|  | 11930 | builtin and then its argument prototype would still apply.  */ | 
|  | 11931 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11932 | int | 
|  | 11933 | main () | 
|  | 11934 | { | 
|  | 11935 | dlopen (); | 
|  | 11936 | ; | 
|  | 11937 | return 0; | 
|  | 11938 | } | 
|  | 11939 | _ACEOF | 
|  | 11940 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 11941 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 11942 | (eval $ac_link) 2>&5 | 
|  | 11943 | ac_status=$? | 
|  | 11944 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11945 | (exit $ac_status); } && | 
|  | 11946 | { ac_try='test -s conftest$ac_exeext' | 
|  | 11947 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 11948 | (eval $ac_try) 2>&5 | 
|  | 11949 | ac_status=$? | 
|  | 11950 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 11951 | (exit $ac_status); }; }; then | 
|  | 11952 | ac_cv_lib_dl_dlopen=yes | 
|  | 11953 | else | 
|  | 11954 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11955 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 11956 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11957 | ac_cv_lib_dl_dlopen=no | 
|  | 11958 | fi | 
|  | 11959 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 11960 | LIBS=$ac_check_lib_save_LIBS | 
|  | 11961 | fi | 
|  | 11962 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
|  | 11963 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
|  | 11964 | if test $ac_cv_lib_dl_dlopen = yes; then | 
|  | 11965 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
|  | 11966 | else | 
|  | 11967 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
|  | 11968 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
|  | 11969 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
|  | 11970 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 11971 | else | 
|  | 11972 | ac_check_lib_save_LIBS=$LIBS | 
|  | 11973 | LIBS="-lsvld  $LIBS" | 
|  | 11974 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 11975 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 11976 | /* confdefs.h.  */ | 
|  | 11977 | _ACEOF | 
|  | 11978 | cat confdefs.h >>conftest.$ac_ext | 
|  | 11979 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 11980 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11981 |  | 
|  | 11982 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 11983 | #ifdef __cplusplus | 
|  | 11984 | extern "C" | 
|  | 11985 | #endif | 
|  | 11986 | /* We use char because int might match the return type of a gcc2 | 
|  | 11987 | builtin and then its argument prototype would still apply.  */ | 
|  | 11988 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 11989 | int | 
|  | 11990 | main () | 
|  | 11991 | { | 
|  | 11992 | dlopen (); | 
|  | 11993 | ; | 
|  | 11994 | return 0; | 
|  | 11995 | } | 
|  | 11996 | _ACEOF | 
|  | 11997 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 11998 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 11999 | (eval $ac_link) 2>&5 | 
|  | 12000 | ac_status=$? | 
|  | 12001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 12002 | (exit $ac_status); } && | 
|  | 12003 | { ac_try='test -s conftest$ac_exeext' | 
|  | 12004 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 12005 | (eval $ac_try) 2>&5 | 
|  | 12006 | ac_status=$? | 
|  | 12007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 12008 | (exit $ac_status); }; }; then | 
|  | 12009 | ac_cv_lib_svld_dlopen=yes | 
|  | 12010 | else | 
|  | 12011 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12012 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 12013 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12014 | ac_cv_lib_svld_dlopen=no | 
|  | 12015 | fi | 
|  | 12016 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 12017 | LIBS=$ac_check_lib_save_LIBS | 
|  | 12018 | fi | 
|  | 12019 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
|  | 12020 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
|  | 12021 | if test $ac_cv_lib_svld_dlopen = yes; then | 
|  | 12022 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
|  | 12023 | else | 
|  | 12024 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
|  | 12025 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
|  | 12026 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
|  | 12027 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 12028 | else | 
|  | 12029 | ac_check_lib_save_LIBS=$LIBS | 
|  | 12030 | LIBS="-ldld  $LIBS" | 
|  | 12031 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 12032 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12033 | /* confdefs.h.  */ | 
|  | 12034 | _ACEOF | 
|  | 12035 | cat confdefs.h >>conftest.$ac_ext | 
|  | 12036 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 12037 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12038 |  | 
|  | 12039 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 12040 | #ifdef __cplusplus | 
|  | 12041 | extern "C" | 
|  | 12042 | #endif | 
|  | 12043 | /* We use char because int might match the return type of a gcc2 | 
|  | 12044 | builtin and then its argument prototype would still apply.  */ | 
|  | 12045 | char dld_link (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12046 | int | 
|  | 12047 | main () | 
|  | 12048 | { | 
|  | 12049 | dld_link (); | 
|  | 12050 | ; | 
|  | 12051 | return 0; | 
|  | 12052 | } | 
|  | 12053 | _ACEOF | 
|  | 12054 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 12055 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 12056 | (eval $ac_link) 2>&5 | 
|  | 12057 | ac_status=$? | 
|  | 12058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 12059 | (exit $ac_status); } && | 
|  | 12060 | { ac_try='test -s conftest$ac_exeext' | 
|  | 12061 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 12062 | (eval $ac_try) 2>&5 | 
|  | 12063 | ac_status=$? | 
|  | 12064 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 12065 | (exit $ac_status); }; }; then | 
|  | 12066 | ac_cv_lib_dld_dld_link=yes | 
|  | 12067 | else | 
|  | 12068 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 12069 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 12070 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12071 | ac_cv_lib_dld_dld_link=no | 
|  | 12072 | fi | 
|  | 12073 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 12074 | LIBS=$ac_check_lib_save_LIBS | 
|  | 12075 | fi | 
|  | 12076 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
|  | 12077 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
|  | 12078 | if test $ac_cv_lib_dld_dld_link = yes; then | 
|  | 12079 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
|  | 12080 | fi | 
|  | 12081 |  | 
|  | 12082 |  | 
|  | 12083 | fi | 
|  | 12084 |  | 
|  | 12085 |  | 
|  | 12086 | fi | 
|  | 12087 |  | 
|  | 12088 |  | 
|  | 12089 | fi | 
|  | 12090 |  | 
|  | 12091 |  | 
|  | 12092 | fi | 
|  | 12093 |  | 
|  | 12094 |  | 
|  | 12095 | fi | 
|  | 12096 |  | 
|  | 12097 | ;; | 
|  | 12098 | esac | 
|  | 12099 |  | 
|  | 12100 | if test "x$lt_cv_dlopen" != xno; then | 
|  | 12101 | enable_dlopen=yes | 
|  | 12102 | else | 
|  | 12103 | enable_dlopen=no | 
|  | 12104 | fi | 
|  | 12105 |  | 
|  | 12106 | case $lt_cv_dlopen in | 
|  | 12107 | dlopen) | 
|  | 12108 | save_CPPFLAGS="$CPPFLAGS" | 
|  | 12109 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
|  | 12110 |  | 
|  | 12111 | save_LDFLAGS="$LDFLAGS" | 
|  | 12112 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
|  | 12113 |  | 
|  | 12114 | save_LIBS="$LIBS" | 
|  | 12115 | LIBS="$lt_cv_dlopen_libs $LIBS" | 
|  | 12116 |  | 
|  | 12117 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
|  | 12118 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
|  | 12119 | if test "${lt_cv_dlopen_self+set}" = set; then | 
|  | 12120 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 12121 | else | 
|  | 12122 | if test "$cross_compiling" = yes; then : | 
|  | 12123 | lt_cv_dlopen_self=cross | 
|  | 12124 | else | 
|  | 12125 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
|  | 12126 | lt_status=$lt_dlunknown | 
|  | 12127 | cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 12128 | #line 12134 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12129 | #include "confdefs.h" | 
|  | 12130 |  | 
|  | 12131 | #if HAVE_DLFCN_H | 
|  | 12132 | #include <dlfcn.h> | 
|  | 12133 | #endif | 
|  | 12134 |  | 
|  | 12135 | #include <stdio.h> | 
|  | 12136 |  | 
|  | 12137 | #ifdef RTLD_GLOBAL | 
|  | 12138 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  | 12139 | #else | 
|  | 12140 | #  ifdef DL_GLOBAL | 
|  | 12141 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  | 12142 | #  else | 
|  | 12143 | #    define LT_DLGLOBAL		0 | 
|  | 12144 | #  endif | 
|  | 12145 | #endif | 
|  | 12146 |  | 
|  | 12147 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  | 12148 | find out it does not work in some platform. */ | 
|  | 12149 | #ifndef LT_DLLAZY_OR_NOW | 
|  | 12150 | #  ifdef RTLD_LAZY | 
|  | 12151 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  | 12152 | #  else | 
|  | 12153 | #    ifdef DL_LAZY | 
|  | 12154 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  | 12155 | #    else | 
|  | 12156 | #      ifdef RTLD_NOW | 
|  | 12157 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  | 12158 | #      else | 
|  | 12159 | #        ifdef DL_NOW | 
|  | 12160 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  | 12161 | #        else | 
|  | 12162 | #          define LT_DLLAZY_OR_NOW	0 | 
|  | 12163 | #        endif | 
|  | 12164 | #      endif | 
|  | 12165 | #    endif | 
|  | 12166 | #  endif | 
|  | 12167 | #endif | 
|  | 12168 |  | 
|  | 12169 | #ifdef __cplusplus | 
|  | 12170 | extern "C" void exit (int); | 
|  | 12171 | #endif | 
|  | 12172 |  | 
|  | 12173 | void fnord() { int i=42;} | 
|  | 12174 | int main () | 
|  | 12175 | { | 
|  | 12176 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  | 12177 | int status = $lt_dlunknown; | 
|  | 12178 |  | 
|  | 12179 | if (self) | 
|  | 12180 | { | 
|  | 12181 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  | 12182 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  | 12183 | /* dlclose (self); */ | 
|  | 12184 | } | 
|  | 12185 |  | 
|  | 12186 | exit (status); | 
|  | 12187 | } | 
|  | 12188 | EOF | 
|  | 12189 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 12190 | (eval $ac_link) 2>&5 | 
|  | 12191 | ac_status=$? | 
|  | 12192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 12193 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  | 12194 | (./conftest; exit; ) 2>/dev/null | 
|  | 12195 | lt_status=$? | 
|  | 12196 | case x$lt_status in | 
|  | 12197 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
|  | 12198 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
|  | 12199 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
|  | 12200 | esac | 
|  | 12201 | else : | 
|  | 12202 | # compilation failed | 
|  | 12203 | lt_cv_dlopen_self=no | 
|  | 12204 | fi | 
|  | 12205 | fi | 
|  | 12206 | rm -fr conftest* | 
|  | 12207 |  | 
|  | 12208 |  | 
|  | 12209 | fi | 
|  | 12210 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
|  | 12211 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
|  | 12212 |  | 
|  | 12213 | if test "x$lt_cv_dlopen_self" = xyes; then | 
|  | 12214 | LDFLAGS="$LDFLAGS $link_static_flag" | 
|  | 12215 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
|  | 12216 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
|  | 12217 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
|  | 12218 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 12219 | else | 
|  | 12220 | if test "$cross_compiling" = yes; then : | 
|  | 12221 | lt_cv_dlopen_self_static=cross | 
|  | 12222 | else | 
|  | 12223 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
|  | 12224 | lt_status=$lt_dlunknown | 
|  | 12225 | cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 12226 | #line 12232 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 12227 | #include "confdefs.h" | 
|  | 12228 |  | 
|  | 12229 | #if HAVE_DLFCN_H | 
|  | 12230 | #include <dlfcn.h> | 
|  | 12231 | #endif | 
|  | 12232 |  | 
|  | 12233 | #include <stdio.h> | 
|  | 12234 |  | 
|  | 12235 | #ifdef RTLD_GLOBAL | 
|  | 12236 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  | 12237 | #else | 
|  | 12238 | #  ifdef DL_GLOBAL | 
|  | 12239 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  | 12240 | #  else | 
|  | 12241 | #    define LT_DLGLOBAL		0 | 
|  | 12242 | #  endif | 
|  | 12243 | #endif | 
|  | 12244 |  | 
|  | 12245 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  | 12246 | find out it does not work in some platform. */ | 
|  | 12247 | #ifndef LT_DLLAZY_OR_NOW | 
|  | 12248 | #  ifdef RTLD_LAZY | 
|  | 12249 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  | 12250 | #  else | 
|  | 12251 | #    ifdef DL_LAZY | 
|  | 12252 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  | 12253 | #    else | 
|  | 12254 | #      ifdef RTLD_NOW | 
|  | 12255 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  | 12256 | #      else | 
|  | 12257 | #        ifdef DL_NOW | 
|  | 12258 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  | 12259 | #        else | 
|  | 12260 | #          define LT_DLLAZY_OR_NOW	0 | 
|  | 12261 | #        endif | 
|  | 12262 | #      endif | 
|  | 12263 | #    endif | 
|  | 12264 | #  endif | 
|  | 12265 | #endif | 
|  | 12266 |  | 
|  | 12267 | #ifdef __cplusplus | 
|  | 12268 | extern "C" void exit (int); | 
|  | 12269 | #endif | 
|  | 12270 |  | 
|  | 12271 | void fnord() { int i=42;} | 
|  | 12272 | int main () | 
|  | 12273 | { | 
|  | 12274 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  | 12275 | int status = $lt_dlunknown; | 
|  | 12276 |  | 
|  | 12277 | if (self) | 
|  | 12278 | { | 
|  | 12279 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  | 12280 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  | 12281 | /* dlclose (self); */ | 
|  | 12282 | } | 
|  | 12283 |  | 
|  | 12284 | exit (status); | 
|  | 12285 | } | 
|  | 12286 | EOF | 
|  | 12287 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 12288 | (eval $ac_link) 2>&5 | 
|  | 12289 | ac_status=$? | 
|  | 12290 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 12291 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  | 12292 | (./conftest; exit; ) 2>/dev/null | 
|  | 12293 | lt_status=$? | 
|  | 12294 | case x$lt_status in | 
|  | 12295 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  | 12296 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  | 12297 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
|  | 12298 | esac | 
|  | 12299 | else : | 
|  | 12300 | # compilation failed | 
|  | 12301 | lt_cv_dlopen_self_static=no | 
|  | 12302 | fi | 
|  | 12303 | fi | 
|  | 12304 | rm -fr conftest* | 
|  | 12305 |  | 
|  | 12306 |  | 
|  | 12307 | fi | 
|  | 12308 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
|  | 12309 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
|  | 12310 | fi | 
|  | 12311 |  | 
|  | 12312 | CPPFLAGS="$save_CPPFLAGS" | 
|  | 12313 | LDFLAGS="$save_LDFLAGS" | 
|  | 12314 | LIBS="$save_LIBS" | 
|  | 12315 | ;; | 
|  | 12316 | esac | 
|  | 12317 |  | 
|  | 12318 | case $lt_cv_dlopen_self in | 
|  | 12319 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
|  | 12320 | *) enable_dlopen_self=unknown ;; | 
|  | 12321 | esac | 
|  | 12322 |  | 
|  | 12323 | case $lt_cv_dlopen_self_static in | 
|  | 12324 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
|  | 12325 | *) enable_dlopen_self_static=unknown ;; | 
|  | 12326 | esac | 
|  | 12327 | fi | 
|  | 12328 |  | 
|  | 12329 |  | 
|  | 12330 | # The else clause should only fire when bootstrapping the | 
|  | 12331 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
|  | 12332 | # with your package, and you will get complaints that there are | 
|  | 12333 | # no rules to generate ltmain.sh. | 
|  | 12334 | if test -f "$ltmain"; then | 
|  | 12335 | # See if we are running on zsh, and set the options which allow our commands through | 
|  | 12336 | # without removal of \ escapes. | 
|  | 12337 | if test -n "${ZSH_VERSION+set}" ; then | 
|  | 12338 | setopt NO_GLOB_SUBST | 
|  | 12339 | fi | 
|  | 12340 | # Now quote all the things that may contain metacharacters while being | 
|  | 12341 | # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
|  | 12342 | # variables and quote the copies for generation of the libtool script. | 
|  | 12343 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
|  | 12344 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
|  | 12345 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
|  | 12346 | deplibs_check_method reload_flag reload_cmds need_locks \ | 
|  | 12347 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
|  | 12348 | lt_cv_sys_global_symbol_to_c_name_address \ | 
|  | 12349 | sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
|  | 12350 | old_postinstall_cmds old_postuninstall_cmds \ | 
|  | 12351 | compiler_CXX \ | 
|  | 12352 | CC_CXX \ | 
|  | 12353 | LD_CXX \ | 
|  | 12354 | lt_prog_compiler_wl_CXX \ | 
|  | 12355 | lt_prog_compiler_pic_CXX \ | 
|  | 12356 | lt_prog_compiler_static_CXX \ | 
|  | 12357 | lt_prog_compiler_no_builtin_flag_CXX \ | 
|  | 12358 | export_dynamic_flag_spec_CXX \ | 
|  | 12359 | thread_safe_flag_spec_CXX \ | 
|  | 12360 | whole_archive_flag_spec_CXX \ | 
|  | 12361 | enable_shared_with_static_runtimes_CXX \ | 
|  | 12362 | old_archive_cmds_CXX \ | 
|  | 12363 | old_archive_from_new_cmds_CXX \ | 
|  | 12364 | predep_objects_CXX \ | 
|  | 12365 | postdep_objects_CXX \ | 
|  | 12366 | predeps_CXX \ | 
|  | 12367 | postdeps_CXX \ | 
|  | 12368 | compiler_lib_search_path_CXX \ | 
|  | 12369 | archive_cmds_CXX \ | 
|  | 12370 | archive_expsym_cmds_CXX \ | 
|  | 12371 | postinstall_cmds_CXX \ | 
|  | 12372 | postuninstall_cmds_CXX \ | 
|  | 12373 | old_archive_from_expsyms_cmds_CXX \ | 
|  | 12374 | allow_undefined_flag_CXX \ | 
|  | 12375 | no_undefined_flag_CXX \ | 
|  | 12376 | export_symbols_cmds_CXX \ | 
|  | 12377 | hardcode_libdir_flag_spec_CXX \ | 
|  | 12378 | hardcode_libdir_flag_spec_ld_CXX \ | 
|  | 12379 | hardcode_libdir_separator_CXX \ | 
|  | 12380 | hardcode_automatic_CXX \ | 
|  | 12381 | module_cmds_CXX \ | 
|  | 12382 | module_expsym_cmds_CXX \ | 
|  | 12383 | lt_cv_prog_compiler_c_o_CXX \ | 
|  | 12384 | exclude_expsyms_CXX \ | 
|  | 12385 | include_expsyms_CXX; do | 
|  | 12386 |  | 
|  | 12387 | case $var in | 
|  | 12388 | old_archive_cmds_CXX | \ | 
|  | 12389 | old_archive_from_new_cmds_CXX | \ | 
|  | 12390 | archive_cmds_CXX | \ | 
|  | 12391 | archive_expsym_cmds_CXX | \ | 
|  | 12392 | module_cmds_CXX | \ | 
|  | 12393 | module_expsym_cmds_CXX | \ | 
|  | 12394 | old_archive_from_expsyms_cmds_CXX | \ | 
|  | 12395 | export_symbols_cmds_CXX | \ | 
|  | 12396 | extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
|  | 12397 | postinstall_cmds | postuninstall_cmds | \ | 
|  | 12398 | old_postinstall_cmds | old_postuninstall_cmds | \ | 
|  | 12399 | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
|  | 12400 | # Double-quote double-evaled strings. | 
|  | 12401 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
|  | 12402 | ;; | 
|  | 12403 | *) | 
|  | 12404 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
|  | 12405 | ;; | 
|  | 12406 | esac | 
|  | 12407 | done | 
|  | 12408 |  | 
|  | 12409 | case $lt_echo in | 
|  | 12410 | *'\$0 --fallback-echo"') | 
|  | 12411 | lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
|  | 12412 | ;; | 
|  | 12413 | esac | 
|  | 12414 |  | 
|  | 12415 | cfgfile="$ofile" | 
|  | 12416 |  | 
|  | 12417 | cat <<__EOF__ >> "$cfgfile" | 
|  | 12418 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
|  | 12419 |  | 
|  | 12420 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
|  | 12421 |  | 
|  | 12422 | # Shell to use when invoking shell scripts. | 
|  | 12423 | SHELL=$lt_SHELL | 
|  | 12424 |  | 
|  | 12425 | # Whether or not to build shared libraries. | 
|  | 12426 | build_libtool_libs=$enable_shared | 
|  | 12427 |  | 
|  | 12428 | # Whether or not to build static libraries. | 
|  | 12429 | build_old_libs=$enable_static | 
|  | 12430 |  | 
|  | 12431 | # Whether or not to add -lc for building shared libraries. | 
|  | 12432 | build_libtool_need_lc=$archive_cmds_need_lc_CXX | 
|  | 12433 |  | 
|  | 12434 | # Whether or not to disallow shared libs when runtime libs are static | 
|  | 12435 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX | 
|  | 12436 |  | 
|  | 12437 | # Whether or not to optimize for fast installation. | 
|  | 12438 | fast_install=$enable_fast_install | 
|  | 12439 |  | 
|  | 12440 | # The host system. | 
|  | 12441 | host_alias=$host_alias | 
|  | 12442 | host=$host | 
|  | 12443 |  | 
|  | 12444 | # An echo program that does not interpret backslashes. | 
|  | 12445 | echo=$lt_echo | 
|  | 12446 |  | 
|  | 12447 | # The archiver. | 
|  | 12448 | AR=$lt_AR | 
|  | 12449 | AR_FLAGS=$lt_AR_FLAGS | 
|  | 12450 |  | 
|  | 12451 | # A C compiler. | 
|  | 12452 | LTCC=$lt_LTCC | 
|  | 12453 |  | 
|  | 12454 | # A language-specific compiler. | 
|  | 12455 | CC=$lt_compiler_CXX | 
|  | 12456 |  | 
|  | 12457 | # Is the compiler the GNU C compiler? | 
|  | 12458 | with_gcc=$GCC_CXX | 
|  | 12459 |  | 
|  | 12460 | # An ERE matcher. | 
|  | 12461 | EGREP=$lt_EGREP | 
|  | 12462 |  | 
|  | 12463 | # The linker used to build libraries. | 
|  | 12464 | LD=$lt_LD_CXX | 
|  | 12465 |  | 
|  | 12466 | # Whether we need hard or soft links. | 
|  | 12467 | LN_S=$lt_LN_S | 
|  | 12468 |  | 
|  | 12469 | # A BSD-compatible nm program. | 
|  | 12470 | NM=$lt_NM | 
|  | 12471 |  | 
|  | 12472 | # A symbol stripping program | 
|  | 12473 | STRIP=$STRIP | 
|  | 12474 |  | 
|  | 12475 | # Used to examine libraries when file_magic_cmd begins "file" | 
|  | 12476 | MAGIC_CMD=$MAGIC_CMD | 
|  | 12477 |  | 
|  | 12478 | # Used on cygwin: DLL creation program. | 
|  | 12479 | DLLTOOL="$DLLTOOL" | 
|  | 12480 |  | 
|  | 12481 | # Used on cygwin: object dumper. | 
|  | 12482 | OBJDUMP="$OBJDUMP" | 
|  | 12483 |  | 
|  | 12484 | # Used on cygwin: assembler. | 
|  | 12485 | AS="$AS" | 
|  | 12486 |  | 
|  | 12487 | # The name of the directory that contains temporary libtool files. | 
|  | 12488 | objdir=$objdir | 
|  | 12489 |  | 
|  | 12490 | # How to create reloadable object files. | 
|  | 12491 | reload_flag=$lt_reload_flag | 
|  | 12492 | reload_cmds=$lt_reload_cmds | 
|  | 12493 |  | 
|  | 12494 | # How to pass a linker flag through the compiler. | 
|  | 12495 | wl=$lt_lt_prog_compiler_wl_CXX | 
|  | 12496 |  | 
|  | 12497 | # Object file suffix (normally "o"). | 
|  | 12498 | objext="$ac_objext" | 
|  | 12499 |  | 
|  | 12500 | # Old archive suffix (normally "a"). | 
|  | 12501 | libext="$libext" | 
|  | 12502 |  | 
|  | 12503 | # Shared library suffix (normally ".so"). | 
|  | 12504 | shrext='$shrext' | 
|  | 12505 |  | 
|  | 12506 | # Executable file suffix (normally ""). | 
|  | 12507 | exeext="$exeext" | 
|  | 12508 |  | 
|  | 12509 | # Additional compiler flags for building library objects. | 
|  | 12510 | pic_flag=$lt_lt_prog_compiler_pic_CXX | 
|  | 12511 | pic_mode=$pic_mode | 
|  | 12512 |  | 
|  | 12513 | # What is the maximum length of a command? | 
|  | 12514 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
|  | 12515 |  | 
|  | 12516 | # Does compiler simultaneously support -c and -o options? | 
|  | 12517 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX | 
|  | 12518 |  | 
|  | 12519 | # Must we lock files when doing compilation ? | 
|  | 12520 | need_locks=$lt_need_locks | 
|  | 12521 |  | 
|  | 12522 | # Do we need the lib prefix for modules? | 
|  | 12523 | need_lib_prefix=$need_lib_prefix | 
|  | 12524 |  | 
|  | 12525 | # Do we need a version for libraries? | 
|  | 12526 | need_version=$need_version | 
|  | 12527 |  | 
|  | 12528 | # Whether dlopen is supported. | 
|  | 12529 | dlopen_support=$enable_dlopen | 
|  | 12530 |  | 
|  | 12531 | # Whether dlopen of programs is supported. | 
|  | 12532 | dlopen_self=$enable_dlopen_self | 
|  | 12533 |  | 
|  | 12534 | # Whether dlopen of statically linked programs is supported. | 
|  | 12535 | dlopen_self_static=$enable_dlopen_self_static | 
|  | 12536 |  | 
|  | 12537 | # Compiler flag to prevent dynamic linking. | 
|  | 12538 | link_static_flag=$lt_lt_prog_compiler_static_CXX | 
|  | 12539 |  | 
|  | 12540 | # Compiler flag to turn off builtin functions. | 
|  | 12541 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX | 
|  | 12542 |  | 
|  | 12543 | # Compiler flag to allow reflexive dlopens. | 
|  | 12544 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX | 
|  | 12545 |  | 
|  | 12546 | # Compiler flag to generate shared objects directly from archives. | 
|  | 12547 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX | 
|  | 12548 |  | 
|  | 12549 | # Compiler flag to generate thread-safe objects. | 
|  | 12550 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX | 
|  | 12551 |  | 
|  | 12552 | # Library versioning type. | 
|  | 12553 | version_type=$version_type | 
|  | 12554 |  | 
|  | 12555 | # Format of library name prefix. | 
|  | 12556 | libname_spec=$lt_libname_spec | 
|  | 12557 |  | 
|  | 12558 | # List of archive names.  First name is the real one, the rest are links. | 
|  | 12559 | # The last name is the one that the linker finds with -lNAME. | 
|  | 12560 | library_names_spec=$lt_library_names_spec | 
|  | 12561 |  | 
|  | 12562 | # The coded name of the library, if different from the real name. | 
|  | 12563 | soname_spec=$lt_soname_spec | 
|  | 12564 |  | 
|  | 12565 | # Commands used to build and install an old-style archive. | 
|  | 12566 | RANLIB=$lt_RANLIB | 
|  | 12567 | old_archive_cmds=$lt_old_archive_cmds_CXX | 
|  | 12568 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
|  | 12569 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
|  | 12570 |  | 
|  | 12571 | # Create an old-style archive from a shared archive. | 
|  | 12572 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX | 
|  | 12573 |  | 
|  | 12574 | # Create a temporary old-style archive to link instead of a shared archive. | 
|  | 12575 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX | 
|  | 12576 |  | 
|  | 12577 | # Commands used to build and install a shared archive. | 
|  | 12578 | archive_cmds=$lt_archive_cmds_CXX | 
|  | 12579 | archive_expsym_cmds=$lt_archive_expsym_cmds_CXX | 
|  | 12580 | postinstall_cmds=$lt_postinstall_cmds | 
|  | 12581 | postuninstall_cmds=$lt_postuninstall_cmds | 
|  | 12582 |  | 
|  | 12583 | # Commands used to build a loadable module (assumed same as above if empty) | 
|  | 12584 | module_cmds=$lt_module_cmds_CXX | 
|  | 12585 | module_expsym_cmds=$lt_module_expsym_cmds_CXX | 
|  | 12586 |  | 
|  | 12587 | # Commands to strip libraries. | 
|  | 12588 | old_striplib=$lt_old_striplib | 
|  | 12589 | striplib=$lt_striplib | 
|  | 12590 |  | 
|  | 12591 | # Dependencies to place before the objects being linked to create a | 
|  | 12592 | # shared library. | 
|  | 12593 | predep_objects=$lt_predep_objects_CXX | 
|  | 12594 |  | 
|  | 12595 | # Dependencies to place after the objects being linked to create a | 
|  | 12596 | # shared library. | 
|  | 12597 | postdep_objects=$lt_postdep_objects_CXX | 
|  | 12598 |  | 
|  | 12599 | # Dependencies to place before the objects being linked to create a | 
|  | 12600 | # shared library. | 
|  | 12601 | predeps=$lt_predeps_CXX | 
|  | 12602 |  | 
|  | 12603 | # Dependencies to place after the objects being linked to create a | 
|  | 12604 | # shared library. | 
|  | 12605 | postdeps=$lt_postdeps_CXX | 
|  | 12606 |  | 
|  | 12607 | # The library search path used internally by the compiler when linking | 
|  | 12608 | # a shared library. | 
|  | 12609 | compiler_lib_search_path=$lt_compiler_lib_search_path_CXX | 
|  | 12610 |  | 
|  | 12611 | # Method to check whether dependent libraries are shared objects. | 
|  | 12612 | deplibs_check_method=$lt_deplibs_check_method | 
|  | 12613 |  | 
|  | 12614 | # Command to use when deplibs_check_method == file_magic. | 
|  | 12615 | file_magic_cmd=$lt_file_magic_cmd | 
|  | 12616 |  | 
|  | 12617 | # Flag that allows shared libraries with undefined symbols to be built. | 
|  | 12618 | allow_undefined_flag=$lt_allow_undefined_flag_CXX | 
|  | 12619 |  | 
|  | 12620 | # Flag that forces no undefined symbols. | 
|  | 12621 | no_undefined_flag=$lt_no_undefined_flag_CXX | 
|  | 12622 |  | 
|  | 12623 | # Commands used to finish a libtool library installation in a directory. | 
|  | 12624 | finish_cmds=$lt_finish_cmds | 
|  | 12625 |  | 
|  | 12626 | # Same as above, but a single script fragment to be evaled but not shown. | 
|  | 12627 | finish_eval=$lt_finish_eval | 
|  | 12628 |  | 
|  | 12629 | # Take the output of nm and produce a listing of raw symbols and C names. | 
|  | 12630 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
|  | 12631 |  | 
|  | 12632 | # Transform the output of nm in a proper C declaration | 
|  | 12633 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
|  | 12634 |  | 
|  | 12635 | # Transform the output of nm in a C name address pair | 
|  | 12636 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
|  | 12637 |  | 
|  | 12638 | # This is the shared library runtime path variable. | 
|  | 12639 | runpath_var=$runpath_var | 
|  | 12640 |  | 
|  | 12641 | # This is the shared library path variable. | 
|  | 12642 | shlibpath_var=$shlibpath_var | 
|  | 12643 |  | 
|  | 12644 | # Is shlibpath searched before the hard-coded library search path? | 
|  | 12645 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
|  | 12646 |  | 
|  | 12647 | # How to hardcode a shared library path into an executable. | 
|  | 12648 | hardcode_action=$hardcode_action_CXX | 
|  | 12649 |  | 
|  | 12650 | # Whether we should hardcode library paths into libraries. | 
|  | 12651 | hardcode_into_libs=$hardcode_into_libs | 
|  | 12652 |  | 
|  | 12653 | # Flag to hardcode \$libdir into a binary during linking. | 
|  | 12654 | # This must work even if \$libdir does not exist. | 
|  | 12655 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX | 
|  | 12656 |  | 
|  | 12657 | # If ld is used when linking, flag to hardcode \$libdir into | 
|  | 12658 | # a binary during linking. This must work even if \$libdir does | 
|  | 12659 | # not exist. | 
|  | 12660 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX | 
|  | 12661 |  | 
|  | 12662 | # Whether we need a single -rpath flag with a separated argument. | 
|  | 12663 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX | 
|  | 12664 |  | 
|  | 12665 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
|  | 12666 | # resulting binary. | 
|  | 12667 | hardcode_direct=$hardcode_direct_CXX | 
|  | 12668 |  | 
|  | 12669 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
|  | 12670 | # resulting binary. | 
|  | 12671 | hardcode_minus_L=$hardcode_minus_L_CXX | 
|  | 12672 |  | 
|  | 12673 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
|  | 12674 | # the resulting binary. | 
|  | 12675 | hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX | 
|  | 12676 |  | 
|  | 12677 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
|  | 12678 | # and all subsequent libraries and executables linked against it. | 
|  | 12679 | hardcode_automatic=$hardcode_automatic_CXX | 
|  | 12680 |  | 
|  | 12681 | # Variables whose values should be saved in libtool wrapper scripts and | 
|  | 12682 | # restored at relink time. | 
|  | 12683 | variables_saved_for_relink="$variables_saved_for_relink" | 
|  | 12684 |  | 
|  | 12685 | # Whether libtool must link a program against all its dependency libraries. | 
|  | 12686 | link_all_deplibs=$link_all_deplibs_CXX | 
|  | 12687 |  | 
|  | 12688 | # Compile-time system search path for libraries | 
|  | 12689 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
|  | 12690 |  | 
|  | 12691 | # Run-time system search path for libraries | 
|  | 12692 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
|  | 12693 |  | 
|  | 12694 | # Fix the shell variable \$srcfile for the compiler. | 
|  | 12695 | fix_srcfile_path="$fix_srcfile_path_CXX" | 
|  | 12696 |  | 
|  | 12697 | # Set to yes if exported symbols are required. | 
|  | 12698 | always_export_symbols=$always_export_symbols_CXX | 
|  | 12699 |  | 
|  | 12700 | # The commands to list exported symbols. | 
|  | 12701 | export_symbols_cmds=$lt_export_symbols_cmds_CXX | 
|  | 12702 |  | 
|  | 12703 | # The commands to extract the exported symbol list from a shared archive. | 
|  | 12704 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
|  | 12705 |  | 
|  | 12706 | # Symbols that should not be listed in the preloaded symbols. | 
|  | 12707 | exclude_expsyms=$lt_exclude_expsyms_CXX | 
|  | 12708 |  | 
|  | 12709 | # Symbols that must always be exported. | 
|  | 12710 | include_expsyms=$lt_include_expsyms_CXX | 
|  | 12711 |  | 
|  | 12712 | # ### END LIBTOOL TAG CONFIG: $tagname | 
|  | 12713 |  | 
|  | 12714 | __EOF__ | 
|  | 12715 |  | 
|  | 12716 |  | 
|  | 12717 | else | 
|  | 12718 | # If there is no Makefile yet, we rely on a make rule to execute | 
|  | 12719 | # `config.status --recheck' to rerun these tests and create the | 
|  | 12720 | # libtool script then. | 
|  | 12721 | test -f Makefile && make "$ltmain" | 
|  | 12722 | fi | 
|  | 12723 |  | 
|  | 12724 |  | 
|  | 12725 | ac_ext=c | 
|  | 12726 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 12727 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 12728 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 12729 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 12730 |  | 
|  | 12731 | CC=$lt_save_CC | 
|  | 12732 | LDCXX=$LD | 
|  | 12733 | LD=$lt_save_LD | 
|  | 12734 | GCC=$lt_save_GCC | 
|  | 12735 | with_gnu_ldcxx=$with_gnu_ld | 
|  | 12736 | with_gnu_ld=$lt_save_with_gnu_ld | 
|  | 12737 | lt_cv_path_LDCXX=$lt_cv_path_LD | 
|  | 12738 | lt_cv_path_LD=$lt_save_path_LD | 
|  | 12739 | lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld | 
|  | 12740 | lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld | 
|  | 12741 |  | 
|  | 12742 | else | 
|  | 12743 | tagname="" | 
|  | 12744 | fi | 
|  | 12745 | ;; | 
|  | 12746 |  | 
|  | 12747 | F77) | 
|  | 12748 | if test -n "$F77" && test "X$F77" != "Xno"; then | 
|  | 12749 |  | 
|  | 12750 | ac_ext=f | 
|  | 12751 | ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5' | 
|  | 12752 | ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 12753 | ac_compiler_gnu=$ac_cv_f77_compiler_gnu | 
|  | 12754 |  | 
|  | 12755 |  | 
|  | 12756 | archive_cmds_need_lc_F77=no | 
|  | 12757 | allow_undefined_flag_F77= | 
|  | 12758 | always_export_symbols_F77=no | 
|  | 12759 | archive_expsym_cmds_F77= | 
|  | 12760 | export_dynamic_flag_spec_F77= | 
|  | 12761 | hardcode_direct_F77=no | 
|  | 12762 | hardcode_libdir_flag_spec_F77= | 
|  | 12763 | hardcode_libdir_flag_spec_ld_F77= | 
|  | 12764 | hardcode_libdir_separator_F77= | 
|  | 12765 | hardcode_minus_L_F77=no | 
|  | 12766 | hardcode_automatic_F77=no | 
|  | 12767 | module_cmds_F77= | 
|  | 12768 | module_expsym_cmds_F77= | 
|  | 12769 | link_all_deplibs_F77=unknown | 
|  | 12770 | old_archive_cmds_F77=$old_archive_cmds | 
|  | 12771 | no_undefined_flag_F77= | 
|  | 12772 | whole_archive_flag_spec_F77= | 
|  | 12773 | enable_shared_with_static_runtimes_F77=no | 
|  | 12774 |  | 
|  | 12775 | # Source file extension for f77 test sources. | 
|  | 12776 | ac_ext=f | 
|  | 12777 |  | 
|  | 12778 | # Object file extension for compiled f77 test sources. | 
|  | 12779 | objext=o | 
|  | 12780 | objext_F77=$objext | 
|  | 12781 |  | 
|  | 12782 | # Code to be used in simple compile tests | 
|  | 12783 | lt_simple_compile_test_code="      subroutine t\n      return\n      end\n" | 
|  | 12784 |  | 
|  | 12785 | # Code to be used in simple link tests | 
|  | 12786 | lt_simple_link_test_code="      program t\n      end\n" | 
|  | 12787 |  | 
|  | 12788 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
|  | 12789 |  | 
|  | 12790 | # If no C compiler was specified, use CC. | 
|  | 12791 | LTCC=${LTCC-"$CC"} | 
|  | 12792 |  | 
|  | 12793 | # Allow CC to be a program name with arguments. | 
|  | 12794 | compiler=$CC | 
|  | 12795 |  | 
|  | 12796 |  | 
|  | 12797 | # Allow CC to be a program name with arguments. | 
|  | 12798 | lt_save_CC="$CC" | 
|  | 12799 | CC=${F77-"f77"} | 
|  | 12800 | compiler=$CC | 
|  | 12801 | compiler_F77=$CC | 
|  | 12802 | cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` | 
|  | 12803 |  | 
|  | 12804 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
|  | 12805 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
|  | 12806 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
|  | 12807 | echo "${ECHO_T}$can_build_shared" >&6 | 
|  | 12808 |  | 
|  | 12809 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
|  | 12810 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
|  | 12811 | test "$can_build_shared" = "no" && enable_shared=no | 
|  | 12812 |  | 
|  | 12813 | # On AIX, shared libraries and static libraries use the same namespace, and | 
|  | 12814 | # are all built from PIC. | 
|  | 12815 | case "$host_os" in | 
|  | 12816 | aix3*) | 
|  | 12817 | test "$enable_shared" = yes && enable_static=no | 
|  | 12818 | if test -n "$RANLIB"; then | 
|  | 12819 | archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
|  | 12820 | postinstall_cmds='$RANLIB $lib' | 
|  | 12821 | fi | 
|  | 12822 | ;; | 
|  | 12823 | aix4*) | 
|  | 12824 | test "$enable_shared" = yes && enable_static=no | 
|  | 12825 | ;; | 
|  | 12826 | esac | 
|  | 12827 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
|  | 12828 | echo "${ECHO_T}$enable_shared" >&6 | 
|  | 12829 |  | 
|  | 12830 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
|  | 12831 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
|  | 12832 | # Make sure either enable_shared or enable_static is yes. | 
|  | 12833 | test "$enable_shared" = yes || enable_static=yes | 
|  | 12834 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
|  | 12835 | echo "${ECHO_T}$enable_static" >&6 | 
|  | 12836 |  | 
|  | 12837 | test "$ld_shlibs_F77" = no && can_build_shared=no | 
|  | 12838 |  | 
|  | 12839 | GCC_F77="$G77" | 
|  | 12840 | LD_F77="$LD" | 
|  | 12841 |  | 
|  | 12842 | lt_prog_compiler_wl_F77= | 
|  | 12843 | lt_prog_compiler_pic_F77= | 
|  | 12844 | lt_prog_compiler_static_F77= | 
|  | 12845 |  | 
|  | 12846 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
|  | 12847 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
|  | 12848 |  | 
|  | 12849 | if test "$GCC" = yes; then | 
|  | 12850 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12851 | lt_prog_compiler_static_F77='-static' | 
|  | 12852 |  | 
|  | 12853 | case $host_os in | 
|  | 12854 | aix*) | 
|  | 12855 | # All AIX code is PIC. | 
|  | 12856 | if test "$host_cpu" = ia64; then | 
|  | 12857 | # AIX 5 now supports IA64 processor | 
|  | 12858 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 12859 | fi | 
|  | 12860 | ;; | 
|  | 12861 |  | 
|  | 12862 | amigaos*) | 
|  | 12863 | # FIXME: we need at least 68020 code to build shared libraries, but | 
|  | 12864 | # adding the `-m68020' flag to GCC prevents building anything better, | 
|  | 12865 | # like `-m68040'. | 
|  | 12866 | lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4' | 
|  | 12867 | ;; | 
|  | 12868 |  | 
|  | 12869 | beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
|  | 12870 | # PIC is the default for these OSes. | 
|  | 12871 | ;; | 
|  | 12872 |  | 
|  | 12873 | mingw* | pw32* | os2*) | 
|  | 12874 | # This hack is so that the source file can tell whether it is being | 
|  | 12875 | # built for inclusion in a dll (and should export symbols for example). | 
|  | 12876 | lt_prog_compiler_pic_F77='-DDLL_EXPORT' | 
|  | 12877 | ;; | 
|  | 12878 |  | 
|  | 12879 | darwin* | rhapsody*) | 
|  | 12880 | # PIC is the default on this platform | 
|  | 12881 | # Common symbols not allowed in MH_DYLIB files | 
|  | 12882 | lt_prog_compiler_pic_F77='-fno-common' | 
|  | 12883 | ;; | 
|  | 12884 |  | 
|  | 12885 | msdosdjgpp*) | 
|  | 12886 | # Just because we use GCC doesn't mean we suddenly get shared libraries | 
|  | 12887 | # on systems that don't support them. | 
|  | 12888 | lt_prog_compiler_can_build_shared_F77=no | 
|  | 12889 | enable_shared=no | 
|  | 12890 | ;; | 
|  | 12891 |  | 
|  | 12892 | sysv4*MP*) | 
|  | 12893 | if test -d /usr/nec; then | 
|  | 12894 | lt_prog_compiler_pic_F77=-Kconform_pic | 
|  | 12895 | fi | 
|  | 12896 | ;; | 
|  | 12897 |  | 
|  | 12898 | hpux*) | 
|  | 12899 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
|  | 12900 | # not for PA HP-UX. | 
|  | 12901 | case "$host_cpu" in | 
|  | 12902 | hppa*64*|ia64*) | 
|  | 12903 | # +Z the default | 
|  | 12904 | ;; | 
|  | 12905 | *) | 
|  | 12906 | lt_prog_compiler_pic_F77='-fPIC' | 
|  | 12907 | ;; | 
|  | 12908 | esac | 
|  | 12909 | ;; | 
|  | 12910 |  | 
|  | 12911 | *) | 
|  | 12912 | lt_prog_compiler_pic_F77='-fPIC' | 
|  | 12913 | ;; | 
|  | 12914 | esac | 
|  | 12915 | else | 
|  | 12916 | # PORTME Check for flag to pass linker flags through the system compiler. | 
|  | 12917 | case $host_os in | 
|  | 12918 | aix*) | 
|  | 12919 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12920 | if test "$host_cpu" = ia64; then | 
|  | 12921 | # AIX 5 now supports IA64 processor | 
|  | 12922 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 12923 | else | 
|  | 12924 | lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp' | 
|  | 12925 | fi | 
|  | 12926 | ;; | 
|  | 12927 |  | 
|  | 12928 | mingw* | pw32* | os2*) | 
|  | 12929 | # This hack is so that the source file can tell whether it is being | 
|  | 12930 | # built for inclusion in a dll (and should export symbols for example). | 
|  | 12931 | lt_prog_compiler_pic_F77='-DDLL_EXPORT' | 
|  | 12932 | ;; | 
|  | 12933 |  | 
|  | 12934 | hpux9* | hpux10* | hpux11*) | 
|  | 12935 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12936 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
|  | 12937 | # not for PA HP-UX. | 
|  | 12938 | case "$host_cpu" in | 
|  | 12939 | hppa*64*|ia64*) | 
|  | 12940 | # +Z the default | 
|  | 12941 | ;; | 
|  | 12942 | *) | 
|  | 12943 | lt_prog_compiler_pic_F77='+Z' | 
|  | 12944 | ;; | 
|  | 12945 | esac | 
|  | 12946 | # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
|  | 12947 | lt_prog_compiler_static_F77='${wl}-a ${wl}archive' | 
|  | 12948 | ;; | 
|  | 12949 |  | 
|  | 12950 | irix5* | irix6* | nonstopux*) | 
|  | 12951 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12952 | # PIC (with -KPIC) is the default. | 
|  | 12953 | lt_prog_compiler_static_F77='-non_shared' | 
|  | 12954 | ;; | 
|  | 12955 |  | 
|  | 12956 | newsos6) | 
|  | 12957 | lt_prog_compiler_pic_F77='-KPIC' | 
|  | 12958 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 12959 | ;; | 
|  | 12960 |  | 
|  | 12961 | linux*) | 
|  | 12962 | case $CC in | 
|  | 12963 | icc|ecc) | 
|  | 12964 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12965 | lt_prog_compiler_pic_F77='-KPIC' | 
|  | 12966 | lt_prog_compiler_static_F77='-static' | 
|  | 12967 | ;; | 
|  | 12968 | ccc) | 
|  | 12969 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12970 | # All Alpha code is PIC. | 
|  | 12971 | lt_prog_compiler_static_F77='-non_shared' | 
|  | 12972 | ;; | 
|  | 12973 | esac | 
|  | 12974 | ;; | 
|  | 12975 |  | 
|  | 12976 | osf3* | osf4* | osf5*) | 
|  | 12977 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12978 | # All OSF/1 code is PIC. | 
|  | 12979 | lt_prog_compiler_static_F77='-non_shared' | 
|  | 12980 | ;; | 
|  | 12981 |  | 
|  | 12982 | sco3.2v5*) | 
|  | 12983 | lt_prog_compiler_pic_F77='-Kpic' | 
|  | 12984 | lt_prog_compiler_static_F77='-dn' | 
|  | 12985 | ;; | 
|  | 12986 |  | 
|  | 12987 | solaris*) | 
|  | 12988 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 12989 | lt_prog_compiler_pic_F77='-KPIC' | 
|  | 12990 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 12991 | ;; | 
|  | 12992 |  | 
|  | 12993 | sunos4*) | 
|  | 12994 | lt_prog_compiler_wl_F77='-Qoption ld ' | 
|  | 12995 | lt_prog_compiler_pic_F77='-PIC' | 
|  | 12996 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 12997 | ;; | 
|  | 12998 |  | 
|  | 12999 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  | 13000 | lt_prog_compiler_wl_F77='-Wl,' | 
|  | 13001 | lt_prog_compiler_pic_F77='-KPIC' | 
|  | 13002 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 13003 | ;; | 
|  | 13004 |  | 
|  | 13005 | sysv4*MP*) | 
|  | 13006 | if test -d /usr/nec ;then | 
|  | 13007 | lt_prog_compiler_pic_F77='-Kconform_pic' | 
|  | 13008 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 13009 | fi | 
|  | 13010 | ;; | 
|  | 13011 |  | 
|  | 13012 | uts4*) | 
|  | 13013 | lt_prog_compiler_pic_F77='-pic' | 
|  | 13014 | lt_prog_compiler_static_F77='-Bstatic' | 
|  | 13015 | ;; | 
|  | 13016 |  | 
|  | 13017 | *) | 
|  | 13018 | lt_prog_compiler_can_build_shared_F77=no | 
|  | 13019 | ;; | 
|  | 13020 | esac | 
|  | 13021 | fi | 
|  | 13022 |  | 
|  | 13023 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5 | 
|  | 13024 | echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6 | 
|  | 13025 |  | 
|  | 13026 | # | 
|  | 13027 | # Check to make sure the PIC flag actually works. | 
|  | 13028 | # | 
|  | 13029 | if test -n "$lt_prog_compiler_pic_F77"; then | 
|  | 13030 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5 | 
|  | 13031 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6 | 
|  | 13032 | if test "${lt_prog_compiler_pic_works_F77+set}" = set; then | 
|  | 13033 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 13034 | else | 
|  | 13035 | lt_prog_compiler_pic_works_F77=no | 
|  | 13036 | ac_outfile=conftest.$ac_objext | 
|  | 13037 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 13038 | lt_compiler_flag="$lt_prog_compiler_pic_F77" | 
|  | 13039 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 13040 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 13041 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 13042 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 13043 | # The option is referenced via a variable to avoid confusing sed. | 
|  | 13044 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 13045 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 13046 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 13047 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 13048 | (eval echo "\"\$as_me:13054: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13049 | (eval "$lt_compile" 2>conftest.err) | 
|  | 13050 | ac_status=$? | 
|  | 13051 | cat conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 13052 | echo "$as_me:13058: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13053 | if (exit $ac_status) && test -s "$ac_outfile"; then | 
|  | 13054 | # The compiler can only warn and ignore the option if not recognized | 
|  | 13055 | # So say no if there are warnings | 
|  | 13056 | if test ! -s conftest.err; then | 
|  | 13057 | lt_prog_compiler_pic_works_F77=yes | 
|  | 13058 | fi | 
|  | 13059 | fi | 
|  | 13060 | $rm conftest* | 
|  | 13061 |  | 
|  | 13062 | fi | 
|  | 13063 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5 | 
|  | 13064 | echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6 | 
|  | 13065 |  | 
|  | 13066 | if test x"$lt_prog_compiler_pic_works_F77" = xyes; then | 
|  | 13067 | case $lt_prog_compiler_pic_F77 in | 
|  | 13068 | "" | " "*) ;; | 
|  | 13069 | *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;; | 
|  | 13070 | esac | 
|  | 13071 | else | 
|  | 13072 | lt_prog_compiler_pic_F77= | 
|  | 13073 | lt_prog_compiler_can_build_shared_F77=no | 
|  | 13074 | fi | 
|  | 13075 |  | 
|  | 13076 | fi | 
|  | 13077 | case "$host_os" in | 
|  | 13078 | # For platforms which do not support PIC, -DPIC is meaningless: | 
|  | 13079 | *djgpp*) | 
|  | 13080 | lt_prog_compiler_pic_F77= | 
|  | 13081 | ;; | 
|  | 13082 | *) | 
|  | 13083 | lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77" | 
|  | 13084 | ;; | 
|  | 13085 | esac | 
|  | 13086 |  | 
|  | 13087 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
|  | 13088 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
|  | 13089 | if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then | 
|  | 13090 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 13091 | else | 
|  | 13092 | lt_cv_prog_compiler_c_o_F77=no | 
|  | 13093 | $rm -r conftest 2>/dev/null | 
|  | 13094 | mkdir conftest | 
|  | 13095 | cd conftest | 
|  | 13096 | mkdir out | 
|  | 13097 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 13098 |  | 
|  | 13099 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
|  | 13100 | # that will create temporary files in the current directory regardless of | 
|  | 13101 | # the output directory.  Thus, making CWD read-only will cause this test | 
|  | 13102 | # to fail, enabling locking or at least warning the user not to do parallel | 
|  | 13103 | # builds. | 
|  | 13104 | chmod -w . | 
|  | 13105 |  | 
|  | 13106 | lt_compiler_flag="-o out/conftest2.$ac_objext" | 
|  | 13107 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 13108 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 13109 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 13110 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 13111 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 13112 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 13113 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 13114 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 13115 | (eval echo "\"\$as_me:13121: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13116 | (eval "$lt_compile" 2>out/conftest.err) | 
|  | 13117 | ac_status=$? | 
|  | 13118 | cat out/conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 13119 | echo "$as_me:13125: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13120 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
|  | 13121 | then | 
|  | 13122 | # The compiler can only warn and ignore the option if not recognized | 
|  | 13123 | # So say no if there are warnings | 
|  | 13124 | if test ! -s out/conftest.err; then | 
|  | 13125 | lt_cv_prog_compiler_c_o_F77=yes | 
|  | 13126 | fi | 
|  | 13127 | fi | 
|  | 13128 | chmod u+w . | 
|  | 13129 | $rm conftest* out/* | 
|  | 13130 | rmdir out | 
|  | 13131 | cd .. | 
|  | 13132 | rmdir conftest | 
|  | 13133 | $rm conftest* | 
|  | 13134 |  | 
|  | 13135 | fi | 
|  | 13136 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5 | 
|  | 13137 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6 | 
|  | 13138 |  | 
|  | 13139 |  | 
|  | 13140 | hard_links="nottested" | 
|  | 13141 | if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then | 
|  | 13142 | # do not overwrite the value of need_locks provided by the user | 
|  | 13143 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
|  | 13144 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
|  | 13145 | hard_links=yes | 
|  | 13146 | $rm conftest* | 
|  | 13147 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 13148 | touch conftest.a | 
|  | 13149 | ln conftest.a conftest.b 2>&5 || hard_links=no | 
|  | 13150 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 13151 | echo "$as_me:$LINENO: result: $hard_links" >&5 | 
|  | 13152 | echo "${ECHO_T}$hard_links" >&6 | 
|  | 13153 | if test "$hard_links" = no; then | 
|  | 13154 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
|  | 13155 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
|  | 13156 | need_locks=warn | 
|  | 13157 | fi | 
|  | 13158 | else | 
|  | 13159 | need_locks=no | 
|  | 13160 | fi | 
|  | 13161 |  | 
|  | 13162 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
|  | 13163 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
|  | 13164 |  | 
|  | 13165 | runpath_var= | 
|  | 13166 | allow_undefined_flag_F77= | 
|  | 13167 | enable_shared_with_static_runtimes_F77=no | 
|  | 13168 | archive_cmds_F77= | 
|  | 13169 | archive_expsym_cmds_F77= | 
|  | 13170 | old_archive_From_new_cmds_F77= | 
|  | 13171 | old_archive_from_expsyms_cmds_F77= | 
|  | 13172 | export_dynamic_flag_spec_F77= | 
|  | 13173 | whole_archive_flag_spec_F77= | 
|  | 13174 | thread_safe_flag_spec_F77= | 
|  | 13175 | hardcode_libdir_flag_spec_F77= | 
|  | 13176 | hardcode_libdir_flag_spec_ld_F77= | 
|  | 13177 | hardcode_libdir_separator_F77= | 
|  | 13178 | hardcode_direct_F77=no | 
|  | 13179 | hardcode_minus_L_F77=no | 
|  | 13180 | hardcode_shlibpath_var_F77=unsupported | 
|  | 13181 | link_all_deplibs_F77=unknown | 
|  | 13182 | hardcode_automatic_F77=no | 
|  | 13183 | module_cmds_F77= | 
|  | 13184 | module_expsym_cmds_F77= | 
|  | 13185 | always_export_symbols_F77=no | 
|  | 13186 | export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 13187 | # include_expsyms should be a list of space-separated symbols to be *always* | 
|  | 13188 | # included in the symbol list | 
|  | 13189 | include_expsyms_F77= | 
|  | 13190 | # exclude_expsyms can be an extended regexp of symbols to exclude | 
|  | 13191 | # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
|  | 13192 | # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
|  | 13193 | # as well as any symbol that contains `d'. | 
|  | 13194 | exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_" | 
|  | 13195 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
|  | 13196 | # platforms (ab)use it in PIC code, but their linkers get confused if | 
|  | 13197 | # the symbol is explicitly referenced.  Since portable code cannot | 
|  | 13198 | # rely on this symbol name, it's probably fine to never include it in | 
|  | 13199 | # preloaded symbol tables. | 
|  | 13200 | extract_expsyms_cmds= | 
|  | 13201 |  | 
|  | 13202 | case $host_os in | 
|  | 13203 | cygwin* | mingw* | pw32*) | 
|  | 13204 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
|  | 13205 | # When not using gcc, we currently assume that we are using | 
|  | 13206 | # Microsoft Visual C++. | 
|  | 13207 | if test "$GCC" != yes; then | 
|  | 13208 | with_gnu_ld=no | 
|  | 13209 | fi | 
|  | 13210 | ;; | 
|  | 13211 | openbsd*) | 
|  | 13212 | with_gnu_ld=no | 
|  | 13213 | ;; | 
|  | 13214 | esac | 
|  | 13215 |  | 
|  | 13216 | ld_shlibs_F77=yes | 
|  | 13217 | if test "$with_gnu_ld" = yes; then | 
|  | 13218 | # If archive_cmds runs LD, not CC, wlarc should be empty | 
|  | 13219 | wlarc='${wl}' | 
|  | 13220 |  | 
|  | 13221 | # See if GNU ld supports shared libraries. | 
|  | 13222 | case $host_os in | 
|  | 13223 | aix3* | aix4* | aix5*) | 
|  | 13224 | # On AIX/PPC, the GNU linker is very broken | 
|  | 13225 | if test "$host_cpu" != ia64; then | 
|  | 13226 | ld_shlibs_F77=no | 
|  | 13227 | cat <<EOF 1>&2 | 
|  | 13228 |  | 
|  | 13229 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
|  | 13230 | *** to be unable to reliably create shared libraries on AIX. | 
|  | 13231 | *** Therefore, libtool is disabling shared libraries support.  If you | 
|  | 13232 | *** really care for shared libraries, you may want to modify your PATH | 
|  | 13233 | *** so that a non-GNU linker is found, and then restart. | 
|  | 13234 |  | 
|  | 13235 | EOF | 
|  | 13236 | fi | 
|  | 13237 | ;; | 
|  | 13238 |  | 
|  | 13239 | amigaos*) | 
|  | 13240 | archive_cmds_F77='$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)' | 
|  | 13241 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13242 | hardcode_minus_L_F77=yes | 
|  | 13243 |  | 
|  | 13244 | # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
|  | 13245 | # that the semantics of dynamic libraries on AmigaOS, at least up | 
|  | 13246 | # to version 4, is to share data among multiple programs linked | 
|  | 13247 | # with the same dynamic library.  Since this doesn't match the | 
|  | 13248 | # behavior of shared libraries on other platforms, we can't use | 
|  | 13249 | # them. | 
|  | 13250 | ld_shlibs_F77=no | 
|  | 13251 | ;; | 
|  | 13252 |  | 
|  | 13253 | beos*) | 
|  | 13254 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 13255 | allow_undefined_flag_F77=unsupported | 
|  | 13256 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
|  | 13257 | # support --undefined.  This deserves some investigation.  FIXME | 
|  | 13258 | archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 13259 | else | 
|  | 13260 | ld_shlibs_F77=no | 
|  | 13261 | fi | 
|  | 13262 | ;; | 
|  | 13263 |  | 
|  | 13264 | cygwin* | mingw* | pw32*) | 
|  | 13265 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless, | 
|  | 13266 | # as there is no search path for DLLs. | 
|  | 13267 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13268 | allow_undefined_flag_F77=unsupported | 
|  | 13269 | always_export_symbols_F77=no | 
|  | 13270 | enable_shared_with_static_runtimes_F77=yes | 
|  | 13271 | export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 13272 |  | 
|  | 13273 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
|  | 13274 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
|  | 13275 | # If the export-symbols file already is a .def file (1st line | 
|  | 13276 | # is EXPORTS), use it as is; otherwise, prepend... | 
|  | 13277 | archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
|  | 13278 | cp $export_symbols $output_objdir/$soname.def; | 
|  | 13279 | else | 
|  | 13280 | echo EXPORTS > $output_objdir/$soname.def; | 
|  | 13281 | cat $export_symbols >> $output_objdir/$soname.def; | 
|  | 13282 | fi~ | 
|  | 13283 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
|  | 13284 | else | 
|  | 13285 | ld_shlibs=no | 
|  | 13286 | fi | 
|  | 13287 | ;; | 
|  | 13288 |  | 
|  | 13289 | netbsd*) | 
|  | 13290 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 13291 | archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
|  | 13292 | wlarc= | 
|  | 13293 | else | 
|  | 13294 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 13295 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 13296 | fi | 
|  | 13297 | ;; | 
|  | 13298 |  | 
|  | 13299 | solaris* | sysv5*) | 
|  | 13300 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
|  | 13301 | ld_shlibs_F77=no | 
|  | 13302 | cat <<EOF 1>&2 | 
|  | 13303 |  | 
|  | 13304 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
|  | 13305 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
|  | 13306 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
|  | 13307 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
|  | 13308 | *** your PATH or compiler configuration so that the native linker is | 
|  | 13309 | *** used, and then restart. | 
|  | 13310 |  | 
|  | 13311 | EOF | 
|  | 13312 | elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 13313 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 13314 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 13315 | else | 
|  | 13316 | ld_shlibs_F77=no | 
|  | 13317 | fi | 
|  | 13318 | ;; | 
|  | 13319 |  | 
|  | 13320 | sunos4*) | 
|  | 13321 | archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13322 | wlarc= | 
|  | 13323 | hardcode_direct_F77=yes | 
|  | 13324 | hardcode_shlibpath_var_F77=no | 
|  | 13325 | ;; | 
|  | 13326 |  | 
|  | 13327 | *) | 
|  | 13328 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 13329 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 13330 | archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 13331 | else | 
|  | 13332 | ld_shlibs_F77=no | 
|  | 13333 | fi | 
|  | 13334 | ;; | 
|  | 13335 | esac | 
|  | 13336 |  | 
|  | 13337 | if test "$ld_shlibs_F77" = yes; then | 
|  | 13338 | runpath_var=LD_RUN_PATH | 
|  | 13339 | hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir' | 
|  | 13340 | export_dynamic_flag_spec_F77='${wl}--export-dynamic' | 
|  | 13341 | # ancient GNU ld didn't support --whole-archive et. al. | 
|  | 13342 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
|  | 13343 | whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
|  | 13344 | else | 
|  | 13345 | whole_archive_flag_spec_F77= | 
|  | 13346 | fi | 
|  | 13347 | fi | 
|  | 13348 | else | 
|  | 13349 | # PORTME fill in a description of your system's linker (not GNU ld) | 
|  | 13350 | case $host_os in | 
|  | 13351 | aix3*) | 
|  | 13352 | allow_undefined_flag_F77=unsupported | 
|  | 13353 | always_export_symbols_F77=yes | 
|  | 13354 | archive_expsym_cmds_F77='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' | 
|  | 13355 | # Note: this linker hardcodes the directories in LIBPATH if there | 
|  | 13356 | # are no directories specified by -L. | 
|  | 13357 | hardcode_minus_L_F77=yes | 
|  | 13358 | if test "$GCC" = yes && test -z "$link_static_flag"; then | 
|  | 13359 | # Neither direct hardcoding nor static linking is supported with a | 
|  | 13360 | # broken collect2. | 
|  | 13361 | hardcode_direct_F77=unsupported | 
|  | 13362 | fi | 
|  | 13363 | ;; | 
|  | 13364 |  | 
|  | 13365 | aix4* | aix5*) | 
|  | 13366 | if test "$host_cpu" = ia64; then | 
|  | 13367 | # On IA64, the linker does run time linking by default, so we don't | 
|  | 13368 | # have to do anything special. | 
|  | 13369 | aix_use_runtimelinking=no | 
|  | 13370 | exp_sym_flag='-Bexport' | 
|  | 13371 | no_entry_flag="" | 
|  | 13372 | else | 
|  | 13373 | # If we're using GNU nm, then we don't want the "-C" option. | 
|  | 13374 | # -C means demangle to AIX nm, but means don't demangle with GNU nm | 
|  | 13375 | if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
|  | 13376 | export_symbols_cmds_F77='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
|  | 13377 | else | 
|  | 13378 | export_symbols_cmds_F77='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
|  | 13379 | fi | 
|  | 13380 | aix_use_runtimelinking=no | 
|  | 13381 |  | 
|  | 13382 | # Test if we are trying to use run time linking or normal | 
|  | 13383 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
|  | 13384 | # need to do runtime linking. | 
|  | 13385 | case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
|  | 13386 | for ld_flag in $LDFLAGS; do | 
|  | 13387 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
|  | 13388 | aix_use_runtimelinking=yes | 
|  | 13389 | break | 
|  | 13390 | fi | 
|  | 13391 | done | 
|  | 13392 | esac | 
|  | 13393 |  | 
|  | 13394 | exp_sym_flag='-bexport' | 
|  | 13395 | no_entry_flag='-bnoentry' | 
|  | 13396 | fi | 
|  | 13397 |  | 
|  | 13398 | # When large executables or shared objects are built, AIX ld can | 
|  | 13399 | # have problems creating the table of contents.  If linking a library | 
|  | 13400 | # or program results in "error TOC overflow" add -mminimal-toc to | 
|  | 13401 | # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
|  | 13402 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
|  | 13403 |  | 
|  | 13404 | archive_cmds_F77='' | 
|  | 13405 | hardcode_direct_F77=yes | 
|  | 13406 | hardcode_libdir_separator_F77=':' | 
|  | 13407 | link_all_deplibs_F77=yes | 
|  | 13408 |  | 
|  | 13409 | if test "$GCC" = yes; then | 
|  | 13410 | case $host_os in aix4.012|aix4.012.*) | 
|  | 13411 | # We only want to do this on AIX 4.2 and lower, the check | 
|  | 13412 | # below for broken collect2 doesn't work under 4.3+ | 
|  | 13413 | collect2name=`${CC} -print-prog-name=collect2` | 
|  | 13414 | if test -f "$collect2name" && \ | 
|  | 13415 | strings "$collect2name" | grep resolve_lib_name >/dev/null | 
|  | 13416 | then | 
|  | 13417 | # We have reworked collect2 | 
|  | 13418 | hardcode_direct_F77=yes | 
|  | 13419 | else | 
|  | 13420 | # We have old collect2 | 
|  | 13421 | hardcode_direct_F77=unsupported | 
|  | 13422 | # It fails to find uninstalled libraries when the uninstalled | 
|  | 13423 | # path is not listed in the libpath.  Setting hardcode_minus_L | 
|  | 13424 | # to unsupported forces relinking | 
|  | 13425 | hardcode_minus_L_F77=yes | 
|  | 13426 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13427 | hardcode_libdir_separator_F77= | 
|  | 13428 | fi | 
|  | 13429 | esac | 
|  | 13430 | shared_flag='-shared' | 
|  | 13431 | else | 
|  | 13432 | # not using gcc | 
|  | 13433 | if test "$host_cpu" = ia64; then | 
|  | 13434 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
|  | 13435 | # chokes on -Wl,-G. The following line is correct: | 
|  | 13436 | shared_flag='-G' | 
|  | 13437 | else | 
|  | 13438 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 13439 | shared_flag='${wl}-G' | 
|  | 13440 | else | 
|  | 13441 | shared_flag='${wl}-bM:SRE' | 
|  | 13442 | fi | 
|  | 13443 | fi | 
|  | 13444 | fi | 
|  | 13445 |  | 
|  | 13446 | # It seems that -bexpall does not export symbols beginning with | 
|  | 13447 | # underscore (_), so it is better to generate a list of symbols to export. | 
|  | 13448 | always_export_symbols_F77=yes | 
|  | 13449 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 13450 | # Warning - without using the other runtime loading flags (-brtl), | 
|  | 13451 | # -berok will link without error, but may produce a broken library. | 
|  | 13452 | allow_undefined_flag_F77='-berok' | 
|  | 13453 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 13454 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 13455 | program main | 
|  | 13456 |  | 
|  | 13457 | end | 
|  | 13458 | _ACEOF | 
|  | 13459 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 13460 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 13461 | (eval $ac_link) 2>&5 | 
|  | 13462 | ac_status=$? | 
|  | 13463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 13464 | (exit $ac_status); } && | 
|  | 13465 | { ac_try='test -s conftest$ac_exeext' | 
|  | 13466 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 13467 | (eval $ac_try) 2>&5 | 
|  | 13468 | ac_status=$? | 
|  | 13469 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 13470 | (exit $ac_status); }; }; then | 
|  | 13471 |  | 
|  | 13472 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 13473 | }'` | 
|  | 13474 | # Check for a 64-bit object if we didn't find anything. | 
|  | 13475 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 13476 | }'`; fi | 
|  | 13477 | else | 
|  | 13478 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 13479 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 13480 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13481 | fi | 
|  | 13482 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 13483 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
|  | 13484 |  | 
|  | 13485 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 13486 | archive_expsym_cmds_F77="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
|  | 13487 | else | 
|  | 13488 | if test "$host_cpu" = ia64; then | 
|  | 13489 | hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib' | 
|  | 13490 | allow_undefined_flag_F77="-z nodefs" | 
|  | 13491 | archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
|  | 13492 | else | 
|  | 13493 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 13494 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 13495 | program main | 
|  | 13496 |  | 
|  | 13497 | end | 
|  | 13498 | _ACEOF | 
|  | 13499 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 13500 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 13501 | (eval $ac_link) 2>&5 | 
|  | 13502 | ac_status=$? | 
|  | 13503 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 13504 | (exit $ac_status); } && | 
|  | 13505 | { ac_try='test -s conftest$ac_exeext' | 
|  | 13506 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 13507 | (eval $ac_try) 2>&5 | 
|  | 13508 | ac_status=$? | 
|  | 13509 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 13510 | (exit $ac_status); }; }; then | 
|  | 13511 |  | 
|  | 13512 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 13513 | }'` | 
|  | 13514 | # Check for a 64-bit object if we didn't find anything. | 
|  | 13515 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 13516 | }'`; fi | 
|  | 13517 | else | 
|  | 13518 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 13519 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 13520 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 13521 | fi | 
|  | 13522 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 13523 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
|  | 13524 |  | 
|  | 13525 | hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 13526 | # Warning - without using the other run time loading flags, | 
|  | 13527 | # -berok will link without error, but may produce a broken library. | 
|  | 13528 | no_undefined_flag_F77=' ${wl}-bernotok' | 
|  | 13529 | allow_undefined_flag_F77=' ${wl}-berok' | 
|  | 13530 | # -bexpall does not export symbols beginning with underscore (_) | 
|  | 13531 | always_export_symbols_F77=yes | 
|  | 13532 | # Exported symbols can be pulled into shared objects from archives | 
|  | 13533 | whole_archive_flag_spec_F77=' ' | 
|  | 13534 | archive_cmds_need_lc_F77=yes | 
|  | 13535 | # This is similar to how AIX traditionally builds it's shared libraries. | 
|  | 13536 | archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
|  | 13537 | fi | 
|  | 13538 | fi | 
|  | 13539 | ;; | 
|  | 13540 |  | 
|  | 13541 | amigaos*) | 
|  | 13542 | archive_cmds_F77='$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)' | 
|  | 13543 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13544 | hardcode_minus_L_F77=yes | 
|  | 13545 | # see comment about different semantics on the GNU ld section | 
|  | 13546 | ld_shlibs_F77=no | 
|  | 13547 | ;; | 
|  | 13548 |  | 
|  | 13549 | bsdi4*) | 
|  | 13550 | export_dynamic_flag_spec_F77=-rdynamic | 
|  | 13551 | ;; | 
|  | 13552 |  | 
|  | 13553 | cygwin* | mingw* | pw32*) | 
|  | 13554 | # When not using gcc, we currently assume that we are using | 
|  | 13555 | # Microsoft Visual C++. | 
|  | 13556 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 
|  | 13557 | # no search path for DLLs. | 
|  | 13558 | hardcode_libdir_flag_spec_F77=' ' | 
|  | 13559 | allow_undefined_flag_F77=unsupported | 
|  | 13560 | # Tell ltmain to make .lib files, not .a files. | 
|  | 13561 | libext=lib | 
|  | 13562 | # Tell ltmain to make .dll files, not .so files. | 
|  | 13563 | shrext=".dll" | 
|  | 13564 | # FIXME: Setting linknames here is a bad hack. | 
|  | 13565 | archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
|  | 13566 | # The linker will automatically build a .lib file if we build a DLL. | 
|  | 13567 | old_archive_From_new_cmds_F77='true' | 
|  | 13568 | # FIXME: Should let the user specify the lib program. | 
|  | 13569 | old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
|  | 13570 | fix_srcfile_path='`cygpath -w "$srcfile"`' | 
|  | 13571 | enable_shared_with_static_runtimes_F77=yes | 
|  | 13572 | ;; | 
|  | 13573 |  | 
|  | 13574 | darwin* | rhapsody*) | 
|  | 13575 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 13576 | archive_cmds_need_lc_F77=no | 
|  | 13577 | case "$host_os" in | 
|  | 13578 | rhapsody* | darwin1.[012]) | 
|  | 13579 | allow_undefined_flag_F77='-undefined suppress' | 
|  | 13580 | ;; | 
|  | 13581 | *) # Darwin 1.3 on | 
|  | 13582 | test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress' | 
|  | 13583 | ;; | 
|  | 13584 | esac | 
|  | 13585 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 13586 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 13587 | #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
|  | 13588 | #	       `"' quotes if we put them in here... so don't! | 
|  | 13589 | lt_int_apple_cc_single_mod=no | 
|  | 13590 | output_verbose_link_cmd='echo' | 
|  | 13591 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
|  | 13592 | lt_int_apple_cc_single_mod=yes | 
|  | 13593 | fi | 
|  | 13594 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 13595 | archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 13596 | else | 
|  | 13597 | archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 13598 | fi | 
|  | 13599 | module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
|  | 13600 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
|  | 13601 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 13602 | archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 13603 | else | 
|  | 13604 | archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 13605 | fi | 
|  | 13606 | module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 13607 | hardcode_direct_F77=no | 
|  | 13608 | hardcode_automatic_F77=yes | 
|  | 13609 | hardcode_shlibpath_var_F77=unsupported | 
|  | 13610 | whole_archive_flag_spec_F77='-all_load $convenience' | 
|  | 13611 | link_all_deplibs_F77=yes | 
|  | 13612 | fi | 
|  | 13613 | ;; | 
|  | 13614 |  | 
|  | 13615 | dgux*) | 
|  | 13616 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13617 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13618 | hardcode_shlibpath_var_F77=no | 
|  | 13619 | ;; | 
|  | 13620 |  | 
|  | 13621 | freebsd1*) | 
|  | 13622 | ld_shlibs_F77=no | 
|  | 13623 | ;; | 
|  | 13624 |  | 
|  | 13625 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
|  | 13626 | # support.  Future versions do this automatically, but an explicit c++rt0.o | 
|  | 13627 | # does not break anything, and helps significantly (at the cost of a little | 
|  | 13628 | # extra space). | 
|  | 13629 | freebsd2.2*) | 
|  | 13630 | archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
|  | 13631 | hardcode_libdir_flag_spec_F77='-R$libdir' | 
|  | 13632 | hardcode_direct_F77=yes | 
|  | 13633 | hardcode_shlibpath_var_F77=no | 
|  | 13634 | ;; | 
|  | 13635 |  | 
|  | 13636 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
|  | 13637 | freebsd2*) | 
|  | 13638 | archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13639 | hardcode_direct_F77=yes | 
|  | 13640 | hardcode_minus_L_F77=yes | 
|  | 13641 | hardcode_shlibpath_var_F77=no | 
|  | 13642 | ;; | 
|  | 13643 |  | 
|  | 13644 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
|  | 13645 | freebsd*) | 
|  | 13646 | archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13647 | hardcode_libdir_flag_spec_F77='-R$libdir' | 
|  | 13648 | hardcode_direct_F77=yes | 
|  | 13649 | hardcode_shlibpath_var_F77=no | 
|  | 13650 | ;; | 
|  | 13651 |  | 
|  | 13652 | hpux9*) | 
|  | 13653 | if test "$GCC" = yes; then | 
|  | 13654 | archive_cmds_F77='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
|  | 13655 | else | 
|  | 13656 | archive_cmds_F77='$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' | 
|  | 13657 | fi | 
|  | 13658 | hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
|  | 13659 | hardcode_libdir_separator_F77=: | 
|  | 13660 | hardcode_direct_F77=yes | 
|  | 13661 |  | 
|  | 13662 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 13663 | # but as the default location of the library. | 
|  | 13664 | hardcode_minus_L_F77=yes | 
|  | 13665 | export_dynamic_flag_spec_F77='${wl}-E' | 
|  | 13666 | ;; | 
|  | 13667 |  | 
|  | 13668 | hpux10* | hpux11*) | 
|  | 13669 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
|  | 13670 | case "$host_cpu" in | 
|  | 13671 | hppa*64*|ia64*) | 
|  | 13672 | archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13673 | ;; | 
|  | 13674 | *) | 
|  | 13675 | archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13676 | ;; | 
|  | 13677 | esac | 
|  | 13678 | else | 
|  | 13679 | case "$host_cpu" in | 
|  | 13680 | hppa*64*|ia64*) | 
|  | 13681 | archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13682 | ;; | 
|  | 13683 | *) | 
|  | 13684 | archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13685 | ;; | 
|  | 13686 | esac | 
|  | 13687 | fi | 
|  | 13688 | if test "$with_gnu_ld" = no; then | 
|  | 13689 | case "$host_cpu" in | 
|  | 13690 | hppa*64*) | 
|  | 13691 | hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
|  | 13692 | hardcode_libdir_flag_spec_ld_F77='+b $libdir' | 
|  | 13693 | hardcode_libdir_separator_F77=: | 
|  | 13694 | hardcode_direct_F77=no | 
|  | 13695 | hardcode_shlibpath_var_F77=no | 
|  | 13696 | ;; | 
|  | 13697 | ia64*) | 
|  | 13698 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13699 | hardcode_direct_F77=no | 
|  | 13700 | hardcode_shlibpath_var_F77=no | 
|  | 13701 |  | 
|  | 13702 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 13703 | # but as the default location of the library. | 
|  | 13704 | hardcode_minus_L_F77=yes | 
|  | 13705 | ;; | 
|  | 13706 | *) | 
|  | 13707 | hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir' | 
|  | 13708 | hardcode_libdir_separator_F77=: | 
|  | 13709 | hardcode_direct_F77=yes | 
|  | 13710 | export_dynamic_flag_spec_F77='${wl}-E' | 
|  | 13711 |  | 
|  | 13712 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 13713 | # but as the default location of the library. | 
|  | 13714 | hardcode_minus_L_F77=yes | 
|  | 13715 | ;; | 
|  | 13716 | esac | 
|  | 13717 | fi | 
|  | 13718 | ;; | 
|  | 13719 |  | 
|  | 13720 | irix5* | irix6* | nonstopux*) | 
|  | 13721 | if test "$GCC" = yes; then | 
|  | 13722 | archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 13723 | else | 
|  | 13724 | archive_cmds_F77='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 13725 | hardcode_libdir_flag_spec_ld_F77='-rpath $libdir' | 
|  | 13726 | fi | 
|  | 13727 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
|  | 13728 | hardcode_libdir_separator_F77=: | 
|  | 13729 | link_all_deplibs_F77=yes | 
|  | 13730 | ;; | 
|  | 13731 |  | 
|  | 13732 | netbsd*) | 
|  | 13733 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 13734 | archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
|  | 13735 | else | 
|  | 13736 | archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
|  | 13737 | fi | 
|  | 13738 | hardcode_libdir_flag_spec_F77='-R$libdir' | 
|  | 13739 | hardcode_direct_F77=yes | 
|  | 13740 | hardcode_shlibpath_var_F77=no | 
|  | 13741 | ;; | 
|  | 13742 |  | 
|  | 13743 | newsos6) | 
|  | 13744 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13745 | hardcode_direct_F77=yes | 
|  | 13746 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
|  | 13747 | hardcode_libdir_separator_F77=: | 
|  | 13748 | hardcode_shlibpath_var_F77=no | 
|  | 13749 | ;; | 
|  | 13750 |  | 
|  | 13751 | openbsd*) | 
|  | 13752 | hardcode_direct_F77=yes | 
|  | 13753 | hardcode_shlibpath_var_F77=no | 
|  | 13754 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
|  | 13755 | archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13756 | hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | 
|  | 13757 | export_dynamic_flag_spec_F77='${wl}-E' | 
|  | 13758 | else | 
|  | 13759 | case $host_os in | 
|  | 13760 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
|  | 13761 | archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13762 | hardcode_libdir_flag_spec_F77='-R$libdir' | 
|  | 13763 | ;; | 
|  | 13764 | *) | 
|  | 13765 | archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13766 | hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir' | 
|  | 13767 | ;; | 
|  | 13768 | esac | 
|  | 13769 | fi | 
|  | 13770 | ;; | 
|  | 13771 |  | 
|  | 13772 | os2*) | 
|  | 13773 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13774 | hardcode_minus_L_F77=yes | 
|  | 13775 | allow_undefined_flag_F77=unsupported | 
|  | 13776 | archive_cmds_F77='$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' | 
|  | 13777 | old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
|  | 13778 | ;; | 
|  | 13779 |  | 
|  | 13780 | osf3*) | 
|  | 13781 | if test "$GCC" = yes; then | 
|  | 13782 | allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 13783 | archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 13784 | else | 
|  | 13785 | allow_undefined_flag_F77=' -expect_unresolved \*' | 
|  | 13786 | archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 13787 | fi | 
|  | 13788 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
|  | 13789 | hardcode_libdir_separator_F77=: | 
|  | 13790 | ;; | 
|  | 13791 |  | 
|  | 13792 | osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
|  | 13793 | if test "$GCC" = yes; then | 
|  | 13794 | allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 13795 | archive_cmds_F77='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 13796 | hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir' | 
|  | 13797 | else | 
|  | 13798 | allow_undefined_flag_F77=' -expect_unresolved \*' | 
|  | 13799 | archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 13800 | archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
|  | 13801 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 
|  | 13802 |  | 
|  | 13803 | # Both c and cxx compiler support -rpath directly | 
|  | 13804 | hardcode_libdir_flag_spec_F77='-rpath $libdir' | 
|  | 13805 | fi | 
|  | 13806 | hardcode_libdir_separator_F77=: | 
|  | 13807 | ;; | 
|  | 13808 |  | 
|  | 13809 | sco3.2v5*) | 
|  | 13810 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13811 | hardcode_shlibpath_var_F77=no | 
|  | 13812 | export_dynamic_flag_spec_F77='${wl}-Bexport' | 
|  | 13813 | runpath_var=LD_RUN_PATH | 
|  | 13814 | hardcode_runpath_var=yes | 
|  | 13815 | ;; | 
|  | 13816 |  | 
|  | 13817 | solaris*) | 
|  | 13818 | no_undefined_flag_F77=' -z text' | 
|  | 13819 | if test "$GCC" = yes; then | 
|  | 13820 | archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13821 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 13822 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
|  | 13823 | else | 
|  | 13824 | archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13825 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 13826 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  | 13827 | fi | 
|  | 13828 | hardcode_libdir_flag_spec_F77='-R$libdir' | 
|  | 13829 | hardcode_shlibpath_var_F77=no | 
|  | 13830 | case $host_os in | 
|  | 13831 | solaris2.[0-5] | solaris2.[0-5].*) ;; | 
|  | 13832 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
|  | 13833 | whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;; | 
|  | 13834 | esac | 
|  | 13835 | link_all_deplibs_F77=yes | 
|  | 13836 | ;; | 
|  | 13837 |  | 
|  | 13838 | sunos4*) | 
|  | 13839 | if test "x$host_vendor" = xsequent; then | 
|  | 13840 | # Use $CC to link under sequent, because it throws in some extra .o | 
|  | 13841 | # files that make .init and .fini sections work. | 
|  | 13842 | archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13843 | else | 
|  | 13844 | archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13845 | fi | 
|  | 13846 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13847 | hardcode_direct_F77=yes | 
|  | 13848 | hardcode_minus_L_F77=yes | 
|  | 13849 | hardcode_shlibpath_var_F77=no | 
|  | 13850 | ;; | 
|  | 13851 |  | 
|  | 13852 | sysv4) | 
|  | 13853 | case $host_vendor in | 
|  | 13854 | sni) | 
|  | 13855 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13856 | hardcode_direct_F77=yes # is this really true??? | 
|  | 13857 | ;; | 
|  | 13858 | siemens) | 
|  | 13859 | ## LD is ld it makes a PLAMLIB | 
|  | 13860 | ## CC just makes a GrossModule. | 
|  | 13861 | archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13862 | reload_cmds_F77='$CC -r -o $output$reload_objs' | 
|  | 13863 | hardcode_direct_F77=no | 
|  | 13864 | ;; | 
|  | 13865 | motorola) | 
|  | 13866 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13867 | hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie | 
|  | 13868 | ;; | 
|  | 13869 | esac | 
|  | 13870 | runpath_var='LD_RUN_PATH' | 
|  | 13871 | hardcode_shlibpath_var_F77=no | 
|  | 13872 | ;; | 
|  | 13873 |  | 
|  | 13874 | sysv4.3*) | 
|  | 13875 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13876 | hardcode_shlibpath_var_F77=no | 
|  | 13877 | export_dynamic_flag_spec_F77='-Bexport' | 
|  | 13878 | ;; | 
|  | 13879 |  | 
|  | 13880 | sysv4*MP*) | 
|  | 13881 | if test -d /usr/nec; then | 
|  | 13882 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13883 | hardcode_shlibpath_var_F77=no | 
|  | 13884 | runpath_var=LD_RUN_PATH | 
|  | 13885 | hardcode_runpath_var=yes | 
|  | 13886 | ld_shlibs_F77=yes | 
|  | 13887 | fi | 
|  | 13888 | ;; | 
|  | 13889 |  | 
|  | 13890 | sysv4.2uw2*) | 
|  | 13891 | archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13892 | hardcode_direct_F77=yes | 
|  | 13893 | hardcode_minus_L_F77=no | 
|  | 13894 | hardcode_shlibpath_var_F77=no | 
|  | 13895 | hardcode_runpath_var=yes | 
|  | 13896 | runpath_var=LD_RUN_PATH | 
|  | 13897 | ;; | 
|  | 13898 |  | 
|  | 13899 | sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
|  | 13900 | no_undefined_flag_F77='${wl}-z ${wl}text' | 
|  | 13901 | if test "$GCC" = yes; then | 
|  | 13902 | archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13903 | else | 
|  | 13904 | archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 13905 | fi | 
|  | 13906 | runpath_var='LD_RUN_PATH' | 
|  | 13907 | hardcode_shlibpath_var_F77=no | 
|  | 13908 | ;; | 
|  | 13909 |  | 
|  | 13910 | sysv5*) | 
|  | 13911 | no_undefined_flag_F77=' -z text' | 
|  | 13912 | # $CC -shared without GNU ld will not create a library from C++ | 
|  | 13913 | # object files and a static libstdc++, better avoid it by now | 
|  | 13914 | archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13915 | archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 13916 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  | 13917 | hardcode_libdir_flag_spec_F77= | 
|  | 13918 | hardcode_shlibpath_var_F77=no | 
|  | 13919 | runpath_var='LD_RUN_PATH' | 
|  | 13920 | ;; | 
|  | 13921 |  | 
|  | 13922 | uts4*) | 
|  | 13923 | archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 13924 | hardcode_libdir_flag_spec_F77='-L$libdir' | 
|  | 13925 | hardcode_shlibpath_var_F77=no | 
|  | 13926 | ;; | 
|  | 13927 |  | 
|  | 13928 | *) | 
|  | 13929 | ld_shlibs_F77=no | 
|  | 13930 | ;; | 
|  | 13931 | esac | 
|  | 13932 | fi | 
|  | 13933 |  | 
|  | 13934 | echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5 | 
|  | 13935 | echo "${ECHO_T}$ld_shlibs_F77" >&6 | 
|  | 13936 | test "$ld_shlibs_F77" = no && can_build_shared=no | 
|  | 13937 |  | 
|  | 13938 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
|  | 13939 | if test "$GCC" = yes; then | 
|  | 13940 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
|  | 13941 | fi | 
|  | 13942 |  | 
|  | 13943 | # | 
|  | 13944 | # Do we need to explicitly link libc? | 
|  | 13945 | # | 
|  | 13946 | case "x$archive_cmds_need_lc_F77" in | 
|  | 13947 | x|xyes) | 
|  | 13948 | # Assume -lc should be added | 
|  | 13949 | archive_cmds_need_lc_F77=yes | 
|  | 13950 |  | 
|  | 13951 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 
|  | 13952 | case $archive_cmds_F77 in | 
|  | 13953 | *'~'*) | 
|  | 13954 | # FIXME: we may have to deal with multi-command sequences. | 
|  | 13955 | ;; | 
|  | 13956 | '$CC '*) | 
|  | 13957 | # Test whether the compiler implicitly links with -lc since on some | 
|  | 13958 | # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
|  | 13959 | # to ld, don't add -lc before -lgcc. | 
|  | 13960 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
|  | 13961 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
|  | 13962 | $rm conftest* | 
|  | 13963 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 13964 |  | 
|  | 13965 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 13966 | (eval $ac_compile) 2>&5 | 
|  | 13967 | ac_status=$? | 
|  | 13968 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 13969 | (exit $ac_status); } 2>conftest.err; then | 
|  | 13970 | soname=conftest | 
|  | 13971 | lib=conftest | 
|  | 13972 | libobjs=conftest.$ac_objext | 
|  | 13973 | deplibs= | 
|  | 13974 | wl=$lt_prog_compiler_wl_F77 | 
|  | 13975 | compiler_flags=-v | 
|  | 13976 | linker_flags=-v | 
|  | 13977 | verstring= | 
|  | 13978 | output_objdir=. | 
|  | 13979 | libname=conftest | 
|  | 13980 | lt_save_allow_undefined_flag=$allow_undefined_flag_F77 | 
|  | 13981 | allow_undefined_flag_F77= | 
|  | 13982 | if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
|  | 13983 | (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
|  | 13984 | ac_status=$? | 
|  | 13985 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 13986 | (exit $ac_status); } | 
|  | 13987 | then | 
|  | 13988 | archive_cmds_need_lc_F77=no | 
|  | 13989 | else | 
|  | 13990 | archive_cmds_need_lc_F77=yes | 
|  | 13991 | fi | 
|  | 13992 | allow_undefined_flag_F77=$lt_save_allow_undefined_flag | 
|  | 13993 | else | 
|  | 13994 | cat conftest.err 1>&5 | 
|  | 13995 | fi | 
|  | 13996 | $rm conftest* | 
|  | 13997 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5 | 
|  | 13998 | echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6 | 
|  | 13999 | ;; | 
|  | 14000 | esac | 
|  | 14001 | fi | 
|  | 14002 | ;; | 
|  | 14003 | esac | 
|  | 14004 |  | 
|  | 14005 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
|  | 14006 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
|  | 14007 | hardcode_action_F77= | 
|  | 14008 | if test -n "$hardcode_libdir_flag_spec_F77" || \ | 
|  | 14009 | test -n "$runpath_var F77" || \ | 
|  | 14010 | test "X$hardcode_automatic_F77"="Xyes" ; then | 
|  | 14011 |  | 
|  | 14012 | # We can hardcode non-existant directories. | 
|  | 14013 | if test "$hardcode_direct_F77" != no && | 
|  | 14014 | # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
|  | 14015 | # have to relink, otherwise we might link with an installed library | 
|  | 14016 | # when we should be linking with a yet-to-be-installed one | 
|  | 14017 | ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no && | 
|  | 14018 | test "$hardcode_minus_L_F77" != no; then | 
|  | 14019 | # Linking always hardcodes the temporary library directory. | 
|  | 14020 | hardcode_action_F77=relink | 
|  | 14021 | else | 
|  | 14022 | # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
|  | 14023 | hardcode_action_F77=immediate | 
|  | 14024 | fi | 
|  | 14025 | else | 
|  | 14026 | # We cannot hardcode anything, or else we can only hardcode existing | 
|  | 14027 | # directories. | 
|  | 14028 | hardcode_action_F77=unsupported | 
|  | 14029 | fi | 
|  | 14030 | echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5 | 
|  | 14031 | echo "${ECHO_T}$hardcode_action_F77" >&6 | 
|  | 14032 |  | 
|  | 14033 | if test "$hardcode_action_F77" = relink; then | 
|  | 14034 | # Fast installation is not supported | 
|  | 14035 | enable_fast_install=no | 
|  | 14036 | elif test "$shlibpath_overrides_runpath" = yes || | 
|  | 14037 | test "$enable_shared" = no; then | 
|  | 14038 | # Fast installation is not necessary | 
|  | 14039 | enable_fast_install=needless | 
|  | 14040 | fi | 
|  | 14041 |  | 
|  | 14042 | striplib= | 
|  | 14043 | old_striplib= | 
|  | 14044 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
|  | 14045 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
|  | 14046 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
|  | 14047 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
|  | 14048 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
|  | 14049 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 14050 | echo "${ECHO_T}yes" >&6 | 
|  | 14051 | else | 
|  | 14052 | # FIXME - insert some real tests, host_os isn't really good enough | 
|  | 14053 | case $host_os in | 
|  | 14054 | darwin*) | 
|  | 14055 | if test -n "$STRIP" ; then | 
|  | 14056 | striplib="$STRIP -x" | 
|  | 14057 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 14058 | echo "${ECHO_T}yes" >&6 | 
|  | 14059 | else | 
|  | 14060 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 14061 | echo "${ECHO_T}no" >&6 | 
|  | 14062 | fi | 
|  | 14063 | ;; | 
|  | 14064 | *) | 
|  | 14065 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 14066 | echo "${ECHO_T}no" >&6 | 
|  | 14067 | ;; | 
|  | 14068 | esac | 
|  | 14069 | fi | 
|  | 14070 |  | 
|  | 14071 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
|  | 14072 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
|  | 14073 | library_names_spec= | 
|  | 14074 | libname_spec='lib$name' | 
|  | 14075 | soname_spec= | 
|  | 14076 | shrext=".so" | 
|  | 14077 | postinstall_cmds= | 
|  | 14078 | postuninstall_cmds= | 
|  | 14079 | finish_cmds= | 
|  | 14080 | finish_eval= | 
|  | 14081 | shlibpath_var= | 
|  | 14082 | shlibpath_overrides_runpath=unknown | 
|  | 14083 | version_type=none | 
|  | 14084 | dynamic_linker="$host_os ld.so" | 
|  | 14085 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
|  | 14086 | if test "$GCC" = yes; then | 
|  | 14087 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 14088 | if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
|  | 14089 | # if the path contains ";" then we assume it to be the separator | 
|  | 14090 | # otherwise default to the standard path separator (i.e. ":") - it is | 
|  | 14091 | # assumed that no part of a normal pathname contains ";" but that should | 
|  | 14092 | # okay in the real world where ";" in dirpaths is itself problematic. | 
|  | 14093 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 14094 | else | 
|  | 14095 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 14096 | fi | 
|  | 14097 | else | 
|  | 14098 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
|  | 14099 | fi | 
|  | 14100 | need_lib_prefix=unknown | 
|  | 14101 | hardcode_into_libs=no | 
|  | 14102 |  | 
|  | 14103 | # when you set need_version to no, make sure it does not cause -set_version | 
|  | 14104 | # flags to be left without arguments | 
|  | 14105 | need_version=unknown | 
|  | 14106 |  | 
|  | 14107 | case $host_os in | 
|  | 14108 | aix3*) | 
|  | 14109 | version_type=linux | 
|  | 14110 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
|  | 14111 | shlibpath_var=LIBPATH | 
|  | 14112 |  | 
|  | 14113 | # AIX 3 has no versioning support, so we append a major version to the name. | 
|  | 14114 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14115 | ;; | 
|  | 14116 |  | 
|  | 14117 | aix4* | aix5*) | 
|  | 14118 | version_type=linux | 
|  | 14119 | need_lib_prefix=no | 
|  | 14120 | need_version=no | 
|  | 14121 | hardcode_into_libs=yes | 
|  | 14122 | if test "$host_cpu" = ia64; then | 
|  | 14123 | # AIX 5 supports IA64 | 
|  | 14124 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
|  | 14125 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14126 | else | 
|  | 14127 | # With GCC up to 2.95.x, collect2 would create an import file | 
|  | 14128 | # for dependence libraries.  The import file would start with | 
|  | 14129 | # the line `#! .'.  This would cause the generated library to | 
|  | 14130 | # depend on `.', always an invalid library.  This was fixed in | 
|  | 14131 | # development snapshots of GCC prior to 3.0. | 
|  | 14132 | case $host_os in | 
|  | 14133 | aix4 | aix4.[01] | aix4.[01].*) | 
|  | 14134 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
|  | 14135 | echo ' yes ' | 
|  | 14136 | echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
|  | 14137 | : | 
|  | 14138 | else | 
|  | 14139 | can_build_shared=no | 
|  | 14140 | fi | 
|  | 14141 | ;; | 
|  | 14142 | esac | 
|  | 14143 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
|  | 14144 | # soname into executable. Probably we can add versioning support to | 
|  | 14145 | # collect2, so additional links can be useful in future. | 
|  | 14146 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 14147 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
|  | 14148 | # instead of lib<name>.a to let people know that these are not | 
|  | 14149 | # typical AIX shared libraries. | 
|  | 14150 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14151 | else | 
|  | 14152 | # We preserve .a as extension for shared libraries through AIX4.2 | 
|  | 14153 | # and later when we are not doing run time linking. | 
|  | 14154 | library_names_spec='${libname}${release}.a $libname.a' | 
|  | 14155 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14156 | fi | 
|  | 14157 | shlibpath_var=LIBPATH | 
|  | 14158 | fi | 
|  | 14159 | ;; | 
|  | 14160 |  | 
|  | 14161 | amigaos*) | 
|  | 14162 | library_names_spec='$libname.ixlibrary $libname.a' | 
|  | 14163 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
|  | 14164 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
|  | 14165 | ;; | 
|  | 14166 |  | 
|  | 14167 | beos*) | 
|  | 14168 | library_names_spec='${libname}${shared_ext}' | 
|  | 14169 | dynamic_linker="$host_os ld.so" | 
|  | 14170 | shlibpath_var=LIBRARY_PATH | 
|  | 14171 | ;; | 
|  | 14172 |  | 
|  | 14173 | bsdi4*) | 
|  | 14174 | version_type=linux | 
|  | 14175 | need_version=no | 
|  | 14176 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14177 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14178 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
|  | 14179 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14180 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
|  | 14181 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
|  | 14182 | # the default ld.so.conf also contains /usr/contrib/lib and | 
|  | 14183 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
|  | 14184 | # libtool to hard-code these into programs | 
|  | 14185 | ;; | 
|  | 14186 |  | 
|  | 14187 | cygwin* | mingw* | pw32*) | 
|  | 14188 | version_type=windows | 
|  | 14189 | shrext=".dll" | 
|  | 14190 | need_version=no | 
|  | 14191 | need_lib_prefix=no | 
|  | 14192 |  | 
|  | 14193 | case $GCC,$host_os in | 
|  | 14194 | yes,cygwin* | yes,mingw* | yes,pw32*) | 
|  | 14195 | library_names_spec='$libname.dll.a' | 
|  | 14196 | # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
|  | 14197 | postinstall_cmds='base_file=`basename \${file}`~ | 
|  | 14198 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
|  | 14199 | dldir=$destdir/`dirname \$dlpath`~ | 
|  | 14200 | test -d \$dldir || mkdir -p \$dldir~ | 
|  | 14201 | $install_prog $dir/$dlname \$dldir/$dlname' | 
|  | 14202 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
|  | 14203 | dlpath=$dir/\$dldll~ | 
|  | 14204 | $rm \$dlpath' | 
|  | 14205 | shlibpath_overrides_runpath=yes | 
|  | 14206 |  | 
|  | 14207 | case $host_os in | 
|  | 14208 | cygwin*) | 
|  | 14209 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
|  | 14210 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 14211 | sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
|  | 14212 | ;; | 
|  | 14213 | mingw*) | 
|  | 14214 | # MinGW DLLs use traditional 'lib' prefix | 
|  | 14215 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 14216 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 14217 | if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
|  | 14218 | # It is most probably a Windows format PATH printed by | 
|  | 14219 | # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
|  | 14220 | # path with ; separators, and with drive letters. We can handle the | 
|  | 14221 | # drive letters (cygwin fileutils understands them), so leave them, | 
|  | 14222 | # especially as we might pass files found there to a mingw objdump, | 
|  | 14223 | # which wouldn't understand a cygwinified path. Ahh. | 
|  | 14224 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 14225 | else | 
|  | 14226 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 14227 | fi | 
|  | 14228 | ;; | 
|  | 14229 | pw32*) | 
|  | 14230 | # pw32 DLLs use 'pw' prefix rather than 'lib' | 
|  | 14231 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
|  | 14232 | ;; | 
|  | 14233 | esac | 
|  | 14234 | ;; | 
|  | 14235 |  | 
|  | 14236 | *) | 
|  | 14237 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
|  | 14238 | ;; | 
|  | 14239 | esac | 
|  | 14240 | dynamic_linker='Win32 ld.exe' | 
|  | 14241 | # FIXME: first we should search . and the directory the executable is in | 
|  | 14242 | shlibpath_var=PATH | 
|  | 14243 | ;; | 
|  | 14244 |  | 
|  | 14245 | darwin* | rhapsody*) | 
|  | 14246 | dynamic_linker="$host_os dyld" | 
|  | 14247 | version_type=darwin | 
|  | 14248 | need_lib_prefix=no | 
|  | 14249 | need_version=no | 
|  | 14250 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 14251 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 14252 | #        yet detect zsh echo's removal of \ escapes. | 
|  | 14253 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
|  | 14254 | soname_spec='${libname}${release}${major}$shared_ext' | 
|  | 14255 | shlibpath_overrides_runpath=yes | 
|  | 14256 | shlibpath_var=DYLD_LIBRARY_PATH | 
|  | 14257 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
|  | 14258 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
|  | 14259 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 14260 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
|  | 14261 | fi | 
|  | 14262 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
|  | 14263 | ;; | 
|  | 14264 |  | 
|  | 14265 | dgux*) | 
|  | 14266 | version_type=linux | 
|  | 14267 | need_lib_prefix=no | 
|  | 14268 | need_version=no | 
|  | 14269 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
|  | 14270 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14271 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14272 | ;; | 
|  | 14273 |  | 
|  | 14274 | freebsd1*) | 
|  | 14275 | dynamic_linker=no | 
|  | 14276 | ;; | 
|  | 14277 |  | 
|  | 14278 | freebsd*) | 
|  | 14279 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
|  | 14280 | version_type=freebsd-$objformat | 
|  | 14281 | case $version_type in | 
|  | 14282 | freebsd-elf*) | 
|  | 14283 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
|  | 14284 | need_version=no | 
|  | 14285 | need_lib_prefix=no | 
|  | 14286 | ;; | 
|  | 14287 | freebsd-*) | 
|  | 14288 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
|  | 14289 | need_version=yes | 
|  | 14290 | ;; | 
|  | 14291 | esac | 
|  | 14292 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14293 | case $host_os in | 
|  | 14294 | freebsd2*) | 
|  | 14295 | shlibpath_overrides_runpath=yes | 
|  | 14296 | ;; | 
|  | 14297 | freebsd3.01* | freebsdelf3.01*) | 
|  | 14298 | shlibpath_overrides_runpath=yes | 
|  | 14299 | hardcode_into_libs=yes | 
|  | 14300 | ;; | 
|  | 14301 | *) # from 3.2 on | 
|  | 14302 | shlibpath_overrides_runpath=no | 
|  | 14303 | hardcode_into_libs=yes | 
|  | 14304 | ;; | 
|  | 14305 | esac | 
|  | 14306 | ;; | 
|  | 14307 |  | 
|  | 14308 | gnu*) | 
|  | 14309 | version_type=linux | 
|  | 14310 | need_lib_prefix=no | 
|  | 14311 | need_version=no | 
|  | 14312 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
|  | 14313 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14314 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14315 | hardcode_into_libs=yes | 
|  | 14316 | ;; | 
|  | 14317 |  | 
|  | 14318 | hpux9* | hpux10* | hpux11*) | 
|  | 14319 | # Give a soname corresponding to the major version so that dld.sl refuses to | 
|  | 14320 | # link against other versions. | 
|  | 14321 | version_type=sunos | 
|  | 14322 | need_lib_prefix=no | 
|  | 14323 | need_version=no | 
|  | 14324 | case "$host_cpu" in | 
|  | 14325 | ia64*) | 
|  | 14326 | shrext='.so' | 
|  | 14327 | hardcode_into_libs=yes | 
|  | 14328 | dynamic_linker="$host_os dld.so" | 
|  | 14329 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14330 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 14331 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14332 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14333 | if test "X$HPUX_IA64_MODE" = X32; then | 
|  | 14334 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
|  | 14335 | else | 
|  | 14336 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
|  | 14337 | fi | 
|  | 14338 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 14339 | ;; | 
|  | 14340 | hppa*64*) | 
|  | 14341 | shrext='.sl' | 
|  | 14342 | hardcode_into_libs=yes | 
|  | 14343 | dynamic_linker="$host_os dld.sl" | 
|  | 14344 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
|  | 14345 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 14346 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14347 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14348 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
|  | 14349 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 14350 | ;; | 
|  | 14351 | *) | 
|  | 14352 | shrext='.sl' | 
|  | 14353 | dynamic_linker="$host_os dld.sl" | 
|  | 14354 | shlibpath_var=SHLIB_PATH | 
|  | 14355 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
|  | 14356 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14357 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14358 | ;; | 
|  | 14359 | esac | 
|  | 14360 | # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
|  | 14361 | postinstall_cmds='chmod 555 $lib' | 
|  | 14362 | ;; | 
|  | 14363 |  | 
|  | 14364 | irix5* | irix6* | nonstopux*) | 
|  | 14365 | case $host_os in | 
|  | 14366 | nonstopux*) version_type=nonstopux ;; | 
|  | 14367 | *) | 
|  | 14368 | if test "$lt_cv_prog_gnu_ld" = yes; then | 
|  | 14369 | version_type=linux | 
|  | 14370 | else | 
|  | 14371 | version_type=irix | 
|  | 14372 | fi ;; | 
|  | 14373 | esac | 
|  | 14374 | need_lib_prefix=no | 
|  | 14375 | need_version=no | 
|  | 14376 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14377 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
|  | 14378 | case $host_os in | 
|  | 14379 | irix5* | nonstopux*) | 
|  | 14380 | libsuff= shlibsuff= | 
|  | 14381 | ;; | 
|  | 14382 | *) | 
|  | 14383 | case $LD in # libtool.m4 will add one of these switches to LD | 
|  | 14384 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
|  | 14385 | libsuff= shlibsuff= libmagic=32-bit;; | 
|  | 14386 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
|  | 14387 | libsuff=32 shlibsuff=N32 libmagic=N32;; | 
|  | 14388 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
|  | 14389 | libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
|  | 14390 | *) libsuff= shlibsuff= libmagic=never-match;; | 
|  | 14391 | esac | 
|  | 14392 | ;; | 
|  | 14393 | esac | 
|  | 14394 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
|  | 14395 | shlibpath_overrides_runpath=no | 
|  | 14396 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
|  | 14397 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
|  | 14398 | hardcode_into_libs=yes | 
|  | 14399 | ;; | 
|  | 14400 |  | 
|  | 14401 | # No shared lib support for Linux oldld, aout, or coff. | 
|  | 14402 | linux*oldld* | linux*aout* | linux*coff*) | 
|  | 14403 | dynamic_linker=no | 
|  | 14404 | ;; | 
|  | 14405 |  | 
|  | 14406 | # This must be Linux ELF. | 
|  | 14407 | linux*) | 
|  | 14408 | version_type=linux | 
|  | 14409 | need_lib_prefix=no | 
|  | 14410 | need_version=no | 
|  | 14411 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14412 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14413 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
|  | 14414 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14415 | shlibpath_overrides_runpath=no | 
|  | 14416 | # This implies no fast_install, which is unacceptable. | 
|  | 14417 | # Some rework will be needed to allow for fast_install | 
|  | 14418 | # before this can be enabled. | 
|  | 14419 | hardcode_into_libs=yes | 
|  | 14420 |  | 
|  | 14421 | # We used to test for /lib/ld.so.1 and disable shared libraries on | 
|  | 14422 | # powerpc, because MkLinux only supported shared libraries with the | 
|  | 14423 | # GNU dynamic linker.  Since this was broken with cross compilers, | 
|  | 14424 | # most powerpc-linux boxes support dynamic linking these days and | 
|  | 14425 | # people can always --disable-shared, the test was removed, and we | 
|  | 14426 | # assume the GNU/Linux dynamic linker is in use. | 
|  | 14427 | dynamic_linker='GNU/Linux ld.so' | 
|  | 14428 | ;; | 
|  | 14429 |  | 
|  | 14430 | netbsd*) | 
|  | 14431 | version_type=sunos | 
|  | 14432 | need_lib_prefix=no | 
|  | 14433 | need_version=no | 
|  | 14434 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 14435 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 14436 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 14437 | dynamic_linker='NetBSD (a.out) ld.so' | 
|  | 14438 | else | 
|  | 14439 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
|  | 14440 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14441 | dynamic_linker='NetBSD ld.elf_so' | 
|  | 14442 | fi | 
|  | 14443 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14444 | shlibpath_overrides_runpath=yes | 
|  | 14445 | hardcode_into_libs=yes | 
|  | 14446 | ;; | 
|  | 14447 |  | 
|  | 14448 | newsos6) | 
|  | 14449 | version_type=linux | 
|  | 14450 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14451 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14452 | shlibpath_overrides_runpath=yes | 
|  | 14453 | ;; | 
|  | 14454 |  | 
|  | 14455 | nto-qnx) | 
|  | 14456 | version_type=linux | 
|  | 14457 | need_lib_prefix=no | 
|  | 14458 | need_version=no | 
|  | 14459 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14460 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14461 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14462 | shlibpath_overrides_runpath=yes | 
|  | 14463 | ;; | 
|  | 14464 |  | 
|  | 14465 | openbsd*) | 
|  | 14466 | version_type=sunos | 
|  | 14467 | need_lib_prefix=no | 
|  | 14468 | need_version=no | 
|  | 14469 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 14470 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 14471 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14472 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
|  | 14473 | case $host_os in | 
|  | 14474 | openbsd2.[89] | openbsd2.[89].*) | 
|  | 14475 | shlibpath_overrides_runpath=no | 
|  | 14476 | ;; | 
|  | 14477 | *) | 
|  | 14478 | shlibpath_overrides_runpath=yes | 
|  | 14479 | ;; | 
|  | 14480 | esac | 
|  | 14481 | else | 
|  | 14482 | shlibpath_overrides_runpath=yes | 
|  | 14483 | fi | 
|  | 14484 | ;; | 
|  | 14485 |  | 
|  | 14486 | os2*) | 
|  | 14487 | libname_spec='$name' | 
|  | 14488 | shrext=".dll" | 
|  | 14489 | need_lib_prefix=no | 
|  | 14490 | library_names_spec='$libname${shared_ext} $libname.a' | 
|  | 14491 | dynamic_linker='OS/2 ld.exe' | 
|  | 14492 | shlibpath_var=LIBPATH | 
|  | 14493 | ;; | 
|  | 14494 |  | 
|  | 14495 | osf3* | osf4* | osf5*) | 
|  | 14496 | version_type=osf | 
|  | 14497 | need_lib_prefix=no | 
|  | 14498 | need_version=no | 
|  | 14499 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14500 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14501 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14502 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
|  | 14503 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
|  | 14504 | ;; | 
|  | 14505 |  | 
|  | 14506 | sco3.2v5*) | 
|  | 14507 | version_type=osf | 
|  | 14508 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14509 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14510 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14511 | ;; | 
|  | 14512 |  | 
|  | 14513 | solaris*) | 
|  | 14514 | version_type=linux | 
|  | 14515 | need_lib_prefix=no | 
|  | 14516 | need_version=no | 
|  | 14517 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14518 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14519 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14520 | shlibpath_overrides_runpath=yes | 
|  | 14521 | hardcode_into_libs=yes | 
|  | 14522 | # ldd complains unless libraries are executable | 
|  | 14523 | postinstall_cmds='chmod +x $lib' | 
|  | 14524 | ;; | 
|  | 14525 |  | 
|  | 14526 | sunos4*) | 
|  | 14527 | version_type=sunos | 
|  | 14528 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 14529 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
|  | 14530 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14531 | shlibpath_overrides_runpath=yes | 
|  | 14532 | if test "$with_gnu_ld" = yes; then | 
|  | 14533 | need_lib_prefix=no | 
|  | 14534 | fi | 
|  | 14535 | need_version=yes | 
|  | 14536 | ;; | 
|  | 14537 |  | 
|  | 14538 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  | 14539 | version_type=linux | 
|  | 14540 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14541 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14542 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14543 | case $host_vendor in | 
|  | 14544 | sni) | 
|  | 14545 | shlibpath_overrides_runpath=no | 
|  | 14546 | need_lib_prefix=no | 
|  | 14547 | export_dynamic_flag_spec='${wl}-Blargedynsym' | 
|  | 14548 | runpath_var=LD_RUN_PATH | 
|  | 14549 | ;; | 
|  | 14550 | siemens) | 
|  | 14551 | need_lib_prefix=no | 
|  | 14552 | ;; | 
|  | 14553 | motorola) | 
|  | 14554 | need_lib_prefix=no | 
|  | 14555 | need_version=no | 
|  | 14556 | shlibpath_overrides_runpath=no | 
|  | 14557 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
|  | 14558 | ;; | 
|  | 14559 | esac | 
|  | 14560 | ;; | 
|  | 14561 |  | 
|  | 14562 | sysv4*MP*) | 
|  | 14563 | if test -d /usr/nec ;then | 
|  | 14564 | version_type=linux | 
|  | 14565 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
|  | 14566 | soname_spec='$libname${shared_ext}.$major' | 
|  | 14567 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14568 | fi | 
|  | 14569 | ;; | 
|  | 14570 |  | 
|  | 14571 | uts4*) | 
|  | 14572 | version_type=linux | 
|  | 14573 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 14574 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 14575 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 14576 | ;; | 
|  | 14577 |  | 
|  | 14578 | *) | 
|  | 14579 | dynamic_linker=no | 
|  | 14580 | ;; | 
|  | 14581 | esac | 
|  | 14582 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
|  | 14583 | echo "${ECHO_T}$dynamic_linker" >&6 | 
|  | 14584 | test "$dynamic_linker" = no && can_build_shared=no | 
|  | 14585 |  | 
|  | 14586 |  | 
|  | 14587 | # The else clause should only fire when bootstrapping the | 
|  | 14588 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
|  | 14589 | # with your package, and you will get complaints that there are | 
|  | 14590 | # no rules to generate ltmain.sh. | 
|  | 14591 | if test -f "$ltmain"; then | 
|  | 14592 | # See if we are running on zsh, and set the options which allow our commands through | 
|  | 14593 | # without removal of \ escapes. | 
|  | 14594 | if test -n "${ZSH_VERSION+set}" ; then | 
|  | 14595 | setopt NO_GLOB_SUBST | 
|  | 14596 | fi | 
|  | 14597 | # Now quote all the things that may contain metacharacters while being | 
|  | 14598 | # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
|  | 14599 | # variables and quote the copies for generation of the libtool script. | 
|  | 14600 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
|  | 14601 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
|  | 14602 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
|  | 14603 | deplibs_check_method reload_flag reload_cmds need_locks \ | 
|  | 14604 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
|  | 14605 | lt_cv_sys_global_symbol_to_c_name_address \ | 
|  | 14606 | sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
|  | 14607 | old_postinstall_cmds old_postuninstall_cmds \ | 
|  | 14608 | compiler_F77 \ | 
|  | 14609 | CC_F77 \ | 
|  | 14610 | LD_F77 \ | 
|  | 14611 | lt_prog_compiler_wl_F77 \ | 
|  | 14612 | lt_prog_compiler_pic_F77 \ | 
|  | 14613 | lt_prog_compiler_static_F77 \ | 
|  | 14614 | lt_prog_compiler_no_builtin_flag_F77 \ | 
|  | 14615 | export_dynamic_flag_spec_F77 \ | 
|  | 14616 | thread_safe_flag_spec_F77 \ | 
|  | 14617 | whole_archive_flag_spec_F77 \ | 
|  | 14618 | enable_shared_with_static_runtimes_F77 \ | 
|  | 14619 | old_archive_cmds_F77 \ | 
|  | 14620 | old_archive_from_new_cmds_F77 \ | 
|  | 14621 | predep_objects_F77 \ | 
|  | 14622 | postdep_objects_F77 \ | 
|  | 14623 | predeps_F77 \ | 
|  | 14624 | postdeps_F77 \ | 
|  | 14625 | compiler_lib_search_path_F77 \ | 
|  | 14626 | archive_cmds_F77 \ | 
|  | 14627 | archive_expsym_cmds_F77 \ | 
|  | 14628 | postinstall_cmds_F77 \ | 
|  | 14629 | postuninstall_cmds_F77 \ | 
|  | 14630 | old_archive_from_expsyms_cmds_F77 \ | 
|  | 14631 | allow_undefined_flag_F77 \ | 
|  | 14632 | no_undefined_flag_F77 \ | 
|  | 14633 | export_symbols_cmds_F77 \ | 
|  | 14634 | hardcode_libdir_flag_spec_F77 \ | 
|  | 14635 | hardcode_libdir_flag_spec_ld_F77 \ | 
|  | 14636 | hardcode_libdir_separator_F77 \ | 
|  | 14637 | hardcode_automatic_F77 \ | 
|  | 14638 | module_cmds_F77 \ | 
|  | 14639 | module_expsym_cmds_F77 \ | 
|  | 14640 | lt_cv_prog_compiler_c_o_F77 \ | 
|  | 14641 | exclude_expsyms_F77 \ | 
|  | 14642 | include_expsyms_F77; do | 
|  | 14643 |  | 
|  | 14644 | case $var in | 
|  | 14645 | old_archive_cmds_F77 | \ | 
|  | 14646 | old_archive_from_new_cmds_F77 | \ | 
|  | 14647 | archive_cmds_F77 | \ | 
|  | 14648 | archive_expsym_cmds_F77 | \ | 
|  | 14649 | module_cmds_F77 | \ | 
|  | 14650 | module_expsym_cmds_F77 | \ | 
|  | 14651 | old_archive_from_expsyms_cmds_F77 | \ | 
|  | 14652 | export_symbols_cmds_F77 | \ | 
|  | 14653 | extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
|  | 14654 | postinstall_cmds | postuninstall_cmds | \ | 
|  | 14655 | old_postinstall_cmds | old_postuninstall_cmds | \ | 
|  | 14656 | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
|  | 14657 | # Double-quote double-evaled strings. | 
|  | 14658 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
|  | 14659 | ;; | 
|  | 14660 | *) | 
|  | 14661 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
|  | 14662 | ;; | 
|  | 14663 | esac | 
|  | 14664 | done | 
|  | 14665 |  | 
|  | 14666 | case $lt_echo in | 
|  | 14667 | *'\$0 --fallback-echo"') | 
|  | 14668 | lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
|  | 14669 | ;; | 
|  | 14670 | esac | 
|  | 14671 |  | 
|  | 14672 | cfgfile="$ofile" | 
|  | 14673 |  | 
|  | 14674 | cat <<__EOF__ >> "$cfgfile" | 
|  | 14675 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
|  | 14676 |  | 
|  | 14677 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
|  | 14678 |  | 
|  | 14679 | # Shell to use when invoking shell scripts. | 
|  | 14680 | SHELL=$lt_SHELL | 
|  | 14681 |  | 
|  | 14682 | # Whether or not to build shared libraries. | 
|  | 14683 | build_libtool_libs=$enable_shared | 
|  | 14684 |  | 
|  | 14685 | # Whether or not to build static libraries. | 
|  | 14686 | build_old_libs=$enable_static | 
|  | 14687 |  | 
|  | 14688 | # Whether or not to add -lc for building shared libraries. | 
|  | 14689 | build_libtool_need_lc=$archive_cmds_need_lc_F77 | 
|  | 14690 |  | 
|  | 14691 | # Whether or not to disallow shared libs when runtime libs are static | 
|  | 14692 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77 | 
|  | 14693 |  | 
|  | 14694 | # Whether or not to optimize for fast installation. | 
|  | 14695 | fast_install=$enable_fast_install | 
|  | 14696 |  | 
|  | 14697 | # The host system. | 
|  | 14698 | host_alias=$host_alias | 
|  | 14699 | host=$host | 
|  | 14700 |  | 
|  | 14701 | # An echo program that does not interpret backslashes. | 
|  | 14702 | echo=$lt_echo | 
|  | 14703 |  | 
|  | 14704 | # The archiver. | 
|  | 14705 | AR=$lt_AR | 
|  | 14706 | AR_FLAGS=$lt_AR_FLAGS | 
|  | 14707 |  | 
|  | 14708 | # A C compiler. | 
|  | 14709 | LTCC=$lt_LTCC | 
|  | 14710 |  | 
|  | 14711 | # A language-specific compiler. | 
|  | 14712 | CC=$lt_compiler_F77 | 
|  | 14713 |  | 
|  | 14714 | # Is the compiler the GNU C compiler? | 
|  | 14715 | with_gcc=$GCC_F77 | 
|  | 14716 |  | 
|  | 14717 | # An ERE matcher. | 
|  | 14718 | EGREP=$lt_EGREP | 
|  | 14719 |  | 
|  | 14720 | # The linker used to build libraries. | 
|  | 14721 | LD=$lt_LD_F77 | 
|  | 14722 |  | 
|  | 14723 | # Whether we need hard or soft links. | 
|  | 14724 | LN_S=$lt_LN_S | 
|  | 14725 |  | 
|  | 14726 | # A BSD-compatible nm program. | 
|  | 14727 | NM=$lt_NM | 
|  | 14728 |  | 
|  | 14729 | # A symbol stripping program | 
|  | 14730 | STRIP=$STRIP | 
|  | 14731 |  | 
|  | 14732 | # Used to examine libraries when file_magic_cmd begins "file" | 
|  | 14733 | MAGIC_CMD=$MAGIC_CMD | 
|  | 14734 |  | 
|  | 14735 | # Used on cygwin: DLL creation program. | 
|  | 14736 | DLLTOOL="$DLLTOOL" | 
|  | 14737 |  | 
|  | 14738 | # Used on cygwin: object dumper. | 
|  | 14739 | OBJDUMP="$OBJDUMP" | 
|  | 14740 |  | 
|  | 14741 | # Used on cygwin: assembler. | 
|  | 14742 | AS="$AS" | 
|  | 14743 |  | 
|  | 14744 | # The name of the directory that contains temporary libtool files. | 
|  | 14745 | objdir=$objdir | 
|  | 14746 |  | 
|  | 14747 | # How to create reloadable object files. | 
|  | 14748 | reload_flag=$lt_reload_flag | 
|  | 14749 | reload_cmds=$lt_reload_cmds | 
|  | 14750 |  | 
|  | 14751 | # How to pass a linker flag through the compiler. | 
|  | 14752 | wl=$lt_lt_prog_compiler_wl_F77 | 
|  | 14753 |  | 
|  | 14754 | # Object file suffix (normally "o"). | 
|  | 14755 | objext="$ac_objext" | 
|  | 14756 |  | 
|  | 14757 | # Old archive suffix (normally "a"). | 
|  | 14758 | libext="$libext" | 
|  | 14759 |  | 
|  | 14760 | # Shared library suffix (normally ".so"). | 
|  | 14761 | shrext='$shrext' | 
|  | 14762 |  | 
|  | 14763 | # Executable file suffix (normally ""). | 
|  | 14764 | exeext="$exeext" | 
|  | 14765 |  | 
|  | 14766 | # Additional compiler flags for building library objects. | 
|  | 14767 | pic_flag=$lt_lt_prog_compiler_pic_F77 | 
|  | 14768 | pic_mode=$pic_mode | 
|  | 14769 |  | 
|  | 14770 | # What is the maximum length of a command? | 
|  | 14771 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
|  | 14772 |  | 
|  | 14773 | # Does compiler simultaneously support -c and -o options? | 
|  | 14774 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77 | 
|  | 14775 |  | 
|  | 14776 | # Must we lock files when doing compilation ? | 
|  | 14777 | need_locks=$lt_need_locks | 
|  | 14778 |  | 
|  | 14779 | # Do we need the lib prefix for modules? | 
|  | 14780 | need_lib_prefix=$need_lib_prefix | 
|  | 14781 |  | 
|  | 14782 | # Do we need a version for libraries? | 
|  | 14783 | need_version=$need_version | 
|  | 14784 |  | 
|  | 14785 | # Whether dlopen is supported. | 
|  | 14786 | dlopen_support=$enable_dlopen | 
|  | 14787 |  | 
|  | 14788 | # Whether dlopen of programs is supported. | 
|  | 14789 | dlopen_self=$enable_dlopen_self | 
|  | 14790 |  | 
|  | 14791 | # Whether dlopen of statically linked programs is supported. | 
|  | 14792 | dlopen_self_static=$enable_dlopen_self_static | 
|  | 14793 |  | 
|  | 14794 | # Compiler flag to prevent dynamic linking. | 
|  | 14795 | link_static_flag=$lt_lt_prog_compiler_static_F77 | 
|  | 14796 |  | 
|  | 14797 | # Compiler flag to turn off builtin functions. | 
|  | 14798 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77 | 
|  | 14799 |  | 
|  | 14800 | # Compiler flag to allow reflexive dlopens. | 
|  | 14801 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77 | 
|  | 14802 |  | 
|  | 14803 | # Compiler flag to generate shared objects directly from archives. | 
|  | 14804 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77 | 
|  | 14805 |  | 
|  | 14806 | # Compiler flag to generate thread-safe objects. | 
|  | 14807 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77 | 
|  | 14808 |  | 
|  | 14809 | # Library versioning type. | 
|  | 14810 | version_type=$version_type | 
|  | 14811 |  | 
|  | 14812 | # Format of library name prefix. | 
|  | 14813 | libname_spec=$lt_libname_spec | 
|  | 14814 |  | 
|  | 14815 | # List of archive names.  First name is the real one, the rest are links. | 
|  | 14816 | # The last name is the one that the linker finds with -lNAME. | 
|  | 14817 | library_names_spec=$lt_library_names_spec | 
|  | 14818 |  | 
|  | 14819 | # The coded name of the library, if different from the real name. | 
|  | 14820 | soname_spec=$lt_soname_spec | 
|  | 14821 |  | 
|  | 14822 | # Commands used to build and install an old-style archive. | 
|  | 14823 | RANLIB=$lt_RANLIB | 
|  | 14824 | old_archive_cmds=$lt_old_archive_cmds_F77 | 
|  | 14825 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
|  | 14826 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
|  | 14827 |  | 
|  | 14828 | # Create an old-style archive from a shared archive. | 
|  | 14829 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77 | 
|  | 14830 |  | 
|  | 14831 | # Create a temporary old-style archive to link instead of a shared archive. | 
|  | 14832 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77 | 
|  | 14833 |  | 
|  | 14834 | # Commands used to build and install a shared archive. | 
|  | 14835 | archive_cmds=$lt_archive_cmds_F77 | 
|  | 14836 | archive_expsym_cmds=$lt_archive_expsym_cmds_F77 | 
|  | 14837 | postinstall_cmds=$lt_postinstall_cmds | 
|  | 14838 | postuninstall_cmds=$lt_postuninstall_cmds | 
|  | 14839 |  | 
|  | 14840 | # Commands used to build a loadable module (assumed same as above if empty) | 
|  | 14841 | module_cmds=$lt_module_cmds_F77 | 
|  | 14842 | module_expsym_cmds=$lt_module_expsym_cmds_F77 | 
|  | 14843 |  | 
|  | 14844 | # Commands to strip libraries. | 
|  | 14845 | old_striplib=$lt_old_striplib | 
|  | 14846 | striplib=$lt_striplib | 
|  | 14847 |  | 
|  | 14848 | # Dependencies to place before the objects being linked to create a | 
|  | 14849 | # shared library. | 
|  | 14850 | predep_objects=$lt_predep_objects_F77 | 
|  | 14851 |  | 
|  | 14852 | # Dependencies to place after the objects being linked to create a | 
|  | 14853 | # shared library. | 
|  | 14854 | postdep_objects=$lt_postdep_objects_F77 | 
|  | 14855 |  | 
|  | 14856 | # Dependencies to place before the objects being linked to create a | 
|  | 14857 | # shared library. | 
|  | 14858 | predeps=$lt_predeps_F77 | 
|  | 14859 |  | 
|  | 14860 | # Dependencies to place after the objects being linked to create a | 
|  | 14861 | # shared library. | 
|  | 14862 | postdeps=$lt_postdeps_F77 | 
|  | 14863 |  | 
|  | 14864 | # The library search path used internally by the compiler when linking | 
|  | 14865 | # a shared library. | 
|  | 14866 | compiler_lib_search_path=$lt_compiler_lib_search_path_F77 | 
|  | 14867 |  | 
|  | 14868 | # Method to check whether dependent libraries are shared objects. | 
|  | 14869 | deplibs_check_method=$lt_deplibs_check_method | 
|  | 14870 |  | 
|  | 14871 | # Command to use when deplibs_check_method == file_magic. | 
|  | 14872 | file_magic_cmd=$lt_file_magic_cmd | 
|  | 14873 |  | 
|  | 14874 | # Flag that allows shared libraries with undefined symbols to be built. | 
|  | 14875 | allow_undefined_flag=$lt_allow_undefined_flag_F77 | 
|  | 14876 |  | 
|  | 14877 | # Flag that forces no undefined symbols. | 
|  | 14878 | no_undefined_flag=$lt_no_undefined_flag_F77 | 
|  | 14879 |  | 
|  | 14880 | # Commands used to finish a libtool library installation in a directory. | 
|  | 14881 | finish_cmds=$lt_finish_cmds | 
|  | 14882 |  | 
|  | 14883 | # Same as above, but a single script fragment to be evaled but not shown. | 
|  | 14884 | finish_eval=$lt_finish_eval | 
|  | 14885 |  | 
|  | 14886 | # Take the output of nm and produce a listing of raw symbols and C names. | 
|  | 14887 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
|  | 14888 |  | 
|  | 14889 | # Transform the output of nm in a proper C declaration | 
|  | 14890 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
|  | 14891 |  | 
|  | 14892 | # Transform the output of nm in a C name address pair | 
|  | 14893 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
|  | 14894 |  | 
|  | 14895 | # This is the shared library runtime path variable. | 
|  | 14896 | runpath_var=$runpath_var | 
|  | 14897 |  | 
|  | 14898 | # This is the shared library path variable. | 
|  | 14899 | shlibpath_var=$shlibpath_var | 
|  | 14900 |  | 
|  | 14901 | # Is shlibpath searched before the hard-coded library search path? | 
|  | 14902 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
|  | 14903 |  | 
|  | 14904 | # How to hardcode a shared library path into an executable. | 
|  | 14905 | hardcode_action=$hardcode_action_F77 | 
|  | 14906 |  | 
|  | 14907 | # Whether we should hardcode library paths into libraries. | 
|  | 14908 | hardcode_into_libs=$hardcode_into_libs | 
|  | 14909 |  | 
|  | 14910 | # Flag to hardcode \$libdir into a binary during linking. | 
|  | 14911 | # This must work even if \$libdir does not exist. | 
|  | 14912 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77 | 
|  | 14913 |  | 
|  | 14914 | # If ld is used when linking, flag to hardcode \$libdir into | 
|  | 14915 | # a binary during linking. This must work even if \$libdir does | 
|  | 14916 | # not exist. | 
|  | 14917 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77 | 
|  | 14918 |  | 
|  | 14919 | # Whether we need a single -rpath flag with a separated argument. | 
|  | 14920 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77 | 
|  | 14921 |  | 
|  | 14922 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
|  | 14923 | # resulting binary. | 
|  | 14924 | hardcode_direct=$hardcode_direct_F77 | 
|  | 14925 |  | 
|  | 14926 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
|  | 14927 | # resulting binary. | 
|  | 14928 | hardcode_minus_L=$hardcode_minus_L_F77 | 
|  | 14929 |  | 
|  | 14930 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
|  | 14931 | # the resulting binary. | 
|  | 14932 | hardcode_shlibpath_var=$hardcode_shlibpath_var_F77 | 
|  | 14933 |  | 
|  | 14934 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
|  | 14935 | # and all subsequent libraries and executables linked against it. | 
|  | 14936 | hardcode_automatic=$hardcode_automatic_F77 | 
|  | 14937 |  | 
|  | 14938 | # Variables whose values should be saved in libtool wrapper scripts and | 
|  | 14939 | # restored at relink time. | 
|  | 14940 | variables_saved_for_relink="$variables_saved_for_relink" | 
|  | 14941 |  | 
|  | 14942 | # Whether libtool must link a program against all its dependency libraries. | 
|  | 14943 | link_all_deplibs=$link_all_deplibs_F77 | 
|  | 14944 |  | 
|  | 14945 | # Compile-time system search path for libraries | 
|  | 14946 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
|  | 14947 |  | 
|  | 14948 | # Run-time system search path for libraries | 
|  | 14949 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
|  | 14950 |  | 
|  | 14951 | # Fix the shell variable \$srcfile for the compiler. | 
|  | 14952 | fix_srcfile_path="$fix_srcfile_path_F77" | 
|  | 14953 |  | 
|  | 14954 | # Set to yes if exported symbols are required. | 
|  | 14955 | always_export_symbols=$always_export_symbols_F77 | 
|  | 14956 |  | 
|  | 14957 | # The commands to list exported symbols. | 
|  | 14958 | export_symbols_cmds=$lt_export_symbols_cmds_F77 | 
|  | 14959 |  | 
|  | 14960 | # The commands to extract the exported symbol list from a shared archive. | 
|  | 14961 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
|  | 14962 |  | 
|  | 14963 | # Symbols that should not be listed in the preloaded symbols. | 
|  | 14964 | exclude_expsyms=$lt_exclude_expsyms_F77 | 
|  | 14965 |  | 
|  | 14966 | # Symbols that must always be exported. | 
|  | 14967 | include_expsyms=$lt_include_expsyms_F77 | 
|  | 14968 |  | 
|  | 14969 | # ### END LIBTOOL TAG CONFIG: $tagname | 
|  | 14970 |  | 
|  | 14971 | __EOF__ | 
|  | 14972 |  | 
|  | 14973 |  | 
|  | 14974 | else | 
|  | 14975 | # If there is no Makefile yet, we rely on a make rule to execute | 
|  | 14976 | # `config.status --recheck' to rerun these tests and create the | 
|  | 14977 | # libtool script then. | 
|  | 14978 | test -f Makefile && make "$ltmain" | 
|  | 14979 | fi | 
|  | 14980 |  | 
|  | 14981 |  | 
|  | 14982 | ac_ext=c | 
|  | 14983 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 14984 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 14985 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 14986 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 14987 |  | 
|  | 14988 | CC="$lt_save_CC" | 
|  | 14989 |  | 
|  | 14990 | else | 
|  | 14991 | tagname="" | 
|  | 14992 | fi | 
|  | 14993 | ;; | 
|  | 14994 |  | 
|  | 14995 | GCJ) | 
|  | 14996 | if test -n "$GCJ" && test "X$GCJ" != "Xno"; then | 
|  | 14997 |  | 
|  | 14998 |  | 
|  | 14999 |  | 
|  | 15000 | # Source file extension for Java test sources. | 
|  | 15001 | ac_ext=java | 
|  | 15002 |  | 
|  | 15003 | # Object file extension for compiled Java test sources. | 
|  | 15004 | objext=o | 
|  | 15005 | objext_GCJ=$objext | 
|  | 15006 |  | 
|  | 15007 | # Code to be used in simple compile tests | 
|  | 15008 | lt_simple_compile_test_code="class foo {}\n" | 
|  | 15009 |  | 
|  | 15010 | # Code to be used in simple link tests | 
|  | 15011 | lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n' | 
|  | 15012 |  | 
|  | 15013 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
|  | 15014 |  | 
|  | 15015 | # If no C compiler was specified, use CC. | 
|  | 15016 | LTCC=${LTCC-"$CC"} | 
|  | 15017 |  | 
|  | 15018 | # Allow CC to be a program name with arguments. | 
|  | 15019 | compiler=$CC | 
|  | 15020 |  | 
|  | 15021 |  | 
|  | 15022 | # Allow CC to be a program name with arguments. | 
|  | 15023 | lt_save_CC="$CC" | 
|  | 15024 | CC=${GCJ-"gcj"} | 
|  | 15025 | compiler=$CC | 
|  | 15026 | compiler_GCJ=$CC | 
|  | 15027 |  | 
|  | 15028 | # GCJ did not exist at the time GCC didn't implicitly link libc in. | 
|  | 15029 | archive_cmds_need_lc_GCJ=no | 
|  | 15030 |  | 
|  | 15031 | ## CAVEAT EMPTOR: | 
|  | 15032 | ## There is no encapsulation within the following macros, do not change | 
|  | 15033 | ## the running order or otherwise move them around unless you know exactly | 
|  | 15034 | ## what you are doing... | 
|  | 15035 |  | 
|  | 15036 | lt_prog_compiler_no_builtin_flag_GCJ= | 
|  | 15037 |  | 
|  | 15038 | if test "$GCC" = yes; then | 
|  | 15039 | lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin' | 
|  | 15040 |  | 
|  | 15041 | echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
|  | 15042 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
|  | 15043 | if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then | 
|  | 15044 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 15045 | else | 
|  | 15046 | lt_cv_prog_compiler_rtti_exceptions=no | 
|  | 15047 | ac_outfile=conftest.$ac_objext | 
|  | 15048 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 15049 | lt_compiler_flag="-fno-rtti -fno-exceptions" | 
|  | 15050 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 15051 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 15052 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 15053 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 15054 | # The option is referenced via a variable to avoid confusing sed. | 
|  | 15055 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 15056 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 15057 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 15058 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 15059 | (eval echo "\"\$as_me:15065: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15060 | (eval "$lt_compile" 2>conftest.err) | 
|  | 15061 | ac_status=$? | 
|  | 15062 | cat conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 15063 | echo "$as_me:15069: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15064 | if (exit $ac_status) && test -s "$ac_outfile"; then | 
|  | 15065 | # The compiler can only warn and ignore the option if not recognized | 
|  | 15066 | # So say no if there are warnings | 
|  | 15067 | if test ! -s conftest.err; then | 
|  | 15068 | lt_cv_prog_compiler_rtti_exceptions=yes | 
|  | 15069 | fi | 
|  | 15070 | fi | 
|  | 15071 | $rm conftest* | 
|  | 15072 |  | 
|  | 15073 | fi | 
|  | 15074 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 
|  | 15075 | echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6 | 
|  | 15076 |  | 
|  | 15077 | if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 
|  | 15078 | lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions" | 
|  | 15079 | else | 
|  | 15080 | : | 
|  | 15081 | fi | 
|  | 15082 |  | 
|  | 15083 | fi | 
|  | 15084 |  | 
|  | 15085 | lt_prog_compiler_wl_GCJ= | 
|  | 15086 | lt_prog_compiler_pic_GCJ= | 
|  | 15087 | lt_prog_compiler_static_GCJ= | 
|  | 15088 |  | 
|  | 15089 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
|  | 15090 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
|  | 15091 |  | 
|  | 15092 | if test "$GCC" = yes; then | 
|  | 15093 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15094 | lt_prog_compiler_static_GCJ='-static' | 
|  | 15095 |  | 
|  | 15096 | case $host_os in | 
|  | 15097 | aix*) | 
|  | 15098 | # All AIX code is PIC. | 
|  | 15099 | if test "$host_cpu" = ia64; then | 
|  | 15100 | # AIX 5 now supports IA64 processor | 
|  | 15101 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15102 | fi | 
|  | 15103 | ;; | 
|  | 15104 |  | 
|  | 15105 | amigaos*) | 
|  | 15106 | # FIXME: we need at least 68020 code to build shared libraries, but | 
|  | 15107 | # adding the `-m68020' flag to GCC prevents building anything better, | 
|  | 15108 | # like `-m68040'. | 
|  | 15109 | lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4' | 
|  | 15110 | ;; | 
|  | 15111 |  | 
|  | 15112 | beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
|  | 15113 | # PIC is the default for these OSes. | 
|  | 15114 | ;; | 
|  | 15115 |  | 
|  | 15116 | mingw* | pw32* | os2*) | 
|  | 15117 | # This hack is so that the source file can tell whether it is being | 
|  | 15118 | # built for inclusion in a dll (and should export symbols for example). | 
|  | 15119 | lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 
|  | 15120 | ;; | 
|  | 15121 |  | 
|  | 15122 | darwin* | rhapsody*) | 
|  | 15123 | # PIC is the default on this platform | 
|  | 15124 | # Common symbols not allowed in MH_DYLIB files | 
|  | 15125 | lt_prog_compiler_pic_GCJ='-fno-common' | 
|  | 15126 | ;; | 
|  | 15127 |  | 
|  | 15128 | msdosdjgpp*) | 
|  | 15129 | # Just because we use GCC doesn't mean we suddenly get shared libraries | 
|  | 15130 | # on systems that don't support them. | 
|  | 15131 | lt_prog_compiler_can_build_shared_GCJ=no | 
|  | 15132 | enable_shared=no | 
|  | 15133 | ;; | 
|  | 15134 |  | 
|  | 15135 | sysv4*MP*) | 
|  | 15136 | if test -d /usr/nec; then | 
|  | 15137 | lt_prog_compiler_pic_GCJ=-Kconform_pic | 
|  | 15138 | fi | 
|  | 15139 | ;; | 
|  | 15140 |  | 
|  | 15141 | hpux*) | 
|  | 15142 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
|  | 15143 | # not for PA HP-UX. | 
|  | 15144 | case "$host_cpu" in | 
|  | 15145 | hppa*64*|ia64*) | 
|  | 15146 | # +Z the default | 
|  | 15147 | ;; | 
|  | 15148 | *) | 
|  | 15149 | lt_prog_compiler_pic_GCJ='-fPIC' | 
|  | 15150 | ;; | 
|  | 15151 | esac | 
|  | 15152 | ;; | 
|  | 15153 |  | 
|  | 15154 | *) | 
|  | 15155 | lt_prog_compiler_pic_GCJ='-fPIC' | 
|  | 15156 | ;; | 
|  | 15157 | esac | 
|  | 15158 | else | 
|  | 15159 | # PORTME Check for flag to pass linker flags through the system compiler. | 
|  | 15160 | case $host_os in | 
|  | 15161 | aix*) | 
|  | 15162 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15163 | if test "$host_cpu" = ia64; then | 
|  | 15164 | # AIX 5 now supports IA64 processor | 
|  | 15165 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15166 | else | 
|  | 15167 | lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp' | 
|  | 15168 | fi | 
|  | 15169 | ;; | 
|  | 15170 |  | 
|  | 15171 | mingw* | pw32* | os2*) | 
|  | 15172 | # This hack is so that the source file can tell whether it is being | 
|  | 15173 | # built for inclusion in a dll (and should export symbols for example). | 
|  | 15174 | lt_prog_compiler_pic_GCJ='-DDLL_EXPORT' | 
|  | 15175 | ;; | 
|  | 15176 |  | 
|  | 15177 | hpux9* | hpux10* | hpux11*) | 
|  | 15178 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15179 | # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
|  | 15180 | # not for PA HP-UX. | 
|  | 15181 | case "$host_cpu" in | 
|  | 15182 | hppa*64*|ia64*) | 
|  | 15183 | # +Z the default | 
|  | 15184 | ;; | 
|  | 15185 | *) | 
|  | 15186 | lt_prog_compiler_pic_GCJ='+Z' | 
|  | 15187 | ;; | 
|  | 15188 | esac | 
|  | 15189 | # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
|  | 15190 | lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive' | 
|  | 15191 | ;; | 
|  | 15192 |  | 
|  | 15193 | irix5* | irix6* | nonstopux*) | 
|  | 15194 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15195 | # PIC (with -KPIC) is the default. | 
|  | 15196 | lt_prog_compiler_static_GCJ='-non_shared' | 
|  | 15197 | ;; | 
|  | 15198 |  | 
|  | 15199 | newsos6) | 
|  | 15200 | lt_prog_compiler_pic_GCJ='-KPIC' | 
|  | 15201 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15202 | ;; | 
|  | 15203 |  | 
|  | 15204 | linux*) | 
|  | 15205 | case $CC in | 
|  | 15206 | icc|ecc) | 
|  | 15207 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15208 | lt_prog_compiler_pic_GCJ='-KPIC' | 
|  | 15209 | lt_prog_compiler_static_GCJ='-static' | 
|  | 15210 | ;; | 
|  | 15211 | ccc) | 
|  | 15212 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15213 | # All Alpha code is PIC. | 
|  | 15214 | lt_prog_compiler_static_GCJ='-non_shared' | 
|  | 15215 | ;; | 
|  | 15216 | esac | 
|  | 15217 | ;; | 
|  | 15218 |  | 
|  | 15219 | osf3* | osf4* | osf5*) | 
|  | 15220 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15221 | # All OSF/1 code is PIC. | 
|  | 15222 | lt_prog_compiler_static_GCJ='-non_shared' | 
|  | 15223 | ;; | 
|  | 15224 |  | 
|  | 15225 | sco3.2v5*) | 
|  | 15226 | lt_prog_compiler_pic_GCJ='-Kpic' | 
|  | 15227 | lt_prog_compiler_static_GCJ='-dn' | 
|  | 15228 | ;; | 
|  | 15229 |  | 
|  | 15230 | solaris*) | 
|  | 15231 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15232 | lt_prog_compiler_pic_GCJ='-KPIC' | 
|  | 15233 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15234 | ;; | 
|  | 15235 |  | 
|  | 15236 | sunos4*) | 
|  | 15237 | lt_prog_compiler_wl_GCJ='-Qoption ld ' | 
|  | 15238 | lt_prog_compiler_pic_GCJ='-PIC' | 
|  | 15239 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15240 | ;; | 
|  | 15241 |  | 
|  | 15242 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  | 15243 | lt_prog_compiler_wl_GCJ='-Wl,' | 
|  | 15244 | lt_prog_compiler_pic_GCJ='-KPIC' | 
|  | 15245 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15246 | ;; | 
|  | 15247 |  | 
|  | 15248 | sysv4*MP*) | 
|  | 15249 | if test -d /usr/nec ;then | 
|  | 15250 | lt_prog_compiler_pic_GCJ='-Kconform_pic' | 
|  | 15251 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15252 | fi | 
|  | 15253 | ;; | 
|  | 15254 |  | 
|  | 15255 | uts4*) | 
|  | 15256 | lt_prog_compiler_pic_GCJ='-pic' | 
|  | 15257 | lt_prog_compiler_static_GCJ='-Bstatic' | 
|  | 15258 | ;; | 
|  | 15259 |  | 
|  | 15260 | *) | 
|  | 15261 | lt_prog_compiler_can_build_shared_GCJ=no | 
|  | 15262 | ;; | 
|  | 15263 | esac | 
|  | 15264 | fi | 
|  | 15265 |  | 
|  | 15266 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5 | 
|  | 15267 | echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6 | 
|  | 15268 |  | 
|  | 15269 | # | 
|  | 15270 | # Check to make sure the PIC flag actually works. | 
|  | 15271 | # | 
|  | 15272 | if test -n "$lt_prog_compiler_pic_GCJ"; then | 
|  | 15273 | echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5 | 
|  | 15274 | echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6 | 
|  | 15275 | if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then | 
|  | 15276 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 15277 | else | 
|  | 15278 | lt_prog_compiler_pic_works_GCJ=no | 
|  | 15279 | ac_outfile=conftest.$ac_objext | 
|  | 15280 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 15281 | lt_compiler_flag="$lt_prog_compiler_pic_GCJ" | 
|  | 15282 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 15283 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 15284 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 15285 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 15286 | # The option is referenced via a variable to avoid confusing sed. | 
|  | 15287 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 15288 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 15289 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 15290 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 15291 | (eval echo "\"\$as_me:15297: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15292 | (eval "$lt_compile" 2>conftest.err) | 
|  | 15293 | ac_status=$? | 
|  | 15294 | cat conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 15295 | echo "$as_me:15301: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15296 | if (exit $ac_status) && test -s "$ac_outfile"; then | 
|  | 15297 | # The compiler can only warn and ignore the option if not recognized | 
|  | 15298 | # So say no if there are warnings | 
|  | 15299 | if test ! -s conftest.err; then | 
|  | 15300 | lt_prog_compiler_pic_works_GCJ=yes | 
|  | 15301 | fi | 
|  | 15302 | fi | 
|  | 15303 | $rm conftest* | 
|  | 15304 |  | 
|  | 15305 | fi | 
|  | 15306 | echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5 | 
|  | 15307 | echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6 | 
|  | 15308 |  | 
|  | 15309 | if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then | 
|  | 15310 | case $lt_prog_compiler_pic_GCJ in | 
|  | 15311 | "" | " "*) ;; | 
|  | 15312 | *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;; | 
|  | 15313 | esac | 
|  | 15314 | else | 
|  | 15315 | lt_prog_compiler_pic_GCJ= | 
|  | 15316 | lt_prog_compiler_can_build_shared_GCJ=no | 
|  | 15317 | fi | 
|  | 15318 |  | 
|  | 15319 | fi | 
|  | 15320 | case "$host_os" in | 
|  | 15321 | # For platforms which do not support PIC, -DPIC is meaningless: | 
|  | 15322 | *djgpp*) | 
|  | 15323 | lt_prog_compiler_pic_GCJ= | 
|  | 15324 | ;; | 
|  | 15325 | *) | 
|  | 15326 | lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ" | 
|  | 15327 | ;; | 
|  | 15328 | esac | 
|  | 15329 |  | 
|  | 15330 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
|  | 15331 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
|  | 15332 | if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then | 
|  | 15333 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 15334 | else | 
|  | 15335 | lt_cv_prog_compiler_c_o_GCJ=no | 
|  | 15336 | $rm -r conftest 2>/dev/null | 
|  | 15337 | mkdir conftest | 
|  | 15338 | cd conftest | 
|  | 15339 | mkdir out | 
|  | 15340 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 15341 |  | 
|  | 15342 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
|  | 15343 | # that will create temporary files in the current directory regardless of | 
|  | 15344 | # the output directory.  Thus, making CWD read-only will cause this test | 
|  | 15345 | # to fail, enabling locking or at least warning the user not to do parallel | 
|  | 15346 | # builds. | 
|  | 15347 | chmod -w . | 
|  | 15348 |  | 
|  | 15349 | lt_compiler_flag="-o out/conftest2.$ac_objext" | 
|  | 15350 | # Insert the option either (1) after the last *FLAGS variable, or | 
|  | 15351 | # (2) before a word containing "conftest.", or (3) at the end. | 
|  | 15352 | # Note that $ac_compile itself does not contain backslashes and begins | 
|  | 15353 | # with a dollar sign (not a hyphen), so the echo should work correctly. | 
|  | 15354 | lt_compile=`echo "$ac_compile" | $SED \ | 
|  | 15355 | -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \ | 
|  | 15356 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
|  | 15357 | -e 's:$: $lt_compiler_flag:'` | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 15358 | (eval echo "\"\$as_me:15364: $lt_compile\"" >&5) | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15359 | (eval "$lt_compile" 2>out/conftest.err) | 
|  | 15360 | ac_status=$? | 
|  | 15361 | cat out/conftest.err >&5 | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 15362 | echo "$as_me:15368: \$? = $ac_status" >&5 | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15363 | if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
|  | 15364 | then | 
|  | 15365 | # The compiler can only warn and ignore the option if not recognized | 
|  | 15366 | # So say no if there are warnings | 
|  | 15367 | if test ! -s out/conftest.err; then | 
|  | 15368 | lt_cv_prog_compiler_c_o_GCJ=yes | 
|  | 15369 | fi | 
|  | 15370 | fi | 
|  | 15371 | chmod u+w . | 
|  | 15372 | $rm conftest* out/* | 
|  | 15373 | rmdir out | 
|  | 15374 | cd .. | 
|  | 15375 | rmdir conftest | 
|  | 15376 | $rm conftest* | 
|  | 15377 |  | 
|  | 15378 | fi | 
|  | 15379 | echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5 | 
|  | 15380 | echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6 | 
|  | 15381 |  | 
|  | 15382 |  | 
|  | 15383 | hard_links="nottested" | 
|  | 15384 | if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then | 
|  | 15385 | # do not overwrite the value of need_locks provided by the user | 
|  | 15386 | echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
|  | 15387 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
|  | 15388 | hard_links=yes | 
|  | 15389 | $rm conftest* | 
|  | 15390 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 15391 | touch conftest.a | 
|  | 15392 | ln conftest.a conftest.b 2>&5 || hard_links=no | 
|  | 15393 | ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
|  | 15394 | echo "$as_me:$LINENO: result: $hard_links" >&5 | 
|  | 15395 | echo "${ECHO_T}$hard_links" >&6 | 
|  | 15396 | if test "$hard_links" = no; then | 
|  | 15397 | { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
|  | 15398 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
|  | 15399 | need_locks=warn | 
|  | 15400 | fi | 
|  | 15401 | else | 
|  | 15402 | need_locks=no | 
|  | 15403 | fi | 
|  | 15404 |  | 
|  | 15405 | echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
|  | 15406 | echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
|  | 15407 |  | 
|  | 15408 | runpath_var= | 
|  | 15409 | allow_undefined_flag_GCJ= | 
|  | 15410 | enable_shared_with_static_runtimes_GCJ=no | 
|  | 15411 | archive_cmds_GCJ= | 
|  | 15412 | archive_expsym_cmds_GCJ= | 
|  | 15413 | old_archive_From_new_cmds_GCJ= | 
|  | 15414 | old_archive_from_expsyms_cmds_GCJ= | 
|  | 15415 | export_dynamic_flag_spec_GCJ= | 
|  | 15416 | whole_archive_flag_spec_GCJ= | 
|  | 15417 | thread_safe_flag_spec_GCJ= | 
|  | 15418 | hardcode_libdir_flag_spec_GCJ= | 
|  | 15419 | hardcode_libdir_flag_spec_ld_GCJ= | 
|  | 15420 | hardcode_libdir_separator_GCJ= | 
|  | 15421 | hardcode_direct_GCJ=no | 
|  | 15422 | hardcode_minus_L_GCJ=no | 
|  | 15423 | hardcode_shlibpath_var_GCJ=unsupported | 
|  | 15424 | link_all_deplibs_GCJ=unknown | 
|  | 15425 | hardcode_automatic_GCJ=no | 
|  | 15426 | module_cmds_GCJ= | 
|  | 15427 | module_expsym_cmds_GCJ= | 
|  | 15428 | always_export_symbols_GCJ=no | 
|  | 15429 | export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 15430 | # include_expsyms should be a list of space-separated symbols to be *always* | 
|  | 15431 | # included in the symbol list | 
|  | 15432 | include_expsyms_GCJ= | 
|  | 15433 | # exclude_expsyms can be an extended regexp of symbols to exclude | 
|  | 15434 | # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
|  | 15435 | # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
|  | 15436 | # as well as any symbol that contains `d'. | 
|  | 15437 | exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_" | 
|  | 15438 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
|  | 15439 | # platforms (ab)use it in PIC code, but their linkers get confused if | 
|  | 15440 | # the symbol is explicitly referenced.  Since portable code cannot | 
|  | 15441 | # rely on this symbol name, it's probably fine to never include it in | 
|  | 15442 | # preloaded symbol tables. | 
|  | 15443 | extract_expsyms_cmds= | 
|  | 15444 |  | 
|  | 15445 | case $host_os in | 
|  | 15446 | cygwin* | mingw* | pw32*) | 
|  | 15447 | # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
|  | 15448 | # When not using gcc, we currently assume that we are using | 
|  | 15449 | # Microsoft Visual C++. | 
|  | 15450 | if test "$GCC" != yes; then | 
|  | 15451 | with_gnu_ld=no | 
|  | 15452 | fi | 
|  | 15453 | ;; | 
|  | 15454 | openbsd*) | 
|  | 15455 | with_gnu_ld=no | 
|  | 15456 | ;; | 
|  | 15457 | esac | 
|  | 15458 |  | 
|  | 15459 | ld_shlibs_GCJ=yes | 
|  | 15460 | if test "$with_gnu_ld" = yes; then | 
|  | 15461 | # If archive_cmds runs LD, not CC, wlarc should be empty | 
|  | 15462 | wlarc='${wl}' | 
|  | 15463 |  | 
|  | 15464 | # See if GNU ld supports shared libraries. | 
|  | 15465 | case $host_os in | 
|  | 15466 | aix3* | aix4* | aix5*) | 
|  | 15467 | # On AIX/PPC, the GNU linker is very broken | 
|  | 15468 | if test "$host_cpu" != ia64; then | 
|  | 15469 | ld_shlibs_GCJ=no | 
|  | 15470 | cat <<EOF 1>&2 | 
|  | 15471 |  | 
|  | 15472 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
|  | 15473 | *** to be unable to reliably create shared libraries on AIX. | 
|  | 15474 | *** Therefore, libtool is disabling shared libraries support.  If you | 
|  | 15475 | *** really care for shared libraries, you may want to modify your PATH | 
|  | 15476 | *** so that a non-GNU linker is found, and then restart. | 
|  | 15477 |  | 
|  | 15478 | EOF | 
|  | 15479 | fi | 
|  | 15480 | ;; | 
|  | 15481 |  | 
|  | 15482 | amigaos*) | 
|  | 15483 | archive_cmds_GCJ='$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)' | 
|  | 15484 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 15485 | hardcode_minus_L_GCJ=yes | 
|  | 15486 |  | 
|  | 15487 | # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
|  | 15488 | # that the semantics of dynamic libraries on AmigaOS, at least up | 
|  | 15489 | # to version 4, is to share data among multiple programs linked | 
|  | 15490 | # with the same dynamic library.  Since this doesn't match the | 
|  | 15491 | # behavior of shared libraries on other platforms, we can't use | 
|  | 15492 | # them. | 
|  | 15493 | ld_shlibs_GCJ=no | 
|  | 15494 | ;; | 
|  | 15495 |  | 
|  | 15496 | beos*) | 
|  | 15497 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 15498 | allow_undefined_flag_GCJ=unsupported | 
|  | 15499 | # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
|  | 15500 | # support --undefined.  This deserves some investigation.  FIXME | 
|  | 15501 | archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 15502 | else | 
|  | 15503 | ld_shlibs_GCJ=no | 
|  | 15504 | fi | 
|  | 15505 | ;; | 
|  | 15506 |  | 
|  | 15507 | cygwin* | mingw* | pw32*) | 
|  | 15508 | # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless, | 
|  | 15509 | # as there is no search path for DLLs. | 
|  | 15510 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 15511 | allow_undefined_flag_GCJ=unsupported | 
|  | 15512 | always_export_symbols_GCJ=no | 
|  | 15513 | enable_shared_with_static_runtimes_GCJ=yes | 
|  | 15514 | export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols' | 
|  | 15515 |  | 
|  | 15516 | if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then | 
|  | 15517 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib' | 
|  | 15518 | # If the export-symbols file already is a .def file (1st line | 
|  | 15519 | # is EXPORTS), use it as is; otherwise, prepend... | 
|  | 15520 | archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
|  | 15521 | cp $export_symbols $output_objdir/$soname.def; | 
|  | 15522 | else | 
|  | 15523 | echo EXPORTS > $output_objdir/$soname.def; | 
|  | 15524 | cat $export_symbols >> $output_objdir/$soname.def; | 
|  | 15525 | fi~ | 
|  | 15526 | $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib' | 
|  | 15527 | else | 
|  | 15528 | ld_shlibs=no | 
|  | 15529 | fi | 
|  | 15530 | ;; | 
|  | 15531 |  | 
|  | 15532 | netbsd*) | 
|  | 15533 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 15534 | archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
|  | 15535 | wlarc= | 
|  | 15536 | else | 
|  | 15537 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 15538 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 15539 | fi | 
|  | 15540 | ;; | 
|  | 15541 |  | 
|  | 15542 | solaris* | sysv5*) | 
|  | 15543 | if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then | 
|  | 15544 | ld_shlibs_GCJ=no | 
|  | 15545 | cat <<EOF 1>&2 | 
|  | 15546 |  | 
|  | 15547 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
|  | 15548 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
|  | 15549 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
|  | 15550 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
|  | 15551 | *** your PATH or compiler configuration so that the native linker is | 
|  | 15552 | *** used, and then restart. | 
|  | 15553 |  | 
|  | 15554 | EOF | 
|  | 15555 | elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 15556 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 15557 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 15558 | else | 
|  | 15559 | ld_shlibs_GCJ=no | 
|  | 15560 | fi | 
|  | 15561 | ;; | 
|  | 15562 |  | 
|  | 15563 | sunos4*) | 
|  | 15564 | archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 15565 | wlarc= | 
|  | 15566 | hardcode_direct_GCJ=yes | 
|  | 15567 | hardcode_shlibpath_var_GCJ=no | 
|  | 15568 | ;; | 
|  | 15569 |  | 
|  | 15570 | *) | 
|  | 15571 | if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then | 
|  | 15572 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
|  | 15573 | archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
|  | 15574 | else | 
|  | 15575 | ld_shlibs_GCJ=no | 
|  | 15576 | fi | 
|  | 15577 | ;; | 
|  | 15578 | esac | 
|  | 15579 |  | 
|  | 15580 | if test "$ld_shlibs_GCJ" = yes; then | 
|  | 15581 | runpath_var=LD_RUN_PATH | 
|  | 15582 | hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir' | 
|  | 15583 | export_dynamic_flag_spec_GCJ='${wl}--export-dynamic' | 
|  | 15584 | # ancient GNU ld didn't support --whole-archive et. al. | 
|  | 15585 | if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then | 
|  | 15586 | whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
|  | 15587 | else | 
|  | 15588 | whole_archive_flag_spec_GCJ= | 
|  | 15589 | fi | 
|  | 15590 | fi | 
|  | 15591 | else | 
|  | 15592 | # PORTME fill in a description of your system's linker (not GNU ld) | 
|  | 15593 | case $host_os in | 
|  | 15594 | aix3*) | 
|  | 15595 | allow_undefined_flag_GCJ=unsupported | 
|  | 15596 | always_export_symbols_GCJ=yes | 
|  | 15597 | archive_expsym_cmds_GCJ='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname' | 
|  | 15598 | # Note: this linker hardcodes the directories in LIBPATH if there | 
|  | 15599 | # are no directories specified by -L. | 
|  | 15600 | hardcode_minus_L_GCJ=yes | 
|  | 15601 | if test "$GCC" = yes && test -z "$link_static_flag"; then | 
|  | 15602 | # Neither direct hardcoding nor static linking is supported with a | 
|  | 15603 | # broken collect2. | 
|  | 15604 | hardcode_direct_GCJ=unsupported | 
|  | 15605 | fi | 
|  | 15606 | ;; | 
|  | 15607 |  | 
|  | 15608 | aix4* | aix5*) | 
|  | 15609 | if test "$host_cpu" = ia64; then | 
|  | 15610 | # On IA64, the linker does run time linking by default, so we don't | 
|  | 15611 | # have to do anything special. | 
|  | 15612 | aix_use_runtimelinking=no | 
|  | 15613 | exp_sym_flag='-Bexport' | 
|  | 15614 | no_entry_flag="" | 
|  | 15615 | else | 
|  | 15616 | # If we're using GNU nm, then we don't want the "-C" option. | 
|  | 15617 | # -C means demangle to AIX nm, but means don't demangle with GNU nm | 
|  | 15618 | if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 
|  | 15619 | export_symbols_cmds_GCJ='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
|  | 15620 | else | 
|  | 15621 | export_symbols_cmds_GCJ='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$2 == "T") || (\$2 == "D") || (\$2 == "B")) && (substr(\$3,1,1) != ".")) { print \$3 } }'\'' | sort -u > $export_symbols' | 
|  | 15622 | fi | 
|  | 15623 | aix_use_runtimelinking=no | 
|  | 15624 |  | 
|  | 15625 | # Test if we are trying to use run time linking or normal | 
|  | 15626 | # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
|  | 15627 | # need to do runtime linking. | 
|  | 15628 | case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
|  | 15629 | for ld_flag in $LDFLAGS; do | 
|  | 15630 | if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
|  | 15631 | aix_use_runtimelinking=yes | 
|  | 15632 | break | 
|  | 15633 | fi | 
|  | 15634 | done | 
|  | 15635 | esac | 
|  | 15636 |  | 
|  | 15637 | exp_sym_flag='-bexport' | 
|  | 15638 | no_entry_flag='-bnoentry' | 
|  | 15639 | fi | 
|  | 15640 |  | 
|  | 15641 | # When large executables or shared objects are built, AIX ld can | 
|  | 15642 | # have problems creating the table of contents.  If linking a library | 
|  | 15643 | # or program results in "error TOC overflow" add -mminimal-toc to | 
|  | 15644 | # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
|  | 15645 | # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
|  | 15646 |  | 
|  | 15647 | archive_cmds_GCJ='' | 
|  | 15648 | hardcode_direct_GCJ=yes | 
|  | 15649 | hardcode_libdir_separator_GCJ=':' | 
|  | 15650 | link_all_deplibs_GCJ=yes | 
|  | 15651 |  | 
|  | 15652 | if test "$GCC" = yes; then | 
|  | 15653 | case $host_os in aix4.012|aix4.012.*) | 
|  | 15654 | # We only want to do this on AIX 4.2 and lower, the check | 
|  | 15655 | # below for broken collect2 doesn't work under 4.3+ | 
|  | 15656 | collect2name=`${CC} -print-prog-name=collect2` | 
|  | 15657 | if test -f "$collect2name" && \ | 
|  | 15658 | strings "$collect2name" | grep resolve_lib_name >/dev/null | 
|  | 15659 | then | 
|  | 15660 | # We have reworked collect2 | 
|  | 15661 | hardcode_direct_GCJ=yes | 
|  | 15662 | else | 
|  | 15663 | # We have old collect2 | 
|  | 15664 | hardcode_direct_GCJ=unsupported | 
|  | 15665 | # It fails to find uninstalled libraries when the uninstalled | 
|  | 15666 | # path is not listed in the libpath.  Setting hardcode_minus_L | 
|  | 15667 | # to unsupported forces relinking | 
|  | 15668 | hardcode_minus_L_GCJ=yes | 
|  | 15669 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 15670 | hardcode_libdir_separator_GCJ= | 
|  | 15671 | fi | 
|  | 15672 | esac | 
|  | 15673 | shared_flag='-shared' | 
|  | 15674 | else | 
|  | 15675 | # not using gcc | 
|  | 15676 | if test "$host_cpu" = ia64; then | 
|  | 15677 | # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
|  | 15678 | # chokes on -Wl,-G. The following line is correct: | 
|  | 15679 | shared_flag='-G' | 
|  | 15680 | else | 
|  | 15681 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 15682 | shared_flag='${wl}-G' | 
|  | 15683 | else | 
|  | 15684 | shared_flag='${wl}-bM:SRE' | 
|  | 15685 | fi | 
|  | 15686 | fi | 
|  | 15687 | fi | 
|  | 15688 |  | 
|  | 15689 | # It seems that -bexpall does not export symbols beginning with | 
|  | 15690 | # underscore (_), so it is better to generate a list of symbols to export. | 
|  | 15691 | always_export_symbols_GCJ=yes | 
|  | 15692 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 15693 | # Warning - without using the other runtime loading flags (-brtl), | 
|  | 15694 | # -berok will link without error, but may produce a broken library. | 
|  | 15695 | allow_undefined_flag_GCJ='-berok' | 
|  | 15696 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 15697 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 15698 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15699 | /* confdefs.h.  */ | 
|  | 15700 | _ACEOF | 
|  | 15701 | cat confdefs.h >>conftest.$ac_ext | 
|  | 15702 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 15703 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15704 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15705 | int | 
|  | 15706 | main () | 
|  | 15707 | { | 
|  | 15708 |  | 
|  | 15709 | ; | 
|  | 15710 | return 0; | 
|  | 15711 | } | 
|  | 15712 | _ACEOF | 
|  | 15713 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 15714 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 15715 | (eval $ac_link) 2>&5 | 
|  | 15716 | ac_status=$? | 
|  | 15717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 15718 | (exit $ac_status); } && | 
|  | 15719 | { ac_try='test -s conftest$ac_exeext' | 
|  | 15720 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 15721 | (eval $ac_try) 2>&5 | 
|  | 15722 | ac_status=$? | 
|  | 15723 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 15724 | (exit $ac_status); }; }; then | 
|  | 15725 |  | 
|  | 15726 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 15727 | }'` | 
|  | 15728 | # Check for a 64-bit object if we didn't find anything. | 
|  | 15729 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 15730 | }'`; fi | 
|  | 15731 | else | 
|  | 15732 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15733 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 15734 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15735 | fi | 
|  | 15736 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 15737 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
|  | 15738 |  | 
|  | 15739 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 15740 | archive_expsym_cmds_GCJ="\$CC"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then echo "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
|  | 15741 | else | 
|  | 15742 | if test "$host_cpu" = ia64; then | 
|  | 15743 | hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib' | 
|  | 15744 | allow_undefined_flag_GCJ="-z nodefs" | 
|  | 15745 | archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
|  | 15746 | else | 
|  | 15747 | # Determine the default libpath from the value encoded in an empty executable. | 
|  | 15748 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 15749 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15750 | /* confdefs.h.  */ | 
|  | 15751 | _ACEOF | 
|  | 15752 | cat confdefs.h >>conftest.$ac_ext | 
|  | 15753 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 15754 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15755 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15756 | int | 
|  | 15757 | main () | 
|  | 15758 | { | 
|  | 15759 |  | 
|  | 15760 | ; | 
|  | 15761 | return 0; | 
|  | 15762 | } | 
|  | 15763 | _ACEOF | 
|  | 15764 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 15765 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 15766 | (eval $ac_link) 2>&5 | 
|  | 15767 | ac_status=$? | 
|  | 15768 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 15769 | (exit $ac_status); } && | 
|  | 15770 | { ac_try='test -s conftest$ac_exeext' | 
|  | 15771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 15772 | (eval $ac_try) 2>&5 | 
|  | 15773 | ac_status=$? | 
|  | 15774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 15775 | (exit $ac_status); }; }; then | 
|  | 15776 |  | 
|  | 15777 | aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 15778 | }'` | 
|  | 15779 | # Check for a 64-bit object if we didn't find anything. | 
|  | 15780 | if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; } | 
|  | 15781 | }'`; fi | 
|  | 15782 | else | 
|  | 15783 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 15784 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 15785 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 15786 | fi | 
|  | 15787 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 15788 | if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi | 
|  | 15789 |  | 
|  | 15790 | hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath" | 
|  | 15791 | # Warning - without using the other run time loading flags, | 
|  | 15792 | # -berok will link without error, but may produce a broken library. | 
|  | 15793 | no_undefined_flag_GCJ=' ${wl}-bernotok' | 
|  | 15794 | allow_undefined_flag_GCJ=' ${wl}-berok' | 
|  | 15795 | # -bexpall does not export symbols beginning with underscore (_) | 
|  | 15796 | always_export_symbols_GCJ=yes | 
|  | 15797 | # Exported symbols can be pulled into shared objects from archives | 
|  | 15798 | whole_archive_flag_spec_GCJ=' ' | 
|  | 15799 | archive_cmds_need_lc_GCJ=yes | 
|  | 15800 | # This is similar to how AIX traditionally builds it's shared libraries. | 
|  | 15801 | archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
|  | 15802 | fi | 
|  | 15803 | fi | 
|  | 15804 | ;; | 
|  | 15805 |  | 
|  | 15806 | amigaos*) | 
|  | 15807 | archive_cmds_GCJ='$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)' | 
|  | 15808 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 15809 | hardcode_minus_L_GCJ=yes | 
|  | 15810 | # see comment about different semantics on the GNU ld section | 
|  | 15811 | ld_shlibs_GCJ=no | 
|  | 15812 | ;; | 
|  | 15813 |  | 
|  | 15814 | bsdi4*) | 
|  | 15815 | export_dynamic_flag_spec_GCJ=-rdynamic | 
|  | 15816 | ;; | 
|  | 15817 |  | 
|  | 15818 | cygwin* | mingw* | pw32*) | 
|  | 15819 | # When not using gcc, we currently assume that we are using | 
|  | 15820 | # Microsoft Visual C++. | 
|  | 15821 | # hardcode_libdir_flag_spec is actually meaningless, as there is | 
|  | 15822 | # no search path for DLLs. | 
|  | 15823 | hardcode_libdir_flag_spec_GCJ=' ' | 
|  | 15824 | allow_undefined_flag_GCJ=unsupported | 
|  | 15825 | # Tell ltmain to make .lib files, not .a files. | 
|  | 15826 | libext=lib | 
|  | 15827 | # Tell ltmain to make .dll files, not .so files. | 
|  | 15828 | shrext=".dll" | 
|  | 15829 | # FIXME: Setting linknames here is a bad hack. | 
|  | 15830 | archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
|  | 15831 | # The linker will automatically build a .lib file if we build a DLL. | 
|  | 15832 | old_archive_From_new_cmds_GCJ='true' | 
|  | 15833 | # FIXME: Should let the user specify the lib program. | 
|  | 15834 | old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
|  | 15835 | fix_srcfile_path='`cygpath -w "$srcfile"`' | 
|  | 15836 | enable_shared_with_static_runtimes_GCJ=yes | 
|  | 15837 | ;; | 
|  | 15838 |  | 
|  | 15839 | darwin* | rhapsody*) | 
|  | 15840 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 15841 | archive_cmds_need_lc_GCJ=no | 
|  | 15842 | case "$host_os" in | 
|  | 15843 | rhapsody* | darwin1.[012]) | 
|  | 15844 | allow_undefined_flag_GCJ='-undefined suppress' | 
|  | 15845 | ;; | 
|  | 15846 | *) # Darwin 1.3 on | 
|  | 15847 | test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress' | 
|  | 15848 | ;; | 
|  | 15849 | esac | 
|  | 15850 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 15851 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 15852 | #        yet detect zsh echo's removal of \ escapes.  Also zsh mangles | 
|  | 15853 | #	       `"' quotes if we put them in here... so don't! | 
|  | 15854 | lt_int_apple_cc_single_mod=no | 
|  | 15855 | output_verbose_link_cmd='echo' | 
|  | 15856 | if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then | 
|  | 15857 | lt_int_apple_cc_single_mod=yes | 
|  | 15858 | fi | 
|  | 15859 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 15860 | archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 15861 | else | 
|  | 15862 | archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | 
|  | 15863 | fi | 
|  | 15864 | module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' | 
|  | 15865 | # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's | 
|  | 15866 | if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | 
|  | 15867 | archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 15868 | else | 
|  | 15869 | archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 15870 | fi | 
|  | 15871 | module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
|  | 15872 | hardcode_direct_GCJ=no | 
|  | 15873 | hardcode_automatic_GCJ=yes | 
|  | 15874 | hardcode_shlibpath_var_GCJ=unsupported | 
|  | 15875 | whole_archive_flag_spec_GCJ='-all_load $convenience' | 
|  | 15876 | link_all_deplibs_GCJ=yes | 
|  | 15877 | fi | 
|  | 15878 | ;; | 
|  | 15879 |  | 
|  | 15880 | dgux*) | 
|  | 15881 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 15882 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 15883 | hardcode_shlibpath_var_GCJ=no | 
|  | 15884 | ;; | 
|  | 15885 |  | 
|  | 15886 | freebsd1*) | 
|  | 15887 | ld_shlibs_GCJ=no | 
|  | 15888 | ;; | 
|  | 15889 |  | 
|  | 15890 | # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
|  | 15891 | # support.  Future versions do this automatically, but an explicit c++rt0.o | 
|  | 15892 | # does not break anything, and helps significantly (at the cost of a little | 
|  | 15893 | # extra space). | 
|  | 15894 | freebsd2.2*) | 
|  | 15895 | archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
|  | 15896 | hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
|  | 15897 | hardcode_direct_GCJ=yes | 
|  | 15898 | hardcode_shlibpath_var_GCJ=no | 
|  | 15899 | ;; | 
|  | 15900 |  | 
|  | 15901 | # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
|  | 15902 | freebsd2*) | 
|  | 15903 | archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 15904 | hardcode_direct_GCJ=yes | 
|  | 15905 | hardcode_minus_L_GCJ=yes | 
|  | 15906 | hardcode_shlibpath_var_GCJ=no | 
|  | 15907 | ;; | 
|  | 15908 |  | 
|  | 15909 | # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
|  | 15910 | freebsd*) | 
|  | 15911 | archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 15912 | hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
|  | 15913 | hardcode_direct_GCJ=yes | 
|  | 15914 | hardcode_shlibpath_var_GCJ=no | 
|  | 15915 | ;; | 
|  | 15916 |  | 
|  | 15917 | hpux9*) | 
|  | 15918 | if test "$GCC" = yes; then | 
|  | 15919 | archive_cmds_GCJ='$rm $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
|  | 15920 | else | 
|  | 15921 | archive_cmds_GCJ='$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' | 
|  | 15922 | fi | 
|  | 15923 | hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
|  | 15924 | hardcode_libdir_separator_GCJ=: | 
|  | 15925 | hardcode_direct_GCJ=yes | 
|  | 15926 |  | 
|  | 15927 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 15928 | # but as the default location of the library. | 
|  | 15929 | hardcode_minus_L_GCJ=yes | 
|  | 15930 | export_dynamic_flag_spec_GCJ='${wl}-E' | 
|  | 15931 | ;; | 
|  | 15932 |  | 
|  | 15933 | hpux10* | hpux11*) | 
|  | 15934 | if test "$GCC" = yes -a "$with_gnu_ld" = no; then | 
|  | 15935 | case "$host_cpu" in | 
|  | 15936 | hppa*64*|ia64*) | 
|  | 15937 | archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 15938 | ;; | 
|  | 15939 | *) | 
|  | 15940 | archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 15941 | ;; | 
|  | 15942 | esac | 
|  | 15943 | else | 
|  | 15944 | case "$host_cpu" in | 
|  | 15945 | hppa*64*|ia64*) | 
|  | 15946 | archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 15947 | ;; | 
|  | 15948 | *) | 
|  | 15949 | archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
|  | 15950 | ;; | 
|  | 15951 | esac | 
|  | 15952 | fi | 
|  | 15953 | if test "$with_gnu_ld" = no; then | 
|  | 15954 | case "$host_cpu" in | 
|  | 15955 | hppa*64*) | 
|  | 15956 | hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
|  | 15957 | hardcode_libdir_flag_spec_ld_GCJ='+b $libdir' | 
|  | 15958 | hardcode_libdir_separator_GCJ=: | 
|  | 15959 | hardcode_direct_GCJ=no | 
|  | 15960 | hardcode_shlibpath_var_GCJ=no | 
|  | 15961 | ;; | 
|  | 15962 | ia64*) | 
|  | 15963 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 15964 | hardcode_direct_GCJ=no | 
|  | 15965 | hardcode_shlibpath_var_GCJ=no | 
|  | 15966 |  | 
|  | 15967 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 15968 | # but as the default location of the library. | 
|  | 15969 | hardcode_minus_L_GCJ=yes | 
|  | 15970 | ;; | 
|  | 15971 | *) | 
|  | 15972 | hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir' | 
|  | 15973 | hardcode_libdir_separator_GCJ=: | 
|  | 15974 | hardcode_direct_GCJ=yes | 
|  | 15975 | export_dynamic_flag_spec_GCJ='${wl}-E' | 
|  | 15976 |  | 
|  | 15977 | # hardcode_minus_L: Not really in the search PATH, | 
|  | 15978 | # but as the default location of the library. | 
|  | 15979 | hardcode_minus_L_GCJ=yes | 
|  | 15980 | ;; | 
|  | 15981 | esac | 
|  | 15982 | fi | 
|  | 15983 | ;; | 
|  | 15984 |  | 
|  | 15985 | irix5* | irix6* | nonstopux*) | 
|  | 15986 | if test "$GCC" = yes; then | 
|  | 15987 | archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 15988 | else | 
|  | 15989 | archive_cmds_GCJ='$LD -shared $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 15990 | hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir' | 
|  | 15991 | fi | 
|  | 15992 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
|  | 15993 | hardcode_libdir_separator_GCJ=: | 
|  | 15994 | link_all_deplibs_GCJ=yes | 
|  | 15995 | ;; | 
|  | 15996 |  | 
|  | 15997 | netbsd*) | 
|  | 15998 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 15999 | archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
|  | 16000 | else | 
|  | 16001 | archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
|  | 16002 | fi | 
|  | 16003 | hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
|  | 16004 | hardcode_direct_GCJ=yes | 
|  | 16005 | hardcode_shlibpath_var_GCJ=no | 
|  | 16006 | ;; | 
|  | 16007 |  | 
|  | 16008 | newsos6) | 
|  | 16009 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16010 | hardcode_direct_GCJ=yes | 
|  | 16011 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
|  | 16012 | hardcode_libdir_separator_GCJ=: | 
|  | 16013 | hardcode_shlibpath_var_GCJ=no | 
|  | 16014 | ;; | 
|  | 16015 |  | 
|  | 16016 | openbsd*) | 
|  | 16017 | hardcode_direct_GCJ=yes | 
|  | 16018 | hardcode_shlibpath_var_GCJ=no | 
|  | 16019 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
|  | 16020 | archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 16021 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | 
|  | 16022 | export_dynamic_flag_spec_GCJ='${wl}-E' | 
|  | 16023 | else | 
|  | 16024 | case $host_os in | 
|  | 16025 | openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
|  | 16026 | archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16027 | hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
|  | 16028 | ;; | 
|  | 16029 | *) | 
|  | 16030 | archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 16031 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir' | 
|  | 16032 | ;; | 
|  | 16033 | esac | 
|  | 16034 | fi | 
|  | 16035 | ;; | 
|  | 16036 |  | 
|  | 16037 | os2*) | 
|  | 16038 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 16039 | hardcode_minus_L_GCJ=yes | 
|  | 16040 | allow_undefined_flag_GCJ=unsupported | 
|  | 16041 | archive_cmds_GCJ='$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' | 
|  | 16042 | old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
|  | 16043 | ;; | 
|  | 16044 |  | 
|  | 16045 | osf3*) | 
|  | 16046 | if test "$GCC" = yes; then | 
|  | 16047 | allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 16048 | archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 16049 | else | 
|  | 16050 | allow_undefined_flag_GCJ=' -expect_unresolved \*' | 
|  | 16051 | archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 16052 | fi | 
|  | 16053 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
|  | 16054 | hardcode_libdir_separator_GCJ=: | 
|  | 16055 | ;; | 
|  | 16056 |  | 
|  | 16057 | osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
|  | 16058 | if test "$GCC" = yes; then | 
|  | 16059 | allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*' | 
|  | 16060 | archive_cmds_GCJ='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
|  | 16061 | hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir' | 
|  | 16062 | else | 
|  | 16063 | allow_undefined_flag_GCJ=' -expect_unresolved \*' | 
|  | 16064 | archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib' | 
|  | 16065 | archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
|  | 16066 | $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp' | 
|  | 16067 |  | 
|  | 16068 | # Both c and cxx compiler support -rpath directly | 
|  | 16069 | hardcode_libdir_flag_spec_GCJ='-rpath $libdir' | 
|  | 16070 | fi | 
|  | 16071 | hardcode_libdir_separator_GCJ=: | 
|  | 16072 | ;; | 
|  | 16073 |  | 
|  | 16074 | sco3.2v5*) | 
|  | 16075 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16076 | hardcode_shlibpath_var_GCJ=no | 
|  | 16077 | export_dynamic_flag_spec_GCJ='${wl}-Bexport' | 
|  | 16078 | runpath_var=LD_RUN_PATH | 
|  | 16079 | hardcode_runpath_var=yes | 
|  | 16080 | ;; | 
|  | 16081 |  | 
|  | 16082 | solaris*) | 
|  | 16083 | no_undefined_flag_GCJ=' -z text' | 
|  | 16084 | if test "$GCC" = yes; then | 
|  | 16085 | archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 16086 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 16087 | $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp' | 
|  | 16088 | else | 
|  | 16089 | archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16090 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 16091 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  | 16092 | fi | 
|  | 16093 | hardcode_libdir_flag_spec_GCJ='-R$libdir' | 
|  | 16094 | hardcode_shlibpath_var_GCJ=no | 
|  | 16095 | case $host_os in | 
|  | 16096 | solaris2.[0-5] | solaris2.[0-5].*) ;; | 
|  | 16097 | *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
|  | 16098 | whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;; | 
|  | 16099 | esac | 
|  | 16100 | link_all_deplibs_GCJ=yes | 
|  | 16101 | ;; | 
|  | 16102 |  | 
|  | 16103 | sunos4*) | 
|  | 16104 | if test "x$host_vendor" = xsequent; then | 
|  | 16105 | # Use $CC to link under sequent, because it throws in some extra .o | 
|  | 16106 | # files that make .init and .fini sections work. | 
|  | 16107 | archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 16108 | else | 
|  | 16109 | archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16110 | fi | 
|  | 16111 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 16112 | hardcode_direct_GCJ=yes | 
|  | 16113 | hardcode_minus_L_GCJ=yes | 
|  | 16114 | hardcode_shlibpath_var_GCJ=no | 
|  | 16115 | ;; | 
|  | 16116 |  | 
|  | 16117 | sysv4) | 
|  | 16118 | case $host_vendor in | 
|  | 16119 | sni) | 
|  | 16120 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16121 | hardcode_direct_GCJ=yes # is this really true??? | 
|  | 16122 | ;; | 
|  | 16123 | siemens) | 
|  | 16124 | ## LD is ld it makes a PLAMLIB | 
|  | 16125 | ## CC just makes a GrossModule. | 
|  | 16126 | archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16127 | reload_cmds_GCJ='$CC -r -o $output$reload_objs' | 
|  | 16128 | hardcode_direct_GCJ=no | 
|  | 16129 | ;; | 
|  | 16130 | motorola) | 
|  | 16131 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16132 | hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie | 
|  | 16133 | ;; | 
|  | 16134 | esac | 
|  | 16135 | runpath_var='LD_RUN_PATH' | 
|  | 16136 | hardcode_shlibpath_var_GCJ=no | 
|  | 16137 | ;; | 
|  | 16138 |  | 
|  | 16139 | sysv4.3*) | 
|  | 16140 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16141 | hardcode_shlibpath_var_GCJ=no | 
|  | 16142 | export_dynamic_flag_spec_GCJ='-Bexport' | 
|  | 16143 | ;; | 
|  | 16144 |  | 
|  | 16145 | sysv4*MP*) | 
|  | 16146 | if test -d /usr/nec; then | 
|  | 16147 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16148 | hardcode_shlibpath_var_GCJ=no | 
|  | 16149 | runpath_var=LD_RUN_PATH | 
|  | 16150 | hardcode_runpath_var=yes | 
|  | 16151 | ld_shlibs_GCJ=yes | 
|  | 16152 | fi | 
|  | 16153 | ;; | 
|  | 16154 |  | 
|  | 16155 | sysv4.2uw2*) | 
|  | 16156 | archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16157 | hardcode_direct_GCJ=yes | 
|  | 16158 | hardcode_minus_L_GCJ=no | 
|  | 16159 | hardcode_shlibpath_var_GCJ=no | 
|  | 16160 | hardcode_runpath_var=yes | 
|  | 16161 | runpath_var=LD_RUN_PATH | 
|  | 16162 | ;; | 
|  | 16163 |  | 
|  | 16164 | sysv5OpenUNIX8* | sysv5UnixWare7* |  sysv5uw[78]* | unixware7*) | 
|  | 16165 | no_undefined_flag_GCJ='${wl}-z ${wl}text' | 
|  | 16166 | if test "$GCC" = yes; then | 
|  | 16167 | archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 16168 | else | 
|  | 16169 | archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
|  | 16170 | fi | 
|  | 16171 | runpath_var='LD_RUN_PATH' | 
|  | 16172 | hardcode_shlibpath_var_GCJ=no | 
|  | 16173 | ;; | 
|  | 16174 |  | 
|  | 16175 | sysv5*) | 
|  | 16176 | no_undefined_flag_GCJ=' -z text' | 
|  | 16177 | # $CC -shared without GNU ld will not create a library from C++ | 
|  | 16178 | # object files and a static libstdc++, better avoid it by now | 
|  | 16179 | archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16180 | archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
|  | 16181 | $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
|  | 16182 | hardcode_libdir_flag_spec_GCJ= | 
|  | 16183 | hardcode_shlibpath_var_GCJ=no | 
|  | 16184 | runpath_var='LD_RUN_PATH' | 
|  | 16185 | ;; | 
|  | 16186 |  | 
|  | 16187 | uts4*) | 
|  | 16188 | archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
|  | 16189 | hardcode_libdir_flag_spec_GCJ='-L$libdir' | 
|  | 16190 | hardcode_shlibpath_var_GCJ=no | 
|  | 16191 | ;; | 
|  | 16192 |  | 
|  | 16193 | *) | 
|  | 16194 | ld_shlibs_GCJ=no | 
|  | 16195 | ;; | 
|  | 16196 | esac | 
|  | 16197 | fi | 
|  | 16198 |  | 
|  | 16199 | echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5 | 
|  | 16200 | echo "${ECHO_T}$ld_shlibs_GCJ" >&6 | 
|  | 16201 | test "$ld_shlibs_GCJ" = no && can_build_shared=no | 
|  | 16202 |  | 
|  | 16203 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
|  | 16204 | if test "$GCC" = yes; then | 
|  | 16205 | variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
|  | 16206 | fi | 
|  | 16207 |  | 
|  | 16208 | # | 
|  | 16209 | # Do we need to explicitly link libc? | 
|  | 16210 | # | 
|  | 16211 | case "x$archive_cmds_need_lc_GCJ" in | 
|  | 16212 | x|xyes) | 
|  | 16213 | # Assume -lc should be added | 
|  | 16214 | archive_cmds_need_lc_GCJ=yes | 
|  | 16215 |  | 
|  | 16216 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 
|  | 16217 | case $archive_cmds_GCJ in | 
|  | 16218 | *'~'*) | 
|  | 16219 | # FIXME: we may have to deal with multi-command sequences. | 
|  | 16220 | ;; | 
|  | 16221 | '$CC '*) | 
|  | 16222 | # Test whether the compiler implicitly links with -lc since on some | 
|  | 16223 | # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
|  | 16224 | # to ld, don't add -lc before -lgcc. | 
|  | 16225 | echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
|  | 16226 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
|  | 16227 | $rm conftest* | 
|  | 16228 | printf "$lt_simple_compile_test_code" > conftest.$ac_ext | 
|  | 16229 |  | 
|  | 16230 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 16231 | (eval $ac_compile) 2>&5 | 
|  | 16232 | ac_status=$? | 
|  | 16233 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 16234 | (exit $ac_status); } 2>conftest.err; then | 
|  | 16235 | soname=conftest | 
|  | 16236 | lib=conftest | 
|  | 16237 | libobjs=conftest.$ac_objext | 
|  | 16238 | deplibs= | 
|  | 16239 | wl=$lt_prog_compiler_wl_GCJ | 
|  | 16240 | compiler_flags=-v | 
|  | 16241 | linker_flags=-v | 
|  | 16242 | verstring= | 
|  | 16243 | output_objdir=. | 
|  | 16244 | libname=conftest | 
|  | 16245 | lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ | 
|  | 16246 | allow_undefined_flag_GCJ= | 
|  | 16247 | if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
|  | 16248 | (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
|  | 16249 | ac_status=$? | 
|  | 16250 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 16251 | (exit $ac_status); } | 
|  | 16252 | then | 
|  | 16253 | archive_cmds_need_lc_GCJ=no | 
|  | 16254 | else | 
|  | 16255 | archive_cmds_need_lc_GCJ=yes | 
|  | 16256 | fi | 
|  | 16257 | allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag | 
|  | 16258 | else | 
|  | 16259 | cat conftest.err 1>&5 | 
|  | 16260 | fi | 
|  | 16261 | $rm conftest* | 
|  | 16262 | echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5 | 
|  | 16263 | echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6 | 
|  | 16264 | ;; | 
|  | 16265 | esac | 
|  | 16266 | fi | 
|  | 16267 | ;; | 
|  | 16268 | esac | 
|  | 16269 |  | 
|  | 16270 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
|  | 16271 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
|  | 16272 | hardcode_action_GCJ= | 
|  | 16273 | if test -n "$hardcode_libdir_flag_spec_GCJ" || \ | 
|  | 16274 | test -n "$runpath_var GCJ" || \ | 
|  | 16275 | test "X$hardcode_automatic_GCJ"="Xyes" ; then | 
|  | 16276 |  | 
|  | 16277 | # We can hardcode non-existant directories. | 
|  | 16278 | if test "$hardcode_direct_GCJ" != no && | 
|  | 16279 | # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
|  | 16280 | # have to relink, otherwise we might link with an installed library | 
|  | 16281 | # when we should be linking with a yet-to-be-installed one | 
|  | 16282 | ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no && | 
|  | 16283 | test "$hardcode_minus_L_GCJ" != no; then | 
|  | 16284 | # Linking always hardcodes the temporary library directory. | 
|  | 16285 | hardcode_action_GCJ=relink | 
|  | 16286 | else | 
|  | 16287 | # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
|  | 16288 | hardcode_action_GCJ=immediate | 
|  | 16289 | fi | 
|  | 16290 | else | 
|  | 16291 | # We cannot hardcode anything, or else we can only hardcode existing | 
|  | 16292 | # directories. | 
|  | 16293 | hardcode_action_GCJ=unsupported | 
|  | 16294 | fi | 
|  | 16295 | echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5 | 
|  | 16296 | echo "${ECHO_T}$hardcode_action_GCJ" >&6 | 
|  | 16297 |  | 
|  | 16298 | if test "$hardcode_action_GCJ" = relink; then | 
|  | 16299 | # Fast installation is not supported | 
|  | 16300 | enable_fast_install=no | 
|  | 16301 | elif test "$shlibpath_overrides_runpath" = yes || | 
|  | 16302 | test "$enable_shared" = no; then | 
|  | 16303 | # Fast installation is not necessary | 
|  | 16304 | enable_fast_install=needless | 
|  | 16305 | fi | 
|  | 16306 |  | 
|  | 16307 | striplib= | 
|  | 16308 | old_striplib= | 
|  | 16309 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
|  | 16310 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
|  | 16311 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
|  | 16312 | test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
|  | 16313 | test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
|  | 16314 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 16315 | echo "${ECHO_T}yes" >&6 | 
|  | 16316 | else | 
|  | 16317 | # FIXME - insert some real tests, host_os isn't really good enough | 
|  | 16318 | case $host_os in | 
|  | 16319 | darwin*) | 
|  | 16320 | if test -n "$STRIP" ; then | 
|  | 16321 | striplib="$STRIP -x" | 
|  | 16322 | echo "$as_me:$LINENO: result: yes" >&5 | 
|  | 16323 | echo "${ECHO_T}yes" >&6 | 
|  | 16324 | else | 
|  | 16325 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 16326 | echo "${ECHO_T}no" >&6 | 
|  | 16327 | fi | 
|  | 16328 | ;; | 
|  | 16329 | *) | 
|  | 16330 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 16331 | echo "${ECHO_T}no" >&6 | 
|  | 16332 | ;; | 
|  | 16333 | esac | 
|  | 16334 | fi | 
|  | 16335 |  | 
|  | 16336 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
|  | 16337 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
|  | 16338 | library_names_spec= | 
|  | 16339 | libname_spec='lib$name' | 
|  | 16340 | soname_spec= | 
|  | 16341 | shrext=".so" | 
|  | 16342 | postinstall_cmds= | 
|  | 16343 | postuninstall_cmds= | 
|  | 16344 | finish_cmds= | 
|  | 16345 | finish_eval= | 
|  | 16346 | shlibpath_var= | 
|  | 16347 | shlibpath_overrides_runpath=unknown | 
|  | 16348 | version_type=none | 
|  | 16349 | dynamic_linker="$host_os ld.so" | 
|  | 16350 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
|  | 16351 | if test "$GCC" = yes; then | 
|  | 16352 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 16353 | if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then | 
|  | 16354 | # if the path contains ";" then we assume it to be the separator | 
|  | 16355 | # otherwise default to the standard path separator (i.e. ":") - it is | 
|  | 16356 | # assumed that no part of a normal pathname contains ";" but that should | 
|  | 16357 | # okay in the real world where ";" in dirpaths is itself problematic. | 
|  | 16358 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 16359 | else | 
|  | 16360 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 16361 | fi | 
|  | 16362 | else | 
|  | 16363 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
|  | 16364 | fi | 
|  | 16365 | need_lib_prefix=unknown | 
|  | 16366 | hardcode_into_libs=no | 
|  | 16367 |  | 
|  | 16368 | # when you set need_version to no, make sure it does not cause -set_version | 
|  | 16369 | # flags to be left without arguments | 
|  | 16370 | need_version=unknown | 
|  | 16371 |  | 
|  | 16372 | case $host_os in | 
|  | 16373 | aix3*) | 
|  | 16374 | version_type=linux | 
|  | 16375 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
|  | 16376 | shlibpath_var=LIBPATH | 
|  | 16377 |  | 
|  | 16378 | # AIX 3 has no versioning support, so we append a major version to the name. | 
|  | 16379 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16380 | ;; | 
|  | 16381 |  | 
|  | 16382 | aix4* | aix5*) | 
|  | 16383 | version_type=linux | 
|  | 16384 | need_lib_prefix=no | 
|  | 16385 | need_version=no | 
|  | 16386 | hardcode_into_libs=yes | 
|  | 16387 | if test "$host_cpu" = ia64; then | 
|  | 16388 | # AIX 5 supports IA64 | 
|  | 16389 | library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
|  | 16390 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16391 | else | 
|  | 16392 | # With GCC up to 2.95.x, collect2 would create an import file | 
|  | 16393 | # for dependence libraries.  The import file would start with | 
|  | 16394 | # the line `#! .'.  This would cause the generated library to | 
|  | 16395 | # depend on `.', always an invalid library.  This was fixed in | 
|  | 16396 | # development snapshots of GCC prior to 3.0. | 
|  | 16397 | case $host_os in | 
|  | 16398 | aix4 | aix4.[01] | aix4.[01].*) | 
|  | 16399 | if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
|  | 16400 | echo ' yes ' | 
|  | 16401 | echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
|  | 16402 | : | 
|  | 16403 | else | 
|  | 16404 | can_build_shared=no | 
|  | 16405 | fi | 
|  | 16406 | ;; | 
|  | 16407 | esac | 
|  | 16408 | # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
|  | 16409 | # soname into executable. Probably we can add versioning support to | 
|  | 16410 | # collect2, so additional links can be useful in future. | 
|  | 16411 | if test "$aix_use_runtimelinking" = yes; then | 
|  | 16412 | # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
|  | 16413 | # instead of lib<name>.a to let people know that these are not | 
|  | 16414 | # typical AIX shared libraries. | 
|  | 16415 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16416 | else | 
|  | 16417 | # We preserve .a as extension for shared libraries through AIX4.2 | 
|  | 16418 | # and later when we are not doing run time linking. | 
|  | 16419 | library_names_spec='${libname}${release}.a $libname.a' | 
|  | 16420 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16421 | fi | 
|  | 16422 | shlibpath_var=LIBPATH | 
|  | 16423 | fi | 
|  | 16424 | ;; | 
|  | 16425 |  | 
|  | 16426 | amigaos*) | 
|  | 16427 | library_names_spec='$libname.ixlibrary $libname.a' | 
|  | 16428 | # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
|  | 16429 | finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''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' | 
|  | 16430 | ;; | 
|  | 16431 |  | 
|  | 16432 | beos*) | 
|  | 16433 | library_names_spec='${libname}${shared_ext}' | 
|  | 16434 | dynamic_linker="$host_os ld.so" | 
|  | 16435 | shlibpath_var=LIBRARY_PATH | 
|  | 16436 | ;; | 
|  | 16437 |  | 
|  | 16438 | bsdi4*) | 
|  | 16439 | version_type=linux | 
|  | 16440 | need_version=no | 
|  | 16441 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16442 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16443 | finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
|  | 16444 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16445 | sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
|  | 16446 | sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
|  | 16447 | # the default ld.so.conf also contains /usr/contrib/lib and | 
|  | 16448 | # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
|  | 16449 | # libtool to hard-code these into programs | 
|  | 16450 | ;; | 
|  | 16451 |  | 
|  | 16452 | cygwin* | mingw* | pw32*) | 
|  | 16453 | version_type=windows | 
|  | 16454 | shrext=".dll" | 
|  | 16455 | need_version=no | 
|  | 16456 | need_lib_prefix=no | 
|  | 16457 |  | 
|  | 16458 | case $GCC,$host_os in | 
|  | 16459 | yes,cygwin* | yes,mingw* | yes,pw32*) | 
|  | 16460 | library_names_spec='$libname.dll.a' | 
|  | 16461 | # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
|  | 16462 | postinstall_cmds='base_file=`basename \${file}`~ | 
|  | 16463 | dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~ | 
|  | 16464 | dldir=$destdir/`dirname \$dlpath`~ | 
|  | 16465 | test -d \$dldir || mkdir -p \$dldir~ | 
|  | 16466 | $install_prog $dir/$dlname \$dldir/$dlname' | 
|  | 16467 | postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
|  | 16468 | dlpath=$dir/\$dldll~ | 
|  | 16469 | $rm \$dlpath' | 
|  | 16470 | shlibpath_overrides_runpath=yes | 
|  | 16471 |  | 
|  | 16472 | case $host_os in | 
|  | 16473 | cygwin*) | 
|  | 16474 | # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
|  | 16475 | soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 16476 | sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib" | 
|  | 16477 | ;; | 
|  | 16478 | mingw*) | 
|  | 16479 | # MinGW DLLs use traditional 'lib' prefix | 
|  | 16480 | soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
|  | 16481 | sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"` | 
|  | 16482 | if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then | 
|  | 16483 | # It is most probably a Windows format PATH printed by | 
|  | 16484 | # mingw gcc, but we are running on Cygwin. Gcc prints its search | 
|  | 16485 | # path with ; separators, and with drive letters. We can handle the | 
|  | 16486 | # drive letters (cygwin fileutils understands them), so leave them, | 
|  | 16487 | # especially as we might pass files found there to a mingw objdump, | 
|  | 16488 | # which wouldn't understand a cygwinified path. Ahh. | 
|  | 16489 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
|  | 16490 | else | 
|  | 16491 | sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"` | 
|  | 16492 | fi | 
|  | 16493 | ;; | 
|  | 16494 | pw32*) | 
|  | 16495 | # pw32 DLLs use 'pw' prefix rather than 'lib' | 
|  | 16496 | library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}' | 
|  | 16497 | ;; | 
|  | 16498 | esac | 
|  | 16499 | ;; | 
|  | 16500 |  | 
|  | 16501 | *) | 
|  | 16502 | library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
|  | 16503 | ;; | 
|  | 16504 | esac | 
|  | 16505 | dynamic_linker='Win32 ld.exe' | 
|  | 16506 | # FIXME: first we should search . and the directory the executable is in | 
|  | 16507 | shlibpath_var=PATH | 
|  | 16508 | ;; | 
|  | 16509 |  | 
|  | 16510 | darwin* | rhapsody*) | 
|  | 16511 | dynamic_linker="$host_os dyld" | 
|  | 16512 | version_type=darwin | 
|  | 16513 | need_lib_prefix=no | 
|  | 16514 | need_version=no | 
|  | 16515 | # FIXME: Relying on posixy $() will cause problems for | 
|  | 16516 | #        cross-compilation, but unfortunately the echo tests do not | 
|  | 16517 | #        yet detect zsh echo's removal of \ escapes. | 
|  | 16518 | library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
|  | 16519 | soname_spec='${libname}${release}${major}$shared_ext' | 
|  | 16520 | shlibpath_overrides_runpath=yes | 
|  | 16521 | shlibpath_var=DYLD_LIBRARY_PATH | 
|  | 16522 | shrext='$(test .$module = .yes && echo .so || echo .dylib)' | 
|  | 16523 | # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. | 
|  | 16524 | if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then | 
|  | 16525 | sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` | 
|  | 16526 | fi | 
|  | 16527 | sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
|  | 16528 | ;; | 
|  | 16529 |  | 
|  | 16530 | dgux*) | 
|  | 16531 | version_type=linux | 
|  | 16532 | need_lib_prefix=no | 
|  | 16533 | need_version=no | 
|  | 16534 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
|  | 16535 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16536 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16537 | ;; | 
|  | 16538 |  | 
|  | 16539 | freebsd1*) | 
|  | 16540 | dynamic_linker=no | 
|  | 16541 | ;; | 
|  | 16542 |  | 
|  | 16543 | freebsd*) | 
|  | 16544 | objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
|  | 16545 | version_type=freebsd-$objformat | 
|  | 16546 | case $version_type in | 
|  | 16547 | freebsd-elf*) | 
|  | 16548 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
|  | 16549 | need_version=no | 
|  | 16550 | need_lib_prefix=no | 
|  | 16551 | ;; | 
|  | 16552 | freebsd-*) | 
|  | 16553 | library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
|  | 16554 | need_version=yes | 
|  | 16555 | ;; | 
|  | 16556 | esac | 
|  | 16557 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16558 | case $host_os in | 
|  | 16559 | freebsd2*) | 
|  | 16560 | shlibpath_overrides_runpath=yes | 
|  | 16561 | ;; | 
|  | 16562 | freebsd3.01* | freebsdelf3.01*) | 
|  | 16563 | shlibpath_overrides_runpath=yes | 
|  | 16564 | hardcode_into_libs=yes | 
|  | 16565 | ;; | 
|  | 16566 | *) # from 3.2 on | 
|  | 16567 | shlibpath_overrides_runpath=no | 
|  | 16568 | hardcode_into_libs=yes | 
|  | 16569 | ;; | 
|  | 16570 | esac | 
|  | 16571 | ;; | 
|  | 16572 |  | 
|  | 16573 | gnu*) | 
|  | 16574 | version_type=linux | 
|  | 16575 | need_lib_prefix=no | 
|  | 16576 | need_version=no | 
|  | 16577 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
|  | 16578 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16579 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16580 | hardcode_into_libs=yes | 
|  | 16581 | ;; | 
|  | 16582 |  | 
|  | 16583 | hpux9* | hpux10* | hpux11*) | 
|  | 16584 | # Give a soname corresponding to the major version so that dld.sl refuses to | 
|  | 16585 | # link against other versions. | 
|  | 16586 | version_type=sunos | 
|  | 16587 | need_lib_prefix=no | 
|  | 16588 | need_version=no | 
|  | 16589 | case "$host_cpu" in | 
|  | 16590 | ia64*) | 
|  | 16591 | shrext='.so' | 
|  | 16592 | hardcode_into_libs=yes | 
|  | 16593 | dynamic_linker="$host_os dld.so" | 
|  | 16594 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16595 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 16596 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16597 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16598 | if test "X$HPUX_IA64_MODE" = X32; then | 
|  | 16599 | sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
|  | 16600 | else | 
|  | 16601 | sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
|  | 16602 | fi | 
|  | 16603 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 16604 | ;; | 
|  | 16605 | hppa*64*) | 
|  | 16606 | shrext='.sl' | 
|  | 16607 | hardcode_into_libs=yes | 
|  | 16608 | dynamic_linker="$host_os dld.sl" | 
|  | 16609 | shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
|  | 16610 | shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
|  | 16611 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16612 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16613 | sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
|  | 16614 | sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
|  | 16615 | ;; | 
|  | 16616 | *) | 
|  | 16617 | shrext='.sl' | 
|  | 16618 | dynamic_linker="$host_os dld.sl" | 
|  | 16619 | shlibpath_var=SHLIB_PATH | 
|  | 16620 | shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
|  | 16621 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16622 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16623 | ;; | 
|  | 16624 | esac | 
|  | 16625 | # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
|  | 16626 | postinstall_cmds='chmod 555 $lib' | 
|  | 16627 | ;; | 
|  | 16628 |  | 
|  | 16629 | irix5* | irix6* | nonstopux*) | 
|  | 16630 | case $host_os in | 
|  | 16631 | nonstopux*) version_type=nonstopux ;; | 
|  | 16632 | *) | 
|  | 16633 | if test "$lt_cv_prog_gnu_ld" = yes; then | 
|  | 16634 | version_type=linux | 
|  | 16635 | else | 
|  | 16636 | version_type=irix | 
|  | 16637 | fi ;; | 
|  | 16638 | esac | 
|  | 16639 | need_lib_prefix=no | 
|  | 16640 | need_version=no | 
|  | 16641 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16642 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
|  | 16643 | case $host_os in | 
|  | 16644 | irix5* | nonstopux*) | 
|  | 16645 | libsuff= shlibsuff= | 
|  | 16646 | ;; | 
|  | 16647 | *) | 
|  | 16648 | case $LD in # libtool.m4 will add one of these switches to LD | 
|  | 16649 | *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
|  | 16650 | libsuff= shlibsuff= libmagic=32-bit;; | 
|  | 16651 | *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
|  | 16652 | libsuff=32 shlibsuff=N32 libmagic=N32;; | 
|  | 16653 | *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
|  | 16654 | libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
|  | 16655 | *) libsuff= shlibsuff= libmagic=never-match;; | 
|  | 16656 | esac | 
|  | 16657 | ;; | 
|  | 16658 | esac | 
|  | 16659 | shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
|  | 16660 | shlibpath_overrides_runpath=no | 
|  | 16661 | sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
|  | 16662 | sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
|  | 16663 | hardcode_into_libs=yes | 
|  | 16664 | ;; | 
|  | 16665 |  | 
|  | 16666 | # No shared lib support for Linux oldld, aout, or coff. | 
|  | 16667 | linux*oldld* | linux*aout* | linux*coff*) | 
|  | 16668 | dynamic_linker=no | 
|  | 16669 | ;; | 
|  | 16670 |  | 
|  | 16671 | # This must be Linux ELF. | 
|  | 16672 | linux*) | 
|  | 16673 | version_type=linux | 
|  | 16674 | need_lib_prefix=no | 
|  | 16675 | need_version=no | 
|  | 16676 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16677 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16678 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
|  | 16679 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16680 | shlibpath_overrides_runpath=no | 
|  | 16681 | # This implies no fast_install, which is unacceptable. | 
|  | 16682 | # Some rework will be needed to allow for fast_install | 
|  | 16683 | # before this can be enabled. | 
|  | 16684 | hardcode_into_libs=yes | 
|  | 16685 |  | 
|  | 16686 | # We used to test for /lib/ld.so.1 and disable shared libraries on | 
|  | 16687 | # powerpc, because MkLinux only supported shared libraries with the | 
|  | 16688 | # GNU dynamic linker.  Since this was broken with cross compilers, | 
|  | 16689 | # most powerpc-linux boxes support dynamic linking these days and | 
|  | 16690 | # people can always --disable-shared, the test was removed, and we | 
|  | 16691 | # assume the GNU/Linux dynamic linker is in use. | 
|  | 16692 | dynamic_linker='GNU/Linux ld.so' | 
|  | 16693 | ;; | 
|  | 16694 |  | 
|  | 16695 | netbsd*) | 
|  | 16696 | version_type=sunos | 
|  | 16697 | need_lib_prefix=no | 
|  | 16698 | need_version=no | 
|  | 16699 | if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
|  | 16700 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 16701 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 16702 | dynamic_linker='NetBSD (a.out) ld.so' | 
|  | 16703 | else | 
|  | 16704 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}' | 
|  | 16705 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16706 | dynamic_linker='NetBSD ld.elf_so' | 
|  | 16707 | fi | 
|  | 16708 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16709 | shlibpath_overrides_runpath=yes | 
|  | 16710 | hardcode_into_libs=yes | 
|  | 16711 | ;; | 
|  | 16712 |  | 
|  | 16713 | newsos6) | 
|  | 16714 | version_type=linux | 
|  | 16715 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16716 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16717 | shlibpath_overrides_runpath=yes | 
|  | 16718 | ;; | 
|  | 16719 |  | 
|  | 16720 | nto-qnx) | 
|  | 16721 | version_type=linux | 
|  | 16722 | need_lib_prefix=no | 
|  | 16723 | need_version=no | 
|  | 16724 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16725 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16726 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16727 | shlibpath_overrides_runpath=yes | 
|  | 16728 | ;; | 
|  | 16729 |  | 
|  | 16730 | openbsd*) | 
|  | 16731 | version_type=sunos | 
|  | 16732 | need_lib_prefix=no | 
|  | 16733 | need_version=no | 
|  | 16734 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 16735 | finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
|  | 16736 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16737 | if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
|  | 16738 | case $host_os in | 
|  | 16739 | openbsd2.[89] | openbsd2.[89].*) | 
|  | 16740 | shlibpath_overrides_runpath=no | 
|  | 16741 | ;; | 
|  | 16742 | *) | 
|  | 16743 | shlibpath_overrides_runpath=yes | 
|  | 16744 | ;; | 
|  | 16745 | esac | 
|  | 16746 | else | 
|  | 16747 | shlibpath_overrides_runpath=yes | 
|  | 16748 | fi | 
|  | 16749 | ;; | 
|  | 16750 |  | 
|  | 16751 | os2*) | 
|  | 16752 | libname_spec='$name' | 
|  | 16753 | shrext=".dll" | 
|  | 16754 | need_lib_prefix=no | 
|  | 16755 | library_names_spec='$libname${shared_ext} $libname.a' | 
|  | 16756 | dynamic_linker='OS/2 ld.exe' | 
|  | 16757 | shlibpath_var=LIBPATH | 
|  | 16758 | ;; | 
|  | 16759 |  | 
|  | 16760 | osf3* | osf4* | osf5*) | 
|  | 16761 | version_type=osf | 
|  | 16762 | need_lib_prefix=no | 
|  | 16763 | need_version=no | 
|  | 16764 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16765 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16766 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16767 | sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
|  | 16768 | sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
|  | 16769 | ;; | 
|  | 16770 |  | 
|  | 16771 | sco3.2v5*) | 
|  | 16772 | version_type=osf | 
|  | 16773 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16774 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16775 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16776 | ;; | 
|  | 16777 |  | 
|  | 16778 | solaris*) | 
|  | 16779 | version_type=linux | 
|  | 16780 | need_lib_prefix=no | 
|  | 16781 | need_version=no | 
|  | 16782 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16783 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16784 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16785 | shlibpath_overrides_runpath=yes | 
|  | 16786 | hardcode_into_libs=yes | 
|  | 16787 | # ldd complains unless libraries are executable | 
|  | 16788 | postinstall_cmds='chmod +x $lib' | 
|  | 16789 | ;; | 
|  | 16790 |  | 
|  | 16791 | sunos4*) | 
|  | 16792 | version_type=sunos | 
|  | 16793 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
|  | 16794 | finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
|  | 16795 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16796 | shlibpath_overrides_runpath=yes | 
|  | 16797 | if test "$with_gnu_ld" = yes; then | 
|  | 16798 | need_lib_prefix=no | 
|  | 16799 | fi | 
|  | 16800 | need_version=yes | 
|  | 16801 | ;; | 
|  | 16802 |  | 
|  | 16803 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
|  | 16804 | version_type=linux | 
|  | 16805 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16806 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16807 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16808 | case $host_vendor in | 
|  | 16809 | sni) | 
|  | 16810 | shlibpath_overrides_runpath=no | 
|  | 16811 | need_lib_prefix=no | 
|  | 16812 | export_dynamic_flag_spec='${wl}-Blargedynsym' | 
|  | 16813 | runpath_var=LD_RUN_PATH | 
|  | 16814 | ;; | 
|  | 16815 | siemens) | 
|  | 16816 | need_lib_prefix=no | 
|  | 16817 | ;; | 
|  | 16818 | motorola) | 
|  | 16819 | need_lib_prefix=no | 
|  | 16820 | need_version=no | 
|  | 16821 | shlibpath_overrides_runpath=no | 
|  | 16822 | sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
|  | 16823 | ;; | 
|  | 16824 | esac | 
|  | 16825 | ;; | 
|  | 16826 |  | 
|  | 16827 | sysv4*MP*) | 
|  | 16828 | if test -d /usr/nec ;then | 
|  | 16829 | version_type=linux | 
|  | 16830 | library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
|  | 16831 | soname_spec='$libname${shared_ext}.$major' | 
|  | 16832 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16833 | fi | 
|  | 16834 | ;; | 
|  | 16835 |  | 
|  | 16836 | uts4*) | 
|  | 16837 | version_type=linux | 
|  | 16838 | library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
|  | 16839 | soname_spec='${libname}${release}${shared_ext}$major' | 
|  | 16840 | shlibpath_var=LD_LIBRARY_PATH | 
|  | 16841 | ;; | 
|  | 16842 |  | 
|  | 16843 | *) | 
|  | 16844 | dynamic_linker=no | 
|  | 16845 | ;; | 
|  | 16846 | esac | 
|  | 16847 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
|  | 16848 | echo "${ECHO_T}$dynamic_linker" >&6 | 
|  | 16849 | test "$dynamic_linker" = no && can_build_shared=no | 
|  | 16850 |  | 
|  | 16851 | if test "x$enable_dlopen" != xyes; then | 
|  | 16852 | enable_dlopen=unknown | 
|  | 16853 | enable_dlopen_self=unknown | 
|  | 16854 | enable_dlopen_self_static=unknown | 
|  | 16855 | else | 
|  | 16856 | lt_cv_dlopen=no | 
|  | 16857 | lt_cv_dlopen_libs= | 
|  | 16858 |  | 
|  | 16859 | case $host_os in | 
|  | 16860 | beos*) | 
|  | 16861 | lt_cv_dlopen="load_add_on" | 
|  | 16862 | lt_cv_dlopen_libs= | 
|  | 16863 | lt_cv_dlopen_self=yes | 
|  | 16864 | ;; | 
|  | 16865 |  | 
|  | 16866 | mingw* | pw32*) | 
|  | 16867 | lt_cv_dlopen="LoadLibrary" | 
|  | 16868 | lt_cv_dlopen_libs= | 
|  | 16869 | ;; | 
|  | 16870 |  | 
|  | 16871 | cygwin*) | 
|  | 16872 | lt_cv_dlopen="dlopen" | 
|  | 16873 | lt_cv_dlopen_libs= | 
|  | 16874 | ;; | 
|  | 16875 |  | 
|  | 16876 | darwin*) | 
|  | 16877 | # if libdl is installed we need to link against it | 
|  | 16878 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
|  | 16879 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
|  | 16880 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
|  | 16881 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 16882 | else | 
|  | 16883 | ac_check_lib_save_LIBS=$LIBS | 
|  | 16884 | LIBS="-ldl  $LIBS" | 
|  | 16885 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 16886 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16887 | /* confdefs.h.  */ | 
|  | 16888 | _ACEOF | 
|  | 16889 | cat confdefs.h >>conftest.$ac_ext | 
|  | 16890 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 16891 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16892 |  | 
|  | 16893 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 16894 | #ifdef __cplusplus | 
|  | 16895 | extern "C" | 
|  | 16896 | #endif | 
|  | 16897 | /* We use char because int might match the return type of a gcc2 | 
|  | 16898 | builtin and then its argument prototype would still apply.  */ | 
|  | 16899 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16900 | int | 
|  | 16901 | main () | 
|  | 16902 | { | 
|  | 16903 | dlopen (); | 
|  | 16904 | ; | 
|  | 16905 | return 0; | 
|  | 16906 | } | 
|  | 16907 | _ACEOF | 
|  | 16908 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 16909 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 16910 | (eval $ac_link) 2>&5 | 
|  | 16911 | ac_status=$? | 
|  | 16912 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 16913 | (exit $ac_status); } && | 
|  | 16914 | { ac_try='test -s conftest$ac_exeext' | 
|  | 16915 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 16916 | (eval $ac_try) 2>&5 | 
|  | 16917 | ac_status=$? | 
|  | 16918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 16919 | (exit $ac_status); }; }; then | 
|  | 16920 | ac_cv_lib_dl_dlopen=yes | 
|  | 16921 | else | 
|  | 16922 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16923 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 16924 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16925 | ac_cv_lib_dl_dlopen=no | 
|  | 16926 | fi | 
|  | 16927 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 16928 | LIBS=$ac_check_lib_save_LIBS | 
|  | 16929 | fi | 
|  | 16930 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
|  | 16931 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
|  | 16932 | if test $ac_cv_lib_dl_dlopen = yes; then | 
|  | 16933 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
|  | 16934 | else | 
|  | 16935 |  | 
|  | 16936 | lt_cv_dlopen="dyld" | 
|  | 16937 | lt_cv_dlopen_libs= | 
|  | 16938 | lt_cv_dlopen_self=yes | 
|  | 16939 |  | 
|  | 16940 | fi | 
|  | 16941 |  | 
|  | 16942 | ;; | 
|  | 16943 |  | 
|  | 16944 | *) | 
|  | 16945 | echo "$as_me:$LINENO: checking for shl_load" >&5 | 
|  | 16946 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
|  | 16947 | if test "${ac_cv_func_shl_load+set}" = set; then | 
|  | 16948 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 16949 | else | 
|  | 16950 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 16951 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16952 | /* confdefs.h.  */ | 
|  | 16953 | _ACEOF | 
|  | 16954 | cat confdefs.h >>conftest.$ac_ext | 
|  | 16955 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 16956 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16957 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16958 | which can conflict with char shl_load (); below. | 
|  | 16959 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 16960 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 16961 | #ifdef __STDC__ | 
|  | 16962 | # include <limits.h> | 
|  | 16963 | #else | 
|  | 16964 | # include <assert.h> | 
|  | 16965 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16966 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 16967 | #ifdef __cplusplus | 
|  | 16968 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16969 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16970 | #endif | 
|  | 16971 | /* We use char because int might match the return type of a gcc2 | 
|  | 16972 | builtin and then its argument prototype would still apply.  */ | 
|  | 16973 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16974 | /* The GNU C library defines this for functions which it implements | 
|  | 16975 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 16976 | something starting with __ and the normal name is an alias.  */ | 
|  | 16977 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
|  | 16978 | choke me | 
|  | 16979 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16980 | char (*f) () = shl_load; | 
|  | 16981 | #endif | 
|  | 16982 | #ifdef __cplusplus | 
|  | 16983 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16984 | #endif | 
|  | 16985 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 16986 | int | 
|  | 16987 | main () | 
|  | 16988 | { | 
|  | 16989 | return f != shl_load; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 16990 | ; | 
|  | 16991 | return 0; | 
|  | 16992 | } | 
|  | 16993 | _ACEOF | 
|  | 16994 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 16995 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 16996 | (eval $ac_link) 2>&5 | 
|  | 16997 | ac_status=$? | 
|  | 16998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 16999 | (exit $ac_status); } && | 
|  | 17000 | { ac_try='test -s conftest$ac_exeext' | 
|  | 17001 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 17002 | (eval $ac_try) 2>&5 | 
|  | 17003 | ac_status=$? | 
|  | 17004 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17005 | (exit $ac_status); }; }; then | 
|  | 17006 | ac_cv_func_shl_load=yes | 
|  | 17007 | else | 
|  | 17008 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17009 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 17010 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17011 | ac_cv_func_shl_load=no | 
|  | 17012 | fi | 
|  | 17013 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 17014 | fi | 
|  | 17015 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
|  | 17016 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
|  | 17017 | if test $ac_cv_func_shl_load = yes; then | 
|  | 17018 | lt_cv_dlopen="shl_load" | 
|  | 17019 | else | 
|  | 17020 | echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
|  | 17021 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
|  | 17022 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
|  | 17023 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 17024 | else | 
|  | 17025 | ac_check_lib_save_LIBS=$LIBS | 
|  | 17026 | LIBS="-ldld  $LIBS" | 
|  | 17027 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 17028 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17029 | /* confdefs.h.  */ | 
|  | 17030 | _ACEOF | 
|  | 17031 | cat confdefs.h >>conftest.$ac_ext | 
|  | 17032 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 17033 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17034 |  | 
|  | 17035 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 17036 | #ifdef __cplusplus | 
|  | 17037 | extern "C" | 
|  | 17038 | #endif | 
|  | 17039 | /* We use char because int might match the return type of a gcc2 | 
|  | 17040 | builtin and then its argument prototype would still apply.  */ | 
|  | 17041 | char shl_load (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17042 | int | 
|  | 17043 | main () | 
|  | 17044 | { | 
|  | 17045 | shl_load (); | 
|  | 17046 | ; | 
|  | 17047 | return 0; | 
|  | 17048 | } | 
|  | 17049 | _ACEOF | 
|  | 17050 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 17051 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 17052 | (eval $ac_link) 2>&5 | 
|  | 17053 | ac_status=$? | 
|  | 17054 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17055 | (exit $ac_status); } && | 
|  | 17056 | { ac_try='test -s conftest$ac_exeext' | 
|  | 17057 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 17058 | (eval $ac_try) 2>&5 | 
|  | 17059 | ac_status=$? | 
|  | 17060 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17061 | (exit $ac_status); }; }; then | 
|  | 17062 | ac_cv_lib_dld_shl_load=yes | 
|  | 17063 | else | 
|  | 17064 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17065 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 17066 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17067 | ac_cv_lib_dld_shl_load=no | 
|  | 17068 | fi | 
|  | 17069 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 17070 | LIBS=$ac_check_lib_save_LIBS | 
|  | 17071 | fi | 
|  | 17072 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
|  | 17073 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
|  | 17074 | if test $ac_cv_lib_dld_shl_load = yes; then | 
|  | 17075 | lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
|  | 17076 | else | 
|  | 17077 | echo "$as_me:$LINENO: checking for dlopen" >&5 | 
|  | 17078 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
|  | 17079 | if test "${ac_cv_func_dlopen+set}" = set; then | 
|  | 17080 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 17081 | else | 
|  | 17082 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 17083 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17084 | /* confdefs.h.  */ | 
|  | 17085 | _ACEOF | 
|  | 17086 | cat confdefs.h >>conftest.$ac_ext | 
|  | 17087 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 17088 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17089 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17090 | which can conflict with char dlopen (); below. | 
|  | 17091 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 17092 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 17093 | #ifdef __STDC__ | 
|  | 17094 | # include <limits.h> | 
|  | 17095 | #else | 
|  | 17096 | # include <assert.h> | 
|  | 17097 | #endif | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17098 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 17099 | #ifdef __cplusplus | 
|  | 17100 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17101 | { | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17102 | #endif | 
|  | 17103 | /* We use char because int might match the return type of a gcc2 | 
|  | 17104 | builtin and then its argument prototype would still apply.  */ | 
|  | 17105 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17106 | /* The GNU C library defines this for functions which it implements | 
|  | 17107 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 17108 | something starting with __ and the normal name is an alias.  */ | 
|  | 17109 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
|  | 17110 | choke me | 
|  | 17111 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17112 | char (*f) () = dlopen; | 
|  | 17113 | #endif | 
|  | 17114 | #ifdef __cplusplus | 
|  | 17115 | } | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17116 | #endif | 
|  | 17117 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17118 | int | 
|  | 17119 | main () | 
|  | 17120 | { | 
|  | 17121 | return f != dlopen; | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17122 | ; | 
|  | 17123 | return 0; | 
|  | 17124 | } | 
|  | 17125 | _ACEOF | 
|  | 17126 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 17127 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 17128 | (eval $ac_link) 2>&5 | 
|  | 17129 | ac_status=$? | 
|  | 17130 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17131 | (exit $ac_status); } && | 
|  | 17132 | { ac_try='test -s conftest$ac_exeext' | 
|  | 17133 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 17134 | (eval $ac_try) 2>&5 | 
|  | 17135 | ac_status=$? | 
|  | 17136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17137 | (exit $ac_status); }; }; then | 
|  | 17138 | ac_cv_func_dlopen=yes | 
|  | 17139 | else | 
|  | 17140 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17141 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 17142 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17143 | ac_cv_func_dlopen=no | 
|  | 17144 | fi | 
|  | 17145 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 17146 | fi | 
|  | 17147 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
|  | 17148 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
|  | 17149 | if test $ac_cv_func_dlopen = yes; then | 
|  | 17150 | lt_cv_dlopen="dlopen" | 
|  | 17151 | else | 
|  | 17152 | echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
|  | 17153 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
|  | 17154 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
|  | 17155 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 17156 | else | 
|  | 17157 | ac_check_lib_save_LIBS=$LIBS | 
|  | 17158 | LIBS="-ldl  $LIBS" | 
|  | 17159 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 17160 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17161 | /* confdefs.h.  */ | 
|  | 17162 | _ACEOF | 
|  | 17163 | cat confdefs.h >>conftest.$ac_ext | 
|  | 17164 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 17165 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17166 |  | 
|  | 17167 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 17168 | #ifdef __cplusplus | 
|  | 17169 | extern "C" | 
|  | 17170 | #endif | 
|  | 17171 | /* We use char because int might match the return type of a gcc2 | 
|  | 17172 | builtin and then its argument prototype would still apply.  */ | 
|  | 17173 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17174 | int | 
|  | 17175 | main () | 
|  | 17176 | { | 
|  | 17177 | dlopen (); | 
|  | 17178 | ; | 
|  | 17179 | return 0; | 
|  | 17180 | } | 
|  | 17181 | _ACEOF | 
|  | 17182 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 17183 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 17184 | (eval $ac_link) 2>&5 | 
|  | 17185 | ac_status=$? | 
|  | 17186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17187 | (exit $ac_status); } && | 
|  | 17188 | { ac_try='test -s conftest$ac_exeext' | 
|  | 17189 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 17190 | (eval $ac_try) 2>&5 | 
|  | 17191 | ac_status=$? | 
|  | 17192 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17193 | (exit $ac_status); }; }; then | 
|  | 17194 | ac_cv_lib_dl_dlopen=yes | 
|  | 17195 | else | 
|  | 17196 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17197 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 17198 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17199 | ac_cv_lib_dl_dlopen=no | 
|  | 17200 | fi | 
|  | 17201 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 17202 | LIBS=$ac_check_lib_save_LIBS | 
|  | 17203 | fi | 
|  | 17204 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
|  | 17205 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
|  | 17206 | if test $ac_cv_lib_dl_dlopen = yes; then | 
|  | 17207 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
|  | 17208 | else | 
|  | 17209 | echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
|  | 17210 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
|  | 17211 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
|  | 17212 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 17213 | else | 
|  | 17214 | ac_check_lib_save_LIBS=$LIBS | 
|  | 17215 | LIBS="-lsvld  $LIBS" | 
|  | 17216 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 17217 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17218 | /* confdefs.h.  */ | 
|  | 17219 | _ACEOF | 
|  | 17220 | cat confdefs.h >>conftest.$ac_ext | 
|  | 17221 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 17222 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17223 |  | 
|  | 17224 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 17225 | #ifdef __cplusplus | 
|  | 17226 | extern "C" | 
|  | 17227 | #endif | 
|  | 17228 | /* We use char because int might match the return type of a gcc2 | 
|  | 17229 | builtin and then its argument prototype would still apply.  */ | 
|  | 17230 | char dlopen (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17231 | int | 
|  | 17232 | main () | 
|  | 17233 | { | 
|  | 17234 | dlopen (); | 
|  | 17235 | ; | 
|  | 17236 | return 0; | 
|  | 17237 | } | 
|  | 17238 | _ACEOF | 
|  | 17239 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 17240 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 17241 | (eval $ac_link) 2>&5 | 
|  | 17242 | ac_status=$? | 
|  | 17243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17244 | (exit $ac_status); } && | 
|  | 17245 | { ac_try='test -s conftest$ac_exeext' | 
|  | 17246 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 17247 | (eval $ac_try) 2>&5 | 
|  | 17248 | ac_status=$? | 
|  | 17249 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17250 | (exit $ac_status); }; }; then | 
|  | 17251 | ac_cv_lib_svld_dlopen=yes | 
|  | 17252 | else | 
|  | 17253 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17254 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 17255 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17256 | ac_cv_lib_svld_dlopen=no | 
|  | 17257 | fi | 
|  | 17258 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 17259 | LIBS=$ac_check_lib_save_LIBS | 
|  | 17260 | fi | 
|  | 17261 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
|  | 17262 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
|  | 17263 | if test $ac_cv_lib_svld_dlopen = yes; then | 
|  | 17264 | lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
|  | 17265 | else | 
|  | 17266 | echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
|  | 17267 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
|  | 17268 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
|  | 17269 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 17270 | else | 
|  | 17271 | ac_check_lib_save_LIBS=$LIBS | 
|  | 17272 | LIBS="-ldld  $LIBS" | 
|  | 17273 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 17274 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17275 | /* confdefs.h.  */ | 
|  | 17276 | _ACEOF | 
|  | 17277 | cat confdefs.h >>conftest.$ac_ext | 
|  | 17278 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 17279 | /* end confdefs.h.  */ | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17280 |  | 
|  | 17281 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 17282 | #ifdef __cplusplus | 
|  | 17283 | extern "C" | 
|  | 17284 | #endif | 
|  | 17285 | /* We use char because int might match the return type of a gcc2 | 
|  | 17286 | builtin and then its argument prototype would still apply.  */ | 
|  | 17287 | char dld_link (); | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17288 | int | 
|  | 17289 | main () | 
|  | 17290 | { | 
|  | 17291 | dld_link (); | 
|  | 17292 | ; | 
|  | 17293 | return 0; | 
|  | 17294 | } | 
|  | 17295 | _ACEOF | 
|  | 17296 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 17297 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 17298 | (eval $ac_link) 2>&5 | 
|  | 17299 | ac_status=$? | 
|  | 17300 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17301 | (exit $ac_status); } && | 
|  | 17302 | { ac_try='test -s conftest$ac_exeext' | 
|  | 17303 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 17304 | (eval $ac_try) 2>&5 | 
|  | 17305 | ac_status=$? | 
|  | 17306 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17307 | (exit $ac_status); }; }; then | 
|  | 17308 | ac_cv_lib_dld_dld_link=yes | 
|  | 17309 | else | 
|  | 17310 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 17311 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 17312 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17313 | ac_cv_lib_dld_dld_link=no | 
|  | 17314 | fi | 
|  | 17315 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 17316 | LIBS=$ac_check_lib_save_LIBS | 
|  | 17317 | fi | 
|  | 17318 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
|  | 17319 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
|  | 17320 | if test $ac_cv_lib_dld_dld_link = yes; then | 
|  | 17321 | lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
|  | 17322 | fi | 
|  | 17323 |  | 
|  | 17324 |  | 
|  | 17325 | fi | 
|  | 17326 |  | 
|  | 17327 |  | 
|  | 17328 | fi | 
|  | 17329 |  | 
|  | 17330 |  | 
|  | 17331 | fi | 
|  | 17332 |  | 
|  | 17333 |  | 
|  | 17334 | fi | 
|  | 17335 |  | 
|  | 17336 |  | 
|  | 17337 | fi | 
|  | 17338 |  | 
|  | 17339 | ;; | 
|  | 17340 | esac | 
|  | 17341 |  | 
|  | 17342 | if test "x$lt_cv_dlopen" != xno; then | 
|  | 17343 | enable_dlopen=yes | 
|  | 17344 | else | 
|  | 17345 | enable_dlopen=no | 
|  | 17346 | fi | 
|  | 17347 |  | 
|  | 17348 | case $lt_cv_dlopen in | 
|  | 17349 | dlopen) | 
|  | 17350 | save_CPPFLAGS="$CPPFLAGS" | 
|  | 17351 | test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
|  | 17352 |  | 
|  | 17353 | save_LDFLAGS="$LDFLAGS" | 
|  | 17354 | eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
|  | 17355 |  | 
|  | 17356 | save_LIBS="$LIBS" | 
|  | 17357 | LIBS="$lt_cv_dlopen_libs $LIBS" | 
|  | 17358 |  | 
|  | 17359 | echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
|  | 17360 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
|  | 17361 | if test "${lt_cv_dlopen_self+set}" = set; then | 
|  | 17362 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 17363 | else | 
|  | 17364 | if test "$cross_compiling" = yes; then : | 
|  | 17365 | lt_cv_dlopen_self=cross | 
|  | 17366 | else | 
|  | 17367 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
|  | 17368 | lt_status=$lt_dlunknown | 
|  | 17369 | cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 17370 | #line 17376 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17371 | #include "confdefs.h" | 
|  | 17372 |  | 
|  | 17373 | #if HAVE_DLFCN_H | 
|  | 17374 | #include <dlfcn.h> | 
|  | 17375 | #endif | 
|  | 17376 |  | 
|  | 17377 | #include <stdio.h> | 
|  | 17378 |  | 
|  | 17379 | #ifdef RTLD_GLOBAL | 
|  | 17380 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  | 17381 | #else | 
|  | 17382 | #  ifdef DL_GLOBAL | 
|  | 17383 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  | 17384 | #  else | 
|  | 17385 | #    define LT_DLGLOBAL		0 | 
|  | 17386 | #  endif | 
|  | 17387 | #endif | 
|  | 17388 |  | 
|  | 17389 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  | 17390 | find out it does not work in some platform. */ | 
|  | 17391 | #ifndef LT_DLLAZY_OR_NOW | 
|  | 17392 | #  ifdef RTLD_LAZY | 
|  | 17393 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  | 17394 | #  else | 
|  | 17395 | #    ifdef DL_LAZY | 
|  | 17396 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  | 17397 | #    else | 
|  | 17398 | #      ifdef RTLD_NOW | 
|  | 17399 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  | 17400 | #      else | 
|  | 17401 | #        ifdef DL_NOW | 
|  | 17402 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  | 17403 | #        else | 
|  | 17404 | #          define LT_DLLAZY_OR_NOW	0 | 
|  | 17405 | #        endif | 
|  | 17406 | #      endif | 
|  | 17407 | #    endif | 
|  | 17408 | #  endif | 
|  | 17409 | #endif | 
|  | 17410 |  | 
|  | 17411 | #ifdef __cplusplus | 
|  | 17412 | extern "C" void exit (int); | 
|  | 17413 | #endif | 
|  | 17414 |  | 
|  | 17415 | void fnord() { int i=42;} | 
|  | 17416 | int main () | 
|  | 17417 | { | 
|  | 17418 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  | 17419 | int status = $lt_dlunknown; | 
|  | 17420 |  | 
|  | 17421 | if (self) | 
|  | 17422 | { | 
|  | 17423 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  | 17424 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  | 17425 | /* dlclose (self); */ | 
|  | 17426 | } | 
|  | 17427 |  | 
|  | 17428 | exit (status); | 
|  | 17429 | } | 
|  | 17430 | EOF | 
|  | 17431 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 17432 | (eval $ac_link) 2>&5 | 
|  | 17433 | ac_status=$? | 
|  | 17434 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17435 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  | 17436 | (./conftest; exit; ) 2>/dev/null | 
|  | 17437 | lt_status=$? | 
|  | 17438 | case x$lt_status in | 
|  | 17439 | x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
|  | 17440 | x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
|  | 17441 | x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
|  | 17442 | esac | 
|  | 17443 | else : | 
|  | 17444 | # compilation failed | 
|  | 17445 | lt_cv_dlopen_self=no | 
|  | 17446 | fi | 
|  | 17447 | fi | 
|  | 17448 | rm -fr conftest* | 
|  | 17449 |  | 
|  | 17450 |  | 
|  | 17451 | fi | 
|  | 17452 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
|  | 17453 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
|  | 17454 |  | 
|  | 17455 | if test "x$lt_cv_dlopen_self" = xyes; then | 
|  | 17456 | LDFLAGS="$LDFLAGS $link_static_flag" | 
|  | 17457 | echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
|  | 17458 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
|  | 17459 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
|  | 17460 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 17461 | else | 
|  | 17462 | if test "$cross_compiling" = yes; then : | 
|  | 17463 | lt_cv_dlopen_self_static=cross | 
|  | 17464 | else | 
|  | 17465 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
|  | 17466 | lt_status=$lt_dlunknown | 
|  | 17467 | cat > conftest.$ac_ext <<EOF | 
| John Criswell | 7822759 | 2003-09-30 19:41:15 +0000 | [diff] [blame] | 17468 | #line 17474 "configure" | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 17469 | #include "confdefs.h" | 
|  | 17470 |  | 
|  | 17471 | #if HAVE_DLFCN_H | 
|  | 17472 | #include <dlfcn.h> | 
|  | 17473 | #endif | 
|  | 17474 |  | 
|  | 17475 | #include <stdio.h> | 
|  | 17476 |  | 
|  | 17477 | #ifdef RTLD_GLOBAL | 
|  | 17478 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
|  | 17479 | #else | 
|  | 17480 | #  ifdef DL_GLOBAL | 
|  | 17481 | #    define LT_DLGLOBAL		DL_GLOBAL | 
|  | 17482 | #  else | 
|  | 17483 | #    define LT_DLGLOBAL		0 | 
|  | 17484 | #  endif | 
|  | 17485 | #endif | 
|  | 17486 |  | 
|  | 17487 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
|  | 17488 | find out it does not work in some platform. */ | 
|  | 17489 | #ifndef LT_DLLAZY_OR_NOW | 
|  | 17490 | #  ifdef RTLD_LAZY | 
|  | 17491 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
|  | 17492 | #  else | 
|  | 17493 | #    ifdef DL_LAZY | 
|  | 17494 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
|  | 17495 | #    else | 
|  | 17496 | #      ifdef RTLD_NOW | 
|  | 17497 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
|  | 17498 | #      else | 
|  | 17499 | #        ifdef DL_NOW | 
|  | 17500 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
|  | 17501 | #        else | 
|  | 17502 | #          define LT_DLLAZY_OR_NOW	0 | 
|  | 17503 | #        endif | 
|  | 17504 | #      endif | 
|  | 17505 | #    endif | 
|  | 17506 | #  endif | 
|  | 17507 | #endif | 
|  | 17508 |  | 
|  | 17509 | #ifdef __cplusplus | 
|  | 17510 | extern "C" void exit (int); | 
|  | 17511 | #endif | 
|  | 17512 |  | 
|  | 17513 | void fnord() { int i=42;} | 
|  | 17514 | int main () | 
|  | 17515 | { | 
|  | 17516 | void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
|  | 17517 | int status = $lt_dlunknown; | 
|  | 17518 |  | 
|  | 17519 | if (self) | 
|  | 17520 | { | 
|  | 17521 | if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
|  | 17522 | else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
|  | 17523 | /* dlclose (self); */ | 
|  | 17524 | } | 
|  | 17525 |  | 
|  | 17526 | exit (status); | 
|  | 17527 | } | 
|  | 17528 | EOF | 
|  | 17529 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 17530 | (eval $ac_link) 2>&5 | 
|  | 17531 | ac_status=$? | 
|  | 17532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 17533 | (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
|  | 17534 | (./conftest; exit; ) 2>/dev/null | 
|  | 17535 | lt_status=$? | 
|  | 17536 | case x$lt_status in | 
|  | 17537 | x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  | 17538 | x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
|  | 17539 | x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
|  | 17540 | esac | 
|  | 17541 | else : | 
|  | 17542 | # compilation failed | 
|  | 17543 | lt_cv_dlopen_self_static=no | 
|  | 17544 | fi | 
|  | 17545 | fi | 
|  | 17546 | rm -fr conftest* | 
|  | 17547 |  | 
|  | 17548 |  | 
|  | 17549 | fi | 
|  | 17550 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
|  | 17551 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
|  | 17552 | fi | 
|  | 17553 |  | 
|  | 17554 | CPPFLAGS="$save_CPPFLAGS" | 
|  | 17555 | LDFLAGS="$save_LDFLAGS" | 
|  | 17556 | LIBS="$save_LIBS" | 
|  | 17557 | ;; | 
|  | 17558 | esac | 
|  | 17559 |  | 
|  | 17560 | case $lt_cv_dlopen_self in | 
|  | 17561 | yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
|  | 17562 | *) enable_dlopen_self=unknown ;; | 
|  | 17563 | esac | 
|  | 17564 |  | 
|  | 17565 | case $lt_cv_dlopen_self_static in | 
|  | 17566 | yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
|  | 17567 | *) enable_dlopen_self_static=unknown ;; | 
|  | 17568 | esac | 
|  | 17569 | fi | 
|  | 17570 |  | 
|  | 17571 |  | 
|  | 17572 | # The else clause should only fire when bootstrapping the | 
|  | 17573 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
|  | 17574 | # with your package, and you will get complaints that there are | 
|  | 17575 | # no rules to generate ltmain.sh. | 
|  | 17576 | if test -f "$ltmain"; then | 
|  | 17577 | # See if we are running on zsh, and set the options which allow our commands through | 
|  | 17578 | # without removal of \ escapes. | 
|  | 17579 | if test -n "${ZSH_VERSION+set}" ; then | 
|  | 17580 | setopt NO_GLOB_SUBST | 
|  | 17581 | fi | 
|  | 17582 | # Now quote all the things that may contain metacharacters while being | 
|  | 17583 | # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
|  | 17584 | # variables and quote the copies for generation of the libtool script. | 
|  | 17585 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
|  | 17586 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
|  | 17587 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
|  | 17588 | deplibs_check_method reload_flag reload_cmds need_locks \ | 
|  | 17589 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
|  | 17590 | lt_cv_sys_global_symbol_to_c_name_address \ | 
|  | 17591 | sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
|  | 17592 | old_postinstall_cmds old_postuninstall_cmds \ | 
|  | 17593 | compiler_GCJ \ | 
|  | 17594 | CC_GCJ \ | 
|  | 17595 | LD_GCJ \ | 
|  | 17596 | lt_prog_compiler_wl_GCJ \ | 
|  | 17597 | lt_prog_compiler_pic_GCJ \ | 
|  | 17598 | lt_prog_compiler_static_GCJ \ | 
|  | 17599 | lt_prog_compiler_no_builtin_flag_GCJ \ | 
|  | 17600 | export_dynamic_flag_spec_GCJ \ | 
|  | 17601 | thread_safe_flag_spec_GCJ \ | 
|  | 17602 | whole_archive_flag_spec_GCJ \ | 
|  | 17603 | enable_shared_with_static_runtimes_GCJ \ | 
|  | 17604 | old_archive_cmds_GCJ \ | 
|  | 17605 | old_archive_from_new_cmds_GCJ \ | 
|  | 17606 | predep_objects_GCJ \ | 
|  | 17607 | postdep_objects_GCJ \ | 
|  | 17608 | predeps_GCJ \ | 
|  | 17609 | postdeps_GCJ \ | 
|  | 17610 | compiler_lib_search_path_GCJ \ | 
|  | 17611 | archive_cmds_GCJ \ | 
|  | 17612 | archive_expsym_cmds_GCJ \ | 
|  | 17613 | postinstall_cmds_GCJ \ | 
|  | 17614 | postuninstall_cmds_GCJ \ | 
|  | 17615 | old_archive_from_expsyms_cmds_GCJ \ | 
|  | 17616 | allow_undefined_flag_GCJ \ | 
|  | 17617 | no_undefined_flag_GCJ \ | 
|  | 17618 | export_symbols_cmds_GCJ \ | 
|  | 17619 | hardcode_libdir_flag_spec_GCJ \ | 
|  | 17620 | hardcode_libdir_flag_spec_ld_GCJ \ | 
|  | 17621 | hardcode_libdir_separator_GCJ \ | 
|  | 17622 | hardcode_automatic_GCJ \ | 
|  | 17623 | module_cmds_GCJ \ | 
|  | 17624 | module_expsym_cmds_GCJ \ | 
|  | 17625 | lt_cv_prog_compiler_c_o_GCJ \ | 
|  | 17626 | exclude_expsyms_GCJ \ | 
|  | 17627 | include_expsyms_GCJ; do | 
|  | 17628 |  | 
|  | 17629 | case $var in | 
|  | 17630 | old_archive_cmds_GCJ | \ | 
|  | 17631 | old_archive_from_new_cmds_GCJ | \ | 
|  | 17632 | archive_cmds_GCJ | \ | 
|  | 17633 | archive_expsym_cmds_GCJ | \ | 
|  | 17634 | module_cmds_GCJ | \ | 
|  | 17635 | module_expsym_cmds_GCJ | \ | 
|  | 17636 | old_archive_from_expsyms_cmds_GCJ | \ | 
|  | 17637 | export_symbols_cmds_GCJ | \ | 
|  | 17638 | extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
|  | 17639 | postinstall_cmds | postuninstall_cmds | \ | 
|  | 17640 | old_postinstall_cmds | old_postuninstall_cmds | \ | 
|  | 17641 | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
|  | 17642 | # Double-quote double-evaled strings. | 
|  | 17643 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
|  | 17644 | ;; | 
|  | 17645 | *) | 
|  | 17646 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
|  | 17647 | ;; | 
|  | 17648 | esac | 
|  | 17649 | done | 
|  | 17650 |  | 
|  | 17651 | case $lt_echo in | 
|  | 17652 | *'\$0 --fallback-echo"') | 
|  | 17653 | lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
|  | 17654 | ;; | 
|  | 17655 | esac | 
|  | 17656 |  | 
|  | 17657 | cfgfile="$ofile" | 
|  | 17658 |  | 
|  | 17659 | cat <<__EOF__ >> "$cfgfile" | 
|  | 17660 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
|  | 17661 |  | 
|  | 17662 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
|  | 17663 |  | 
|  | 17664 | # Shell to use when invoking shell scripts. | 
|  | 17665 | SHELL=$lt_SHELL | 
|  | 17666 |  | 
|  | 17667 | # Whether or not to build shared libraries. | 
|  | 17668 | build_libtool_libs=$enable_shared | 
|  | 17669 |  | 
|  | 17670 | # Whether or not to build static libraries. | 
|  | 17671 | build_old_libs=$enable_static | 
|  | 17672 |  | 
|  | 17673 | # Whether or not to add -lc for building shared libraries. | 
|  | 17674 | build_libtool_need_lc=$archive_cmds_need_lc_GCJ | 
|  | 17675 |  | 
|  | 17676 | # Whether or not to disallow shared libs when runtime libs are static | 
|  | 17677 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ | 
|  | 17678 |  | 
|  | 17679 | # Whether or not to optimize for fast installation. | 
|  | 17680 | fast_install=$enable_fast_install | 
|  | 17681 |  | 
|  | 17682 | # The host system. | 
|  | 17683 | host_alias=$host_alias | 
|  | 17684 | host=$host | 
|  | 17685 |  | 
|  | 17686 | # An echo program that does not interpret backslashes. | 
|  | 17687 | echo=$lt_echo | 
|  | 17688 |  | 
|  | 17689 | # The archiver. | 
|  | 17690 | AR=$lt_AR | 
|  | 17691 | AR_FLAGS=$lt_AR_FLAGS | 
|  | 17692 |  | 
|  | 17693 | # A C compiler. | 
|  | 17694 | LTCC=$lt_LTCC | 
|  | 17695 |  | 
|  | 17696 | # A language-specific compiler. | 
|  | 17697 | CC=$lt_compiler_GCJ | 
|  | 17698 |  | 
|  | 17699 | # Is the compiler the GNU C compiler? | 
|  | 17700 | with_gcc=$GCC_GCJ | 
|  | 17701 |  | 
|  | 17702 | # An ERE matcher. | 
|  | 17703 | EGREP=$lt_EGREP | 
|  | 17704 |  | 
|  | 17705 | # The linker used to build libraries. | 
|  | 17706 | LD=$lt_LD_GCJ | 
|  | 17707 |  | 
|  | 17708 | # Whether we need hard or soft links. | 
|  | 17709 | LN_S=$lt_LN_S | 
|  | 17710 |  | 
|  | 17711 | # A BSD-compatible nm program. | 
|  | 17712 | NM=$lt_NM | 
|  | 17713 |  | 
|  | 17714 | # A symbol stripping program | 
|  | 17715 | STRIP=$STRIP | 
|  | 17716 |  | 
|  | 17717 | # Used to examine libraries when file_magic_cmd begins "file" | 
|  | 17718 | MAGIC_CMD=$MAGIC_CMD | 
|  | 17719 |  | 
|  | 17720 | # Used on cygwin: DLL creation program. | 
|  | 17721 | DLLTOOL="$DLLTOOL" | 
|  | 17722 |  | 
|  | 17723 | # Used on cygwin: object dumper. | 
|  | 17724 | OBJDUMP="$OBJDUMP" | 
|  | 17725 |  | 
|  | 17726 | # Used on cygwin: assembler. | 
|  | 17727 | AS="$AS" | 
|  | 17728 |  | 
|  | 17729 | # The name of the directory that contains temporary libtool files. | 
|  | 17730 | objdir=$objdir | 
|  | 17731 |  | 
|  | 17732 | # How to create reloadable object files. | 
|  | 17733 | reload_flag=$lt_reload_flag | 
|  | 17734 | reload_cmds=$lt_reload_cmds | 
|  | 17735 |  | 
|  | 17736 | # How to pass a linker flag through the compiler. | 
|  | 17737 | wl=$lt_lt_prog_compiler_wl_GCJ | 
|  | 17738 |  | 
|  | 17739 | # Object file suffix (normally "o"). | 
|  | 17740 | objext="$ac_objext" | 
|  | 17741 |  | 
|  | 17742 | # Old archive suffix (normally "a"). | 
|  | 17743 | libext="$libext" | 
|  | 17744 |  | 
|  | 17745 | # Shared library suffix (normally ".so"). | 
|  | 17746 | shrext='$shrext' | 
|  | 17747 |  | 
|  | 17748 | # Executable file suffix (normally ""). | 
|  | 17749 | exeext="$exeext" | 
|  | 17750 |  | 
|  | 17751 | # Additional compiler flags for building library objects. | 
|  | 17752 | pic_flag=$lt_lt_prog_compiler_pic_GCJ | 
|  | 17753 | pic_mode=$pic_mode | 
|  | 17754 |  | 
|  | 17755 | # What is the maximum length of a command? | 
|  | 17756 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
|  | 17757 |  | 
|  | 17758 | # Does compiler simultaneously support -c and -o options? | 
|  | 17759 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ | 
|  | 17760 |  | 
|  | 17761 | # Must we lock files when doing compilation ? | 
|  | 17762 | need_locks=$lt_need_locks | 
|  | 17763 |  | 
|  | 17764 | # Do we need the lib prefix for modules? | 
|  | 17765 | need_lib_prefix=$need_lib_prefix | 
|  | 17766 |  | 
|  | 17767 | # Do we need a version for libraries? | 
|  | 17768 | need_version=$need_version | 
|  | 17769 |  | 
|  | 17770 | # Whether dlopen is supported. | 
|  | 17771 | dlopen_support=$enable_dlopen | 
|  | 17772 |  | 
|  | 17773 | # Whether dlopen of programs is supported. | 
|  | 17774 | dlopen_self=$enable_dlopen_self | 
|  | 17775 |  | 
|  | 17776 | # Whether dlopen of statically linked programs is supported. | 
|  | 17777 | dlopen_self_static=$enable_dlopen_self_static | 
|  | 17778 |  | 
|  | 17779 | # Compiler flag to prevent dynamic linking. | 
|  | 17780 | link_static_flag=$lt_lt_prog_compiler_static_GCJ | 
|  | 17781 |  | 
|  | 17782 | # Compiler flag to turn off builtin functions. | 
|  | 17783 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ | 
|  | 17784 |  | 
|  | 17785 | # Compiler flag to allow reflexive dlopens. | 
|  | 17786 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ | 
|  | 17787 |  | 
|  | 17788 | # Compiler flag to generate shared objects directly from archives. | 
|  | 17789 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ | 
|  | 17790 |  | 
|  | 17791 | # Compiler flag to generate thread-safe objects. | 
|  | 17792 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ | 
|  | 17793 |  | 
|  | 17794 | # Library versioning type. | 
|  | 17795 | version_type=$version_type | 
|  | 17796 |  | 
|  | 17797 | # Format of library name prefix. | 
|  | 17798 | libname_spec=$lt_libname_spec | 
|  | 17799 |  | 
|  | 17800 | # List of archive names.  First name is the real one, the rest are links. | 
|  | 17801 | # The last name is the one that the linker finds with -lNAME. | 
|  | 17802 | library_names_spec=$lt_library_names_spec | 
|  | 17803 |  | 
|  | 17804 | # The coded name of the library, if different from the real name. | 
|  | 17805 | soname_spec=$lt_soname_spec | 
|  | 17806 |  | 
|  | 17807 | # Commands used to build and install an old-style archive. | 
|  | 17808 | RANLIB=$lt_RANLIB | 
|  | 17809 | old_archive_cmds=$lt_old_archive_cmds_GCJ | 
|  | 17810 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
|  | 17811 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
|  | 17812 |  | 
|  | 17813 | # Create an old-style archive from a shared archive. | 
|  | 17814 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ | 
|  | 17815 |  | 
|  | 17816 | # Create a temporary old-style archive to link instead of a shared archive. | 
|  | 17817 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ | 
|  | 17818 |  | 
|  | 17819 | # Commands used to build and install a shared archive. | 
|  | 17820 | archive_cmds=$lt_archive_cmds_GCJ | 
|  | 17821 | archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ | 
|  | 17822 | postinstall_cmds=$lt_postinstall_cmds | 
|  | 17823 | postuninstall_cmds=$lt_postuninstall_cmds | 
|  | 17824 |  | 
|  | 17825 | # Commands used to build a loadable module (assumed same as above if empty) | 
|  | 17826 | module_cmds=$lt_module_cmds_GCJ | 
|  | 17827 | module_expsym_cmds=$lt_module_expsym_cmds_GCJ | 
|  | 17828 |  | 
|  | 17829 | # Commands to strip libraries. | 
|  | 17830 | old_striplib=$lt_old_striplib | 
|  | 17831 | striplib=$lt_striplib | 
|  | 17832 |  | 
|  | 17833 | # Dependencies to place before the objects being linked to create a | 
|  | 17834 | # shared library. | 
|  | 17835 | predep_objects=$lt_predep_objects_GCJ | 
|  | 17836 |  | 
|  | 17837 | # Dependencies to place after the objects being linked to create a | 
|  | 17838 | # shared library. | 
|  | 17839 | postdep_objects=$lt_postdep_objects_GCJ | 
|  | 17840 |  | 
|  | 17841 | # Dependencies to place before the objects being linked to create a | 
|  | 17842 | # shared library. | 
|  | 17843 | predeps=$lt_predeps_GCJ | 
|  | 17844 |  | 
|  | 17845 | # Dependencies to place after the objects being linked to create a | 
|  | 17846 | # shared library. | 
|  | 17847 | postdeps=$lt_postdeps_GCJ | 
|  | 17848 |  | 
|  | 17849 | # The library search path used internally by the compiler when linking | 
|  | 17850 | # a shared library. | 
|  | 17851 | compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ | 
|  | 17852 |  | 
|  | 17853 | # Method to check whether dependent libraries are shared objects. | 
|  | 17854 | deplibs_check_method=$lt_deplibs_check_method | 
|  | 17855 |  | 
|  | 17856 | # Command to use when deplibs_check_method == file_magic. | 
|  | 17857 | file_magic_cmd=$lt_file_magic_cmd | 
|  | 17858 |  | 
|  | 17859 | # Flag that allows shared libraries with undefined symbols to be built. | 
|  | 17860 | allow_undefined_flag=$lt_allow_undefined_flag_GCJ | 
|  | 17861 |  | 
|  | 17862 | # Flag that forces no undefined symbols. | 
|  | 17863 | no_undefined_flag=$lt_no_undefined_flag_GCJ | 
|  | 17864 |  | 
|  | 17865 | # Commands used to finish a libtool library installation in a directory. | 
|  | 17866 | finish_cmds=$lt_finish_cmds | 
|  | 17867 |  | 
|  | 17868 | # Same as above, but a single script fragment to be evaled but not shown. | 
|  | 17869 | finish_eval=$lt_finish_eval | 
|  | 17870 |  | 
|  | 17871 | # Take the output of nm and produce a listing of raw symbols and C names. | 
|  | 17872 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
|  | 17873 |  | 
|  | 17874 | # Transform the output of nm in a proper C declaration | 
|  | 17875 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
|  | 17876 |  | 
|  | 17877 | # Transform the output of nm in a C name address pair | 
|  | 17878 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
|  | 17879 |  | 
|  | 17880 | # This is the shared library runtime path variable. | 
|  | 17881 | runpath_var=$runpath_var | 
|  | 17882 |  | 
|  | 17883 | # This is the shared library path variable. | 
|  | 17884 | shlibpath_var=$shlibpath_var | 
|  | 17885 |  | 
|  | 17886 | # Is shlibpath searched before the hard-coded library search path? | 
|  | 17887 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
|  | 17888 |  | 
|  | 17889 | # How to hardcode a shared library path into an executable. | 
|  | 17890 | hardcode_action=$hardcode_action_GCJ | 
|  | 17891 |  | 
|  | 17892 | # Whether we should hardcode library paths into libraries. | 
|  | 17893 | hardcode_into_libs=$hardcode_into_libs | 
|  | 17894 |  | 
|  | 17895 | # Flag to hardcode \$libdir into a binary during linking. | 
|  | 17896 | # This must work even if \$libdir does not exist. | 
|  | 17897 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ | 
|  | 17898 |  | 
|  | 17899 | # If ld is used when linking, flag to hardcode \$libdir into | 
|  | 17900 | # a binary during linking. This must work even if \$libdir does | 
|  | 17901 | # not exist. | 
|  | 17902 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ | 
|  | 17903 |  | 
|  | 17904 | # Whether we need a single -rpath flag with a separated argument. | 
|  | 17905 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ | 
|  | 17906 |  | 
|  | 17907 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
|  | 17908 | # resulting binary. | 
|  | 17909 | hardcode_direct=$hardcode_direct_GCJ | 
|  | 17910 |  | 
|  | 17911 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
|  | 17912 | # resulting binary. | 
|  | 17913 | hardcode_minus_L=$hardcode_minus_L_GCJ | 
|  | 17914 |  | 
|  | 17915 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
|  | 17916 | # the resulting binary. | 
|  | 17917 | hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ | 
|  | 17918 |  | 
|  | 17919 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
|  | 17920 | # and all subsequent libraries and executables linked against it. | 
|  | 17921 | hardcode_automatic=$hardcode_automatic_GCJ | 
|  | 17922 |  | 
|  | 17923 | # Variables whose values should be saved in libtool wrapper scripts and | 
|  | 17924 | # restored at relink time. | 
|  | 17925 | variables_saved_for_relink="$variables_saved_for_relink" | 
|  | 17926 |  | 
|  | 17927 | # Whether libtool must link a program against all its dependency libraries. | 
|  | 17928 | link_all_deplibs=$link_all_deplibs_GCJ | 
|  | 17929 |  | 
|  | 17930 | # Compile-time system search path for libraries | 
|  | 17931 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
|  | 17932 |  | 
|  | 17933 | # Run-time system search path for libraries | 
|  | 17934 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
|  | 17935 |  | 
|  | 17936 | # Fix the shell variable \$srcfile for the compiler. | 
|  | 17937 | fix_srcfile_path="$fix_srcfile_path_GCJ" | 
|  | 17938 |  | 
|  | 17939 | # Set to yes if exported symbols are required. | 
|  | 17940 | always_export_symbols=$always_export_symbols_GCJ | 
|  | 17941 |  | 
|  | 17942 | # The commands to list exported symbols. | 
|  | 17943 | export_symbols_cmds=$lt_export_symbols_cmds_GCJ | 
|  | 17944 |  | 
|  | 17945 | # The commands to extract the exported symbol list from a shared archive. | 
|  | 17946 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
|  | 17947 |  | 
|  | 17948 | # Symbols that should not be listed in the preloaded symbols. | 
|  | 17949 | exclude_expsyms=$lt_exclude_expsyms_GCJ | 
|  | 17950 |  | 
|  | 17951 | # Symbols that must always be exported. | 
|  | 17952 | include_expsyms=$lt_include_expsyms_GCJ | 
|  | 17953 |  | 
|  | 17954 | # ### END LIBTOOL TAG CONFIG: $tagname | 
|  | 17955 |  | 
|  | 17956 | __EOF__ | 
|  | 17957 |  | 
|  | 17958 |  | 
|  | 17959 | else | 
|  | 17960 | # If there is no Makefile yet, we rely on a make rule to execute | 
|  | 17961 | # `config.status --recheck' to rerun these tests and create the | 
|  | 17962 | # libtool script then. | 
|  | 17963 | test -f Makefile && make "$ltmain" | 
|  | 17964 | fi | 
|  | 17965 |  | 
|  | 17966 |  | 
|  | 17967 | ac_ext=c | 
|  | 17968 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 17969 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 17970 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 17971 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 17972 |  | 
|  | 17973 | CC="$lt_save_CC" | 
|  | 17974 |  | 
|  | 17975 | else | 
|  | 17976 | tagname="" | 
|  | 17977 | fi | 
|  | 17978 | ;; | 
|  | 17979 |  | 
|  | 17980 | RC) | 
|  | 17981 |  | 
|  | 17982 |  | 
|  | 17983 |  | 
|  | 17984 | # Source file extension for RC test sources. | 
|  | 17985 | ac_ext=rc | 
|  | 17986 |  | 
|  | 17987 | # Object file extension for compiled RC test sources. | 
|  | 17988 | objext=o | 
|  | 17989 | objext_RC=$objext | 
|  | 17990 |  | 
|  | 17991 | # Code to be used in simple compile tests | 
|  | 17992 | lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n' | 
|  | 17993 |  | 
|  | 17994 | # Code to be used in simple link tests | 
|  | 17995 | lt_simple_link_test_code="$lt_simple_compile_test_code" | 
|  | 17996 |  | 
|  | 17997 | # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
|  | 17998 |  | 
|  | 17999 | # If no C compiler was specified, use CC. | 
|  | 18000 | LTCC=${LTCC-"$CC"} | 
|  | 18001 |  | 
|  | 18002 | # Allow CC to be a program name with arguments. | 
|  | 18003 | compiler=$CC | 
|  | 18004 |  | 
|  | 18005 |  | 
|  | 18006 | # Allow CC to be a program name with arguments. | 
|  | 18007 | lt_save_CC="$CC" | 
|  | 18008 | CC=${RC-"windres"} | 
|  | 18009 | compiler=$CC | 
|  | 18010 | compiler_RC=$CC | 
|  | 18011 | lt_cv_prog_compiler_c_o_RC=yes | 
|  | 18012 |  | 
|  | 18013 | # The else clause should only fire when bootstrapping the | 
|  | 18014 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
|  | 18015 | # with your package, and you will get complaints that there are | 
|  | 18016 | # no rules to generate ltmain.sh. | 
|  | 18017 | if test -f "$ltmain"; then | 
|  | 18018 | # See if we are running on zsh, and set the options which allow our commands through | 
|  | 18019 | # without removal of \ escapes. | 
|  | 18020 | if test -n "${ZSH_VERSION+set}" ; then | 
|  | 18021 | setopt NO_GLOB_SUBST | 
|  | 18022 | fi | 
|  | 18023 | # Now quote all the things that may contain metacharacters while being | 
|  | 18024 | # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
|  | 18025 | # variables and quote the copies for generation of the libtool script. | 
|  | 18026 | for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \ | 
|  | 18027 | libname_spec library_names_spec soname_spec extract_expsyms_cmds \ | 
|  | 18028 | old_striplib striplib file_magic_cmd finish_cmds finish_eval \ | 
|  | 18029 | deplibs_check_method reload_flag reload_cmds need_locks \ | 
|  | 18030 | lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \ | 
|  | 18031 | lt_cv_sys_global_symbol_to_c_name_address \ | 
|  | 18032 | sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
|  | 18033 | old_postinstall_cmds old_postuninstall_cmds \ | 
|  | 18034 | compiler_RC \ | 
|  | 18035 | CC_RC \ | 
|  | 18036 | LD_RC \ | 
|  | 18037 | lt_prog_compiler_wl_RC \ | 
|  | 18038 | lt_prog_compiler_pic_RC \ | 
|  | 18039 | lt_prog_compiler_static_RC \ | 
|  | 18040 | lt_prog_compiler_no_builtin_flag_RC \ | 
|  | 18041 | export_dynamic_flag_spec_RC \ | 
|  | 18042 | thread_safe_flag_spec_RC \ | 
|  | 18043 | whole_archive_flag_spec_RC \ | 
|  | 18044 | enable_shared_with_static_runtimes_RC \ | 
|  | 18045 | old_archive_cmds_RC \ | 
|  | 18046 | old_archive_from_new_cmds_RC \ | 
|  | 18047 | predep_objects_RC \ | 
|  | 18048 | postdep_objects_RC \ | 
|  | 18049 | predeps_RC \ | 
|  | 18050 | postdeps_RC \ | 
|  | 18051 | compiler_lib_search_path_RC \ | 
|  | 18052 | archive_cmds_RC \ | 
|  | 18053 | archive_expsym_cmds_RC \ | 
|  | 18054 | postinstall_cmds_RC \ | 
|  | 18055 | postuninstall_cmds_RC \ | 
|  | 18056 | old_archive_from_expsyms_cmds_RC \ | 
|  | 18057 | allow_undefined_flag_RC \ | 
|  | 18058 | no_undefined_flag_RC \ | 
|  | 18059 | export_symbols_cmds_RC \ | 
|  | 18060 | hardcode_libdir_flag_spec_RC \ | 
|  | 18061 | hardcode_libdir_flag_spec_ld_RC \ | 
|  | 18062 | hardcode_libdir_separator_RC \ | 
|  | 18063 | hardcode_automatic_RC \ | 
|  | 18064 | module_cmds_RC \ | 
|  | 18065 | module_expsym_cmds_RC \ | 
|  | 18066 | lt_cv_prog_compiler_c_o_RC \ | 
|  | 18067 | exclude_expsyms_RC \ | 
|  | 18068 | include_expsyms_RC; do | 
|  | 18069 |  | 
|  | 18070 | case $var in | 
|  | 18071 | old_archive_cmds_RC | \ | 
|  | 18072 | old_archive_from_new_cmds_RC | \ | 
|  | 18073 | archive_cmds_RC | \ | 
|  | 18074 | archive_expsym_cmds_RC | \ | 
|  | 18075 | module_cmds_RC | \ | 
|  | 18076 | module_expsym_cmds_RC | \ | 
|  | 18077 | old_archive_from_expsyms_cmds_RC | \ | 
|  | 18078 | export_symbols_cmds_RC | \ | 
|  | 18079 | extract_expsyms_cmds | reload_cmds | finish_cmds | \ | 
|  | 18080 | postinstall_cmds | postuninstall_cmds | \ | 
|  | 18081 | old_postinstall_cmds | old_postuninstall_cmds | \ | 
|  | 18082 | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
|  | 18083 | # Double-quote double-evaled strings. | 
|  | 18084 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
|  | 18085 | ;; | 
|  | 18086 | *) | 
|  | 18087 | eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
|  | 18088 | ;; | 
|  | 18089 | esac | 
|  | 18090 | done | 
|  | 18091 |  | 
|  | 18092 | case $lt_echo in | 
|  | 18093 | *'\$0 --fallback-echo"') | 
|  | 18094 | lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'` | 
|  | 18095 | ;; | 
|  | 18096 | esac | 
|  | 18097 |  | 
|  | 18098 | cfgfile="$ofile" | 
|  | 18099 |  | 
|  | 18100 | cat <<__EOF__ >> "$cfgfile" | 
|  | 18101 | # ### BEGIN LIBTOOL TAG CONFIG: $tagname | 
|  | 18102 |  | 
|  | 18103 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
|  | 18104 |  | 
|  | 18105 | # Shell to use when invoking shell scripts. | 
|  | 18106 | SHELL=$lt_SHELL | 
|  | 18107 |  | 
|  | 18108 | # Whether or not to build shared libraries. | 
|  | 18109 | build_libtool_libs=$enable_shared | 
|  | 18110 |  | 
|  | 18111 | # Whether or not to build static libraries. | 
|  | 18112 | build_old_libs=$enable_static | 
|  | 18113 |  | 
|  | 18114 | # Whether or not to add -lc for building shared libraries. | 
|  | 18115 | build_libtool_need_lc=$archive_cmds_need_lc_RC | 
|  | 18116 |  | 
|  | 18117 | # Whether or not to disallow shared libs when runtime libs are static | 
|  | 18118 | allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC | 
|  | 18119 |  | 
|  | 18120 | # Whether or not to optimize for fast installation. | 
|  | 18121 | fast_install=$enable_fast_install | 
|  | 18122 |  | 
|  | 18123 | # The host system. | 
|  | 18124 | host_alias=$host_alias | 
|  | 18125 | host=$host | 
|  | 18126 |  | 
|  | 18127 | # An echo program that does not interpret backslashes. | 
|  | 18128 | echo=$lt_echo | 
|  | 18129 |  | 
|  | 18130 | # The archiver. | 
|  | 18131 | AR=$lt_AR | 
|  | 18132 | AR_FLAGS=$lt_AR_FLAGS | 
|  | 18133 |  | 
|  | 18134 | # A C compiler. | 
|  | 18135 | LTCC=$lt_LTCC | 
|  | 18136 |  | 
|  | 18137 | # A language-specific compiler. | 
|  | 18138 | CC=$lt_compiler_RC | 
|  | 18139 |  | 
|  | 18140 | # Is the compiler the GNU C compiler? | 
|  | 18141 | with_gcc=$GCC_RC | 
|  | 18142 |  | 
|  | 18143 | # An ERE matcher. | 
|  | 18144 | EGREP=$lt_EGREP | 
|  | 18145 |  | 
|  | 18146 | # The linker used to build libraries. | 
|  | 18147 | LD=$lt_LD_RC | 
|  | 18148 |  | 
|  | 18149 | # Whether we need hard or soft links. | 
|  | 18150 | LN_S=$lt_LN_S | 
|  | 18151 |  | 
|  | 18152 | # A BSD-compatible nm program. | 
|  | 18153 | NM=$lt_NM | 
|  | 18154 |  | 
|  | 18155 | # A symbol stripping program | 
|  | 18156 | STRIP=$STRIP | 
|  | 18157 |  | 
|  | 18158 | # Used to examine libraries when file_magic_cmd begins "file" | 
|  | 18159 | MAGIC_CMD=$MAGIC_CMD | 
|  | 18160 |  | 
|  | 18161 | # Used on cygwin: DLL creation program. | 
|  | 18162 | DLLTOOL="$DLLTOOL" | 
|  | 18163 |  | 
|  | 18164 | # Used on cygwin: object dumper. | 
|  | 18165 | OBJDUMP="$OBJDUMP" | 
|  | 18166 |  | 
|  | 18167 | # Used on cygwin: assembler. | 
|  | 18168 | AS="$AS" | 
|  | 18169 |  | 
|  | 18170 | # The name of the directory that contains temporary libtool files. | 
|  | 18171 | objdir=$objdir | 
|  | 18172 |  | 
|  | 18173 | # How to create reloadable object files. | 
|  | 18174 | reload_flag=$lt_reload_flag | 
|  | 18175 | reload_cmds=$lt_reload_cmds | 
|  | 18176 |  | 
|  | 18177 | # How to pass a linker flag through the compiler. | 
|  | 18178 | wl=$lt_lt_prog_compiler_wl_RC | 
|  | 18179 |  | 
|  | 18180 | # Object file suffix (normally "o"). | 
|  | 18181 | objext="$ac_objext" | 
|  | 18182 |  | 
|  | 18183 | # Old archive suffix (normally "a"). | 
|  | 18184 | libext="$libext" | 
|  | 18185 |  | 
|  | 18186 | # Shared library suffix (normally ".so"). | 
|  | 18187 | shrext='$shrext' | 
|  | 18188 |  | 
|  | 18189 | # Executable file suffix (normally ""). | 
|  | 18190 | exeext="$exeext" | 
|  | 18191 |  | 
|  | 18192 | # Additional compiler flags for building library objects. | 
|  | 18193 | pic_flag=$lt_lt_prog_compiler_pic_RC | 
|  | 18194 | pic_mode=$pic_mode | 
|  | 18195 |  | 
|  | 18196 | # What is the maximum length of a command? | 
|  | 18197 | max_cmd_len=$lt_cv_sys_max_cmd_len | 
|  | 18198 |  | 
|  | 18199 | # Does compiler simultaneously support -c and -o options? | 
|  | 18200 | compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC | 
|  | 18201 |  | 
|  | 18202 | # Must we lock files when doing compilation ? | 
|  | 18203 | need_locks=$lt_need_locks | 
|  | 18204 |  | 
|  | 18205 | # Do we need the lib prefix for modules? | 
|  | 18206 | need_lib_prefix=$need_lib_prefix | 
|  | 18207 |  | 
|  | 18208 | # Do we need a version for libraries? | 
|  | 18209 | need_version=$need_version | 
|  | 18210 |  | 
|  | 18211 | # Whether dlopen is supported. | 
|  | 18212 | dlopen_support=$enable_dlopen | 
|  | 18213 |  | 
|  | 18214 | # Whether dlopen of programs is supported. | 
|  | 18215 | dlopen_self=$enable_dlopen_self | 
|  | 18216 |  | 
|  | 18217 | # Whether dlopen of statically linked programs is supported. | 
|  | 18218 | dlopen_self_static=$enable_dlopen_self_static | 
|  | 18219 |  | 
|  | 18220 | # Compiler flag to prevent dynamic linking. | 
|  | 18221 | link_static_flag=$lt_lt_prog_compiler_static_RC | 
|  | 18222 |  | 
|  | 18223 | # Compiler flag to turn off builtin functions. | 
|  | 18224 | no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC | 
|  | 18225 |  | 
|  | 18226 | # Compiler flag to allow reflexive dlopens. | 
|  | 18227 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC | 
|  | 18228 |  | 
|  | 18229 | # Compiler flag to generate shared objects directly from archives. | 
|  | 18230 | whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC | 
|  | 18231 |  | 
|  | 18232 | # Compiler flag to generate thread-safe objects. | 
|  | 18233 | thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC | 
|  | 18234 |  | 
|  | 18235 | # Library versioning type. | 
|  | 18236 | version_type=$version_type | 
|  | 18237 |  | 
|  | 18238 | # Format of library name prefix. | 
|  | 18239 | libname_spec=$lt_libname_spec | 
|  | 18240 |  | 
|  | 18241 | # List of archive names.  First name is the real one, the rest are links. | 
|  | 18242 | # The last name is the one that the linker finds with -lNAME. | 
|  | 18243 | library_names_spec=$lt_library_names_spec | 
|  | 18244 |  | 
|  | 18245 | # The coded name of the library, if different from the real name. | 
|  | 18246 | soname_spec=$lt_soname_spec | 
|  | 18247 |  | 
|  | 18248 | # Commands used to build and install an old-style archive. | 
|  | 18249 | RANLIB=$lt_RANLIB | 
|  | 18250 | old_archive_cmds=$lt_old_archive_cmds_RC | 
|  | 18251 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
|  | 18252 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
|  | 18253 |  | 
|  | 18254 | # Create an old-style archive from a shared archive. | 
|  | 18255 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC | 
|  | 18256 |  | 
|  | 18257 | # Create a temporary old-style archive to link instead of a shared archive. | 
|  | 18258 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC | 
|  | 18259 |  | 
|  | 18260 | # Commands used to build and install a shared archive. | 
|  | 18261 | archive_cmds=$lt_archive_cmds_RC | 
|  | 18262 | archive_expsym_cmds=$lt_archive_expsym_cmds_RC | 
|  | 18263 | postinstall_cmds=$lt_postinstall_cmds | 
|  | 18264 | postuninstall_cmds=$lt_postuninstall_cmds | 
|  | 18265 |  | 
|  | 18266 | # Commands used to build a loadable module (assumed same as above if empty) | 
|  | 18267 | module_cmds=$lt_module_cmds_RC | 
|  | 18268 | module_expsym_cmds=$lt_module_expsym_cmds_RC | 
|  | 18269 |  | 
|  | 18270 | # Commands to strip libraries. | 
|  | 18271 | old_striplib=$lt_old_striplib | 
|  | 18272 | striplib=$lt_striplib | 
|  | 18273 |  | 
|  | 18274 | # Dependencies to place before the objects being linked to create a | 
|  | 18275 | # shared library. | 
|  | 18276 | predep_objects=$lt_predep_objects_RC | 
|  | 18277 |  | 
|  | 18278 | # Dependencies to place after the objects being linked to create a | 
|  | 18279 | # shared library. | 
|  | 18280 | postdep_objects=$lt_postdep_objects_RC | 
|  | 18281 |  | 
|  | 18282 | # Dependencies to place before the objects being linked to create a | 
|  | 18283 | # shared library. | 
|  | 18284 | predeps=$lt_predeps_RC | 
|  | 18285 |  | 
|  | 18286 | # Dependencies to place after the objects being linked to create a | 
|  | 18287 | # shared library. | 
|  | 18288 | postdeps=$lt_postdeps_RC | 
|  | 18289 |  | 
|  | 18290 | # The library search path used internally by the compiler when linking | 
|  | 18291 | # a shared library. | 
|  | 18292 | compiler_lib_search_path=$lt_compiler_lib_search_path_RC | 
|  | 18293 |  | 
|  | 18294 | # Method to check whether dependent libraries are shared objects. | 
|  | 18295 | deplibs_check_method=$lt_deplibs_check_method | 
|  | 18296 |  | 
|  | 18297 | # Command to use when deplibs_check_method == file_magic. | 
|  | 18298 | file_magic_cmd=$lt_file_magic_cmd | 
|  | 18299 |  | 
|  | 18300 | # Flag that allows shared libraries with undefined symbols to be built. | 
|  | 18301 | allow_undefined_flag=$lt_allow_undefined_flag_RC | 
|  | 18302 |  | 
|  | 18303 | # Flag that forces no undefined symbols. | 
|  | 18304 | no_undefined_flag=$lt_no_undefined_flag_RC | 
|  | 18305 |  | 
|  | 18306 | # Commands used to finish a libtool library installation in a directory. | 
|  | 18307 | finish_cmds=$lt_finish_cmds | 
|  | 18308 |  | 
|  | 18309 | # Same as above, but a single script fragment to be evaled but not shown. | 
|  | 18310 | finish_eval=$lt_finish_eval | 
|  | 18311 |  | 
|  | 18312 | # Take the output of nm and produce a listing of raw symbols and C names. | 
|  | 18313 | global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
|  | 18314 |  | 
|  | 18315 | # Transform the output of nm in a proper C declaration | 
|  | 18316 | global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
|  | 18317 |  | 
|  | 18318 | # Transform the output of nm in a C name address pair | 
|  | 18319 | global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
|  | 18320 |  | 
|  | 18321 | # This is the shared library runtime path variable. | 
|  | 18322 | runpath_var=$runpath_var | 
|  | 18323 |  | 
|  | 18324 | # This is the shared library path variable. | 
|  | 18325 | shlibpath_var=$shlibpath_var | 
|  | 18326 |  | 
|  | 18327 | # Is shlibpath searched before the hard-coded library search path? | 
|  | 18328 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
|  | 18329 |  | 
|  | 18330 | # How to hardcode a shared library path into an executable. | 
|  | 18331 | hardcode_action=$hardcode_action_RC | 
|  | 18332 |  | 
|  | 18333 | # Whether we should hardcode library paths into libraries. | 
|  | 18334 | hardcode_into_libs=$hardcode_into_libs | 
|  | 18335 |  | 
|  | 18336 | # Flag to hardcode \$libdir into a binary during linking. | 
|  | 18337 | # This must work even if \$libdir does not exist. | 
|  | 18338 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC | 
|  | 18339 |  | 
|  | 18340 | # If ld is used when linking, flag to hardcode \$libdir into | 
|  | 18341 | # a binary during linking. This must work even if \$libdir does | 
|  | 18342 | # not exist. | 
|  | 18343 | hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC | 
|  | 18344 |  | 
|  | 18345 | # Whether we need a single -rpath flag with a separated argument. | 
|  | 18346 | hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC | 
|  | 18347 |  | 
|  | 18348 | # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the | 
|  | 18349 | # resulting binary. | 
|  | 18350 | hardcode_direct=$hardcode_direct_RC | 
|  | 18351 |  | 
|  | 18352 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
|  | 18353 | # resulting binary. | 
|  | 18354 | hardcode_minus_L=$hardcode_minus_L_RC | 
|  | 18355 |  | 
|  | 18356 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
|  | 18357 | # the resulting binary. | 
|  | 18358 | hardcode_shlibpath_var=$hardcode_shlibpath_var_RC | 
|  | 18359 |  | 
|  | 18360 | # Set to yes if building a shared library automatically hardcodes DIR into the library | 
|  | 18361 | # and all subsequent libraries and executables linked against it. | 
|  | 18362 | hardcode_automatic=$hardcode_automatic_RC | 
|  | 18363 |  | 
|  | 18364 | # Variables whose values should be saved in libtool wrapper scripts and | 
|  | 18365 | # restored at relink time. | 
|  | 18366 | variables_saved_for_relink="$variables_saved_for_relink" | 
|  | 18367 |  | 
|  | 18368 | # Whether libtool must link a program against all its dependency libraries. | 
|  | 18369 | link_all_deplibs=$link_all_deplibs_RC | 
|  | 18370 |  | 
|  | 18371 | # Compile-time system search path for libraries | 
|  | 18372 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
|  | 18373 |  | 
|  | 18374 | # Run-time system search path for libraries | 
|  | 18375 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
|  | 18376 |  | 
|  | 18377 | # Fix the shell variable \$srcfile for the compiler. | 
|  | 18378 | fix_srcfile_path="$fix_srcfile_path_RC" | 
|  | 18379 |  | 
|  | 18380 | # Set to yes if exported symbols are required. | 
|  | 18381 | always_export_symbols=$always_export_symbols_RC | 
|  | 18382 |  | 
|  | 18383 | # The commands to list exported symbols. | 
|  | 18384 | export_symbols_cmds=$lt_export_symbols_cmds_RC | 
|  | 18385 |  | 
|  | 18386 | # The commands to extract the exported symbol list from a shared archive. | 
|  | 18387 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
|  | 18388 |  | 
|  | 18389 | # Symbols that should not be listed in the preloaded symbols. | 
|  | 18390 | exclude_expsyms=$lt_exclude_expsyms_RC | 
|  | 18391 |  | 
|  | 18392 | # Symbols that must always be exported. | 
|  | 18393 | include_expsyms=$lt_include_expsyms_RC | 
|  | 18394 |  | 
|  | 18395 | # ### END LIBTOOL TAG CONFIG: $tagname | 
|  | 18396 |  | 
|  | 18397 | __EOF__ | 
|  | 18398 |  | 
|  | 18399 |  | 
|  | 18400 | else | 
|  | 18401 | # If there is no Makefile yet, we rely on a make rule to execute | 
|  | 18402 | # `config.status --recheck' to rerun these tests and create the | 
|  | 18403 | # libtool script then. | 
|  | 18404 | test -f Makefile && make "$ltmain" | 
|  | 18405 | fi | 
|  | 18406 |  | 
|  | 18407 |  | 
|  | 18408 | ac_ext=c | 
|  | 18409 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 18410 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 18411 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 18412 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 18413 |  | 
|  | 18414 | CC="$lt_save_CC" | 
|  | 18415 |  | 
|  | 18416 | ;; | 
|  | 18417 |  | 
|  | 18418 | *) | 
|  | 18419 | { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5 | 
|  | 18420 | echo "$as_me: error: Unsupported tag name: $tagname" >&2;} | 
|  | 18421 | { (exit 1); exit 1; }; } | 
|  | 18422 | ;; | 
|  | 18423 | esac | 
|  | 18424 |  | 
|  | 18425 | # Append the new tag name to the list of available tags. | 
|  | 18426 | if test -n "$tagname" ; then | 
|  | 18427 | available_tags="$available_tags $tagname" | 
|  | 18428 | fi | 
|  | 18429 | fi | 
|  | 18430 | done | 
|  | 18431 | IFS="$lt_save_ifs" | 
|  | 18432 |  | 
|  | 18433 | # Now substitute the updated list of available tags. | 
|  | 18434 | if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then | 
|  | 18435 | mv "${ofile}T" "$ofile" | 
|  | 18436 | chmod +x "$ofile" | 
|  | 18437 | else | 
|  | 18438 | rm -f "${ofile}T" | 
|  | 18439 | { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5 | 
|  | 18440 | echo "$as_me: error: unable to update list of available tagged configurations." >&2;} | 
|  | 18441 | { (exit 1); exit 1; }; } | 
|  | 18442 | fi | 
|  | 18443 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18444 |  | 
|  | 18445 |  | 
|  | 18446 |  | 
|  | 18447 | # This can be used to rebuild libtool when needed | 
|  | 18448 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | 
|  | 18449 |  | 
|  | 18450 | # Always use our own libtool. | 
| John Criswell | 8d4221e | 2003-07-23 16:52:50 +0000 | [diff] [blame] | 18451 | LIBTOOL='$(SHELL) $(top_builddir)/mklib' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18452 |  | 
|  | 18453 | # Prevent multiple expansion | 
|  | 18454 |  | 
|  | 18455 |  | 
|  | 18456 |  | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 18457 |  | 
|  | 18458 |  | 
|  | 18459 |  | 
|  | 18460 |  | 
|  | 18461 |  | 
|  | 18462 |  | 
|  | 18463 |  | 
|  | 18464 |  | 
|  | 18465 |  | 
|  | 18466 |  | 
|  | 18467 |  | 
|  | 18468 |  | 
|  | 18469 |  | 
|  | 18470 |  | 
|  | 18471 |  | 
|  | 18472 |  | 
|  | 18473 |  | 
|  | 18474 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18475 | # Extract the first word of "pwd", so it can be a program name with args. | 
|  | 18476 | set dummy pwd; ac_word=$2 | 
|  | 18477 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18478 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18479 | if test "${ac_cv_path_RPWD+set}" = set; then | 
|  | 18480 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18481 | else | 
|  | 18482 | case $RPWD in | 
|  | 18483 | [\\/]* | ?:[\\/]*) | 
|  | 18484 | ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path. | 
|  | 18485 | ;; | 
|  | 18486 | *) | 
|  | 18487 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18488 | for as_dir in $PATH | 
|  | 18489 | do | 
|  | 18490 | IFS=$as_save_IFS | 
|  | 18491 | test -z "$as_dir" && as_dir=. | 
|  | 18492 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18493 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18494 | ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18495 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18496 | break 2 | 
|  | 18497 | fi | 
|  | 18498 | done | 
|  | 18499 | done | 
|  | 18500 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18501 | test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18502 | ;; | 
|  | 18503 | esac | 
|  | 18504 | fi | 
|  | 18505 | RPWD=$ac_cv_path_RPWD | 
|  | 18506 |  | 
|  | 18507 | if test -n "$RPWD"; then | 
|  | 18508 | echo "$as_me:$LINENO: result: $RPWD" >&5 | 
|  | 18509 | echo "${ECHO_T}$RPWD" >&6 | 
|  | 18510 | else | 
|  | 18511 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18512 | echo "${ECHO_T}no" >&6 | 
|  | 18513 | fi | 
|  | 18514 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18515 | if test ${RPWD} = "false" | 
|  | 18516 | then | 
|  | 18517 | { { echo "$as_me:$LINENO: error: pwd required but not found" >&5 | 
|  | 18518 | echo "$as_me: error: pwd required but not found" >&2;} | 
|  | 18519 | { (exit 1); exit 1; }; } | 
|  | 18520 | fi | 
|  | 18521 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18522 | # Extract the first word of "ar", so it can be a program name with args. | 
|  | 18523 | set dummy ar; ac_word=$2 | 
|  | 18524 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18525 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18526 | if test "${ac_cv_path_AR+set}" = set; then | 
|  | 18527 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18528 | else | 
|  | 18529 | case $AR in | 
|  | 18530 | [\\/]* | ?:[\\/]*) | 
|  | 18531 | ac_cv_path_AR="$AR" # Let the user override the test with a path. | 
|  | 18532 | ;; | 
|  | 18533 | *) | 
|  | 18534 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18535 | for as_dir in $PATH | 
|  | 18536 | do | 
|  | 18537 | IFS=$as_save_IFS | 
|  | 18538 | test -z "$as_dir" && as_dir=. | 
|  | 18539 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18540 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18541 | ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18542 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18543 | break 2 | 
|  | 18544 | fi | 
|  | 18545 | done | 
|  | 18546 | done | 
|  | 18547 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18548 | test -z "$ac_cv_path_AR" && ac_cv_path_AR="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18549 | ;; | 
|  | 18550 | esac | 
|  | 18551 | fi | 
|  | 18552 | AR=$ac_cv_path_AR | 
|  | 18553 |  | 
|  | 18554 | if test -n "$AR"; then | 
|  | 18555 | echo "$as_me:$LINENO: result: $AR" >&5 | 
|  | 18556 | echo "${ECHO_T}$AR" >&6 | 
|  | 18557 | else | 
|  | 18558 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18559 | echo "${ECHO_T}no" >&6 | 
|  | 18560 | fi | 
|  | 18561 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18562 | if test ${AR} = "false" | 
|  | 18563 | then | 
|  | 18564 | { { echo "$as_me:$LINENO: error: ar required but not found" >&5 | 
|  | 18565 | echo "$as_me: error: ar required but not found" >&2;} | 
|  | 18566 | { (exit 1); exit 1; }; } | 
|  | 18567 | fi | 
|  | 18568 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18569 | # Extract the first word of "sed", so it can be a program name with args. | 
|  | 18570 | set dummy sed; ac_word=$2 | 
|  | 18571 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18572 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18573 | if test "${ac_cv_path_SED+set}" = set; then | 
|  | 18574 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18575 | else | 
|  | 18576 | case $SED in | 
|  | 18577 | [\\/]* | ?:[\\/]*) | 
|  | 18578 | ac_cv_path_SED="$SED" # Let the user override the test with a path. | 
|  | 18579 | ;; | 
|  | 18580 | *) | 
|  | 18581 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18582 | for as_dir in $PATH | 
|  | 18583 | do | 
|  | 18584 | IFS=$as_save_IFS | 
|  | 18585 | test -z "$as_dir" && as_dir=. | 
|  | 18586 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18587 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18588 | ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18589 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18590 | break 2 | 
|  | 18591 | fi | 
|  | 18592 | done | 
|  | 18593 | done | 
|  | 18594 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18595 | test -z "$ac_cv_path_SED" && ac_cv_path_SED="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18596 | ;; | 
|  | 18597 | esac | 
|  | 18598 | fi | 
|  | 18599 | SED=$ac_cv_path_SED | 
|  | 18600 |  | 
|  | 18601 | if test -n "$SED"; then | 
|  | 18602 | echo "$as_me:$LINENO: result: $SED" >&5 | 
|  | 18603 | echo "${ECHO_T}$SED" >&6 | 
|  | 18604 | else | 
|  | 18605 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18606 | echo "${ECHO_T}no" >&6 | 
|  | 18607 | fi | 
|  | 18608 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18609 | if test ${SED} = "false" | 
|  | 18610 | then | 
|  | 18611 | { { echo "$as_me:$LINENO: error: sed required but not found" >&5 | 
|  | 18612 | echo "$as_me: error: sed required but not found" >&2;} | 
|  | 18613 | { (exit 1); exit 1; }; } | 
|  | 18614 | fi | 
|  | 18615 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18616 | # Extract the first word of "rm", so it can be a program name with args. | 
|  | 18617 | set dummy rm; ac_word=$2 | 
|  | 18618 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18619 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18620 | if test "${ac_cv_path_RM+set}" = set; then | 
|  | 18621 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18622 | else | 
|  | 18623 | case $RM in | 
|  | 18624 | [\\/]* | ?:[\\/]*) | 
|  | 18625 | ac_cv_path_RM="$RM" # Let the user override the test with a path. | 
|  | 18626 | ;; | 
|  | 18627 | *) | 
|  | 18628 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18629 | for as_dir in $PATH | 
|  | 18630 | do | 
|  | 18631 | IFS=$as_save_IFS | 
|  | 18632 | test -z "$as_dir" && as_dir=. | 
|  | 18633 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18634 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18635 | ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18636 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18637 | break 2 | 
|  | 18638 | fi | 
|  | 18639 | done | 
|  | 18640 | done | 
|  | 18641 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18642 | test -z "$ac_cv_path_RM" && ac_cv_path_RM="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18643 | ;; | 
|  | 18644 | esac | 
|  | 18645 | fi | 
|  | 18646 | RM=$ac_cv_path_RM | 
|  | 18647 |  | 
|  | 18648 | if test -n "$RM"; then | 
|  | 18649 | echo "$as_me:$LINENO: result: $RM" >&5 | 
|  | 18650 | echo "${ECHO_T}$RM" >&6 | 
|  | 18651 | else | 
|  | 18652 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18653 | echo "${ECHO_T}no" >&6 | 
|  | 18654 | fi | 
|  | 18655 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18656 | if test ${RM} = "false" | 
|  | 18657 | then | 
|  | 18658 | { { echo "$as_me:$LINENO: error: rm required but not found" >&5 | 
|  | 18659 | echo "$as_me: error: rm required but not found" >&2;} | 
|  | 18660 | { (exit 1); exit 1; }; } | 
|  | 18661 | fi | 
|  | 18662 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18663 | # Extract the first word of "echo", so it can be a program name with args. | 
|  | 18664 | set dummy echo; ac_word=$2 | 
|  | 18665 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18666 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18667 | if test "${ac_cv_path_ECHO+set}" = set; then | 
|  | 18668 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18669 | else | 
|  | 18670 | case $ECHO in | 
|  | 18671 | [\\/]* | ?:[\\/]*) | 
|  | 18672 | ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. | 
|  | 18673 | ;; | 
|  | 18674 | *) | 
|  | 18675 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18676 | for as_dir in $PATH | 
|  | 18677 | do | 
|  | 18678 | IFS=$as_save_IFS | 
|  | 18679 | test -z "$as_dir" && as_dir=. | 
|  | 18680 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18681 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18682 | ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18683 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18684 | break 2 | 
|  | 18685 | fi | 
|  | 18686 | done | 
|  | 18687 | done | 
|  | 18688 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18689 | test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18690 | ;; | 
|  | 18691 | esac | 
|  | 18692 | fi | 
|  | 18693 | ECHO=$ac_cv_path_ECHO | 
|  | 18694 |  | 
|  | 18695 | if test -n "$ECHO"; then | 
|  | 18696 | echo "$as_me:$LINENO: result: $ECHO" >&5 | 
|  | 18697 | echo "${ECHO_T}$ECHO" >&6 | 
|  | 18698 | else | 
|  | 18699 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18700 | echo "${ECHO_T}no" >&6 | 
|  | 18701 | fi | 
|  | 18702 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18703 | if test ${ECHO} = "false" | 
|  | 18704 | then | 
|  | 18705 | { { echo "$as_me:$LINENO: error: echo required but not found" >&5 | 
|  | 18706 | echo "$as_me: error: echo required but not found" >&2;} | 
|  | 18707 | { (exit 1); exit 1; }; } | 
|  | 18708 | fi | 
|  | 18709 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18710 | # Extract the first word of "mkdir", so it can be a program name with args. | 
|  | 18711 | set dummy mkdir; ac_word=$2 | 
|  | 18712 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18713 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18714 | if test "${ac_cv_path_MKDIR+set}" = set; then | 
|  | 18715 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18716 | else | 
|  | 18717 | case $MKDIR in | 
|  | 18718 | [\\/]* | ?:[\\/]*) | 
|  | 18719 | ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. | 
|  | 18720 | ;; | 
|  | 18721 | *) | 
|  | 18722 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18723 | for as_dir in $PATH | 
|  | 18724 | do | 
|  | 18725 | IFS=$as_save_IFS | 
|  | 18726 | test -z "$as_dir" && as_dir=. | 
|  | 18727 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18728 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18729 | ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18730 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18731 | break 2 | 
|  | 18732 | fi | 
|  | 18733 | done | 
|  | 18734 | done | 
|  | 18735 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18736 | test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18737 | ;; | 
|  | 18738 | esac | 
|  | 18739 | fi | 
|  | 18740 | MKDIR=$ac_cv_path_MKDIR | 
|  | 18741 |  | 
|  | 18742 | if test -n "$MKDIR"; then | 
|  | 18743 | echo "$as_me:$LINENO: result: $MKDIR" >&5 | 
|  | 18744 | echo "${ECHO_T}$MKDIR" >&6 | 
|  | 18745 | else | 
|  | 18746 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18747 | echo "${ECHO_T}no" >&6 | 
|  | 18748 | fi | 
|  | 18749 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18750 | if test ${MKDIR} = "false" | 
|  | 18751 | then | 
|  | 18752 | { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5 | 
|  | 18753 | echo "$as_me: error: mkdir required but not found" >&2;} | 
|  | 18754 | { (exit 1); exit 1; }; } | 
|  | 18755 | fi | 
|  | 18756 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18757 | # Extract the first word of "date", so it can be a program name with args. | 
|  | 18758 | set dummy date; ac_word=$2 | 
|  | 18759 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18760 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18761 | if test "${ac_cv_path_DATE+set}" = set; then | 
|  | 18762 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18763 | else | 
|  | 18764 | case $DATE in | 
|  | 18765 | [\\/]* | ?:[\\/]*) | 
|  | 18766 | ac_cv_path_DATE="$DATE" # Let the user override the test with a path. | 
|  | 18767 | ;; | 
|  | 18768 | *) | 
|  | 18769 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18770 | for as_dir in $PATH | 
|  | 18771 | do | 
|  | 18772 | IFS=$as_save_IFS | 
|  | 18773 | test -z "$as_dir" && as_dir=. | 
|  | 18774 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18775 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18776 | ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18777 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18778 | break 2 | 
|  | 18779 | fi | 
|  | 18780 | done | 
|  | 18781 | done | 
|  | 18782 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18783 | test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18784 | ;; | 
|  | 18785 | esac | 
|  | 18786 | fi | 
|  | 18787 | DATE=$ac_cv_path_DATE | 
|  | 18788 |  | 
|  | 18789 | if test -n "$DATE"; then | 
|  | 18790 | echo "$as_me:$LINENO: result: $DATE" >&5 | 
|  | 18791 | echo "${ECHO_T}$DATE" >&6 | 
|  | 18792 | else | 
|  | 18793 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18794 | echo "${ECHO_T}no" >&6 | 
|  | 18795 | fi | 
|  | 18796 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18797 | if test ${DATE} = "false" | 
|  | 18798 | then | 
|  | 18799 | { { echo "$as_me:$LINENO: error: date required but not found" >&5 | 
|  | 18800 | echo "$as_me: error: date required but not found" >&2;} | 
|  | 18801 | { (exit 1); exit 1; }; } | 
|  | 18802 | fi | 
|  | 18803 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18804 | # Extract the first word of "mv", so it can be a program name with args. | 
|  | 18805 | set dummy mv; ac_word=$2 | 
|  | 18806 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18807 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18808 | if test "${ac_cv_path_MV+set}" = set; then | 
|  | 18809 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18810 | else | 
|  | 18811 | case $MV in | 
|  | 18812 | [\\/]* | ?:[\\/]*) | 
|  | 18813 | ac_cv_path_MV="$MV" # Let the user override the test with a path. | 
|  | 18814 | ;; | 
|  | 18815 | *) | 
|  | 18816 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18817 | for as_dir in $PATH | 
|  | 18818 | do | 
|  | 18819 | IFS=$as_save_IFS | 
|  | 18820 | test -z "$as_dir" && as_dir=. | 
|  | 18821 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18822 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18823 | ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18824 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18825 | break 2 | 
|  | 18826 | fi | 
|  | 18827 | done | 
|  | 18828 | done | 
|  | 18829 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18830 | test -z "$ac_cv_path_MV" && ac_cv_path_MV="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18831 | ;; | 
|  | 18832 | esac | 
|  | 18833 | fi | 
|  | 18834 | MV=$ac_cv_path_MV | 
|  | 18835 |  | 
|  | 18836 | if test -n "$MV"; then | 
|  | 18837 | echo "$as_me:$LINENO: result: $MV" >&5 | 
|  | 18838 | echo "${ECHO_T}$MV" >&6 | 
|  | 18839 | else | 
|  | 18840 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18841 | echo "${ECHO_T}no" >&6 | 
|  | 18842 | fi | 
|  | 18843 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18844 | if test ${MV} = "false" | 
|  | 18845 | then | 
|  | 18846 | { { echo "$as_me:$LINENO: error: mv required but not found" >&5 | 
|  | 18847 | echo "$as_me: error: mv required but not found" >&2;} | 
|  | 18848 | { (exit 1); exit 1; }; } | 
|  | 18849 | fi | 
|  | 18850 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18851 | # Extract the first word of "dot", so it can be a program name with args. | 
|  | 18852 | set dummy dot; ac_word=$2 | 
|  | 18853 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18854 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18855 | if test "${ac_cv_path_DOT+set}" = set; then | 
|  | 18856 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18857 | else | 
|  | 18858 | case $DOT in | 
|  | 18859 | [\\/]* | ?:[\\/]*) | 
|  | 18860 | ac_cv_path_DOT="$DOT" # Let the user override the test with a path. | 
|  | 18861 | ;; | 
|  | 18862 | *) | 
|  | 18863 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18864 | for as_dir in $PATH | 
|  | 18865 | do | 
|  | 18866 | IFS=$as_save_IFS | 
|  | 18867 | test -z "$as_dir" && as_dir=. | 
|  | 18868 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18869 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18870 | ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18871 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18872 | break 2 | 
|  | 18873 | fi | 
|  | 18874 | done | 
|  | 18875 | done | 
|  | 18876 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18877 | test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18878 | ;; | 
|  | 18879 | esac | 
|  | 18880 | fi | 
|  | 18881 | DOT=$ac_cv_path_DOT | 
|  | 18882 |  | 
|  | 18883 | if test -n "$DOT"; then | 
|  | 18884 | echo "$as_me:$LINENO: result: $DOT" >&5 | 
|  | 18885 | echo "${ECHO_T}$DOT" >&6 | 
|  | 18886 | else | 
|  | 18887 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18888 | echo "${ECHO_T}no" >&6 | 
|  | 18889 | fi | 
|  | 18890 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18891 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18892 | # Extract the first word of "etags", so it can be a program name with args. | 
|  | 18893 | set dummy etags; ac_word=$2 | 
|  | 18894 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18895 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18896 | if test "${ac_cv_path_ETAGS+set}" = set; then | 
|  | 18897 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18898 | else | 
|  | 18899 | case $ETAGS in | 
|  | 18900 | [\\/]* | ?:[\\/]*) | 
|  | 18901 | ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path. | 
|  | 18902 | ;; | 
|  | 18903 | *) | 
|  | 18904 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18905 | for as_dir in $PATH | 
|  | 18906 | do | 
|  | 18907 | IFS=$as_save_IFS | 
|  | 18908 | test -z "$as_dir" && as_dir=. | 
|  | 18909 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18910 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18911 | ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18912 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18913 | break 2 | 
|  | 18914 | fi | 
|  | 18915 | done | 
|  | 18916 | done | 
|  | 18917 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18918 | test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 18919 | ;; | 
|  | 18920 | esac | 
|  | 18921 | fi | 
|  | 18922 | ETAGS=$ac_cv_path_ETAGS | 
|  | 18923 |  | 
|  | 18924 | if test -n "$ETAGS"; then | 
|  | 18925 | echo "$as_me:$LINENO: result: $ETAGS" >&5 | 
|  | 18926 | echo "${ECHO_T}$ETAGS" >&6 | 
|  | 18927 | else | 
|  | 18928 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18929 | echo "${ECHO_T}no" >&6 | 
|  | 18930 | fi | 
|  | 18931 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18932 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18933 | # Extract the first word of "python", so it can be a program name with args. | 
|  | 18934 | set dummy python; ac_word=$2 | 
|  | 18935 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18936 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18937 | if test "${ac_cv_path_PYTHON+set}" = set; then | 
|  | 18938 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18939 | else | 
|  | 18940 | case $PYTHON in | 
|  | 18941 | [\\/]* | ?:[\\/]*) | 
|  | 18942 | ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path. | 
|  | 18943 | ;; | 
|  | 18944 | *) | 
|  | 18945 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18946 | for as_dir in $PATH | 
|  | 18947 | do | 
|  | 18948 | IFS=$as_save_IFS | 
|  | 18949 | test -z "$as_dir" && as_dir=. | 
|  | 18950 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18951 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18952 | ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18953 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 18954 | break 2 | 
|  | 18955 | fi | 
|  | 18956 | done | 
|  | 18957 | done | 
|  | 18958 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18959 | test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18960 | ;; | 
|  | 18961 | esac | 
|  | 18962 | fi | 
|  | 18963 | PYTHON=$ac_cv_path_PYTHON | 
|  | 18964 |  | 
|  | 18965 | if test -n "$PYTHON"; then | 
|  | 18966 | echo "$as_me:$LINENO: result: $PYTHON" >&5 | 
|  | 18967 | echo "${ECHO_T}$PYTHON" >&6 | 
|  | 18968 | else | 
|  | 18969 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 18970 | echo "${ECHO_T}no" >&6 | 
|  | 18971 | fi | 
|  | 18972 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18973 | if test ${PYTHON} = "false" | 
|  | 18974 | then | 
| John Criswell | 6109598 | 2003-09-23 20:46:32 +0000 | [diff] [blame] | 18975 | { echo "$as_me:$LINENO: WARNING: python required but not found" >&5 | 
|  | 18976 | echo "$as_me: WARNING: python required but not found" >&2;} | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 18977 | fi | 
|  | 18978 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 18979 | # Extract the first word of "qmtest", so it can be a program name with args. | 
|  | 18980 | set dummy qmtest; ac_word=$2 | 
|  | 18981 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
|  | 18982 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
|  | 18983 | if test "${ac_cv_path_QMTEST+set}" = set; then | 
|  | 18984 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 18985 | else | 
|  | 18986 | case $QMTEST in | 
|  | 18987 | [\\/]* | ?:[\\/]*) | 
|  | 18988 | ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path. | 
|  | 18989 | ;; | 
|  | 18990 | *) | 
|  | 18991 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 18992 | for as_dir in $PATH | 
|  | 18993 | do | 
|  | 18994 | IFS=$as_save_IFS | 
|  | 18995 | test -z "$as_dir" && as_dir=. | 
|  | 18996 | for ac_exec_ext in '' $ac_executable_extensions; do | 
|  | 18997 | if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
|  | 18998 | ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext" | 
|  | 18999 | echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
|  | 19000 | break 2 | 
|  | 19001 | fi | 
|  | 19002 | done | 
|  | 19003 | done | 
|  | 19004 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19005 | test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false" | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19006 | ;; | 
|  | 19007 | esac | 
|  | 19008 | fi | 
|  | 19009 | QMTEST=$ac_cv_path_QMTEST | 
|  | 19010 |  | 
|  | 19011 | if test -n "$QMTEST"; then | 
|  | 19012 | echo "$as_me:$LINENO: result: $QMTEST" >&5 | 
|  | 19013 | echo "${ECHO_T}$QMTEST" >&6 | 
|  | 19014 | else | 
|  | 19015 | echo "$as_me:$LINENO: result: no" >&5 | 
|  | 19016 | echo "${ECHO_T}no" >&6 | 
|  | 19017 | fi | 
|  | 19018 |  | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19019 | if test ${QMTEST} = "false" | 
|  | 19020 | then | 
| John Criswell | 6109598 | 2003-09-23 20:46:32 +0000 | [diff] [blame] | 19021 | { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5 | 
|  | 19022 | echo "$as_me: WARNING: qmtest required but not found" >&2;} | 
| John Criswell | 39827c8 | 2003-09-23 15:28:52 +0000 | [diff] [blame] | 19023 | fi | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 19024 |  | 
|  | 19025 | pyversion=`$PYTHON -V 2>&1 | cut -d\  -f2` | 
|  | 19026 | pymajor=`echo $pyversion | cut -d. -f1` | 
|  | 19027 | pyminor=`echo $pyversion | cut -d. -f2` | 
|  | 19028 |  | 
|  | 19029 | if test "$pymajor" -ge "2" | 
|  | 19030 | then | 
|  | 19031 | if test "$pymajor" -eq "2" | 
|  | 19032 | then | 
|  | 19033 | if test "$pyminor" -lt "2" | 
|  | 19034 | then | 
|  | 19035 | { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5 | 
|  | 19036 | echo "$as_me: error: Python 2.2 or greater required" >&2;} | 
|  | 19037 | { (exit 1); exit 1; }; } | 
|  | 19038 | fi | 
|  | 19039 | fi | 
|  | 19040 | else | 
|  | 19041 | { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5 | 
|  | 19042 | echo "$as_me: error: Python 2.2 or greater required" >&2;} | 
|  | 19043 | { (exit 1); exit 1; }; } | 
|  | 19044 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19045 |  | 
|  | 19046 |  | 
|  | 19047 |  | 
|  | 19048 |  | 
|  | 19049 |  | 
|  | 19050 | echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 
|  | 19051 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 
|  | 19052 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 
|  | 19053 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19054 | else | 
|  | 19055 | ac_check_lib_save_LIBS=$LIBS | 
|  | 19056 | LIBS="-lelf  $LIBS" | 
|  | 19057 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19058 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19059 | /* confdefs.h.  */ | 
|  | 19060 | _ACEOF | 
|  | 19061 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19062 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19063 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19064 |  | 
|  | 19065 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 19066 | #ifdef __cplusplus | 
|  | 19067 | extern "C" | 
|  | 19068 | #endif | 
|  | 19069 | /* We use char because int might match the return type of a gcc2 | 
|  | 19070 | builtin and then its argument prototype would still apply.  */ | 
|  | 19071 | char elf_begin (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19072 | int | 
|  | 19073 | main () | 
|  | 19074 | { | 
|  | 19075 | elf_begin (); | 
|  | 19076 | ; | 
|  | 19077 | return 0; | 
|  | 19078 | } | 
|  | 19079 | _ACEOF | 
|  | 19080 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 19081 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 19082 | (eval $ac_link) 2>&5 | 
|  | 19083 | ac_status=$? | 
|  | 19084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19085 | (exit $ac_status); } && | 
|  | 19086 | { ac_try='test -s conftest$ac_exeext' | 
|  | 19087 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19088 | (eval $ac_try) 2>&5 | 
|  | 19089 | ac_status=$? | 
|  | 19090 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19091 | (exit $ac_status); }; }; then | 
|  | 19092 | ac_cv_lib_elf_elf_begin=yes | 
|  | 19093 | else | 
|  | 19094 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19095 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19096 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19097 | ac_cv_lib_elf_elf_begin=no | 
|  | 19098 | fi | 
|  | 19099 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 19100 | LIBS=$ac_check_lib_save_LIBS | 
|  | 19101 | fi | 
|  | 19102 | echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 
|  | 19103 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 
|  | 19104 | if test $ac_cv_lib_elf_elf_begin = yes; then | 
|  | 19105 | cat >>confdefs.h <<_ACEOF | 
|  | 19106 | #define HAVE_LIBELF 1 | 
|  | 19107 | _ACEOF | 
|  | 19108 |  | 
|  | 19109 | LIBS="-lelf $LIBS" | 
|  | 19110 |  | 
|  | 19111 | fi | 
|  | 19112 |  | 
|  | 19113 |  | 
|  | 19114 | echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | 
|  | 19115 | echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6 | 
|  | 19116 | if test "${ac_cv_search_dlopen+set}" = set; then | 
|  | 19117 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19118 | else | 
|  | 19119 | ac_func_search_save_LIBS=$LIBS | 
|  | 19120 | ac_cv_search_dlopen=no | 
|  | 19121 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19122 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19123 | /* confdefs.h.  */ | 
|  | 19124 | _ACEOF | 
|  | 19125 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19126 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19127 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19128 |  | 
|  | 19129 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 19130 | #ifdef __cplusplus | 
|  | 19131 | extern "C" | 
|  | 19132 | #endif | 
|  | 19133 | /* We use char because int might match the return type of a gcc2 | 
|  | 19134 | builtin and then its argument prototype would still apply.  */ | 
|  | 19135 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19136 | int | 
|  | 19137 | main () | 
|  | 19138 | { | 
|  | 19139 | dlopen (); | 
|  | 19140 | ; | 
|  | 19141 | return 0; | 
|  | 19142 | } | 
|  | 19143 | _ACEOF | 
|  | 19144 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 19145 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 19146 | (eval $ac_link) 2>&5 | 
|  | 19147 | ac_status=$? | 
|  | 19148 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19149 | (exit $ac_status); } && | 
|  | 19150 | { ac_try='test -s conftest$ac_exeext' | 
|  | 19151 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19152 | (eval $ac_try) 2>&5 | 
|  | 19153 | ac_status=$? | 
|  | 19154 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19155 | (exit $ac_status); }; }; then | 
|  | 19156 | ac_cv_search_dlopen="none required" | 
|  | 19157 | else | 
|  | 19158 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19159 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19160 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19161 | fi | 
|  | 19162 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 19163 | if test "$ac_cv_search_dlopen" = no; then | 
|  | 19164 | for ac_lib in dl; do | 
|  | 19165 | LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
|  | 19166 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19167 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19168 | /* confdefs.h.  */ | 
|  | 19169 | _ACEOF | 
|  | 19170 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19171 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19172 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19173 |  | 
|  | 19174 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 19175 | #ifdef __cplusplus | 
|  | 19176 | extern "C" | 
|  | 19177 | #endif | 
|  | 19178 | /* We use char because int might match the return type of a gcc2 | 
|  | 19179 | builtin and then its argument prototype would still apply.  */ | 
|  | 19180 | char dlopen (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19181 | int | 
|  | 19182 | main () | 
|  | 19183 | { | 
|  | 19184 | dlopen (); | 
|  | 19185 | ; | 
|  | 19186 | return 0; | 
|  | 19187 | } | 
|  | 19188 | _ACEOF | 
|  | 19189 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 19190 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 19191 | (eval $ac_link) 2>&5 | 
|  | 19192 | ac_status=$? | 
|  | 19193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19194 | (exit $ac_status); } && | 
|  | 19195 | { ac_try='test -s conftest$ac_exeext' | 
|  | 19196 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19197 | (eval $ac_try) 2>&5 | 
|  | 19198 | ac_status=$? | 
|  | 19199 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19200 | (exit $ac_status); }; }; then | 
|  | 19201 | ac_cv_search_dlopen="-l$ac_lib" | 
|  | 19202 | break | 
|  | 19203 | else | 
|  | 19204 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19205 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19206 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19207 | fi | 
|  | 19208 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 19209 | done | 
|  | 19210 | fi | 
|  | 19211 | LIBS=$ac_func_search_save_LIBS | 
|  | 19212 | fi | 
|  | 19213 | echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 | 
|  | 19214 | echo "${ECHO_T}$ac_cv_search_dlopen" >&6 | 
|  | 19215 | if test "$ac_cv_search_dlopen" != no; then | 
|  | 19216 | test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS" | 
|  | 19217 |  | 
|  | 19218 | else | 
|  | 19219 | { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5 | 
|  | 19220 | echo "$as_me: error: dlopen() required but not found" >&2;} | 
|  | 19221 | { (exit 1); exit 1; }; } | 
|  | 19222 | fi | 
|  | 19223 |  | 
|  | 19224 |  | 
|  | 19225 | echo "$as_me:$LINENO: checking for library containing mallinfo" >&5 | 
|  | 19226 | echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6 | 
|  | 19227 | if test "${ac_cv_search_mallinfo+set}" = set; then | 
|  | 19228 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19229 | else | 
|  | 19230 | ac_func_search_save_LIBS=$LIBS | 
|  | 19231 | ac_cv_search_mallinfo=no | 
|  | 19232 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19233 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19234 | /* confdefs.h.  */ | 
|  | 19235 | _ACEOF | 
|  | 19236 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19237 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19238 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19239 |  | 
|  | 19240 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 19241 | #ifdef __cplusplus | 
|  | 19242 | extern "C" | 
|  | 19243 | #endif | 
|  | 19244 | /* We use char because int might match the return type of a gcc2 | 
|  | 19245 | builtin and then its argument prototype would still apply.  */ | 
|  | 19246 | char mallinfo (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19247 | int | 
|  | 19248 | main () | 
|  | 19249 | { | 
|  | 19250 | mallinfo (); | 
|  | 19251 | ; | 
|  | 19252 | return 0; | 
|  | 19253 | } | 
|  | 19254 | _ACEOF | 
|  | 19255 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 19256 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 19257 | (eval $ac_link) 2>&5 | 
|  | 19258 | ac_status=$? | 
|  | 19259 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19260 | (exit $ac_status); } && | 
|  | 19261 | { ac_try='test -s conftest$ac_exeext' | 
|  | 19262 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19263 | (eval $ac_try) 2>&5 | 
|  | 19264 | ac_status=$? | 
|  | 19265 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19266 | (exit $ac_status); }; }; then | 
|  | 19267 | ac_cv_search_mallinfo="none required" | 
|  | 19268 | else | 
|  | 19269 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19270 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19271 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19272 | fi | 
|  | 19273 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 19274 | if test "$ac_cv_search_mallinfo" = no; then | 
|  | 19275 | for ac_lib in malloc; do | 
|  | 19276 | LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
|  | 19277 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19278 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19279 | /* confdefs.h.  */ | 
|  | 19280 | _ACEOF | 
|  | 19281 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19282 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19283 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19284 |  | 
|  | 19285 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 19286 | #ifdef __cplusplus | 
|  | 19287 | extern "C" | 
|  | 19288 | #endif | 
|  | 19289 | /* We use char because int might match the return type of a gcc2 | 
|  | 19290 | builtin and then its argument prototype would still apply.  */ | 
|  | 19291 | char mallinfo (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19292 | int | 
|  | 19293 | main () | 
|  | 19294 | { | 
|  | 19295 | mallinfo (); | 
|  | 19296 | ; | 
|  | 19297 | return 0; | 
|  | 19298 | } | 
|  | 19299 | _ACEOF | 
|  | 19300 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 19301 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 19302 | (eval $ac_link) 2>&5 | 
|  | 19303 | ac_status=$? | 
|  | 19304 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19305 | (exit $ac_status); } && | 
|  | 19306 | { ac_try='test -s conftest$ac_exeext' | 
|  | 19307 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19308 | (eval $ac_try) 2>&5 | 
|  | 19309 | ac_status=$? | 
|  | 19310 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19311 | (exit $ac_status); }; }; then | 
|  | 19312 | ac_cv_search_mallinfo="-l$ac_lib" | 
|  | 19313 | break | 
|  | 19314 | else | 
|  | 19315 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19316 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19317 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19318 | fi | 
|  | 19319 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 19320 | done | 
|  | 19321 | fi | 
|  | 19322 | LIBS=$ac_func_search_save_LIBS | 
|  | 19323 | fi | 
|  | 19324 | echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5 | 
|  | 19325 | echo "${ECHO_T}$ac_cv_search_mallinfo" >&6 | 
|  | 19326 | if test "$ac_cv_search_mallinfo" != no; then | 
|  | 19327 | test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS" | 
|  | 19328 | cat >>confdefs.h <<\_ACEOF | 
|  | 19329 | #define HAVE_MALLINFO 1 | 
|  | 19330 | _ACEOF | 
|  | 19331 |  | 
|  | 19332 | fi | 
|  | 19333 |  | 
|  | 19334 |  | 
|  | 19335 |  | 
|  | 19336 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
|  | 19337 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
|  | 19338 | if test "${ac_cv_header_stdc+set}" = set; then | 
|  | 19339 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19340 | else | 
|  | 19341 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19342 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19343 | /* confdefs.h.  */ | 
|  | 19344 | _ACEOF | 
|  | 19345 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19346 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19347 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19348 | #include <stdlib.h> | 
|  | 19349 | #include <stdarg.h> | 
|  | 19350 | #include <string.h> | 
|  | 19351 | #include <float.h> | 
|  | 19352 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19353 | int | 
|  | 19354 | main () | 
|  | 19355 | { | 
|  | 19356 |  | 
|  | 19357 | ; | 
|  | 19358 | return 0; | 
|  | 19359 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19360 | _ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19361 | rm -f conftest.$ac_objext | 
|  | 19362 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 19363 | (eval $ac_compile) 2>&5 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19364 | ac_status=$? | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19365 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19366 | (exit $ac_status); } && | 
|  | 19367 | { ac_try='test -s conftest.$ac_objext' | 
|  | 19368 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19369 | (eval $ac_try) 2>&5 | 
|  | 19370 | ac_status=$? | 
|  | 19371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19372 | (exit $ac_status); }; }; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19373 | ac_cv_header_stdc=yes | 
|  | 19374 | else | 
|  | 19375 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19376 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19377 |  | 
|  | 19378 | ac_cv_header_stdc=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19379 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19380 | rm -f conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19381 |  | 
|  | 19382 | if test $ac_cv_header_stdc = yes; then | 
|  | 19383 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
|  | 19384 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19385 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19386 | /* confdefs.h.  */ | 
|  | 19387 | _ACEOF | 
|  | 19388 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19389 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19390 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19391 | #include <string.h> | 
|  | 19392 |  | 
|  | 19393 | _ACEOF | 
|  | 19394 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19395 | $EGREP "memchr" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19396 | : | 
|  | 19397 | else | 
|  | 19398 | ac_cv_header_stdc=no | 
|  | 19399 | fi | 
|  | 19400 | rm -f conftest* | 
|  | 19401 |  | 
|  | 19402 | fi | 
|  | 19403 |  | 
|  | 19404 | if test $ac_cv_header_stdc = yes; then | 
|  | 19405 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
|  | 19406 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19407 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19408 | /* confdefs.h.  */ | 
|  | 19409 | _ACEOF | 
|  | 19410 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19411 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19412 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19413 | #include <stdlib.h> | 
|  | 19414 |  | 
|  | 19415 | _ACEOF | 
|  | 19416 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19417 | $EGREP "free" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19418 | : | 
|  | 19419 | else | 
|  | 19420 | ac_cv_header_stdc=no | 
|  | 19421 | fi | 
|  | 19422 | rm -f conftest* | 
|  | 19423 |  | 
|  | 19424 | fi | 
|  | 19425 |  | 
|  | 19426 | if test $ac_cv_header_stdc = yes; then | 
|  | 19427 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
|  | 19428 | if test "$cross_compiling" = yes; then | 
|  | 19429 | : | 
|  | 19430 | else | 
|  | 19431 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19432 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19433 | /* confdefs.h.  */ | 
|  | 19434 | _ACEOF | 
|  | 19435 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19436 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19437 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19438 | #include <ctype.h> | 
|  | 19439 | #if ((' ' & 0x0FF) == 0x020) | 
|  | 19440 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
|  | 19441 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
|  | 19442 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19443 | # define ISLOWER(c) \ | 
|  | 19444 | (('a' <= (c) && (c) <= 'i') \ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19445 | || ('j' <= (c) && (c) <= 'r') \ | 
|  | 19446 | || ('s' <= (c) && (c) <= 'z')) | 
|  | 19447 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
|  | 19448 | #endif | 
|  | 19449 |  | 
|  | 19450 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
|  | 19451 | int | 
|  | 19452 | main () | 
|  | 19453 | { | 
|  | 19454 | int i; | 
|  | 19455 | for (i = 0; i < 256; i++) | 
|  | 19456 | if (XOR (islower (i), ISLOWER (i)) | 
|  | 19457 | || toupper (i) != TOUPPER (i)) | 
|  | 19458 | exit(2); | 
|  | 19459 | exit (0); | 
|  | 19460 | } | 
|  | 19461 | _ACEOF | 
|  | 19462 | rm -f conftest$ac_exeext | 
|  | 19463 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 19464 | (eval $ac_link) 2>&5 | 
|  | 19465 | ac_status=$? | 
|  | 19466 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19467 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  | 19468 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19469 | (eval $ac_try) 2>&5 | 
|  | 19470 | ac_status=$? | 
|  | 19471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19472 | (exit $ac_status); }; }; then | 
|  | 19473 | : | 
|  | 19474 | else | 
|  | 19475 | echo "$as_me: program exited with status $ac_status" >&5 | 
|  | 19476 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19477 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19478 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19479 | ( exit $ac_status ) | 
|  | 19480 | ac_cv_header_stdc=no | 
|  | 19481 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19482 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19483 | fi | 
|  | 19484 | fi | 
|  | 19485 | fi | 
|  | 19486 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
|  | 19487 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
|  | 19488 | if test $ac_cv_header_stdc = yes; then | 
|  | 19489 |  | 
|  | 19490 | cat >>confdefs.h <<\_ACEOF | 
|  | 19491 | #define STDC_HEADERS 1 | 
|  | 19492 | _ACEOF | 
|  | 19493 |  | 
|  | 19494 | fi | 
|  | 19495 |  | 
|  | 19496 | echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 
|  | 19497 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 
|  | 19498 | if test "${ac_cv_header_sys_wait_h+set}" = set; then | 
|  | 19499 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19500 | else | 
|  | 19501 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19502 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19503 | /* confdefs.h.  */ | 
|  | 19504 | _ACEOF | 
|  | 19505 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19506 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19507 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19508 | #include <sys/types.h> | 
|  | 19509 | #include <sys/wait.h> | 
|  | 19510 | #ifndef WEXITSTATUS | 
|  | 19511 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 
|  | 19512 | #endif | 
|  | 19513 | #ifndef WIFEXITED | 
|  | 19514 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 
|  | 19515 | #endif | 
|  | 19516 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19517 | int | 
|  | 19518 | main () | 
|  | 19519 | { | 
|  | 19520 | int s; | 
|  | 19521 | wait (&s); | 
|  | 19522 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 
|  | 19523 | ; | 
|  | 19524 | return 0; | 
|  | 19525 | } | 
|  | 19526 | _ACEOF | 
|  | 19527 | rm -f conftest.$ac_objext | 
|  | 19528 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 19529 | (eval $ac_compile) 2>&5 | 
|  | 19530 | ac_status=$? | 
|  | 19531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19532 | (exit $ac_status); } && | 
|  | 19533 | { ac_try='test -s conftest.$ac_objext' | 
|  | 19534 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19535 | (eval $ac_try) 2>&5 | 
|  | 19536 | ac_status=$? | 
|  | 19537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19538 | (exit $ac_status); }; }; then | 
|  | 19539 | ac_cv_header_sys_wait_h=yes | 
|  | 19540 | else | 
|  | 19541 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19542 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19543 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19544 | ac_cv_header_sys_wait_h=no | 
|  | 19545 | fi | 
|  | 19546 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 19547 | fi | 
|  | 19548 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 
|  | 19549 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 
|  | 19550 | if test $ac_cv_header_sys_wait_h = yes; then | 
|  | 19551 |  | 
|  | 19552 | cat >>confdefs.h <<\_ACEOF | 
|  | 19553 | #define HAVE_SYS_WAIT_H 1 | 
|  | 19554 | _ACEOF | 
|  | 19555 |  | 
|  | 19556 | fi | 
|  | 19557 |  | 
|  | 19558 |  | 
|  | 19559 |  | 
|  | 19560 |  | 
|  | 19561 |  | 
|  | 19562 |  | 
|  | 19563 |  | 
|  | 19564 |  | 
|  | 19565 |  | 
|  | 19566 |  | 
|  | 19567 | for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h | 
|  | 19568 | do | 
|  | 19569 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|  | 19570 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19571 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 19572 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 19573 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19574 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19575 | fi | 
|  | 19576 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 19577 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 19578 | else | 
|  | 19579 | # Is the header compilable? | 
|  | 19580 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|  | 19581 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|  | 19582 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19583 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19584 | /* confdefs.h.  */ | 
|  | 19585 | _ACEOF | 
|  | 19586 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19587 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19588 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19589 | $ac_includes_default | 
|  | 19590 | #include <$ac_header> | 
|  | 19591 | _ACEOF | 
|  | 19592 | rm -f conftest.$ac_objext | 
|  | 19593 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 19594 | (eval $ac_compile) 2>&5 | 
|  | 19595 | ac_status=$? | 
|  | 19596 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19597 | (exit $ac_status); } && | 
|  | 19598 | { ac_try='test -s conftest.$ac_objext' | 
|  | 19599 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19600 | (eval $ac_try) 2>&5 | 
|  | 19601 | ac_status=$? | 
|  | 19602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19603 | (exit $ac_status); }; }; then | 
|  | 19604 | ac_header_compiler=yes | 
|  | 19605 | else | 
|  | 19606 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19607 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19608 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19609 | ac_header_compiler=no | 
|  | 19610 | fi | 
|  | 19611 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 19612 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|  | 19613 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|  | 19614 |  | 
|  | 19615 | # Is the header present? | 
|  | 19616 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|  | 19617 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|  | 19618 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19619 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19620 | /* confdefs.h.  */ | 
|  | 19621 | _ACEOF | 
|  | 19622 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19623 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19624 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19625 | #include <$ac_header> | 
|  | 19626 | _ACEOF | 
|  | 19627 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 19628 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 19629 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19630 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19631 | rm -f conftest.er1 | 
|  | 19632 | cat conftest.err >&5 | 
|  | 19633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19634 | (exit $ac_status); } >/dev/null; then | 
|  | 19635 | if test -s conftest.err; then | 
|  | 19636 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 19637 | else | 
|  | 19638 | ac_cpp_err= | 
|  | 19639 | fi | 
|  | 19640 | else | 
|  | 19641 | ac_cpp_err=yes | 
|  | 19642 | fi | 
|  | 19643 | if test -z "$ac_cpp_err"; then | 
|  | 19644 | ac_header_preproc=yes | 
|  | 19645 | else | 
|  | 19646 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19647 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19648 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19649 | ac_header_preproc=no | 
|  | 19650 | fi | 
|  | 19651 | rm -f conftest.err conftest.$ac_ext | 
|  | 19652 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|  | 19653 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|  | 19654 |  | 
|  | 19655 | # So?  What about this header? | 
|  | 19656 | case $ac_header_compiler:$ac_header_preproc in | 
|  | 19657 | yes:no ) | 
|  | 19658 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|  | 19659 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|  | 19660 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19661 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 19662 | ( | 
|  | 19663 | cat <<\_ASBOX | 
|  | 19664 | ## ------------------------------------ ## | 
|  | 19665 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 19666 | ## ------------------------------------ ## | 
|  | 19667 | _ASBOX | 
|  | 19668 | ) | | 
|  | 19669 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 19670 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19671 | no:yes ) | 
|  | 19672 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|  | 19673 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|  | 19674 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
|  | 19675 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
|  | 19676 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19677 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 19678 | ( | 
|  | 19679 | cat <<\_ASBOX | 
|  | 19680 | ## ------------------------------------ ## | 
|  | 19681 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 19682 | ## ------------------------------------ ## | 
|  | 19683 | _ASBOX | 
|  | 19684 | ) | | 
|  | 19685 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 19686 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19687 | esac | 
|  | 19688 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 19689 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 19690 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19691 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19692 | else | 
|  | 19693 | eval "$as_ac_Header=$ac_header_preproc" | 
|  | 19694 | fi | 
|  | 19695 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 19696 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 19697 |  | 
|  | 19698 | fi | 
|  | 19699 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|  | 19700 | cat >>confdefs.h <<_ACEOF | 
|  | 19701 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|  | 19702 | _ACEOF | 
|  | 19703 |  | 
|  | 19704 | fi | 
|  | 19705 |  | 
|  | 19706 | done | 
|  | 19707 |  | 
|  | 19708 |  | 
|  | 19709 |  | 
|  | 19710 |  | 
|  | 19711 |  | 
|  | 19712 |  | 
|  | 19713 | for ac_header in malloc.h strings.h sys/mman.h sys/resource.h | 
|  | 19714 | do | 
|  | 19715 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|  | 19716 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19717 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 19718 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 19719 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19720 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19721 | fi | 
|  | 19722 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 19723 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 19724 | else | 
|  | 19725 | # Is the header compilable? | 
|  | 19726 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|  | 19727 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|  | 19728 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19729 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19730 | /* confdefs.h.  */ | 
|  | 19731 | _ACEOF | 
|  | 19732 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19733 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19734 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19735 | $ac_includes_default | 
|  | 19736 | #include <$ac_header> | 
|  | 19737 | _ACEOF | 
|  | 19738 | rm -f conftest.$ac_objext | 
|  | 19739 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 19740 | (eval $ac_compile) 2>&5 | 
|  | 19741 | ac_status=$? | 
|  | 19742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19743 | (exit $ac_status); } && | 
|  | 19744 | { ac_try='test -s conftest.$ac_objext' | 
|  | 19745 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19746 | (eval $ac_try) 2>&5 | 
|  | 19747 | ac_status=$? | 
|  | 19748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19749 | (exit $ac_status); }; }; then | 
|  | 19750 | ac_header_compiler=yes | 
|  | 19751 | else | 
|  | 19752 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19753 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19754 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19755 | ac_header_compiler=no | 
|  | 19756 | fi | 
|  | 19757 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 19758 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|  | 19759 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|  | 19760 |  | 
|  | 19761 | # Is the header present? | 
|  | 19762 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|  | 19763 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|  | 19764 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19765 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19766 | /* confdefs.h.  */ | 
|  | 19767 | _ACEOF | 
|  | 19768 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19769 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19770 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19771 | #include <$ac_header> | 
|  | 19772 | _ACEOF | 
|  | 19773 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 19774 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 19775 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19776 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19777 | rm -f conftest.er1 | 
|  | 19778 | cat conftest.err >&5 | 
|  | 19779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19780 | (exit $ac_status); } >/dev/null; then | 
|  | 19781 | if test -s conftest.err; then | 
|  | 19782 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 19783 | else | 
|  | 19784 | ac_cpp_err= | 
|  | 19785 | fi | 
|  | 19786 | else | 
|  | 19787 | ac_cpp_err=yes | 
|  | 19788 | fi | 
|  | 19789 | if test -z "$ac_cpp_err"; then | 
|  | 19790 | ac_header_preproc=yes | 
|  | 19791 | else | 
|  | 19792 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19793 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19794 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19795 | ac_header_preproc=no | 
|  | 19796 | fi | 
|  | 19797 | rm -f conftest.err conftest.$ac_ext | 
|  | 19798 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|  | 19799 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|  | 19800 |  | 
|  | 19801 | # So?  What about this header? | 
|  | 19802 | case $ac_header_compiler:$ac_header_preproc in | 
|  | 19803 | yes:no ) | 
|  | 19804 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|  | 19805 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|  | 19806 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19807 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 19808 | ( | 
|  | 19809 | cat <<\_ASBOX | 
|  | 19810 | ## ------------------------------------ ## | 
|  | 19811 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 19812 | ## ------------------------------------ ## | 
|  | 19813 | _ASBOX | 
|  | 19814 | ) | | 
|  | 19815 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 19816 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19817 | no:yes ) | 
|  | 19818 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|  | 19819 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|  | 19820 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
|  | 19821 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
|  | 19822 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19823 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 19824 | ( | 
|  | 19825 | cat <<\_ASBOX | 
|  | 19826 | ## ------------------------------------ ## | 
|  | 19827 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 19828 | ## ------------------------------------ ## | 
|  | 19829 | _ASBOX | 
|  | 19830 | ) | | 
|  | 19831 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 19832 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19833 | esac | 
|  | 19834 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 19835 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 19836 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19837 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19838 | else | 
|  | 19839 | eval "$as_ac_Header=$ac_header_preproc" | 
|  | 19840 | fi | 
|  | 19841 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 19842 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 19843 |  | 
|  | 19844 | fi | 
|  | 19845 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|  | 19846 | cat >>confdefs.h <<_ACEOF | 
|  | 19847 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|  | 19848 | _ACEOF | 
|  | 19849 |  | 
|  | 19850 | fi | 
|  | 19851 |  | 
|  | 19852 | done | 
|  | 19853 |  | 
|  | 19854 |  | 
|  | 19855 |  | 
|  | 19856 |  | 
|  | 19857 | for ac_header in dlfcn.h link.h | 
|  | 19858 | do | 
|  | 19859 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|  | 19860 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19861 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 19862 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 19863 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19864 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19865 | fi | 
|  | 19866 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 19867 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 19868 | else | 
|  | 19869 | # Is the header compilable? | 
|  | 19870 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|  | 19871 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|  | 19872 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19873 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19874 | /* confdefs.h.  */ | 
|  | 19875 | _ACEOF | 
|  | 19876 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19877 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19878 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19879 | $ac_includes_default | 
|  | 19880 | #include <$ac_header> | 
|  | 19881 | _ACEOF | 
|  | 19882 | rm -f conftest.$ac_objext | 
|  | 19883 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 19884 | (eval $ac_compile) 2>&5 | 
|  | 19885 | ac_status=$? | 
|  | 19886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19887 | (exit $ac_status); } && | 
|  | 19888 | { ac_try='test -s conftest.$ac_objext' | 
|  | 19889 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 19890 | (eval $ac_try) 2>&5 | 
|  | 19891 | ac_status=$? | 
|  | 19892 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19893 | (exit $ac_status); }; }; then | 
|  | 19894 | ac_header_compiler=yes | 
|  | 19895 | else | 
|  | 19896 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19897 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19898 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19899 | ac_header_compiler=no | 
|  | 19900 | fi | 
|  | 19901 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 19902 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|  | 19903 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|  | 19904 |  | 
|  | 19905 | # Is the header present? | 
|  | 19906 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|  | 19907 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|  | 19908 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 19909 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19910 | /* confdefs.h.  */ | 
|  | 19911 | _ACEOF | 
|  | 19912 | cat confdefs.h >>conftest.$ac_ext | 
|  | 19913 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 19914 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19915 | #include <$ac_header> | 
|  | 19916 | _ACEOF | 
|  | 19917 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 19918 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 19919 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19920 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19921 | rm -f conftest.er1 | 
|  | 19922 | cat conftest.err >&5 | 
|  | 19923 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 19924 | (exit $ac_status); } >/dev/null; then | 
|  | 19925 | if test -s conftest.err; then | 
|  | 19926 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 19927 | else | 
|  | 19928 | ac_cpp_err= | 
|  | 19929 | fi | 
|  | 19930 | else | 
|  | 19931 | ac_cpp_err=yes | 
|  | 19932 | fi | 
|  | 19933 | if test -z "$ac_cpp_err"; then | 
|  | 19934 | ac_header_preproc=yes | 
|  | 19935 | else | 
|  | 19936 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19937 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 19938 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19939 | ac_header_preproc=no | 
|  | 19940 | fi | 
|  | 19941 | rm -f conftest.err conftest.$ac_ext | 
|  | 19942 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|  | 19943 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|  | 19944 |  | 
|  | 19945 | # So?  What about this header? | 
|  | 19946 | case $ac_header_compiler:$ac_header_preproc in | 
|  | 19947 | yes:no ) | 
|  | 19948 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|  | 19949 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|  | 19950 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19951 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 19952 | ( | 
|  | 19953 | cat <<\_ASBOX | 
|  | 19954 | ## ------------------------------------ ## | 
|  | 19955 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 19956 | ## ------------------------------------ ## | 
|  | 19957 | _ASBOX | 
|  | 19958 | ) | | 
|  | 19959 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 19960 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19961 | no:yes ) | 
|  | 19962 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|  | 19963 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|  | 19964 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
|  | 19965 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
|  | 19966 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 19967 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 19968 | ( | 
|  | 19969 | cat <<\_ASBOX | 
|  | 19970 | ## ------------------------------------ ## | 
|  | 19971 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 19972 | ## ------------------------------------ ## | 
|  | 19973 | _ASBOX | 
|  | 19974 | ) | | 
|  | 19975 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 19976 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 19977 | esac | 
|  | 19978 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 19979 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 19980 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 19981 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 19982 | else | 
|  | 19983 | eval "$as_ac_Header=$ac_header_preproc" | 
|  | 19984 | fi | 
|  | 19985 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 19986 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 19987 |  | 
|  | 19988 | fi | 
|  | 19989 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|  | 19990 | cat >>confdefs.h <<_ACEOF | 
|  | 19991 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|  | 19992 | _ACEOF | 
|  | 19993 |  | 
|  | 19994 | fi | 
|  | 19995 |  | 
|  | 19996 | done | 
|  | 19997 |  | 
|  | 19998 |  | 
|  | 19999 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20000 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
|  | 20001 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
|  | 20002 | if test "${ac_cv_c_const+set}" = set; then | 
|  | 20003 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20004 | else | 
|  | 20005 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20006 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20007 | /* confdefs.h.  */ | 
|  | 20008 | _ACEOF | 
|  | 20009 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20010 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20011 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20012 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20013 | int | 
|  | 20014 | main () | 
|  | 20015 | { | 
|  | 20016 | /* FIXME: Include the comments suggested by Paul. */ | 
|  | 20017 | #ifndef __cplusplus | 
|  | 20018 | /* Ultrix mips cc rejects this.  */ | 
|  | 20019 | typedef int charset[2]; | 
|  | 20020 | const charset x; | 
|  | 20021 | /* SunOS 4.1.1 cc rejects this.  */ | 
|  | 20022 | char const *const *ccp; | 
|  | 20023 | char **p; | 
|  | 20024 | /* NEC SVR4.0.2 mips cc rejects this.  */ | 
|  | 20025 | struct point {int x, y;}; | 
|  | 20026 | static struct point const zero = {0,0}; | 
|  | 20027 | /* AIX XL C 1.02.0.0 rejects this. | 
|  | 20028 | It does not let you subtract one const X* pointer from another in | 
|  | 20029 | an arm of an if-expression whose if-part is not a constant | 
|  | 20030 | expression */ | 
|  | 20031 | const char *g = "string"; | 
|  | 20032 | ccp = &g + (g ? g-g : 0); | 
|  | 20033 | /* HPUX 7.0 cc rejects these. */ | 
|  | 20034 | ++ccp; | 
|  | 20035 | p = (char**) ccp; | 
|  | 20036 | ccp = (char const *const *) p; | 
|  | 20037 | { /* SCO 3.2v4 cc rejects this.  */ | 
|  | 20038 | char *t; | 
|  | 20039 | char const *s = 0 ? (char *) 0 : (char const *) 0; | 
|  | 20040 |  | 
|  | 20041 | *t++ = 0; | 
|  | 20042 | } | 
|  | 20043 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
|  | 20044 | int x[] = {25, 17}; | 
|  | 20045 | const int *foo = &x[0]; | 
|  | 20046 | ++foo; | 
|  | 20047 | } | 
|  | 20048 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
|  | 20049 | typedef const int *iptr; | 
|  | 20050 | iptr p = 0; | 
|  | 20051 | ++p; | 
|  | 20052 | } | 
|  | 20053 | { /* AIX XL C 1.02.0.0 rejects this saying | 
|  | 20054 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
|  | 20055 | struct s { int j; const int *ap[3]; }; | 
|  | 20056 | struct s *b; b->j = 5; | 
|  | 20057 | } | 
|  | 20058 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
|  | 20059 | const int foo = 10; | 
|  | 20060 | } | 
|  | 20061 | #endif | 
|  | 20062 |  | 
|  | 20063 | ; | 
|  | 20064 | return 0; | 
|  | 20065 | } | 
|  | 20066 | _ACEOF | 
|  | 20067 | rm -f conftest.$ac_objext | 
|  | 20068 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20069 | (eval $ac_compile) 2>&5 | 
|  | 20070 | ac_status=$? | 
|  | 20071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20072 | (exit $ac_status); } && | 
|  | 20073 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20074 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20075 | (eval $ac_try) 2>&5 | 
|  | 20076 | ac_status=$? | 
|  | 20077 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20078 | (exit $ac_status); }; }; then | 
|  | 20079 | ac_cv_c_const=yes | 
|  | 20080 | else | 
|  | 20081 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20082 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20083 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20084 | ac_cv_c_const=no | 
|  | 20085 | fi | 
|  | 20086 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20087 | fi | 
|  | 20088 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
|  | 20089 | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
|  | 20090 | if test $ac_cv_c_const = no; then | 
|  | 20091 |  | 
|  | 20092 | cat >>confdefs.h <<\_ACEOF | 
|  | 20093 | #define const | 
|  | 20094 | _ACEOF | 
|  | 20095 |  | 
|  | 20096 | fi | 
|  | 20097 |  | 
|  | 20098 | echo "$as_me:$LINENO: checking for inline" >&5 | 
|  | 20099 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 
|  | 20100 | if test "${ac_cv_c_inline+set}" = set; then | 
|  | 20101 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20102 | else | 
|  | 20103 | ac_cv_c_inline=no | 
|  | 20104 | for ac_kw in inline __inline__ __inline; do | 
|  | 20105 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20106 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20107 | /* confdefs.h.  */ | 
|  | 20108 | _ACEOF | 
|  | 20109 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20110 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20111 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20112 | #ifndef __cplusplus | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20113 | typedef int foo_t; | 
|  | 20114 | static $ac_kw foo_t static_foo () {return 0; } | 
|  | 20115 | $ac_kw foo_t foo () {return 0; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20116 | #endif | 
|  | 20117 |  | 
|  | 20118 | _ACEOF | 
|  | 20119 | rm -f conftest.$ac_objext | 
|  | 20120 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20121 | (eval $ac_compile) 2>&5 | 
|  | 20122 | ac_status=$? | 
|  | 20123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20124 | (exit $ac_status); } && | 
|  | 20125 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20126 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20127 | (eval $ac_try) 2>&5 | 
|  | 20128 | ac_status=$? | 
|  | 20129 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20130 | (exit $ac_status); }; }; then | 
|  | 20131 | ac_cv_c_inline=$ac_kw; break | 
|  | 20132 | else | 
|  | 20133 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20134 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20135 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20136 | fi | 
|  | 20137 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20138 | done | 
|  | 20139 |  | 
|  | 20140 | fi | 
|  | 20141 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
|  | 20142 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 
|  | 20143 | case $ac_cv_c_inline in | 
|  | 20144 | inline | yes) ;; | 
|  | 20145 | no) | 
|  | 20146 | cat >>confdefs.h <<\_ACEOF | 
|  | 20147 | #define inline | 
|  | 20148 | _ACEOF | 
|  | 20149 | ;; | 
|  | 20150 | *)  cat >>confdefs.h <<_ACEOF | 
|  | 20151 | #define inline $ac_cv_c_inline | 
|  | 20152 | _ACEOF | 
|  | 20153 | ;; | 
|  | 20154 | esac | 
|  | 20155 |  | 
|  | 20156 |  | 
|  | 20157 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 
|  | 20158 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | 
|  | 20159 | if test "${ac_cv_c_bigendian+set}" = set; then | 
|  | 20160 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20161 | else | 
|  | 20162 | # See if sys/param.h defines the BYTE_ORDER macro. | 
|  | 20163 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20164 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20165 | /* confdefs.h.  */ | 
|  | 20166 | _ACEOF | 
|  | 20167 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20168 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20169 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20170 | #include <sys/types.h> | 
|  | 20171 | #include <sys/param.h> | 
|  | 20172 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20173 | int | 
|  | 20174 | main () | 
|  | 20175 | { | 
|  | 20176 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 
|  | 20177 | bogus endian macros | 
|  | 20178 | #endif | 
|  | 20179 |  | 
|  | 20180 | ; | 
|  | 20181 | return 0; | 
|  | 20182 | } | 
|  | 20183 | _ACEOF | 
|  | 20184 | rm -f conftest.$ac_objext | 
|  | 20185 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20186 | (eval $ac_compile) 2>&5 | 
|  | 20187 | ac_status=$? | 
|  | 20188 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20189 | (exit $ac_status); } && | 
|  | 20190 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20191 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20192 | (eval $ac_try) 2>&5 | 
|  | 20193 | ac_status=$? | 
|  | 20194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20195 | (exit $ac_status); }; }; then | 
|  | 20196 | # It does; now see whether it defined to BIG_ENDIAN or not. | 
|  | 20197 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20198 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20199 | /* confdefs.h.  */ | 
|  | 20200 | _ACEOF | 
|  | 20201 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20202 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20203 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20204 | #include <sys/types.h> | 
|  | 20205 | #include <sys/param.h> | 
|  | 20206 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20207 | int | 
|  | 20208 | main () | 
|  | 20209 | { | 
|  | 20210 | #if BYTE_ORDER != BIG_ENDIAN | 
|  | 20211 | not big endian | 
|  | 20212 | #endif | 
|  | 20213 |  | 
|  | 20214 | ; | 
|  | 20215 | return 0; | 
|  | 20216 | } | 
|  | 20217 | _ACEOF | 
|  | 20218 | rm -f conftest.$ac_objext | 
|  | 20219 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20220 | (eval $ac_compile) 2>&5 | 
|  | 20221 | ac_status=$? | 
|  | 20222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20223 | (exit $ac_status); } && | 
|  | 20224 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20225 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20226 | (eval $ac_try) 2>&5 | 
|  | 20227 | ac_status=$? | 
|  | 20228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20229 | (exit $ac_status); }; }; then | 
|  | 20230 | ac_cv_c_bigendian=yes | 
|  | 20231 | else | 
|  | 20232 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20233 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20234 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20235 | ac_cv_c_bigendian=no | 
|  | 20236 | fi | 
|  | 20237 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20238 | else | 
|  | 20239 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20240 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20241 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20242 | # It does not; compile a test program. | 
|  | 20243 | if test "$cross_compiling" = yes; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20244 | # try to guess the endianness by grepping values into an object file | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20245 | ac_cv_c_bigendian=unknown | 
|  | 20246 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20247 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20248 | /* confdefs.h.  */ | 
|  | 20249 | _ACEOF | 
|  | 20250 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20251 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20252 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20253 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 
|  | 20254 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 
|  | 20255 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | 
|  | 20256 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | 
|  | 20257 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | 
|  | 20258 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20259 | int | 
|  | 20260 | main () | 
|  | 20261 | { | 
|  | 20262 | _ascii (); _ebcdic (); | 
|  | 20263 | ; | 
|  | 20264 | return 0; | 
|  | 20265 | } | 
|  | 20266 | _ACEOF | 
|  | 20267 | rm -f conftest.$ac_objext | 
|  | 20268 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20269 | (eval $ac_compile) 2>&5 | 
|  | 20270 | ac_status=$? | 
|  | 20271 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20272 | (exit $ac_status); } && | 
|  | 20273 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20274 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20275 | (eval $ac_try) 2>&5 | 
|  | 20276 | ac_status=$? | 
|  | 20277 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20278 | (exit $ac_status); }; }; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20279 | if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20280 | ac_cv_c_bigendian=yes | 
|  | 20281 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20282 | if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20283 | if test "$ac_cv_c_bigendian" = unknown; then | 
|  | 20284 | ac_cv_c_bigendian=no | 
|  | 20285 | else | 
|  | 20286 | # finding both strings is unlikely to happen, but who knows? | 
|  | 20287 | ac_cv_c_bigendian=unknown | 
|  | 20288 | fi | 
|  | 20289 | fi | 
|  | 20290 | else | 
|  | 20291 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20292 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20293 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20294 | fi | 
|  | 20295 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20296 | else | 
|  | 20297 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20298 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20299 | /* confdefs.h.  */ | 
|  | 20300 | _ACEOF | 
|  | 20301 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20302 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20303 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20304 | int | 
|  | 20305 | main () | 
|  | 20306 | { | 
|  | 20307 | /* Are we little or big endian?  From Harbison&Steele.  */ | 
|  | 20308 | union | 
|  | 20309 | { | 
|  | 20310 | long l; | 
|  | 20311 | char c[sizeof (long)]; | 
|  | 20312 | } u; | 
|  | 20313 | u.l = 1; | 
|  | 20314 | exit (u.c[sizeof (long) - 1] == 1); | 
|  | 20315 | } | 
|  | 20316 | _ACEOF | 
|  | 20317 | rm -f conftest$ac_exeext | 
|  | 20318 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 20319 | (eval $ac_link) 2>&5 | 
|  | 20320 | ac_status=$? | 
|  | 20321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20322 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  | 20323 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20324 | (eval $ac_try) 2>&5 | 
|  | 20325 | ac_status=$? | 
|  | 20326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20327 | (exit $ac_status); }; }; then | 
|  | 20328 | ac_cv_c_bigendian=no | 
|  | 20329 | else | 
|  | 20330 | echo "$as_me: program exited with status $ac_status" >&5 | 
|  | 20331 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20332 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20333 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20334 | ( exit $ac_status ) | 
|  | 20335 | ac_cv_c_bigendian=yes | 
|  | 20336 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20337 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20338 | fi | 
|  | 20339 | fi | 
|  | 20340 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20341 | fi | 
|  | 20342 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 
|  | 20343 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 
|  | 20344 | case $ac_cv_c_bigendian in | 
|  | 20345 | yes) | 
|  | 20346 | cat >>confdefs.h <<\_ACEOF | 
|  | 20347 | #define ENDIAN_BIG 1 | 
|  | 20348 | _ACEOF | 
|  | 20349 | ;; | 
|  | 20350 | no) | 
|  | 20351 | cat >>confdefs.h <<\_ACEOF | 
|  | 20352 | #define ENDIAN_LITTLE 1 | 
|  | 20353 | _ACEOF | 
|  | 20354 | ;; | 
|  | 20355 | *) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20356 | { { echo "$as_me:$LINENO: error: unknown endianness | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20357 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20358 | echo "$as_me: error: unknown endianness | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20359 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | 
|  | 20360 | { (exit 1); exit 1; }; } ;; | 
|  | 20361 | esac | 
|  | 20362 |  | 
|  | 20363 |  | 
|  | 20364 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 
|  | 20365 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 
|  | 20366 | if test "${ac_cv_type_pid_t+set}" = set; then | 
|  | 20367 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20368 | else | 
|  | 20369 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20370 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20371 | /* confdefs.h.  */ | 
|  | 20372 | _ACEOF | 
|  | 20373 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20374 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20375 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20376 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20377 | int | 
|  | 20378 | main () | 
|  | 20379 | { | 
|  | 20380 | if ((pid_t *) 0) | 
|  | 20381 | return 0; | 
|  | 20382 | if (sizeof (pid_t)) | 
|  | 20383 | return 0; | 
|  | 20384 | ; | 
|  | 20385 | return 0; | 
|  | 20386 | } | 
|  | 20387 | _ACEOF | 
|  | 20388 | rm -f conftest.$ac_objext | 
|  | 20389 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20390 | (eval $ac_compile) 2>&5 | 
|  | 20391 | ac_status=$? | 
|  | 20392 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20393 | (exit $ac_status); } && | 
|  | 20394 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20395 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20396 | (eval $ac_try) 2>&5 | 
|  | 20397 | ac_status=$? | 
|  | 20398 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20399 | (exit $ac_status); }; }; then | 
|  | 20400 | ac_cv_type_pid_t=yes | 
|  | 20401 | else | 
|  | 20402 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20403 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20404 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20405 | ac_cv_type_pid_t=no | 
|  | 20406 | fi | 
|  | 20407 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20408 | fi | 
|  | 20409 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 
|  | 20410 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 
|  | 20411 | if test $ac_cv_type_pid_t = yes; then | 
|  | 20412 | : | 
|  | 20413 | else | 
|  | 20414 |  | 
|  | 20415 | cat >>confdefs.h <<_ACEOF | 
|  | 20416 | #define pid_t int | 
|  | 20417 | _ACEOF | 
|  | 20418 |  | 
|  | 20419 | fi | 
|  | 20420 |  | 
|  | 20421 | echo "$as_me:$LINENO: checking for size_t" >&5 | 
|  | 20422 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 
|  | 20423 | if test "${ac_cv_type_size_t+set}" = set; then | 
|  | 20424 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20425 | else | 
|  | 20426 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20427 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20428 | /* confdefs.h.  */ | 
|  | 20429 | _ACEOF | 
|  | 20430 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20431 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20432 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20433 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20434 | int | 
|  | 20435 | main () | 
|  | 20436 | { | 
|  | 20437 | if ((size_t *) 0) | 
|  | 20438 | return 0; | 
|  | 20439 | if (sizeof (size_t)) | 
|  | 20440 | return 0; | 
|  | 20441 | ; | 
|  | 20442 | return 0; | 
|  | 20443 | } | 
|  | 20444 | _ACEOF | 
|  | 20445 | rm -f conftest.$ac_objext | 
|  | 20446 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20447 | (eval $ac_compile) 2>&5 | 
|  | 20448 | ac_status=$? | 
|  | 20449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20450 | (exit $ac_status); } && | 
|  | 20451 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20452 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20453 | (eval $ac_try) 2>&5 | 
|  | 20454 | ac_status=$? | 
|  | 20455 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20456 | (exit $ac_status); }; }; then | 
|  | 20457 | ac_cv_type_size_t=yes | 
|  | 20458 | else | 
|  | 20459 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20460 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20461 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20462 | ac_cv_type_size_t=no | 
|  | 20463 | fi | 
|  | 20464 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20465 | fi | 
|  | 20466 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
|  | 20467 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 
|  | 20468 | if test $ac_cv_type_size_t = yes; then | 
|  | 20469 | : | 
|  | 20470 | else | 
|  | 20471 |  | 
|  | 20472 | cat >>confdefs.h <<_ACEOF | 
|  | 20473 | #define size_t unsigned | 
|  | 20474 | _ACEOF | 
|  | 20475 |  | 
|  | 20476 | fi | 
|  | 20477 |  | 
|  | 20478 | echo "$as_me:$LINENO: checking for int64_t" >&5 | 
|  | 20479 | echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 | 
|  | 20480 | if test "${ac_cv_type_int64_t+set}" = set; then | 
|  | 20481 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20482 | else | 
|  | 20483 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20484 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20485 | /* confdefs.h.  */ | 
|  | 20486 | _ACEOF | 
|  | 20487 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20488 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20489 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20490 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20491 | int | 
|  | 20492 | main () | 
|  | 20493 | { | 
|  | 20494 | if ((int64_t *) 0) | 
|  | 20495 | return 0; | 
|  | 20496 | if (sizeof (int64_t)) | 
|  | 20497 | return 0; | 
|  | 20498 | ; | 
|  | 20499 | return 0; | 
|  | 20500 | } | 
|  | 20501 | _ACEOF | 
|  | 20502 | rm -f conftest.$ac_objext | 
|  | 20503 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20504 | (eval $ac_compile) 2>&5 | 
|  | 20505 | ac_status=$? | 
|  | 20506 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20507 | (exit $ac_status); } && | 
|  | 20508 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20509 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20510 | (eval $ac_try) 2>&5 | 
|  | 20511 | ac_status=$? | 
|  | 20512 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20513 | (exit $ac_status); }; }; then | 
|  | 20514 | ac_cv_type_int64_t=yes | 
|  | 20515 | else | 
|  | 20516 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20517 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20518 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20519 | ac_cv_type_int64_t=no | 
|  | 20520 | fi | 
|  | 20521 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20522 | fi | 
|  | 20523 | echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 | 
|  | 20524 | echo "${ECHO_T}$ac_cv_type_int64_t" >&6 | 
|  | 20525 | if test $ac_cv_type_int64_t = yes; then | 
|  | 20526 |  | 
|  | 20527 | cat >>confdefs.h <<_ACEOF | 
|  | 20528 | #define HAVE_INT64_T 1 | 
|  | 20529 | _ACEOF | 
|  | 20530 |  | 
|  | 20531 |  | 
|  | 20532 | else | 
|  | 20533 | { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5 | 
|  | 20534 | echo "$as_me: error: Type int64_t required but not found" >&2;} | 
|  | 20535 | { (exit 1); exit 1; }; } | 
|  | 20536 | fi | 
|  | 20537 |  | 
|  | 20538 | echo "$as_me:$LINENO: checking for uint64_t" >&5 | 
|  | 20539 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 | 
|  | 20540 | if test "${ac_cv_type_uint64_t+set}" = set; then | 
|  | 20541 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20542 | else | 
|  | 20543 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20544 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20545 | /* confdefs.h.  */ | 
|  | 20546 | _ACEOF | 
|  | 20547 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20548 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20549 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20550 | $ac_includes_default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20551 | int | 
|  | 20552 | main () | 
|  | 20553 | { | 
|  | 20554 | if ((uint64_t *) 0) | 
|  | 20555 | return 0; | 
|  | 20556 | if (sizeof (uint64_t)) | 
|  | 20557 | return 0; | 
|  | 20558 | ; | 
|  | 20559 | return 0; | 
|  | 20560 | } | 
|  | 20561 | _ACEOF | 
|  | 20562 | rm -f conftest.$ac_objext | 
|  | 20563 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20564 | (eval $ac_compile) 2>&5 | 
|  | 20565 | ac_status=$? | 
|  | 20566 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20567 | (exit $ac_status); } && | 
|  | 20568 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20569 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20570 | (eval $ac_try) 2>&5 | 
|  | 20571 | ac_status=$? | 
|  | 20572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20573 | (exit $ac_status); }; }; then | 
|  | 20574 | ac_cv_type_uint64_t=yes | 
|  | 20575 | else | 
|  | 20576 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20577 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20578 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20579 | ac_cv_type_uint64_t=no | 
|  | 20580 | fi | 
|  | 20581 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20582 | fi | 
|  | 20583 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 | 
|  | 20584 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 | 
|  | 20585 | if test $ac_cv_type_uint64_t = yes; then | 
|  | 20586 |  | 
|  | 20587 | cat >>confdefs.h <<_ACEOF | 
|  | 20588 | #define HAVE_UINT64_T 1 | 
|  | 20589 | _ACEOF | 
|  | 20590 |  | 
|  | 20591 |  | 
|  | 20592 | else | 
|  | 20593 | { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5 | 
|  | 20594 | echo "$as_me: error: Type uint64_t required but not found" >&2;} | 
|  | 20595 | { (exit 1); exit 1; }; } | 
|  | 20596 | fi | 
|  | 20597 |  | 
|  | 20598 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
|  | 20599 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 
|  | 20600 | if test "${ac_cv_header_time+set}" = set; then | 
|  | 20601 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20602 | else | 
|  | 20603 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20604 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20605 | /* confdefs.h.  */ | 
|  | 20606 | _ACEOF | 
|  | 20607 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20608 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20609 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20610 | #include <sys/types.h> | 
|  | 20611 | #include <sys/time.h> | 
|  | 20612 | #include <time.h> | 
|  | 20613 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20614 | int | 
|  | 20615 | main () | 
|  | 20616 | { | 
|  | 20617 | if ((struct tm *) 0) | 
|  | 20618 | return 0; | 
|  | 20619 | ; | 
|  | 20620 | return 0; | 
|  | 20621 | } | 
|  | 20622 | _ACEOF | 
|  | 20623 | rm -f conftest.$ac_objext | 
|  | 20624 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20625 | (eval $ac_compile) 2>&5 | 
|  | 20626 | ac_status=$? | 
|  | 20627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20628 | (exit $ac_status); } && | 
|  | 20629 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20630 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20631 | (eval $ac_try) 2>&5 | 
|  | 20632 | ac_status=$? | 
|  | 20633 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20634 | (exit $ac_status); }; }; then | 
|  | 20635 | ac_cv_header_time=yes | 
|  | 20636 | else | 
|  | 20637 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20638 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20639 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20640 | ac_cv_header_time=no | 
|  | 20641 | fi | 
|  | 20642 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20643 | fi | 
|  | 20644 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
|  | 20645 | echo "${ECHO_T}$ac_cv_header_time" >&6 | 
|  | 20646 | if test $ac_cv_header_time = yes; then | 
|  | 20647 |  | 
|  | 20648 | cat >>confdefs.h <<\_ACEOF | 
|  | 20649 | #define TIME_WITH_SYS_TIME 1 | 
|  | 20650 | _ACEOF | 
|  | 20651 |  | 
|  | 20652 | fi | 
|  | 20653 |  | 
|  | 20654 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 
|  | 20655 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 
|  | 20656 | if test "${ac_cv_struct_tm+set}" = set; then | 
|  | 20657 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20658 | else | 
|  | 20659 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20660 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20661 | /* confdefs.h.  */ | 
|  | 20662 | _ACEOF | 
|  | 20663 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20664 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20665 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20666 | #include <sys/types.h> | 
|  | 20667 | #include <time.h> | 
|  | 20668 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20669 | int | 
|  | 20670 | main () | 
|  | 20671 | { | 
|  | 20672 | struct tm *tp; tp->tm_sec; | 
|  | 20673 | ; | 
|  | 20674 | return 0; | 
|  | 20675 | } | 
|  | 20676 | _ACEOF | 
|  | 20677 | rm -f conftest.$ac_objext | 
|  | 20678 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20679 | (eval $ac_compile) 2>&5 | 
|  | 20680 | ac_status=$? | 
|  | 20681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20682 | (exit $ac_status); } && | 
|  | 20683 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20684 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20685 | (eval $ac_try) 2>&5 | 
|  | 20686 | ac_status=$? | 
|  | 20687 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20688 | (exit $ac_status); }; }; then | 
|  | 20689 | ac_cv_struct_tm=time.h | 
|  | 20690 | else | 
|  | 20691 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20692 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20693 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20694 | ac_cv_struct_tm=sys/time.h | 
|  | 20695 | fi | 
|  | 20696 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20697 | fi | 
|  | 20698 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 
|  | 20699 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 
|  | 20700 | if test $ac_cv_struct_tm = sys/time.h; then | 
|  | 20701 |  | 
|  | 20702 | cat >>confdefs.h <<\_ACEOF | 
|  | 20703 | #define TM_IN_SYS_TIME 1 | 
|  | 20704 | _ACEOF | 
|  | 20705 |  | 
|  | 20706 | fi | 
|  | 20707 |  | 
|  | 20708 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20709 | echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
|  | 20710 | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 | 
|  | 20711 | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
|  | 20712 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20713 | else | 
|  | 20714 |  | 
|  | 20715 |  | 
|  | 20716 | ac_ext=cc | 
|  | 20717 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 20718 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 20719 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 20720 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 20721 |  | 
|  | 20722 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20723 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20724 | /* confdefs.h.  */ | 
|  | 20725 | _ACEOF | 
|  | 20726 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20727 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20728 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20729 | namespace Outer { namespace Inner { int i = 0; }} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20730 | int | 
|  | 20731 | main () | 
|  | 20732 | { | 
|  | 20733 | using namespace Outer::Inner; return i; | 
|  | 20734 | ; | 
|  | 20735 | return 0; | 
|  | 20736 | } | 
|  | 20737 | _ACEOF | 
|  | 20738 | rm -f conftest.$ac_objext | 
|  | 20739 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20740 | (eval $ac_compile) 2>&5 | 
|  | 20741 | ac_status=$? | 
|  | 20742 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20743 | (exit $ac_status); } && | 
|  | 20744 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20745 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20746 | (eval $ac_try) 2>&5 | 
|  | 20747 | ac_status=$? | 
|  | 20748 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20749 | (exit $ac_status); }; }; then | 
|  | 20750 | ac_cv_cxx_namespaces=yes | 
|  | 20751 | else | 
|  | 20752 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20753 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20754 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20755 | ac_cv_cxx_namespaces=no | 
|  | 20756 | fi | 
|  | 20757 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20758 | ac_ext=c | 
|  | 20759 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 20760 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 20761 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 20762 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 20763 |  | 
|  | 20764 |  | 
|  | 20765 | fi | 
|  | 20766 | echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
|  | 20767 | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 | 
|  | 20768 | if test "$ac_cv_cxx_namespaces" = yes; then | 
|  | 20769 |  | 
|  | 20770 | cat >>confdefs.h <<\_ACEOF | 
|  | 20771 | #define HAVE_NAMESPACES | 
|  | 20772 | _ACEOF | 
|  | 20773 |  | 
|  | 20774 | fi | 
|  | 20775 |  | 
|  | 20776 | echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5 | 
|  | 20777 | echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6 | 
|  | 20778 | if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then | 
|  | 20779 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20780 | else | 
|  | 20781 |  | 
|  | 20782 |  | 
|  | 20783 |  | 
|  | 20784 | ac_ext=cc | 
|  | 20785 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 20786 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 20787 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 20788 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 20789 |  | 
|  | 20790 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20791 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20792 | /* confdefs.h.  */ | 
|  | 20793 | _ACEOF | 
|  | 20794 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20795 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20796 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20797 | #include <ext/hash_map> | 
|  | 20798 | #ifdef HAVE_NAMESPACES | 
|  | 20799 | using namespace std; | 
|  | 20800 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20801 | int | 
|  | 20802 | main () | 
|  | 20803 | { | 
|  | 20804 | hash_map<int, int> t; return 0; | 
|  | 20805 | ; | 
|  | 20806 | return 0; | 
|  | 20807 | } | 
|  | 20808 | _ACEOF | 
|  | 20809 | rm -f conftest.$ac_objext | 
|  | 20810 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20811 | (eval $ac_compile) 2>&5 | 
|  | 20812 | ac_status=$? | 
|  | 20813 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20814 | (exit $ac_status); } && | 
|  | 20815 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20816 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20817 | (eval $ac_try) 2>&5 | 
|  | 20818 | ac_status=$? | 
|  | 20819 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20820 | (exit $ac_status); }; }; then | 
|  | 20821 | ac_cv_cxx_have_ext_hash_map=std | 
|  | 20822 | else | 
|  | 20823 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20824 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20825 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20826 | ac_cv_cxx_have_ext_hash_map=no | 
|  | 20827 | fi | 
|  | 20828 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20829 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20830 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20831 | /* confdefs.h.  */ | 
|  | 20832 | _ACEOF | 
|  | 20833 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20834 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20835 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20836 | #include <ext/hash_map> | 
|  | 20837 | #ifdef HAVE_NAMESPACES | 
|  | 20838 | using namespace __gnu_cxx; | 
|  | 20839 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20840 | int | 
|  | 20841 | main () | 
|  | 20842 | { | 
|  | 20843 | hash_map<int, int> t; return 0; | 
|  | 20844 | ; | 
|  | 20845 | return 0; | 
|  | 20846 | } | 
|  | 20847 | _ACEOF | 
|  | 20848 | rm -f conftest.$ac_objext | 
|  | 20849 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20850 | (eval $ac_compile) 2>&5 | 
|  | 20851 | ac_status=$? | 
|  | 20852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20853 | (exit $ac_status); } && | 
|  | 20854 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20855 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20856 | (eval $ac_try) 2>&5 | 
|  | 20857 | ac_status=$? | 
|  | 20858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20859 | (exit $ac_status); }; }; then | 
|  | 20860 | ac_cv_cxx_have_ext_hash_map=gnu | 
|  | 20861 | else | 
|  | 20862 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20863 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20864 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20865 | ac_cv_cxx_have_ext_hash_map=no | 
|  | 20866 | fi | 
|  | 20867 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20868 | ac_ext=c | 
|  | 20869 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 20870 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 20871 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 20872 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 20873 |  | 
|  | 20874 |  | 
|  | 20875 | fi | 
|  | 20876 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5 | 
|  | 20877 | echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6 | 
|  | 20878 | if test "$ac_cv_cxx_have_ext_hash_map" = std; then | 
|  | 20879 |  | 
|  | 20880 | cat >>confdefs.h <<\_ACEOF | 
|  | 20881 | #define HAVE_STD_EXT_HASH_MAP | 
|  | 20882 | _ACEOF | 
|  | 20883 |  | 
|  | 20884 | fi | 
|  | 20885 | if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then | 
|  | 20886 |  | 
|  | 20887 | cat >>confdefs.h <<\_ACEOF | 
|  | 20888 | #define HAVE_GNU_EXT_HASH_MAP | 
|  | 20889 | _ACEOF | 
|  | 20890 |  | 
|  | 20891 | fi | 
|  | 20892 |  | 
|  | 20893 | echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5 | 
|  | 20894 | echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6 | 
|  | 20895 | if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then | 
|  | 20896 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 20897 | else | 
|  | 20898 |  | 
|  | 20899 |  | 
|  | 20900 |  | 
|  | 20901 | ac_ext=cc | 
|  | 20902 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 20903 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 20904 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 20905 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 20906 |  | 
|  | 20907 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20908 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20909 | /* confdefs.h.  */ | 
|  | 20910 | _ACEOF | 
|  | 20911 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20912 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20913 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20914 | #include <ext/hash_set> | 
|  | 20915 | #ifdef HAVE_NAMESPACES | 
|  | 20916 | using namespace std; | 
|  | 20917 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20918 | int | 
|  | 20919 | main () | 
|  | 20920 | { | 
|  | 20921 | hash_set<int> t; return 0; | 
|  | 20922 | ; | 
|  | 20923 | return 0; | 
|  | 20924 | } | 
|  | 20925 | _ACEOF | 
|  | 20926 | rm -f conftest.$ac_objext | 
|  | 20927 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20928 | (eval $ac_compile) 2>&5 | 
|  | 20929 | ac_status=$? | 
|  | 20930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20931 | (exit $ac_status); } && | 
|  | 20932 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20933 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20934 | (eval $ac_try) 2>&5 | 
|  | 20935 | ac_status=$? | 
|  | 20936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20937 | (exit $ac_status); }; }; then | 
|  | 20938 | ac_cv_cxx_have_ext_hash_set=std | 
|  | 20939 | else | 
|  | 20940 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20941 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20942 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20943 | ac_cv_cxx_have_ext_hash_set=no | 
|  | 20944 | fi | 
|  | 20945 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20946 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 20947 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20948 | /* confdefs.h.  */ | 
|  | 20949 | _ACEOF | 
|  | 20950 | cat confdefs.h >>conftest.$ac_ext | 
|  | 20951 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 20952 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20953 | #include <ext/hash_set> | 
|  | 20954 | #ifdef HAVE_NAMESPACES | 
|  | 20955 | using namespace __gnu_cxx; | 
|  | 20956 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20957 | int | 
|  | 20958 | main () | 
|  | 20959 | { | 
|  | 20960 | hash_set<int> t; return 0; | 
|  | 20961 | ; | 
|  | 20962 | return 0; | 
|  | 20963 | } | 
|  | 20964 | _ACEOF | 
|  | 20965 | rm -f conftest.$ac_objext | 
|  | 20966 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 20967 | (eval $ac_compile) 2>&5 | 
|  | 20968 | ac_status=$? | 
|  | 20969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20970 | (exit $ac_status); } && | 
|  | 20971 | { ac_try='test -s conftest.$ac_objext' | 
|  | 20972 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 20973 | (eval $ac_try) 2>&5 | 
|  | 20974 | ac_status=$? | 
|  | 20975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 20976 | (exit $ac_status); }; }; then | 
|  | 20977 | ac_cv_cxx_have_ext_hash_set=gnu | 
|  | 20978 | else | 
|  | 20979 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 20980 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 20981 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 20982 | ac_cv_cxx_have_ext_hash_set=no | 
|  | 20983 | fi | 
|  | 20984 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 20985 | ac_ext=c | 
|  | 20986 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 20987 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 20988 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 20989 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 20990 |  | 
|  | 20991 |  | 
|  | 20992 | fi | 
|  | 20993 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5 | 
|  | 20994 | echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6 | 
|  | 20995 | if test "$ac_cv_cxx_have_ext_hash_set" = std; then | 
|  | 20996 |  | 
|  | 20997 | cat >>confdefs.h <<\_ACEOF | 
|  | 20998 | #define HAVE_STD_EXT_HASH_SET | 
|  | 20999 | _ACEOF | 
|  | 21000 |  | 
|  | 21001 | fi | 
|  | 21002 | if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then | 
|  | 21003 |  | 
|  | 21004 | cat >>confdefs.h <<\_ACEOF | 
|  | 21005 | #define HAVE_GNU_EXT_HASH_SET | 
|  | 21006 | _ACEOF | 
|  | 21007 |  | 
|  | 21008 | fi | 
|  | 21009 |  | 
|  | 21010 | echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5 | 
|  | 21011 | echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6 | 
|  | 21012 | if test "${ac_cv_cxx_have_ext_slist+set}" = set; then | 
|  | 21013 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21014 | else | 
|  | 21015 |  | 
|  | 21016 |  | 
|  | 21017 |  | 
|  | 21018 | ac_ext=cc | 
|  | 21019 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 21020 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21021 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21022 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 21023 |  | 
|  | 21024 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21025 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21026 | /* confdefs.h.  */ | 
|  | 21027 | _ACEOF | 
|  | 21028 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21029 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21030 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21031 | #include <ext/slist> | 
|  | 21032 | #ifdef HAVE_NAMESPACES | 
|  | 21033 | using namespace std; | 
|  | 21034 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21035 | int | 
|  | 21036 | main () | 
|  | 21037 | { | 
|  | 21038 | slist<int> s; return 0; | 
|  | 21039 | ; | 
|  | 21040 | return 0; | 
|  | 21041 | } | 
|  | 21042 | _ACEOF | 
|  | 21043 | rm -f conftest.$ac_objext | 
|  | 21044 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 21045 | (eval $ac_compile) 2>&5 | 
|  | 21046 | ac_status=$? | 
|  | 21047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21048 | (exit $ac_status); } && | 
|  | 21049 | { ac_try='test -s conftest.$ac_objext' | 
|  | 21050 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21051 | (eval $ac_try) 2>&5 | 
|  | 21052 | ac_status=$? | 
|  | 21053 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21054 | (exit $ac_status); }; }; then | 
|  | 21055 | ac_cv_cxx_have_ext_slist=std | 
|  | 21056 | else | 
|  | 21057 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21058 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21059 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21060 | ac_cv_cxx_have_ext_slist=no | 
|  | 21061 | fi | 
|  | 21062 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 21063 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21064 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21065 | /* confdefs.h.  */ | 
|  | 21066 | _ACEOF | 
|  | 21067 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21068 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21069 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21070 | #include <ext/slist> | 
|  | 21071 | #ifdef HAVE_NAMESPACES | 
|  | 21072 | using namespace __gnu_cxx; | 
|  | 21073 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21074 | int | 
|  | 21075 | main () | 
|  | 21076 | { | 
|  | 21077 | slist<int> s; return 0; | 
|  | 21078 | ; | 
|  | 21079 | return 0; | 
|  | 21080 | } | 
|  | 21081 | _ACEOF | 
|  | 21082 | rm -f conftest.$ac_objext | 
|  | 21083 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 21084 | (eval $ac_compile) 2>&5 | 
|  | 21085 | ac_status=$? | 
|  | 21086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21087 | (exit $ac_status); } && | 
|  | 21088 | { ac_try='test -s conftest.$ac_objext' | 
|  | 21089 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21090 | (eval $ac_try) 2>&5 | 
|  | 21091 | ac_status=$? | 
|  | 21092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21093 | (exit $ac_status); }; }; then | 
|  | 21094 | ac_cv_cxx_have_ext_slist=gnu | 
|  | 21095 | else | 
|  | 21096 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21097 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21098 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21099 | ac_cv_cxx_have_ext_slist=no | 
|  | 21100 | fi | 
|  | 21101 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 21102 |  | 
|  | 21103 | ac_ext=c | 
|  | 21104 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 21105 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21106 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21107 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 21108 |  | 
|  | 21109 |  | 
|  | 21110 | fi | 
|  | 21111 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5 | 
|  | 21112 | echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6 | 
|  | 21113 | if test "$ac_cv_cxx_have_ext_slist" = std; then | 
|  | 21114 |  | 
|  | 21115 | cat >>confdefs.h <<\_ACEOF | 
|  | 21116 | #define HAVE_EXT_SLIST std | 
|  | 21117 | _ACEOF | 
|  | 21118 |  | 
|  | 21119 | fi | 
|  | 21120 | if test "$ac_cv_cxx_have_ext_slist" = gnu; then | 
|  | 21121 |  | 
|  | 21122 | cat >>confdefs.h <<\_ACEOF | 
|  | 21123 | #define HAVE_EXT_SLIST gnu | 
|  | 21124 | _ACEOF | 
|  | 21125 |  | 
|  | 21126 | fi | 
|  | 21127 |  | 
|  | 21128 | echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5 | 
|  | 21129 | echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6 | 
|  | 21130 | if test "${ac_cv_cxx_have_std_iterator+set}" = set; then | 
|  | 21131 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21132 | else | 
|  | 21133 |  | 
|  | 21134 |  | 
|  | 21135 |  | 
|  | 21136 | ac_ext=cc | 
|  | 21137 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 21138 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21139 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21140 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 21141 |  | 
|  | 21142 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21143 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21144 | /* confdefs.h.  */ | 
|  | 21145 | _ACEOF | 
|  | 21146 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21147 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21148 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21149 | #include <iterator> | 
|  | 21150 | #ifdef HAVE_NAMESPACES | 
|  | 21151 | using namespace std; | 
|  | 21152 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21153 | int | 
|  | 21154 | main () | 
|  | 21155 | { | 
|  | 21156 | iterator<int,int,int> t; return 0; | 
|  | 21157 | ; | 
|  | 21158 | return 0; | 
|  | 21159 | } | 
|  | 21160 | _ACEOF | 
|  | 21161 | rm -f conftest.$ac_objext | 
|  | 21162 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 21163 | (eval $ac_compile) 2>&5 | 
|  | 21164 | ac_status=$? | 
|  | 21165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21166 | (exit $ac_status); } && | 
|  | 21167 | { ac_try='test -s conftest.$ac_objext' | 
|  | 21168 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21169 | (eval $ac_try) 2>&5 | 
|  | 21170 | ac_status=$? | 
|  | 21171 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21172 | (exit $ac_status); }; }; then | 
|  | 21173 | ac_cv_cxx_have_std_iterator=yes | 
|  | 21174 | else | 
|  | 21175 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21176 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21177 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21178 | ac_cv_cxx_have_std_iterator=no | 
|  | 21179 | fi | 
|  | 21180 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 21181 | ac_ext=c | 
|  | 21182 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 21183 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21184 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21185 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 21186 |  | 
|  | 21187 |  | 
|  | 21188 | fi | 
|  | 21189 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5 | 
|  | 21190 | echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6 | 
|  | 21191 | if test "$ac_cv_cxx_have_std_iterator" = yes; then | 
|  | 21192 |  | 
|  | 21193 | cat >>confdefs.h <<\_ACEOF | 
|  | 21194 | #define HAVE_STD_ITERATOR | 
|  | 21195 | _ACEOF | 
|  | 21196 |  | 
|  | 21197 | fi | 
|  | 21198 |  | 
|  | 21199 | echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5 | 
|  | 21200 | echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6 | 
|  | 21201 | if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then | 
|  | 21202 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21203 | else | 
|  | 21204 |  | 
|  | 21205 |  | 
|  | 21206 |  | 
|  | 21207 | ac_ext=cc | 
|  | 21208 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 21209 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21210 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21211 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 21212 |  | 
|  | 21213 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21214 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21215 | /* confdefs.h.  */ | 
|  | 21216 | _ACEOF | 
|  | 21217 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21218 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21219 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21220 | #include <iterator> | 
|  | 21221 | #ifdef HAVE_NAMESPACES | 
|  | 21222 | using namespace std; | 
|  | 21223 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21224 | int | 
|  | 21225 | main () | 
|  | 21226 | { | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 21227 | bidirectional_iterator<int,int> t; return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21228 | ; | 
|  | 21229 | return 0; | 
|  | 21230 | } | 
|  | 21231 | _ACEOF | 
|  | 21232 | rm -f conftest.$ac_objext | 
|  | 21233 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 21234 | (eval $ac_compile) 2>&5 | 
|  | 21235 | ac_status=$? | 
|  | 21236 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21237 | (exit $ac_status); } && | 
|  | 21238 | { ac_try='test -s conftest.$ac_objext' | 
|  | 21239 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21240 | (eval $ac_try) 2>&5 | 
|  | 21241 | ac_status=$? | 
|  | 21242 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21243 | (exit $ac_status); }; }; then | 
|  | 21244 | ac_cv_cxx_have_bi_iterator=yes | 
|  | 21245 | else | 
|  | 21246 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21247 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21248 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21249 | ac_cv_cxx_have_bi_iterator=no | 
|  | 21250 | fi | 
|  | 21251 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 21252 | ac_ext=c | 
|  | 21253 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 21254 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21255 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21256 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 21257 |  | 
|  | 21258 |  | 
|  | 21259 | fi | 
|  | 21260 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5 | 
|  | 21261 | echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6 | 
|  | 21262 | if test "$ac_cv_cxx_have_bi_iterator" = yes; then | 
|  | 21263 |  | 
|  | 21264 | cat >>confdefs.h <<\_ACEOF | 
|  | 21265 | #define HAVE_BI_ITERATOR | 
|  | 21266 | _ACEOF | 
|  | 21267 |  | 
|  | 21268 | fi | 
|  | 21269 |  | 
|  | 21270 | echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5 | 
|  | 21271 | echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6 | 
|  | 21272 | if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then | 
|  | 21273 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21274 | else | 
|  | 21275 |  | 
|  | 21276 |  | 
|  | 21277 |  | 
|  | 21278 | ac_ext=cc | 
|  | 21279 | ac_cpp='$CXXCPP $CPPFLAGS' | 
|  | 21280 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21281 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21282 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
|  | 21283 |  | 
|  | 21284 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21285 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21286 | /* confdefs.h.  */ | 
|  | 21287 | _ACEOF | 
|  | 21288 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21289 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21290 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21291 | #include <iterator> | 
|  | 21292 | #ifdef HAVE_NAMESPACES | 
|  | 21293 | using namespace std; | 
|  | 21294 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21295 | int | 
|  | 21296 | main () | 
|  | 21297 | { | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 21298 | forward_iterator<int,int> t; return 0; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21299 | ; | 
|  | 21300 | return 0; | 
|  | 21301 | } | 
|  | 21302 | _ACEOF | 
|  | 21303 | rm -f conftest.$ac_objext | 
|  | 21304 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 21305 | (eval $ac_compile) 2>&5 | 
|  | 21306 | ac_status=$? | 
|  | 21307 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21308 | (exit $ac_status); } && | 
|  | 21309 | { ac_try='test -s conftest.$ac_objext' | 
|  | 21310 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21311 | (eval $ac_try) 2>&5 | 
|  | 21312 | ac_status=$? | 
|  | 21313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21314 | (exit $ac_status); }; }; then | 
|  | 21315 | ac_cv_cxx_have_fwd_iterator=yes | 
|  | 21316 | else | 
|  | 21317 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21318 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21319 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21320 | ac_cv_cxx_have_fwd_iterator=no | 
|  | 21321 | fi | 
|  | 21322 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 21323 | ac_ext=c | 
|  | 21324 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 21325 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 21326 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 21327 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 21328 |  | 
|  | 21329 |  | 
|  | 21330 | fi | 
|  | 21331 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5 | 
|  | 21332 | echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6 | 
|  | 21333 | if test "$ac_cv_cxx_have_fwd_iterator" = yes; then | 
|  | 21334 |  | 
|  | 21335 | cat >>confdefs.h <<\_ACEOF | 
|  | 21336 | #define HAVE_FWD_ITERATOR | 
|  | 21337 | _ACEOF | 
|  | 21338 |  | 
|  | 21339 | fi | 
|  | 21340 |  | 
|  | 21341 |  | 
|  | 21342 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 
|  | 21343 | # for constant arguments.  Useless! | 
|  | 21344 | echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 
|  | 21345 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 
|  | 21346 | if test "${ac_cv_working_alloca_h+set}" = set; then | 
|  | 21347 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21348 | else | 
|  | 21349 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21350 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21351 | /* confdefs.h.  */ | 
|  | 21352 | _ACEOF | 
|  | 21353 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21354 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21355 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21356 | #include <alloca.h> | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21357 | int | 
|  | 21358 | main () | 
|  | 21359 | { | 
|  | 21360 | char *p = (char *) alloca (2 * sizeof (int)); | 
|  | 21361 | ; | 
|  | 21362 | return 0; | 
|  | 21363 | } | 
|  | 21364 | _ACEOF | 
|  | 21365 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 21366 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 21367 | (eval $ac_link) 2>&5 | 
|  | 21368 | ac_status=$? | 
|  | 21369 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21370 | (exit $ac_status); } && | 
|  | 21371 | { ac_try='test -s conftest$ac_exeext' | 
|  | 21372 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21373 | (eval $ac_try) 2>&5 | 
|  | 21374 | ac_status=$? | 
|  | 21375 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21376 | (exit $ac_status); }; }; then | 
|  | 21377 | ac_cv_working_alloca_h=yes | 
|  | 21378 | else | 
|  | 21379 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21380 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21381 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21382 | ac_cv_working_alloca_h=no | 
|  | 21383 | fi | 
|  | 21384 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 21385 | fi | 
|  | 21386 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 
|  | 21387 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 
|  | 21388 | if test $ac_cv_working_alloca_h = yes; then | 
|  | 21389 |  | 
|  | 21390 | cat >>confdefs.h <<\_ACEOF | 
|  | 21391 | #define HAVE_ALLOCA_H 1 | 
|  | 21392 | _ACEOF | 
|  | 21393 |  | 
|  | 21394 | fi | 
|  | 21395 |  | 
|  | 21396 | echo "$as_me:$LINENO: checking for alloca" >&5 | 
|  | 21397 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 
|  | 21398 | if test "${ac_cv_func_alloca_works+set}" = set; then | 
|  | 21399 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21400 | else | 
|  | 21401 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21402 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21403 | /* confdefs.h.  */ | 
|  | 21404 | _ACEOF | 
|  | 21405 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21406 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21407 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21408 | #ifdef __GNUC__ | 
|  | 21409 | # define alloca __builtin_alloca | 
|  | 21410 | #else | 
|  | 21411 | # ifdef _MSC_VER | 
|  | 21412 | #  include <malloc.h> | 
|  | 21413 | #  define alloca _alloca | 
|  | 21414 | # else | 
|  | 21415 | #  if HAVE_ALLOCA_H | 
|  | 21416 | #   include <alloca.h> | 
|  | 21417 | #  else | 
|  | 21418 | #   ifdef _AIX | 
|  | 21419 | #pragma alloca | 
|  | 21420 | #   else | 
|  | 21421 | #    ifndef alloca /* predefined by HP cc +Olibcalls */ | 
|  | 21422 | char *alloca (); | 
|  | 21423 | #    endif | 
|  | 21424 | #   endif | 
|  | 21425 | #  endif | 
|  | 21426 | # endif | 
|  | 21427 | #endif | 
|  | 21428 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21429 | int | 
|  | 21430 | main () | 
|  | 21431 | { | 
|  | 21432 | char *p = (char *) alloca (1); | 
|  | 21433 | ; | 
|  | 21434 | return 0; | 
|  | 21435 | } | 
|  | 21436 | _ACEOF | 
|  | 21437 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 21438 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 21439 | (eval $ac_link) 2>&5 | 
|  | 21440 | ac_status=$? | 
|  | 21441 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21442 | (exit $ac_status); } && | 
|  | 21443 | { ac_try='test -s conftest$ac_exeext' | 
|  | 21444 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21445 | (eval $ac_try) 2>&5 | 
|  | 21446 | ac_status=$? | 
|  | 21447 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21448 | (exit $ac_status); }; }; then | 
|  | 21449 | ac_cv_func_alloca_works=yes | 
|  | 21450 | else | 
|  | 21451 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21452 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21453 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21454 | ac_cv_func_alloca_works=no | 
|  | 21455 | fi | 
|  | 21456 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 21457 | fi | 
|  | 21458 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 
|  | 21459 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 
|  | 21460 |  | 
|  | 21461 | if test $ac_cv_func_alloca_works = yes; then | 
|  | 21462 |  | 
|  | 21463 | cat >>confdefs.h <<\_ACEOF | 
|  | 21464 | #define HAVE_ALLOCA 1 | 
|  | 21465 | _ACEOF | 
|  | 21466 |  | 
|  | 21467 | else | 
|  | 21468 | # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 
|  | 21469 | # that cause trouble.  Some versions do not even contain alloca or | 
|  | 21470 | # contain a buggy version.  If you still want to use their alloca, | 
|  | 21471 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 
|  | 21472 |  | 
|  | 21473 | ALLOCA=alloca.$ac_objext | 
|  | 21474 |  | 
|  | 21475 | cat >>confdefs.h <<\_ACEOF | 
|  | 21476 | #define C_ALLOCA 1 | 
|  | 21477 | _ACEOF | 
|  | 21478 |  | 
|  | 21479 |  | 
|  | 21480 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 
|  | 21481 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 
|  | 21482 | if test "${ac_cv_os_cray+set}" = set; then | 
|  | 21483 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21484 | else | 
|  | 21485 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21486 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21487 | /* confdefs.h.  */ | 
|  | 21488 | _ACEOF | 
|  | 21489 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21490 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21491 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21492 | #if defined(CRAY) && ! defined(CRAY2) | 
|  | 21493 | webecray | 
|  | 21494 | #else | 
|  | 21495 | wenotbecray | 
|  | 21496 | #endif | 
|  | 21497 |  | 
|  | 21498 | _ACEOF | 
|  | 21499 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21500 | $EGREP "webecray" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21501 | ac_cv_os_cray=yes | 
|  | 21502 | else | 
|  | 21503 | ac_cv_os_cray=no | 
|  | 21504 | fi | 
|  | 21505 | rm -f conftest* | 
|  | 21506 |  | 
|  | 21507 | fi | 
|  | 21508 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 
|  | 21509 | echo "${ECHO_T}$ac_cv_os_cray" >&6 | 
|  | 21510 | if test $ac_cv_os_cray = yes; then | 
|  | 21511 | for ac_func in _getb67 GETB67 getb67; do | 
|  | 21512 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|  | 21513 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|  | 21514 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|  | 21515 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|  | 21516 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21517 | else | 
|  | 21518 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21519 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21520 | /* confdefs.h.  */ | 
|  | 21521 | _ACEOF | 
|  | 21522 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21523 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21524 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21525 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21526 | which can conflict with char $ac_func (); below. | 
|  | 21527 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 21528 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 21529 | #ifdef __STDC__ | 
|  | 21530 | # include <limits.h> | 
|  | 21531 | #else | 
|  | 21532 | # include <assert.h> | 
|  | 21533 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21534 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 21535 | #ifdef __cplusplus | 
|  | 21536 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21537 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21538 | #endif | 
|  | 21539 | /* We use char because int might match the return type of a gcc2 | 
|  | 21540 | builtin and then its argument prototype would still apply.  */ | 
|  | 21541 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21542 | /* The GNU C library defines this for functions which it implements | 
|  | 21543 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 21544 | something starting with __ and the normal name is an alias.  */ | 
|  | 21545 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|  | 21546 | choke me | 
|  | 21547 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21548 | char (*f) () = $ac_func; | 
|  | 21549 | #endif | 
|  | 21550 | #ifdef __cplusplus | 
|  | 21551 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21552 | #endif | 
|  | 21553 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21554 | int | 
|  | 21555 | main () | 
|  | 21556 | { | 
|  | 21557 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21558 | ; | 
|  | 21559 | return 0; | 
|  | 21560 | } | 
|  | 21561 | _ACEOF | 
|  | 21562 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 21563 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 21564 | (eval $ac_link) 2>&5 | 
|  | 21565 | ac_status=$? | 
|  | 21566 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21567 | (exit $ac_status); } && | 
|  | 21568 | { ac_try='test -s conftest$ac_exeext' | 
|  | 21569 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21570 | (eval $ac_try) 2>&5 | 
|  | 21571 | ac_status=$? | 
|  | 21572 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21573 | (exit $ac_status); }; }; then | 
|  | 21574 | eval "$as_ac_var=yes" | 
|  | 21575 | else | 
|  | 21576 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21577 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21578 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21579 | eval "$as_ac_var=no" | 
|  | 21580 | fi | 
|  | 21581 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 21582 | fi | 
|  | 21583 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|  | 21584 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|  | 21585 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|  | 21586 |  | 
|  | 21587 | cat >>confdefs.h <<_ACEOF | 
|  | 21588 | #define CRAY_STACKSEG_END $ac_func | 
|  | 21589 | _ACEOF | 
|  | 21590 |  | 
|  | 21591 | break | 
|  | 21592 | fi | 
|  | 21593 |  | 
|  | 21594 | done | 
|  | 21595 | fi | 
|  | 21596 |  | 
|  | 21597 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 
|  | 21598 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 
|  | 21599 | if test "${ac_cv_c_stack_direction+set}" = set; then | 
|  | 21600 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21601 | else | 
|  | 21602 | if test "$cross_compiling" = yes; then | 
|  | 21603 | ac_cv_c_stack_direction=0 | 
|  | 21604 | else | 
|  | 21605 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21606 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21607 | /* confdefs.h.  */ | 
|  | 21608 | _ACEOF | 
|  | 21609 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21610 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21611 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21612 | int | 
|  | 21613 | find_stack_direction () | 
|  | 21614 | { | 
|  | 21615 | static char *addr = 0; | 
|  | 21616 | auto char dummy; | 
|  | 21617 | if (addr == 0) | 
|  | 21618 | { | 
|  | 21619 | addr = &dummy; | 
|  | 21620 | return find_stack_direction (); | 
|  | 21621 | } | 
|  | 21622 | else | 
|  | 21623 | return (&dummy > addr) ? 1 : -1; | 
|  | 21624 | } | 
|  | 21625 |  | 
|  | 21626 | int | 
|  | 21627 | main () | 
|  | 21628 | { | 
|  | 21629 | exit (find_stack_direction () < 0); | 
|  | 21630 | } | 
|  | 21631 | _ACEOF | 
|  | 21632 | rm -f conftest$ac_exeext | 
|  | 21633 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 21634 | (eval $ac_link) 2>&5 | 
|  | 21635 | ac_status=$? | 
|  | 21636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21637 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  | 21638 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21639 | (eval $ac_try) 2>&5 | 
|  | 21640 | ac_status=$? | 
|  | 21641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21642 | (exit $ac_status); }; }; then | 
|  | 21643 | ac_cv_c_stack_direction=1 | 
|  | 21644 | else | 
|  | 21645 | echo "$as_me: program exited with status $ac_status" >&5 | 
|  | 21646 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21647 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21648 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21649 | ( exit $ac_status ) | 
|  | 21650 | ac_cv_c_stack_direction=-1 | 
|  | 21651 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21652 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21653 | fi | 
|  | 21654 | fi | 
|  | 21655 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 
|  | 21656 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 
|  | 21657 |  | 
|  | 21658 | cat >>confdefs.h <<_ACEOF | 
|  | 21659 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 
|  | 21660 | _ACEOF | 
|  | 21661 |  | 
|  | 21662 |  | 
|  | 21663 | fi | 
|  | 21664 |  | 
|  | 21665 | if test $ac_cv_c_compiler_gnu = yes; then | 
|  | 21666 | echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | 
|  | 21667 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 | 
|  | 21668 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then | 
|  | 21669 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21670 | else | 
|  | 21671 | ac_pattern="Autoconf.*'x'" | 
|  | 21672 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21673 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21674 | /* confdefs.h.  */ | 
|  | 21675 | _ACEOF | 
|  | 21676 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21677 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21678 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21679 | #include <sgtty.h> | 
|  | 21680 | Autoconf TIOCGETP | 
|  | 21681 | _ACEOF | 
|  | 21682 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21683 | $EGREP "$ac_pattern" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21684 | ac_cv_prog_gcc_traditional=yes | 
|  | 21685 | else | 
|  | 21686 | ac_cv_prog_gcc_traditional=no | 
|  | 21687 | fi | 
|  | 21688 | rm -f conftest* | 
|  | 21689 |  | 
|  | 21690 |  | 
|  | 21691 | if test $ac_cv_prog_gcc_traditional = no; then | 
|  | 21692 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21693 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21694 | /* confdefs.h.  */ | 
|  | 21695 | _ACEOF | 
|  | 21696 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21697 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21698 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21699 | #include <termio.h> | 
|  | 21700 | Autoconf TCGETA | 
|  | 21701 | _ACEOF | 
|  | 21702 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21703 | $EGREP "$ac_pattern" >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21704 | ac_cv_prog_gcc_traditional=yes | 
|  | 21705 | fi | 
|  | 21706 | rm -f conftest* | 
|  | 21707 |  | 
|  | 21708 | fi | 
|  | 21709 | fi | 
|  | 21710 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 | 
|  | 21711 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 | 
|  | 21712 | if test $ac_cv_prog_gcc_traditional = yes; then | 
|  | 21713 | CC="$CC -traditional" | 
|  | 21714 | fi | 
|  | 21715 | fi | 
|  | 21716 |  | 
|  | 21717 | echo "$as_me:$LINENO: checking for working memcmp" >&5 | 
|  | 21718 | echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 | 
|  | 21719 | if test "${ac_cv_func_memcmp_working+set}" = set; then | 
|  | 21720 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21721 | else | 
|  | 21722 | if test "$cross_compiling" = yes; then | 
|  | 21723 | ac_cv_func_memcmp_working=no | 
|  | 21724 | else | 
|  | 21725 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21726 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21727 | /* confdefs.h.  */ | 
|  | 21728 | _ACEOF | 
|  | 21729 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21730 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21731 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21732 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21733 | int | 
|  | 21734 | main () | 
|  | 21735 | { | 
|  | 21736 |  | 
|  | 21737 | /* Some versions of memcmp are not 8-bit clean.  */ | 
|  | 21738 | char c0 = 0x40, c1 = 0x80, c2 = 0x81; | 
|  | 21739 | if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | 
|  | 21740 | exit (1); | 
|  | 21741 |  | 
|  | 21742 | /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | 
|  | 21743 | or more and with at least one buffer not starting on a 4-byte boundary. | 
|  | 21744 | William Lewis provided this test program.   */ | 
|  | 21745 | { | 
|  | 21746 | char foo[21]; | 
|  | 21747 | char bar[21]; | 
|  | 21748 | int i; | 
|  | 21749 | for (i = 0; i < 4; i++) | 
|  | 21750 | { | 
|  | 21751 | char *a = foo + i; | 
|  | 21752 | char *b = bar + i; | 
|  | 21753 | strcpy (a, "--------01111111"); | 
|  | 21754 | strcpy (b, "--------10000000"); | 
|  | 21755 | if (memcmp (a, b, 16) >= 0) | 
|  | 21756 | exit (1); | 
|  | 21757 | } | 
|  | 21758 | exit (0); | 
|  | 21759 | } | 
|  | 21760 |  | 
|  | 21761 | ; | 
|  | 21762 | return 0; | 
|  | 21763 | } | 
|  | 21764 | _ACEOF | 
|  | 21765 | rm -f conftest$ac_exeext | 
|  | 21766 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 21767 | (eval $ac_link) 2>&5 | 
|  | 21768 | ac_status=$? | 
|  | 21769 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21770 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  | 21771 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21772 | (eval $ac_try) 2>&5 | 
|  | 21773 | ac_status=$? | 
|  | 21774 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21775 | (exit $ac_status); }; }; then | 
|  | 21776 | ac_cv_func_memcmp_working=yes | 
|  | 21777 | else | 
|  | 21778 | echo "$as_me: program exited with status $ac_status" >&5 | 
|  | 21779 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21780 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21781 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21782 | ( exit $ac_status ) | 
|  | 21783 | ac_cv_func_memcmp_working=no | 
|  | 21784 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21785 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21786 | fi | 
|  | 21787 | fi | 
|  | 21788 | echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | 
|  | 21789 | echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 | 
|  | 21790 | test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" | 
|  | 21791 |  | 
|  | 21792 |  | 
|  | 21793 |  | 
|  | 21794 | for ac_header in stdlib.h unistd.h | 
|  | 21795 | do | 
|  | 21796 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
|  | 21797 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 21798 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 21799 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 21800 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 21801 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21802 | fi | 
|  | 21803 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 21804 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 21805 | else | 
|  | 21806 | # Is the header compilable? | 
|  | 21807 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
|  | 21808 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
|  | 21809 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21810 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21811 | /* confdefs.h.  */ | 
|  | 21812 | _ACEOF | 
|  | 21813 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21814 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21815 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21816 | $ac_includes_default | 
|  | 21817 | #include <$ac_header> | 
|  | 21818 | _ACEOF | 
|  | 21819 | rm -f conftest.$ac_objext | 
|  | 21820 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 21821 | (eval $ac_compile) 2>&5 | 
|  | 21822 | ac_status=$? | 
|  | 21823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21824 | (exit $ac_status); } && | 
|  | 21825 | { ac_try='test -s conftest.$ac_objext' | 
|  | 21826 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21827 | (eval $ac_try) 2>&5 | 
|  | 21828 | ac_status=$? | 
|  | 21829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21830 | (exit $ac_status); }; }; then | 
|  | 21831 | ac_header_compiler=yes | 
|  | 21832 | else | 
|  | 21833 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21834 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21835 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21836 | ac_header_compiler=no | 
|  | 21837 | fi | 
|  | 21838 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 21839 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
|  | 21840 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
|  | 21841 |  | 
|  | 21842 | # Is the header present? | 
|  | 21843 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
|  | 21844 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
|  | 21845 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21846 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21847 | /* confdefs.h.  */ | 
|  | 21848 | _ACEOF | 
|  | 21849 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21850 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21851 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21852 | #include <$ac_header> | 
|  | 21853 | _ACEOF | 
|  | 21854 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
|  | 21855 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
|  | 21856 | ac_status=$? | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21857 | grep -v '^ *+' conftest.er1 >conftest.err | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21858 | rm -f conftest.er1 | 
|  | 21859 | cat conftest.err >&5 | 
|  | 21860 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21861 | (exit $ac_status); } >/dev/null; then | 
|  | 21862 | if test -s conftest.err; then | 
|  | 21863 | ac_cpp_err=$ac_c_preproc_warn_flag | 
|  | 21864 | else | 
|  | 21865 | ac_cpp_err= | 
|  | 21866 | fi | 
|  | 21867 | else | 
|  | 21868 | ac_cpp_err=yes | 
|  | 21869 | fi | 
|  | 21870 | if test -z "$ac_cpp_err"; then | 
|  | 21871 | ac_header_preproc=yes | 
|  | 21872 | else | 
|  | 21873 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21874 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 21875 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21876 | ac_header_preproc=no | 
|  | 21877 | fi | 
|  | 21878 | rm -f conftest.err conftest.$ac_ext | 
|  | 21879 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
|  | 21880 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
|  | 21881 |  | 
|  | 21882 | # So?  What about this header? | 
|  | 21883 | case $ac_header_compiler:$ac_header_preproc in | 
|  | 21884 | yes:no ) | 
|  | 21885 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
|  | 21886 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
|  | 21887 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21888 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 21889 | ( | 
|  | 21890 | cat <<\_ASBOX | 
|  | 21891 | ## ------------------------------------ ## | 
|  | 21892 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 21893 | ## ------------------------------------ ## | 
|  | 21894 | _ASBOX | 
|  | 21895 | ) | | 
|  | 21896 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 21897 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21898 | no:yes ) | 
|  | 21899 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
|  | 21900 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
|  | 21901 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
|  | 21902 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
|  | 21903 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21904 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} | 
|  | 21905 | ( | 
|  | 21906 | cat <<\_ASBOX | 
|  | 21907 | ## ------------------------------------ ## | 
|  | 21908 | ## Report this to bug-autoconf@gnu.org. ## | 
|  | 21909 | ## ------------------------------------ ## | 
|  | 21910 | _ASBOX | 
|  | 21911 | ) | | 
|  | 21912 | sed "s/^/$as_me: WARNING:     /" >&2 | 
|  | 21913 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21914 | esac | 
|  | 21915 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
|  | 21916 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
|  | 21917 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
|  | 21918 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21919 | else | 
|  | 21920 | eval "$as_ac_Header=$ac_header_preproc" | 
|  | 21921 | fi | 
|  | 21922 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
|  | 21923 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
|  | 21924 |  | 
|  | 21925 | fi | 
|  | 21926 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
|  | 21927 | cat >>confdefs.h <<_ACEOF | 
|  | 21928 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
|  | 21929 | _ACEOF | 
|  | 21930 |  | 
|  | 21931 | fi | 
|  | 21932 |  | 
|  | 21933 | done | 
|  | 21934 |  | 
|  | 21935 |  | 
|  | 21936 | for ac_func in getpagesize | 
|  | 21937 | do | 
|  | 21938 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|  | 21939 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|  | 21940 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|  | 21941 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|  | 21942 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 21943 | else | 
|  | 21944 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 21945 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21946 | /* confdefs.h.  */ | 
|  | 21947 | _ACEOF | 
|  | 21948 | cat confdefs.h >>conftest.$ac_ext | 
|  | 21949 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 21950 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21951 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21952 | which can conflict with char $ac_func (); below. | 
|  | 21953 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 21954 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 21955 | #ifdef __STDC__ | 
|  | 21956 | # include <limits.h> | 
|  | 21957 | #else | 
|  | 21958 | # include <assert.h> | 
|  | 21959 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21960 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 21961 | #ifdef __cplusplus | 
|  | 21962 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21963 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21964 | #endif | 
|  | 21965 | /* We use char because int might match the return type of a gcc2 | 
|  | 21966 | builtin and then its argument prototype would still apply.  */ | 
|  | 21967 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21968 | /* The GNU C library defines this for functions which it implements | 
|  | 21969 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 21970 | something starting with __ and the normal name is an alias.  */ | 
|  | 21971 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|  | 21972 | choke me | 
|  | 21973 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21974 | char (*f) () = $ac_func; | 
|  | 21975 | #endif | 
|  | 21976 | #ifdef __cplusplus | 
|  | 21977 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21978 | #endif | 
|  | 21979 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 21980 | int | 
|  | 21981 | main () | 
|  | 21982 | { | 
|  | 21983 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 21984 | ; | 
|  | 21985 | return 0; | 
|  | 21986 | } | 
|  | 21987 | _ACEOF | 
|  | 21988 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 21989 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 21990 | (eval $ac_link) 2>&5 | 
|  | 21991 | ac_status=$? | 
|  | 21992 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21993 | (exit $ac_status); } && | 
|  | 21994 | { ac_try='test -s conftest$ac_exeext' | 
|  | 21995 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 21996 | (eval $ac_try) 2>&5 | 
|  | 21997 | ac_status=$? | 
|  | 21998 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 21999 | (exit $ac_status); }; }; then | 
|  | 22000 | eval "$as_ac_var=yes" | 
|  | 22001 | else | 
|  | 22002 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22003 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22004 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22005 | eval "$as_ac_var=no" | 
|  | 22006 | fi | 
|  | 22007 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 22008 | fi | 
|  | 22009 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|  | 22010 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|  | 22011 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|  | 22012 | cat >>confdefs.h <<_ACEOF | 
|  | 22013 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|  | 22014 | _ACEOF | 
|  | 22015 |  | 
|  | 22016 | fi | 
|  | 22017 | done | 
|  | 22018 |  | 
|  | 22019 | echo "$as_me:$LINENO: checking for working mmap" >&5 | 
|  | 22020 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 
|  | 22021 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 
|  | 22022 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 22023 | else | 
|  | 22024 | if test "$cross_compiling" = yes; then | 
|  | 22025 | ac_cv_func_mmap_fixed_mapped=no | 
|  | 22026 | else | 
|  | 22027 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 22028 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22029 | /* confdefs.h.  */ | 
|  | 22030 | _ACEOF | 
|  | 22031 | cat confdefs.h >>conftest.$ac_ext | 
|  | 22032 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 22033 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22034 | $ac_includes_default | 
|  | 22035 | /* malloc might have been renamed as rpl_malloc. */ | 
|  | 22036 | #undef malloc | 
|  | 22037 |  | 
|  | 22038 | /* Thanks to Mike Haertel and Jim Avera for this test. | 
|  | 22039 | Here is a matrix of mmap possibilities: | 
|  | 22040 | mmap private not fixed | 
|  | 22041 | mmap private fixed at somewhere currently unmapped | 
|  | 22042 | mmap private fixed at somewhere already mapped | 
|  | 22043 | mmap shared not fixed | 
|  | 22044 | mmap shared fixed at somewhere currently unmapped | 
|  | 22045 | mmap shared fixed at somewhere already mapped | 
|  | 22046 | For private mappings, we should verify that changes cannot be read() | 
|  | 22047 | back from the file, nor mmap's back from the file at a different | 
|  | 22048 | address.  (There have been systems where private was not correctly | 
|  | 22049 | implemented like the infamous i386 svr4.0, and systems where the | 
|  | 22050 | VM page cache was not coherent with the file system buffer cache | 
|  | 22051 | like early versions of FreeBSD and possibly contemporary NetBSD.) | 
|  | 22052 | For shared mappings, we should conversely verify that changes get | 
|  | 22053 | propagated back to all the places they're supposed to be. | 
|  | 22054 |  | 
|  | 22055 | Grep wants private fixed already mapped. | 
|  | 22056 | The main things grep needs to know about mmap are: | 
|  | 22057 | * does it exist and is it safe to write into the mmap'd area | 
|  | 22058 | * how to use it (BSD variants)  */ | 
|  | 22059 |  | 
|  | 22060 | #include <fcntl.h> | 
|  | 22061 | #include <sys/mman.h> | 
|  | 22062 |  | 
|  | 22063 | #if !STDC_HEADERS && !HAVE_STDLIB_H | 
|  | 22064 | char *malloc (); | 
|  | 22065 | #endif | 
|  | 22066 |  | 
|  | 22067 | /* This mess was copied from the GNU getpagesize.h.  */ | 
|  | 22068 | #if !HAVE_GETPAGESIZE | 
|  | 22069 | /* Assume that all systems that can run configure have sys/param.h.  */ | 
|  | 22070 | # if !HAVE_SYS_PARAM_H | 
|  | 22071 | #  define HAVE_SYS_PARAM_H 1 | 
|  | 22072 | # endif | 
|  | 22073 |  | 
|  | 22074 | # ifdef _SC_PAGESIZE | 
|  | 22075 | #  define getpagesize() sysconf(_SC_PAGESIZE) | 
|  | 22076 | # else /* no _SC_PAGESIZE */ | 
|  | 22077 | #  if HAVE_SYS_PARAM_H | 
|  | 22078 | #   include <sys/param.h> | 
|  | 22079 | #   ifdef EXEC_PAGESIZE | 
|  | 22080 | #    define getpagesize() EXEC_PAGESIZE | 
|  | 22081 | #   else /* no EXEC_PAGESIZE */ | 
|  | 22082 | #    ifdef NBPG | 
|  | 22083 | #     define getpagesize() NBPG * CLSIZE | 
|  | 22084 | #     ifndef CLSIZE | 
|  | 22085 | #      define CLSIZE 1 | 
|  | 22086 | #     endif /* no CLSIZE */ | 
|  | 22087 | #    else /* no NBPG */ | 
|  | 22088 | #     ifdef NBPC | 
|  | 22089 | #      define getpagesize() NBPC | 
|  | 22090 | #     else /* no NBPC */ | 
|  | 22091 | #      ifdef PAGESIZE | 
|  | 22092 | #       define getpagesize() PAGESIZE | 
|  | 22093 | #      endif /* PAGESIZE */ | 
|  | 22094 | #     endif /* no NBPC */ | 
|  | 22095 | #    endif /* no NBPG */ | 
|  | 22096 | #   endif /* no EXEC_PAGESIZE */ | 
|  | 22097 | #  else /* no HAVE_SYS_PARAM_H */ | 
|  | 22098 | #   define getpagesize() 8192	/* punt totally */ | 
|  | 22099 | #  endif /* no HAVE_SYS_PARAM_H */ | 
|  | 22100 | # endif /* no _SC_PAGESIZE */ | 
|  | 22101 |  | 
|  | 22102 | #endif /* no HAVE_GETPAGESIZE */ | 
|  | 22103 |  | 
|  | 22104 | int | 
|  | 22105 | main () | 
|  | 22106 | { | 
|  | 22107 | char *data, *data2, *data3; | 
|  | 22108 | int i, pagesize; | 
|  | 22109 | int fd; | 
|  | 22110 |  | 
|  | 22111 | pagesize = getpagesize (); | 
|  | 22112 |  | 
|  | 22113 | /* First, make a file with some known garbage in it. */ | 
|  | 22114 | data = (char *) malloc (pagesize); | 
|  | 22115 | if (!data) | 
|  | 22116 | exit (1); | 
|  | 22117 | for (i = 0; i < pagesize; ++i) | 
|  | 22118 | *(data + i) = rand (); | 
|  | 22119 | umask (0); | 
|  | 22120 | fd = creat ("conftest.mmap", 0600); | 
|  | 22121 | if (fd < 0) | 
|  | 22122 | exit (1); | 
|  | 22123 | if (write (fd, data, pagesize) != pagesize) | 
|  | 22124 | exit (1); | 
|  | 22125 | close (fd); | 
|  | 22126 |  | 
|  | 22127 | /* Next, try to mmap the file at a fixed address which already has | 
|  | 22128 | something else allocated at it.  If we can, also make sure that | 
|  | 22129 | we see the same garbage.  */ | 
|  | 22130 | fd = open ("conftest.mmap", O_RDWR); | 
|  | 22131 | if (fd < 0) | 
|  | 22132 | exit (1); | 
|  | 22133 | data2 = (char *) malloc (2 * pagesize); | 
|  | 22134 | if (!data2) | 
|  | 22135 | exit (1); | 
|  | 22136 | data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | 
|  | 22137 | if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 
|  | 22138 | MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 
|  | 22139 | exit (1); | 
|  | 22140 | for (i = 0; i < pagesize; ++i) | 
|  | 22141 | if (*(data + i) != *(data2 + i)) | 
|  | 22142 | exit (1); | 
|  | 22143 |  | 
|  | 22144 | /* Finally, make sure that changes to the mapped area do not | 
|  | 22145 | percolate back to the file as seen by read().  (This is a bug on | 
|  | 22146 | some variants of i386 svr4.0.)  */ | 
|  | 22147 | for (i = 0; i < pagesize; ++i) | 
|  | 22148 | *(data2 + i) = *(data2 + i) + 1; | 
|  | 22149 | data3 = (char *) malloc (pagesize); | 
|  | 22150 | if (!data3) | 
|  | 22151 | exit (1); | 
|  | 22152 | if (read (fd, data3, pagesize) != pagesize) | 
|  | 22153 | exit (1); | 
|  | 22154 | for (i = 0; i < pagesize; ++i) | 
|  | 22155 | if (*(data + i) != *(data3 + i)) | 
|  | 22156 | exit (1); | 
|  | 22157 | close (fd); | 
|  | 22158 | exit (0); | 
|  | 22159 | } | 
|  | 22160 | _ACEOF | 
|  | 22161 | rm -f conftest$ac_exeext | 
|  | 22162 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 22163 | (eval $ac_link) 2>&5 | 
|  | 22164 | ac_status=$? | 
|  | 22165 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22166 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  | 22167 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 22168 | (eval $ac_try) 2>&5 | 
|  | 22169 | ac_status=$? | 
|  | 22170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22171 | (exit $ac_status); }; }; then | 
|  | 22172 | ac_cv_func_mmap_fixed_mapped=yes | 
|  | 22173 | else | 
|  | 22174 | echo "$as_me: program exited with status $ac_status" >&5 | 
|  | 22175 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22176 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22177 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22178 | ( exit $ac_status ) | 
|  | 22179 | ac_cv_func_mmap_fixed_mapped=no | 
|  | 22180 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22181 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22182 | fi | 
|  | 22183 | fi | 
|  | 22184 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 
|  | 22185 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 
|  | 22186 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 
|  | 22187 |  | 
|  | 22188 | cat >>confdefs.h <<\_ACEOF | 
|  | 22189 | #define HAVE_MMAP 1 | 
|  | 22190 | _ACEOF | 
|  | 22191 |  | 
|  | 22192 | fi | 
|  | 22193 | rm -f conftest.mmap | 
|  | 22194 |  | 
|  | 22195 | echo "$as_me:$LINENO: checking for mmap of files" >&5 | 
|  | 22196 | echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6 | 
|  | 22197 | if test "${ac_cv_func_mmap_file+set}" = set; then | 
|  | 22198 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 22199 | else | 
|  | 22200 |  | 
|  | 22201 |  | 
|  | 22202 | ac_ext=c | 
|  | 22203 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 22204 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 22205 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 22206 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 22207 |  | 
|  | 22208 | if test "$cross_compiling" = yes; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22209 | { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling | 
|  | 22210 | See \`config.log' for more details." >&5 | 
|  | 22211 | echo "$as_me: error: cannot run test program while cross compiling | 
|  | 22212 | See \`config.log' for more details." >&2;} | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22213 | { (exit 1); exit 1; }; } | 
|  | 22214 | else | 
|  | 22215 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 22216 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22217 | /* confdefs.h.  */ | 
|  | 22218 | _ACEOF | 
|  | 22219 | cat confdefs.h >>conftest.$ac_ext | 
|  | 22220 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 22221 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22222 |  | 
|  | 22223 | #ifdef HAVE_SYS_MMAN_H | 
|  | 22224 | #include <sys/mman.h> | 
|  | 22225 | #endif | 
|  | 22226 |  | 
|  | 22227 | #ifdef HAVE_SYS_TYPES_H | 
|  | 22228 | #include <sys/types.h> | 
|  | 22229 | #endif | 
|  | 22230 |  | 
|  | 22231 | #ifdef HAVE_FCNTL_H | 
|  | 22232 | #include <fcntl.h> | 
|  | 22233 | #endif | 
|  | 22234 |  | 
|  | 22235 | int fd; | 
|  | 22236 | int main () { | 
|  | 22237 | fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);} | 
|  | 22238 | _ACEOF | 
|  | 22239 | rm -f conftest$ac_exeext | 
|  | 22240 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 22241 | (eval $ac_link) 2>&5 | 
|  | 22242 | ac_status=$? | 
|  | 22243 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22244 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
|  | 22245 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 22246 | (eval $ac_try) 2>&5 | 
|  | 22247 | ac_status=$? | 
|  | 22248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22249 | (exit $ac_status); }; }; then | 
|  | 22250 | ac_cv_func_mmap_file=yes | 
|  | 22251 | else | 
|  | 22252 | echo "$as_me: program exited with status $ac_status" >&5 | 
|  | 22253 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22254 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22255 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22256 | ( exit $ac_status ) | 
|  | 22257 | ac_cv_func_mmap_file=no | 
|  | 22258 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22259 | rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22260 | fi | 
|  | 22261 | ac_ext=c | 
|  | 22262 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 22263 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 22264 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 22265 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 22266 |  | 
|  | 22267 |  | 
|  | 22268 | fi | 
|  | 22269 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5 | 
|  | 22270 | echo "${ECHO_T}$ac_cv_func_mmap_file" >&6 | 
|  | 22271 | if test "$ac_cv_func_mmap_file" = yes; then | 
|  | 22272 | cat >>confdefs.h <<\_ACEOF | 
|  | 22273 | #define HAVE_MMAP_FILE 1 | 
|  | 22274 | _ACEOF | 
|  | 22275 |  | 
|  | 22276 | MMAP_FILE=yes | 
|  | 22277 |  | 
|  | 22278 | fi | 
|  | 22279 |  | 
|  | 22280 | if test ${ac_cv_func_mmap_file} = "no" | 
|  | 22281 | then | 
|  | 22282 | { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5 | 
|  | 22283 | echo "$as_me: error: mmap() of files required but not found" >&2;} | 
|  | 22284 | { (exit 1); exit 1; }; } | 
|  | 22285 | fi | 
|  | 22286 | echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5 | 
|  | 22287 | echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6 | 
|  | 22288 | if test "${ac_cv_header_mmap_anon+set}" = set; then | 
|  | 22289 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 22290 | else | 
|  | 22291 |  | 
|  | 22292 |  | 
|  | 22293 | ac_ext=c | 
|  | 22294 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 22295 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 22296 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 22297 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 22298 |  | 
|  | 22299 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 22300 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22301 | /* confdefs.h.  */ | 
|  | 22302 | _ACEOF | 
|  | 22303 | cat confdefs.h >>conftest.$ac_ext | 
|  | 22304 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 22305 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22306 | #include <sys/mman.h> | 
|  | 22307 | #include <unistd.h> | 
|  | 22308 | #include <fcntl.h> | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22309 | int | 
|  | 22310 | main () | 
|  | 22311 | { | 
|  | 22312 | mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0); | 
|  | 22313 | ; | 
|  | 22314 | return 0; | 
|  | 22315 | } | 
|  | 22316 | _ACEOF | 
|  | 22317 | rm -f conftest.$ac_objext | 
|  | 22318 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 22319 | (eval $ac_compile) 2>&5 | 
|  | 22320 | ac_status=$? | 
|  | 22321 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22322 | (exit $ac_status); } && | 
|  | 22323 | { ac_try='test -s conftest.$ac_objext' | 
|  | 22324 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 22325 | (eval $ac_try) 2>&5 | 
|  | 22326 | ac_status=$? | 
|  | 22327 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22328 | (exit $ac_status); }; }; then | 
|  | 22329 | ac_cv_header_mmap_anon=yes | 
|  | 22330 | else | 
|  | 22331 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22332 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22333 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22334 | ac_cv_header_mmap_anon=no | 
|  | 22335 | fi | 
|  | 22336 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 22337 | ac_ext=c | 
|  | 22338 | ac_cpp='$CPP $CPPFLAGS' | 
|  | 22339 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
|  | 22340 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
|  | 22341 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
|  | 22342 |  | 
|  | 22343 |  | 
|  | 22344 | fi | 
|  | 22345 | echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5 | 
|  | 22346 | echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6 | 
|  | 22347 | if test "$ac_cv_header_mmap_anon" = yes; then | 
|  | 22348 | cat >>confdefs.h <<\_ACEOF | 
|  | 22349 | #define HAVE_MMAP_ANONYMOUS 1 | 
|  | 22350 | _ACEOF | 
|  | 22351 |  | 
|  | 22352 | fi | 
|  | 22353 |  | 
|  | 22354 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 
|  | 22355 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 
|  | 22356 | if test "${ac_cv_type_signal+set}" = set; then | 
|  | 22357 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 22358 | else | 
|  | 22359 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 22360 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22361 | /* confdefs.h.  */ | 
|  | 22362 | _ACEOF | 
|  | 22363 | cat confdefs.h >>conftest.$ac_ext | 
|  | 22364 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 22365 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22366 | #include <sys/types.h> | 
|  | 22367 | #include <signal.h> | 
|  | 22368 | #ifdef signal | 
|  | 22369 | # undef signal | 
|  | 22370 | #endif | 
|  | 22371 | #ifdef __cplusplus | 
|  | 22372 | extern "C" void (*signal (int, void (*)(int)))(int); | 
|  | 22373 | #else | 
|  | 22374 | void (*signal ()) (); | 
|  | 22375 | #endif | 
|  | 22376 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22377 | int | 
|  | 22378 | main () | 
|  | 22379 | { | 
|  | 22380 | int i; | 
|  | 22381 | ; | 
|  | 22382 | return 0; | 
|  | 22383 | } | 
|  | 22384 | _ACEOF | 
|  | 22385 | rm -f conftest.$ac_objext | 
|  | 22386 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
|  | 22387 | (eval $ac_compile) 2>&5 | 
|  | 22388 | ac_status=$? | 
|  | 22389 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22390 | (exit $ac_status); } && | 
|  | 22391 | { ac_try='test -s conftest.$ac_objext' | 
|  | 22392 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 22393 | (eval $ac_try) 2>&5 | 
|  | 22394 | ac_status=$? | 
|  | 22395 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22396 | (exit $ac_status); }; }; then | 
|  | 22397 | ac_cv_type_signal=void | 
|  | 22398 | else | 
|  | 22399 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22400 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22401 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22402 | ac_cv_type_signal=int | 
|  | 22403 | fi | 
|  | 22404 | rm -f conftest.$ac_objext conftest.$ac_ext | 
|  | 22405 | fi | 
|  | 22406 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 
|  | 22407 | echo "${ECHO_T}$ac_cv_type_signal" >&6 | 
|  | 22408 |  | 
|  | 22409 | cat >>confdefs.h <<_ACEOF | 
|  | 22410 | #define RETSIGTYPE $ac_cv_type_signal | 
|  | 22411 | _ACEOF | 
|  | 22412 |  | 
|  | 22413 |  | 
|  | 22414 |  | 
|  | 22415 |  | 
|  | 22416 |  | 
|  | 22417 |  | 
|  | 22418 |  | 
|  | 22419 |  | 
|  | 22420 |  | 
|  | 22421 |  | 
|  | 22422 |  | 
|  | 22423 | for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol | 
|  | 22424 | do | 
|  | 22425 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
|  | 22426 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
|  | 22427 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
|  | 22428 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
|  | 22429 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 22430 | else | 
|  | 22431 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 22432 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22433 | /* confdefs.h.  */ | 
|  | 22434 | _ACEOF | 
|  | 22435 | cat confdefs.h >>conftest.$ac_ext | 
|  | 22436 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 22437 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22438 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22439 | which can conflict with char $ac_func (); below. | 
|  | 22440 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 22441 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 22442 | #ifdef __STDC__ | 
|  | 22443 | # include <limits.h> | 
|  | 22444 | #else | 
|  | 22445 | # include <assert.h> | 
|  | 22446 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22447 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 22448 | #ifdef __cplusplus | 
|  | 22449 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22450 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22451 | #endif | 
|  | 22452 | /* We use char because int might match the return type of a gcc2 | 
|  | 22453 | builtin and then its argument prototype would still apply.  */ | 
|  | 22454 | char $ac_func (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22455 | /* The GNU C library defines this for functions which it implements | 
|  | 22456 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 22457 | something starting with __ and the normal name is an alias.  */ | 
|  | 22458 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
|  | 22459 | choke me | 
|  | 22460 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22461 | char (*f) () = $ac_func; | 
|  | 22462 | #endif | 
|  | 22463 | #ifdef __cplusplus | 
|  | 22464 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22465 | #endif | 
|  | 22466 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22467 | int | 
|  | 22468 | main () | 
|  | 22469 | { | 
|  | 22470 | return f != $ac_func; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22471 | ; | 
|  | 22472 | return 0; | 
|  | 22473 | } | 
|  | 22474 | _ACEOF | 
|  | 22475 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 22476 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 22477 | (eval $ac_link) 2>&5 | 
|  | 22478 | ac_status=$? | 
|  | 22479 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22480 | (exit $ac_status); } && | 
|  | 22481 | { ac_try='test -s conftest$ac_exeext' | 
|  | 22482 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 22483 | (eval $ac_try) 2>&5 | 
|  | 22484 | ac_status=$? | 
|  | 22485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22486 | (exit $ac_status); }; }; then | 
|  | 22487 | eval "$as_ac_var=yes" | 
|  | 22488 | else | 
|  | 22489 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22490 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22491 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22492 | eval "$as_ac_var=no" | 
|  | 22493 | fi | 
|  | 22494 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 22495 | fi | 
|  | 22496 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
|  | 22497 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
|  | 22498 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
|  | 22499 | cat >>confdefs.h <<_ACEOF | 
|  | 22500 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
|  | 22501 | _ACEOF | 
|  | 22502 |  | 
|  | 22503 | fi | 
|  | 22504 | done | 
|  | 22505 |  | 
|  | 22506 |  | 
|  | 22507 |  | 
|  | 22508 | echo "$as_me:$LINENO: checking for mmap" >&5 | 
|  | 22509 | echo $ECHO_N "checking for mmap... $ECHO_C" >&6 | 
|  | 22510 | if test "${ac_cv_func_mmap+set}" = set; then | 
|  | 22511 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 22512 | else | 
|  | 22513 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 22514 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22515 | /* confdefs.h.  */ | 
|  | 22516 | _ACEOF | 
|  | 22517 | cat confdefs.h >>conftest.$ac_ext | 
|  | 22518 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 22519 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22520 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22521 | which can conflict with char mmap (); below. | 
|  | 22522 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 22523 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 22524 | #ifdef __STDC__ | 
|  | 22525 | # include <limits.h> | 
|  | 22526 | #else | 
|  | 22527 | # include <assert.h> | 
|  | 22528 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22529 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 22530 | #ifdef __cplusplus | 
|  | 22531 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22532 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22533 | #endif | 
|  | 22534 | /* We use char because int might match the return type of a gcc2 | 
|  | 22535 | builtin and then its argument prototype would still apply.  */ | 
|  | 22536 | char mmap (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22537 | /* The GNU C library defines this for functions which it implements | 
|  | 22538 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 22539 | something starting with __ and the normal name is an alias.  */ | 
|  | 22540 | #if defined (__stub_mmap) || defined (__stub___mmap) | 
|  | 22541 | choke me | 
|  | 22542 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22543 | char (*f) () = mmap; | 
|  | 22544 | #endif | 
|  | 22545 | #ifdef __cplusplus | 
|  | 22546 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22547 | #endif | 
|  | 22548 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22549 | int | 
|  | 22550 | main () | 
|  | 22551 | { | 
|  | 22552 | return f != mmap; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22553 | ; | 
|  | 22554 | return 0; | 
|  | 22555 | } | 
|  | 22556 | _ACEOF | 
|  | 22557 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 22558 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 22559 | (eval $ac_link) 2>&5 | 
|  | 22560 | ac_status=$? | 
|  | 22561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22562 | (exit $ac_status); } && | 
|  | 22563 | { ac_try='test -s conftest$ac_exeext' | 
|  | 22564 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 22565 | (eval $ac_try) 2>&5 | 
|  | 22566 | ac_status=$? | 
|  | 22567 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22568 | (exit $ac_status); }; }; then | 
|  | 22569 | ac_cv_func_mmap=yes | 
|  | 22570 | else | 
|  | 22571 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22572 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22573 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22574 | ac_cv_func_mmap=no | 
|  | 22575 | fi | 
|  | 22576 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 22577 | fi | 
|  | 22578 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5 | 
|  | 22579 | echo "${ECHO_T}$ac_cv_func_mmap" >&6 | 
|  | 22580 | if test $ac_cv_func_mmap = yes; then | 
|  | 22581 | : | 
|  | 22582 | else | 
|  | 22583 | { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5 | 
|  | 22584 | echo "$as_me: error: Function mmap() required but not found" >&2;} | 
|  | 22585 | { (exit 1); exit 1; }; } | 
|  | 22586 | fi | 
|  | 22587 |  | 
|  | 22588 | echo "$as_me:$LINENO: checking for mprotect" >&5 | 
|  | 22589 | echo $ECHO_N "checking for mprotect... $ECHO_C" >&6 | 
|  | 22590 | if test "${ac_cv_func_mprotect+set}" = set; then | 
|  | 22591 | echo $ECHO_N "(cached) $ECHO_C" >&6 | 
|  | 22592 | else | 
|  | 22593 | cat >conftest.$ac_ext <<_ACEOF | 
|  | 22594 | #line $LINENO "configure" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22595 | /* confdefs.h.  */ | 
|  | 22596 | _ACEOF | 
|  | 22597 | cat confdefs.h >>conftest.$ac_ext | 
|  | 22598 | cat >>conftest.$ac_ext <<_ACEOF | 
|  | 22599 | /* end confdefs.h.  */ | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22600 | /* System header to define __stub macros and hopefully few prototypes, | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22601 | which can conflict with char mprotect (); below. | 
|  | 22602 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
|  | 22603 | <limits.h> exists even on freestanding compilers.  */ | 
|  | 22604 | #ifdef __STDC__ | 
|  | 22605 | # include <limits.h> | 
|  | 22606 | #else | 
|  | 22607 | # include <assert.h> | 
|  | 22608 | #endif | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22609 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
|  | 22610 | #ifdef __cplusplus | 
|  | 22611 | extern "C" | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22612 | { | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22613 | #endif | 
|  | 22614 | /* We use char because int might match the return type of a gcc2 | 
|  | 22615 | builtin and then its argument prototype would still apply.  */ | 
|  | 22616 | char mprotect (); | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22617 | /* The GNU C library defines this for functions which it implements | 
|  | 22618 | to always fail with ENOSYS.  Some functions are actually named | 
|  | 22619 | something starting with __ and the normal name is an alias.  */ | 
|  | 22620 | #if defined (__stub_mprotect) || defined (__stub___mprotect) | 
|  | 22621 | choke me | 
|  | 22622 | #else | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22623 | char (*f) () = mprotect; | 
|  | 22624 | #endif | 
|  | 22625 | #ifdef __cplusplus | 
|  | 22626 | } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22627 | #endif | 
|  | 22628 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22629 | int | 
|  | 22630 | main () | 
|  | 22631 | { | 
|  | 22632 | return f != mprotect; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22633 | ; | 
|  | 22634 | return 0; | 
|  | 22635 | } | 
|  | 22636 | _ACEOF | 
|  | 22637 | rm -f conftest.$ac_objext conftest$ac_exeext | 
|  | 22638 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
|  | 22639 | (eval $ac_link) 2>&5 | 
|  | 22640 | ac_status=$? | 
|  | 22641 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22642 | (exit $ac_status); } && | 
|  | 22643 | { ac_try='test -s conftest$ac_exeext' | 
|  | 22644 | { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
|  | 22645 | (eval $ac_try) 2>&5 | 
|  | 22646 | ac_status=$? | 
|  | 22647 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
|  | 22648 | (exit $ac_status); }; }; then | 
|  | 22649 | ac_cv_func_mprotect=yes | 
|  | 22650 | else | 
|  | 22651 | echo "$as_me: failed program was:" >&5 | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22652 | sed 's/^/| /' conftest.$ac_ext >&5 | 
|  | 22653 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22654 | ac_cv_func_mprotect=no | 
|  | 22655 | fi | 
|  | 22656 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
|  | 22657 | fi | 
|  | 22658 | echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5 | 
|  | 22659 | echo "${ECHO_T}$ac_cv_func_mprotect" >&6 | 
|  | 22660 | if test $ac_cv_func_mprotect = yes; then | 
|  | 22661 | : | 
|  | 22662 | else | 
|  | 22663 | { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5 | 
|  | 22664 | echo "$as_me: error: Function mprotect() required but not found" >&2;} | 
|  | 22665 | { (exit 1); exit 1; }; } | 
|  | 22666 | fi | 
|  | 22667 |  | 
|  | 22668 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22669 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22670 | # Check whether --enable-purify or --disable-purify was given. | 
|  | 22671 | if test "${enable_purify+set}" = set; then | 
|  | 22672 | enableval="$enable_purify" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22673 |  | 
|  | 22674 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22675 | enableval="no" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22676 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22677 | if test ${enableval} = "no" | 
|  | 22678 | then | 
|  | 22679 | ENABLE_PURIFY= | 
|  | 22680 |  | 
|  | 22681 | else | 
|  | 22682 | ENABLE_PURIFY=ENABLE_PURIFY=1 | 
|  | 22683 |  | 
|  | 22684 | fi | 
|  | 22685 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22686 | # Check whether --enable-optimized or --disable-optimized was given. | 
|  | 22687 | if test "${enable_optimized+set}" = set; then | 
|  | 22688 | enableval="$enable_optimized" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22689 |  | 
|  | 22690 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22691 | enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22692 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22693 | if test ${enableval} = "no" | 
|  | 22694 | then | 
|  | 22695 | ENABLE_OPTIMIZED= | 
|  | 22696 |  | 
|  | 22697 | else | 
|  | 22698 | ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1 | 
|  | 22699 |  | 
|  | 22700 | fi | 
|  | 22701 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22702 | # Check whether --enable-spec or --disable-spec was given. | 
|  | 22703 | if test "${enable_spec+set}" = set; then | 
|  | 22704 | enableval="$enable_spec" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22705 |  | 
|  | 22706 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22707 | enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22708 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22709 | if test ${enableval} = "no" | 
|  | 22710 | then | 
|  | 22711 | USE_SPEC= | 
|  | 22712 |  | 
|  | 22713 | else | 
|  | 22714 | USE_SPEC=USE_SPEC=1 | 
|  | 22715 |  | 
|  | 22716 | fi | 
|  | 22717 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22718 | # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given. | 
|  | 22719 | if test "${enable_precompiled_bytecode+set}" = set; then | 
|  | 22720 | enableval="$enable_precompiled_bytecode" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22721 |  | 
|  | 22722 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22723 | enableval=no | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22724 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22725 | if test ${enableval} = "no" | 
|  | 22726 | then | 
|  | 22727 | UPB= | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22728 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22729 | else | 
|  | 22730 | UPB=USE_PRECOMPILED_BYTECODE=1 | 
|  | 22731 |  | 
|  | 22732 | fi | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22733 |  | 
|  | 22734 |  | 
|  | 22735 | # Check whether --enable-llc_diffs or --disable-llc_diffs was given. | 
|  | 22736 | if test "${enable_llc_diffs+set}" = set; then | 
|  | 22737 | enableval="$enable_llc_diffs" | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22738 |  | 
|  | 22739 | else | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22740 | enableval=yes | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22741 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22742 | if test ${enableval} = "no" | 
|  | 22743 | then | 
|  | 22744 | DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1 | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 22745 |  | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22746 | else | 
|  | 22747 | DISABLE_LLC_DIFFS= | 
|  | 22748 |  | 
|  | 22749 | fi | 
|  | 22750 |  | 
|  | 22751 | # Check whether --enable-jit or --disable-jit was given. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22752 | if test "${enable_jit+set}" = set; then | 
|  | 22753 | enableval="$enable_jit" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22754 |  | 
|  | 22755 | else | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22756 | enableval=default | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22757 | fi; | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22758 |  | 
|  | 22759 | if test ${enableval} = "no" | 
|  | 22760 | then | 
|  | 22761 | JIT= | 
|  | 22762 |  | 
|  | 22763 | else | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22764 | case $target in | 
|  | 22765 | *i*86*) | 
|  | 22766 | JIT=TARGET_HAS_JIT=1 | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22767 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22768 | ;; | 
|  | 22769 | *sparc*) | 
|  | 22770 | JIT=TARGET_HAS_JIT=1 | 
|  | 22771 |  | 
|  | 22772 | ;; | 
|  | 22773 | *) | 
|  | 22774 | JIT= | 
|  | 22775 |  | 
|  | 22776 | ;; | 
|  | 22777 | esac | 
| John Criswell | b13092b | 2003-07-22 21:00:24 +0000 | [diff] [blame] | 22778 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22779 |  | 
|  | 22780 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22781 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22782 | # Check whether --with-spec or --without-spec was given. | 
|  | 22783 | if test "${with_spec+set}" = set; then | 
|  | 22784 | withval="$with_spec" | 
|  | 22785 | SPEC_ROOT=$withval | 
|  | 22786 |  | 
|  | 22787 | else | 
|  | 22788 | SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec | 
|  | 22789 |  | 
|  | 22790 | fi; | 
|  | 22791 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22792 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22793 | # Check whether --with-llvmgccdir or --without-llvmgccdir was given. | 
|  | 22794 | if test "${with_llvmgccdir+set}" = set; then | 
|  | 22795 | withval="$with_llvmgccdir" | 
|  | 22796 | LLVMGCCDIR=$withval | 
|  | 22797 |  | 
|  | 22798 | fi; | 
|  | 22799 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22800 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22801 | # Check whether --with-bcrepos or --without-bcrepos was given. | 
|  | 22802 | if test "${with_bcrepos+set}" = set; then | 
|  | 22803 | withval="$with_bcrepos" | 
|  | 22804 | BCR=$withval | 
|  | 22805 |  | 
|  | 22806 | else | 
|  | 22807 | BCR=/home/vadve/lattner/LLVMPrograms | 
|  | 22808 |  | 
|  | 22809 | fi; | 
|  | 22810 |  | 
| John Criswell | c78022e | 2003-07-29 19:11:58 +0000 | [diff] [blame] | 22811 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22812 | # Check whether --with-papi or --without-papi was given. | 
|  | 22813 | if test "${with_papi+set}" = set; then | 
|  | 22814 | withval="$with_papi" | 
|  | 22815 | PAPIDIR=$withval | 
|  | 22816 |  | 
|  | 22817 | else | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 22818 | PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22819 |  | 
|  | 22820 | fi; | 
|  | 22821 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22822 |  | 
|  | 22823 | # Check whether --with-purify or --without-purify was given. | 
|  | 22824 | if test "${with_purify+set}" = set; then | 
|  | 22825 | withval="$with_purify" | 
|  | 22826 | PURIFY=$withval | 
|  | 22827 |  | 
|  | 22828 | fi; | 
|  | 22829 |  | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 22830 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22831 | ac_config_files="$ac_config_files Makefile.config" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22832 | cat >confcache <<\_ACEOF | 
|  | 22833 | # This file is a shell script that caches the results of configure | 
|  | 22834 | # tests run on this system so they can be shared between configure | 
|  | 22835 | # scripts and configure runs, see configure's option --config-cache. | 
|  | 22836 | # It is not useful on other systems.  If it contains results you don't | 
|  | 22837 | # want to keep, you may remove or edit it. | 
|  | 22838 | # | 
|  | 22839 | # config.status only pays attention to the cache file if you give it | 
|  | 22840 | # the --recheck option to rerun configure. | 
|  | 22841 | # | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22842 | # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22843 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
|  | 22844 | # following values. | 
|  | 22845 |  | 
|  | 22846 | _ACEOF | 
|  | 22847 |  | 
|  | 22848 | # The following way of writing the cache mishandles newlines in values, | 
|  | 22849 | # but we know of no workaround that is simple, portable, and efficient. | 
|  | 22850 | # So, don't put newlines in cache variables' values. | 
|  | 22851 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
|  | 22852 | # and sets the high bit in the cache file unless we assign to the vars. | 
|  | 22853 | { | 
|  | 22854 | (set) 2>&1 | | 
|  | 22855 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
|  | 22856 | *ac_space=\ *) | 
|  | 22857 | # `set' does not quote correctly, so add quotes (double-quote | 
|  | 22858 | # substitution turns \\\\ into \\, and sed turns \\ into \). | 
|  | 22859 | sed -n \ | 
|  | 22860 | "s/'/'\\\\''/g; | 
|  | 22861 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
|  | 22862 | ;; | 
|  | 22863 | *) | 
|  | 22864 | # `set' quotes correctly as required by POSIX, so do not add quotes. | 
|  | 22865 | sed -n \ | 
|  | 22866 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
|  | 22867 | ;; | 
|  | 22868 | esac; | 
|  | 22869 | } | | 
|  | 22870 | sed ' | 
|  | 22871 | t clear | 
|  | 22872 | : clear | 
|  | 22873 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
|  | 22874 | t end | 
|  | 22875 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
|  | 22876 | : end' >>confcache | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22877 | if diff $cache_file confcache >/dev/null 2>&1; then :; else | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22878 | if test -w $cache_file; then | 
|  | 22879 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
|  | 22880 | cat confcache >$cache_file | 
|  | 22881 | else | 
|  | 22882 | echo "not updating unwritable cache $cache_file" | 
|  | 22883 | fi | 
|  | 22884 | fi | 
|  | 22885 | rm -f confcache | 
|  | 22886 |  | 
|  | 22887 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
|  | 22888 | # Let make expand exec_prefix. | 
|  | 22889 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
|  | 22890 |  | 
|  | 22891 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
|  | 22892 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
|  | 22893 | # trailing colons and then remove the whole line if VPATH becomes empty | 
|  | 22894 | # (actually we leave an empty line to preserve line numbers). | 
|  | 22895 | if test "x$srcdir" = x.; then | 
|  | 22896 | ac_vpsub='/^[ 	]*VPATH[ 	]*=/{ | 
|  | 22897 | s/:*\$(srcdir):*/:/; | 
|  | 22898 | s/:*\${srcdir}:*/:/; | 
|  | 22899 | s/:*@srcdir@:*/:/; | 
|  | 22900 | s/^\([^=]*=[ 	]*\):*/\1/; | 
|  | 22901 | s/:*$//; | 
|  | 22902 | s/^[^=]*=[ 	]*$//; | 
|  | 22903 | }' | 
|  | 22904 | fi | 
|  | 22905 |  | 
|  | 22906 | DEFS=-DHAVE_CONFIG_H | 
|  | 22907 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22908 | ac_libobjs= | 
|  | 22909 | ac_ltlibobjs= | 
|  | 22910 | for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
|  | 22911 | # 1. Remove the extension, and $U if already installed. | 
|  | 22912 | ac_i=`echo "$ac_i" | | 
|  | 22913 | sed 's/\$U\././;s/\.o$//;s/\.obj$//'` | 
|  | 22914 | # 2. Add them. | 
|  | 22915 | ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext" | 
|  | 22916 | ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo' | 
|  | 22917 | done | 
|  | 22918 | LIBOBJS=$ac_libobjs | 
|  | 22919 |  | 
|  | 22920 | LTLIBOBJS=$ac_ltlibobjs | 
|  | 22921 |  | 
|  | 22922 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22923 |  | 
|  | 22924 | : ${CONFIG_STATUS=./config.status} | 
|  | 22925 | ac_clean_files_save=$ac_clean_files | 
|  | 22926 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
|  | 22927 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
|  | 22928 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
|  | 22929 | cat >$CONFIG_STATUS <<_ACEOF | 
|  | 22930 | #! $SHELL | 
|  | 22931 | # Generated by $as_me. | 
|  | 22932 | # Run this file to recreate the current configuration. | 
|  | 22933 | # Compiler output produced by configure, useful for debugging | 
|  | 22934 | # configure, is in config.log if it exists. | 
|  | 22935 |  | 
|  | 22936 | debug=false | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22937 | ac_cs_recheck=false | 
|  | 22938 | ac_cs_silent=false | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22939 | SHELL=\${CONFIG_SHELL-$SHELL} | 
|  | 22940 | _ACEOF | 
|  | 22941 |  | 
|  | 22942 | cat >>$CONFIG_STATUS <<\_ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22943 | ## --------------------- ## | 
|  | 22944 | ## M4sh Initialization.  ## | 
|  | 22945 | ## --------------------- ## | 
|  | 22946 |  | 
|  | 22947 | # Be Bourne compatible | 
|  | 22948 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
|  | 22949 | emulate sh | 
|  | 22950 | NULLCMD=: | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22951 | # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which | 
|  | 22952 | # is contrary to our usage.  Disable this feature. | 
|  | 22953 | alias -g '${1+"$@"}'='"$@"' | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22954 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
|  | 22955 | set -o posix | 
|  | 22956 | fi | 
|  | 22957 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22958 | # Support unset when possible. | 
|  | 22959 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
|  | 22960 | as_unset=unset | 
|  | 22961 | else | 
|  | 22962 | as_unset=false | 
|  | 22963 | fi | 
|  | 22964 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 22965 |  | 
|  | 22966 | # Work around bugs in pre-3.0 UWIN ksh. | 
|  | 22967 | $as_unset ENV MAIL MAILPATH | 
|  | 22968 | PS1='$ ' | 
|  | 22969 | PS2='> ' | 
|  | 22970 | PS4='+ ' | 
|  | 22971 |  | 
|  | 22972 | # NLS nuisances. | 
|  | 22973 | for as_var in \ | 
|  | 22974 | LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ | 
|  | 22975 | LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ | 
|  | 22976 | LC_TELEPHONE LC_TIME | 
|  | 22977 | do | 
|  | 22978 | if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then | 
|  | 22979 | eval $as_var=C; export $as_var | 
|  | 22980 | else | 
|  | 22981 | $as_unset $as_var | 
|  | 22982 | fi | 
|  | 22983 | done | 
|  | 22984 |  | 
|  | 22985 | # Required to use basename. | 
|  | 22986 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|  | 22987 | as_expr=expr | 
|  | 22988 | else | 
|  | 22989 | as_expr=false | 
|  | 22990 | fi | 
|  | 22991 |  | 
|  | 22992 | if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then | 
|  | 22993 | as_basename=basename | 
|  | 22994 | else | 
|  | 22995 | as_basename=false | 
|  | 22996 | fi | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 22997 |  | 
|  | 22998 |  | 
|  | 22999 | # Name of the executable. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23000 | as_me=`$as_basename "$0" || | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23001 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
|  | 23002 | X"$0" : 'X\(//\)$' \| \ | 
|  | 23003 | X"$0" : 'X\(/\)$' \| \ | 
|  | 23004 | .     : '\(.\)' 2>/dev/null || | 
|  | 23005 | echo X/"$0" | | 
|  | 23006 | sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
|  | 23007 | /^X\/\(\/\/\)$/{ s//\1/; q; } | 
|  | 23008 | /^X\/\(\/\).*/{ s//\1/; q; } | 
|  | 23009 | s/.*/./; q'` | 
|  | 23010 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23011 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23012 | # PATH needs CR, and LINENO needs CR and PATH. | 
|  | 23013 | # Avoid depending upon Character Ranges. | 
|  | 23014 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
|  | 23015 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
|  | 23016 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
|  | 23017 | as_cr_digits='0123456789' | 
|  | 23018 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
|  | 23019 |  | 
|  | 23020 | # The user is always right. | 
|  | 23021 | if test "${PATH_SEPARATOR+set}" != set; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23022 | echo "#! /bin/sh" >conf$$.sh | 
|  | 23023 | echo  "exit 0"   >>conf$$.sh | 
|  | 23024 | chmod +x conf$$.sh | 
|  | 23025 | if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23026 | PATH_SEPARATOR=';' | 
|  | 23027 | else | 
|  | 23028 | PATH_SEPARATOR=: | 
|  | 23029 | fi | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23030 | rm -f conf$$.sh | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23031 | fi | 
|  | 23032 |  | 
|  | 23033 |  | 
|  | 23034 | as_lineno_1=$LINENO | 
|  | 23035 | as_lineno_2=$LINENO | 
|  | 23036 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|  | 23037 | test "x$as_lineno_1" != "x$as_lineno_2" && | 
|  | 23038 | test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
|  | 23039 | # Find who we are.  Look in the path if we contain no path at all | 
|  | 23040 | # relative or not. | 
|  | 23041 | case $0 in | 
|  | 23042 | *[\\/]* ) as_myself=$0 ;; | 
|  | 23043 | *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 23044 | for as_dir in $PATH | 
|  | 23045 | do | 
|  | 23046 | IFS=$as_save_IFS | 
|  | 23047 | test -z "$as_dir" && as_dir=. | 
|  | 23048 | test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
|  | 23049 | done | 
|  | 23050 |  | 
|  | 23051 | ;; | 
|  | 23052 | esac | 
|  | 23053 | # We did not find ourselves, most probably we were run as `sh COMMAND' | 
|  | 23054 | # in which case we are not to be found in the path. | 
|  | 23055 | if test "x$as_myself" = x; then | 
|  | 23056 | as_myself=$0 | 
|  | 23057 | fi | 
|  | 23058 | if test ! -f "$as_myself"; then | 
|  | 23059 | { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
|  | 23060 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
|  | 23061 | { (exit 1); exit 1; }; } | 
|  | 23062 | fi | 
|  | 23063 | case $CONFIG_SHELL in | 
|  | 23064 | '') | 
|  | 23065 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
|  | 23066 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
|  | 23067 | do | 
|  | 23068 | IFS=$as_save_IFS | 
|  | 23069 | test -z "$as_dir" && as_dir=. | 
|  | 23070 | for as_base in sh bash ksh sh5; do | 
|  | 23071 | case $as_dir in | 
|  | 23072 | /*) | 
|  | 23073 | if ("$as_dir/$as_base" -c ' | 
|  | 23074 | as_lineno_1=$LINENO | 
|  | 23075 | as_lineno_2=$LINENO | 
|  | 23076 | as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
|  | 23077 | test "x$as_lineno_1" != "x$as_lineno_2" && | 
|  | 23078 | test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23079 | $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } | 
|  | 23080 | $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23081 | CONFIG_SHELL=$as_dir/$as_base | 
|  | 23082 | export CONFIG_SHELL | 
|  | 23083 | exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
|  | 23084 | fi;; | 
|  | 23085 | esac | 
|  | 23086 | done | 
|  | 23087 | done | 
|  | 23088 | ;; | 
|  | 23089 | esac | 
|  | 23090 |  | 
|  | 23091 | # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
|  | 23092 | # uniformly replaced by the line number.  The first 'sed' inserts a | 
|  | 23093 | # line-number line before each line; the second 'sed' does the real | 
|  | 23094 | # work.  The second script uses 'N' to pair each line-number line | 
|  | 23095 | # with the numbered line, and appends trailing '-' during | 
|  | 23096 | # substitution so that $LINENO is not a special case at line end. | 
|  | 23097 | # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
|  | 23098 | # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
|  | 23099 | sed '=' <$as_myself | | 
|  | 23100 | sed ' | 
|  | 23101 | N | 
|  | 23102 | s,$,-, | 
|  | 23103 | : loop | 
|  | 23104 | s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
|  | 23105 | t loop | 
|  | 23106 | s,-$,, | 
|  | 23107 | s,^['$as_cr_digits']*\n,, | 
|  | 23108 | ' >$as_me.lineno && | 
|  | 23109 | chmod +x $as_me.lineno || | 
|  | 23110 | { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
|  | 23111 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
|  | 23112 | { (exit 1); exit 1; }; } | 
|  | 23113 |  | 
|  | 23114 | # Don't try to exec as it changes $[0], causing all sort of problems | 
|  | 23115 | # (the dirname of $[0] is not the place where we might find the | 
|  | 23116 | # original and so on.  Autoconf is especially sensible to this). | 
|  | 23117 | . ./$as_me.lineno | 
|  | 23118 | # Exit status is that of the last command. | 
|  | 23119 | exit | 
|  | 23120 | } | 
|  | 23121 |  | 
|  | 23122 |  | 
|  | 23123 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
|  | 23124 | *c*,-n*) ECHO_N= ECHO_C=' | 
|  | 23125 | ' ECHO_T='	' ;; | 
|  | 23126 | *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
|  | 23127 | *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
|  | 23128 | esac | 
|  | 23129 |  | 
|  | 23130 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
|  | 23131 | as_expr=expr | 
|  | 23132 | else | 
|  | 23133 | as_expr=false | 
|  | 23134 | fi | 
|  | 23135 |  | 
|  | 23136 | rm -f conf$$ conf$$.exe conf$$.file | 
|  | 23137 | echo >conf$$.file | 
|  | 23138 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
|  | 23139 | # We could just check for DJGPP; but this test a) works b) is more generic | 
|  | 23140 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
|  | 23141 | if test -f conf$$.exe; then | 
|  | 23142 | # Don't use ln at all; we don't have any links | 
|  | 23143 | as_ln_s='cp -p' | 
|  | 23144 | else | 
|  | 23145 | as_ln_s='ln -s' | 
|  | 23146 | fi | 
|  | 23147 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
|  | 23148 | as_ln_s=ln | 
|  | 23149 | else | 
|  | 23150 | as_ln_s='cp -p' | 
|  | 23151 | fi | 
|  | 23152 | rm -f conf$$ conf$$.exe conf$$.file | 
|  | 23153 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23154 | if mkdir -p . 2>/dev/null; then | 
|  | 23155 | as_mkdir_p=: | 
|  | 23156 | else | 
|  | 23157 | as_mkdir_p=false | 
|  | 23158 | fi | 
|  | 23159 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23160 | as_executable_p="test -f" | 
|  | 23161 |  | 
|  | 23162 | # Sed expression to map a string onto a valid CPP name. | 
|  | 23163 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
|  | 23164 |  | 
|  | 23165 | # Sed expression to map a string onto a valid variable name. | 
|  | 23166 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
|  | 23167 |  | 
|  | 23168 |  | 
|  | 23169 | # IFS | 
|  | 23170 | # We need space, tab and new line, in precisely that order. | 
|  | 23171 | as_nl=' | 
|  | 23172 | ' | 
|  | 23173 | IFS=" 	$as_nl" | 
|  | 23174 |  | 
|  | 23175 | # CDPATH. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23176 | $as_unset CDPATH | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23177 |  | 
|  | 23178 | exec 6>&1 | 
|  | 23179 |  | 
|  | 23180 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
|  | 23181 | # report actual input values of CONFIG_FILES etc. instead of their | 
|  | 23182 | # values after options handling.  Logging --version etc. is OK. | 
|  | 23183 | exec 5>>config.log | 
|  | 23184 | { | 
|  | 23185 | echo | 
|  | 23186 | sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
|  | 23187 | ## Running $as_me. ## | 
|  | 23188 | _ASBOX | 
|  | 23189 | } >&5 | 
|  | 23190 | cat >&5 <<_CSEOF | 
|  | 23191 |  | 
|  | 23192 | This file was extended by [LLVM] $as_me [1.0], which was | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23193 | generated by GNU Autoconf 2.57.  Invocation command line was | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23194 |  | 
|  | 23195 | CONFIG_FILES    = $CONFIG_FILES | 
|  | 23196 | CONFIG_HEADERS  = $CONFIG_HEADERS | 
|  | 23197 | CONFIG_LINKS    = $CONFIG_LINKS | 
|  | 23198 | CONFIG_COMMANDS = $CONFIG_COMMANDS | 
|  | 23199 | $ $0 $@ | 
|  | 23200 |  | 
|  | 23201 | _CSEOF | 
|  | 23202 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
|  | 23203 | echo >&5 | 
|  | 23204 | _ACEOF | 
|  | 23205 |  | 
|  | 23206 | # Files that config.status was made for. | 
|  | 23207 | if test -n "$ac_config_files"; then | 
|  | 23208 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
|  | 23209 | fi | 
|  | 23210 |  | 
|  | 23211 | if test -n "$ac_config_headers"; then | 
|  | 23212 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
|  | 23213 | fi | 
|  | 23214 |  | 
|  | 23215 | if test -n "$ac_config_links"; then | 
|  | 23216 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
|  | 23217 | fi | 
|  | 23218 |  | 
|  | 23219 | if test -n "$ac_config_commands"; then | 
|  | 23220 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
|  | 23221 | fi | 
|  | 23222 |  | 
|  | 23223 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 23224 |  | 
|  | 23225 | ac_cs_usage="\ | 
|  | 23226 | \`$as_me' instantiates files from templates according to the | 
|  | 23227 | current configuration. | 
|  | 23228 |  | 
|  | 23229 | Usage: $0 [OPTIONS] [FILE]... | 
|  | 23230 |  | 
|  | 23231 | -h, --help       print this help, then exit | 
|  | 23232 | -V, --version    print version number, then exit | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23233 | -q, --quiet      do not print progress messages | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23234 | -d, --debug      don't remove temporary files | 
|  | 23235 | --recheck    update $as_me by reconfiguring in the same conditions | 
|  | 23236 | --file=FILE[:TEMPLATE] | 
|  | 23237 | instantiate the configuration file FILE | 
|  | 23238 | --header=FILE[:TEMPLATE] | 
|  | 23239 | instantiate the configuration header FILE | 
|  | 23240 |  | 
|  | 23241 | Configuration files: | 
|  | 23242 | $config_files | 
|  | 23243 |  | 
|  | 23244 | Configuration headers: | 
|  | 23245 | $config_headers | 
|  | 23246 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23247 | Configuration commands: | 
|  | 23248 | $config_commands | 
|  | 23249 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23250 | Report bugs to <bug-autoconf@gnu.org>." | 
|  | 23251 | _ACEOF | 
|  | 23252 |  | 
|  | 23253 | cat >>$CONFIG_STATUS <<_ACEOF | 
|  | 23254 | ac_cs_version="\\ | 
|  | 23255 | [LLVM] config.status [1.0] | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23256 | configured by $0, generated by GNU Autoconf 2.57, | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23257 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
|  | 23258 |  | 
|  | 23259 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
|  | 23260 | Free Software Foundation, Inc. | 
|  | 23261 | This config.status script is free software; the Free Software Foundation | 
|  | 23262 | gives unlimited permission to copy, distribute and modify it." | 
|  | 23263 | srcdir=$srcdir | 
|  | 23264 | INSTALL="$INSTALL" | 
|  | 23265 | _ACEOF | 
|  | 23266 |  | 
|  | 23267 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 23268 | # If no file are specified by the user, then we need to provide default | 
|  | 23269 | # value.  By we need to know if files were specified by the user. | 
|  | 23270 | ac_need_defaults=: | 
|  | 23271 | while test $# != 0 | 
|  | 23272 | do | 
|  | 23273 | case $1 in | 
|  | 23274 | --*=*) | 
|  | 23275 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
|  | 23276 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23277 | ac_shift=: | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23278 | ;; | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23279 | -*) | 
|  | 23280 | ac_option=$1 | 
|  | 23281 | ac_optarg=$2 | 
|  | 23282 | ac_shift=shift | 
|  | 23283 | ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23284 | *) # This is not an option, so the user has probably given explicit | 
|  | 23285 | # arguments. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23286 | ac_option=$1 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23287 | ac_need_defaults=false;; | 
|  | 23288 | esac | 
|  | 23289 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23290 | case $ac_option in | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23291 | # Handling of the options. | 
|  | 23292 | _ACEOF | 
| John Criswell | d9cd144 | 2003-09-09 20:52:17 +0000 | [diff] [blame] | 23293 | cat >>$CONFIG_STATUS <<\_ACEOF | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23294 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
|  | 23295 | ac_cs_recheck=: ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23296 | --version | --vers* | -V ) | 
|  | 23297 | echo "$ac_cs_version"; exit 0 ;; | 
|  | 23298 | --he | --h) | 
|  | 23299 | # Conflict between --help and --header | 
|  | 23300 | { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
|  | 23301 | Try \`$0 --help' for more information." >&5 | 
|  | 23302 | echo "$as_me: error: ambiguous option: $1 | 
|  | 23303 | Try \`$0 --help' for more information." >&2;} | 
|  | 23304 | { (exit 1); exit 1; }; };; | 
|  | 23305 | --help | --hel | -h ) | 
|  | 23306 | echo "$ac_cs_usage"; exit 0 ;; | 
|  | 23307 | --debug | --d* | -d ) | 
|  | 23308 | debug=: ;; | 
|  | 23309 | --file | --fil | --fi | --f ) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23310 | $ac_shift | 
|  | 23311 | CONFIG_FILES="$CONFIG_FILES $ac_optarg" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23312 | ac_need_defaults=false;; | 
|  | 23313 | --header | --heade | --head | --hea ) | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23314 | $ac_shift | 
|  | 23315 | CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23316 | ac_need_defaults=false;; | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23317 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
|  | 23318 | | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
|  | 23319 | ac_cs_silent=: ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23320 |  | 
|  | 23321 | # This is an error. | 
|  | 23322 | -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
|  | 23323 | Try \`$0 --help' for more information." >&5 | 
|  | 23324 | echo "$as_me: error: unrecognized option: $1 | 
|  | 23325 | Try \`$0 --help' for more information." >&2;} | 
|  | 23326 | { (exit 1); exit 1; }; } ;; | 
|  | 23327 |  | 
|  | 23328 | *) ac_config_targets="$ac_config_targets $1" ;; | 
|  | 23329 |  | 
|  | 23330 | esac | 
|  | 23331 | shift | 
|  | 23332 | done | 
|  | 23333 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23334 | ac_configure_extra_args= | 
|  | 23335 |  | 
|  | 23336 | if $ac_cs_silent; then | 
|  | 23337 | exec 6>/dev/null | 
|  | 23338 | ac_configure_extra_args="$ac_configure_extra_args --silent" | 
|  | 23339 | fi | 
|  | 23340 |  | 
|  | 23341 | _ACEOF | 
|  | 23342 | cat >>$CONFIG_STATUS <<_ACEOF | 
|  | 23343 | if \$ac_cs_recheck; then | 
|  | 23344 | echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 | 
|  | 23345 | exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
|  | 23346 | fi | 
|  | 23347 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23348 | _ACEOF | 
|  | 23349 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23350 | cat >>$CONFIG_STATUS <<_ACEOF | 
|  | 23351 | # | 
|  | 23352 | # INIT-COMMANDS section. | 
|  | 23353 | # | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23354 |  | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23355 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile` | 
|  | 23356 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common` | 
|  | 23357 | ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules` | 
|  | 23358 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile` | 
|  | 23359 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile` | 
|  | 23360 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile` | 
|  | 23361 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile` | 
|  | 23362 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile` | 
|  | 23363 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile` | 
|  | 23364 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile` | 
|  | 23365 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile` | 
|  | 23366 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile` | 
|  | 23367 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile` | 
|  | 23368 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile` | 
|  | 23369 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile` | 
|  | 23370 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile` | 
|  | 23371 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23372 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile` | 
|  | 23373 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile` | 
|  | 23374 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile` | 
|  | 23375 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile` | 
|  | 23376 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23377 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile` | 
|  | 23378 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile` | 
|  | 23379 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile` | 
|  | 23380 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile` | 
|  | 23381 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile` | 
|  | 23382 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile` | 
|  | 23383 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile` | 
|  | 23384 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile` | 
|  | 23385 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile` | 
|  | 23386 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile` | 
|  | 23387 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile` | 
|  | 23388 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile` | 
|  | 23389 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile` | 
|  | 23390 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile` | 
|  | 23391 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23392 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23393 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile` | 
|  | 23394 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile` | 
|  | 23395 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile` | 
|  | 23396 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23397 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23398 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23399 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile` | 
|  | 23400 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23401 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile` | 
|  | 23402 | ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile` | 
|  | 23403 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile` | 
|  | 23404 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests` | 
| John Criswell | 08acb9b | 2003-09-16 02:12:45 +0000 | [diff] [blame] | 23405 | ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23406 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile` | 
|  | 23407 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs` | 
|  | 23408 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile` | 
|  | 23409 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report` | 
|  | 23410 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report` | 
|  | 23411 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report` | 
|  | 23412 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile` | 
|  | 23413 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile` | 
|  | 23414 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile` | 
|  | 23415 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile` | 
|  | 23416 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report` | 
|  | 23417 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile` | 
|  | 23418 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report` | 
|  | 23419 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile` | 
|  | 23420 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot` | 
|  | 23421 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile` | 
|  | 23422 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile` | 
|  | 23423 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile` | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23424 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23425 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile` | 
|  | 23426 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile` | 
|  | 23427 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile` | 
|  | 23428 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile` | 
|  | 23429 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile` | 
|  | 23430 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile` | 
|  | 23431 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile` | 
|  | 23432 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile` | 
|  | 23433 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile` | 
|  | 23434 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile` | 
|  | 23435 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile` | 
|  | 23436 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile` | 
|  | 23437 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile` | 
|  | 23438 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile` | 
|  | 23439 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile` | 
|  | 23440 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile` | 
|  | 23441 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile` | 
|  | 23442 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23443 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile` | 
|  | 23444 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile` | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 23445 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile` | 
|  | 23446 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23447 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile` | 
|  | 23448 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile` | 
|  | 23449 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile` | 
|  | 23450 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile` | 
|  | 23451 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile` | 
|  | 23452 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile` | 
|  | 23453 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile` | 
|  | 23454 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile` | 
|  | 23455 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile` | 
|  | 23456 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile` | 
|  | 23457 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile` | 
|  | 23458 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile` | 
|  | 23459 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile` | 
|  | 23460 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile` | 
|  | 23461 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile` | 
|  | 23462 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile` | 
|  | 23463 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile` | 
|  | 23464 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile` | 
|  | 23465 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile` | 
|  | 23466 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile` | 
|  | 23467 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile` | 
|  | 23468 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile` | 
|  | 23469 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile` | 
|  | 23470 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile` | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 23471 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23472 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile` | 
|  | 23473 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile` | 
|  | 23474 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile` | 
|  | 23475 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile` | 
|  | 23476 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile` | 
|  | 23477 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23478 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile` | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23479 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23480 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile` | 
|  | 23481 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile` | 
|  | 23482 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile` | 
|  | 23483 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile` | 
|  | 23484 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23485 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile` | 
|  | 23486 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile` | 
|  | 23487 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc` | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 23488 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile` | 
|  | 23489 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile` | 
|  | 23490 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile` | 
|  | 23491 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile` | 
|  | 23492 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile` | 
|  | 23493 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23494 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23495 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile` | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 23496 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile` | 
| John Criswell | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 23497 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile` | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 23498 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile` | 
|  | 23499 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile` | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 23500 | ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23501 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile` | 
|  | 23502 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23503 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23504 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile` | 
|  | 23505 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile` | 
|  | 23506 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23507 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23508 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile` | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23509 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile` | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 23510 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile` | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23511 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23512 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile` | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23513 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile` | 
|  | 23514 | ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23515 | ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile` | 
|  | 23516 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile` | 
|  | 23517 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile` | 
|  | 23518 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common` | 
|  | 23519 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config` | 
|  | 23520 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile` | 
|  | 23521 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile` | 
|  | 23522 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile` | 
|  | 23523 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile` | 
|  | 23524 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile` | 
|  | 23525 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common` | 
|  | 23526 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile` | 
|  | 23527 | ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile` | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 23528 | ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile` | 
|  | 23529 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile` | 
|  | 23530 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile` | 
|  | 23531 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile` | 
|  | 23532 | ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23533 |  | 
|  | 23534 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23535 |  | 
|  | 23536 |  | 
|  | 23537 |  | 
|  | 23538 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 23539 | for ac_config_target in $ac_config_targets | 
|  | 23540 | do | 
|  | 23541 | case "$ac_config_target" in | 
|  | 23542 | # Handling of arguments. | 
|  | 23543 | "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23544 | "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;; | 
|  | 23545 | "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;; | 
|  | 23546 | "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;; | 
|  | 23547 | "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;; | 
|  | 23548 | "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;; | 
|  | 23549 | "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;; | 
|  | 23550 | "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;; | 
|  | 23551 | "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;; | 
|  | 23552 | "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;; | 
|  | 23553 | "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;; | 
|  | 23554 | "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;; | 
|  | 23555 | "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;; | 
|  | 23556 | "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;; | 
|  | 23557 | "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;; | 
|  | 23558 | "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;; | 
|  | 23559 | "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;; | 
|  | 23560 | "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23561 | "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;; | 
|  | 23562 | "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;; | 
|  | 23563 | "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;; | 
|  | 23564 | "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;; | 
|  | 23565 | "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23566 | "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;; | 
|  | 23567 | "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;; | 
|  | 23568 | "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;; | 
|  | 23569 | "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;; | 
|  | 23570 | "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;; | 
|  | 23571 | "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;; | 
|  | 23572 | "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;; | 
|  | 23573 | "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;; | 
|  | 23574 | "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;; | 
|  | 23575 | "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;; | 
|  | 23576 | "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;; | 
|  | 23577 | "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;; | 
|  | 23578 | "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;; | 
|  | 23579 | "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;; | 
|  | 23580 | "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23581 | "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23582 | "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;; | 
|  | 23583 | "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;; | 
|  | 23584 | "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;; | 
|  | 23585 | "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23586 | "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23587 | "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23588 | "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;; | 
|  | 23589 | "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23590 | "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;; | 
|  | 23591 | "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;; | 
|  | 23592 | "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;; | 
|  | 23593 | "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;; | 
| John Criswell | 08acb9b | 2003-09-16 02:12:45 +0000 | [diff] [blame] | 23594 | "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23595 | "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;; | 
|  | 23596 | "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;; | 
|  | 23597 | "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;; | 
|  | 23598 | "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;; | 
|  | 23599 | "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;; | 
|  | 23600 | "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;; | 
|  | 23601 | "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;; | 
|  | 23602 | "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;; | 
|  | 23603 | "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;; | 
|  | 23604 | "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;; | 
|  | 23605 | "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;; | 
|  | 23606 | "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;; | 
|  | 23607 | "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;; | 
|  | 23608 | "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;; | 
|  | 23609 | "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;; | 
|  | 23610 | "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;; | 
|  | 23611 | "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;; | 
|  | 23612 | "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 23613 | "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23614 | "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;; | 
|  | 23615 | "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;; | 
|  | 23616 | "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;; | 
|  | 23617 | "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;; | 
|  | 23618 | "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;; | 
|  | 23619 | "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;; | 
|  | 23620 | "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;; | 
|  | 23621 | "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;; | 
|  | 23622 | "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;; | 
|  | 23623 | "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;; | 
|  | 23624 | "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;; | 
|  | 23625 | "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;; | 
|  | 23626 | "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;; | 
|  | 23627 | "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;; | 
|  | 23628 | "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;; | 
|  | 23629 | "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;; | 
|  | 23630 | "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;; | 
|  | 23631 | "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23632 | "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;; | 
|  | 23633 | "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 23634 | "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;; | 
|  | 23635 | "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23636 | "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;; | 
|  | 23637 | "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;; | 
|  | 23638 | "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;; | 
|  | 23639 | "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;; | 
|  | 23640 | "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;; | 
|  | 23641 | "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;; | 
|  | 23642 | "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;; | 
|  | 23643 | "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;; | 
|  | 23644 | "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;; | 
|  | 23645 | "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;; | 
|  | 23646 | "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;; | 
|  | 23647 | "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;; | 
|  | 23648 | "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;; | 
|  | 23649 | "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;; | 
|  | 23650 | "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;; | 
|  | 23651 | "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;; | 
|  | 23652 | "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;; | 
|  | 23653 | "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;; | 
|  | 23654 | "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;; | 
|  | 23655 | "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;; | 
|  | 23656 | "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;; | 
|  | 23657 | "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;; | 
|  | 23658 | "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;; | 
|  | 23659 | "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 23660 | "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23661 | "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;; | 
|  | 23662 | "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;; | 
|  | 23663 | "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;; | 
|  | 23664 | "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;; | 
|  | 23665 | "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;; | 
|  | 23666 | "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23667 | "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 23668 | "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23669 | "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;; | 
|  | 23670 | "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;; | 
|  | 23671 | "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;; | 
|  | 23672 | "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;; | 
|  | 23673 | "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23674 | "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;; | 
|  | 23675 | "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;; | 
|  | 23676 | "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;; | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 23677 | "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;; | 
|  | 23678 | "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;; | 
|  | 23679 | "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;; | 
|  | 23680 | "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;; | 
|  | 23681 | "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;; | 
|  | 23682 | "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23683 | "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23684 | "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;; | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 23685 | "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;; | 
| John Criswell | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 23686 | "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;; | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 23687 | "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;; | 
|  | 23688 | "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;; | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 23689 | "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23690 | "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;; | 
|  | 23691 | "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23692 | "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23693 | "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;; | 
|  | 23694 | "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;; | 
|  | 23695 | "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23696 | "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23697 | "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23698 | "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;; | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 23699 | "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23700 | "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23701 | "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 23702 | "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;; | 
|  | 23703 | "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23704 | "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;; | 
|  | 23705 | "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;; | 
|  | 23706 | "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;; | 
|  | 23707 | "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;; | 
|  | 23708 | "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;; | 
|  | 23709 | "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;; | 
|  | 23710 | "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;; | 
|  | 23711 | "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;; | 
|  | 23712 | "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;; | 
|  | 23713 | "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;; | 
|  | 23714 | "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;; | 
|  | 23715 | "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;; | 
|  | 23716 | "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;; | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 23717 | "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;; | 
|  | 23718 | "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;; | 
|  | 23719 | "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;; | 
|  | 23720 | "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;; | 
|  | 23721 | "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23722 | "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;; | 
|  | 23723 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
|  | 23724 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
|  | 23725 | { (exit 1); exit 1; }; };; | 
|  | 23726 | esac | 
|  | 23727 | done | 
|  | 23728 |  | 
|  | 23729 | # If the user did not use the arguments to specify the items to instantiate, | 
|  | 23730 | # then the envvar interface is used.  Set only those that are not. | 
|  | 23731 | # We use the long form for the default assignment because of an extremely | 
|  | 23732 | # bizarre bug on SunOS 4.1.3. | 
|  | 23733 | if $ac_need_defaults; then | 
|  | 23734 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
|  | 23735 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 23736 | test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23737 | fi | 
|  | 23738 |  | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23739 | # Have a temporary directory for convenience.  Make it in the build tree | 
|  | 23740 | # simply because there is no reason to put it here, and in addition, | 
|  | 23741 | # creating and moving files from /tmp can sometimes cause problems. | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23742 | # Create a temporary directory, and hook for its removal unless debugging. | 
|  | 23743 | $debug || | 
|  | 23744 | { | 
|  | 23745 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
|  | 23746 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
|  | 23747 | } | 
|  | 23748 |  | 
|  | 23749 | # Create a (secure) tmp directory for tmp files. | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23750 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23751 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23752 | tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` && | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23753 | test -n "$tmp" && test -d "$tmp" | 
|  | 23754 | }  || | 
|  | 23755 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23756 | tmp=./confstat$$-$RANDOM | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23757 | (umask 077 && mkdir $tmp) | 
|  | 23758 | } || | 
|  | 23759 | { | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23760 | echo "$me: cannot create a temporary directory in ." >&2 | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23761 | { (exit 1); exit 1; } | 
|  | 23762 | } | 
|  | 23763 |  | 
|  | 23764 | _ACEOF | 
|  | 23765 |  | 
|  | 23766 | cat >>$CONFIG_STATUS <<_ACEOF | 
|  | 23767 |  | 
|  | 23768 | # | 
|  | 23769 | # CONFIG_FILES section. | 
|  | 23770 | # | 
|  | 23771 |  | 
|  | 23772 | # No need to generate the scripts if there are no CONFIG_FILES. | 
|  | 23773 | # This happens for instance when ./config.status config.h | 
|  | 23774 | if test -n "\$CONFIG_FILES"; then | 
|  | 23775 | # Protect against being on the right side of a sed subst in config.status. | 
|  | 23776 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
|  | 23777 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
|  | 23778 | s,@SHELL@,$SHELL,;t t | 
|  | 23779 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
|  | 23780 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
|  | 23781 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
|  | 23782 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
|  | 23783 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
|  | 23784 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
|  | 23785 | s,@exec_prefix@,$exec_prefix,;t t | 
|  | 23786 | s,@prefix@,$prefix,;t t | 
|  | 23787 | s,@program_transform_name@,$program_transform_name,;t t | 
|  | 23788 | s,@bindir@,$bindir,;t t | 
|  | 23789 | s,@sbindir@,$sbindir,;t t | 
|  | 23790 | s,@libexecdir@,$libexecdir,;t t | 
|  | 23791 | s,@datadir@,$datadir,;t t | 
|  | 23792 | s,@sysconfdir@,$sysconfdir,;t t | 
|  | 23793 | s,@sharedstatedir@,$sharedstatedir,;t t | 
|  | 23794 | s,@localstatedir@,$localstatedir,;t t | 
|  | 23795 | s,@libdir@,$libdir,;t t | 
|  | 23796 | s,@includedir@,$includedir,;t t | 
|  | 23797 | s,@oldincludedir@,$oldincludedir,;t t | 
|  | 23798 | s,@infodir@,$infodir,;t t | 
|  | 23799 | s,@mandir@,$mandir,;t t | 
|  | 23800 | s,@build_alias@,$build_alias,;t t | 
|  | 23801 | s,@host_alias@,$host_alias,;t t | 
|  | 23802 | s,@target_alias@,$target_alias,;t t | 
|  | 23803 | s,@DEFS@,$DEFS,;t t | 
|  | 23804 | s,@ECHO_C@,$ECHO_C,;t t | 
|  | 23805 | s,@ECHO_N@,$ECHO_N,;t t | 
|  | 23806 | s,@ECHO_T@,$ECHO_T,;t t | 
|  | 23807 | s,@LIBS@,$LIBS,;t t | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 23808 | s,@subdirs@,$subdirs,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23809 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
|  | 23810 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
|  | 23811 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
|  | 23812 | s,@build@,$build,;t t | 
|  | 23813 | s,@build_cpu@,$build_cpu,;t t | 
|  | 23814 | s,@build_vendor@,$build_vendor,;t t | 
|  | 23815 | s,@build_os@,$build_os,;t t | 
|  | 23816 | s,@host@,$host,;t t | 
|  | 23817 | s,@host_cpu@,$host_cpu,;t t | 
|  | 23818 | s,@host_vendor@,$host_vendor,;t t | 
|  | 23819 | s,@host_os@,$host_os,;t t | 
|  | 23820 | s,@target@,$target,;t t | 
|  | 23821 | s,@target_cpu@,$target_cpu,;t t | 
|  | 23822 | s,@target_vendor@,$target_vendor,;t t | 
|  | 23823 | s,@target_os@,$target_os,;t t | 
|  | 23824 | s,@OS@,$OS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23825 | s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 23826 | s,@ARCH@,$ARCH,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23827 | s,@CXX@,$CXX,;t t | 
|  | 23828 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
|  | 23829 | s,@LDFLAGS@,$LDFLAGS,;t t | 
|  | 23830 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
|  | 23831 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
|  | 23832 | s,@EXEEXT@,$EXEEXT,;t t | 
|  | 23833 | s,@OBJEXT@,$OBJEXT,;t t | 
|  | 23834 | s,@CC@,$CC,;t t | 
|  | 23835 | s,@CFLAGS@,$CFLAGS,;t t | 
|  | 23836 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
|  | 23837 | s,@CPP@,$CPP,;t t | 
|  | 23838 | s,@ifGNUmake@,$ifGNUmake,;t t | 
|  | 23839 | s,@LEX@,$LEX,;t t | 
|  | 23840 | s,@LEXLIB@,$LEXLIB,;t t | 
|  | 23841 | s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | 
|  | 23842 | s,@YACC@,$YACC,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 23843 | s,@EGREP@,$EGREP,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23844 | s,@LN_S@,$LN_S,;t t | 
|  | 23845 | s,@ECHO@,$ECHO,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 23846 | s,@AR@,$AR,;t t | 
|  | 23847 | s,@ac_ct_AR@,$ac_ct_AR,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23848 | s,@RANLIB@,$RANLIB,;t t | 
|  | 23849 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
|  | 23850 | s,@STRIP@,$STRIP,;t t | 
|  | 23851 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
| John Criswell | 47fdd83 | 2003-07-14 16:52:07 +0000 | [diff] [blame] | 23852 | s,@CXXCPP@,$CXXCPP,;t t | 
|  | 23853 | s,@F77@,$F77,;t t | 
|  | 23854 | s,@FFLAGS@,$FFLAGS,;t t | 
|  | 23855 | s,@ac_ct_F77@,$ac_ct_F77,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23856 | s,@LIBTOOL@,$LIBTOOL,;t t | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 23857 | s,@RPWD@,$RPWD,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23858 | s,@SED@,$SED,;t t | 
|  | 23859 | s,@RM@,$RM,;t t | 
|  | 23860 | s,@MKDIR@,$MKDIR,;t t | 
|  | 23861 | s,@DATE@,$DATE,;t t | 
|  | 23862 | s,@MV@,$MV,;t t | 
|  | 23863 | s,@DOT@,$DOT,;t t | 
|  | 23864 | s,@ETAGS@,$ETAGS,;t t | 
| John Criswell | de00db2 | 2003-08-25 16:49:54 +0000 | [diff] [blame] | 23865 | s,@PYTHON@,$PYTHON,;t t | 
|  | 23866 | s,@QMTEST@,$QMTEST,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23867 | s,@ALLOCA@,$ALLOCA,;t t | 
|  | 23868 | s,@LIBOBJS@,$LIBOBJS,;t t | 
|  | 23869 | s,@MMAP_FILE@,$MMAP_FILE,;t t | 
|  | 23870 | s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23871 | s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t | 
|  | 23872 | s,@USE_SPEC@,$USE_SPEC,;t t | 
|  | 23873 | s,@UPB@,$UPB,;t t | 
| John Criswell | f02dbf0 | 2003-07-22 20:07:49 +0000 | [diff] [blame] | 23874 | s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23875 | s,@JIT@,$JIT,;t t | 
|  | 23876 | s,@SPEC_ROOT@,$SPEC_ROOT,;t t | 
|  | 23877 | s,@BCR@,$BCR,;t t | 
|  | 23878 | s,@PAPIDIR@,$PAPIDIR,;t t | 
| John Criswell | ce2141f | 2003-10-02 19:02:30 +0000 | [diff] [blame] | 23879 | s,@PURIFY@,$PURIFY,;t t | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23880 | s,@LTLIBOBJS@,$LTLIBOBJS,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23881 | CEOF | 
|  | 23882 |  | 
|  | 23883 | _ACEOF | 
|  | 23884 |  | 
|  | 23885 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 23886 | # Split the substitutions into bite-sized pieces for seds with | 
|  | 23887 | # small command number limits, like on Digital OSF/1 and HP-UX. | 
|  | 23888 | ac_max_sed_lines=48 | 
|  | 23889 | ac_sed_frag=1 # Number of current file. | 
|  | 23890 | ac_beg=1 # First line for current file. | 
|  | 23891 | ac_end=$ac_max_sed_lines # Line after last line for current file. | 
|  | 23892 | ac_more_lines=: | 
|  | 23893 | ac_sed_cmds= | 
|  | 23894 | while $ac_more_lines; do | 
|  | 23895 | if test $ac_beg -gt 1; then | 
|  | 23896 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|  | 23897 | else | 
|  | 23898 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
|  | 23899 | fi | 
|  | 23900 | if test ! -s $tmp/subs.frag; then | 
|  | 23901 | ac_more_lines=false | 
|  | 23902 | else | 
|  | 23903 | # The purpose of the label and of the branching condition is to | 
|  | 23904 | # speed up the sed processing (if there are no `@' at all, there | 
|  | 23905 | # is no need to browse any of the substitutions). | 
|  | 23906 | # These are the two extra sed commands mentioned above. | 
|  | 23907 | (echo ':t | 
|  | 23908 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
|  | 23909 | if test -z "$ac_sed_cmds"; then | 
|  | 23910 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
|  | 23911 | else | 
|  | 23912 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
|  | 23913 | fi | 
|  | 23914 | ac_sed_frag=`expr $ac_sed_frag + 1` | 
|  | 23915 | ac_beg=$ac_end | 
|  | 23916 | ac_end=`expr $ac_end + $ac_max_sed_lines` | 
|  | 23917 | fi | 
|  | 23918 | done | 
|  | 23919 | if test -z "$ac_sed_cmds"; then | 
|  | 23920 | ac_sed_cmds=cat | 
|  | 23921 | fi | 
|  | 23922 | fi # test -n "$CONFIG_FILES" | 
|  | 23923 |  | 
|  | 23924 | _ACEOF | 
|  | 23925 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 23926 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
|  | 23927 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|  | 23928 | case $ac_file in | 
|  | 23929 | - | *:- | *:-:* ) # input from stdin | 
|  | 23930 | cat >$tmp/stdin | 
|  | 23931 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  | 23932 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  | 23933 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  | 23934 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  | 23935 | * )   ac_file_in=$ac_file.in ;; | 
|  | 23936 | esac | 
|  | 23937 |  | 
|  | 23938 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
|  | 23939 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|  | 23940 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  | 23941 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|  | 23942 | X"$ac_file" : 'X\(//\)$' \| \ | 
|  | 23943 | X"$ac_file" : 'X\(/\)' \| \ | 
|  | 23944 | .     : '\(.\)' 2>/dev/null || | 
|  | 23945 | echo X"$ac_file" | | 
|  | 23946 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  | 23947 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  | 23948 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  | 23949 | /^X\(\/\).*/{ s//\1/; q; } | 
|  | 23950 | s/.*/./; q'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 23951 | { if $as_mkdir_p; then | 
|  | 23952 | mkdir -p "$ac_dir" | 
|  | 23953 | else | 
|  | 23954 | as_dir="$ac_dir" | 
|  | 23955 | as_dirs= | 
|  | 23956 | while test ! -d "$as_dir"; do | 
|  | 23957 | as_dirs="$as_dir $as_dirs" | 
|  | 23958 | as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|  | 23959 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  | 23960 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|  | 23961 | X"$as_dir" : 'X\(//\)$' \| \ | 
|  | 23962 | X"$as_dir" : 'X\(/\)' \| \ | 
|  | 23963 | .     : '\(.\)' 2>/dev/null || | 
|  | 23964 | echo X"$as_dir" | | 
|  | 23965 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  | 23966 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  | 23967 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  | 23968 | /^X\(\/\).*/{ s//\1/; q; } | 
|  | 23969 | s/.*/./; q'` | 
|  | 23970 | done | 
|  | 23971 | test ! -n "$as_dirs" || mkdir $as_dirs | 
|  | 23972 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|  | 23973 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|  | 23974 | { (exit 1); exit 1; }; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 23975 |  | 
|  | 23976 | ac_builddir=. | 
|  | 23977 |  | 
|  | 23978 | if test "$ac_dir" != .; then | 
|  | 23979 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|  | 23980 | # A "../" for each directory in $ac_dir_suffix. | 
|  | 23981 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|  | 23982 | else | 
|  | 23983 | ac_dir_suffix= ac_top_builddir= | 
|  | 23984 | fi | 
|  | 23985 |  | 
|  | 23986 | case $srcdir in | 
|  | 23987 | .)  # No --srcdir option.  We are building in place. | 
|  | 23988 | ac_srcdir=. | 
|  | 23989 | if test -z "$ac_top_builddir"; then | 
|  | 23990 | ac_top_srcdir=. | 
|  | 23991 | else | 
|  | 23992 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|  | 23993 | fi ;; | 
|  | 23994 | [\\/]* | ?:[\\/]* )  # Absolute path. | 
|  | 23995 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|  | 23996 | ac_top_srcdir=$srcdir ;; | 
|  | 23997 | *) # Relative path. | 
|  | 23998 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|  | 23999 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|  | 24000 | esac | 
|  | 24001 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
|  | 24002 | # absolute. | 
|  | 24003 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24004 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24005 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
|  | 24006 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
|  | 24007 |  | 
|  | 24008 |  | 
|  | 24009 | case $INSTALL in | 
|  | 24010 | [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
|  | 24011 | *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
|  | 24012 | esac | 
|  | 24013 |  | 
|  | 24014 | if test x"$ac_file" != x-; then | 
|  | 24015 | { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|  | 24016 | echo "$as_me: creating $ac_file" >&6;} | 
|  | 24017 | rm -f "$ac_file" | 
|  | 24018 | fi | 
|  | 24019 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|  | 24020 | # use $as_me), people would be surprised to read: | 
|  | 24021 | #    /* config.h.  Generated by config.status.  */ | 
|  | 24022 | if test x"$ac_file" = x-; then | 
|  | 24023 | configure_input= | 
|  | 24024 | else | 
|  | 24025 | configure_input="$ac_file.  " | 
|  | 24026 | fi | 
|  | 24027 | configure_input=$configure_input"Generated from `echo $ac_file_in | | 
|  | 24028 | sed 's,.*/,,'` by configure." | 
|  | 24029 |  | 
|  | 24030 | # First look for the input files in the build tree, otherwise in the | 
|  | 24031 | # src tree. | 
|  | 24032 | ac_file_inputs=`IFS=: | 
|  | 24033 | for f in $ac_file_in; do | 
|  | 24034 | case $f in | 
|  | 24035 | -) echo $tmp/stdin ;; | 
|  | 24036 | [\\/$]*) | 
|  | 24037 | # Absolute (can't be DOS-style, as IFS=:) | 
|  | 24038 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|  | 24039 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  | 24040 | { (exit 1); exit 1; }; } | 
|  | 24041 | echo $f;; | 
|  | 24042 | *) # Relative | 
|  | 24043 | if test -f "$f"; then | 
|  | 24044 | # Build tree | 
|  | 24045 | echo $f | 
|  | 24046 | elif test -f "$srcdir/$f"; then | 
|  | 24047 | # Source tree | 
|  | 24048 | echo $srcdir/$f | 
|  | 24049 | else | 
|  | 24050 | # /dev/null tree | 
|  | 24051 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|  | 24052 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  | 24053 | { (exit 1); exit 1; }; } | 
|  | 24054 | fi;; | 
|  | 24055 | esac | 
|  | 24056 | done` || { (exit 1); exit 1; } | 
|  | 24057 | _ACEOF | 
|  | 24058 | cat >>$CONFIG_STATUS <<_ACEOF | 
|  | 24059 | sed "$ac_vpsub | 
|  | 24060 | $extrasub | 
|  | 24061 | _ACEOF | 
|  | 24062 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 24063 | :t | 
|  | 24064 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
|  | 24065 | s,@configure_input@,$configure_input,;t t | 
|  | 24066 | s,@srcdir@,$ac_srcdir,;t t | 
|  | 24067 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
|  | 24068 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
|  | 24069 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
|  | 24070 | s,@builddir@,$ac_builddir,;t t | 
|  | 24071 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
|  | 24072 | s,@top_builddir@,$ac_top_builddir,;t t | 
|  | 24073 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
|  | 24074 | s,@INSTALL@,$ac_INSTALL,;t t | 
|  | 24075 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
|  | 24076 | rm -f $tmp/stdin | 
|  | 24077 | if test x"$ac_file" != x-; then | 
|  | 24078 | mv $tmp/out $ac_file | 
|  | 24079 | else | 
|  | 24080 | cat $tmp/out | 
|  | 24081 | rm -f $tmp/out | 
|  | 24082 | fi | 
|  | 24083 |  | 
|  | 24084 | done | 
|  | 24085 | _ACEOF | 
|  | 24086 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 24087 |  | 
|  | 24088 | # | 
|  | 24089 | # CONFIG_HEADER section. | 
|  | 24090 | # | 
|  | 24091 |  | 
|  | 24092 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
|  | 24093 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
|  | 24094 | # | 
|  | 24095 | # ac_d sets the value in "#define NAME VALUE" lines. | 
|  | 24096 | ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)' | 
|  | 24097 | ac_dB='[ 	].*$,\1#\2' | 
|  | 24098 | ac_dC=' ' | 
|  | 24099 | ac_dD=',;t' | 
|  | 24100 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
|  | 24101 | ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' | 
|  | 24102 | ac_uB='$,\1#\2define\3' | 
|  | 24103 | ac_uC=' ' | 
|  | 24104 | ac_uD=',;t' | 
|  | 24105 |  | 
|  | 24106 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
|  | 24107 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
|  | 24108 | case $ac_file in | 
|  | 24109 | - | *:- | *:-:* ) # input from stdin | 
|  | 24110 | cat >$tmp/stdin | 
|  | 24111 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  | 24112 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  | 24113 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  | 24114 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
|  | 24115 | * )   ac_file_in=$ac_file.in ;; | 
|  | 24116 | esac | 
|  | 24117 |  | 
|  | 24118 | test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
|  | 24119 | echo "$as_me: creating $ac_file" >&6;} | 
|  | 24120 |  | 
|  | 24121 | # First look for the input files in the build tree, otherwise in the | 
|  | 24122 | # src tree. | 
|  | 24123 | ac_file_inputs=`IFS=: | 
|  | 24124 | for f in $ac_file_in; do | 
|  | 24125 | case $f in | 
|  | 24126 | -) echo $tmp/stdin ;; | 
|  | 24127 | [\\/$]*) | 
|  | 24128 | # Absolute (can't be DOS-style, as IFS=:) | 
|  | 24129 | test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|  | 24130 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  | 24131 | { (exit 1); exit 1; }; } | 
|  | 24132 | echo $f;; | 
|  | 24133 | *) # Relative | 
|  | 24134 | if test -f "$f"; then | 
|  | 24135 | # Build tree | 
|  | 24136 | echo $f | 
|  | 24137 | elif test -f "$srcdir/$f"; then | 
|  | 24138 | # Source tree | 
|  | 24139 | echo $srcdir/$f | 
|  | 24140 | else | 
|  | 24141 | # /dev/null tree | 
|  | 24142 | { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
|  | 24143 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
|  | 24144 | { (exit 1); exit 1; }; } | 
|  | 24145 | fi;; | 
|  | 24146 | esac | 
|  | 24147 | done` || { (exit 1); exit 1; } | 
|  | 24148 | # Remove the trailing spaces. | 
|  | 24149 | sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in | 
|  | 24150 |  | 
|  | 24151 | _ACEOF | 
|  | 24152 |  | 
|  | 24153 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
|  | 24154 | # `conftest.undefs', that substitutes the proper values into | 
|  | 24155 | # config.h.in to produce config.h.  The first handles `#define' | 
|  | 24156 | # templates, and the second `#undef' templates. | 
|  | 24157 | # And first: Protect against being on the right side of a sed subst in | 
|  | 24158 | # config.status.  Protect against being in an unquoted here document | 
|  | 24159 | # in config.status. | 
|  | 24160 | rm -f conftest.defines conftest.undefs | 
|  | 24161 | # Using a here document instead of a string reduces the quoting nightmare. | 
|  | 24162 | # Putting comments in sed scripts is not portable. | 
|  | 24163 | # | 
|  | 24164 | # `end' is used to avoid that the second main sed command (meant for | 
|  | 24165 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
|  | 24166 | # See the Autoconf documentation for `clear'. | 
|  | 24167 | cat >confdef2sed.sed <<\_ACEOF | 
|  | 24168 | s/[\\&,]/\\&/g | 
|  | 24169 | s,[\\$`],\\&,g | 
|  | 24170 | t clear | 
|  | 24171 | : clear | 
|  | 24172 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
|  | 24173 | t end | 
|  | 24174 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
|  | 24175 | : end | 
|  | 24176 | _ACEOF | 
|  | 24177 | # If some macros were called several times there might be several times | 
|  | 24178 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
|  | 24179 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
|  | 24180 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
|  | 24181 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
|  | 24182 | rm -f confdef2sed.sed | 
|  | 24183 |  | 
|  | 24184 | # This sed command replaces #undef with comments.  This is necessary, for | 
|  | 24185 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
|  | 24186 | # on some systems where configure will not decide to define it. | 
|  | 24187 | cat >>conftest.undefs <<\_ACEOF | 
|  | 24188 | s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
|  | 24189 | _ACEOF | 
|  | 24190 |  | 
|  | 24191 | # Break up conftest.defines because some shells have a limit on the size | 
|  | 24192 | # of here documents, and old seds have small limits too (100 cmds). | 
|  | 24193 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24194 | echo '  if grep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24195 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
|  | 24196 | echo '  :' >>$CONFIG_STATUS | 
|  | 24197 | rm -f conftest.tail | 
|  | 24198 | while grep . conftest.defines >/dev/null | 
|  | 24199 | do | 
|  | 24200 | # Write a limited-size here document to $tmp/defines.sed. | 
|  | 24201 | echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
|  | 24202 | # Speed up: don't consider the non `#define' lines. | 
|  | 24203 | echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS | 
|  | 24204 | # Work around the forget-to-reset-the-flag bug. | 
|  | 24205 | echo 't clr' >>$CONFIG_STATUS | 
|  | 24206 | echo ': clr' >>$CONFIG_STATUS | 
|  | 24207 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
|  | 24208 | echo 'CEOF | 
|  | 24209 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
|  | 24210 | rm -f $tmp/in | 
|  | 24211 | mv $tmp/out $tmp/in | 
|  | 24212 | ' >>$CONFIG_STATUS | 
|  | 24213 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
|  | 24214 | rm -f conftest.defines | 
|  | 24215 | mv conftest.tail conftest.defines | 
|  | 24216 | done | 
|  | 24217 | rm -f conftest.defines | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24218 | echo '  fi # grep' >>$CONFIG_STATUS | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24219 | echo >>$CONFIG_STATUS | 
|  | 24220 |  | 
|  | 24221 | # Break up conftest.undefs because some shells have a limit on the size | 
|  | 24222 | # of here documents, and old seds have small limits too (100 cmds). | 
|  | 24223 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
|  | 24224 | rm -f conftest.tail | 
|  | 24225 | while grep . conftest.undefs >/dev/null | 
|  | 24226 | do | 
|  | 24227 | # Write a limited-size here document to $tmp/undefs.sed. | 
|  | 24228 | echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
|  | 24229 | # Speed up: don't consider the non `#undef' | 
|  | 24230 | echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS | 
|  | 24231 | # Work around the forget-to-reset-the-flag bug. | 
|  | 24232 | echo 't clr' >>$CONFIG_STATUS | 
|  | 24233 | echo ': clr' >>$CONFIG_STATUS | 
|  | 24234 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
|  | 24235 | echo 'CEOF | 
|  | 24236 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
|  | 24237 | rm -f $tmp/in | 
|  | 24238 | mv $tmp/out $tmp/in | 
|  | 24239 | ' >>$CONFIG_STATUS | 
|  | 24240 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
|  | 24241 | rm -f conftest.undefs | 
|  | 24242 | mv conftest.tail conftest.undefs | 
|  | 24243 | done | 
|  | 24244 | rm -f conftest.undefs | 
|  | 24245 |  | 
|  | 24246 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 24247 | # Let's still pretend it is `configure' which instantiates (i.e., don't | 
|  | 24248 | # use $as_me), people would be surprised to read: | 
|  | 24249 | #    /* config.h.  Generated by config.status.  */ | 
|  | 24250 | if test x"$ac_file" = x-; then | 
|  | 24251 | echo "/* Generated by configure.  */" >$tmp/config.h | 
|  | 24252 | else | 
|  | 24253 | echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
|  | 24254 | fi | 
|  | 24255 | cat $tmp/in >>$tmp/config.h | 
|  | 24256 | rm -f $tmp/in | 
|  | 24257 | if test x"$ac_file" != x-; then | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24258 | if diff $ac_file $tmp/config.h >/dev/null 2>&1; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24259 | { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
|  | 24260 | echo "$as_me: $ac_file is unchanged" >&6;} | 
|  | 24261 | else | 
|  | 24262 | ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
|  | 24263 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  | 24264 | X"$ac_file" : 'X\(//\)[^/]' \| \ | 
|  | 24265 | X"$ac_file" : 'X\(//\)$' \| \ | 
|  | 24266 | X"$ac_file" : 'X\(/\)' \| \ | 
|  | 24267 | .     : '\(.\)' 2>/dev/null || | 
|  | 24268 | echo X"$ac_file" | | 
|  | 24269 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  | 24270 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  | 24271 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  | 24272 | /^X\(\/\).*/{ s//\1/; q; } | 
|  | 24273 | s/.*/./; q'` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24274 | { if $as_mkdir_p; then | 
|  | 24275 | mkdir -p "$ac_dir" | 
|  | 24276 | else | 
|  | 24277 | as_dir="$ac_dir" | 
|  | 24278 | as_dirs= | 
|  | 24279 | while test ! -d "$as_dir"; do | 
|  | 24280 | as_dirs="$as_dir $as_dirs" | 
|  | 24281 | as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|  | 24282 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  | 24283 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|  | 24284 | X"$as_dir" : 'X\(//\)$' \| \ | 
|  | 24285 | X"$as_dir" : 'X\(/\)' \| \ | 
|  | 24286 | .     : '\(.\)' 2>/dev/null || | 
|  | 24287 | echo X"$as_dir" | | 
|  | 24288 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  | 24289 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  | 24290 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  | 24291 | /^X\(\/\).*/{ s//\1/; q; } | 
|  | 24292 | s/.*/./; q'` | 
|  | 24293 | done | 
|  | 24294 | test ! -n "$as_dirs" || mkdir $as_dirs | 
|  | 24295 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|  | 24296 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|  | 24297 | { (exit 1); exit 1; }; }; } | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24298 |  | 
|  | 24299 | rm -f $ac_file | 
|  | 24300 | mv $tmp/config.h $ac_file | 
|  | 24301 | fi | 
|  | 24302 | else | 
|  | 24303 | cat $tmp/config.h | 
|  | 24304 | rm -f $tmp/config.h | 
|  | 24305 | fi | 
|  | 24306 | done | 
|  | 24307 | _ACEOF | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24308 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 24309 |  | 
|  | 24310 | # | 
|  | 24311 | # CONFIG_COMMANDS section. | 
|  | 24312 | # | 
|  | 24313 | for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue | 
|  | 24314 | ac_dest=`echo "$ac_file" | sed 's,:.*,,'` | 
|  | 24315 | ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
|  | 24316 | ac_dir=`(dirname "$ac_dest") 2>/dev/null || | 
|  | 24317 | $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  | 24318 | X"$ac_dest" : 'X\(//\)[^/]' \| \ | 
|  | 24319 | X"$ac_dest" : 'X\(//\)$' \| \ | 
|  | 24320 | X"$ac_dest" : 'X\(/\)' \| \ | 
|  | 24321 | .     : '\(.\)' 2>/dev/null || | 
|  | 24322 | echo X"$ac_dest" | | 
|  | 24323 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  | 24324 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  | 24325 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  | 24326 | /^X\(\/\).*/{ s//\1/; q; } | 
|  | 24327 | s/.*/./; q'` | 
|  | 24328 | ac_builddir=. | 
|  | 24329 |  | 
|  | 24330 | if test "$ac_dir" != .; then | 
|  | 24331 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|  | 24332 | # A "../" for each directory in $ac_dir_suffix. | 
|  | 24333 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|  | 24334 | else | 
|  | 24335 | ac_dir_suffix= ac_top_builddir= | 
|  | 24336 | fi | 
|  | 24337 |  | 
|  | 24338 | case $srcdir in | 
|  | 24339 | .)  # No --srcdir option.  We are building in place. | 
|  | 24340 | ac_srcdir=. | 
|  | 24341 | if test -z "$ac_top_builddir"; then | 
|  | 24342 | ac_top_srcdir=. | 
|  | 24343 | else | 
|  | 24344 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|  | 24345 | fi ;; | 
|  | 24346 | [\\/]* | ?:[\\/]* )  # Absolute path. | 
|  | 24347 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|  | 24348 | ac_top_srcdir=$srcdir ;; | 
|  | 24349 | *) # Relative path. | 
|  | 24350 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|  | 24351 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|  | 24352 | esac | 
|  | 24353 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
|  | 24354 | # absolute. | 
|  | 24355 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24356 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24357 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
|  | 24358 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
|  | 24359 |  | 
|  | 24360 |  | 
|  | 24361 | { echo "$as_me:$LINENO: executing $ac_dest commands" >&5 | 
|  | 24362 | echo "$as_me: executing $ac_dest commands" >&6;} | 
|  | 24363 | case $ac_dest in | 
|  | 24364 | Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;; | 
|  | 24365 | Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;; | 
|  | 24366 | Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;; | 
|  | 24367 | lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;; | 
|  | 24368 | lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;; | 
|  | 24369 | lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;; | 
|  | 24370 | lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;; | 
|  | 24371 | lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;; | 
|  | 24372 | lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;; | 
|  | 24373 | lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;; | 
|  | 24374 | lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;; | 
|  | 24375 | lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;; | 
|  | 24376 | lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;; | 
|  | 24377 | lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;; | 
|  | 24378 | lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;; | 
|  | 24379 | lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;; | 
|  | 24380 | lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24381 | lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;; | 
|  | 24382 | lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;; | 
|  | 24383 | lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;; | 
|  | 24384 | lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;; | 
|  | 24385 | lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24386 | lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;; | 
|  | 24387 | lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;; | 
|  | 24388 | lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;; | 
|  | 24389 | lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;; | 
|  | 24390 | lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;; | 
|  | 24391 | lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;; | 
|  | 24392 | lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;; | 
|  | 24393 | lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;; | 
|  | 24394 | lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;; | 
|  | 24395 | lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;; | 
|  | 24396 | lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;; | 
|  | 24397 | runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;; | 
|  | 24398 | runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;; | 
|  | 24399 | runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;; | 
|  | 24400 | runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24401 | runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24402 | runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;; | 
|  | 24403 | runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;; | 
|  | 24404 | runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;; | 
|  | 24405 | runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24406 | runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24407 | runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24408 | runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;; | 
|  | 24409 | runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24410 | runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;; | 
|  | 24411 | runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;; | 
|  | 24412 | test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;; | 
|  | 24413 | test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;; | 
| John Criswell | 08acb9b | 2003-09-16 02:12:45 +0000 | [diff] [blame] | 24414 | test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24415 | test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;; | 
|  | 24416 | test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;; | 
|  | 24417 | test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;; | 
|  | 24418 | test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;; | 
|  | 24419 | test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;; | 
|  | 24420 | test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;; | 
|  | 24421 | test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;; | 
|  | 24422 | test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;; | 
|  | 24423 | test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;; | 
|  | 24424 | test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;; | 
|  | 24425 | test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;; | 
|  | 24426 | test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;; | 
|  | 24427 | test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;; | 
|  | 24428 | test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;; | 
|  | 24429 | test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;; | 
|  | 24430 | test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;; | 
|  | 24431 | test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;; | 
|  | 24432 | test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;; | 
| John Criswell | 613758d | 2003-09-11 18:03:50 +0000 | [diff] [blame] | 24433 | test/Programs/External/SPEC/Makefile.spec ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile.spec test/Programs/External/SPEC/Makefile.spec ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24434 | test/Programs/External/SPEC/CFP2000/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/Makefile test/Programs/External/SPEC/CFP2000/Makefile ;; | 
|  | 24435 | test/Programs/External/SPEC/CFP2000/179.art/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/179.art/Makefile test/Programs/External/SPEC/CFP2000/179.art/Makefile ;; | 
|  | 24436 | test/Programs/External/SPEC/CFP2000/183.equake/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/183.equake/Makefile test/Programs/External/SPEC/CFP2000/183.equake/Makefile ;; | 
|  | 24437 | test/Programs/External/SPEC/CFP2000/188.ammp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/188.ammp/Makefile test/Programs/External/SPEC/CFP2000/188.ammp/Makefile ;; | 
|  | 24438 | test/Programs/External/SPEC/CINT2000/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/Makefile test/Programs/External/SPEC/CINT2000/Makefile ;; | 
|  | 24439 | test/Programs/External/SPEC/CINT2000/164.gzip/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/164.gzip/Makefile test/Programs/External/SPEC/CINT2000/164.gzip/Makefile ;; | 
|  | 24440 | test/Programs/External/SPEC/CINT2000/175.vpr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/175.vpr/Makefile test/Programs/External/SPEC/CINT2000/175.vpr/Makefile ;; | 
|  | 24441 | test/Programs/External/SPEC/CINT2000/176.gcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/176.gcc/Makefile test/Programs/External/SPEC/CINT2000/176.gcc/Makefile ;; | 
|  | 24442 | test/Programs/External/SPEC/CINT2000/181.mcf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/181.mcf/Makefile test/Programs/External/SPEC/CINT2000/181.mcf/Makefile ;; | 
|  | 24443 | test/Programs/External/SPEC/CINT2000/186.crafty/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/186.crafty/Makefile test/Programs/External/SPEC/CINT2000/186.crafty/Makefile ;; | 
|  | 24444 | test/Programs/External/SPEC/CINT2000/197.parser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/197.parser/Makefile test/Programs/External/SPEC/CINT2000/197.parser/Makefile ;; | 
|  | 24445 | test/Programs/External/SPEC/CINT2000/254.gap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/254.gap/Makefile test/Programs/External/SPEC/CINT2000/254.gap/Makefile ;; | 
|  | 24446 | test/Programs/External/SPEC/CINT2000/255.vortex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/255.vortex/Makefile test/Programs/External/SPEC/CINT2000/255.vortex/Makefile ;; | 
|  | 24447 | test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile ;; | 
|  | 24448 | test/Programs/External/SPEC/CINT2000/300.twolf/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/300.twolf/Makefile test/Programs/External/SPEC/CINT2000/300.twolf/Makefile ;; | 
|  | 24449 | test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;; | 
|  | 24450 | test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;; | 
|  | 24451 | test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24452 | test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;; | 
|  | 24453 | test/Programs/MultiSource/Applications/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Burg/Makefile test/Programs/MultiSource/Applications/Burg/Makefile ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 24454 | test/Programs/MultiSource/Applications/aha/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/aha/Makefile test/Programs/MultiSource/Applications/aha/Makefile ;; | 
|  | 24455 | test/Programs/MultiSource/Applications/sgefa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/sgefa/Makefile test/Programs/MultiSource/Applications/sgefa/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24456 | test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;; | 
|  | 24457 | test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile ;; | 
|  | 24458 | test/Programs/MultiSource/Benchmarks/McCat/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/Makefile test/Programs/MultiSource/Benchmarks/McCat/Makefile ;; | 
|  | 24459 | test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile ;; | 
|  | 24460 | test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile ;; | 
|  | 24461 | test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile ;; | 
|  | 24462 | test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile ;; | 
|  | 24463 | test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile ;; | 
|  | 24464 | test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile ;; | 
|  | 24465 | test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile ;; | 
|  | 24466 | test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile ;; | 
|  | 24467 | test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile ;; | 
|  | 24468 | test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile ;; | 
|  | 24469 | test/Programs/MultiSource/Benchmarks/Olden/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/Makefile test/Programs/MultiSource/Benchmarks/Olden/Makefile ;; | 
|  | 24470 | test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile ;; | 
|  | 24471 | test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile ;; | 
|  | 24472 | test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile ;; | 
|  | 24473 | test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/health/Makefile test/Programs/MultiSource/Benchmarks/Olden/health/Makefile ;; | 
|  | 24474 | test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile ;; | 
|  | 24475 | test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile ;; | 
|  | 24476 | test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/power/Makefile test/Programs/MultiSource/Benchmarks/Olden/power/Makefile ;; | 
|  | 24477 | test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile ;; | 
|  | 24478 | test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile ;; | 
|  | 24479 | test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile ;; | 
| John Criswell | 39e8389 | 2003-09-12 16:36:17 +0000 | [diff] [blame] | 24480 | test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24481 | test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile ;; | 
|  | 24482 | test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile ;; | 
|  | 24483 | test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile ;; | 
|  | 24484 | test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile ;; | 
|  | 24485 | test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile ;; | 
|  | 24486 | test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24487 | test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile ;; | 
| John Criswell | 48e3cb9 | 2003-09-12 16:31:43 +0000 | [diff] [blame] | 24488 | test/Programs/MultiSource/Benchmarks/sim/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/sim/Makefile test/Programs/MultiSource/Benchmarks/sim/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24489 | test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;; | 
|  | 24490 | test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;; | 
|  | 24491 | test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;; | 
|  | 24492 | test/Programs/NoSource/Moria-5.5.2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Moria-5.5.2/Makefile test/Programs/NoSource/Moria-5.5.2/Makefile ;; | 
|  | 24493 | test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24494 | test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;; | 
|  | 24495 | test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;; | 
|  | 24496 | test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;; | 
| John Criswell | ffaaf3b | 2003-09-10 18:38:44 +0000 | [diff] [blame] | 24497 | test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;; | 
|  | 24498 | test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;; | 
|  | 24499 | test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile ;; | 
|  | 24500 | test/Programs/SingleSource/Benchmarks/Shootout/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Shootout/Makefile test/Programs/SingleSource/Benchmarks/Shootout/Makefile ;; | 
|  | 24501 | test/Programs/SingleSource/Benchmarks/Stanford/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Stanford/Makefile test/Programs/SingleSource/Benchmarks/Stanford/Makefile ;; | 
|  | 24502 | test/Programs/SingleSource/Benchmarks/Misc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Misc/Makefile test/Programs/SingleSource/Benchmarks/Misc/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24503 | test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24504 | test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;; | 
| John Criswell | 0afe825 | 2003-09-11 20:53:48 +0000 | [diff] [blame] | 24505 | test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile ;; | 
| John Criswell | 67181ca | 2003-09-26 14:53:17 +0000 | [diff] [blame] | 24506 | test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;; | 
| John Criswell | 68886d4 | 2003-09-26 19:51:42 +0000 | [diff] [blame] | 24507 | test/Programs/SingleSource/Regression/C/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C/Makefile test/Programs/SingleSource/Regression/C/Makefile ;; | 
|  | 24508 | test/Programs/SingleSource/Regression/C++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;; | 
| John Criswell | c66bbd5 | 2003-09-29 21:35:32 +0000 | [diff] [blame] | 24509 | test/Programs/SingleSource/Regression/C++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24510 | tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;; | 
|  | 24511 | tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24512 | tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24513 | tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;; | 
|  | 24514 | tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;; | 
|  | 24515 | tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24516 | tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24517 | tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24518 | tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;; | 
| Chris Lattner | ebd7030 | 2003-09-13 03:29:53 +0000 | [diff] [blame] | 24519 | tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24520 | tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24521 | tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;; | 
| John Criswell | ddb7b4e | 2003-09-16 15:54:19 +0000 | [diff] [blame] | 24522 | tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;; | 
|  | 24523 | tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24524 | www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;; | 
|  | 24525 | projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;; | 
|  | 24526 | projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;; | 
|  | 24527 | projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;; | 
|  | 24528 | projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;; | 
|  | 24529 | projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;; | 
|  | 24530 | projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;; | 
|  | 24531 | projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;; | 
|  | 24532 | projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;; | 
|  | 24533 | projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;; | 
|  | 24534 | projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;; | 
|  | 24535 | projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;; | 
|  | 24536 | projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;; | 
| Chris Lattner | 9bf6239 | 2003-10-06 02:13:00 +0000 | [diff] [blame^] | 24537 | lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;; | 
|  | 24538 | utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;; | 
|  | 24539 | utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;; | 
|  | 24540 | utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;; | 
|  | 24541 | utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;; | 
| John Criswell | c764fbc | 2003-09-06 15:17:13 +0000 | [diff] [blame] | 24542 | esac | 
|  | 24543 | done | 
|  | 24544 | _ACEOF | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24545 |  | 
|  | 24546 | cat >>$CONFIG_STATUS <<\_ACEOF | 
|  | 24547 |  | 
|  | 24548 | { (exit 0); exit 0; } | 
|  | 24549 | _ACEOF | 
|  | 24550 | chmod +x $CONFIG_STATUS | 
|  | 24551 | ac_clean_files=$ac_clean_files_save | 
|  | 24552 |  | 
|  | 24553 |  | 
|  | 24554 | # configure is writing to config.log, and then calls config.status. | 
|  | 24555 | # config.status does its own redirection, appending to config.log. | 
|  | 24556 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
|  | 24557 | # by configure, so config.status won't be able to write to it; its | 
|  | 24558 | # output is simply discarded.  So we exec the FD to /dev/null, | 
|  | 24559 | # effectively closing config.log, so it can be properly (re)opened and | 
|  | 24560 | # appended to by config.status.  When coming back to configure, we | 
|  | 24561 | # need to make the FD available again. | 
|  | 24562 | if test "$no_create" != yes; then | 
|  | 24563 | ac_cs_success=: | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24564 | ac_config_status_args= | 
|  | 24565 | test "$silent" = yes && | 
|  | 24566 | ac_config_status_args="$ac_config_status_args --quiet" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24567 | exec 5>/dev/null | 
| John Criswell | 0c38eaf | 2003-09-10 15:17:25 +0000 | [diff] [blame] | 24568 | $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 24569 | exec 5>>config.log | 
|  | 24570 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
|  | 24571 | # would make configure fail if this is the last instruction. | 
|  | 24572 | $ac_cs_success || { (exit 1); exit 1; } | 
|  | 24573 | fi | 
|  | 24574 |  | 
| John Criswell | 12399a1 | 2003-09-30 15:55:44 +0000 | [diff] [blame] | 24575 | # | 
|  | 24576 | # CONFIG_SUBDIRS section. | 
|  | 24577 | # | 
|  | 24578 | if test "$no_recursion" != yes; then | 
|  | 24579 |  | 
|  | 24580 | # Remove --cache-file and --srcdir arguments so they do not pile up. | 
|  | 24581 | ac_sub_configure_args= | 
|  | 24582 | ac_prev= | 
|  | 24583 | for ac_arg in $ac_configure_args; do | 
|  | 24584 | if test -n "$ac_prev"; then | 
|  | 24585 | ac_prev= | 
|  | 24586 | continue | 
|  | 24587 | fi | 
|  | 24588 | case $ac_arg in | 
|  | 24589 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
|  | 24590 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
|  | 24591 | ac_prev=cache_file ;; | 
|  | 24592 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
|  | 24593 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | 
|  | 24594 | | --c=*) | 
|  | 24595 | ;; | 
|  | 24596 | --config-cache | -C) | 
|  | 24597 | ;; | 
|  | 24598 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
|  | 24599 | ac_prev=srcdir ;; | 
|  | 24600 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
|  | 24601 | ;; | 
|  | 24602 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
|  | 24603 | ac_prev=prefix ;; | 
|  | 24604 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
|  | 24605 | ;; | 
|  | 24606 | *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; | 
|  | 24607 | esac | 
|  | 24608 | done | 
|  | 24609 |  | 
|  | 24610 | # Always prepend --prefix to ensure using the same prefix | 
|  | 24611 | # in subdir configurations. | 
|  | 24612 | ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" | 
|  | 24613 |  | 
|  | 24614 | ac_popdir=`pwd` | 
|  | 24615 | for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | 
|  | 24616 |  | 
|  | 24617 | # Do not complain, so a configure script can configure whichever | 
|  | 24618 | # parts of a large source tree are present. | 
|  | 24619 | test -d $srcdir/$ac_dir || continue | 
|  | 24620 |  | 
|  | 24621 | { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 | 
|  | 24622 | echo "$as_me: configuring in $ac_dir" >&6;} | 
|  | 24623 | { if $as_mkdir_p; then | 
|  | 24624 | mkdir -p "$ac_dir" | 
|  | 24625 | else | 
|  | 24626 | as_dir="$ac_dir" | 
|  | 24627 | as_dirs= | 
|  | 24628 | while test ! -d "$as_dir"; do | 
|  | 24629 | as_dirs="$as_dir $as_dirs" | 
|  | 24630 | as_dir=`(dirname "$as_dir") 2>/dev/null || | 
|  | 24631 | $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
|  | 24632 | X"$as_dir" : 'X\(//\)[^/]' \| \ | 
|  | 24633 | X"$as_dir" : 'X\(//\)$' \| \ | 
|  | 24634 | X"$as_dir" : 'X\(/\)' \| \ | 
|  | 24635 | .     : '\(.\)' 2>/dev/null || | 
|  | 24636 | echo X"$as_dir" | | 
|  | 24637 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
|  | 24638 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
|  | 24639 | /^X\(\/\/\)$/{ s//\1/; q; } | 
|  | 24640 | /^X\(\/\).*/{ s//\1/; q; } | 
|  | 24641 | s/.*/./; q'` | 
|  | 24642 | done | 
|  | 24643 | test ! -n "$as_dirs" || mkdir $as_dirs | 
|  | 24644 | fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5 | 
|  | 24645 | echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;} | 
|  | 24646 | { (exit 1); exit 1; }; }; } | 
|  | 24647 |  | 
|  | 24648 | ac_builddir=. | 
|  | 24649 |  | 
|  | 24650 | if test "$ac_dir" != .; then | 
|  | 24651 | ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
|  | 24652 | # A "../" for each directory in $ac_dir_suffix. | 
|  | 24653 | ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
|  | 24654 | else | 
|  | 24655 | ac_dir_suffix= ac_top_builddir= | 
|  | 24656 | fi | 
|  | 24657 |  | 
|  | 24658 | case $srcdir in | 
|  | 24659 | .)  # No --srcdir option.  We are building in place. | 
|  | 24660 | ac_srcdir=. | 
|  | 24661 | if test -z "$ac_top_builddir"; then | 
|  | 24662 | ac_top_srcdir=. | 
|  | 24663 | else | 
|  | 24664 | ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
|  | 24665 | fi ;; | 
|  | 24666 | [\\/]* | ?:[\\/]* )  # Absolute path. | 
|  | 24667 | ac_srcdir=$srcdir$ac_dir_suffix; | 
|  | 24668 | ac_top_srcdir=$srcdir ;; | 
|  | 24669 | *) # Relative path. | 
|  | 24670 | ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
|  | 24671 | ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
|  | 24672 | esac | 
|  | 24673 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
|  | 24674 | # absolute. | 
|  | 24675 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
|  | 24676 | ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd` | 
|  | 24677 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
|  | 24678 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
|  | 24679 |  | 
|  | 24680 |  | 
|  | 24681 | cd $ac_dir | 
|  | 24682 |  | 
|  | 24683 | # Check for guested configure; otherwise get Cygnus style configure. | 
|  | 24684 | if test -f $ac_srcdir/configure.gnu; then | 
|  | 24685 | ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" | 
|  | 24686 | elif test -f $ac_srcdir/configure; then | 
|  | 24687 | ac_sub_configure="$SHELL '$ac_srcdir/configure'" | 
|  | 24688 | elif test -f $ac_srcdir/configure.in; then | 
|  | 24689 | ac_sub_configure=$ac_configure | 
|  | 24690 | else | 
|  | 24691 | { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 | 
|  | 24692 | echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | 
|  | 24693 | ac_sub_configure= | 
|  | 24694 | fi | 
|  | 24695 |  | 
|  | 24696 | # The recursion is here. | 
|  | 24697 | if test -n "$ac_sub_configure"; then | 
|  | 24698 | # Make the cache file name correct relative to the subdirectory. | 
|  | 24699 | case $cache_file in | 
|  | 24700 | [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | 
|  | 24701 | *) # Relative path. | 
|  | 24702 | ac_sub_cache_file=$ac_top_builddir$cache_file ;; | 
|  | 24703 | esac | 
|  | 24704 |  | 
|  | 24705 | { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | 
|  | 24706 | echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | 
|  | 24707 | # The eval makes quoting arguments work. | 
|  | 24708 | eval $ac_sub_configure $ac_sub_configure_args \ | 
|  | 24709 | --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir || | 
|  | 24710 | { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5 | 
|  | 24711 | echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;} | 
|  | 24712 | { (exit 1); exit 1; }; } | 
|  | 24713 | fi | 
|  | 24714 |  | 
|  | 24715 | cd $ac_popdir | 
|  | 24716 | done | 
|  | 24717 | fi | 
|  | 24718 |  |