| 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. | 
 | 3 | # Generated by GNU Autoconf 2.53 for [LLVM] [1.0]. | 
 | 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. | 
 | 11 |  | 
 | 12 | # Find the correct PATH separator.  Usually this is `:', but | 
 | 13 | # DJGPP uses `;' like DOS. | 
 | 14 | if test "X${PATH_SEPARATOR+set}" != Xset; then | 
 | 15 |   UNAME=${UNAME-`uname 2>/dev/null`} | 
 | 16 |   case X$UNAME in | 
 | 17 |     *-DOS) lt_cv_sys_path_separator=';' ;; | 
 | 18 |     *)     lt_cv_sys_path_separator=':' ;; | 
 | 19 |   esac | 
 | 20 |   PATH_SEPARATOR=$lt_cv_sys_path_separator | 
 | 21 | fi | 
 | 22 |  | 
 | 23 |  | 
 | 24 | # Check that we are running under the correct shell. | 
 | 25 | SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 26 |  | 
 | 27 | case X$ECHO in | 
 | 28 | X*--fallback-echo) | 
 | 29 |   # Remove one level of quotation (which was required for Make). | 
 | 30 |   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','` | 
 | 31 |   ;; | 
 | 32 | esac | 
 | 33 |  | 
 | 34 | echo=${ECHO-echo} | 
 | 35 | if test "X$1" = X--no-reexec; then | 
 | 36 |   # Discard the --no-reexec flag, and continue. | 
 | 37 |   shift | 
 | 38 | elif test "X$1" = X--fallback-echo; then | 
 | 39 |   # Avoid inline document here, it may be left over | 
 | 40 |   : | 
 | 41 | elif test "X`($echo '\t') 2>/dev/null`" = 'X\t'; then | 
 | 42 |   # Yippee, $echo works! | 
 | 43 |   : | 
 | 44 | else | 
 | 45 |   # Restart under the correct shell. | 
 | 46 |   exec $SHELL "$0" --no-reexec ${1+"$@"} | 
 | 47 | fi | 
 | 48 |  | 
 | 49 | if test "X$1" = X--fallback-echo; then | 
 | 50 |   # used as fallback echo | 
 | 51 |   shift | 
 | 52 |   cat <<EOF | 
 | 53 |  | 
 | 54 | EOF | 
 | 55 |   exit 0 | 
 | 56 | fi | 
 | 57 |  | 
 | 58 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
 | 59 | # if CDPATH is set. | 
 | 60 | if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
 | 61 |  | 
 | 62 | if test -z "$ECHO"; then | 
 | 63 | if test "X${echo_test_string+set}" != Xset; then | 
 | 64 | # find a string as large as possible, as long as the shell can cope with it | 
 | 65 |   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do | 
 | 66 |     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ... | 
 | 67 |     if (echo_test_string="`eval $cmd`") 2>/dev/null && | 
 | 68 |        echo_test_string="`eval $cmd`" && | 
 | 69 |        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null | 
 | 70 |     then | 
 | 71 |       break | 
 | 72 |     fi | 
 | 73 |   done | 
 | 74 | fi | 
 | 75 |  | 
 | 76 | if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 77 |    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
 | 78 |    test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 79 |   : | 
 | 80 | else | 
 | 81 |   # The Solaris, AIX, and Digital Unix default echo programs unquote | 
 | 82 |   # backslashes.  This makes it impossible to quote backslashes using | 
 | 83 |   #   echo "$something" | sed 's/\\/\\\\/g' | 
 | 84 |   # | 
 | 85 |   # So, first we look for a working echo in the user's PATH. | 
 | 86 |  | 
 | 87 |   IFS="${IFS= 	}"; save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 88 |   for dir in $PATH /usr/ucb; do | 
 | 89 |     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) && | 
 | 90 |        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 91 |        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` && | 
 | 92 |        test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 93 |       echo="$dir/echo" | 
 | 94 |       break | 
 | 95 |     fi | 
 | 96 |   done | 
 | 97 |   IFS="$save_ifs" | 
 | 98 |  | 
 | 99 |   if test "X$echo" = Xecho; then | 
 | 100 |     # We didn't find a better echo, so look for alternatives. | 
 | 101 |     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' && | 
 | 102 |        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` && | 
 | 103 |        test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 104 |       # This shell has a builtin print -r that does the trick. | 
 | 105 |       echo='print -r' | 
 | 106 |     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) && | 
 | 107 | 	 test "X$CONFIG_SHELL" != X/bin/ksh; then | 
 | 108 |       # If we have ksh, try running configure again with it. | 
 | 109 |       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 110 |       export ORIGINAL_CONFIG_SHELL | 
 | 111 |       CONFIG_SHELL=/bin/ksh | 
 | 112 |       export CONFIG_SHELL | 
 | 113 |       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"} | 
 | 114 |     else | 
 | 115 |       # Try using printf. | 
 | 116 |       echo='printf %s\n' | 
 | 117 |       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' && | 
 | 118 | 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` && | 
 | 119 | 	 test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 120 | 	# Cool, printf works | 
 | 121 | 	: | 
 | 122 |       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
 | 123 | 	   test "X$echo_testing_string" = 'X\t' && | 
 | 124 | 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
 | 125 | 	   test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 126 | 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL | 
 | 127 | 	export CONFIG_SHELL | 
 | 128 | 	SHELL="$CONFIG_SHELL" | 
 | 129 | 	export SHELL | 
 | 130 | 	echo="$CONFIG_SHELL $0 --fallback-echo" | 
 | 131 |       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` && | 
 | 132 | 	   test "X$echo_testing_string" = 'X\t' && | 
 | 133 | 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` && | 
 | 134 | 	   test "X$echo_testing_string" = "X$echo_test_string"; then | 
 | 135 | 	echo="$CONFIG_SHELL $0 --fallback-echo" | 
 | 136 |       else | 
 | 137 | 	# maybe with a smaller string... | 
 | 138 | 	prev=: | 
 | 139 |  | 
 | 140 | 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do | 
 | 141 | 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null | 
 | 142 | 	  then | 
 | 143 | 	    break | 
 | 144 | 	  fi | 
 | 145 | 	  prev="$cmd" | 
 | 146 | 	done | 
 | 147 |  | 
 | 148 | 	if test "$prev" != 'sed 50q "$0"'; then | 
 | 149 | 	  echo_test_string=`eval $prev` | 
 | 150 | 	  export echo_test_string | 
 | 151 | 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"} | 
 | 152 | 	else | 
 | 153 | 	  # Oops.  We lost completely, so just stick with echo. | 
 | 154 | 	  echo=echo | 
 | 155 | 	fi | 
 | 156 |       fi | 
 | 157 |     fi | 
 | 158 |   fi | 
 | 159 | fi | 
 | 160 | fi | 
 | 161 |  | 
 | 162 | # Copy echo and quote the copy suitably for passing to libtool from | 
 | 163 | # the Makefile, instead of quoting the original, which is used later. | 
 | 164 | ECHO=$echo | 
 | 165 | if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then | 
 | 166 |    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo" | 
 | 167 | fi | 
 | 168 |  | 
 | 169 |  | 
 | 170 |  | 
 | 171 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 172 |   as_expr=expr | 
 | 173 | else | 
 | 174 |   as_expr=false | 
 | 175 | fi | 
 | 176 |  | 
 | 177 |  | 
 | 178 | ## --------------------- ## | 
 | 179 | ## M4sh Initialization.  ## | 
 | 180 | ## --------------------- ## | 
 | 181 |  | 
 | 182 | # Be Bourne compatible | 
 | 183 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
 | 184 |   emulate sh | 
 | 185 |   NULLCMD=: | 
 | 186 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
 | 187 |   set -o posix | 
 | 188 | fi | 
 | 189 |  | 
 | 190 | # NLS nuisances. | 
 | 191 | # Support unset when possible. | 
 | 192 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
 | 193 |   as_unset=unset | 
 | 194 | else | 
 | 195 |   as_unset=false | 
 | 196 | fi | 
 | 197 |  | 
 | 198 | (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 
 | 199 |     { $as_unset LANG || test "${LANG+set}" != set; } || | 
 | 200 |       { LANG=C; export LANG; } | 
 | 201 | (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | 
 | 202 |     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | 
 | 203 |       { LC_ALL=C; export LC_ALL; } | 
 | 204 | (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | 
 | 205 |     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | 
 | 206 |       { LC_TIME=C; export LC_TIME; } | 
 | 207 | (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | 
 | 208 |     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | 
 | 209 |       { LC_CTYPE=C; export LC_CTYPE; } | 
 | 210 | (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | 
 | 211 |     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | 
 | 212 |       { LANGUAGE=C; export LANGUAGE; } | 
 | 213 | (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | 
 | 214 |     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | 
 | 215 |       { LC_COLLATE=C; export LC_COLLATE; } | 
 | 216 | (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | 
 | 217 |     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | 
 | 218 |       { LC_NUMERIC=C; export LC_NUMERIC; } | 
 | 219 | (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | 
 | 220 |     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | 
 | 221 |       { LC_MESSAGES=C; export LC_MESSAGES; } | 
 | 222 |  | 
 | 223 |  | 
 | 224 | # Name of the executable. | 
 | 225 | as_me=`(basename "$0") 2>/dev/null || | 
 | 226 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
 | 227 | 	 X"$0" : 'X\(//\)$' \| \ | 
 | 228 | 	 X"$0" : 'X\(/\)$' \| \ | 
 | 229 | 	 .     : '\(.\)' 2>/dev/null || | 
 | 230 | echo X/"$0" | | 
 | 231 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
 | 232 |   	  /^X\/\(\/\/\)$/{ s//\1/; q; } | 
 | 233 |   	  /^X\/\(\/\).*/{ s//\1/; q; } | 
 | 234 |   	  s/.*/./; q'` | 
 | 235 |  | 
 | 236 | # PATH needs CR, and LINENO needs CR and PATH. | 
 | 237 | # Avoid depending upon Character Ranges. | 
 | 238 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
 | 239 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
 | 240 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
 | 241 | as_cr_digits='0123456789' | 
 | 242 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
 | 243 |  | 
 | 244 | # The user is always right. | 
 | 245 | if test "${PATH_SEPARATOR+set}" != set; then | 
 | 246 |   echo "#! /bin/sh" >conftest.sh | 
 | 247 |   echo  "exit 0"   >>conftest.sh | 
 | 248 |   chmod +x conftest.sh | 
 | 249 |   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 
 | 250 |     PATH_SEPARATOR=';' | 
 | 251 |   else | 
 | 252 |     PATH_SEPARATOR=: | 
 | 253 |   fi | 
 | 254 |   rm -f conftest.sh | 
 | 255 | fi | 
 | 256 |  | 
 | 257 |  | 
 | 258 |   as_lineno_1=$LINENO | 
 | 259 |   as_lineno_2=$LINENO | 
 | 260 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 261 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 262 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
 | 263 |   # Find who we are.  Look in the path if we contain no path at all | 
 | 264 |   # relative or not. | 
 | 265 |   case $0 in | 
 | 266 |     *[\\/]* ) as_myself=$0 ;; | 
 | 267 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 268 | for as_dir in $PATH | 
 | 269 | do | 
 | 270 |   IFS=$as_save_IFS | 
 | 271 |   test -z "$as_dir" && as_dir=. | 
 | 272 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
 | 273 | done | 
 | 274 |  | 
 | 275 |        ;; | 
 | 276 |   esac | 
 | 277 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
 | 278 |   # in which case we are not to be found in the path. | 
 | 279 |   if test "x$as_myself" = x; then | 
 | 280 |     as_myself=$0 | 
 | 281 |   fi | 
 | 282 |   if test ! -f "$as_myself"; then | 
 | 283 |     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 | 
 | 284 |    { (exit 1); exit 1; }; } | 
 | 285 |   fi | 
 | 286 |   case $CONFIG_SHELL in | 
 | 287 |   '') | 
 | 288 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 289 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
 | 290 | do | 
 | 291 |   IFS=$as_save_IFS | 
 | 292 |   test -z "$as_dir" && as_dir=. | 
 | 293 |   for as_base in sh bash ksh sh5; do | 
 | 294 | 	 case $as_dir in | 
 | 295 | 	 /*) | 
 | 296 | 	   if ("$as_dir/$as_base" -c ' | 
 | 297 |   as_lineno_1=$LINENO | 
 | 298 |   as_lineno_2=$LINENO | 
 | 299 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 300 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 301 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
 | 302 | 	     CONFIG_SHELL=$as_dir/$as_base | 
 | 303 | 	     export CONFIG_SHELL | 
 | 304 | 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
 | 305 | 	   fi;; | 
 | 306 | 	 esac | 
 | 307 |        done | 
 | 308 | done | 
 | 309 | ;; | 
 | 310 |   esac | 
 | 311 |  | 
 | 312 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
 | 313 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
 | 314 |   # line-number line before each line; the second 'sed' does the real | 
 | 315 |   # work.  The second script uses 'N' to pair each line-number line | 
 | 316 |   # with the numbered line, and appends trailing '-' during | 
 | 317 |   # substitution so that $LINENO is not a special case at line end. | 
 | 318 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
 | 319 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
 | 320 |   sed '=' <$as_myself | | 
 | 321 |     sed ' | 
 | 322 |       N | 
 | 323 |       s,$,-, | 
 | 324 |       : loop | 
 | 325 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
 | 326 |       t loop | 
 | 327 |       s,-$,, | 
 | 328 |       s,^['$as_cr_digits']*\n,, | 
 | 329 |     ' >$as_me.lineno && | 
 | 330 |   chmod +x $as_me.lineno || | 
 | 331 |     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 | 
 | 332 |    { (exit 1); exit 1; }; } | 
 | 333 |  | 
 | 334 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
 | 335 |   # (the dirname of $[0] is not the place where we might find the | 
 | 336 |   # original and so on.  Autoconf is especially sensible to this). | 
 | 337 |   . ./$as_me.lineno | 
 | 338 |   # Exit status is that of the last command. | 
 | 339 |   exit | 
 | 340 | } | 
 | 341 |  | 
 | 342 |  | 
 | 343 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
 | 344 |   *c*,-n*) ECHO_N= ECHO_C=' | 
 | 345 | ' ECHO_T='	' ;; | 
 | 346 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
 | 347 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
 | 348 | esac | 
 | 349 |  | 
 | 350 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 351 |   as_expr=expr | 
 | 352 | else | 
 | 353 |   as_expr=false | 
 | 354 | fi | 
 | 355 |  | 
 | 356 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 357 | echo >conf$$.file | 
 | 358 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
 | 359 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
 | 360 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
 | 361 |   if test -f conf$$.exe; then | 
 | 362 |     # Don't use ln at all; we don't have any links | 
 | 363 |     as_ln_s='cp -p' | 
 | 364 |   else | 
 | 365 |     as_ln_s='ln -s' | 
 | 366 |   fi | 
 | 367 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
 | 368 |   as_ln_s=ln | 
 | 369 | else | 
 | 370 |   as_ln_s='cp -p' | 
 | 371 | fi | 
 | 372 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 373 |  | 
 | 374 | as_executable_p="test -f" | 
 | 375 |  | 
 | 376 | # Sed expression to map a string onto a valid CPP name. | 
 | 377 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
 | 378 |  | 
 | 379 | # Sed expression to map a string onto a valid variable name. | 
 | 380 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
 | 381 |  | 
 | 382 |  | 
 | 383 | # IFS | 
 | 384 | # We need space, tab and new line, in precisely that order. | 
 | 385 | as_nl=' | 
 | 386 | ' | 
 | 387 | IFS=" 	$as_nl" | 
 | 388 |  | 
 | 389 | # CDPATH. | 
 | 390 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | 
 | 391 |  | 
 | 392 |  | 
 | 393 | # Name of the host. | 
 | 394 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | 
 | 395 | # so uname gets run too. | 
 | 396 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
 | 397 |  | 
 | 398 | exec 6>&1 | 
 | 399 |  | 
 | 400 | # | 
 | 401 | # Initializations. | 
 | 402 | # | 
 | 403 | ac_default_prefix=/usr/local | 
 | 404 | cross_compiling=no | 
 | 405 | subdirs= | 
 | 406 | MFLAGS= | 
 | 407 | MAKEFLAGS= | 
 | 408 | SHELL=${CONFIG_SHELL-/bin/sh} | 
 | 409 |  | 
 | 410 | # Maximum number of lines to put in a shell here document. | 
 | 411 | # This variable seems obsolete.  It should probably be removed, and | 
 | 412 | # only ac_max_sed_lines should be used. | 
 | 413 | : ${ac_max_here_lines=38} | 
 | 414 |  | 
 | 415 | # Identity of this package. | 
 | 416 | PACKAGE_NAME='[LLVM]' | 
 | 417 | PACKAGE_TARNAME='--llvm--' | 
 | 418 | PACKAGE_VERSION='[1.0]' | 
 | 419 | PACKAGE_STRING='[LLVM] [1.0]' | 
 | 420 | PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu' | 
 | 421 |  | 
 | 422 | # Factoring default headers for most tests. | 
 | 423 | ac_includes_default="\ | 
 | 424 | #include <stdio.h> | 
 | 425 | #if HAVE_SYS_TYPES_H | 
 | 426 | # include <sys/types.h> | 
 | 427 | #endif | 
 | 428 | #if HAVE_SYS_STAT_H | 
 | 429 | # include <sys/stat.h> | 
 | 430 | #endif | 
 | 431 | #if STDC_HEADERS | 
 | 432 | # include <stdlib.h> | 
 | 433 | # include <stddef.h> | 
 | 434 | #else | 
 | 435 | # if HAVE_STDLIB_H | 
 | 436 | #  include <stdlib.h> | 
 | 437 | # endif | 
 | 438 | #endif | 
 | 439 | #if HAVE_STRING_H | 
 | 440 | # if !STDC_HEADERS && HAVE_MEMORY_H | 
 | 441 | #  include <memory.h> | 
 | 442 | # endif | 
 | 443 | # include <string.h> | 
 | 444 | #endif | 
 | 445 | #if HAVE_STRINGS_H | 
 | 446 | # include <strings.h> | 
 | 447 | #endif | 
 | 448 | #if HAVE_INTTYPES_H | 
 | 449 | # include <inttypes.h> | 
 | 450 | #else | 
 | 451 | # if HAVE_STDINT_H | 
 | 452 | #  include <stdint.h> | 
 | 453 | # endif | 
 | 454 | #endif | 
 | 455 | #if HAVE_UNISTD_H | 
 | 456 | # include <unistd.h> | 
 | 457 | #endif" | 
 | 458 |  | 
 | 459 | ac_unique_file=""Makefile.config.in"" | 
 | 460 |  | 
 | 461 | # Initialize some variables set by options. | 
 | 462 | ac_init_help= | 
 | 463 | ac_init_version=false | 
 | 464 | # The variables have the same names as the options, with | 
 | 465 | # dashes changed to underlines. | 
 | 466 | cache_file=/dev/null | 
 | 467 | exec_prefix=NONE | 
 | 468 | no_create= | 
 | 469 | no_recursion= | 
 | 470 | prefix=NONE | 
 | 471 | program_prefix=NONE | 
 | 472 | program_suffix=NONE | 
 | 473 | program_transform_name=s,x,x, | 
 | 474 | silent= | 
 | 475 | site= | 
 | 476 | srcdir= | 
 | 477 | verbose= | 
 | 478 | x_includes=NONE | 
 | 479 | x_libraries=NONE | 
 | 480 |  | 
 | 481 | # Installation directory options. | 
 | 482 | # These are left unexpanded so users can "make install exec_prefix=/foo" | 
 | 483 | # and all the variables that are supposed to be based on exec_prefix | 
 | 484 | # by default will actually change. | 
 | 485 | # Use braces instead of parens because sh, perl, etc. also accept them. | 
 | 486 | bindir='${exec_prefix}/bin' | 
 | 487 | sbindir='${exec_prefix}/sbin' | 
 | 488 | libexecdir='${exec_prefix}/libexec' | 
 | 489 | datadir='${prefix}/share' | 
 | 490 | sysconfdir='${prefix}/etc' | 
 | 491 | sharedstatedir='${prefix}/com' | 
 | 492 | localstatedir='${prefix}/var' | 
 | 493 | libdir='${exec_prefix}/lib' | 
 | 494 | includedir='${prefix}/include' | 
 | 495 | oldincludedir='/usr/include' | 
 | 496 | infodir='${prefix}/info' | 
 | 497 | mandir='${prefix}/man' | 
 | 498 |  | 
 | 499 | ac_prev= | 
 | 500 | for ac_option | 
 | 501 | do | 
 | 502 |   # If the previous option needs an argument, assign it. | 
 | 503 |   if test -n "$ac_prev"; then | 
 | 504 |     eval "$ac_prev=\$ac_option" | 
 | 505 |     ac_prev= | 
 | 506 |     continue | 
 | 507 |   fi | 
 | 508 |  | 
 | 509 |   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` | 
 | 510 |  | 
 | 511 |   # Accept the important Cygnus configure options, so we can diagnose typos. | 
 | 512 |  | 
 | 513 |   case $ac_option in | 
 | 514 |  | 
 | 515 |   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
 | 516 |     ac_prev=bindir ;; | 
 | 517 |   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
 | 518 |     bindir=$ac_optarg ;; | 
 | 519 |  | 
 | 520 |   -build | --build | --buil | --bui | --bu) | 
 | 521 |     ac_prev=build_alias ;; | 
 | 522 |   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
 | 523 |     build_alias=$ac_optarg ;; | 
 | 524 |  | 
 | 525 |   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
 | 526 |   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
 | 527 |     ac_prev=cache_file ;; | 
 | 528 |   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
 | 529 |   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
 | 530 |     cache_file=$ac_optarg ;; | 
 | 531 |  | 
 | 532 |   --config-cache | -C) | 
 | 533 |     cache_file=config.cache ;; | 
 | 534 |  | 
 | 535 |   -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | 
 | 536 |     ac_prev=datadir ;; | 
 | 537 |   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | 
 | 538 |   | --da=*) | 
 | 539 |     datadir=$ac_optarg ;; | 
 | 540 |  | 
 | 541 |   -disable-* | --disable-*) | 
 | 542 |     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
 | 543 |     # Reject names that are not valid shell variable names. | 
 | 544 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 545 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 546 |    { (exit 1); exit 1; }; } | 
 | 547 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 548 |     eval "enable_$ac_feature=no" ;; | 
 | 549 |  | 
 | 550 |   -enable-* | --enable-*) | 
 | 551 |     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
 | 552 |     # Reject names that are not valid shell variable names. | 
 | 553 |     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 554 |       { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | 
 | 555 |    { (exit 1); exit 1; }; } | 
 | 556 |     ac_feature=`echo $ac_feature | sed 's/-/_/g'` | 
 | 557 |     case $ac_option in | 
 | 558 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 559 |       *) ac_optarg=yes ;; | 
 | 560 |     esac | 
 | 561 |     eval "enable_$ac_feature='$ac_optarg'" ;; | 
 | 562 |  | 
 | 563 |   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
 | 564 |   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
 | 565 |   | --exec | --exe | --ex) | 
 | 566 |     ac_prev=exec_prefix ;; | 
 | 567 |   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
 | 568 |   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
 | 569 |   | --exec=* | --exe=* | --ex=*) | 
 | 570 |     exec_prefix=$ac_optarg ;; | 
 | 571 |  | 
 | 572 |   -gas | --gas | --ga | --g) | 
 | 573 |     # Obsolete; use --with-gas. | 
 | 574 |     with_gas=yes ;; | 
 | 575 |  | 
 | 576 |   -help | --help | --hel | --he | -h) | 
 | 577 |     ac_init_help=long ;; | 
 | 578 |   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
 | 579 |     ac_init_help=recursive ;; | 
 | 580 |   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
 | 581 |     ac_init_help=short ;; | 
 | 582 |  | 
 | 583 |   -host | --host | --hos | --ho) | 
 | 584 |     ac_prev=host_alias ;; | 
 | 585 |   -host=* | --host=* | --hos=* | --ho=*) | 
 | 586 |     host_alias=$ac_optarg ;; | 
 | 587 |  | 
 | 588 |   -includedir | --includedir | --includedi | --included | --include \ | 
 | 589 |   | --includ | --inclu | --incl | --inc) | 
 | 590 |     ac_prev=includedir ;; | 
 | 591 |   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
 | 592 |   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
 | 593 |     includedir=$ac_optarg ;; | 
 | 594 |  | 
 | 595 |   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
 | 596 |     ac_prev=infodir ;; | 
 | 597 |   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
 | 598 |     infodir=$ac_optarg ;; | 
 | 599 |  | 
 | 600 |   -libdir | --libdir | --libdi | --libd) | 
 | 601 |     ac_prev=libdir ;; | 
 | 602 |   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
 | 603 |     libdir=$ac_optarg ;; | 
 | 604 |  | 
 | 605 |   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
 | 606 |   | --libexe | --libex | --libe) | 
 | 607 |     ac_prev=libexecdir ;; | 
 | 608 |   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
 | 609 |   | --libexe=* | --libex=* | --libe=*) | 
 | 610 |     libexecdir=$ac_optarg ;; | 
 | 611 |  | 
 | 612 |   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
 | 613 |   | --localstate | --localstat | --localsta | --localst \ | 
 | 614 |   | --locals | --local | --loca | --loc | --lo) | 
 | 615 |     ac_prev=localstatedir ;; | 
 | 616 |   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
 | 617 |   | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | 
 | 618 |   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | 
 | 619 |     localstatedir=$ac_optarg ;; | 
 | 620 |  | 
 | 621 |   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
 | 622 |     ac_prev=mandir ;; | 
 | 623 |   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
 | 624 |     mandir=$ac_optarg ;; | 
 | 625 |  | 
 | 626 |   -nfp | --nfp | --nf) | 
 | 627 |     # Obsolete; use --without-fp. | 
 | 628 |     with_fp=no ;; | 
 | 629 |  | 
 | 630 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
 | 631 |   | --no-cr | --no-c | -n) | 
 | 632 |     no_create=yes ;; | 
 | 633 |  | 
 | 634 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
 | 635 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
 | 636 |     no_recursion=yes ;; | 
 | 637 |  | 
 | 638 |   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
 | 639 |   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
 | 640 |   | --oldin | --oldi | --old | --ol | --o) | 
 | 641 |     ac_prev=oldincludedir ;; | 
 | 642 |   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
 | 643 |   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
 | 644 |   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
 | 645 |     oldincludedir=$ac_optarg ;; | 
 | 646 |  | 
 | 647 |   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
 | 648 |     ac_prev=prefix ;; | 
 | 649 |   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
 | 650 |     prefix=$ac_optarg ;; | 
 | 651 |  | 
 | 652 |   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
 | 653 |   | --program-pre | --program-pr | --program-p) | 
 | 654 |     ac_prev=program_prefix ;; | 
 | 655 |   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
 | 656 |   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
 | 657 |     program_prefix=$ac_optarg ;; | 
 | 658 |  | 
 | 659 |   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
 | 660 |   | --program-suf | --program-su | --program-s) | 
 | 661 |     ac_prev=program_suffix ;; | 
 | 662 |   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
 | 663 |   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
 | 664 |     program_suffix=$ac_optarg ;; | 
 | 665 |  | 
 | 666 |   -program-transform-name | --program-transform-name \ | 
 | 667 |   | --program-transform-nam | --program-transform-na \ | 
 | 668 |   | --program-transform-n | --program-transform- \ | 
 | 669 |   | --program-transform | --program-transfor \ | 
 | 670 |   | --program-transfo | --program-transf \ | 
 | 671 |   | --program-trans | --program-tran \ | 
 | 672 |   | --progr-tra | --program-tr | --program-t) | 
 | 673 |     ac_prev=program_transform_name ;; | 
 | 674 |   -program-transform-name=* | --program-transform-name=* \ | 
 | 675 |   | --program-transform-nam=* | --program-transform-na=* \ | 
 | 676 |   | --program-transform-n=* | --program-transform-=* \ | 
 | 677 |   | --program-transform=* | --program-transfor=* \ | 
 | 678 |   | --program-transfo=* | --program-transf=* \ | 
 | 679 |   | --program-trans=* | --program-tran=* \ | 
 | 680 |   | --progr-tra=* | --program-tr=* | --program-t=*) | 
 | 681 |     program_transform_name=$ac_optarg ;; | 
 | 682 |  | 
 | 683 |   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
 | 684 |   | -silent | --silent | --silen | --sile | --sil) | 
 | 685 |     silent=yes ;; | 
 | 686 |  | 
 | 687 |   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
 | 688 |     ac_prev=sbindir ;; | 
 | 689 |   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
 | 690 |   | --sbi=* | --sb=*) | 
 | 691 |     sbindir=$ac_optarg ;; | 
 | 692 |  | 
 | 693 |   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
 | 694 |   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
 | 695 |   | --sharedst | --shareds | --shared | --share | --shar \ | 
 | 696 |   | --sha | --sh) | 
 | 697 |     ac_prev=sharedstatedir ;; | 
 | 698 |   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
 | 699 |   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
 | 700 |   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
 | 701 |   | --sha=* | --sh=*) | 
 | 702 |     sharedstatedir=$ac_optarg ;; | 
 | 703 |  | 
 | 704 |   -site | --site | --sit) | 
 | 705 |     ac_prev=site ;; | 
 | 706 |   -site=* | --site=* | --sit=*) | 
 | 707 |     site=$ac_optarg ;; | 
 | 708 |  | 
 | 709 |   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
 | 710 |     ac_prev=srcdir ;; | 
 | 711 |   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
 | 712 |     srcdir=$ac_optarg ;; | 
 | 713 |  | 
 | 714 |   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
 | 715 |   | --syscon | --sysco | --sysc | --sys | --sy) | 
 | 716 |     ac_prev=sysconfdir ;; | 
 | 717 |   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
 | 718 |   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
 | 719 |     sysconfdir=$ac_optarg ;; | 
 | 720 |  | 
 | 721 |   -target | --target | --targe | --targ | --tar | --ta | --t) | 
 | 722 |     ac_prev=target_alias ;; | 
 | 723 |   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
 | 724 |     target_alias=$ac_optarg ;; | 
 | 725 |  | 
 | 726 |   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
 | 727 |     verbose=yes ;; | 
 | 728 |  | 
 | 729 |   -version | --version | --versio | --versi | --vers | -V) | 
 | 730 |     ac_init_version=: ;; | 
 | 731 |  | 
 | 732 |   -with-* | --with-*) | 
 | 733 |     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
 | 734 |     # Reject names that are not valid shell variable names. | 
 | 735 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 736 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 737 |    { (exit 1); exit 1; }; } | 
 | 738 |     ac_package=`echo $ac_package| sed 's/-/_/g'` | 
 | 739 |     case $ac_option in | 
 | 740 |       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | 
 | 741 |       *) ac_optarg=yes ;; | 
 | 742 |     esac | 
 | 743 |     eval "with_$ac_package='$ac_optarg'" ;; | 
 | 744 |  | 
 | 745 |   -without-* | --without-*) | 
 | 746 |     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
 | 747 |     # Reject names that are not valid shell variable names. | 
 | 748 |     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && | 
 | 749 |       { echo "$as_me: error: invalid package name: $ac_package" >&2 | 
 | 750 |    { (exit 1); exit 1; }; } | 
 | 751 |     ac_package=`echo $ac_package | sed 's/-/_/g'` | 
 | 752 |     eval "with_$ac_package=no" ;; | 
 | 753 |  | 
 | 754 |   --x) | 
 | 755 |     # Obsolete; use --with-x. | 
 | 756 |     with_x=yes ;; | 
 | 757 |  | 
 | 758 |   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
 | 759 |   | --x-incl | --x-inc | --x-in | --x-i) | 
 | 760 |     ac_prev=x_includes ;; | 
 | 761 |   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
 | 762 |   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
 | 763 |     x_includes=$ac_optarg ;; | 
 | 764 |  | 
 | 765 |   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
 | 766 |   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
 | 767 |     ac_prev=x_libraries ;; | 
 | 768 |   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
 | 769 |   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
 | 770 |     x_libraries=$ac_optarg ;; | 
 | 771 |  | 
 | 772 |   -*) { echo "$as_me: error: unrecognized option: $ac_option | 
 | 773 | Try \`$0 --help' for more information." >&2 | 
 | 774 |    { (exit 1); exit 1; }; } | 
 | 775 |     ;; | 
 | 776 |  | 
 | 777 |   *=*) | 
 | 778 |     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
 | 779 |     # Reject names that are not valid shell variable names. | 
 | 780 |     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | 
 | 781 |       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | 
 | 782 |    { (exit 1); exit 1; }; } | 
 | 783 |     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | 
 | 784 |     eval "$ac_envvar='$ac_optarg'" | 
 | 785 |     export $ac_envvar ;; | 
 | 786 |  | 
 | 787 |   *) | 
 | 788 |     # FIXME: should be removed in autoconf 3.0. | 
 | 789 |     echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
 | 790 |     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
 | 791 |       echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
 | 792 |     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | 
 | 793 |     ;; | 
 | 794 |  | 
 | 795 |   esac | 
 | 796 | done | 
 | 797 |  | 
 | 798 | if test -n "$ac_prev"; then | 
 | 799 |   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
 | 800 |   { echo "$as_me: error: missing argument to $ac_option" >&2 | 
 | 801 |    { (exit 1); exit 1; }; } | 
 | 802 | fi | 
 | 803 |  | 
 | 804 | # Be sure to have absolute paths. | 
 | 805 | for ac_var in exec_prefix prefix | 
 | 806 | do | 
 | 807 |   eval ac_val=$`echo $ac_var` | 
 | 808 |   case $ac_val in | 
 | 809 |     [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | 
 | 810 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
 | 811 |    { (exit 1); exit 1; }; };; | 
 | 812 |   esac | 
 | 813 | done | 
 | 814 |  | 
 | 815 | # Be sure to have absolute paths. | 
 | 816 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | 
 | 817 |               localstatedir libdir includedir oldincludedir infodir mandir | 
 | 818 | do | 
 | 819 |   eval ac_val=$`echo $ac_var` | 
 | 820 |   case $ac_val in | 
 | 821 |     [\\/$]* | ?:[\\/]* ) ;; | 
 | 822 |     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 | 
 | 823 |    { (exit 1); exit 1; }; };; | 
 | 824 |   esac | 
 | 825 | done | 
 | 826 |  | 
 | 827 | # There might be people who depend on the old broken behavior: `$host' | 
 | 828 | # used to hold the argument of --host etc. | 
 | 829 | # FIXME: To remove some day. | 
 | 830 | build=$build_alias | 
 | 831 | host=$host_alias | 
 | 832 | target=$target_alias | 
 | 833 |  | 
 | 834 | # FIXME: To remove some day. | 
 | 835 | if test "x$host_alias" != x; then | 
 | 836 |   if test "x$build_alias" = x; then | 
 | 837 |     cross_compiling=maybe | 
 | 838 |     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | 
 | 839 |     If a cross compiler is detected then cross compile mode will be used." >&2 | 
 | 840 |   elif test "x$build_alias" != "x$host_alias"; then | 
 | 841 |     cross_compiling=yes | 
 | 842 |   fi | 
 | 843 | fi | 
 | 844 |  | 
 | 845 | ac_tool_prefix= | 
 | 846 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
 | 847 |  | 
 | 848 | test "$silent" = yes && exec 6>/dev/null | 
 | 849 |  | 
 | 850 |  | 
 | 851 | # Find the source files, if location was not specified. | 
 | 852 | if test -z "$srcdir"; then | 
 | 853 |   ac_srcdir_defaulted=yes | 
 | 854 |   # Try the directory containing this script, then its parent. | 
 | 855 |   ac_confdir=`(dirname "$0") 2>/dev/null || | 
 | 856 | $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 857 |          X"$0" : 'X\(//\)[^/]' \| \ | 
 | 858 |          X"$0" : 'X\(//\)$' \| \ | 
 | 859 |          X"$0" : 'X\(/\)' \| \ | 
 | 860 |          .     : '\(.\)' 2>/dev/null || | 
 | 861 | echo X"$0" | | 
 | 862 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 863 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 864 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 865 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 866 |   	  s/.*/./; q'` | 
 | 867 |   srcdir=$ac_confdir | 
 | 868 |   if test ! -r $srcdir/$ac_unique_file; then | 
 | 869 |     srcdir=.. | 
 | 870 |   fi | 
 | 871 | else | 
 | 872 |   ac_srcdir_defaulted=no | 
 | 873 | fi | 
 | 874 | if test ! -r $srcdir/$ac_unique_file; then | 
 | 875 |   if test "$ac_srcdir_defaulted" = yes; then | 
 | 876 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 | 
 | 877 |    { (exit 1); exit 1; }; } | 
 | 878 |   else | 
 | 879 |     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 | 
 | 880 |    { (exit 1); exit 1; }; } | 
 | 881 |   fi | 
 | 882 | fi | 
 | 883 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` | 
 | 884 | ac_env_build_alias_set=${build_alias+set} | 
 | 885 | ac_env_build_alias_value=$build_alias | 
 | 886 | ac_cv_env_build_alias_set=${build_alias+set} | 
 | 887 | ac_cv_env_build_alias_value=$build_alias | 
 | 888 | ac_env_host_alias_set=${host_alias+set} | 
 | 889 | ac_env_host_alias_value=$host_alias | 
 | 890 | ac_cv_env_host_alias_set=${host_alias+set} | 
 | 891 | ac_cv_env_host_alias_value=$host_alias | 
 | 892 | ac_env_target_alias_set=${target_alias+set} | 
 | 893 | ac_env_target_alias_value=$target_alias | 
 | 894 | ac_cv_env_target_alias_set=${target_alias+set} | 
 | 895 | ac_cv_env_target_alias_value=$target_alias | 
 | 896 | ac_env_CXX_set=${CXX+set} | 
 | 897 | ac_env_CXX_value=$CXX | 
 | 898 | ac_cv_env_CXX_set=${CXX+set} | 
 | 899 | ac_cv_env_CXX_value=$CXX | 
 | 900 | ac_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 901 | ac_env_CXXFLAGS_value=$CXXFLAGS | 
 | 902 | ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} | 
 | 903 | ac_cv_env_CXXFLAGS_value=$CXXFLAGS | 
 | 904 | ac_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 905 | ac_env_LDFLAGS_value=$LDFLAGS | 
 | 906 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | 
 | 907 | ac_cv_env_LDFLAGS_value=$LDFLAGS | 
 | 908 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 909 | ac_env_CPPFLAGS_value=$CPPFLAGS | 
 | 910 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | 
 | 911 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | 
 | 912 | ac_env_CC_set=${CC+set} | 
 | 913 | ac_env_CC_value=$CC | 
 | 914 | ac_cv_env_CC_set=${CC+set} | 
 | 915 | ac_cv_env_CC_value=$CC | 
 | 916 | ac_env_CFLAGS_set=${CFLAGS+set} | 
 | 917 | ac_env_CFLAGS_value=$CFLAGS | 
 | 918 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | 
 | 919 | ac_cv_env_CFLAGS_value=$CFLAGS | 
 | 920 | ac_env_CPP_set=${CPP+set} | 
 | 921 | ac_env_CPP_value=$CPP | 
 | 922 | ac_cv_env_CPP_set=${CPP+set} | 
 | 923 | ac_cv_env_CPP_value=$CPP | 
 | 924 |  | 
 | 925 | # | 
 | 926 | # Report the --help message. | 
 | 927 | # | 
 | 928 | if test "$ac_init_help" = "long"; then | 
 | 929 |   # Omit some internal or obsolete options to make the list less imposing. | 
 | 930 |   # This message is too long to be a string in the A/UX 3.1 sh. | 
 | 931 |   cat <<_ACEOF | 
 | 932 | \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems. | 
 | 933 |  | 
 | 934 | Usage: $0 [OPTION]... [VAR=VALUE]... | 
 | 935 |  | 
 | 936 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
 | 937 | VAR=VALUE.  See below for descriptions of some of the useful variables. | 
 | 938 |  | 
 | 939 | Defaults for the options are specified in brackets. | 
 | 940 |  | 
 | 941 | Configuration: | 
 | 942 |   -h, --help              display this help and exit | 
 | 943 |       --help=short        display options specific to this package | 
 | 944 |       --help=recursive    display the short help of all the included packages | 
 | 945 |   -V, --version           display version information and exit | 
 | 946 |   -q, --quiet, --silent   do not print \`checking...' messages | 
 | 947 |       --cache-file=FILE   cache test results in FILE [disabled] | 
 | 948 |   -C, --config-cache      alias for \`--cache-file=config.cache' | 
 | 949 |   -n, --no-create         do not create output files | 
 | 950 |       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
 | 951 |  | 
 | 952 | _ACEOF | 
 | 953 |  | 
 | 954 |   cat <<_ACEOF | 
 | 955 | Installation directories: | 
 | 956 |   --prefix=PREFIX         install architecture-independent files in PREFIX | 
 | 957 |                           [$ac_default_prefix] | 
 | 958 |   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
 | 959 |                           [PREFIX] | 
 | 960 |  | 
 | 961 | By default, \`make install' will install all the files in | 
 | 962 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
 | 963 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
 | 964 | for instance \`--prefix=\$HOME'. | 
 | 965 |  | 
 | 966 | For better control, use the options below. | 
 | 967 |  | 
 | 968 | Fine tuning of the installation directories: | 
 | 969 |   --bindir=DIR           user executables [EPREFIX/bin] | 
 | 970 |   --sbindir=DIR          system admin executables [EPREFIX/sbin] | 
 | 971 |   --libexecdir=DIR       program executables [EPREFIX/libexec] | 
 | 972 |   --datadir=DIR          read-only architecture-independent data [PREFIX/share] | 
 | 973 |   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc] | 
 | 974 |   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com] | 
 | 975 |   --localstatedir=DIR    modifiable single-machine data [PREFIX/var] | 
 | 976 |   --libdir=DIR           object code libraries [EPREFIX/lib] | 
 | 977 |   --includedir=DIR       C header files [PREFIX/include] | 
 | 978 |   --oldincludedir=DIR    C header files for non-gcc [/usr/include] | 
 | 979 |   --infodir=DIR          info documentation [PREFIX/info] | 
 | 980 |   --mandir=DIR           man documentation [PREFIX/man] | 
 | 981 | _ACEOF | 
 | 982 |  | 
 | 983 |   cat <<\_ACEOF | 
 | 984 |  | 
 | 985 | System types: | 
 | 986 |   --build=BUILD     configure for building on BUILD [guessed] | 
 | 987 |   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
 | 988 |   --target=TARGET   configure for building compilers for TARGET [HOST] | 
 | 989 | _ACEOF | 
 | 990 | fi | 
 | 991 |  | 
 | 992 | if test -n "$ac_init_help"; then | 
 | 993 |   case $ac_init_help in | 
 | 994 |      short | recursive ) echo "Configuration of [LLVM] [1.0]:";; | 
 | 995 |    esac | 
 | 996 |   cat <<\_ACEOF | 
 | 997 |  | 
 | 998 | Optional Features: | 
 | 999 |   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
 | 1000 |   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
 | 1001 |   --enable-shared=PKGS  build shared libraries default=yes | 
 | 1002 |   --enable-static=PKGS  build static libraries default=yes | 
 | 1003 |   --enable-fast-install=PKGS  optimize for fast installation default=yes | 
 | 1004 |   --disable-libtool-lock  avoid locking (might break parallel builds) | 
 | 1005 |   --enable-purify         Compile with purify (default is NO) | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1006 |   --enable-optimized      Compile with optimizations enabled (default is NO) | 
 | 1007 |   --enable-spec           Compile SPEC benchmarks (default is NO) | 
 | 1008 |   --enable-precompiled_bytecode | 
 | 1009 |                           Use pre-compiled bytecode (default is NO) | 
 | 1010 |   --enable-jit            Enable Just In Time Compiling (default is NO) | 
 | 1011 |  | 
 | 1012 | Optional Packages: | 
 | 1013 |   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
 | 1014 |   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
 | 1015 |   --with-gnu-ld           assume the C compiler uses GNU ld default=no | 
 | 1016 |   --with-pic              try to use only PIC/non-PIC objects default=use both | 
 | 1017 |   --with-spec             Location of SPEC benchmarks | 
 | 1018 |   --with-llvmgccdir       Location of LLVM GCC front-end | 
 | 1019 |   --with-bcrepos          Location of Bytecode Repository | 
 | 1020 |   --with-papi             Location of PAPI | 
 | 1021 |   --with-objroot          Location where object files should be placed | 
 | 1022 |                           (default is .) | 
 | 1023 |   --with-purify           Location of purify program | 
 | 1024 |  | 
 | 1025 | Some influential environment variables: | 
 | 1026 |   CXX         C++ compiler command | 
 | 1027 |   CXXFLAGS    C++ compiler flags | 
 | 1028 |   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
 | 1029 |               nonstandard directory <lib dir> | 
 | 1030 |   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have | 
 | 1031 |               headers in a nonstandard directory <include dir> | 
 | 1032 |   CC          C compiler command | 
 | 1033 |   CFLAGS      C compiler flags | 
 | 1034 |   CPP         C preprocessor | 
 | 1035 |  | 
 | 1036 | Use these variables to override the choices made by `configure' or to help | 
 | 1037 | it to find libraries and programs with nonstandard names/locations. | 
 | 1038 |  | 
 | 1039 | Report bugs to <llvmbugs@cs.uiuc.edu>. | 
 | 1040 | _ACEOF | 
 | 1041 | fi | 
 | 1042 |  | 
 | 1043 | if test "$ac_init_help" = "recursive"; then | 
 | 1044 |   # If there are subdirs, report their specific --help. | 
 | 1045 |   ac_popdir=`pwd` | 
 | 1046 |   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
 | 1047 |     test -d $ac_dir || continue | 
 | 1048 |     ac_builddir=. | 
 | 1049 |  | 
 | 1050 | if test "$ac_dir" != .; then | 
 | 1051 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 1052 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 1053 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 1054 | else | 
 | 1055 |   ac_dir_suffix= ac_top_builddir= | 
 | 1056 | fi | 
 | 1057 |  | 
 | 1058 | case $srcdir in | 
 | 1059 |   .)  # No --srcdir option.  We are building in place. | 
 | 1060 |     ac_srcdir=. | 
 | 1061 |     if test -z "$ac_top_builddir"; then | 
 | 1062 |        ac_top_srcdir=. | 
 | 1063 |     else | 
 | 1064 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 1065 |     fi ;; | 
 | 1066 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 1067 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 1068 |     ac_top_srcdir=$srcdir ;; | 
 | 1069 |   *) # Relative path. | 
 | 1070 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 1071 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 1072 | esac | 
 | 1073 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 1074 | # absolute. | 
 | 1075 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
 | 1076 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 
 | 1077 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 1078 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 1079 |  | 
 | 1080 |     cd $ac_dir | 
 | 1081 |     # Check for guested configure; otherwise get Cygnus style configure. | 
 | 1082 |     if test -f $ac_srcdir/configure.gnu; then | 
 | 1083 |       echo | 
 | 1084 |       $SHELL $ac_srcdir/configure.gnu  --help=recursive | 
 | 1085 |     elif test -f $ac_srcdir/configure; then | 
 | 1086 |       echo | 
 | 1087 |       $SHELL $ac_srcdir/configure  --help=recursive | 
 | 1088 |     elif test -f $ac_srcdir/configure.ac || | 
 | 1089 |            test -f $ac_srcdir/configure.in; then | 
 | 1090 |       echo | 
 | 1091 |       $ac_configure --help | 
 | 1092 |     else | 
 | 1093 |       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
 | 1094 |     fi | 
 | 1095 |     cd $ac_popdir | 
 | 1096 |   done | 
 | 1097 | fi | 
 | 1098 |  | 
 | 1099 | test -n "$ac_init_help" && exit 0 | 
 | 1100 | if $ac_init_version; then | 
 | 1101 |   cat <<\_ACEOF | 
 | 1102 | [LLVM] configure [1.0] | 
 | 1103 | generated by GNU Autoconf 2.53 | 
 | 1104 |  | 
 | 1105 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 | 
 | 1106 | Free Software Foundation, Inc. | 
 | 1107 | This configure script is free software; the Free Software Foundation | 
 | 1108 | gives unlimited permission to copy, distribute and modify it. | 
 | 1109 | _ACEOF | 
 | 1110 |   exit 0 | 
 | 1111 | fi | 
 | 1112 | exec 5>config.log | 
 | 1113 | cat >&5 <<_ACEOF | 
 | 1114 | This file contains any messages produced by compilers while | 
 | 1115 | running configure, to aid debugging if configure makes a mistake. | 
 | 1116 |  | 
 | 1117 | It was created by [LLVM] $as_me [1.0], which was | 
 | 1118 | generated by GNU Autoconf 2.53.  Invocation command line was | 
 | 1119 |  | 
 | 1120 |   $ $0 $@ | 
 | 1121 |  | 
 | 1122 | _ACEOF | 
 | 1123 | { | 
 | 1124 | cat <<_ASUNAME | 
 | 1125 | ## --------- ## | 
 | 1126 | ## Platform. ## | 
 | 1127 | ## --------- ## | 
 | 1128 |  | 
 | 1129 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
 | 1130 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
 | 1131 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
 | 1132 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
 | 1133 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
 | 1134 |  | 
 | 1135 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
 | 1136 | /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
 | 1137 |  | 
 | 1138 | /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
 | 1139 | /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
 | 1140 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
 | 1141 | hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown` | 
 | 1142 | /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
 | 1143 | /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
 | 1144 | /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
 | 1145 |  | 
 | 1146 | _ASUNAME | 
 | 1147 |  | 
 | 1148 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1149 | for as_dir in $PATH | 
 | 1150 | do | 
 | 1151 |   IFS=$as_save_IFS | 
 | 1152 |   test -z "$as_dir" && as_dir=. | 
 | 1153 |   echo "PATH: $as_dir" | 
 | 1154 | done | 
 | 1155 |  | 
 | 1156 | } >&5 | 
 | 1157 |  | 
 | 1158 | cat >&5 <<_ACEOF | 
 | 1159 |  | 
 | 1160 |  | 
 | 1161 | ## ----------- ## | 
 | 1162 | ## Core tests. ## | 
 | 1163 | ## ----------- ## | 
 | 1164 |  | 
 | 1165 | _ACEOF | 
 | 1166 |  | 
 | 1167 |  | 
 | 1168 | # Keep a trace of the command line. | 
 | 1169 | # Strip out --no-create and --no-recursion so they do not pile up. | 
 | 1170 | # Also quote any args containing shell meta-characters. | 
 | 1171 | ac_configure_args= | 
 | 1172 | ac_sep= | 
 | 1173 | for ac_arg | 
 | 1174 | do | 
 | 1175 |   case $ac_arg in | 
 | 1176 |   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
 | 1177 |   | --no-cr | --no-c | -n ) continue ;; | 
 | 1178 |   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
 | 1179 |   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
 | 1180 |     continue ;; | 
 | 1181 |   *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1182 |     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1183 |   esac | 
 | 1184 |   case " $ac_configure_args " in | 
 | 1185 |     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
 | 1186 |     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | 
 | 1187 |        ac_sep=" " ;; | 
 | 1188 |   esac | 
 | 1189 |   # Get rid of the leading space. | 
 | 1190 | done | 
 | 1191 |  | 
 | 1192 | # When interrupted or exit'd, cleanup temporary files, and complete | 
 | 1193 | # config.log.  We remove comments because anyway the quotes in there | 
 | 1194 | # would cause problems or look ugly. | 
 | 1195 | # WARNING: Be sure not to use single quotes in there, as some shells, | 
 | 1196 | # such as our DU 5.0 friend, will then `close' the trap. | 
 | 1197 | trap 'exit_status=$? | 
 | 1198 |   # Save into config.log some information that might help in debugging. | 
 | 1199 |   { | 
 | 1200 |     echo | 
 | 1201 |     cat <<\_ASBOX | 
 | 1202 | ## ---------------- ## | 
 | 1203 | ## Cache variables. ## | 
 | 1204 | ## ---------------- ## | 
 | 1205 | _ASBOX | 
 | 1206 |     echo | 
 | 1207 |     # The following way of writing the cache mishandles newlines in values, | 
 | 1208 | { | 
 | 1209 |   (set) 2>&1 | | 
 | 1210 |     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | 
 | 1211 |     *ac_space=\ *) | 
 | 1212 |       sed -n \ | 
 | 1213 |         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | 
 | 1214 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | 
 | 1215 |       ;; | 
 | 1216 |     *) | 
 | 1217 |       sed -n \ | 
 | 1218 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 1219 |       ;; | 
 | 1220 |     esac; | 
 | 1221 | } | 
 | 1222 |     echo | 
 | 1223 |     if test -s confdefs.h; then | 
 | 1224 |       cat <<\_ASBOX | 
 | 1225 | ## ----------- ## | 
 | 1226 | ## confdefs.h. ## | 
 | 1227 | ## ----------- ## | 
 | 1228 | _ASBOX | 
 | 1229 |       echo | 
 | 1230 |       sed "/^$/d" confdefs.h | 
 | 1231 |       echo | 
 | 1232 |     fi | 
 | 1233 |     test "$ac_signal" != 0 && | 
 | 1234 |       echo "$as_me: caught signal $ac_signal" | 
 | 1235 |     echo "$as_me: exit $exit_status" | 
 | 1236 |   } >&5 | 
 | 1237 |   rm -f core core.* *.core && | 
 | 1238 |   rm -rf conftest* confdefs* conf$$* $ac_clean_files && | 
 | 1239 |     exit $exit_status | 
 | 1240 |      ' 0 | 
 | 1241 | for ac_signal in 1 2 13 15; do | 
 | 1242 |   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | 
 | 1243 | done | 
 | 1244 | ac_signal=0 | 
 | 1245 |  | 
 | 1246 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
 | 1247 | rm -rf conftest* confdefs.h | 
 | 1248 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | 
 | 1249 | echo >confdefs.h | 
 | 1250 |  | 
 | 1251 | # Predefined preprocessor variables. | 
 | 1252 |  | 
 | 1253 | cat >>confdefs.h <<_ACEOF | 
 | 1254 | #define PACKAGE_NAME "$PACKAGE_NAME" | 
 | 1255 | _ACEOF | 
 | 1256 |  | 
 | 1257 |  | 
 | 1258 | cat >>confdefs.h <<_ACEOF | 
 | 1259 | #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
 | 1260 | _ACEOF | 
 | 1261 |  | 
 | 1262 |  | 
 | 1263 | cat >>confdefs.h <<_ACEOF | 
 | 1264 | #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
 | 1265 | _ACEOF | 
 | 1266 |  | 
 | 1267 |  | 
 | 1268 | cat >>confdefs.h <<_ACEOF | 
 | 1269 | #define PACKAGE_STRING "$PACKAGE_STRING" | 
 | 1270 | _ACEOF | 
 | 1271 |  | 
 | 1272 |  | 
 | 1273 | cat >>confdefs.h <<_ACEOF | 
 | 1274 | #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
 | 1275 | _ACEOF | 
 | 1276 |  | 
 | 1277 |  | 
 | 1278 | # Let the site file select an alternate cache file if it wants to. | 
 | 1279 | # Prefer explicitly selected file to automatically selected ones. | 
 | 1280 | if test -z "$CONFIG_SITE"; then | 
 | 1281 |   if test "x$prefix" != xNONE; then | 
 | 1282 |     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | 
 | 1283 |   else | 
 | 1284 |     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | 
 | 1285 |   fi | 
 | 1286 | fi | 
 | 1287 | for ac_site_file in $CONFIG_SITE; do | 
 | 1288 |   if test -r "$ac_site_file"; then | 
 | 1289 |     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 | 
 | 1290 | echo "$as_me: loading site script $ac_site_file" >&6;} | 
 | 1291 |     sed 's/^/| /' "$ac_site_file" >&5 | 
 | 1292 |     . "$ac_site_file" | 
 | 1293 |   fi | 
 | 1294 | done | 
 | 1295 |  | 
 | 1296 | if test -r "$cache_file"; then | 
 | 1297 |   # Some versions of bash will fail to source /dev/null (special | 
 | 1298 |   # files actually), so we avoid doing that. | 
 | 1299 |   if test -f "$cache_file"; then | 
 | 1300 |     { echo "$as_me:$LINENO: loading cache $cache_file" >&5 | 
 | 1301 | echo "$as_me: loading cache $cache_file" >&6;} | 
 | 1302 |     case $cache_file in | 
 | 1303 |       [\\/]* | ?:[\\/]* ) . $cache_file;; | 
 | 1304 |       *)                      . ./$cache_file;; | 
 | 1305 |     esac | 
 | 1306 |   fi | 
 | 1307 | else | 
 | 1308 |   { echo "$as_me:$LINENO: creating cache $cache_file" >&5 | 
 | 1309 | echo "$as_me: creating cache $cache_file" >&6;} | 
 | 1310 |   >$cache_file | 
 | 1311 | fi | 
 | 1312 |  | 
 | 1313 | # Check that the precious variables saved in the cache have kept the same | 
 | 1314 | # value. | 
 | 1315 | ac_cache_corrupted=false | 
 | 1316 | for ac_var in `(set) 2>&1 | | 
 | 1317 |                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | 
 | 1318 |   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
 | 1319 |   eval ac_new_set=\$ac_env_${ac_var}_set | 
 | 1320 |   eval ac_old_val="\$ac_cv_env_${ac_var}_value" | 
 | 1321 |   eval ac_new_val="\$ac_env_${ac_var}_value" | 
 | 1322 |   case $ac_old_set,$ac_new_set in | 
 | 1323 |     set,) | 
 | 1324 |       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
 | 1325 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
 | 1326 |       ac_cache_corrupted=: ;; | 
 | 1327 |     ,set) | 
 | 1328 |       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 | 
 | 1329 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
 | 1330 |       ac_cache_corrupted=: ;; | 
 | 1331 |     ,);; | 
 | 1332 |     *) | 
 | 1333 |       if test "x$ac_old_val" != "x$ac_new_val"; then | 
 | 1334 |         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 | 
 | 1335 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
 | 1336 |         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5 | 
 | 1337 | echo "$as_me:   former value:  $ac_old_val" >&2;} | 
 | 1338 |         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5 | 
 | 1339 | echo "$as_me:   current value: $ac_new_val" >&2;} | 
 | 1340 |         ac_cache_corrupted=: | 
 | 1341 |       fi;; | 
 | 1342 |   esac | 
 | 1343 |   # Pass precious variables to config.status. | 
 | 1344 |   if test "$ac_new_set" = set; then | 
 | 1345 |     case $ac_new_val in | 
 | 1346 |     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | 
 | 1347 |       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
 | 1348 |     *) ac_arg=$ac_var=$ac_new_val ;; | 
 | 1349 |     esac | 
 | 1350 |     case " $ac_configure_args " in | 
 | 1351 |       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
 | 1352 |       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; | 
 | 1353 |     esac | 
 | 1354 |   fi | 
 | 1355 | done | 
 | 1356 | if $ac_cache_corrupted; then | 
 | 1357 |   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 | 
 | 1358 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
 | 1359 |   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 | 
 | 1360 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} | 
 | 1361 |    { (exit 1); exit 1; }; } | 
 | 1362 | fi | 
 | 1363 |  | 
 | 1364 | ac_ext=c | 
 | 1365 | ac_cpp='$CPP $CPPFLAGS' | 
 | 1366 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 1367 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 1368 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 1369 |  | 
 | 1370 |  | 
 | 1371 |  | 
 | 1372 |  | 
 | 1373 |  | 
 | 1374 |  | 
 | 1375 |  | 
 | 1376 |  | 
 | 1377 |  | 
 | 1378 |  | 
 | 1379 |  | 
 | 1380 |  | 
 | 1381 |  | 
 | 1382 |  | 
 | 1383 |  | 
 | 1384 |  | 
 | 1385 |  | 
 | 1386 |  | 
 | 1387 |  | 
 | 1388 |  | 
 | 1389 |  | 
 | 1390 |  | 
 | 1391 |  | 
 | 1392 |  | 
 | 1393 |  | 
 | 1394 |  | 
 | 1395 |  | 
 | 1396 | ac_config_headers="$ac_config_headers include/Config/config.h" | 
 | 1397 |  | 
 | 1398 |  | 
 | 1399 |  | 
 | 1400 | ac_aux_dir= | 
 | 1401 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do | 
 | 1402 |   if test -f $ac_dir/install-sh; then | 
 | 1403 |     ac_aux_dir=$ac_dir | 
 | 1404 |     ac_install_sh="$ac_aux_dir/install-sh -c" | 
 | 1405 |     break | 
 | 1406 |   elif test -f $ac_dir/install.sh; then | 
 | 1407 |     ac_aux_dir=$ac_dir | 
 | 1408 |     ac_install_sh="$ac_aux_dir/install.sh -c" | 
 | 1409 |     break | 
 | 1410 |   elif test -f $ac_dir/shtool; then | 
 | 1411 |     ac_aux_dir=$ac_dir | 
 | 1412 |     ac_install_sh="$ac_aux_dir/shtool install -c" | 
 | 1413 |     break | 
 | 1414 |   fi | 
 | 1415 | done | 
 | 1416 | if test -z "$ac_aux_dir"; then | 
 | 1417 |   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 | 
 | 1418 | echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} | 
 | 1419 |    { (exit 1); exit 1; }; } | 
 | 1420 | fi | 
 | 1421 | ac_config_guess="$SHELL $ac_aux_dir/config.guess" | 
 | 1422 | ac_config_sub="$SHELL $ac_aux_dir/config.sub" | 
 | 1423 | ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. | 
 | 1424 |  | 
 | 1425 | # Find a good install program.  We prefer a C program (faster), | 
 | 1426 | # so one script is as good as another.  But avoid the broken or | 
 | 1427 | # incompatible versions: | 
 | 1428 | # SysV /etc/install, /usr/sbin/install | 
 | 1429 | # SunOS /usr/etc/install | 
 | 1430 | # IRIX /sbin/install | 
 | 1431 | # AIX /bin/install | 
 | 1432 | # AmigaOS /C/install, which installs bootblocks on floppy discs | 
 | 1433 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
 | 1434 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
 | 1435 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
 | 1436 | # ./install, which can be erroneously created by make from ./install.sh. | 
 | 1437 | echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 | 
 | 1438 | echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 | 
 | 1439 | if test -z "$INSTALL"; then | 
 | 1440 | if test "${ac_cv_path_install+set}" = set; then | 
 | 1441 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1442 | else | 
 | 1443 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1444 | for as_dir in $PATH | 
 | 1445 | do | 
 | 1446 |   IFS=$as_save_IFS | 
 | 1447 |   test -z "$as_dir" && as_dir=. | 
 | 1448 |   # Account for people who put trailing slashes in PATH elements. | 
 | 1449 | case $as_dir/ in | 
 | 1450 |   ./ | .// | /cC/* | \ | 
 | 1451 |   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
 | 1452 |   /usr/ucb/* ) ;; | 
 | 1453 |   *) | 
 | 1454 |     # OSF1 and SCO ODT 3.0 have their own names for install. | 
 | 1455 |     # Don't use installbsd from OSF since it installs stuff as root | 
 | 1456 |     # by default. | 
 | 1457 |     for ac_prog in ginstall scoinst install; do | 
 | 1458 |       for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1459 |         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then | 
 | 1460 |           if test $ac_prog = install && | 
 | 1461 |             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 1462 |             # AIX install.  It has an incompatible calling convention. | 
 | 1463 |             : | 
 | 1464 |           elif test $ac_prog = install && | 
 | 1465 |             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
 | 1466 |             # program-specific install script used by HP pwplus--don't use. | 
 | 1467 |             : | 
 | 1468 |           else | 
 | 1469 |             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
 | 1470 |             break 3 | 
 | 1471 |           fi | 
 | 1472 |         fi | 
 | 1473 |       done | 
 | 1474 |     done | 
 | 1475 |     ;; | 
 | 1476 | esac | 
 | 1477 | done | 
 | 1478 |  | 
 | 1479 |  | 
 | 1480 | fi | 
 | 1481 |   if test "${ac_cv_path_install+set}" = set; then | 
 | 1482 |     INSTALL=$ac_cv_path_install | 
 | 1483 |   else | 
 | 1484 |     # As a last resort, use the slow shell script.  We don't cache a | 
 | 1485 |     # path for INSTALL within a source directory, because that will | 
 | 1486 |     # break other packages using the cache if that directory is | 
 | 1487 |     # removed, or if the path is relative. | 
 | 1488 |     INSTALL=$ac_install_sh | 
 | 1489 |   fi | 
 | 1490 | fi | 
 | 1491 | echo "$as_me:$LINENO: result: $INSTALL" >&5 | 
 | 1492 | echo "${ECHO_T}$INSTALL" >&6 | 
 | 1493 |  | 
 | 1494 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
 | 1495 | # It thinks the first close brace ends the variable substitution. | 
 | 1496 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
 | 1497 |  | 
 | 1498 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
 | 1499 |  | 
 | 1500 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
 | 1501 |  | 
 | 1502 |  | 
 | 1503 | # Make sure we can run config.sub. | 
 | 1504 | $ac_config_sub sun4 >/dev/null 2>&1 || | 
 | 1505 |   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5 | 
 | 1506 | echo "$as_me: error: cannot run $ac_config_sub" >&2;} | 
 | 1507 |    { (exit 1); exit 1; }; } | 
 | 1508 |  | 
 | 1509 | echo "$as_me:$LINENO: checking build system type" >&5 | 
 | 1510 | echo $ECHO_N "checking build system type... $ECHO_C" >&6 | 
 | 1511 | if test "${ac_cv_build+set}" = set; then | 
 | 1512 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1513 | else | 
 | 1514 |   ac_cv_build_alias=$build_alias | 
 | 1515 | test -z "$ac_cv_build_alias" && | 
 | 1516 |   ac_cv_build_alias=`$ac_config_guess` | 
 | 1517 | test -z "$ac_cv_build_alias" && | 
 | 1518 |   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 | 
 | 1519 | echo "$as_me: error: cannot guess build type; you must specify one" >&2;} | 
 | 1520 |    { (exit 1); exit 1; }; } | 
 | 1521 | ac_cv_build=`$ac_config_sub $ac_cv_build_alias` || | 
 | 1522 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5 | 
 | 1523 | echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;} | 
 | 1524 |    { (exit 1); exit 1; }; } | 
 | 1525 |  | 
 | 1526 | fi | 
 | 1527 | echo "$as_me:$LINENO: result: $ac_cv_build" >&5 | 
 | 1528 | echo "${ECHO_T}$ac_cv_build" >&6 | 
 | 1529 | build=$ac_cv_build | 
 | 1530 | build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1531 | build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1532 | build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1533 |  | 
 | 1534 |  | 
 | 1535 | echo "$as_me:$LINENO: checking host system type" >&5 | 
 | 1536 | echo $ECHO_N "checking host system type... $ECHO_C" >&6 | 
 | 1537 | if test "${ac_cv_host+set}" = set; then | 
 | 1538 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1539 | else | 
 | 1540 |   ac_cv_host_alias=$host_alias | 
 | 1541 | test -z "$ac_cv_host_alias" && | 
 | 1542 |   ac_cv_host_alias=$ac_cv_build_alias | 
 | 1543 | ac_cv_host=`$ac_config_sub $ac_cv_host_alias` || | 
 | 1544 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5 | 
 | 1545 | echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;} | 
 | 1546 |    { (exit 1); exit 1; }; } | 
 | 1547 |  | 
 | 1548 | fi | 
 | 1549 | echo "$as_me:$LINENO: result: $ac_cv_host" >&5 | 
 | 1550 | echo "${ECHO_T}$ac_cv_host" >&6 | 
 | 1551 | host=$ac_cv_host | 
 | 1552 | host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1553 | host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1554 | host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1555 |  | 
 | 1556 |  | 
 | 1557 | echo "$as_me:$LINENO: checking target system type" >&5 | 
 | 1558 | echo $ECHO_N "checking target system type... $ECHO_C" >&6 | 
 | 1559 | if test "${ac_cv_target+set}" = set; then | 
 | 1560 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1561 | else | 
 | 1562 |   ac_cv_target_alias=$target_alias | 
 | 1563 | test "x$ac_cv_target_alias" = "x" && | 
 | 1564 |   ac_cv_target_alias=$ac_cv_host_alias | 
 | 1565 | ac_cv_target=`$ac_config_sub $ac_cv_target_alias` || | 
 | 1566 |   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5 | 
 | 1567 | echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;} | 
 | 1568 |    { (exit 1); exit 1; }; } | 
 | 1569 |  | 
 | 1570 | fi | 
 | 1571 | echo "$as_me:$LINENO: result: $ac_cv_target" >&5 | 
 | 1572 | echo "${ECHO_T}$ac_cv_target" >&6 | 
 | 1573 | target=$ac_cv_target | 
 | 1574 | target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 
 | 1575 | target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 
 | 1576 | target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 
 | 1577 |  | 
 | 1578 |  | 
 | 1579 | # The aliases save the names the user supplied, while $host etc. | 
 | 1580 | # will get canonicalized. | 
 | 1581 | test -n "$target_alias" && | 
 | 1582 |   test "$program_prefix$program_suffix$program_transform_name" = \ | 
 | 1583 |     NONENONEs,x,x, && | 
 | 1584 |   program_prefix=${target_alias}- | 
 | 1585 |  | 
 | 1586 | case $build in | 
 | 1587 | 	*i*86*)  OS=Linux | 
 | 1588 |  | 
 | 1589 | 	         DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1 | 
 | 1590 |  | 
 | 1591 | 	         LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/ | 
 | 1592 |  | 
 | 1593 | 	         ;; | 
 | 1594 |  | 
 | 1595 | 	*sparc*) OS=SunOS | 
 | 1596 |  | 
 | 1597 | 	         LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/ | 
 | 1598 |  | 
 | 1599 | 	         ;; | 
 | 1600 |  | 
 | 1601 | 	*)       OS=Unknown | 
 | 1602 |  | 
 | 1603 | 	         ;; | 
 | 1604 | esac | 
 | 1605 |  | 
 | 1606 | case $target in | 
 | 1607 | 	*sparc*solaris*)  target=sparcv9-sun-solaris2.8 | 
 | 1608 |  | 
 | 1609 | 	                  ;; | 
 | 1610 | esac | 
 | 1611 |  | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 1612 | case $target in | 
 | 1613 | 	*i*86*)           ARCH=x86 | 
 | 1614 |  | 
 | 1615 | 	                  ;; | 
 | 1616 | 	*sparc*solaris*)  ARCH=Sparc | 
 | 1617 |  | 
 | 1618 | 	                  ;; | 
 | 1619 | esac | 
 | 1620 |  | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 1621 |  | 
 | 1622 | ac_ext=cc | 
 | 1623 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 1624 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 1625 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 1626 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 1627 | if test -n "$ac_tool_prefix"; then | 
 | 1628 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 1629 |   do | 
 | 1630 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 1631 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 1632 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 1633 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 1634 | if test "${ac_cv_prog_CXX+set}" = set; then | 
 | 1635 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1636 | else | 
 | 1637 |   if test -n "$CXX"; then | 
 | 1638 |   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
 | 1639 | else | 
 | 1640 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1641 | for as_dir in $PATH | 
 | 1642 | do | 
 | 1643 |   IFS=$as_save_IFS | 
 | 1644 |   test -z "$as_dir" && as_dir=. | 
 | 1645 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1646 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 1647 |     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
 | 1648 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 1649 |     break 2 | 
 | 1650 |   fi | 
 | 1651 | done | 
 | 1652 | done | 
 | 1653 |  | 
 | 1654 | fi | 
 | 1655 | fi | 
 | 1656 | CXX=$ac_cv_prog_CXX | 
 | 1657 | if test -n "$CXX"; then | 
 | 1658 |   echo "$as_me:$LINENO: result: $CXX" >&5 | 
 | 1659 | echo "${ECHO_T}$CXX" >&6 | 
 | 1660 | else | 
 | 1661 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 1662 | echo "${ECHO_T}no" >&6 | 
 | 1663 | fi | 
 | 1664 |  | 
 | 1665 |     test -n "$CXX" && break | 
 | 1666 |   done | 
 | 1667 | fi | 
 | 1668 | if test -z "$CXX"; then | 
 | 1669 |   ac_ct_CXX=$CXX | 
 | 1670 |   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC | 
 | 1671 | do | 
 | 1672 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 1673 | set dummy $ac_prog; ac_word=$2 | 
 | 1674 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 1675 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 1676 | if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then | 
 | 1677 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1678 | else | 
 | 1679 |   if test -n "$ac_ct_CXX"; then | 
 | 1680 |   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
 | 1681 | else | 
 | 1682 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 1683 | for as_dir in $PATH | 
 | 1684 | do | 
 | 1685 |   IFS=$as_save_IFS | 
 | 1686 |   test -z "$as_dir" && as_dir=. | 
 | 1687 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 1688 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 1689 |     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
 | 1690 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 1691 |     break 2 | 
 | 1692 |   fi | 
 | 1693 | done | 
 | 1694 | done | 
 | 1695 |  | 
 | 1696 | fi | 
 | 1697 | fi | 
 | 1698 | ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
 | 1699 | if test -n "$ac_ct_CXX"; then | 
 | 1700 |   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 | 
 | 1701 | echo "${ECHO_T}$ac_ct_CXX" >&6 | 
 | 1702 | else | 
 | 1703 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 1704 | echo "${ECHO_T}no" >&6 | 
 | 1705 | fi | 
 | 1706 |  | 
 | 1707 |   test -n "$ac_ct_CXX" && break | 
 | 1708 | done | 
 | 1709 | test -n "$ac_ct_CXX" || ac_ct_CXX="g++" | 
 | 1710 |  | 
 | 1711 |   CXX=$ac_ct_CXX | 
 | 1712 | fi | 
 | 1713 |  | 
 | 1714 |  | 
 | 1715 | # Provide some information about the compiler. | 
 | 1716 | echo "$as_me:$LINENO:" \ | 
 | 1717 |      "checking for C++ compiler version" >&5 | 
 | 1718 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 1719 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 1720 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 1721 |   ac_status=$? | 
 | 1722 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1723 |   (exit $ac_status); } | 
 | 1724 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 1725 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 1726 |   ac_status=$? | 
 | 1727 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1728 |   (exit $ac_status); } | 
 | 1729 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 1730 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 1731 |   ac_status=$? | 
 | 1732 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1733 |   (exit $ac_status); } | 
 | 1734 |  | 
 | 1735 | cat >conftest.$ac_ext <<_ACEOF | 
 | 1736 | #line $LINENO "configure" | 
 | 1737 | #include "confdefs.h" | 
 | 1738 |  | 
 | 1739 | #ifdef F77_DUMMY_MAIN | 
 | 1740 | #  ifdef __cplusplus | 
 | 1741 |      extern "C" | 
 | 1742 | #  endif | 
 | 1743 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1744 | #endif | 
 | 1745 | int | 
 | 1746 | main () | 
 | 1747 | { | 
 | 1748 |  | 
 | 1749 |   ; | 
 | 1750 |   return 0; | 
 | 1751 | } | 
 | 1752 | _ACEOF | 
 | 1753 | ac_clean_files_save=$ac_clean_files | 
 | 1754 | ac_clean_files="$ac_clean_files a.out a.exe" | 
 | 1755 | # Try to create an executable without -o first, disregard a.out. | 
 | 1756 | # It will help us diagnose broken compilers, and finding out an intuition | 
 | 1757 | # of exeext. | 
 | 1758 | echo "$as_me:$LINENO: checking for C++ compiler default output" >&5 | 
 | 1759 | echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6 | 
 | 1760 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
 | 1761 | if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 | 
 | 1762 |   (eval $ac_link_default) 2>&5 | 
 | 1763 |   ac_status=$? | 
 | 1764 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1765 |   (exit $ac_status); }; then | 
 | 1766 |   # Find the output, starting from the most likely.  This scheme is | 
 | 1767 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | 
 | 1768 | # resort. | 
 | 1769 |  | 
 | 1770 | # Be careful to initialize this variable, since it used to be cached. | 
 | 1771 | # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. | 
 | 1772 | ac_cv_exeext= | 
 | 1773 | for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; | 
 | 1774 |                 ls a.out conftest 2>/dev/null; | 
 | 1775 |                 ls a.* conftest.* 2>/dev/null`; do | 
 | 1776 |   case $ac_file in | 
 | 1777 |     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; | 
 | 1778 |     a.out ) # We found the default executable, but exeext='' is most | 
 | 1779 |             # certainly right. | 
 | 1780 |             break;; | 
 | 1781 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 1782 |           # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | 
 | 1783 |           export ac_cv_exeext | 
 | 1784 |           break;; | 
 | 1785 |     * ) break;; | 
 | 1786 |   esac | 
 | 1787 | done | 
 | 1788 | else | 
 | 1789 |   echo "$as_me: failed program was:" >&5 | 
 | 1790 | cat conftest.$ac_ext >&5 | 
 | 1791 | { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables" >&5 | 
 | 1792 | echo "$as_me: error: C++ compiler cannot create executables" >&2;} | 
 | 1793 |    { (exit 77); exit 77; }; } | 
 | 1794 | fi | 
 | 1795 |  | 
 | 1796 | ac_exeext=$ac_cv_exeext | 
 | 1797 | echo "$as_me:$LINENO: result: $ac_file" >&5 | 
 | 1798 | echo "${ECHO_T}$ac_file" >&6 | 
 | 1799 |  | 
 | 1800 | # Check the compiler produces executables we can run.  If not, either | 
 | 1801 | # the compiler is broken, or we cross compile. | 
 | 1802 | echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5 | 
 | 1803 | echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6 | 
 | 1804 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | 
 | 1805 | # If not cross compiling, check that we can run a simple program. | 
 | 1806 | if test "$cross_compiling" != yes; then | 
 | 1807 |   if { ac_try='./$ac_file' | 
 | 1808 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 1809 |   (eval $ac_try) 2>&5 | 
 | 1810 |   ac_status=$? | 
 | 1811 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1812 |   (exit $ac_status); }; }; then | 
 | 1813 |     cross_compiling=no | 
 | 1814 |   else | 
 | 1815 |     if test "$cross_compiling" = maybe; then | 
 | 1816 | 	cross_compiling=yes | 
 | 1817 |     else | 
 | 1818 | 	{ { echo "$as_me:$LINENO: error: cannot run C++ compiled programs. | 
 | 1819 | If you meant to cross compile, use \`--host'." >&5 | 
 | 1820 | echo "$as_me: error: cannot run C++ compiled programs. | 
 | 1821 | If you meant to cross compile, use \`--host'." >&2;} | 
 | 1822 |    { (exit 1); exit 1; }; } | 
 | 1823 |     fi | 
 | 1824 |   fi | 
 | 1825 | fi | 
 | 1826 | echo "$as_me:$LINENO: result: yes" >&5 | 
 | 1827 | echo "${ECHO_T}yes" >&6 | 
 | 1828 |  | 
 | 1829 | rm -f a.out a.exe conftest$ac_cv_exeext | 
 | 1830 | ac_clean_files=$ac_clean_files_save | 
 | 1831 | # Check the compiler produces executables we can run.  If not, either | 
 | 1832 | # the compiler is broken, or we cross compile. | 
 | 1833 | echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 | 
 | 1834 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 | 
 | 1835 | echo "$as_me:$LINENO: result: $cross_compiling" >&5 | 
 | 1836 | echo "${ECHO_T}$cross_compiling" >&6 | 
 | 1837 |  | 
 | 1838 | echo "$as_me:$LINENO: checking for suffix of executables" >&5 | 
 | 1839 | echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 | 
 | 1840 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 1841 |   (eval $ac_link) 2>&5 | 
 | 1842 |   ac_status=$? | 
 | 1843 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1844 |   (exit $ac_status); }; then | 
 | 1845 |   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
 | 1846 | # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
 | 1847 | # work properly (i.e., refer to `conftest.exe'), while it won't with | 
 | 1848 | # `rm'. | 
 | 1849 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | 
 | 1850 |   case $ac_file in | 
 | 1851 |     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
 | 1852 |     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
 | 1853 |           export ac_cv_exeext | 
 | 1854 |           break;; | 
 | 1855 |     * ) break;; | 
 | 1856 |   esac | 
 | 1857 | done | 
 | 1858 | else | 
 | 1859 |   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 | 
 | 1860 | echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} | 
 | 1861 |    { (exit 1); exit 1; }; } | 
 | 1862 | fi | 
 | 1863 |  | 
 | 1864 | rm -f conftest$ac_cv_exeext | 
 | 1865 | echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 | 
 | 1866 | echo "${ECHO_T}$ac_cv_exeext" >&6 | 
 | 1867 |  | 
 | 1868 | rm -f conftest.$ac_ext | 
 | 1869 | EXEEXT=$ac_cv_exeext | 
 | 1870 | ac_exeext=$EXEEXT | 
 | 1871 | echo "$as_me:$LINENO: checking for suffix of object files" >&5 | 
 | 1872 | echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 | 
 | 1873 | if test "${ac_cv_objext+set}" = set; then | 
 | 1874 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1875 | else | 
 | 1876 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 1877 | #line $LINENO "configure" | 
 | 1878 | #include "confdefs.h" | 
 | 1879 |  | 
 | 1880 | #ifdef F77_DUMMY_MAIN | 
 | 1881 | #  ifdef __cplusplus | 
 | 1882 |      extern "C" | 
 | 1883 | #  endif | 
 | 1884 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1885 | #endif | 
 | 1886 | int | 
 | 1887 | main () | 
 | 1888 | { | 
 | 1889 |  | 
 | 1890 |   ; | 
 | 1891 |   return 0; | 
 | 1892 | } | 
 | 1893 | _ACEOF | 
 | 1894 | rm -f conftest.o conftest.obj | 
 | 1895 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 1896 |   (eval $ac_compile) 2>&5 | 
 | 1897 |   ac_status=$? | 
 | 1898 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1899 |   (exit $ac_status); }; then | 
 | 1900 |   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | 
 | 1901 |   case $ac_file in | 
 | 1902 |     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | 
 | 1903 |     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
 | 1904 |        break;; | 
 | 1905 |   esac | 
 | 1906 | done | 
 | 1907 | else | 
 | 1908 |   echo "$as_me: failed program was:" >&5 | 
 | 1909 | cat conftest.$ac_ext >&5 | 
 | 1910 | { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 | 
 | 1911 | echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} | 
 | 1912 |    { (exit 1); exit 1; }; } | 
 | 1913 | fi | 
 | 1914 |  | 
 | 1915 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
 | 1916 | fi | 
 | 1917 | echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 | 
 | 1918 | echo "${ECHO_T}$ac_cv_objext" >&6 | 
 | 1919 | OBJEXT=$ac_cv_objext | 
 | 1920 | ac_objext=$OBJEXT | 
 | 1921 | echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 | 
 | 1922 | echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 | 
 | 1923 | if test "${ac_cv_cxx_compiler_gnu+set}" = set; then | 
 | 1924 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1925 | else | 
 | 1926 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 1927 | #line $LINENO "configure" | 
 | 1928 | #include "confdefs.h" | 
 | 1929 |  | 
 | 1930 | #ifdef F77_DUMMY_MAIN | 
 | 1931 | #  ifdef __cplusplus | 
 | 1932 |      extern "C" | 
 | 1933 | #  endif | 
 | 1934 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1935 | #endif | 
 | 1936 | int | 
 | 1937 | main () | 
 | 1938 | { | 
 | 1939 | #ifndef __GNUC__ | 
 | 1940 |        choke me | 
 | 1941 | #endif | 
 | 1942 |  | 
 | 1943 |   ; | 
 | 1944 |   return 0; | 
 | 1945 | } | 
 | 1946 | _ACEOF | 
 | 1947 | rm -f conftest.$ac_objext | 
 | 1948 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 1949 |   (eval $ac_compile) 2>&5 | 
 | 1950 |   ac_status=$? | 
 | 1951 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1952 |   (exit $ac_status); } && | 
 | 1953 |          { ac_try='test -s conftest.$ac_objext' | 
 | 1954 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 1955 |   (eval $ac_try) 2>&5 | 
 | 1956 |   ac_status=$? | 
 | 1957 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 1958 |   (exit $ac_status); }; }; then | 
 | 1959 |   ac_compiler_gnu=yes | 
 | 1960 | else | 
 | 1961 |   echo "$as_me: failed program was:" >&5 | 
 | 1962 | cat conftest.$ac_ext >&5 | 
 | 1963 | ac_compiler_gnu=no | 
 | 1964 | fi | 
 | 1965 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 1966 | ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
 | 1967 |  | 
 | 1968 | fi | 
 | 1969 | echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 | 
 | 1970 | echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 | 
 | 1971 | GXX=`test $ac_compiler_gnu = yes && echo yes` | 
 | 1972 | ac_test_CXXFLAGS=${CXXFLAGS+set} | 
 | 1973 | ac_save_CXXFLAGS=$CXXFLAGS | 
 | 1974 | CXXFLAGS="-g" | 
 | 1975 | echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 | 
 | 1976 | echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 | 
 | 1977 | if test "${ac_cv_prog_cxx_g+set}" = set; then | 
 | 1978 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 1979 | else | 
 | 1980 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 1981 | #line $LINENO "configure" | 
 | 1982 | #include "confdefs.h" | 
 | 1983 |  | 
 | 1984 | #ifdef F77_DUMMY_MAIN | 
 | 1985 | #  ifdef __cplusplus | 
 | 1986 |      extern "C" | 
 | 1987 | #  endif | 
 | 1988 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 1989 | #endif | 
 | 1990 | int | 
 | 1991 | main () | 
 | 1992 | { | 
 | 1993 |  | 
 | 1994 |   ; | 
 | 1995 |   return 0; | 
 | 1996 | } | 
 | 1997 | _ACEOF | 
 | 1998 | rm -f conftest.$ac_objext | 
 | 1999 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2000 |   (eval $ac_compile) 2>&5 | 
 | 2001 |   ac_status=$? | 
 | 2002 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2003 |   (exit $ac_status); } && | 
 | 2004 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2005 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2006 |   (eval $ac_try) 2>&5 | 
 | 2007 |   ac_status=$? | 
 | 2008 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2009 |   (exit $ac_status); }; }; then | 
 | 2010 |   ac_cv_prog_cxx_g=yes | 
 | 2011 | else | 
 | 2012 |   echo "$as_me: failed program was:" >&5 | 
 | 2013 | cat conftest.$ac_ext >&5 | 
 | 2014 | ac_cv_prog_cxx_g=no | 
 | 2015 | fi | 
 | 2016 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2017 | fi | 
 | 2018 | echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 | 
 | 2019 | echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 | 
 | 2020 | if test "$ac_test_CXXFLAGS" = set; then | 
 | 2021 |   CXXFLAGS=$ac_save_CXXFLAGS | 
 | 2022 | elif test $ac_cv_prog_cxx_g = yes; then | 
 | 2023 |   if test "$GXX" = yes; then | 
 | 2024 |     CXXFLAGS="-g -O2" | 
 | 2025 |   else | 
 | 2026 |     CXXFLAGS="-g" | 
 | 2027 |   fi | 
 | 2028 | else | 
 | 2029 |   if test "$GXX" = yes; then | 
 | 2030 |     CXXFLAGS="-O2" | 
 | 2031 |   else | 
 | 2032 |     CXXFLAGS= | 
 | 2033 |   fi | 
 | 2034 | fi | 
 | 2035 | for ac_declaration in \ | 
 | 2036 |    ''\ | 
 | 2037 |    '#include <stdlib.h>' \ | 
 | 2038 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 2039 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 2040 |    'extern "C" void exit (int) throw ();' \ | 
 | 2041 |    'extern "C" void exit (int);' \ | 
 | 2042 |    'void exit (int);' | 
 | 2043 | do | 
 | 2044 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2045 | #line $LINENO "configure" | 
 | 2046 | #include "confdefs.h" | 
 | 2047 | #include <stdlib.h> | 
 | 2048 | $ac_declaration | 
 | 2049 | #ifdef F77_DUMMY_MAIN | 
 | 2050 | #  ifdef __cplusplus | 
 | 2051 |      extern "C" | 
 | 2052 | #  endif | 
 | 2053 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2054 | #endif | 
 | 2055 | int | 
 | 2056 | main () | 
 | 2057 | { | 
 | 2058 | exit (42); | 
 | 2059 |   ; | 
 | 2060 |   return 0; | 
 | 2061 | } | 
 | 2062 | _ACEOF | 
 | 2063 | rm -f conftest.$ac_objext | 
 | 2064 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2065 |   (eval $ac_compile) 2>&5 | 
 | 2066 |   ac_status=$? | 
 | 2067 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2068 |   (exit $ac_status); } && | 
 | 2069 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2070 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2071 |   (eval $ac_try) 2>&5 | 
 | 2072 |   ac_status=$? | 
 | 2073 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2074 |   (exit $ac_status); }; }; then | 
 | 2075 |   : | 
 | 2076 | else | 
 | 2077 |   echo "$as_me: failed program was:" >&5 | 
 | 2078 | cat conftest.$ac_ext >&5 | 
 | 2079 | continue | 
 | 2080 | fi | 
 | 2081 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2082 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2083 | #line $LINENO "configure" | 
 | 2084 | #include "confdefs.h" | 
 | 2085 | $ac_declaration | 
 | 2086 | #ifdef F77_DUMMY_MAIN | 
 | 2087 | #  ifdef __cplusplus | 
 | 2088 |      extern "C" | 
 | 2089 | #  endif | 
 | 2090 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2091 | #endif | 
 | 2092 | int | 
 | 2093 | main () | 
 | 2094 | { | 
 | 2095 | exit (42); | 
 | 2096 |   ; | 
 | 2097 |   return 0; | 
 | 2098 | } | 
 | 2099 | _ACEOF | 
 | 2100 | rm -f conftest.$ac_objext | 
 | 2101 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2102 |   (eval $ac_compile) 2>&5 | 
 | 2103 |   ac_status=$? | 
 | 2104 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2105 |   (exit $ac_status); } && | 
 | 2106 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2107 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2108 |   (eval $ac_try) 2>&5 | 
 | 2109 |   ac_status=$? | 
 | 2110 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2111 |   (exit $ac_status); }; }; then | 
 | 2112 |   break | 
 | 2113 | else | 
 | 2114 |   echo "$as_me: failed program was:" >&5 | 
 | 2115 | cat conftest.$ac_ext >&5 | 
 | 2116 | fi | 
 | 2117 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2118 | done | 
 | 2119 | rm -f conftest* | 
 | 2120 | if test -n "$ac_declaration"; then | 
 | 2121 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 2122 |   echo $ac_declaration      >>confdefs.h | 
 | 2123 |   echo '#endif'             >>confdefs.h | 
 | 2124 | fi | 
 | 2125 |  | 
 | 2126 | ac_ext=c | 
 | 2127 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2128 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2129 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2130 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2131 |  | 
 | 2132 | ac_ext=c | 
 | 2133 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2134 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2135 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2136 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2137 | if test -n "$ac_tool_prefix"; then | 
 | 2138 |   for ac_prog in gcc | 
 | 2139 |   do | 
 | 2140 |     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
 | 2141 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
 | 2142 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2143 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2144 | if test "${ac_cv_prog_CC+set}" = set; then | 
 | 2145 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2146 | else | 
 | 2147 |   if test -n "$CC"; then | 
 | 2148 |   ac_cv_prog_CC="$CC" # Let the user override the test. | 
 | 2149 | else | 
 | 2150 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2151 | for as_dir in $PATH | 
 | 2152 | do | 
 | 2153 |   IFS=$as_save_IFS | 
 | 2154 |   test -z "$as_dir" && as_dir=. | 
 | 2155 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2156 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2157 |     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
 | 2158 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2159 |     break 2 | 
 | 2160 |   fi | 
 | 2161 | done | 
 | 2162 | done | 
 | 2163 |  | 
 | 2164 | fi | 
 | 2165 | fi | 
 | 2166 | CC=$ac_cv_prog_CC | 
 | 2167 | if test -n "$CC"; then | 
 | 2168 |   echo "$as_me:$LINENO: result: $CC" >&5 | 
 | 2169 | echo "${ECHO_T}$CC" >&6 | 
 | 2170 | else | 
 | 2171 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2172 | echo "${ECHO_T}no" >&6 | 
 | 2173 | fi | 
 | 2174 |  | 
 | 2175 |     test -n "$CC" && break | 
 | 2176 |   done | 
 | 2177 | fi | 
 | 2178 | if test -z "$CC"; then | 
 | 2179 |   ac_ct_CC=$CC | 
 | 2180 |   for ac_prog in gcc | 
 | 2181 | do | 
 | 2182 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 2183 | set dummy $ac_prog; ac_word=$2 | 
 | 2184 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2185 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2186 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | 
 | 2187 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2188 | else | 
 | 2189 |   if test -n "$ac_ct_CC"; then | 
 | 2190 |   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
 | 2191 | else | 
 | 2192 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2193 | for as_dir in $PATH | 
 | 2194 | do | 
 | 2195 |   IFS=$as_save_IFS | 
 | 2196 |   test -z "$as_dir" && as_dir=. | 
 | 2197 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2198 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2199 |     ac_cv_prog_ac_ct_CC="$ac_prog" | 
 | 2200 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2201 |     break 2 | 
 | 2202 |   fi | 
 | 2203 | done | 
 | 2204 | done | 
 | 2205 |  | 
 | 2206 | fi | 
 | 2207 | fi | 
 | 2208 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
 | 2209 | if test -n "$ac_ct_CC"; then | 
 | 2210 |   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 | 
 | 2211 | echo "${ECHO_T}$ac_ct_CC" >&6 | 
 | 2212 | else | 
 | 2213 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2214 | echo "${ECHO_T}no" >&6 | 
 | 2215 | fi | 
 | 2216 |  | 
 | 2217 |   test -n "$ac_ct_CC" && break | 
 | 2218 | done | 
 | 2219 |  | 
 | 2220 |   CC=$ac_ct_CC | 
 | 2221 | fi | 
 | 2222 |  | 
 | 2223 |  | 
 | 2224 | test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 | 
 | 2225 | echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} | 
 | 2226 |    { (exit 1); exit 1; }; } | 
 | 2227 |  | 
 | 2228 | # Provide some information about the compiler. | 
 | 2229 | echo "$as_me:$LINENO:" \ | 
 | 2230 |      "checking for C compiler version" >&5 | 
 | 2231 | ac_compiler=`set X $ac_compile; echo $2` | 
 | 2232 | { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 | 
 | 2233 |   (eval $ac_compiler --version </dev/null >&5) 2>&5 | 
 | 2234 |   ac_status=$? | 
 | 2235 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2236 |   (exit $ac_status); } | 
 | 2237 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 | 
 | 2238 |   (eval $ac_compiler -v </dev/null >&5) 2>&5 | 
 | 2239 |   ac_status=$? | 
 | 2240 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2241 |   (exit $ac_status); } | 
 | 2242 | { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 | 
 | 2243 |   (eval $ac_compiler -V </dev/null >&5) 2>&5 | 
 | 2244 |   ac_status=$? | 
 | 2245 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2246 |   (exit $ac_status); } | 
 | 2247 |  | 
 | 2248 | echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 | 
 | 2249 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 | 
 | 2250 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | 
 | 2251 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2252 | else | 
 | 2253 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2254 | #line $LINENO "configure" | 
 | 2255 | #include "confdefs.h" | 
 | 2256 |  | 
 | 2257 | #ifdef F77_DUMMY_MAIN | 
 | 2258 | #  ifdef __cplusplus | 
 | 2259 |      extern "C" | 
 | 2260 | #  endif | 
 | 2261 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2262 | #endif | 
 | 2263 | int | 
 | 2264 | main () | 
 | 2265 | { | 
 | 2266 | #ifndef __GNUC__ | 
 | 2267 |        choke me | 
 | 2268 | #endif | 
 | 2269 |  | 
 | 2270 |   ; | 
 | 2271 |   return 0; | 
 | 2272 | } | 
 | 2273 | _ACEOF | 
 | 2274 | rm -f conftest.$ac_objext | 
 | 2275 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2276 |   (eval $ac_compile) 2>&5 | 
 | 2277 |   ac_status=$? | 
 | 2278 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2279 |   (exit $ac_status); } && | 
 | 2280 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2281 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2282 |   (eval $ac_try) 2>&5 | 
 | 2283 |   ac_status=$? | 
 | 2284 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2285 |   (exit $ac_status); }; }; then | 
 | 2286 |   ac_compiler_gnu=yes | 
 | 2287 | else | 
 | 2288 |   echo "$as_me: failed program was:" >&5 | 
 | 2289 | cat conftest.$ac_ext >&5 | 
 | 2290 | ac_compiler_gnu=no | 
 | 2291 | fi | 
 | 2292 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2293 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
 | 2294 |  | 
 | 2295 | fi | 
 | 2296 | echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 | 
 | 2297 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 | 
 | 2298 | GCC=`test $ac_compiler_gnu = yes && echo yes` | 
 | 2299 | ac_test_CFLAGS=${CFLAGS+set} | 
 | 2300 | ac_save_CFLAGS=$CFLAGS | 
 | 2301 | CFLAGS="-g" | 
 | 2302 | echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 | 
 | 2303 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 | 
 | 2304 | if test "${ac_cv_prog_cc_g+set}" = set; then | 
 | 2305 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2306 | else | 
 | 2307 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2308 | #line $LINENO "configure" | 
 | 2309 | #include "confdefs.h" | 
 | 2310 |  | 
 | 2311 | #ifdef F77_DUMMY_MAIN | 
 | 2312 | #  ifdef __cplusplus | 
 | 2313 |      extern "C" | 
 | 2314 | #  endif | 
 | 2315 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2316 | #endif | 
 | 2317 | int | 
 | 2318 | main () | 
 | 2319 | { | 
 | 2320 |  | 
 | 2321 |   ; | 
 | 2322 |   return 0; | 
 | 2323 | } | 
 | 2324 | _ACEOF | 
 | 2325 | rm -f conftest.$ac_objext | 
 | 2326 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2327 |   (eval $ac_compile) 2>&5 | 
 | 2328 |   ac_status=$? | 
 | 2329 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2330 |   (exit $ac_status); } && | 
 | 2331 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2332 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2333 |   (eval $ac_try) 2>&5 | 
 | 2334 |   ac_status=$? | 
 | 2335 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2336 |   (exit $ac_status); }; }; then | 
 | 2337 |   ac_cv_prog_cc_g=yes | 
 | 2338 | else | 
 | 2339 |   echo "$as_me: failed program was:" >&5 | 
 | 2340 | cat conftest.$ac_ext >&5 | 
 | 2341 | ac_cv_prog_cc_g=no | 
 | 2342 | fi | 
 | 2343 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2344 | fi | 
 | 2345 | echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 | 
 | 2346 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 | 
 | 2347 | if test "$ac_test_CFLAGS" = set; then | 
 | 2348 |   CFLAGS=$ac_save_CFLAGS | 
 | 2349 | elif test $ac_cv_prog_cc_g = yes; then | 
 | 2350 |   if test "$GCC" = yes; then | 
 | 2351 |     CFLAGS="-g -O2" | 
 | 2352 |   else | 
 | 2353 |     CFLAGS="-g" | 
 | 2354 |   fi | 
 | 2355 | else | 
 | 2356 |   if test "$GCC" = yes; then | 
 | 2357 |     CFLAGS="-O2" | 
 | 2358 |   else | 
 | 2359 |     CFLAGS= | 
 | 2360 |   fi | 
 | 2361 | fi | 
 | 2362 | # Some people use a C++ compiler to compile C.  Since we use `exit', | 
 | 2363 | # in C++ we need to declare it.  In case someone uses the same compiler | 
 | 2364 | # for both compiling C and C++ we need to have the C++ compiler decide | 
 | 2365 | # the declaration of exit, since it's the most demanding environment. | 
 | 2366 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2367 | #ifndef __cplusplus | 
 | 2368 |   choke me | 
 | 2369 | #endif | 
 | 2370 | _ACEOF | 
 | 2371 | rm -f conftest.$ac_objext | 
 | 2372 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2373 |   (eval $ac_compile) 2>&5 | 
 | 2374 |   ac_status=$? | 
 | 2375 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2376 |   (exit $ac_status); } && | 
 | 2377 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2378 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2379 |   (eval $ac_try) 2>&5 | 
 | 2380 |   ac_status=$? | 
 | 2381 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2382 |   (exit $ac_status); }; }; then | 
 | 2383 |   for ac_declaration in \ | 
 | 2384 |    ''\ | 
 | 2385 |    '#include <stdlib.h>' \ | 
 | 2386 |    'extern "C" void std::exit (int) throw (); using std::exit;' \ | 
 | 2387 |    'extern "C" void std::exit (int); using std::exit;' \ | 
 | 2388 |    'extern "C" void exit (int) throw ();' \ | 
 | 2389 |    'extern "C" void exit (int);' \ | 
 | 2390 |    'void exit (int);' | 
 | 2391 | do | 
 | 2392 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2393 | #line $LINENO "configure" | 
 | 2394 | #include "confdefs.h" | 
 | 2395 | #include <stdlib.h> | 
 | 2396 | $ac_declaration | 
 | 2397 | #ifdef F77_DUMMY_MAIN | 
 | 2398 | #  ifdef __cplusplus | 
 | 2399 |      extern "C" | 
 | 2400 | #  endif | 
 | 2401 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2402 | #endif | 
 | 2403 | int | 
 | 2404 | main () | 
 | 2405 | { | 
 | 2406 | exit (42); | 
 | 2407 |   ; | 
 | 2408 |   return 0; | 
 | 2409 | } | 
 | 2410 | _ACEOF | 
 | 2411 | rm -f conftest.$ac_objext | 
 | 2412 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2413 |   (eval $ac_compile) 2>&5 | 
 | 2414 |   ac_status=$? | 
 | 2415 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2416 |   (exit $ac_status); } && | 
 | 2417 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2418 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2419 |   (eval $ac_try) 2>&5 | 
 | 2420 |   ac_status=$? | 
 | 2421 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2422 |   (exit $ac_status); }; }; then | 
 | 2423 |   : | 
 | 2424 | else | 
 | 2425 |   echo "$as_me: failed program was:" >&5 | 
 | 2426 | cat conftest.$ac_ext >&5 | 
 | 2427 | continue | 
 | 2428 | fi | 
 | 2429 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2430 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2431 | #line $LINENO "configure" | 
 | 2432 | #include "confdefs.h" | 
 | 2433 | $ac_declaration | 
 | 2434 | #ifdef F77_DUMMY_MAIN | 
 | 2435 | #  ifdef __cplusplus | 
 | 2436 |      extern "C" | 
 | 2437 | #  endif | 
 | 2438 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2439 | #endif | 
 | 2440 | int | 
 | 2441 | main () | 
 | 2442 | { | 
 | 2443 | exit (42); | 
 | 2444 |   ; | 
 | 2445 |   return 0; | 
 | 2446 | } | 
 | 2447 | _ACEOF | 
 | 2448 | rm -f conftest.$ac_objext | 
 | 2449 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 2450 |   (eval $ac_compile) 2>&5 | 
 | 2451 |   ac_status=$? | 
 | 2452 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2453 |   (exit $ac_status); } && | 
 | 2454 |          { ac_try='test -s conftest.$ac_objext' | 
 | 2455 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2456 |   (eval $ac_try) 2>&5 | 
 | 2457 |   ac_status=$? | 
 | 2458 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2459 |   (exit $ac_status); }; }; then | 
 | 2460 |   break | 
 | 2461 | else | 
 | 2462 |   echo "$as_me: failed program was:" >&5 | 
 | 2463 | cat conftest.$ac_ext >&5 | 
 | 2464 | fi | 
 | 2465 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2466 | done | 
 | 2467 | rm -f conftest* | 
 | 2468 | if test -n "$ac_declaration"; then | 
 | 2469 |   echo '#ifdef __cplusplus' >>confdefs.h | 
 | 2470 |   echo $ac_declaration      >>confdefs.h | 
 | 2471 |   echo '#endif'             >>confdefs.h | 
 | 2472 | fi | 
 | 2473 |  | 
 | 2474 | else | 
 | 2475 |   echo "$as_me: failed program was:" >&5 | 
 | 2476 | cat conftest.$ac_ext >&5 | 
 | 2477 | fi | 
 | 2478 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 2479 | ac_ext=c | 
 | 2480 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2481 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2482 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2483 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2484 |  | 
 | 2485 | ac_ext=c | 
 | 2486 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2487 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2488 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2489 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2490 | echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 | 
 | 2491 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 | 
 | 2492 | # On Suns, sometimes $CPP names a directory. | 
 | 2493 | if test -n "$CPP" && test -d "$CPP"; then | 
 | 2494 |   CPP= | 
 | 2495 | fi | 
 | 2496 | if test -z "$CPP"; then | 
 | 2497 |   if test "${ac_cv_prog_CPP+set}" = set; then | 
 | 2498 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2499 | else | 
 | 2500 |       # Double quotes because CPP needs to be expanded | 
 | 2501 |     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
 | 2502 |     do | 
 | 2503 |       ac_preproc_ok=false | 
 | 2504 | for ac_c_preproc_warn_flag in '' yes | 
 | 2505 | do | 
 | 2506 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 2507 |   # with a fresh cross-compiler works. | 
 | 2508 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 2509 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 2510 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2511 | #line $LINENO "configure" | 
 | 2512 | #include "confdefs.h" | 
 | 2513 | #include <assert.h> | 
 | 2514 |                      Syntax error | 
 | 2515 | _ACEOF | 
 | 2516 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2517 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2518 |   ac_status=$? | 
 | 2519 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2520 |   rm -f conftest.er1 | 
 | 2521 |   cat conftest.err >&5 | 
 | 2522 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2523 |   (exit $ac_status); } >/dev/null; then | 
 | 2524 |   if test -s conftest.err; then | 
 | 2525 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2526 |   else | 
 | 2527 |     ac_cpp_err= | 
 | 2528 |   fi | 
 | 2529 | else | 
 | 2530 |   ac_cpp_err=yes | 
 | 2531 | fi | 
 | 2532 | if test -z "$ac_cpp_err"; then | 
 | 2533 |   : | 
 | 2534 | else | 
 | 2535 |   echo "$as_me: failed program was:" >&5 | 
 | 2536 |   cat conftest.$ac_ext >&5 | 
 | 2537 |   # Broken: fails on valid input. | 
 | 2538 | continue | 
 | 2539 | fi | 
 | 2540 | rm -f conftest.err conftest.$ac_ext | 
 | 2541 |  | 
 | 2542 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 2543 |   # can be detected and how. | 
 | 2544 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2545 | #line $LINENO "configure" | 
 | 2546 | #include "confdefs.h" | 
 | 2547 | #include <ac_nonexistent.h> | 
 | 2548 | _ACEOF | 
 | 2549 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2550 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2551 |   ac_status=$? | 
 | 2552 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2553 |   rm -f conftest.er1 | 
 | 2554 |   cat conftest.err >&5 | 
 | 2555 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2556 |   (exit $ac_status); } >/dev/null; then | 
 | 2557 |   if test -s conftest.err; then | 
 | 2558 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2559 |   else | 
 | 2560 |     ac_cpp_err= | 
 | 2561 |   fi | 
 | 2562 | else | 
 | 2563 |   ac_cpp_err=yes | 
 | 2564 | fi | 
 | 2565 | if test -z "$ac_cpp_err"; then | 
 | 2566 |   # Broken: success on invalid input. | 
 | 2567 | continue | 
 | 2568 | else | 
 | 2569 |   echo "$as_me: failed program was:" >&5 | 
 | 2570 |   cat conftest.$ac_ext >&5 | 
 | 2571 |   # Passes both tests. | 
 | 2572 | ac_preproc_ok=: | 
 | 2573 | break | 
 | 2574 | fi | 
 | 2575 | rm -f conftest.err conftest.$ac_ext | 
 | 2576 |  | 
 | 2577 | done | 
 | 2578 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 2579 | rm -f conftest.err conftest.$ac_ext | 
 | 2580 | if $ac_preproc_ok; then | 
 | 2581 |   break | 
 | 2582 | fi | 
 | 2583 |  | 
 | 2584 |     done | 
 | 2585 |     ac_cv_prog_CPP=$CPP | 
 | 2586 |  | 
 | 2587 | fi | 
 | 2588 |   CPP=$ac_cv_prog_CPP | 
 | 2589 | else | 
 | 2590 |   ac_cv_prog_CPP=$CPP | 
 | 2591 | fi | 
 | 2592 | echo "$as_me:$LINENO: result: $CPP" >&5 | 
 | 2593 | echo "${ECHO_T}$CPP" >&6 | 
 | 2594 | ac_preproc_ok=false | 
 | 2595 | for ac_c_preproc_warn_flag in '' yes | 
 | 2596 | do | 
 | 2597 |   # Use a header file that comes with gcc, so configuring glibc | 
 | 2598 |   # with a fresh cross-compiler works. | 
 | 2599 |   # On the NeXT, cc -E runs the code through the compiler's parser, | 
 | 2600 |   # not just through cpp. "Syntax error" is here to catch this case. | 
 | 2601 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2602 | #line $LINENO "configure" | 
 | 2603 | #include "confdefs.h" | 
 | 2604 | #include <assert.h> | 
 | 2605 |                      Syntax error | 
 | 2606 | _ACEOF | 
 | 2607 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2608 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2609 |   ac_status=$? | 
 | 2610 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2611 |   rm -f conftest.er1 | 
 | 2612 |   cat conftest.err >&5 | 
 | 2613 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2614 |   (exit $ac_status); } >/dev/null; then | 
 | 2615 |   if test -s conftest.err; then | 
 | 2616 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2617 |   else | 
 | 2618 |     ac_cpp_err= | 
 | 2619 |   fi | 
 | 2620 | else | 
 | 2621 |   ac_cpp_err=yes | 
 | 2622 | fi | 
 | 2623 | if test -z "$ac_cpp_err"; then | 
 | 2624 |   : | 
 | 2625 | else | 
 | 2626 |   echo "$as_me: failed program was:" >&5 | 
 | 2627 |   cat conftest.$ac_ext >&5 | 
 | 2628 |   # Broken: fails on valid input. | 
 | 2629 | continue | 
 | 2630 | fi | 
 | 2631 | rm -f conftest.err conftest.$ac_ext | 
 | 2632 |  | 
 | 2633 |   # OK, works on sane cases.  Now check whether non-existent headers | 
 | 2634 |   # can be detected and how. | 
 | 2635 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 2636 | #line $LINENO "configure" | 
 | 2637 | #include "confdefs.h" | 
 | 2638 | #include <ac_nonexistent.h> | 
 | 2639 | _ACEOF | 
 | 2640 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 2641 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 2642 |   ac_status=$? | 
 | 2643 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 2644 |   rm -f conftest.er1 | 
 | 2645 |   cat conftest.err >&5 | 
 | 2646 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2647 |   (exit $ac_status); } >/dev/null; then | 
 | 2648 |   if test -s conftest.err; then | 
 | 2649 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 2650 |   else | 
 | 2651 |     ac_cpp_err= | 
 | 2652 |   fi | 
 | 2653 | else | 
 | 2654 |   ac_cpp_err=yes | 
 | 2655 | fi | 
 | 2656 | if test -z "$ac_cpp_err"; then | 
 | 2657 |   # Broken: success on invalid input. | 
 | 2658 | continue | 
 | 2659 | else | 
 | 2660 |   echo "$as_me: failed program was:" >&5 | 
 | 2661 |   cat conftest.$ac_ext >&5 | 
 | 2662 |   # Passes both tests. | 
 | 2663 | ac_preproc_ok=: | 
 | 2664 | break | 
 | 2665 | fi | 
 | 2666 | rm -f conftest.err conftest.$ac_ext | 
 | 2667 |  | 
 | 2668 | done | 
 | 2669 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
 | 2670 | rm -f conftest.err conftest.$ac_ext | 
 | 2671 | if $ac_preproc_ok; then | 
 | 2672 |   : | 
 | 2673 | else | 
 | 2674 |   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 | 
 | 2675 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} | 
 | 2676 |    { (exit 1); exit 1; }; } | 
 | 2677 | fi | 
 | 2678 |  | 
 | 2679 | ac_ext=c | 
 | 2680 | ac_cpp='$CPP $CPPFLAGS' | 
 | 2681 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 2682 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 2683 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 2684 |  | 
 | 2685 |  | 
 | 2686 | if test "$GCC" != "yes" | 
 | 2687 | then | 
 | 2688 | 	{ { echo "$as_me:$LINENO: error: gcc required but not found" >&5 | 
 | 2689 | echo "$as_me: error: gcc required but not found" >&2;} | 
 | 2690 |    { (exit 1); exit 1; }; } | 
 | 2691 | fi | 
 | 2692 |  | 
 | 2693 | if test "$GXX" != "yes" | 
 | 2694 | then | 
 | 2695 | 	{ { echo "$as_me:$LINENO: error: g++ required but not found" >&5 | 
 | 2696 | echo "$as_me: error: g++ required but not found" >&2;} | 
 | 2697 |    { (exit 1); exit 1; }; } | 
 | 2698 | fi | 
 | 2699 |  | 
 | 2700 |  echo "$as_me:$LINENO: checking for GNU make" >&5 | 
 | 2701 | echo $ECHO_N "checking for GNU make... $ECHO_C" >&6 | 
 | 2702 | if test "${_cv_gnu_make_command+set}" = set; then | 
 | 2703 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2704 | else | 
 | 2705 |   _cv_gnu_make_command='' ; | 
 | 2706 |                 for a in "$MAKE" make gmake gnumake ; do | 
 | 2707 |                         if test -z "$a" ; then continue ; fi ; | 
 | 2708 |                         if  ( sh -c "$a --version" 2> /dev/null | grep GNU  2>&1 > /dev/null ) ;  then | 
 | 2709 |                                 _cv_gnu_make_command=$a ; | 
 | 2710 |                                 break; | 
 | 2711 |                         fi | 
 | 2712 |                 done ; | 
 | 2713 |  | 
 | 2714 | fi | 
 | 2715 | echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5 | 
 | 2716 | echo "${ECHO_T}$_cv_gnu_make_command" >&6 ; | 
 | 2717 |         if test  "x$_cv_gnu_make_command" != "x"  ; then | 
 | 2718 |                 ifGNUmake='' ; | 
 | 2719 |         else | 
 | 2720 |                 ifGNUmake='#' ; | 
 | 2721 |                 echo "$as_me:$LINENO: result: \"Not found\"" >&5 | 
 | 2722 | echo "${ECHO_T}\"Not found\"" >&6; | 
 | 2723 |         fi | 
 | 2724 |  | 
 | 2725 |  | 
 | 2726 | if test -z "$_cv_gnu_make_command" | 
 | 2727 | then | 
 | 2728 | 	{ { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5 | 
 | 2729 | echo "$as_me: error: GNU Make required but not found" >&2;} | 
 | 2730 |    { (exit 1); exit 1; }; } | 
 | 2731 | fi | 
 | 2732 |  | 
 | 2733 |  | 
 | 2734 | echo "$as_me:$LINENO: checking " >&5 | 
 | 2735 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 2736 | if test "${ac_cv_has_flex+set}" = set; then | 
 | 2737 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2738 | else | 
 | 2739 |   for ac_prog in flex lex | 
 | 2740 | do | 
 | 2741 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 2742 | set dummy $ac_prog; ac_word=$2 | 
 | 2743 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 2744 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 2745 | if test "${ac_cv_prog_LEX+set}" = set; then | 
 | 2746 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2747 | else | 
 | 2748 |   if test -n "$LEX"; then | 
 | 2749 |   ac_cv_prog_LEX="$LEX" # Let the user override the test. | 
 | 2750 | else | 
 | 2751 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 2752 | for as_dir in $PATH | 
 | 2753 | do | 
 | 2754 |   IFS=$as_save_IFS | 
 | 2755 |   test -z "$as_dir" && as_dir=. | 
 | 2756 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 2757 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 2758 |     ac_cv_prog_LEX="$ac_prog" | 
 | 2759 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 2760 |     break 2 | 
 | 2761 |   fi | 
 | 2762 | done | 
 | 2763 | done | 
 | 2764 |  | 
 | 2765 | fi | 
 | 2766 | fi | 
 | 2767 | LEX=$ac_cv_prog_LEX | 
 | 2768 | if test -n "$LEX"; then | 
 | 2769 |   echo "$as_me:$LINENO: result: $LEX" >&5 | 
 | 2770 | echo "${ECHO_T}$LEX" >&6 | 
 | 2771 | else | 
 | 2772 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 2773 | echo "${ECHO_T}no" >&6 | 
 | 2774 | fi | 
 | 2775 |  | 
 | 2776 |   test -n "$LEX" && break | 
 | 2777 | done | 
 | 2778 | test -n "$LEX" || LEX=":" | 
 | 2779 |  | 
 | 2780 | if test -z "$LEXLIB" | 
 | 2781 | then | 
 | 2782 |   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5 | 
 | 2783 | echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6 | 
 | 2784 | if test "${ac_cv_lib_fl_yywrap+set}" = set; then | 
 | 2785 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2786 | else | 
 | 2787 |   ac_check_lib_save_LIBS=$LIBS | 
 | 2788 | LIBS="-lfl  $LIBS" | 
 | 2789 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2790 | #line $LINENO "configure" | 
 | 2791 | #include "confdefs.h" | 
 | 2792 |  | 
 | 2793 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 2794 | #ifdef __cplusplus | 
 | 2795 | extern "C" | 
 | 2796 | #endif | 
 | 2797 | /* We use char because int might match the return type of a gcc2 | 
 | 2798 |    builtin and then its argument prototype would still apply.  */ | 
 | 2799 | char yywrap (); | 
 | 2800 | #ifdef F77_DUMMY_MAIN | 
 | 2801 | #  ifdef __cplusplus | 
 | 2802 |      extern "C" | 
 | 2803 | #  endif | 
 | 2804 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2805 | #endif | 
 | 2806 | int | 
 | 2807 | main () | 
 | 2808 | { | 
 | 2809 | yywrap (); | 
 | 2810 |   ; | 
 | 2811 |   return 0; | 
 | 2812 | } | 
 | 2813 | _ACEOF | 
 | 2814 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 2815 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2816 |   (eval $ac_link) 2>&5 | 
 | 2817 |   ac_status=$? | 
 | 2818 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2819 |   (exit $ac_status); } && | 
 | 2820 |          { ac_try='test -s conftest$ac_exeext' | 
 | 2821 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2822 |   (eval $ac_try) 2>&5 | 
 | 2823 |   ac_status=$? | 
 | 2824 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2825 |   (exit $ac_status); }; }; then | 
 | 2826 |   ac_cv_lib_fl_yywrap=yes | 
 | 2827 | else | 
 | 2828 |   echo "$as_me: failed program was:" >&5 | 
 | 2829 | cat conftest.$ac_ext >&5 | 
 | 2830 | ac_cv_lib_fl_yywrap=no | 
 | 2831 | fi | 
 | 2832 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 2833 | LIBS=$ac_check_lib_save_LIBS | 
 | 2834 | fi | 
 | 2835 | echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5 | 
 | 2836 | echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6 | 
 | 2837 | if test $ac_cv_lib_fl_yywrap = yes; then | 
 | 2838 |   LEXLIB="-lfl" | 
 | 2839 | else | 
 | 2840 |   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5 | 
 | 2841 | echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6 | 
 | 2842 | if test "${ac_cv_lib_l_yywrap+set}" = set; then | 
 | 2843 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2844 | else | 
 | 2845 |   ac_check_lib_save_LIBS=$LIBS | 
 | 2846 | LIBS="-ll  $LIBS" | 
 | 2847 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2848 | #line $LINENO "configure" | 
 | 2849 | #include "confdefs.h" | 
 | 2850 |  | 
 | 2851 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 2852 | #ifdef __cplusplus | 
 | 2853 | extern "C" | 
 | 2854 | #endif | 
 | 2855 | /* We use char because int might match the return type of a gcc2 | 
 | 2856 |    builtin and then its argument prototype would still apply.  */ | 
 | 2857 | char yywrap (); | 
 | 2858 | #ifdef F77_DUMMY_MAIN | 
 | 2859 | #  ifdef __cplusplus | 
 | 2860 |      extern "C" | 
 | 2861 | #  endif | 
 | 2862 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 2863 | #endif | 
 | 2864 | int | 
 | 2865 | main () | 
 | 2866 | { | 
 | 2867 | yywrap (); | 
 | 2868 |   ; | 
 | 2869 |   return 0; | 
 | 2870 | } | 
 | 2871 | _ACEOF | 
 | 2872 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 2873 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2874 |   (eval $ac_link) 2>&5 | 
 | 2875 |   ac_status=$? | 
 | 2876 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2877 |   (exit $ac_status); } && | 
 | 2878 |          { ac_try='test -s conftest$ac_exeext' | 
 | 2879 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2880 |   (eval $ac_try) 2>&5 | 
 | 2881 |   ac_status=$? | 
 | 2882 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2883 |   (exit $ac_status); }; }; then | 
 | 2884 |   ac_cv_lib_l_yywrap=yes | 
 | 2885 | else | 
 | 2886 |   echo "$as_me: failed program was:" >&5 | 
 | 2887 | cat conftest.$ac_ext >&5 | 
 | 2888 | ac_cv_lib_l_yywrap=no | 
 | 2889 | fi | 
 | 2890 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 2891 | LIBS=$ac_check_lib_save_LIBS | 
 | 2892 | fi | 
 | 2893 | echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5 | 
 | 2894 | echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6 | 
 | 2895 | if test $ac_cv_lib_l_yywrap = yes; then | 
 | 2896 |   LEXLIB="-ll" | 
 | 2897 | fi | 
 | 2898 |  | 
 | 2899 | fi | 
 | 2900 |  | 
 | 2901 | fi | 
 | 2902 |  | 
 | 2903 | if test "x$LEX" != "x:"; then | 
 | 2904 |   echo "$as_me:$LINENO: checking lex output file root" >&5 | 
 | 2905 | echo $ECHO_N "checking lex output file root... $ECHO_C" >&6 | 
 | 2906 | if test "${ac_cv_prog_lex_root+set}" = set; then | 
 | 2907 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2908 | else | 
 | 2909 |   # The minimal lex program is just a single line: %%.  But some broken lexes | 
 | 2910 | # (Solaris, I think it was) want two %% lines, so accommodate them. | 
 | 2911 | cat >conftest.l <<_ACEOF | 
 | 2912 | %% | 
 | 2913 | %% | 
 | 2914 | _ACEOF | 
 | 2915 | { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5 | 
 | 2916 |   (eval $LEX conftest.l) 2>&5 | 
 | 2917 |   ac_status=$? | 
 | 2918 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2919 |   (exit $ac_status); } | 
 | 2920 | if test -f lex.yy.c; then | 
 | 2921 |   ac_cv_prog_lex_root=lex.yy | 
 | 2922 | elif test -f lexyy.c; then | 
 | 2923 |   ac_cv_prog_lex_root=lexyy | 
 | 2924 | else | 
 | 2925 |   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5 | 
 | 2926 | echo "$as_me: error: cannot find output from $LEX; giving up" >&2;} | 
 | 2927 |    { (exit 1); exit 1; }; } | 
 | 2928 | fi | 
 | 2929 | fi | 
 | 2930 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5 | 
 | 2931 | echo "${ECHO_T}$ac_cv_prog_lex_root" >&6 | 
 | 2932 | rm -f conftest.l | 
 | 2933 | LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root | 
 | 2934 |  | 
 | 2935 | echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5 | 
 | 2936 | echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6 | 
 | 2937 | if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then | 
 | 2938 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2939 | else | 
 | 2940 |   # POSIX says lex can declare yytext either as a pointer or an array; the | 
 | 2941 | # default is implementation-dependent. Figure out which it is, since | 
 | 2942 | # not all implementations provide the %pointer and %array declarations. | 
 | 2943 | ac_cv_prog_lex_yytext_pointer=no | 
 | 2944 | echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c | 
 | 2945 | ac_save_LIBS=$LIBS | 
 | 2946 | LIBS="$LIBS $LEXLIB" | 
 | 2947 | cat >conftest.$ac_ext <<_ACEOF | 
 | 2948 | `cat $LEX_OUTPUT_ROOT.c` | 
 | 2949 | _ACEOF | 
 | 2950 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 2951 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 2952 |   (eval $ac_link) 2>&5 | 
 | 2953 |   ac_status=$? | 
 | 2954 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2955 |   (exit $ac_status); } && | 
 | 2956 |          { ac_try='test -s conftest$ac_exeext' | 
 | 2957 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 2958 |   (eval $ac_try) 2>&5 | 
 | 2959 |   ac_status=$? | 
 | 2960 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 2961 |   (exit $ac_status); }; }; then | 
 | 2962 |   ac_cv_prog_lex_yytext_pointer=yes | 
 | 2963 | else | 
 | 2964 |   echo "$as_me: failed program was:" >&5 | 
 | 2965 | cat conftest.$ac_ext >&5 | 
 | 2966 | fi | 
 | 2967 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 2968 | LIBS=$ac_save_LIBS | 
 | 2969 | rm -f "${LEX_OUTPUT_ROOT}.c" | 
 | 2970 |  | 
 | 2971 | fi | 
 | 2972 | echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5 | 
 | 2973 | echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6 | 
 | 2974 | if test $ac_cv_prog_lex_yytext_pointer = yes; then | 
 | 2975 |  | 
 | 2976 | cat >>confdefs.h <<\_ACEOF | 
 | 2977 | #define YYTEXT_POINTER 1 | 
 | 2978 | _ACEOF | 
 | 2979 |  | 
 | 2980 | fi | 
 | 2981 |  | 
 | 2982 | fi | 
 | 2983 |  | 
 | 2984 | fi | 
 | 2985 | echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5 | 
 | 2986 | echo "${ECHO_T}$ac_cv_has_flex" >&6 | 
 | 2987 | if test "$LEX" != "flex"; then | 
 | 2988 |   { { echo "$as_me:$LINENO: error: flex not found but required" >&5 | 
 | 2989 | echo "$as_me: error: flex not found but required" >&2;} | 
 | 2990 |    { (exit 1); exit 1; }; } | 
 | 2991 | fi | 
 | 2992 |  | 
 | 2993 | echo "$as_me:$LINENO: checking " >&5 | 
 | 2994 | echo $ECHO_N "checking ... $ECHO_C" >&6 | 
 | 2995 | if test "${ac_cv_has_bison+set}" = set; then | 
 | 2996 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 2997 | else | 
 | 2998 |   for ac_prog in 'bison -y' byacc | 
 | 2999 | do | 
 | 3000 |   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
 | 3001 | set dummy $ac_prog; ac_word=$2 | 
 | 3002 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 3003 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 3004 | if test "${ac_cv_prog_YACC+set}" = set; then | 
 | 3005 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3006 | else | 
 | 3007 |   if test -n "$YACC"; then | 
 | 3008 |   ac_cv_prog_YACC="$YACC" # Let the user override the test. | 
 | 3009 | else | 
 | 3010 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 3011 | for as_dir in $PATH | 
 | 3012 | do | 
 | 3013 |   IFS=$as_save_IFS | 
 | 3014 |   test -z "$as_dir" && as_dir=. | 
 | 3015 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 3016 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 3017 |     ac_cv_prog_YACC="$ac_prog" | 
 | 3018 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 3019 |     break 2 | 
 | 3020 |   fi | 
 | 3021 | done | 
 | 3022 | done | 
 | 3023 |  | 
 | 3024 | fi | 
 | 3025 | fi | 
 | 3026 | YACC=$ac_cv_prog_YACC | 
 | 3027 | if test -n "$YACC"; then | 
 | 3028 |   echo "$as_me:$LINENO: result: $YACC" >&5 | 
 | 3029 | echo "${ECHO_T}$YACC" >&6 | 
 | 3030 | else | 
 | 3031 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3032 | echo "${ECHO_T}no" >&6 | 
 | 3033 | fi | 
 | 3034 |  | 
 | 3035 |   test -n "$YACC" && break | 
 | 3036 | done | 
 | 3037 | test -n "$YACC" || YACC="yacc" | 
 | 3038 |  | 
 | 3039 |  | 
 | 3040 | fi | 
 | 3041 | echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5 | 
 | 3042 | echo "${ECHO_T}$ac_cv_has_bison" >&6 | 
 | 3043 | if test "$YACC" != "bison -y"; then | 
 | 3044 |   { { echo "$as_me:$LINENO: error: bison not found but required" >&5 | 
 | 3045 | echo "$as_me: error: bison not found but required" >&2;} | 
 | 3046 |    { (exit 1); exit 1; }; } | 
 | 3047 | else | 
 | 3048 |   YACC=bison | 
 | 3049 |  | 
 | 3050 | fi | 
 | 3051 |  | 
 | 3052 |  | 
 | 3053 | # Check whether --enable-shared or --disable-shared was given. | 
 | 3054 | if test "${enable_shared+set}" = set; then | 
 | 3055 |   enableval="$enable_shared" | 
 | 3056 |   p=${PACKAGE-default} | 
 | 3057 | case $enableval in | 
 | 3058 | yes) enable_shared=yes ;; | 
 | 3059 | no) enable_shared=no ;; | 
 | 3060 | *) | 
 | 3061 |   enable_shared=no | 
 | 3062 |   # Look at the argument we got.  We use all the common list separators. | 
 | 3063 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
 | 3064 |   for pkg in $enableval; do | 
 | 3065 |     if test "X$pkg" = "X$p"; then | 
 | 3066 |       enable_shared=yes | 
 | 3067 |     fi | 
 | 3068 |   done | 
 | 3069 |   IFS="$ac_save_ifs" | 
 | 3070 |   ;; | 
 | 3071 | esac | 
 | 3072 | else | 
 | 3073 |   enable_shared=yes | 
 | 3074 | fi; | 
 | 3075 | # Check whether --enable-static or --disable-static was given. | 
 | 3076 | if test "${enable_static+set}" = set; then | 
 | 3077 |   enableval="$enable_static" | 
 | 3078 |   p=${PACKAGE-default} | 
 | 3079 | case $enableval in | 
 | 3080 | yes) enable_static=yes ;; | 
 | 3081 | no) enable_static=no ;; | 
 | 3082 | *) | 
 | 3083 |   enable_static=no | 
 | 3084 |   # Look at the argument we got.  We use all the common list separators. | 
 | 3085 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
 | 3086 |   for pkg in $enableval; do | 
 | 3087 |     if test "X$pkg" = "X$p"; then | 
 | 3088 |       enable_static=yes | 
 | 3089 |     fi | 
 | 3090 |   done | 
 | 3091 |   IFS="$ac_save_ifs" | 
 | 3092 |   ;; | 
 | 3093 | esac | 
 | 3094 | else | 
 | 3095 |   enable_static=yes | 
 | 3096 | fi; | 
 | 3097 | # Check whether --enable-fast-install or --disable-fast-install was given. | 
 | 3098 | if test "${enable_fast_install+set}" = set; then | 
 | 3099 |   enableval="$enable_fast_install" | 
 | 3100 |   p=${PACKAGE-default} | 
 | 3101 | case $enableval in | 
 | 3102 | yes) enable_fast_install=yes ;; | 
 | 3103 | no) enable_fast_install=no ;; | 
 | 3104 | *) | 
 | 3105 |   enable_fast_install=no | 
 | 3106 |   # Look at the argument we got.  We use all the common list separators. | 
 | 3107 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:," | 
 | 3108 |   for pkg in $enableval; do | 
 | 3109 |     if test "X$pkg" = "X$p"; then | 
 | 3110 |       enable_fast_install=yes | 
 | 3111 |     fi | 
 | 3112 |   done | 
 | 3113 |   IFS="$ac_save_ifs" | 
 | 3114 |   ;; | 
 | 3115 | esac | 
 | 3116 | else | 
 | 3117 |   enable_fast_install=yes | 
 | 3118 | fi; | 
 | 3119 | # Find the correct PATH separator.  Usually this is `:', but | 
 | 3120 | # DJGPP uses `;' like DOS. | 
 | 3121 | if test "X${PATH_SEPARATOR+set}" != Xset; then | 
 | 3122 |   UNAME=${UNAME-`uname 2>/dev/null`} | 
 | 3123 |   case X$UNAME in | 
 | 3124 |     *-DOS) lt_cv_sys_path_separator=';' ;; | 
 | 3125 |     *)     lt_cv_sys_path_separator=':' ;; | 
 | 3126 |   esac | 
 | 3127 |   PATH_SEPARATOR=$lt_cv_sys_path_separator | 
 | 3128 | fi | 
 | 3129 |  | 
 | 3130 |  | 
 | 3131 | # Check whether --with-gnu-ld or --without-gnu-ld was given. | 
 | 3132 | if test "${with_gnu_ld+set}" = set; then | 
 | 3133 |   withval="$with_gnu_ld" | 
 | 3134 |   test "$withval" = no || with_gnu_ld=yes | 
 | 3135 | else | 
 | 3136 |   with_gnu_ld=no | 
 | 3137 | fi; | 
 | 3138 | ac_prog=ld | 
 | 3139 | if test "$GCC" = yes; then | 
 | 3140 |   # Check if gcc -print-prog-name=ld gives a path. | 
 | 3141 |   echo "$as_me:$LINENO: checking for ld used by GCC" >&5 | 
 | 3142 | echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6 | 
 | 3143 |   case $host in | 
 | 3144 |   *-*-mingw*) | 
 | 3145 |     # gcc leaves a trailing carriage return which upsets mingw | 
 | 3146 |     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
 | 3147 |   *) | 
 | 3148 |     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
 | 3149 |   esac | 
 | 3150 |   case $ac_prog in | 
 | 3151 |     # Accept absolute paths. | 
 | 3152 |     [\\/]* | [A-Za-z]:[\\/]*) | 
 | 3153 |       re_direlt='/[^/][^/]*/\.\./' | 
 | 3154 |       # Canonicalize the path of ld | 
 | 3155 |       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'` | 
 | 3156 |       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do | 
 | 3157 | 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"` | 
 | 3158 |       done | 
 | 3159 |       test -z "$LD" && LD="$ac_prog" | 
 | 3160 |       ;; | 
 | 3161 |   "") | 
 | 3162 |     # If it fails, then pretend we aren't using GCC. | 
 | 3163 |     ac_prog=ld | 
 | 3164 |     ;; | 
 | 3165 |   *) | 
 | 3166 |     # If it is relative, then search for the first ld in PATH. | 
 | 3167 |     with_gnu_ld=unknown | 
 | 3168 |     ;; | 
 | 3169 |   esac | 
 | 3170 | elif test "$with_gnu_ld" = yes; then | 
 | 3171 |   echo "$as_me:$LINENO: checking for GNU ld" >&5 | 
 | 3172 | echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6 | 
 | 3173 | else | 
 | 3174 |   echo "$as_me:$LINENO: checking for non-GNU ld" >&5 | 
 | 3175 | echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6 | 
 | 3176 | fi | 
 | 3177 | if test "${lt_cv_path_LD+set}" = set; then | 
 | 3178 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3179 | else | 
 | 3180 |   if test -z "$LD"; then | 
 | 3181 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 3182 |   for ac_dir in $PATH; do | 
 | 3183 |     test -z "$ac_dir" && ac_dir=. | 
 | 3184 |     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
 | 3185 |       lt_cv_path_LD="$ac_dir/$ac_prog" | 
 | 3186 |       # Check to see if the program is GNU ld.  I'd rather use --version, | 
 | 3187 |       # but apparently some GNU ld's only accept -v. | 
 | 3188 |       # Break only if it was the GNU/non-GNU ld that we prefer. | 
 | 3189 |       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then | 
 | 3190 | 	test "$with_gnu_ld" != no && break | 
 | 3191 |       else | 
 | 3192 | 	test "$with_gnu_ld" != yes && break | 
 | 3193 |       fi | 
 | 3194 |     fi | 
 | 3195 |   done | 
 | 3196 |   IFS="$ac_save_ifs" | 
 | 3197 | else | 
 | 3198 |   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
 | 3199 | fi | 
 | 3200 | fi | 
 | 3201 |  | 
 | 3202 | LD="$lt_cv_path_LD" | 
 | 3203 | if test -n "$LD"; then | 
 | 3204 |   echo "$as_me:$LINENO: result: $LD" >&5 | 
 | 3205 | echo "${ECHO_T}$LD" >&6 | 
 | 3206 | else | 
 | 3207 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 3208 | echo "${ECHO_T}no" >&6 | 
 | 3209 | fi | 
 | 3210 | test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 | 
 | 3211 | echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} | 
 | 3212 |    { (exit 1); exit 1; }; } | 
 | 3213 | echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 | 
 | 3214 | echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6 | 
 | 3215 | if test "${lt_cv_prog_gnu_ld+set}" = set; then | 
 | 3216 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3217 | else | 
 | 3218 |   # I'd rather use --version here, but apparently some GNU ld's only accept -v. | 
 | 3219 | if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then | 
 | 3220 |   lt_cv_prog_gnu_ld=yes | 
 | 3221 | else | 
 | 3222 |   lt_cv_prog_gnu_ld=no | 
 | 3223 | fi | 
 | 3224 | fi | 
 | 3225 | echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 | 
 | 3226 | echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6 | 
 | 3227 | with_gnu_ld=$lt_cv_prog_gnu_ld | 
 | 3228 |  | 
 | 3229 |  | 
 | 3230 | echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 | 
 | 3231 | echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6 | 
 | 3232 | if test "${lt_cv_ld_reload_flag+set}" = set; then | 
 | 3233 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3234 | else | 
 | 3235 |   lt_cv_ld_reload_flag='-r' | 
 | 3236 | fi | 
 | 3237 | echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 | 
 | 3238 | echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6 | 
 | 3239 | reload_flag=$lt_cv_ld_reload_flag | 
 | 3240 | test -n "$reload_flag" && reload_flag=" $reload_flag" | 
 | 3241 |  | 
 | 3242 | echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5 | 
 | 3243 | echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6 | 
 | 3244 | if test "${lt_cv_path_NM+set}" = set; then | 
 | 3245 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3246 | else | 
 | 3247 |   if test -n "$NM"; then | 
 | 3248 |   # Let the user override the test. | 
 | 3249 |   lt_cv_path_NM="$NM" | 
 | 3250 | else | 
 | 3251 |   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
 | 3252 |   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do | 
 | 3253 |     test -z "$ac_dir" && ac_dir=. | 
 | 3254 |     tmp_nm=$ac_dir/${ac_tool_prefix}nm | 
 | 3255 |     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then | 
 | 3256 |       # Check to see if the nm accepts a BSD-compat flag. | 
 | 3257 |       # Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
 | 3258 |       #   nm: unknown option "B" ignored | 
 | 3259 |       # Tru64's nm complains that /dev/null is an invalid object file | 
 | 3260 |       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then | 
 | 3261 | 	lt_cv_path_NM="$tmp_nm -B" | 
 | 3262 | 	break | 
 | 3263 |       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then | 
 | 3264 | 	lt_cv_path_NM="$tmp_nm -p" | 
 | 3265 | 	break | 
 | 3266 |       else | 
 | 3267 | 	lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
 | 3268 | 	continue # so that we can try to find one that supports BSD flags | 
 | 3269 |       fi | 
 | 3270 |     fi | 
 | 3271 |   done | 
 | 3272 |   IFS="$ac_save_ifs" | 
 | 3273 |   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm | 
 | 3274 | fi | 
 | 3275 | fi | 
 | 3276 |  | 
 | 3277 | NM="$lt_cv_path_NM" | 
 | 3278 | echo "$as_me:$LINENO: result: $NM" >&5 | 
 | 3279 | echo "${ECHO_T}$NM" >&6 | 
 | 3280 |  | 
 | 3281 | echo "$as_me:$LINENO: checking whether ln -s works" >&5 | 
 | 3282 | echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 | 
 | 3283 | LN_S=$as_ln_s | 
 | 3284 | if test "$LN_S" = "ln -s"; then | 
 | 3285 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 3286 | echo "${ECHO_T}yes" >&6 | 
 | 3287 | else | 
 | 3288 |   echo "$as_me:$LINENO: result: no, using $LN_S" >&5 | 
 | 3289 | echo "${ECHO_T}no, using $LN_S" >&6 | 
 | 3290 | fi | 
 | 3291 |  | 
 | 3292 | echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5 | 
 | 3293 | echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6 | 
 | 3294 | if test "${lt_cv_deplibs_check_method+set}" = set; then | 
 | 3295 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3296 | else | 
 | 3297 |   lt_cv_file_magic_cmd='$MAGIC_CMD' | 
 | 3298 | lt_cv_file_magic_test_file= | 
 | 3299 | lt_cv_deplibs_check_method='unknown' | 
 | 3300 | # Need to set the preceding variable on all platforms that support | 
 | 3301 | # interlibrary dependencies. | 
 | 3302 | # 'none' -- dependencies not supported. | 
 | 3303 | # `unknown' -- same as none, but documents that we really don't know. | 
 | 3304 | # 'pass_all' -- all dependencies passed with no checks. | 
 | 3305 | # 'test_compile' -- check by making test program. | 
 | 3306 | # 'file_magic [[regex]]' -- check by looking for files in library path | 
 | 3307 | # which responds to the $file_magic_cmd with a given egrep regex. | 
 | 3308 | # If you have `file' or equivalent on your system and you're not sure | 
 | 3309 | # whether `pass_all' will *always* work, you probably want this one. | 
 | 3310 |  | 
 | 3311 | case $host_os in | 
 | 3312 | aix4* | aix5*) | 
 | 3313 |   lt_cv_deplibs_check_method=pass_all | 
 | 3314 |   ;; | 
 | 3315 |  | 
 | 3316 | beos*) | 
 | 3317 |   lt_cv_deplibs_check_method=pass_all | 
 | 3318 |   ;; | 
 | 3319 |  | 
 | 3320 | bsdi4*) | 
 | 3321 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
 | 3322 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 3323 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 3324 |   ;; | 
 | 3325 |  | 
 | 3326 | cygwin* | mingw* | pw32*) | 
 | 3327 |   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' | 
 | 3328 |   lt_cv_file_magic_cmd='$OBJDUMP -f' | 
 | 3329 |   ;; | 
 | 3330 |  | 
 | 3331 | darwin* | rhapsody*) | 
 | 3332 |   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library' | 
 | 3333 |   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
 | 3334 |   case "$host_os" in | 
 | 3335 |   rhapsody* | darwin1.[012]) | 
 | 3336 |     lt_cv_file_magic_test_file=`echo /System/Library/Frameworks/System.framework/Versions/*/System | head -1` | 
 | 3337 |     ;; | 
 | 3338 |   *) # Darwin 1.3 on | 
 | 3339 |     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib' | 
 | 3340 |     ;; | 
 | 3341 |   esac | 
 | 3342 |   ;; | 
 | 3343 |  | 
 | 3344 | freebsd*) | 
 | 3345 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
 | 3346 |     case $host_cpu in | 
 | 3347 |     i*86 ) | 
 | 3348 |       # Not sure whether the presence of OpenBSD here was a mistake. | 
 | 3349 |       # Let's accept both of them until this is cleared up. | 
 | 3350 |       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library' | 
 | 3351 |       lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3352 |       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 3353 |       ;; | 
 | 3354 |     esac | 
 | 3355 |   else | 
 | 3356 |     lt_cv_deplibs_check_method=pass_all | 
 | 3357 |   fi | 
 | 3358 |   ;; | 
 | 3359 |  | 
 | 3360 | gnu*) | 
 | 3361 |   lt_cv_deplibs_check_method=pass_all | 
 | 3362 |   ;; | 
 | 3363 |  | 
 | 3364 | hpux10.20*|hpux11*) | 
 | 3365 |   lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library' | 
 | 3366 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3367 |   lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
 | 3368 |   ;; | 
 | 3369 |  | 
 | 3370 | irix5* | irix6*) | 
 | 3371 |   case $host_os in | 
 | 3372 |   irix5*) | 
 | 3373 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 3374 |     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" | 
 | 3375 |     ;; | 
 | 3376 |   *) | 
 | 3377 |     case $LD in | 
 | 3378 |     *-32|*"-32 ") libmagic=32-bit;; | 
 | 3379 |     *-n32|*"-n32 ") libmagic=N32;; | 
 | 3380 |     *-64|*"-64 ") libmagic=64-bit;; | 
 | 3381 |     *) libmagic=never-match;; | 
 | 3382 |     esac | 
 | 3383 |     # this will be overridden with pass_all, but let us keep it just in case | 
 | 3384 |     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1" | 
 | 3385 |     ;; | 
 | 3386 |   esac | 
 | 3387 |   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*` | 
 | 3388 |   lt_cv_deplibs_check_method=pass_all | 
 | 3389 |   ;; | 
 | 3390 |  | 
 | 3391 | # This must be Linux ELF. | 
 | 3392 | linux-gnu*) | 
 | 3393 |   case $host_cpu in | 
 | 3394 |   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* | s390* ) | 
 | 3395 |     lt_cv_deplibs_check_method=pass_all ;; | 
 | 3396 |   *) | 
 | 3397 |     # glibc up to 2.1.1 does not perform some relocations on ARM | 
 | 3398 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;; | 
 | 3399 |   esac | 
 | 3400 |   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` | 
 | 3401 |   ;; | 
 | 3402 |  | 
 | 3403 | netbsd*) | 
 | 3404 |   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then | 
 | 3405 |     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$' | 
 | 3406 |   else | 
 | 3407 |     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$' | 
 | 3408 |   fi | 
 | 3409 |   ;; | 
 | 3410 |  | 
 | 3411 | newos6*) | 
 | 3412 |   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
 | 3413 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3414 |   lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
 | 3415 |   ;; | 
 | 3416 |  | 
 | 3417 | openbsd*) | 
 | 3418 |   lt_cv_file_magic_cmd=/usr/bin/file | 
 | 3419 |   lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
 | 3420 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 3421 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object' | 
 | 3422 |   else | 
 | 3423 |     lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library' | 
 | 3424 |   fi | 
 | 3425 |   ;; | 
 | 3426 |  | 
 | 3427 | osf3* | osf4* | osf5*) | 
 | 3428 |   # this will be overridden with pass_all, but let us keep it just in case | 
 | 3429 |   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library' | 
 | 3430 |   lt_cv_file_magic_test_file=/shlib/libc.so | 
 | 3431 |   lt_cv_deplibs_check_method=pass_all | 
 | 3432 |   ;; | 
 | 3433 |  | 
 | 3434 | sco3.2v5*) | 
 | 3435 |   lt_cv_deplibs_check_method=pass_all | 
 | 3436 |   ;; | 
 | 3437 |  | 
 | 3438 | solaris*) | 
 | 3439 |   lt_cv_deplibs_check_method=pass_all | 
 | 3440 |   lt_cv_file_magic_test_file=/lib/libc.so | 
 | 3441 |   ;; | 
 | 3442 |  | 
 | 3443 | sysv5uw[78]* | sysv4*uw2*) | 
 | 3444 |   lt_cv_deplibs_check_method=pass_all | 
 | 3445 |   ;; | 
 | 3446 |  | 
 | 3447 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 3448 |   case $host_vendor in | 
 | 3449 |   motorola) | 
 | 3450 |     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]' | 
 | 3451 |     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
 | 3452 |     ;; | 
 | 3453 |   ncr) | 
 | 3454 |     lt_cv_deplibs_check_method=pass_all | 
 | 3455 |     ;; | 
 | 3456 |   sequent) | 
 | 3457 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 3458 |     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 
 | 3459 |     ;; | 
 | 3460 |   sni) | 
 | 3461 |     lt_cv_file_magic_cmd='/bin/file' | 
 | 3462 |     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 
 | 3463 |     lt_cv_file_magic_test_file=/lib/libc.so | 
 | 3464 |     ;; | 
 | 3465 |   esac | 
 | 3466 |   ;; | 
 | 3467 | esac | 
 | 3468 |  | 
 | 3469 | fi | 
 | 3470 | echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 | 
 | 3471 | echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6 | 
 | 3472 | file_magic_cmd=$lt_cv_file_magic_cmd | 
 | 3473 | deplibs_check_method=$lt_cv_deplibs_check_method | 
 | 3474 |  | 
 | 3475 |  | 
 | 3476 |  | 
 | 3477 |  | 
 | 3478 |  | 
 | 3479 |  | 
 | 3480 |  | 
 | 3481 | # Check for command to grab the raw symbol name followed by C symbol from nm. | 
 | 3482 | echo "$as_me:$LINENO: checking command to parse $NM output" >&5 | 
 | 3483 | echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6 | 
 | 3484 | if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then | 
 | 3485 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3486 | else | 
 | 3487 |  | 
 | 3488 | # These are sane defaults that work on at least a few old systems. | 
 | 3489 | # [They come from Ultrix.  What could be older than Ultrix?!! ;)] | 
 | 3490 |  | 
 | 3491 | # Character class describing NM global symbol codes. | 
 | 3492 | symcode='[BCDEGRST]' | 
 | 3493 |  | 
 | 3494 | # Regexp to match symbols that can be accessed directly from C. | 
 | 3495 | sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 
 | 3496 |  | 
 | 3497 | # Transform the above into a raw symbol and a C symbol. | 
 | 3498 | symxfrm='\1 \2\3 \3' | 
 | 3499 |  | 
 | 3500 | # Transform an extracted symbol line into a proper C declaration | 
 | 3501 | lt_cv_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'" | 
 | 3502 |  | 
 | 3503 | # Transform an extracted symbol line into symbol name and symbol address | 
 | 3504 | lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
 | 3505 |  | 
 | 3506 | # Define system-specific variables. | 
 | 3507 | case $host_os in | 
 | 3508 | aix*) | 
 | 3509 |   symcode='[BCDT]' | 
 | 3510 |   ;; | 
 | 3511 | cygwin* | mingw* | pw32*) | 
 | 3512 |   symcode='[ABCDGISTW]' | 
 | 3513 |   ;; | 
 | 3514 | hpux*) # Its linker distinguishes data from code symbols | 
 | 3515 |   lt_cv_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 
 | 3516 |   lt_cv_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'" | 
 | 3517 |   ;; | 
 | 3518 | irix*) | 
 | 3519 |   symcode='[BCDEGRST]' | 
 | 3520 |   ;; | 
 | 3521 | solaris* | sysv5*) | 
 | 3522 |   symcode='[BDT]' | 
 | 3523 |   ;; | 
 | 3524 | sysv4) | 
 | 3525 |   symcode='[DFNSTU]' | 
 | 3526 |   ;; | 
 | 3527 | esac | 
 | 3528 |  | 
 | 3529 | # Handle CRLF in mingw tool chain | 
 | 3530 | opt_cr= | 
 | 3531 | case $host_os in | 
 | 3532 | mingw*) | 
 | 3533 |   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 
 | 3534 |   ;; | 
 | 3535 | esac | 
 | 3536 |  | 
 | 3537 | # If we're using GNU nm, then use its standard symbol codes. | 
 | 3538 | if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then | 
 | 3539 |   symcode='[ABCDGISTW]' | 
 | 3540 | fi | 
 | 3541 |  | 
 | 3542 | # Try without a prefix undercore, then with it. | 
 | 3543 | for ac_symprfx in "" "_"; do | 
 | 3544 |  | 
 | 3545 |   # Write the raw and C identifiers. | 
 | 3546 | lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'" | 
 | 3547 |  | 
 | 3548 |   # Check to see that the pipe works correctly. | 
 | 3549 |   pipe_works=no | 
 | 3550 |   rm -f conftest* | 
 | 3551 |   cat > conftest.$ac_ext <<EOF | 
 | 3552 | #ifdef __cplusplus | 
 | 3553 | extern "C" { | 
 | 3554 | #endif | 
 | 3555 | char nm_test_var; | 
 | 3556 | void nm_test_func(){} | 
 | 3557 | #ifdef __cplusplus | 
 | 3558 | } | 
 | 3559 | #endif | 
 | 3560 | int main(){nm_test_var='a';nm_test_func();return(0);} | 
 | 3561 | EOF | 
 | 3562 |  | 
 | 3563 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3564 |   (eval $ac_compile) 2>&5 | 
 | 3565 |   ac_status=$? | 
 | 3566 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3567 |   (exit $ac_status); }; then | 
 | 3568 |     # Now try to grab the symbols. | 
 | 3569 |     nlist=conftest.nm | 
 | 3570 |     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 | 
 | 3571 |   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 | 
 | 3572 |   ac_status=$? | 
 | 3573 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3574 |   (exit $ac_status); } && test -s "$nlist"; then | 
 | 3575 |       # Try sorting and uniquifying the output. | 
 | 3576 |       if sort "$nlist" | uniq > "$nlist"T; then | 
 | 3577 | 	mv -f "$nlist"T "$nlist" | 
 | 3578 |       else | 
 | 3579 | 	rm -f "$nlist"T | 
 | 3580 |       fi | 
 | 3581 |  | 
 | 3582 |       # Make sure that we snagged all the symbols we need. | 
 | 3583 |       if egrep ' nm_test_var$' "$nlist" >/dev/null; then | 
 | 3584 | 	if egrep ' nm_test_func$' "$nlist" >/dev/null; then | 
 | 3585 | 	  cat <<EOF > conftest.$ac_ext | 
 | 3586 | #ifdef __cplusplus | 
 | 3587 | extern "C" { | 
 | 3588 | #endif | 
 | 3589 |  | 
 | 3590 | EOF | 
 | 3591 | 	  # Now generate the symbol file. | 
 | 3592 | 	  eval "$lt_cv_global_symbol_to_cdecl"' < "$nlist" >> conftest.$ac_ext' | 
 | 3593 |  | 
 | 3594 | 	  cat <<EOF >> conftest.$ac_ext | 
 | 3595 | #if defined (__STDC__) && __STDC__ | 
 | 3596 | # define lt_ptr void * | 
 | 3597 | #else | 
 | 3598 | # define lt_ptr char * | 
 | 3599 | # define const | 
 | 3600 | #endif | 
 | 3601 |  | 
 | 3602 | /* The mapping between symbol names and symbols. */ | 
 | 3603 | const struct { | 
 | 3604 |   const char *name; | 
 | 3605 |   lt_ptr address; | 
 | 3606 | } | 
 | 3607 | lt_preloaded_symbols[] = | 
 | 3608 | { | 
 | 3609 | EOF | 
 | 3610 | 	  sed "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr) \&\2},/" < "$nlist" >> conftest.$ac_ext | 
 | 3611 | 	  cat <<\EOF >> conftest.$ac_ext | 
 | 3612 |   {0, (lt_ptr) 0} | 
 | 3613 | }; | 
 | 3614 |  | 
 | 3615 | #ifdef __cplusplus | 
 | 3616 | } | 
 | 3617 | #endif | 
 | 3618 | EOF | 
 | 3619 | 	  # Now try linking the two files. | 
 | 3620 | 	  mv conftest.$ac_objext conftstm.$ac_objext | 
 | 3621 | 	  save_LIBS="$LIBS" | 
 | 3622 | 	  save_CFLAGS="$CFLAGS" | 
 | 3623 | 	  LIBS="conftstm.$ac_objext" | 
 | 3624 | 	  CFLAGS="$CFLAGS$no_builtin_flag" | 
 | 3625 | 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3626 |   (eval $ac_link) 2>&5 | 
 | 3627 |   ac_status=$? | 
 | 3628 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3629 |   (exit $ac_status); } && test -s conftest; then | 
 | 3630 | 	    pipe_works=yes | 
 | 3631 | 	  fi | 
 | 3632 | 	  LIBS="$save_LIBS" | 
 | 3633 | 	  CFLAGS="$save_CFLAGS" | 
 | 3634 | 	else | 
 | 3635 | 	  echo "cannot find nm_test_func in $nlist" >&5 | 
 | 3636 | 	fi | 
 | 3637 |       else | 
 | 3638 | 	echo "cannot find nm_test_var in $nlist" >&5 | 
 | 3639 |       fi | 
 | 3640 |     else | 
 | 3641 |       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 
 | 3642 |     fi | 
 | 3643 |   else | 
 | 3644 |     echo "$progname: failed program was:" >&5 | 
 | 3645 |     cat conftest.$ac_ext >&5 | 
 | 3646 |   fi | 
 | 3647 |   rm -f conftest* conftst* | 
 | 3648 |  | 
 | 3649 |   # Do not use the global_symbol_pipe unless it works. | 
 | 3650 |   if test "$pipe_works" = yes; then | 
 | 3651 |     break | 
 | 3652 |   else | 
 | 3653 |     lt_cv_sys_global_symbol_pipe= | 
 | 3654 |   fi | 
 | 3655 | done | 
 | 3656 |  | 
 | 3657 | fi | 
 | 3658 |  | 
 | 3659 | global_symbol_pipe="$lt_cv_sys_global_symbol_pipe" | 
 | 3660 | if test -z "$lt_cv_sys_global_symbol_pipe"; then | 
 | 3661 |   global_symbol_to_cdecl= | 
 | 3662 |   global_symbol_to_c_name_address= | 
 | 3663 | else | 
 | 3664 |   global_symbol_to_cdecl="$lt_cv_global_symbol_to_cdecl" | 
 | 3665 |   global_symbol_to_c_name_address="$lt_cv_global_symbol_to_c_name_address" | 
 | 3666 | fi | 
 | 3667 | if test -z "$global_symbol_pipe$global_symbol_to_cdec$global_symbol_to_c_name_address"; | 
 | 3668 | then | 
 | 3669 |   echo "$as_me:$LINENO: result: failed" >&5 | 
 | 3670 | echo "${ECHO_T}failed" >&6 | 
 | 3671 | else | 
 | 3672 |   echo "$as_me:$LINENO: result: ok" >&5 | 
 | 3673 | echo "${ECHO_T}ok" >&6 | 
 | 3674 | fi | 
 | 3675 |  | 
 | 3676 |  | 
 | 3677 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 3678 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 3679 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 3680 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3681 | else | 
 | 3682 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3683 | #line $LINENO "configure" | 
 | 3684 | #include "confdefs.h" | 
 | 3685 | #include <stdlib.h> | 
 | 3686 | #include <stdarg.h> | 
 | 3687 | #include <string.h> | 
 | 3688 | #include <float.h> | 
 | 3689 |  | 
 | 3690 | _ACEOF | 
 | 3691 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3692 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3693 |   ac_status=$? | 
 | 3694 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 3695 |   rm -f conftest.er1 | 
 | 3696 |   cat conftest.err >&5 | 
 | 3697 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3698 |   (exit $ac_status); } >/dev/null; then | 
 | 3699 |   if test -s conftest.err; then | 
 | 3700 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3701 |   else | 
 | 3702 |     ac_cpp_err= | 
 | 3703 |   fi | 
 | 3704 | else | 
 | 3705 |   ac_cpp_err=yes | 
 | 3706 | fi | 
 | 3707 | if test -z "$ac_cpp_err"; then | 
 | 3708 |   ac_cv_header_stdc=yes | 
 | 3709 | else | 
 | 3710 |   echo "$as_me: failed program was:" >&5 | 
 | 3711 |   cat conftest.$ac_ext >&5 | 
 | 3712 |   ac_cv_header_stdc=no | 
 | 3713 | fi | 
 | 3714 | rm -f conftest.err conftest.$ac_ext | 
 | 3715 |  | 
 | 3716 | if test $ac_cv_header_stdc = yes; then | 
 | 3717 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 3718 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3719 | #line $LINENO "configure" | 
 | 3720 | #include "confdefs.h" | 
 | 3721 | #include <string.h> | 
 | 3722 |  | 
 | 3723 | _ACEOF | 
 | 3724 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 3725 |   egrep "memchr" >/dev/null 2>&1; then | 
 | 3726 |   : | 
 | 3727 | else | 
 | 3728 |   ac_cv_header_stdc=no | 
 | 3729 | fi | 
 | 3730 | rm -f conftest* | 
 | 3731 |  | 
 | 3732 | fi | 
 | 3733 |  | 
 | 3734 | if test $ac_cv_header_stdc = yes; then | 
 | 3735 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 3736 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3737 | #line $LINENO "configure" | 
 | 3738 | #include "confdefs.h" | 
 | 3739 | #include <stdlib.h> | 
 | 3740 |  | 
 | 3741 | _ACEOF | 
 | 3742 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 3743 |   egrep "free" >/dev/null 2>&1; then | 
 | 3744 |   : | 
 | 3745 | else | 
 | 3746 |   ac_cv_header_stdc=no | 
 | 3747 | fi | 
 | 3748 | rm -f conftest* | 
 | 3749 |  | 
 | 3750 | fi | 
 | 3751 |  | 
 | 3752 | if test $ac_cv_header_stdc = yes; then | 
 | 3753 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 3754 |   if test "$cross_compiling" = yes; then | 
 | 3755 |   : | 
 | 3756 | else | 
 | 3757 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3758 | #line $LINENO "configure" | 
 | 3759 | #include "confdefs.h" | 
 | 3760 | #include <ctype.h> | 
 | 3761 | #if ((' ' & 0x0FF) == 0x020) | 
 | 3762 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 3763 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 3764 | #else | 
 | 3765 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 
 | 3766 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 3767 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 3768 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 3769 | #endif | 
 | 3770 |  | 
 | 3771 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 3772 | int | 
 | 3773 | main () | 
 | 3774 | { | 
 | 3775 |   int i; | 
 | 3776 |   for (i = 0; i < 256; i++) | 
 | 3777 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 3778 |         || toupper (i) != TOUPPER (i)) | 
 | 3779 |       exit(2); | 
 | 3780 |   exit (0); | 
 | 3781 | } | 
 | 3782 | _ACEOF | 
 | 3783 | rm -f conftest$ac_exeext | 
 | 3784 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 3785 |   (eval $ac_link) 2>&5 | 
 | 3786 |   ac_status=$? | 
 | 3787 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3788 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 3789 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3790 |   (eval $ac_try) 2>&5 | 
 | 3791 |   ac_status=$? | 
 | 3792 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3793 |   (exit $ac_status); }; }; then | 
 | 3794 |   : | 
 | 3795 | else | 
 | 3796 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 3797 | echo "$as_me: failed program was:" >&5 | 
 | 3798 | cat conftest.$ac_ext >&5 | 
 | 3799 | ( exit $ac_status ) | 
 | 3800 | ac_cv_header_stdc=no | 
 | 3801 | fi | 
 | 3802 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 3803 | fi | 
 | 3804 | fi | 
 | 3805 | fi | 
 | 3806 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 3807 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 3808 | if test $ac_cv_header_stdc = yes; then | 
 | 3809 |  | 
 | 3810 | cat >>confdefs.h <<\_ACEOF | 
 | 3811 | #define STDC_HEADERS 1 | 
 | 3812 | _ACEOF | 
 | 3813 |  | 
 | 3814 | fi | 
 | 3815 |  | 
 | 3816 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
 | 3817 |  | 
 | 3818 |  | 
 | 3819 |  | 
 | 3820 |  | 
 | 3821 |  | 
 | 3822 |  | 
 | 3823 |  | 
 | 3824 |  | 
 | 3825 |  | 
 | 3826 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
 | 3827 |                   inttypes.h stdint.h unistd.h | 
 | 3828 | do | 
 | 3829 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 3830 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 3831 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 3832 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3833 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3834 | else | 
 | 3835 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 3836 | #line $LINENO "configure" | 
 | 3837 | #include "confdefs.h" | 
 | 3838 | $ac_includes_default | 
 | 3839 |  | 
 | 3840 | #include <$ac_header> | 
 | 3841 | _ACEOF | 
 | 3842 | rm -f conftest.$ac_objext | 
 | 3843 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3844 |   (eval $ac_compile) 2>&5 | 
 | 3845 |   ac_status=$? | 
 | 3846 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3847 |   (exit $ac_status); } && | 
 | 3848 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3849 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3850 |   (eval $ac_try) 2>&5 | 
 | 3851 |   ac_status=$? | 
 | 3852 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3853 |   (exit $ac_status); }; }; then | 
 | 3854 |   eval "$as_ac_Header=yes" | 
 | 3855 | else | 
 | 3856 |   echo "$as_me: failed program was:" >&5 | 
 | 3857 | cat conftest.$ac_ext >&5 | 
 | 3858 | eval "$as_ac_Header=no" | 
 | 3859 | fi | 
 | 3860 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3861 | fi | 
 | 3862 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 3863 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 3864 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 3865 |   cat >>confdefs.h <<_ACEOF | 
 | 3866 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 3867 | _ACEOF | 
 | 3868 |  | 
 | 3869 | fi | 
 | 3870 |  | 
 | 3871 | done | 
 | 3872 |  | 
 | 3873 |  | 
 | 3874 |  | 
 | 3875 | for ac_header in dlfcn.h | 
 | 3876 | do | 
 | 3877 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 3878 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3879 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 3880 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 3881 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3882 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3883 | fi | 
 | 3884 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 3885 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 3886 | else | 
 | 3887 |   # Is the header compilable? | 
 | 3888 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 3889 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 3890 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3891 | #line $LINENO "configure" | 
 | 3892 | #include "confdefs.h" | 
 | 3893 | $ac_includes_default | 
 | 3894 | #include <$ac_header> | 
 | 3895 | _ACEOF | 
 | 3896 | rm -f conftest.$ac_objext | 
 | 3897 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 3898 |   (eval $ac_compile) 2>&5 | 
 | 3899 |   ac_status=$? | 
 | 3900 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3901 |   (exit $ac_status); } && | 
 | 3902 |          { ac_try='test -s conftest.$ac_objext' | 
 | 3903 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 3904 |   (eval $ac_try) 2>&5 | 
 | 3905 |   ac_status=$? | 
 | 3906 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3907 |   (exit $ac_status); }; }; then | 
 | 3908 |   ac_header_compiler=yes | 
 | 3909 | else | 
 | 3910 |   echo "$as_me: failed program was:" >&5 | 
 | 3911 | cat conftest.$ac_ext >&5 | 
 | 3912 | ac_header_compiler=no | 
 | 3913 | fi | 
 | 3914 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 3915 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 3916 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 3917 |  | 
 | 3918 | # Is the header present? | 
 | 3919 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 3920 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 3921 | cat >conftest.$ac_ext <<_ACEOF | 
 | 3922 | #line $LINENO "configure" | 
 | 3923 | #include "confdefs.h" | 
 | 3924 | #include <$ac_header> | 
 | 3925 | _ACEOF | 
 | 3926 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 3927 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 3928 |   ac_status=$? | 
 | 3929 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 3930 |   rm -f conftest.er1 | 
 | 3931 |   cat conftest.err >&5 | 
 | 3932 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 3933 |   (exit $ac_status); } >/dev/null; then | 
 | 3934 |   if test -s conftest.err; then | 
 | 3935 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 3936 |   else | 
 | 3937 |     ac_cpp_err= | 
 | 3938 |   fi | 
 | 3939 | else | 
 | 3940 |   ac_cpp_err=yes | 
 | 3941 | fi | 
 | 3942 | if test -z "$ac_cpp_err"; then | 
 | 3943 |   ac_header_preproc=yes | 
 | 3944 | else | 
 | 3945 |   echo "$as_me: failed program was:" >&5 | 
 | 3946 |   cat conftest.$ac_ext >&5 | 
 | 3947 |   ac_header_preproc=no | 
 | 3948 | fi | 
 | 3949 | rm -f conftest.err conftest.$ac_ext | 
 | 3950 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 3951 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 3952 |  | 
 | 3953 | # So?  What about this header? | 
 | 3954 | case $ac_header_compiler:$ac_header_preproc in | 
 | 3955 |   yes:no ) | 
 | 3956 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 3957 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 3958 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 3959 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 3960 |   no:yes ) | 
 | 3961 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 3962 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 3963 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 3964 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 3965 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 3966 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 3967 | esac | 
 | 3968 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 3969 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 3970 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 3971 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 3972 | else | 
 | 3973 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 3974 | fi | 
 | 3975 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 3976 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 3977 |  | 
 | 3978 | fi | 
 | 3979 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 3980 |   cat >>confdefs.h <<_ACEOF | 
 | 3981 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 3982 | _ACEOF | 
 | 3983 |  | 
 | 3984 | fi | 
 | 3985 |  | 
 | 3986 | done | 
 | 3987 |  | 
 | 3988 |  | 
 | 3989 |  | 
 | 3990 |  | 
 | 3991 |  | 
 | 3992 | # Only perform the check for file, if the check method requires it | 
 | 3993 | case $deplibs_check_method in | 
 | 3994 | file_magic*) | 
 | 3995 |   if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
 | 3996 |     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 | 
 | 3997 | echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6 | 
 | 3998 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 3999 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4000 | else | 
 | 4001 |   case $MAGIC_CMD in | 
 | 4002 |   /*) | 
 | 4003 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 4004 |   ;; | 
 | 4005 |   ?:/*) | 
 | 4006 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
 | 4007 |   ;; | 
 | 4008 |   *) | 
 | 4009 |   ac_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 4010 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
 | 4011 |   ac_dummy="/usr/bin:$PATH" | 
 | 4012 |   for ac_dir in $ac_dummy; do | 
 | 4013 |     test -z "$ac_dir" && ac_dir=. | 
 | 4014 |     if test -f $ac_dir/${ac_tool_prefix}file; then | 
 | 4015 |       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
 | 4016 |       if test -n "$file_magic_test_file"; then | 
 | 4017 | 	case $deplibs_check_method in | 
 | 4018 | 	"file_magic "*) | 
 | 4019 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 4020 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4021 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 4022 | 	    egrep "$file_magic_regex" > /dev/null; then | 
 | 4023 | 	    : | 
 | 4024 | 	  else | 
 | 4025 | 	    cat <<EOF 1>&2 | 
 | 4026 |  | 
 | 4027 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 4028 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 4029 | *** The result is that libtool may fail to recognize shared libraries | 
 | 4030 | *** as such.  This will affect the creation of libtool libraries that | 
 | 4031 | *** depend on shared libraries, but programs linked with such libtool | 
 | 4032 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 4033 | *** may want to report the problem to your system manager and/or to | 
 | 4034 | *** bug-libtool@gnu.org | 
 | 4035 |  | 
 | 4036 | EOF | 
 | 4037 | 	  fi ;; | 
 | 4038 | 	esac | 
 | 4039 |       fi | 
 | 4040 |       break | 
 | 4041 |     fi | 
 | 4042 |   done | 
 | 4043 |   IFS="$ac_save_ifs" | 
 | 4044 |   MAGIC_CMD="$ac_save_MAGIC_CMD" | 
 | 4045 |   ;; | 
 | 4046 | esac | 
 | 4047 | fi | 
 | 4048 |  | 
 | 4049 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4050 | if test -n "$MAGIC_CMD"; then | 
 | 4051 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 4052 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 4053 | else | 
 | 4054 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4055 | echo "${ECHO_T}no" >&6 | 
 | 4056 | fi | 
 | 4057 |  | 
 | 4058 | if test -z "$lt_cv_path_MAGIC_CMD"; then | 
 | 4059 |   if test -n "$ac_tool_prefix"; then | 
 | 4060 |     echo "$as_me:$LINENO: checking for file" >&5 | 
 | 4061 | echo $ECHO_N "checking for file... $ECHO_C" >&6 | 
 | 4062 | if test "${lt_cv_path_MAGIC_CMD+set}" = set; then | 
 | 4063 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4064 | else | 
 | 4065 |   case $MAGIC_CMD in | 
 | 4066 |   /*) | 
 | 4067 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
 | 4068 |   ;; | 
 | 4069 |   ?:/*) | 
 | 4070 |   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path. | 
 | 4071 |   ;; | 
 | 4072 |   *) | 
 | 4073 |   ac_save_MAGIC_CMD="$MAGIC_CMD" | 
 | 4074 |   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":" | 
 | 4075 |   ac_dummy="/usr/bin:$PATH" | 
 | 4076 |   for ac_dir in $ac_dummy; do | 
 | 4077 |     test -z "$ac_dir" && ac_dir=. | 
 | 4078 |     if test -f $ac_dir/file; then | 
 | 4079 |       lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
 | 4080 |       if test -n "$file_magic_test_file"; then | 
 | 4081 | 	case $deplibs_check_method in | 
 | 4082 | 	"file_magic "*) | 
 | 4083 | 	  file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`" | 
 | 4084 | 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4085 | 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
 | 4086 | 	    egrep "$file_magic_regex" > /dev/null; then | 
 | 4087 | 	    : | 
 | 4088 | 	  else | 
 | 4089 | 	    cat <<EOF 1>&2 | 
 | 4090 |  | 
 | 4091 | *** Warning: the command libtool uses to detect shared libraries, | 
 | 4092 | *** $file_magic_cmd, produces output that libtool cannot recognize. | 
 | 4093 | *** The result is that libtool may fail to recognize shared libraries | 
 | 4094 | *** as such.  This will affect the creation of libtool libraries that | 
 | 4095 | *** depend on shared libraries, but programs linked with such libtool | 
 | 4096 | *** libraries will work regardless of this problem.  Nevertheless, you | 
 | 4097 | *** may want to report the problem to your system manager and/or to | 
 | 4098 | *** bug-libtool@gnu.org | 
 | 4099 |  | 
 | 4100 | EOF | 
 | 4101 | 	  fi ;; | 
 | 4102 | 	esac | 
 | 4103 |       fi | 
 | 4104 |       break | 
 | 4105 |     fi | 
 | 4106 |   done | 
 | 4107 |   IFS="$ac_save_ifs" | 
 | 4108 |   MAGIC_CMD="$ac_save_MAGIC_CMD" | 
 | 4109 |   ;; | 
 | 4110 | esac | 
 | 4111 | fi | 
 | 4112 |  | 
 | 4113 | MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
 | 4114 | if test -n "$MAGIC_CMD"; then | 
 | 4115 |   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 | 
 | 4116 | echo "${ECHO_T}$MAGIC_CMD" >&6 | 
 | 4117 | else | 
 | 4118 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4119 | echo "${ECHO_T}no" >&6 | 
 | 4120 | fi | 
 | 4121 |  | 
 | 4122 |   else | 
 | 4123 |     MAGIC_CMD=: | 
 | 4124 |   fi | 
 | 4125 | fi | 
 | 4126 |  | 
 | 4127 |   fi | 
 | 4128 |   ;; | 
 | 4129 | esac | 
 | 4130 |  | 
 | 4131 | if test -n "$ac_tool_prefix"; then | 
 | 4132 |   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
 | 4133 | set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
 | 4134 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4135 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4136 | if test "${ac_cv_prog_RANLIB+set}" = set; then | 
 | 4137 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4138 | else | 
 | 4139 |   if test -n "$RANLIB"; then | 
 | 4140 |   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
 | 4141 | else | 
 | 4142 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4143 | for as_dir in $PATH | 
 | 4144 | do | 
 | 4145 |   IFS=$as_save_IFS | 
 | 4146 |   test -z "$as_dir" && as_dir=. | 
 | 4147 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4148 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4149 |     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
 | 4150 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4151 |     break 2 | 
 | 4152 |   fi | 
 | 4153 | done | 
 | 4154 | done | 
 | 4155 |  | 
 | 4156 | fi | 
 | 4157 | fi | 
 | 4158 | RANLIB=$ac_cv_prog_RANLIB | 
 | 4159 | if test -n "$RANLIB"; then | 
 | 4160 |   echo "$as_me:$LINENO: result: $RANLIB" >&5 | 
 | 4161 | echo "${ECHO_T}$RANLIB" >&6 | 
 | 4162 | else | 
 | 4163 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4164 | echo "${ECHO_T}no" >&6 | 
 | 4165 | fi | 
 | 4166 |  | 
 | 4167 | fi | 
 | 4168 | if test -z "$ac_cv_prog_RANLIB"; then | 
 | 4169 |   ac_ct_RANLIB=$RANLIB | 
 | 4170 |   # Extract the first word of "ranlib", so it can be a program name with args. | 
 | 4171 | set dummy ranlib; ac_word=$2 | 
 | 4172 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4173 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4174 | if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then | 
 | 4175 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4176 | else | 
 | 4177 |   if test -n "$ac_ct_RANLIB"; then | 
 | 4178 |   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
 | 4179 | else | 
 | 4180 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4181 | for as_dir in $PATH | 
 | 4182 | do | 
 | 4183 |   IFS=$as_save_IFS | 
 | 4184 |   test -z "$as_dir" && as_dir=. | 
 | 4185 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4186 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4187 |     ac_cv_prog_ac_ct_RANLIB="ranlib" | 
 | 4188 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4189 |     break 2 | 
 | 4190 |   fi | 
 | 4191 | done | 
 | 4192 | done | 
 | 4193 |  | 
 | 4194 |   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":" | 
 | 4195 | fi | 
 | 4196 | fi | 
 | 4197 | ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
 | 4198 | if test -n "$ac_ct_RANLIB"; then | 
 | 4199 |   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 | 
 | 4200 | echo "${ECHO_T}$ac_ct_RANLIB" >&6 | 
 | 4201 | else | 
 | 4202 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4203 | echo "${ECHO_T}no" >&6 | 
 | 4204 | fi | 
 | 4205 |  | 
 | 4206 |   RANLIB=$ac_ct_RANLIB | 
 | 4207 | else | 
 | 4208 |   RANLIB="$ac_cv_prog_RANLIB" | 
 | 4209 | fi | 
 | 4210 |  | 
 | 4211 | if test -n "$ac_tool_prefix"; then | 
 | 4212 |   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
 | 4213 | set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
 | 4214 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4215 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4216 | if test "${ac_cv_prog_STRIP+set}" = set; then | 
 | 4217 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4218 | else | 
 | 4219 |   if test -n "$STRIP"; then | 
 | 4220 |   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
 | 4221 | else | 
 | 4222 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4223 | for as_dir in $PATH | 
 | 4224 | do | 
 | 4225 |   IFS=$as_save_IFS | 
 | 4226 |   test -z "$as_dir" && as_dir=. | 
 | 4227 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4228 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4229 |     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
 | 4230 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4231 |     break 2 | 
 | 4232 |   fi | 
 | 4233 | done | 
 | 4234 | done | 
 | 4235 |  | 
 | 4236 | fi | 
 | 4237 | fi | 
 | 4238 | STRIP=$ac_cv_prog_STRIP | 
 | 4239 | if test -n "$STRIP"; then | 
 | 4240 |   echo "$as_me:$LINENO: result: $STRIP" >&5 | 
 | 4241 | echo "${ECHO_T}$STRIP" >&6 | 
 | 4242 | else | 
 | 4243 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4244 | echo "${ECHO_T}no" >&6 | 
 | 4245 | fi | 
 | 4246 |  | 
 | 4247 | fi | 
 | 4248 | if test -z "$ac_cv_prog_STRIP"; then | 
 | 4249 |   ac_ct_STRIP=$STRIP | 
 | 4250 |   # Extract the first word of "strip", so it can be a program name with args. | 
 | 4251 | set dummy strip; ac_word=$2 | 
 | 4252 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 4253 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 4254 | if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then | 
 | 4255 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4256 | else | 
 | 4257 |   if test -n "$ac_ct_STRIP"; then | 
 | 4258 |   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
 | 4259 | else | 
 | 4260 | as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 4261 | for as_dir in $PATH | 
 | 4262 | do | 
 | 4263 |   IFS=$as_save_IFS | 
 | 4264 |   test -z "$as_dir" && as_dir=. | 
 | 4265 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 4266 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 4267 |     ac_cv_prog_ac_ct_STRIP="strip" | 
 | 4268 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 4269 |     break 2 | 
 | 4270 |   fi | 
 | 4271 | done | 
 | 4272 | done | 
 | 4273 |  | 
 | 4274 |   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":" | 
 | 4275 | fi | 
 | 4276 | fi | 
 | 4277 | ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
 | 4278 | if test -n "$ac_ct_STRIP"; then | 
 | 4279 |   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 | 
 | 4280 | echo "${ECHO_T}$ac_ct_STRIP" >&6 | 
 | 4281 | else | 
 | 4282 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 4283 | echo "${ECHO_T}no" >&6 | 
 | 4284 | fi | 
 | 4285 |  | 
 | 4286 |   STRIP=$ac_ct_STRIP | 
 | 4287 | else | 
 | 4288 |   STRIP="$ac_cv_prog_STRIP" | 
 | 4289 | fi | 
 | 4290 |  | 
 | 4291 |  | 
 | 4292 | enable_dlopen=no | 
 | 4293 | enable_win32_dll=no | 
 | 4294 |  | 
 | 4295 | # Check whether --enable-libtool-lock or --disable-libtool-lock was given. | 
 | 4296 | if test "${enable_libtool_lock+set}" = set; then | 
 | 4297 |   enableval="$enable_libtool_lock" | 
 | 4298 |  | 
 | 4299 | fi; | 
 | 4300 | test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
 | 4301 |  | 
 | 4302 | # Some flags need to be propagated to the compiler or linker for good | 
 | 4303 | # libtool support. | 
 | 4304 | case $host in | 
 | 4305 | *-*-irix6*) | 
 | 4306 |   # Find out which ABI we are using. | 
| John Criswell | badcc9a | 2003-07-02 20:49:38 +0000 | [diff] [blame] | 4307 |   echo '#line 4307 "configure"' > conftest.$ac_ext | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4308 |   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4309 |   (eval $ac_compile) 2>&5 | 
 | 4310 |   ac_status=$? | 
 | 4311 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4312 |   (exit $ac_status); }; then | 
 | 4313 |     case `/usr/bin/file conftest.$ac_objext` in | 
 | 4314 |     *32-bit*) | 
 | 4315 |       LD="${LD-ld} -32" | 
 | 4316 |       ;; | 
 | 4317 |     *N32*) | 
 | 4318 |       LD="${LD-ld} -n32" | 
 | 4319 |       ;; | 
 | 4320 |     *64-bit*) | 
 | 4321 |       LD="${LD-ld} -64" | 
 | 4322 |       ;; | 
 | 4323 |     esac | 
 | 4324 |   fi | 
 | 4325 |   rm -rf conftest* | 
 | 4326 |   ;; | 
 | 4327 |  | 
 | 4328 | *-*-sco3.2v5*) | 
 | 4329 |   # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
 | 4330 |   SAVE_CFLAGS="$CFLAGS" | 
 | 4331 |   CFLAGS="$CFLAGS -belf" | 
 | 4332 |   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 | 
 | 4333 | echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6 | 
 | 4334 | if test "${lt_cv_cc_needs_belf+set}" = set; then | 
 | 4335 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4336 | else | 
 | 4337 |  | 
 | 4338 |  | 
 | 4339 |      ac_ext=c | 
 | 4340 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4341 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4342 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4343 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4344 |  | 
 | 4345 |      cat >conftest.$ac_ext <<_ACEOF | 
 | 4346 | #line $LINENO "configure" | 
 | 4347 | #include "confdefs.h" | 
 | 4348 |  | 
 | 4349 | #ifdef F77_DUMMY_MAIN | 
 | 4350 | #  ifdef __cplusplus | 
 | 4351 |      extern "C" | 
 | 4352 | #  endif | 
 | 4353 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4354 | #endif | 
 | 4355 | int | 
 | 4356 | main () | 
 | 4357 | { | 
 | 4358 |  | 
 | 4359 |   ; | 
 | 4360 |   return 0; | 
 | 4361 | } | 
 | 4362 | _ACEOF | 
 | 4363 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 4364 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 4365 |   (eval $ac_link) 2>&5 | 
 | 4366 |   ac_status=$? | 
 | 4367 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4368 |   (exit $ac_status); } && | 
 | 4369 |          { ac_try='test -s conftest$ac_exeext' | 
 | 4370 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4371 |   (eval $ac_try) 2>&5 | 
 | 4372 |   ac_status=$? | 
 | 4373 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4374 |   (exit $ac_status); }; }; then | 
 | 4375 |   lt_cv_cc_needs_belf=yes | 
 | 4376 | else | 
 | 4377 |   echo "$as_me: failed program was:" >&5 | 
 | 4378 | cat conftest.$ac_ext >&5 | 
 | 4379 | lt_cv_cc_needs_belf=no | 
 | 4380 | fi | 
 | 4381 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 4382 |      ac_ext=c | 
 | 4383 | ac_cpp='$CPP $CPPFLAGS' | 
 | 4384 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 4385 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 4386 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 4387 |  | 
 | 4388 | fi | 
 | 4389 | echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 | 
 | 4390 | echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6 | 
 | 4391 |   if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
 | 4392 |     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
 | 4393 |     CFLAGS="$SAVE_CFLAGS" | 
 | 4394 |   fi | 
 | 4395 |   ;; | 
 | 4396 |  | 
 | 4397 |  | 
 | 4398 | esac | 
 | 4399 |  | 
 | 4400 | # Sed substitution that helps us do robust quoting.  It backslashifies | 
 | 4401 | # metacharacters that are still active within double-quoted strings. | 
 | 4402 | Xsed='sed -e s/^X//' | 
 | 4403 | sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g' | 
 | 4404 |  | 
 | 4405 | # Same as above, but do not quote variable references. | 
 | 4406 | double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g' | 
 | 4407 |  | 
 | 4408 | # Sed substitution to delay expansion of an escaped shell variable in a | 
 | 4409 | # double_quote_subst'ed string. | 
 | 4410 | delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 
 | 4411 |  | 
 | 4412 | # Constants: | 
 | 4413 | rm="rm -f" | 
 | 4414 |  | 
 | 4415 | # Global variables: | 
 | 4416 | default_ofile=libtool | 
 | 4417 | can_build_shared=yes | 
 | 4418 |  | 
 | 4419 | # All known linkers require a `.a' archive for static linking (except M$VC, | 
 | 4420 | # which needs '.lib'). | 
 | 4421 | libext=a | 
 | 4422 | ltmain="$ac_aux_dir/ltmain.sh" | 
 | 4423 | ofile="$default_ofile" | 
 | 4424 | with_gnu_ld="$lt_cv_prog_gnu_ld" | 
 | 4425 | need_locks="$enable_libtool_lock" | 
 | 4426 |  | 
 | 4427 | old_CC="$CC" | 
 | 4428 | old_CFLAGS="$CFLAGS" | 
 | 4429 |  | 
 | 4430 | # Set sane defaults for various variables | 
 | 4431 | test -z "$AR" && AR=ar | 
 | 4432 | test -z "$AR_FLAGS" && AR_FLAGS=cru | 
 | 4433 | test -z "$AS" && AS=as | 
 | 4434 | test -z "$CC" && CC=cc | 
 | 4435 | test -z "$DLLTOOL" && DLLTOOL=dlltool | 
 | 4436 | test -z "$LD" && LD=ld | 
 | 4437 | test -z "$LN_S" && LN_S="ln -s" | 
 | 4438 | test -z "$MAGIC_CMD" && MAGIC_CMD=file | 
 | 4439 | test -z "$NM" && NM=nm | 
 | 4440 | test -z "$OBJDUMP" && OBJDUMP=objdump | 
 | 4441 | test -z "$RANLIB" && RANLIB=: | 
 | 4442 | test -z "$STRIP" && STRIP=: | 
 | 4443 | test -z "$ac_objext" && ac_objext=o | 
 | 4444 |  | 
 | 4445 | if test x"$host" != x"$build"; then | 
 | 4446 |   ac_tool_prefix=${host_alias}- | 
 | 4447 | else | 
 | 4448 |   ac_tool_prefix= | 
 | 4449 | fi | 
 | 4450 |  | 
 | 4451 | # Transform linux* to *-*-linux-gnu*, to support old configure scripts. | 
 | 4452 | case $host_os in | 
 | 4453 | linux-gnu*) ;; | 
 | 4454 | linux*) host=`echo $host | sed 's/^\(.*-.*-linux\)\(.*\)$/\1-gnu\2/'` | 
 | 4455 | esac | 
 | 4456 |  | 
 | 4457 | case $host_os in | 
 | 4458 | aix3*) | 
 | 4459 |   # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 4460 |   # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 4461 |   # vanish in a puff of smoke. | 
 | 4462 |   if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 4463 |     COLLECT_NAMES= | 
 | 4464 |     export COLLECT_NAMES | 
 | 4465 |   fi | 
 | 4466 |   ;; | 
 | 4467 | esac | 
 | 4468 |  | 
 | 4469 | # Determine commands to create old-style static archives. | 
 | 4470 | old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs' | 
 | 4471 | old_postinstall_cmds='chmod 644 $oldlib' | 
 | 4472 | old_postuninstall_cmds= | 
 | 4473 |  | 
 | 4474 | if test -n "$RANLIB"; then | 
 | 4475 |   case $host_os in | 
 | 4476 |   openbsd*) | 
 | 4477 |     old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds" | 
 | 4478 |     ;; | 
 | 4479 |   *) | 
 | 4480 |     old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" | 
 | 4481 |     ;; | 
 | 4482 |   esac | 
 | 4483 |   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 
 | 4484 | fi | 
 | 4485 |  | 
 | 4486 | # Allow CC to be a program name with arguments. | 
 | 4487 | set dummy $CC | 
 | 4488 | compiler="$2" | 
 | 4489 |  | 
 | 4490 | ## FIXME: this should be a separate macro | 
 | 4491 | ## | 
 | 4492 | echo "$as_me:$LINENO: checking for objdir" >&5 | 
 | 4493 | echo $ECHO_N "checking for objdir... $ECHO_C" >&6 | 
 | 4494 | rm -f .libs 2>/dev/null | 
 | 4495 | mkdir .libs 2>/dev/null | 
 | 4496 | if test -d .libs; then | 
 | 4497 |   objdir=.libs | 
 | 4498 | else | 
 | 4499 |   # MS-DOS does not allow filenames that begin with a dot. | 
 | 4500 |   objdir=_libs | 
 | 4501 | fi | 
 | 4502 | rmdir .libs 2>/dev/null | 
 | 4503 | echo "$as_me:$LINENO: result: $objdir" >&5 | 
 | 4504 | echo "${ECHO_T}$objdir" >&6 | 
 | 4505 | ## | 
 | 4506 | ## END FIXME | 
 | 4507 |  | 
 | 4508 |  | 
 | 4509 | ## FIXME: this should be a separate macro | 
 | 4510 | ## | 
 | 4511 |  | 
 | 4512 | # Check whether --with-pic or --without-pic was given. | 
 | 4513 | if test "${with_pic+set}" = set; then | 
 | 4514 |   withval="$with_pic" | 
 | 4515 |   pic_mode="$withval" | 
 | 4516 | else | 
 | 4517 |   pic_mode=default | 
 | 4518 | fi; | 
 | 4519 | test -z "$pic_mode" && pic_mode=default | 
 | 4520 |  | 
 | 4521 | # We assume here that the value for lt_cv_prog_cc_pic will not be cached | 
 | 4522 | # in isolation, and that seeing it set (from the cache) indicates that | 
 | 4523 | # the associated values are set (in the cache) correctly too. | 
 | 4524 | echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 | 
 | 4525 | echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6 | 
 | 4526 | if test "${lt_cv_prog_cc_pic+set}" = set; then | 
 | 4527 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4528 | else | 
 | 4529 |    lt_cv_prog_cc_pic= | 
 | 4530 |   lt_cv_prog_cc_shlib= | 
 | 4531 |   lt_cv_prog_cc_wl= | 
 | 4532 |   lt_cv_prog_cc_static= | 
 | 4533 |   lt_cv_prog_cc_no_builtin= | 
 | 4534 |   lt_cv_prog_cc_can_build_shared=$can_build_shared | 
 | 4535 |  | 
 | 4536 |   if test "$GCC" = yes; then | 
 | 4537 |     lt_cv_prog_cc_wl='-Wl,' | 
 | 4538 |     lt_cv_prog_cc_static='-static' | 
 | 4539 |  | 
 | 4540 |     case $host_os in | 
 | 4541 |     aix*) | 
 | 4542 |       # Below there is a dirty hack to force normal static linking with -ldl | 
 | 4543 |       # The problem is because libdl dynamically linked with both libc and | 
 | 4544 |       # libC (AIX C++ library), which obviously doesn't included in libraries | 
 | 4545 |       # list by gcc. This cause undefined symbols with -static flags. | 
 | 4546 |       # This hack allows C programs to be linked with "-static -ldl", but | 
 | 4547 |       # not sure about C++ programs. | 
 | 4548 |       lt_cv_prog_cc_static="$lt_cv_prog_cc_static ${lt_cv_prog_cc_wl}-lC" | 
 | 4549 |       ;; | 
 | 4550 |     amigaos*) | 
 | 4551 |       # FIXME: we need at least 68020 code to build shared libraries, but | 
 | 4552 |       # adding the `-m68020' flag to GCC prevents building anything better, | 
 | 4553 |       # like `-m68040'. | 
 | 4554 |       lt_cv_prog_cc_pic='-m68020 -resident32 -malways-restore-a4' | 
 | 4555 |       ;; | 
 | 4556 |     beos* | irix5* | irix6* | osf3* | osf4* | osf5*) | 
 | 4557 |       # PIC is the default for these OSes. | 
 | 4558 |       ;; | 
 | 4559 |     darwin* | rhapsody*) | 
 | 4560 |       # PIC is the default on this platform | 
 | 4561 |       # Common symbols not allowed in MH_DYLIB files | 
 | 4562 |       lt_cv_prog_cc_pic='-fno-common' | 
 | 4563 |       ;; | 
 | 4564 |     cygwin* | mingw* | pw32* | os2*) | 
 | 4565 |       # This hack is so that the source file can tell whether it is being | 
 | 4566 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 4567 |       lt_cv_prog_cc_pic='-DDLL_EXPORT' | 
 | 4568 |       ;; | 
 | 4569 |     sysv4*MP*) | 
 | 4570 |       if test -d /usr/nec; then | 
 | 4571 | 	 lt_cv_prog_cc_pic=-Kconform_pic | 
 | 4572 |       fi | 
 | 4573 |       ;; | 
 | 4574 |     *) | 
 | 4575 |       lt_cv_prog_cc_pic='-fPIC' | 
 | 4576 |       ;; | 
 | 4577 |     esac | 
 | 4578 |   else | 
 | 4579 |     # PORTME Check for PIC flags for the system compiler. | 
 | 4580 |     case $host_os in | 
 | 4581 |     aix3* | aix4* | aix5*) | 
 | 4582 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4583 |       # All AIX code is PIC. | 
 | 4584 |       if test "$host_cpu" = ia64; then | 
 | 4585 | 	# AIX 5 now supports IA64 processor | 
 | 4586 | 	lt_cv_prog_cc_static='-Bstatic' | 
 | 4587 |       else | 
 | 4588 | 	lt_cv_prog_cc_static='-bnso -bI:/lib/syscalls.exp' | 
 | 4589 |       fi | 
 | 4590 |       ;; | 
 | 4591 |  | 
 | 4592 |     hpux9* | hpux10* | hpux11*) | 
 | 4593 |       # Is there a better lt_cv_prog_cc_static that works with the bundled CC? | 
 | 4594 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4595 |       lt_cv_prog_cc_static="${lt_cv_prog_cc_wl}-a ${lt_cv_prog_cc_wl}archive" | 
 | 4596 |       lt_cv_prog_cc_pic='+Z' | 
 | 4597 |       ;; | 
 | 4598 |  | 
 | 4599 |     irix5* | irix6*) | 
 | 4600 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4601 |       lt_cv_prog_cc_static='-non_shared' | 
 | 4602 |       # PIC (with -KPIC) is the default. | 
 | 4603 |       ;; | 
 | 4604 |  | 
 | 4605 |     cygwin* | mingw* | pw32* | os2*) | 
 | 4606 |       # This hack is so that the source file can tell whether it is being | 
 | 4607 |       # built for inclusion in a dll (and should export symbols for example). | 
 | 4608 |       lt_cv_prog_cc_pic='-DDLL_EXPORT' | 
 | 4609 |       ;; | 
 | 4610 |  | 
 | 4611 |     newsos6) | 
 | 4612 |       lt_cv_prog_cc_pic='-KPIC' | 
 | 4613 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4614 |       ;; | 
 | 4615 |  | 
 | 4616 |     osf3* | osf4* | osf5*) | 
 | 4617 |       # All OSF/1 code is PIC. | 
 | 4618 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4619 |       lt_cv_prog_cc_static='-non_shared' | 
 | 4620 |       ;; | 
 | 4621 |  | 
 | 4622 |     sco3.2v5*) | 
 | 4623 |       lt_cv_prog_cc_pic='-Kpic' | 
 | 4624 |       lt_cv_prog_cc_static='-dn' | 
 | 4625 |       lt_cv_prog_cc_shlib='-belf' | 
 | 4626 |       ;; | 
 | 4627 |  | 
 | 4628 |     solaris*) | 
 | 4629 |       lt_cv_prog_cc_pic='-KPIC' | 
 | 4630 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4631 |       lt_cv_prog_cc_wl='-Wl,' | 
 | 4632 |       ;; | 
 | 4633 |  | 
 | 4634 |     sunos4*) | 
 | 4635 |       lt_cv_prog_cc_pic='-PIC' | 
 | 4636 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4637 |       lt_cv_prog_cc_wl='-Qoption ld ' | 
 | 4638 |       ;; | 
 | 4639 |  | 
 | 4640 |     sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 4641 |       lt_cv_prog_cc_pic='-KPIC' | 
 | 4642 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4643 |       if test "x$host_vendor" = xsni; then | 
 | 4644 | 	lt_cv_prog_cc_wl='-LD' | 
 | 4645 |       else | 
 | 4646 | 	lt_cv_prog_cc_wl='-Wl,' | 
 | 4647 |       fi | 
 | 4648 |       ;; | 
 | 4649 |  | 
 | 4650 |     uts4*) | 
 | 4651 |       lt_cv_prog_cc_pic='-pic' | 
 | 4652 |       lt_cv_prog_cc_static='-Bstatic' | 
 | 4653 |       ;; | 
 | 4654 |  | 
 | 4655 |     sysv4*MP*) | 
 | 4656 |       if test -d /usr/nec ;then | 
 | 4657 | 	lt_cv_prog_cc_pic='-Kconform_pic' | 
 | 4658 | 	lt_cv_prog_cc_static='-Bstatic' | 
 | 4659 |       fi | 
 | 4660 |       ;; | 
 | 4661 |  | 
 | 4662 |     *) | 
 | 4663 |       lt_cv_prog_cc_can_build_shared=no | 
 | 4664 |       ;; | 
 | 4665 |     esac | 
 | 4666 |   fi | 
 | 4667 |  | 
 | 4668 | fi | 
 | 4669 |  | 
 | 4670 | if test -z "$lt_cv_prog_cc_pic"; then | 
 | 4671 |   echo "$as_me:$LINENO: result: none" >&5 | 
 | 4672 | echo "${ECHO_T}none" >&6 | 
 | 4673 | else | 
 | 4674 |   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic" >&5 | 
 | 4675 | echo "${ECHO_T}$lt_cv_prog_cc_pic" >&6 | 
 | 4676 |  | 
 | 4677 |   # Check to make sure the pic_flag actually works. | 
 | 4678 |   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_cv_prog_cc_pic works" >&5 | 
 | 4679 | echo $ECHO_N "checking if $compiler PIC flag $lt_cv_prog_cc_pic works... $ECHO_C" >&6 | 
 | 4680 |   if test "${lt_cv_prog_cc_pic_works+set}" = set; then | 
 | 4681 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4682 | else | 
 | 4683 |       save_CFLAGS="$CFLAGS" | 
 | 4684 |     CFLAGS="$CFLAGS $lt_cv_prog_cc_pic -DPIC" | 
 | 4685 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 4686 | #line $LINENO "configure" | 
 | 4687 | #include "confdefs.h" | 
 | 4688 |  | 
 | 4689 | #ifdef F77_DUMMY_MAIN | 
 | 4690 | #  ifdef __cplusplus | 
 | 4691 |      extern "C" | 
 | 4692 | #  endif | 
 | 4693 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4694 | #endif | 
 | 4695 | int | 
 | 4696 | main () | 
 | 4697 | { | 
 | 4698 |  | 
 | 4699 |   ; | 
 | 4700 |   return 0; | 
 | 4701 | } | 
 | 4702 | _ACEOF | 
 | 4703 | rm -f conftest.$ac_objext | 
 | 4704 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4705 |   (eval $ac_compile) 2>&5 | 
 | 4706 |   ac_status=$? | 
 | 4707 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4708 |   (exit $ac_status); } && | 
 | 4709 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4710 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4711 |   (eval $ac_try) 2>&5 | 
 | 4712 |   ac_status=$? | 
 | 4713 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4714 |   (exit $ac_status); }; }; then | 
 | 4715 |         case $host_os in | 
 | 4716 |       hpux9* | hpux10* | hpux11*) | 
 | 4717 | 	# On HP-UX, both CC and GCC only warn that PIC is supported... then | 
 | 4718 | 	# they create non-PIC objects.  So, if there were any warnings, we | 
 | 4719 | 	# assume that PIC is not supported. | 
 | 4720 | 	if test -s conftest.err; then | 
 | 4721 | 	  lt_cv_prog_cc_pic_works=no | 
 | 4722 | 	else | 
 | 4723 | 	  lt_cv_prog_cc_pic_works=yes | 
 | 4724 | 	fi | 
 | 4725 | 	;; | 
 | 4726 |       *) | 
 | 4727 | 	lt_cv_prog_cc_pic_works=yes | 
 | 4728 | 	;; | 
 | 4729 |       esac | 
 | 4730 |  | 
 | 4731 | else | 
 | 4732 |   echo "$as_me: failed program was:" >&5 | 
 | 4733 | cat conftest.$ac_ext >&5 | 
 | 4734 |       lt_cv_prog_cc_pic_works=no | 
 | 4735 |  | 
 | 4736 | fi | 
 | 4737 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4738 |     CFLAGS="$save_CFLAGS" | 
 | 4739 |  | 
 | 4740 | fi | 
 | 4741 |  | 
 | 4742 |  | 
 | 4743 |   if test "X$lt_cv_prog_cc_pic_works" = Xno; then | 
 | 4744 |     lt_cv_prog_cc_pic= | 
 | 4745 |     lt_cv_prog_cc_can_build_shared=no | 
 | 4746 |   else | 
 | 4747 |     lt_cv_prog_cc_pic=" $lt_cv_prog_cc_pic" | 
 | 4748 |   fi | 
 | 4749 |  | 
 | 4750 |   echo "$as_me:$LINENO: result: $lt_cv_prog_cc_pic_works" >&5 | 
 | 4751 | echo "${ECHO_T}$lt_cv_prog_cc_pic_works" >&6 | 
 | 4752 | fi | 
 | 4753 | ## | 
 | 4754 | ## END FIXME | 
 | 4755 |  | 
 | 4756 | # Check for any special shared library compilation flags. | 
 | 4757 | if test -n "$lt_cv_prog_cc_shlib"; then | 
 | 4758 |   { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&5 | 
 | 4759 | echo "$as_me: WARNING: \`$CC' requires \`$lt_cv_prog_cc_shlib' to build shared libraries" >&2;} | 
 | 4760 |   if echo "$old_CC $old_CFLAGS " | egrep -e "[ 	]$lt_cv_prog_cc_shlib[ 	]" >/dev/null; then : | 
 | 4761 |   else | 
 | 4762 |    { echo "$as_me:$LINENO: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5 | 
 | 4763 | echo "$as_me: WARNING: add \`$lt_cv_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;} | 
 | 4764 |     lt_cv_prog_cc_can_build_shared=no | 
 | 4765 |   fi | 
 | 4766 | fi | 
 | 4767 |  | 
 | 4768 | ## FIXME: this should be a separate macro | 
 | 4769 | ## | 
 | 4770 | echo "$as_me:$LINENO: checking if $compiler static flag $lt_cv_prog_cc_static works" >&5 | 
 | 4771 | echo $ECHO_N "checking if $compiler static flag $lt_cv_prog_cc_static works... $ECHO_C" >&6 | 
 | 4772 | if test "${lt_cv_prog_cc_static_works+set}" = set; then | 
 | 4773 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4774 | else | 
 | 4775 |     lt_cv_prog_cc_static_works=no | 
 | 4776 |   save_LDFLAGS="$LDFLAGS" | 
 | 4777 |   LDFLAGS="$LDFLAGS $lt_cv_prog_cc_static" | 
 | 4778 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4779 | #line $LINENO "configure" | 
 | 4780 | #include "confdefs.h" | 
 | 4781 |  | 
 | 4782 | #ifdef F77_DUMMY_MAIN | 
 | 4783 | #  ifdef __cplusplus | 
 | 4784 |      extern "C" | 
 | 4785 | #  endif | 
 | 4786 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4787 | #endif | 
 | 4788 | int | 
 | 4789 | main () | 
 | 4790 | { | 
 | 4791 |  | 
 | 4792 |   ; | 
 | 4793 |   return 0; | 
 | 4794 | } | 
 | 4795 | _ACEOF | 
 | 4796 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 4797 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 4798 |   (eval $ac_link) 2>&5 | 
 | 4799 |   ac_status=$? | 
 | 4800 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4801 |   (exit $ac_status); } && | 
 | 4802 |          { ac_try='test -s conftest$ac_exeext' | 
 | 4803 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4804 |   (eval $ac_try) 2>&5 | 
 | 4805 |   ac_status=$? | 
 | 4806 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4807 |   (exit $ac_status); }; }; then | 
 | 4808 |   lt_cv_prog_cc_static_works=yes | 
 | 4809 | else | 
 | 4810 |   echo "$as_me: failed program was:" >&5 | 
 | 4811 | cat conftest.$ac_ext >&5 | 
 | 4812 | fi | 
 | 4813 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 4814 |   LDFLAGS="$save_LDFLAGS" | 
 | 4815 |  | 
 | 4816 | fi | 
 | 4817 |  | 
 | 4818 |  | 
 | 4819 | # Belt *and* braces to stop my trousers falling down: | 
 | 4820 | test "X$lt_cv_prog_cc_static_works" = Xno && lt_cv_prog_cc_static= | 
 | 4821 | echo "$as_me:$LINENO: result: $lt_cv_prog_cc_static_works" >&5 | 
 | 4822 | echo "${ECHO_T}$lt_cv_prog_cc_static_works" >&6 | 
 | 4823 |  | 
 | 4824 | pic_flag="$lt_cv_prog_cc_pic" | 
 | 4825 | special_shlib_compile_flags="$lt_cv_prog_cc_shlib" | 
 | 4826 | wl="$lt_cv_prog_cc_wl" | 
 | 4827 | link_static_flag="$lt_cv_prog_cc_static" | 
 | 4828 | no_builtin_flag="$lt_cv_prog_cc_no_builtin" | 
 | 4829 | can_build_shared="$lt_cv_prog_cc_can_build_shared" | 
 | 4830 | ## | 
 | 4831 | ## END FIXME | 
 | 4832 |  | 
 | 4833 |  | 
 | 4834 | ## FIXME: this should be a separate macro | 
 | 4835 | ## | 
 | 4836 | # Check to see if options -o and -c are simultaneously supported by compiler | 
 | 4837 | echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
 | 4838 | echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6 | 
 | 4839 | if test "${lt_cv_compiler_c_o+set}" = set; then | 
 | 4840 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4841 | else | 
 | 4842 |  | 
 | 4843 | $rm -r conftest 2>/dev/null | 
 | 4844 | mkdir conftest | 
 | 4845 | cd conftest | 
 | 4846 | echo "int some_variable = 0;" > conftest.$ac_ext | 
 | 4847 | mkdir out | 
 | 4848 | # According to Tom Tromey, Ian Lance Taylor reported there are C compilers | 
 | 4849 | # that will create temporary files in the current directory regardless of | 
 | 4850 | # the output directory.  Thus, making CWD read-only will cause this test | 
 | 4851 | # to fail, enabling locking or at least warning the user not to do parallel | 
 | 4852 | # builds. | 
 | 4853 | chmod -w . | 
 | 4854 | save_CFLAGS="$CFLAGS" | 
 | 4855 | CFLAGS="$CFLAGS -o out/conftest2.$ac_objext" | 
 | 4856 | compiler_c_o=no | 
| John Criswell | badcc9a | 2003-07-02 20:49:38 +0000 | [diff] [blame] | 4857 | if { (eval echo configure:4857: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>out/conftest.err; } && test -s out/conftest2.$ac_objext; then | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 4858 |   # The compiler can only warn and ignore the option if not recognized | 
 | 4859 |   # So say no if there are warnings | 
 | 4860 |   if test -s out/conftest.err; then | 
 | 4861 |     lt_cv_compiler_c_o=no | 
 | 4862 |   else | 
 | 4863 |     lt_cv_compiler_c_o=yes | 
 | 4864 |   fi | 
 | 4865 | else | 
 | 4866 |   # Append any errors to the config.log. | 
 | 4867 |   cat out/conftest.err 1>&5 | 
 | 4868 |   lt_cv_compiler_c_o=no | 
 | 4869 | fi | 
 | 4870 | CFLAGS="$save_CFLAGS" | 
 | 4871 | chmod u+w . | 
 | 4872 | $rm conftest* out/* | 
 | 4873 | rmdir out | 
 | 4874 | cd .. | 
 | 4875 | rmdir conftest | 
 | 4876 | $rm -r conftest 2>/dev/null | 
 | 4877 |  | 
 | 4878 | fi | 
 | 4879 |  | 
 | 4880 | compiler_c_o=$lt_cv_compiler_c_o | 
 | 4881 | echo "$as_me:$LINENO: result: $compiler_c_o" >&5 | 
 | 4882 | echo "${ECHO_T}$compiler_c_o" >&6 | 
 | 4883 |  | 
 | 4884 | if test x"$compiler_c_o" = x"yes"; then | 
 | 4885 |   # Check to see if we can write to a .lo | 
 | 4886 |   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.lo" >&5 | 
 | 4887 | echo $ECHO_N "checking if $compiler supports -c -o file.lo... $ECHO_C" >&6 | 
 | 4888 |   if test "${lt_cv_compiler_o_lo+set}" = set; then | 
 | 4889 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 4890 | else | 
 | 4891 |  | 
 | 4892 |   lt_cv_compiler_o_lo=no | 
 | 4893 |   save_CFLAGS="$CFLAGS" | 
 | 4894 |   CFLAGS="$CFLAGS -c -o conftest.lo" | 
 | 4895 |   save_objext="$ac_objext" | 
 | 4896 |   ac_objext=lo | 
 | 4897 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4898 | #line $LINENO "configure" | 
 | 4899 | #include "confdefs.h" | 
 | 4900 |  | 
 | 4901 | #ifdef F77_DUMMY_MAIN | 
 | 4902 | #  ifdef __cplusplus | 
 | 4903 |      extern "C" | 
 | 4904 | #  endif | 
 | 4905 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 4906 | #endif | 
 | 4907 | int | 
 | 4908 | main () | 
 | 4909 | { | 
 | 4910 | int some_variable = 0; | 
 | 4911 |   ; | 
 | 4912 |   return 0; | 
 | 4913 | } | 
 | 4914 | _ACEOF | 
 | 4915 | rm -f conftest.$ac_objext | 
 | 4916 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 4917 |   (eval $ac_compile) 2>&5 | 
 | 4918 |   ac_status=$? | 
 | 4919 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4920 |   (exit $ac_status); } && | 
 | 4921 |          { ac_try='test -s conftest.$ac_objext' | 
 | 4922 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 4923 |   (eval $ac_try) 2>&5 | 
 | 4924 |   ac_status=$? | 
 | 4925 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 4926 |   (exit $ac_status); }; }; then | 
 | 4927 |       # The compiler can only warn and ignore the option if not recognized | 
 | 4928 |     # So say no if there are warnings | 
 | 4929 |     if test -s conftest.err; then | 
 | 4930 |       lt_cv_compiler_o_lo=no | 
 | 4931 |     else | 
 | 4932 |       lt_cv_compiler_o_lo=yes | 
 | 4933 |     fi | 
 | 4934 |  | 
 | 4935 | else | 
 | 4936 |   echo "$as_me: failed program was:" >&5 | 
 | 4937 | cat conftest.$ac_ext >&5 | 
 | 4938 | fi | 
 | 4939 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 4940 |   ac_objext="$save_objext" | 
 | 4941 |   CFLAGS="$save_CFLAGS" | 
 | 4942 |  | 
 | 4943 | fi | 
 | 4944 |  | 
 | 4945 |   compiler_o_lo=$lt_cv_compiler_o_lo | 
 | 4946 |   echo "$as_me:$LINENO: result: $compiler_o_lo" >&5 | 
 | 4947 | echo "${ECHO_T}$compiler_o_lo" >&6 | 
 | 4948 | else | 
 | 4949 |   compiler_o_lo=no | 
 | 4950 | fi | 
 | 4951 | ## | 
 | 4952 | ## END FIXME | 
 | 4953 |  | 
 | 4954 | ## FIXME: this should be a separate macro | 
 | 4955 | ## | 
 | 4956 | # Check to see if we can do hard links to lock some files if needed | 
 | 4957 | hard_links="nottested" | 
 | 4958 | if test "$compiler_c_o" = no && test "$need_locks" != no; then | 
 | 4959 |   # do not overwrite the value of need_locks provided by the user | 
 | 4960 |   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 | 
 | 4961 | echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6 | 
 | 4962 |   hard_links=yes | 
 | 4963 |   $rm conftest* | 
 | 4964 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 4965 |   touch conftest.a | 
 | 4966 |   ln conftest.a conftest.b 2>&5 || hard_links=no | 
 | 4967 |   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
 | 4968 |   echo "$as_me:$LINENO: result: $hard_links" >&5 | 
 | 4969 | echo "${ECHO_T}$hard_links" >&6 | 
 | 4970 |   if test "$hard_links" = no; then | 
 | 4971 |     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
 | 4972 | echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
 | 4973 |     need_locks=warn | 
 | 4974 |   fi | 
 | 4975 | else | 
 | 4976 |   need_locks=no | 
 | 4977 | fi | 
 | 4978 | ## | 
 | 4979 | ## END FIXME | 
 | 4980 |  | 
 | 4981 | ## FIXME: this should be a separate macro | 
 | 4982 | ## | 
 | 4983 | if test "$GCC" = yes; then | 
 | 4984 |   # Check to see if options -fno-rtti -fno-exceptions are supported by compiler | 
 | 4985 |   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
 | 4986 | echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6 | 
 | 4987 |   echo "int some_variable = 0;" > conftest.$ac_ext | 
 | 4988 |   save_CFLAGS="$CFLAGS" | 
 | 4989 |   CFLAGS="$CFLAGS -fno-rtti -fno-exceptions -c conftest.$ac_ext" | 
 | 4990 |   compiler_rtti_exceptions=no | 
 | 4991 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 4992 | #line $LINENO "configure" | 
 | 4993 | #include "confdefs.h" | 
 | 4994 |  | 
 | 4995 | #ifdef F77_DUMMY_MAIN | 
 | 4996 | #  ifdef __cplusplus | 
 | 4997 |      extern "C" | 
 | 4998 | #  endif | 
 | 4999 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 5000 | #endif | 
 | 5001 | int | 
 | 5002 | main () | 
 | 5003 | { | 
 | 5004 | int some_variable = 0; | 
 | 5005 |   ; | 
 | 5006 |   return 0; | 
 | 5007 | } | 
 | 5008 | _ACEOF | 
 | 5009 | rm -f conftest.$ac_objext | 
 | 5010 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 5011 |   (eval $ac_compile) 2>&5 | 
 | 5012 |   ac_status=$? | 
 | 5013 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5014 |   (exit $ac_status); } && | 
 | 5015 |          { ac_try='test -s conftest.$ac_objext' | 
 | 5016 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 5017 |   (eval $ac_try) 2>&5 | 
 | 5018 |   ac_status=$? | 
 | 5019 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 5020 |   (exit $ac_status); }; }; then | 
 | 5021 |       # The compiler can only warn and ignore the option if not recognized | 
 | 5022 |     # So say no if there are warnings | 
 | 5023 |     if test -s conftest.err; then | 
 | 5024 |       compiler_rtti_exceptions=no | 
 | 5025 |     else | 
 | 5026 |       compiler_rtti_exceptions=yes | 
 | 5027 |     fi | 
 | 5028 |  | 
 | 5029 | else | 
 | 5030 |   echo "$as_me: failed program was:" >&5 | 
 | 5031 | cat conftest.$ac_ext >&5 | 
 | 5032 | fi | 
 | 5033 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 5034 |   CFLAGS="$save_CFLAGS" | 
 | 5035 |   echo "$as_me:$LINENO: result: $compiler_rtti_exceptions" >&5 | 
 | 5036 | echo "${ECHO_T}$compiler_rtti_exceptions" >&6 | 
 | 5037 |  | 
 | 5038 |   if test "$compiler_rtti_exceptions" = "yes"; then | 
 | 5039 |     no_builtin_flag=' -fno-builtin -fno-rtti -fno-exceptions' | 
 | 5040 |   else | 
 | 5041 |     no_builtin_flag=' -fno-builtin' | 
 | 5042 |   fi | 
 | 5043 | fi | 
 | 5044 | ## | 
 | 5045 | ## END FIXME | 
 | 5046 |  | 
 | 5047 | ## FIXME: this should be a separate macro | 
 | 5048 | ## | 
 | 5049 | # See if the linker supports building shared libraries. | 
 | 5050 | echo "$as_me:$LINENO: checking whether the linker ($LD) supports shared libraries" >&5 | 
 | 5051 | echo $ECHO_N "checking whether the linker ($LD) supports shared libraries... $ECHO_C" >&6 | 
 | 5052 |  | 
 | 5053 | allow_undefined_flag= | 
 | 5054 | no_undefined_flag= | 
 | 5055 | need_lib_prefix=unknown | 
 | 5056 | need_version=unknown | 
 | 5057 | # when you set need_version to no, make sure it does not cause -set_version | 
 | 5058 | # flags to be left without arguments | 
 | 5059 | archive_cmds= | 
 | 5060 | archive_expsym_cmds= | 
 | 5061 | old_archive_from_new_cmds= | 
 | 5062 | old_archive_from_expsyms_cmds= | 
 | 5063 | export_dynamic_flag_spec= | 
 | 5064 | whole_archive_flag_spec= | 
 | 5065 | thread_safe_flag_spec= | 
 | 5066 | hardcode_into_libs=no | 
 | 5067 | hardcode_libdir_flag_spec= | 
 | 5068 | hardcode_libdir_separator= | 
 | 5069 | hardcode_direct=no | 
 | 5070 | hardcode_minus_L=no | 
 | 5071 | hardcode_shlibpath_var=unsupported | 
 | 5072 | runpath_var= | 
 | 5073 | link_all_deplibs=unknown | 
 | 5074 | always_export_symbols=no | 
 | 5075 | export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | sed '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
 | 5076 | # include_expsyms should be a list of space-separated symbols to be *always* | 
 | 5077 | # included in the symbol list | 
 | 5078 | include_expsyms= | 
 | 5079 | # exclude_expsyms can be an egrep regular expression of symbols to exclude | 
 | 5080 | # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
 | 5081 | # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
 | 5082 | # as well as any symbol that contains `d'. | 
 | 5083 | exclude_expsyms="_GLOBAL_OFFSET_TABLE_" | 
 | 5084 | # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
 | 5085 | # platforms (ab)use it in PIC code, but their linkers get confused if | 
 | 5086 | # the symbol is explicitly referenced.  Since portable code cannot | 
 | 5087 | # rely on this symbol name, it's probably fine to never include it in | 
 | 5088 | # preloaded symbol tables. | 
 | 5089 | extract_expsyms_cmds= | 
 | 5090 |  | 
 | 5091 | case $host_os in | 
 | 5092 | cygwin* | mingw* | pw32*) | 
 | 5093 |   # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
 | 5094 |   # When not using gcc, we currently assume that we are using | 
 | 5095 |   # Microsoft Visual C++. | 
 | 5096 |   if test "$GCC" != yes; then | 
 | 5097 |     with_gnu_ld=no | 
 | 5098 |   fi | 
 | 5099 |   ;; | 
 | 5100 | openbsd*) | 
 | 5101 |   with_gnu_ld=no | 
 | 5102 |   ;; | 
 | 5103 | esac | 
 | 5104 |  | 
 | 5105 | ld_shlibs=yes | 
 | 5106 | if test "$with_gnu_ld" = yes; then | 
 | 5107 |   # If archive_cmds runs LD, not CC, wlarc should be empty | 
 | 5108 |   wlarc='${wl}' | 
 | 5109 |  | 
 | 5110 |   # See if GNU ld supports shared libraries. | 
 | 5111 |   case $host_os in | 
 | 5112 |   aix3* | aix4* | aix5*) | 
 | 5113 |     # On AIX, the GNU linker is very broken | 
 | 5114 |     # Note:Check GNU linker on AIX 5-IA64 when/if it becomes available. | 
 | 5115 |     ld_shlibs=no | 
 | 5116 |     cat <<EOF 1>&2 | 
 | 5117 |  | 
 | 5118 | *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 
 | 5119 | *** to be unable to reliably create shared libraries on AIX. | 
 | 5120 | *** Therefore, libtool is disabling shared libraries support.  If you | 
 | 5121 | *** really care for shared libraries, you may want to modify your PATH | 
 | 5122 | *** so that a non-GNU linker is found, and then restart. | 
 | 5123 |  | 
 | 5124 | EOF | 
 | 5125 |     ;; | 
 | 5126 |  | 
 | 5127 |   amigaos*) | 
 | 5128 |     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)' | 
 | 5129 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5130 |     hardcode_minus_L=yes | 
 | 5131 |  | 
 | 5132 |     # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports | 
 | 5133 |     # that the semantics of dynamic libraries on AmigaOS, at least up | 
 | 5134 |     # to version 4, is to share data among multiple programs linked | 
 | 5135 |     # with the same dynamic library.  Since this doesn't match the | 
 | 5136 |     # behavior of shared libraries on other platforms, we can use | 
 | 5137 |     # them. | 
 | 5138 |     ld_shlibs=no | 
 | 5139 |     ;; | 
 | 5140 |  | 
 | 5141 |   beos*) | 
 | 5142 |     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
 | 5143 |       allow_undefined_flag=unsupported | 
 | 5144 |       # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
 | 5145 |       # support --undefined.  This deserves some investigation.  FIXME | 
 | 5146 |       archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5147 |     else | 
 | 5148 |       ld_shlibs=no | 
 | 5149 |     fi | 
 | 5150 |     ;; | 
 | 5151 |  | 
 | 5152 |   cygwin* | mingw* | pw32*) | 
 | 5153 |     # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 5154 |     # no search path for DLLs. | 
 | 5155 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5156 |     allow_undefined_flag=unsupported | 
 | 5157 |     always_export_symbols=yes | 
 | 5158 |  | 
 | 5159 |     extract_expsyms_cmds='test -f $output_objdir/impgen.c || \ | 
 | 5160 |       sed -e "/^# \/\* impgen\.c starts here \*\//,/^# \/\* impgen.c ends here \*\// { s/^# //;s/^# *$//; p; }" -e d < $''0 > $output_objdir/impgen.c~ | 
 | 5161 |       test -f $output_objdir/impgen.exe || (cd $output_objdir && \ | 
 | 5162 |       if test "x$HOST_CC" != "x" ; then $HOST_CC -o impgen impgen.c ; \ | 
 | 5163 |       else $CC -o impgen impgen.c ; fi)~ | 
 | 5164 |       $output_objdir/impgen $dir/$soroot > $output_objdir/$soname-def' | 
 | 5165 |  | 
 | 5166 |     old_archive_from_expsyms_cmds='$DLLTOOL --as=$AS --dllname $soname --def $output_objdir/$soname-def --output-lib $output_objdir/$newlib' | 
 | 5167 |  | 
 | 5168 |     # cygwin and mingw dlls have different entry points and sets of symbols | 
 | 5169 |     # to exclude. | 
 | 5170 |     # FIXME: what about values for MSVC? | 
 | 5171 |     dll_entry=__cygwin_dll_entry@12 | 
 | 5172 |     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12~ | 
 | 5173 |     case $host_os in | 
 | 5174 |     mingw*) | 
 | 5175 |       # mingw values | 
 | 5176 |       dll_entry=_DllMainCRTStartup@12 | 
 | 5177 |       dll_exclude_symbols=DllMain@12,DllMainCRTStartup@12,DllEntryPoint@12~ | 
 | 5178 |       ;; | 
 | 5179 |     esac | 
 | 5180 |  | 
 | 5181 |     # mingw and cygwin differ, and it's simplest to just exclude the union | 
 | 5182 |     # of the two symbol sets. | 
 | 5183 |     dll_exclude_symbols=DllMain@12,_cygwin_dll_entry@12,_cygwin_noncygwin_dll_entry@12,DllMainCRTStartup@12,DllEntryPoint@12 | 
 | 5184 |  | 
 | 5185 |     # recent cygwin and mingw systems supply a stub DllMain which the user | 
 | 5186 |     # can override, but on older systems we have to supply one (in ltdll.c) | 
 | 5187 |     if test "x$lt_cv_need_dllmain" = "xyes"; then | 
 | 5188 |       ltdll_obj='$output_objdir/$soname-ltdll.'"$ac_objext " | 
 | 5189 |       ltdll_cmds='test -f $output_objdir/$soname-ltdll.c || sed -e "/^# \/\* ltdll\.c starts here \*\//,/^# \/\* ltdll.c ends here \*\// { s/^# //; p; }" -e d < $''0 > $output_objdir/$soname-ltdll.c~ | 
 | 5190 | 	test -f $output_objdir/$soname-ltdll.$ac_objext || (cd $output_objdir && $CC -c $soname-ltdll.c)~' | 
 | 5191 |     else | 
 | 5192 |       ltdll_obj= | 
 | 5193 |       ltdll_cmds= | 
 | 5194 |     fi | 
 | 5195 |  | 
 | 5196 |     # Extract the symbol export list from an `--export-all' def file, | 
 | 5197 |     # then regenerate the def file from the symbol export list, so that | 
 | 5198 |     # the compiled dll only exports the symbol export list. | 
 | 5199 |     # Be careful not to strip the DATA tag left be newer dlltools. | 
 | 5200 |     export_symbols_cmds="$ltdll_cmds"' | 
 | 5201 |       $DLLTOOL --export-all --exclude-symbols '$dll_exclude_symbols' --output-def $output_objdir/$soname-def '$ltdll_obj'$libobjs $convenience~ | 
 | 5202 |       sed -e "1,/EXPORTS/d" -e "s/ @ [0-9]*//" -e "s/ *;.*$//" < $output_objdir/$soname-def > $export_symbols' | 
 | 5203 |  | 
 | 5204 |     # If the export-symbols file already is a .def file (1st line | 
 | 5205 |     # is EXPORTS), use it as is. | 
 | 5206 |     # If DATA tags from a recent dlltool are present, honour them! | 
 | 5207 |     archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then | 
 | 5208 | 	cp $export_symbols $output_objdir/$soname-def; | 
 | 5209 |       else | 
 | 5210 | 	echo EXPORTS > $output_objdir/$soname-def; | 
 | 5211 | 	_lt_hint=1; | 
 | 5212 | 	cat $export_symbols | while read symbol; do | 
 | 5213 | 	 set dummy \$symbol; | 
 | 5214 | 	 case \$# in | 
 | 5215 | 	   2) echo "   \$2 @ \$_lt_hint ; " >> $output_objdir/$soname-def;; | 
 | 5216 | 	   *) echo "     \$2 @ \$_lt_hint \$3 ; " >> $output_objdir/$soname-def;; | 
 | 5217 | 	 esac; | 
 | 5218 | 	 _lt_hint=`expr 1 + \$_lt_hint`; | 
 | 5219 | 	done; | 
 | 5220 |       fi~ | 
 | 5221 |       '"$ltdll_cmds"' | 
 | 5222 |       $CC -Wl,--base-file,$output_objdir/$soname-base '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ | 
 | 5223 |       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp~ | 
 | 5224 |       $CC -Wl,--base-file,$output_objdir/$soname-base $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags~ | 
 | 5225 |       $DLLTOOL --as=$AS --dllname $soname --exclude-symbols '$dll_exclude_symbols' --def $output_objdir/$soname-def --base-file $output_objdir/$soname-base --output-exp $output_objdir/$soname-exp --output-lib $output_objdir/$libname.dll.a~ | 
 | 5226 |       $CC $output_objdir/$soname-exp '$lt_cv_cc_dll_switch' -Wl,-e,'$dll_entry' -o $output_objdir/$soname '$ltdll_obj'$libobjs $deplibs $compiler_flags' | 
 | 5227 |     ;; | 
 | 5228 |  | 
 | 5229 |   netbsd*) | 
 | 5230 |     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 5231 |       archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
 | 5232 |       wlarc= | 
 | 5233 |     else | 
 | 5234 |       archive_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5235 |       archive_expsym_cmds='$CC -shared -nodefaultlibs $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 5236 |     fi | 
 | 5237 |     ;; | 
 | 5238 |  | 
 | 5239 |   solaris* | sysv5*) | 
 | 5240 |     if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then | 
 | 5241 |       ld_shlibs=no | 
 | 5242 |       cat <<EOF 1>&2 | 
 | 5243 |  | 
 | 5244 | *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
 | 5245 | *** create shared libraries on Solaris systems.  Therefore, libtool | 
 | 5246 | *** is disabling shared libraries support.  We urge you to upgrade GNU | 
 | 5247 | *** binutils to release 2.9.1 or newer.  Another option is to modify | 
 | 5248 | *** your PATH or compiler configuration so that the native linker is | 
 | 5249 | *** used, and then restart. | 
 | 5250 |  | 
 | 5251 | EOF | 
 | 5252 |     elif $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
 | 5253 |       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5254 |       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 5255 |     else | 
 | 5256 |       ld_shlibs=no | 
 | 5257 |     fi | 
 | 5258 |     ;; | 
 | 5259 |  | 
 | 5260 |   sunos4*) | 
 | 5261 |     archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 5262 |     wlarc= | 
 | 5263 |     hardcode_direct=yes | 
 | 5264 |     hardcode_shlibpath_var=no | 
 | 5265 |     ;; | 
 | 5266 |  | 
 | 5267 |   *) | 
 | 5268 |     if $LD --help 2>&1 | egrep ': supported targets:.* elf' > /dev/null; then | 
 | 5269 |       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
 | 5270 |       archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
 | 5271 |     else | 
 | 5272 |       ld_shlibs=no | 
 | 5273 |     fi | 
 | 5274 |     ;; | 
 | 5275 |   esac | 
 | 5276 |  | 
 | 5277 |   if test "$ld_shlibs" = yes; then | 
 | 5278 |     runpath_var=LD_RUN_PATH | 
 | 5279 |     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir' | 
 | 5280 |     export_dynamic_flag_spec='${wl}--export-dynamic' | 
 | 5281 |     case $host_os in | 
 | 5282 |     cygwin* | mingw* | pw32*) | 
 | 5283 |       # dlltool doesn't understand --whole-archive et. al. | 
 | 5284 |       whole_archive_flag_spec= | 
 | 5285 |       ;; | 
 | 5286 |     *) | 
 | 5287 |       # ancient GNU ld didn't support --whole-archive et. al. | 
 | 5288 |       if $LD --help 2>&1 | egrep 'no-whole-archive' > /dev/null; then | 
 | 5289 | 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
 | 5290 |       else | 
 | 5291 | 	whole_archive_flag_spec= | 
 | 5292 |       fi | 
 | 5293 |       ;; | 
 | 5294 |     esac | 
 | 5295 |   fi | 
 | 5296 | else | 
 | 5297 |   # PORTME fill in a description of your system's linker (not GNU ld) | 
 | 5298 |   case $host_os in | 
 | 5299 |   aix3*) | 
 | 5300 |     allow_undefined_flag=unsupported | 
 | 5301 |     always_export_symbols=yes | 
 | 5302 |     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' | 
 | 5303 |     # Note: this linker hardcodes the directories in LIBPATH if there | 
 | 5304 |     # are no directories specified by -L. | 
 | 5305 |     hardcode_minus_L=yes | 
 | 5306 |     if test "$GCC" = yes && test -z "$link_static_flag"; then | 
 | 5307 |       # Neither direct hardcoding nor static linking is supported with a | 
 | 5308 |       # broken collect2. | 
 | 5309 |       hardcode_direct=unsupported | 
 | 5310 |     fi | 
 | 5311 |     ;; | 
 | 5312 |  | 
 | 5313 |   aix4* | aix5*) | 
 | 5314 |     if test "$host_cpu" = ia64; then | 
 | 5315 |       # On IA64, the linker does run time linking by default, so we don't | 
 | 5316 |       # have to do anything special. | 
 | 5317 |       aix_use_runtimelinking=no | 
 | 5318 |       exp_sym_flag='-Bexport' | 
 | 5319 |       no_entry_flag="" | 
 | 5320 |     else | 
 | 5321 |       aix_use_runtimelinking=no | 
 | 5322 |  | 
 | 5323 |       # Test if we are trying to use run time linking or normal | 
 | 5324 |       # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
 | 5325 |       # need to do runtime linking. | 
 | 5326 |       case $host_os in aix4.[23]|aix4.[23].*|aix5*) | 
 | 5327 | 	for ld_flag in $LDFLAGS; do | 
 | 5328 | 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
 | 5329 | 	    aix_use_runtimelinking=yes | 
 | 5330 | 	    break | 
 | 5331 | 	  fi | 
 | 5332 | 	done | 
 | 5333 |       esac | 
 | 5334 |  | 
 | 5335 |       exp_sym_flag='-bexport' | 
 | 5336 |       no_entry_flag='-bnoentry' | 
 | 5337 |     fi | 
 | 5338 |  | 
 | 5339 |     # When large executables or shared objects are built, AIX ld can | 
 | 5340 |     # have problems creating the table of contents.  If linking a library | 
 | 5341 |     # or program results in "error TOC overflow" add -mminimal-toc to | 
 | 5342 |     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
 | 5343 |     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
 | 5344 |  | 
 | 5345 |     hardcode_direct=yes | 
 | 5346 |     archive_cmds='' | 
 | 5347 |     hardcode_libdir_separator=':' | 
 | 5348 |     if test "$GCC" = yes; then | 
 | 5349 |       case $host_os in aix4.[012]|aix4.[012].*) | 
 | 5350 | 	collect2name=`${CC} -print-prog-name=collect2` | 
 | 5351 | 	if test -f "$collect2name" && \ | 
 | 5352 | 	  strings "$collect2name" | grep resolve_lib_name >/dev/null | 
 | 5353 | 	then | 
 | 5354 | 	  # We have reworked collect2 | 
 | 5355 | 	  hardcode_direct=yes | 
 | 5356 | 	else | 
 | 5357 | 	  # We have old collect2 | 
 | 5358 | 	  hardcode_direct=unsupported | 
 | 5359 | 	  # It fails to find uninstalled libraries when the uninstalled | 
 | 5360 | 	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
 | 5361 | 	  # to unsupported forces relinking | 
 | 5362 | 	  hardcode_minus_L=yes | 
 | 5363 | 	  hardcode_libdir_flag_spec='-L$libdir' | 
 | 5364 | 	  hardcode_libdir_separator= | 
 | 5365 | 	fi | 
 | 5366 |       esac | 
 | 5367 |  | 
 | 5368 |       shared_flag='-shared' | 
 | 5369 |     else | 
 | 5370 |       # not using gcc | 
 | 5371 |       if test "$host_cpu" = ia64; then | 
 | 5372 | 	shared_flag='${wl}-G' | 
 | 5373 |       else | 
 | 5374 | 	if test "$aix_use_runtimelinking" = yes; then | 
 | 5375 | 	  shared_flag='${wl}-G' | 
 | 5376 | 	else | 
 | 5377 | 	  shared_flag='${wl}-bM:SRE' | 
 | 5378 | 	fi | 
 | 5379 |       fi | 
 | 5380 |     fi | 
 | 5381 |  | 
 | 5382 |     # It seems that -bexpall can do strange things, so it is better to | 
 | 5383 |     # generate a list of symbols to export. | 
 | 5384 |     always_export_symbols=yes | 
 | 5385 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 5386 |       # Warning - without using the other runtime loading flags (-brtl), | 
 | 5387 |       # -berok will link without error, but may produce a broken library. | 
 | 5388 |       allow_undefined_flag='-berok' | 
 | 5389 |       hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:/usr/lib:/lib' | 
 | 5390 |       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" | 
 | 5391 |     else | 
 | 5392 |       if test "$host_cpu" = ia64; then | 
 | 5393 | 	hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 
 | 5394 | 	allow_undefined_flag="-z nodefs" | 
 | 5395 | 	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname ${wl}-h$soname $libobjs $deplibs $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols" | 
 | 5396 |       else | 
 | 5397 | 	hardcode_libdir_flag_spec='${wl}-bnolibpath ${wl}-blibpath:$libdir:/usr/lib:/lib' | 
 | 5398 | 	# Warning - without using the other run time loading flags, | 
 | 5399 | 	# -berok will link without error, but may produce a broken library. | 
 | 5400 | 	allow_undefined_flag='${wl}-berok' | 
 | 5401 | 	# This is a bit strange, but is similar to how AIX traditionally builds | 
 | 5402 | 	# it's shared libraries. | 
 | 5403 | 	archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${allow_undefined_flag} '"\${wl}$no_entry_flag \${wl}$exp_sym_flag:\$export_symbols"' ~$AR -crlo $objdir/$libname$release.a $objdir/$soname' | 
 | 5404 |       fi | 
 | 5405 |     fi | 
 | 5406 |     ;; | 
 | 5407 |  | 
 | 5408 |   amigaos*) | 
 | 5409 |     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)' | 
 | 5410 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5411 |     hardcode_minus_L=yes | 
 | 5412 |     # see comment about different semantics on the GNU ld section | 
 | 5413 |     ld_shlibs=no | 
 | 5414 |     ;; | 
 | 5415 |  | 
 | 5416 |   cygwin* | mingw* | pw32*) | 
 | 5417 |     # When not using gcc, we currently assume that we are using | 
 | 5418 |     # Microsoft Visual C++. | 
 | 5419 |     # hardcode_libdir_flag_spec is actually meaningless, as there is | 
 | 5420 |     # no search path for DLLs. | 
 | 5421 |     hardcode_libdir_flag_spec=' ' | 
 | 5422 |     allow_undefined_flag=unsupported | 
 | 5423 |     # Tell ltmain to make .lib files, not .a files. | 
 | 5424 |     libext=lib | 
 | 5425 |     # FIXME: Setting linknames here is a bad hack. | 
 | 5426 |     archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | sed -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 
 | 5427 |     # The linker will automatically build a .lib file if we build a DLL. | 
 | 5428 |     old_archive_from_new_cmds='true' | 
 | 5429 |     # FIXME: Should let the user specify the lib program. | 
 | 5430 |     old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs' | 
 | 5431 |     fix_srcfile_path='`cygpath -w "$srcfile"`' | 
 | 5432 |     ;; | 
 | 5433 |  | 
 | 5434 |   darwin* | rhapsody*) | 
 | 5435 |     case "$host_os" in | 
 | 5436 |     rhapsody* | darwin1.[012]) | 
 | 5437 |       allow_undefined_flag='-undefined suppress' | 
 | 5438 |       ;; | 
 | 5439 |     *) # Darwin 1.3 on | 
 | 5440 |       allow_undefined_flag='-flat_namespace -undefined suppress' | 
 | 5441 |       ;; | 
 | 5442 |     esac | 
 | 5443 |     # FIXME: Relying on posixy $() will cause problems for | 
 | 5444 |     #        cross-compilation, but unfortunately the echo tests do not | 
 | 5445 |     #        yet detect zsh echo's removal of \ escapes. | 
 | 5446 |     archive_cmds='$nonopt $(test "x$module" = xyes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linker_flags -install_name $rpath/$soname $verstring' | 
 | 5447 |     # We need to add '_' to the symbols in $export_symbols first | 
 | 5448 |     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' | 
 | 5449 |     hardcode_direct=yes | 
 | 5450 |     hardcode_shlibpath_var=no | 
 | 5451 |     whole_archive_flag_spec='-all_load $convenience' | 
 | 5452 |     ;; | 
 | 5453 |  | 
 | 5454 |   freebsd1*) | 
 | 5455 |     ld_shlibs=no | 
 | 5456 |     ;; | 
 | 5457 |  | 
 | 5458 |   # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
 | 5459 |   # support.  Future versions do this automatically, but an explicit c++rt0.o | 
 | 5460 |   # does not break anything, and helps significantly (at the cost of a little | 
 | 5461 |   # extra space). | 
 | 5462 |   freebsd2.2*) | 
 | 5463 |     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
 | 5464 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5465 |     hardcode_direct=yes | 
 | 5466 |     hardcode_shlibpath_var=no | 
 | 5467 |     ;; | 
 | 5468 |  | 
 | 5469 |   # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
 | 5470 |   freebsd2*) | 
 | 5471 |     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 5472 |     hardcode_direct=yes | 
 | 5473 |     hardcode_minus_L=yes | 
 | 5474 |     hardcode_shlibpath_var=no | 
 | 5475 |     ;; | 
 | 5476 |  | 
 | 5477 |   # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
 | 5478 |   freebsd*) | 
 | 5479 |     archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5480 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5481 |     hardcode_direct=yes | 
 | 5482 |     hardcode_shlibpath_var=no | 
 | 5483 |     ;; | 
 | 5484 |  | 
 | 5485 |   hpux9* | hpux10* | hpux11*) | 
 | 5486 |     case $host_os in | 
 | 5487 |     hpux9*) 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' ;; | 
 | 5488 |     *) archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' ;; | 
 | 5489 |     esac | 
 | 5490 |     hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
 | 5491 |     hardcode_libdir_separator=: | 
 | 5492 |     hardcode_direct=yes | 
 | 5493 |     hardcode_minus_L=yes # Not in the search PATH, but as the default | 
 | 5494 | 			 # location of the library. | 
 | 5495 |     export_dynamic_flag_spec='${wl}-E' | 
 | 5496 |     ;; | 
 | 5497 |  | 
 | 5498 |   irix5* | irix6*) | 
 | 5499 |     if test "$GCC" = yes; then | 
 | 5500 |       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' | 
 | 5501 |     else | 
 | 5502 |       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' | 
 | 5503 |     fi | 
 | 5504 |     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5505 |     hardcode_libdir_separator=: | 
 | 5506 |     link_all_deplibs=yes | 
 | 5507 |     ;; | 
 | 5508 |  | 
 | 5509 |   netbsd*) | 
 | 5510 |     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 5511 |       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
 | 5512 |     else | 
 | 5513 |       archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
 | 5514 |     fi | 
 | 5515 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5516 |     hardcode_direct=yes | 
 | 5517 |     hardcode_shlibpath_var=no | 
 | 5518 |     ;; | 
 | 5519 |  | 
 | 5520 |   newsos6) | 
 | 5521 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5522 |     hardcode_direct=yes | 
 | 5523 |     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5524 |     hardcode_libdir_separator=: | 
 | 5525 |     hardcode_shlibpath_var=no | 
 | 5526 |     ;; | 
 | 5527 |  | 
 | 5528 |   openbsd*) | 
 | 5529 |     hardcode_direct=yes | 
 | 5530 |     hardcode_shlibpath_var=no | 
 | 5531 |     if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 5532 |       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' | 
 | 5533 |       hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 5534 |       export_dynamic_flag_spec='${wl}-E' | 
 | 5535 |     else | 
 | 5536 |       case "$host_os" in | 
 | 5537 |       openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
 | 5538 | 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
 | 5539 | 	hardcode_libdir_flag_spec='-R$libdir' | 
 | 5540 |         ;; | 
 | 5541 |       *) | 
 | 5542 |         archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $linker_flags' | 
 | 5543 |         hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
 | 5544 |         ;; | 
 | 5545 |       esac | 
 | 5546 |     fi | 
 | 5547 |     ;; | 
 | 5548 |  | 
 | 5549 |   os2*) | 
 | 5550 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5551 |     hardcode_minus_L=yes | 
 | 5552 |     allow_undefined_flag=unsupported | 
 | 5553 |     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' | 
 | 5554 |     old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
 | 5555 |     ;; | 
 | 5556 |  | 
 | 5557 |   osf3*) | 
 | 5558 |     if test "$GCC" = yes; then | 
 | 5559 |       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 5560 |       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' | 
 | 5561 |     else | 
 | 5562 |       allow_undefined_flag=' -expect_unresolved \*' | 
 | 5563 |       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' | 
 | 5564 |     fi | 
 | 5565 |     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5566 |     hardcode_libdir_separator=: | 
 | 5567 |     ;; | 
 | 5568 |  | 
 | 5569 |   osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
 | 5570 |     if test "$GCC" = yes; then | 
 | 5571 |       allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
 | 5572 |       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' | 
 | 5573 |       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
 | 5574 |     else | 
 | 5575 |       allow_undefined_flag=' -expect_unresolved \*' | 
 | 5576 |       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' | 
 | 5577 |       archive_expsym_cmds='for i in `cat $export_symbols`; do printf "-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~ | 
 | 5578 |       $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' | 
 | 5579 |  | 
 | 5580 |       #Both c and cxx compiler support -rpath directly | 
 | 5581 |       hardcode_libdir_flag_spec='-rpath $libdir' | 
 | 5582 |     fi | 
 | 5583 |     hardcode_libdir_separator=: | 
 | 5584 |     ;; | 
 | 5585 |  | 
 | 5586 |   sco3.2v5*) | 
 | 5587 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5588 |     hardcode_shlibpath_var=no | 
 | 5589 |     runpath_var=LD_RUN_PATH | 
 | 5590 |     hardcode_runpath_var=yes | 
 | 5591 |     export_dynamic_flag_spec='${wl}-Bexport' | 
 | 5592 |     ;; | 
 | 5593 |  | 
 | 5594 |   solaris*) | 
 | 5595 |     # gcc --version < 3.0 without binutils cannot create self contained | 
 | 5596 |     # shared libraries reliably, requiring libgcc.a to resolve some of | 
 | 5597 |     # the object symbols generated in some cases.  Libraries that use | 
 | 5598 |     # assert need libgcc.a to resolve __eprintf, for example.  Linking | 
 | 5599 |     # a copy of libgcc.a into every shared library to guarantee resolving | 
 | 5600 |     # such symbols causes other problems:  According to Tim Van Holder | 
 | 5601 |     # <tim.van.holder@pandora.be>, C++ libraries end up with a separate | 
 | 5602 |     # (to the application) exception stack for one thing. | 
 | 5603 |     no_undefined_flag=' -z defs' | 
 | 5604 |     if test "$GCC" = yes; then | 
 | 5605 |       case `$CC --version 2>/dev/null` in | 
 | 5606 |       [12].*) | 
 | 5607 | 	cat <<EOF 1>&2 | 
 | 5608 |  | 
 | 5609 | *** Warning: Releases of GCC earlier than version 3.0 cannot reliably | 
 | 5610 | *** create self contained shared libraries on Solaris systems, without | 
 | 5611 | *** introducing a dependency on libgcc.a.  Therefore, libtool is disabling | 
 | 5612 | *** -no-undefined support, which will at least allow you to build shared | 
 | 5613 | *** libraries.  However, you may find that when you link such libraries | 
 | 5614 | *** into an application without using GCC, you have to manually add | 
 | 5615 | *** \`gcc --print-libgcc-file-name\` to the link command.  We urge you to | 
 | 5616 | *** upgrade to a newer version of GCC.  Another option is to rebuild your | 
 | 5617 | *** current GCC to use the GNU linker from GNU binutils 2.9.1 or newer. | 
 | 5618 |  | 
 | 5619 | EOF | 
 | 5620 |         no_undefined_flag= | 
 | 5621 | 	;; | 
 | 5622 |       esac | 
 | 5623 |     fi | 
 | 5624 |     # $CC -shared without GNU ld will not create a library from C++ | 
 | 5625 |     # object files and a static libstdc++, better avoid it by now | 
 | 5626 |     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5627 |     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 5628 | 		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 5629 |     hardcode_libdir_flag_spec='-R$libdir' | 
 | 5630 |     hardcode_shlibpath_var=no | 
 | 5631 |     case $host_os in | 
 | 5632 |     solaris2.[0-5] | solaris2.[0-5].*) ;; | 
 | 5633 |     *) # Supported since Solaris 2.6 (maybe 2.5.1?) | 
 | 5634 |       whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;; | 
 | 5635 |     esac | 
 | 5636 |     link_all_deplibs=yes | 
 | 5637 |     ;; | 
 | 5638 |  | 
 | 5639 |   sunos4*) | 
 | 5640 |     if test "x$host_vendor" = xsequent; then | 
 | 5641 |       # Use $CC to link under sequent, because it throws in some extra .o | 
 | 5642 |       # files that make .init and .fini sections work. | 
 | 5643 |       archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5644 |     else | 
 | 5645 |       archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
 | 5646 |     fi | 
 | 5647 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5648 |     hardcode_direct=yes | 
 | 5649 |     hardcode_minus_L=yes | 
 | 5650 |     hardcode_shlibpath_var=no | 
 | 5651 |     ;; | 
 | 5652 |  | 
 | 5653 |   sysv4) | 
 | 5654 |     if test "x$host_vendor" = xsno; then | 
 | 5655 |       archive_cmds='$LD -G -Bsymbolic -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5656 |       hardcode_direct=yes # is this really true??? | 
 | 5657 |     else | 
 | 5658 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5659 |       hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 
 | 5660 |     fi | 
 | 5661 |     runpath_var='LD_RUN_PATH' | 
 | 5662 |     hardcode_shlibpath_var=no | 
 | 5663 |     ;; | 
 | 5664 |  | 
 | 5665 |   sysv4.3*) | 
 | 5666 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5667 |     hardcode_shlibpath_var=no | 
 | 5668 |     export_dynamic_flag_spec='-Bexport' | 
 | 5669 |     ;; | 
 | 5670 |  | 
 | 5671 |   sysv5*) | 
 | 5672 |     no_undefined_flag=' -z text' | 
 | 5673 |     # $CC -shared without GNU ld will not create a library from C++ | 
 | 5674 |     # object files and a static libstdc++, better avoid it by now | 
 | 5675 |     archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5676 |     archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~ | 
 | 5677 | 		$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp' | 
 | 5678 |     hardcode_libdir_flag_spec= | 
 | 5679 |     hardcode_shlibpath_var=no | 
 | 5680 |     runpath_var='LD_RUN_PATH' | 
 | 5681 |     ;; | 
 | 5682 |  | 
 | 5683 |   uts4*) | 
 | 5684 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5685 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5686 |     hardcode_shlibpath_var=no | 
 | 5687 |     ;; | 
 | 5688 |  | 
 | 5689 |   dgux*) | 
 | 5690 |     archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5691 |     hardcode_libdir_flag_spec='-L$libdir' | 
 | 5692 |     hardcode_shlibpath_var=no | 
 | 5693 |     ;; | 
 | 5694 |  | 
 | 5695 |   sysv4*MP*) | 
 | 5696 |     if test -d /usr/nec; then | 
 | 5697 |       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
 | 5698 |       hardcode_shlibpath_var=no | 
 | 5699 |       runpath_var=LD_RUN_PATH | 
 | 5700 |       hardcode_runpath_var=yes | 
 | 5701 |       ld_shlibs=yes | 
 | 5702 |     fi | 
 | 5703 |     ;; | 
 | 5704 |  | 
 | 5705 |   sysv4.2uw2*) | 
 | 5706 |     archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
 | 5707 |     hardcode_direct=yes | 
 | 5708 |     hardcode_minus_L=no | 
 | 5709 |     hardcode_shlibpath_var=no | 
 | 5710 |     hardcode_runpath_var=yes | 
 | 5711 |     runpath_var=LD_RUN_PATH | 
 | 5712 |     ;; | 
 | 5713 |  | 
 | 5714 |   sysv5uw7* | unixware7*) | 
 | 5715 |     no_undefined_flag='${wl}-z ${wl}text' | 
 | 5716 |     if test "$GCC" = yes; then | 
 | 5717 |       archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5718 |     else | 
 | 5719 |       archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
 | 5720 |     fi | 
 | 5721 |     runpath_var='LD_RUN_PATH' | 
 | 5722 |     hardcode_shlibpath_var=no | 
 | 5723 |     ;; | 
 | 5724 |  | 
 | 5725 |   *) | 
 | 5726 |     ld_shlibs=no | 
 | 5727 |     ;; | 
 | 5728 |   esac | 
 | 5729 | fi | 
 | 5730 | echo "$as_me:$LINENO: result: $ld_shlibs" >&5 | 
 | 5731 | echo "${ECHO_T}$ld_shlibs" >&6 | 
 | 5732 | test "$ld_shlibs" = no && can_build_shared=no | 
 | 5733 | ## | 
 | 5734 | ## END FIXME | 
 | 5735 |  | 
 | 5736 | ## FIXME: this should be a separate macro | 
 | 5737 | ## | 
 | 5738 | # Check hardcoding attributes. | 
 | 5739 | echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 | 
 | 5740 | echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6 | 
 | 5741 | hardcode_action= | 
 | 5742 | if test -n "$hardcode_libdir_flag_spec" || \ | 
 | 5743 |    test -n "$runpath_var"; then | 
 | 5744 |  | 
 | 5745 |   # We can hardcode non-existant directories. | 
 | 5746 |   if test "$hardcode_direct" != no && | 
 | 5747 |      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
 | 5748 |      # have to relink, otherwise we might link with an installed library | 
 | 5749 |      # when we should be linking with a yet-to-be-installed one | 
 | 5750 |      ## test "$hardcode_shlibpath_var" != no && | 
 | 5751 |      test "$hardcode_minus_L" != no; then | 
 | 5752 |     # Linking always hardcodes the temporary library directory. | 
 | 5753 |     hardcode_action=relink | 
 | 5754 |   else | 
 | 5755 |     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
 | 5756 |     hardcode_action=immediate | 
 | 5757 |   fi | 
 | 5758 | else | 
 | 5759 |   # We cannot hardcode anything, or else we can only hardcode existing | 
 | 5760 |   # directories. | 
 | 5761 |   hardcode_action=unsupported | 
 | 5762 | fi | 
 | 5763 | echo "$as_me:$LINENO: result: $hardcode_action" >&5 | 
 | 5764 | echo "${ECHO_T}$hardcode_action" >&6 | 
 | 5765 | ## | 
 | 5766 | ## END FIXME | 
 | 5767 |  | 
 | 5768 | ## FIXME: this should be a separate macro | 
 | 5769 | ## | 
 | 5770 | striplib= | 
 | 5771 | old_striplib= | 
 | 5772 | echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 | 
 | 5773 | echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6 | 
 | 5774 | if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then | 
 | 5775 |   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
 | 5776 |   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
 | 5777 |   echo "$as_me:$LINENO: result: yes" >&5 | 
 | 5778 | echo "${ECHO_T}yes" >&6 | 
 | 5779 | else | 
 | 5780 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 5781 | echo "${ECHO_T}no" >&6 | 
 | 5782 | fi | 
 | 5783 | ## | 
 | 5784 | ## END FIXME | 
 | 5785 |  | 
 | 5786 | reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
 | 5787 | test -z "$deplibs_check_method" && deplibs_check_method=unknown | 
 | 5788 |  | 
 | 5789 | ## FIXME: this should be a separate macro | 
 | 5790 | ## | 
 | 5791 | # PORTME Fill in your ld.so characteristics | 
 | 5792 | echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 | 
 | 5793 | echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6 | 
 | 5794 | library_names_spec= | 
 | 5795 | libname_spec='lib$name' | 
 | 5796 | soname_spec= | 
 | 5797 | postinstall_cmds= | 
 | 5798 | postuninstall_cmds= | 
 | 5799 | finish_cmds= | 
 | 5800 | finish_eval= | 
 | 5801 | shlibpath_var= | 
 | 5802 | shlibpath_overrides_runpath=unknown | 
 | 5803 | version_type=none | 
 | 5804 | dynamic_linker="$host_os ld.so" | 
 | 5805 | sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
 | 5806 | sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
 | 5807 |  | 
 | 5808 | case $host_os in | 
 | 5809 | aix3*) | 
 | 5810 |   version_type=linux | 
 | 5811 |   library_names_spec='${libname}${release}.so$versuffix $libname.a' | 
 | 5812 |   shlibpath_var=LIBPATH | 
 | 5813 |  | 
 | 5814 |   # AIX has no versioning support, so we append a major version to the name. | 
 | 5815 |   soname_spec='${libname}${release}.so$major' | 
 | 5816 |   ;; | 
 | 5817 |  | 
 | 5818 | aix4* | aix5*) | 
 | 5819 |   version_type=linux | 
 | 5820 |   if test "$host_cpu" = ia64; then | 
 | 5821 |     # AIX 5 supports IA64 | 
 | 5822 |     library_names_spec='${libname}${release}.so$major ${libname}${release}.so$versuffix $libname.so' | 
 | 5823 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 5824 |   else | 
 | 5825 |     # With GCC up to 2.95.x, collect2 would create an import file | 
 | 5826 |     # for dependence libraries.  The import file would start with | 
 | 5827 |     # the line `#! .'.  This would cause the generated library to | 
 | 5828 |     # depend on `.', always an invalid library.  This was fixed in | 
 | 5829 |     # development snapshots of GCC prior to 3.0. | 
 | 5830 |     case $host_os in | 
 | 5831 |       aix4 | aix4.[01] | aix4.[01].*) | 
 | 5832 | 	if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
 | 5833 | 	     echo ' yes ' | 
 | 5834 | 	     echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then | 
 | 5835 | 	  : | 
 | 5836 | 	else | 
 | 5837 | 	  can_build_shared=no | 
 | 5838 | 	fi | 
 | 5839 | 	;; | 
 | 5840 |     esac | 
 | 5841 |     # AIX (on Power*) has no versioning support, so currently we can | 
 | 5842 |     # not hardcode correct soname into executable. Probably we can | 
 | 5843 |     # add versioning support to collect2, so additional links can | 
 | 5844 |     # be useful in future. | 
 | 5845 |     if test "$aix_use_runtimelinking" = yes; then | 
 | 5846 |       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
 | 5847 |       # instead of lib<name>.a to let people know that these are not | 
 | 5848 |       # typical AIX shared libraries. | 
 | 5849 |       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 5850 |     else | 
 | 5851 |       # We preserve .a as extension for shared libraries through AIX4.2 | 
 | 5852 |       # and later when we are not doing run time linking. | 
 | 5853 |       library_names_spec='${libname}${release}.a $libname.a' | 
 | 5854 |       soname_spec='${libname}${release}.so$major' | 
 | 5855 |     fi | 
 | 5856 |     shlibpath_var=LIBPATH | 
 | 5857 |   fi | 
 | 5858 |   ;; | 
 | 5859 |  | 
 | 5860 | amigaos*) | 
 | 5861 |   library_names_spec='$libname.ixlibrary $libname.a' | 
 | 5862 |   # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
 | 5863 |   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' | 
 | 5864 |   ;; | 
 | 5865 |  | 
 | 5866 | beos*) | 
 | 5867 |   library_names_spec='${libname}.so' | 
 | 5868 |   dynamic_linker="$host_os ld.so" | 
 | 5869 |   shlibpath_var=LIBRARY_PATH | 
 | 5870 |   ;; | 
 | 5871 |  | 
 | 5872 | bsdi4*) | 
 | 5873 |   version_type=linux | 
 | 5874 |   need_version=no | 
 | 5875 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 5876 |   soname_spec='${libname}${release}.so$major' | 
 | 5877 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
 | 5878 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 5879 |   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
 | 5880 |   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
 | 5881 |   export_dynamic_flag_spec=-rdynamic | 
 | 5882 |   # the default ld.so.conf also contains /usr/contrib/lib and | 
 | 5883 |   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
 | 5884 |   # libtool to hard-code these into programs | 
 | 5885 |   ;; | 
 | 5886 |  | 
 | 5887 | cygwin* | mingw* | pw32*) | 
 | 5888 |   version_type=windows | 
 | 5889 |   need_version=no | 
 | 5890 |   need_lib_prefix=no | 
 | 5891 |   case $GCC,$host_os in | 
 | 5892 |   yes,cygwin*) | 
 | 5893 |     library_names_spec='$libname.dll.a' | 
 | 5894 |     soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' | 
 | 5895 |     postinstall_cmds='dlpath=`bash 2>&1 -c '\''. $dir/${file}i;echo \$dlname'\''`~ | 
 | 5896 |       dldir=$destdir/`dirname \$dlpath`~ | 
 | 5897 |       test -d \$dldir || mkdir -p \$dldir~ | 
 | 5898 |       $install_prog .libs/$dlname \$dldir/$dlname' | 
 | 5899 |     postuninstall_cmds='dldll=`bash 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
 | 5900 |       dlpath=$dir/\$dldll~ | 
 | 5901 |        $rm \$dlpath' | 
 | 5902 |     ;; | 
 | 5903 |   yes,mingw*) | 
 | 5904 |     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll' | 
 | 5905 |     sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | sed -e "s/^libraries://" -e "s/;/ /g"` | 
 | 5906 |     ;; | 
 | 5907 |   yes,pw32*) | 
 | 5908 |     library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | sed -e 's/./-/g'`${versuffix}.dll' | 
 | 5909 |     ;; | 
 | 5910 |   *) | 
 | 5911 |     library_names_spec='${libname}`echo ${release} | sed -e 's/[.]/-/g'`${versuffix}.dll $libname.lib' | 
 | 5912 |     ;; | 
 | 5913 |   esac | 
 | 5914 |   dynamic_linker='Win32 ld.exe' | 
 | 5915 |   # FIXME: first we should search . and the directory the executable is in | 
 | 5916 |   shlibpath_var=PATH | 
 | 5917 |   ;; | 
 | 5918 |  | 
 | 5919 | darwin* | rhapsody*) | 
 | 5920 |   dynamic_linker="$host_os dyld" | 
 | 5921 |   version_type=darwin | 
 | 5922 |   need_lib_prefix=no | 
 | 5923 |   need_version=no | 
 | 5924 |   # FIXME: Relying on posixy $() will cause problems for | 
 | 5925 |   #        cross-compilation, but unfortunately the echo tests do not | 
 | 5926 |   #        yet detect zsh echo's removal of \ escapes. | 
 | 5927 |   library_names_spec='${libname}${release}${versuffix}.$(test .$module = .yes && echo so || echo dylib) ${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib) ${libname}.$(test .$module = .yes && echo so || echo dylib)' | 
 | 5928 |   soname_spec='${libname}${release}${major}.$(test .$module = .yes && echo so || echo dylib)' | 
 | 5929 |   shlibpath_overrides_runpath=yes | 
 | 5930 |   shlibpath_var=DYLD_LIBRARY_PATH | 
 | 5931 |   ;; | 
 | 5932 |  | 
 | 5933 | freebsd1*) | 
 | 5934 |   dynamic_linker=no | 
 | 5935 |   ;; | 
 | 5936 |  | 
 | 5937 | freebsd*) | 
 | 5938 |   objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` | 
 | 5939 |   version_type=freebsd-$objformat | 
 | 5940 |   case $version_type in | 
 | 5941 |     freebsd-elf*) | 
 | 5942 |       library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' | 
 | 5943 |       need_version=no | 
 | 5944 |       need_lib_prefix=no | 
 | 5945 |       ;; | 
 | 5946 |     freebsd-*) | 
 | 5947 |       library_names_spec='${libname}${release}.so$versuffix $libname.so$versuffix' | 
 | 5948 |       need_version=yes | 
 | 5949 |       ;; | 
 | 5950 |   esac | 
 | 5951 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 5952 |   case $host_os in | 
 | 5953 |   freebsd2*) | 
 | 5954 |     shlibpath_overrides_runpath=yes | 
 | 5955 |     ;; | 
 | 5956 |   *) | 
 | 5957 |     shlibpath_overrides_runpath=no | 
 | 5958 |     hardcode_into_libs=yes | 
 | 5959 |     ;; | 
 | 5960 |   esac | 
 | 5961 |   ;; | 
 | 5962 |  | 
 | 5963 | gnu*) | 
 | 5964 |   version_type=linux | 
 | 5965 |   need_lib_prefix=no | 
 | 5966 |   need_version=no | 
 | 5967 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so${major} ${libname}.so' | 
 | 5968 |   soname_spec='${libname}${release}.so$major' | 
 | 5969 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 5970 |   hardcode_into_libs=yes | 
 | 5971 |   ;; | 
 | 5972 |  | 
 | 5973 | hpux9* | hpux10* | hpux11*) | 
 | 5974 |   # Give a soname corresponding to the major version so that dld.sl refuses to | 
 | 5975 |   # link against other versions. | 
 | 5976 |   dynamic_linker="$host_os dld.sl" | 
 | 5977 |   version_type=sunos | 
 | 5978 |   need_lib_prefix=no | 
 | 5979 |   need_version=no | 
 | 5980 |   shlibpath_var=SHLIB_PATH | 
 | 5981 |   shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
 | 5982 |   library_names_spec='${libname}${release}.sl$versuffix ${libname}${release}.sl$major $libname.sl' | 
 | 5983 |   soname_spec='${libname}${release}.sl$major' | 
 | 5984 |   # HP-UX runs *really* slowly unless shared libraries are mode 555. | 
 | 5985 |   postinstall_cmds='chmod 555 $lib' | 
 | 5986 |   ;; | 
 | 5987 |  | 
 | 5988 | irix5* | irix6*) | 
 | 5989 |   version_type=irix | 
 | 5990 |   need_lib_prefix=no | 
 | 5991 |   need_version=no | 
 | 5992 |   soname_spec='${libname}${release}.so$major' | 
 | 5993 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so $libname.so' | 
 | 5994 |   case $host_os in | 
 | 5995 |   irix5*) | 
 | 5996 |     libsuff= shlibsuff= | 
 | 5997 |     ;; | 
 | 5998 |   *) | 
 | 5999 |     case $LD in # libtool.m4 will add one of these switches to LD | 
 | 6000 |     *-32|*"-32 ") libsuff= shlibsuff= libmagic=32-bit;; | 
 | 6001 |     *-n32|*"-n32 ") libsuff=32 shlibsuff=N32 libmagic=N32;; | 
 | 6002 |     *-64|*"-64 ") libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
 | 6003 |     *) libsuff= shlibsuff= libmagic=never-match;; | 
 | 6004 |     esac | 
 | 6005 |     ;; | 
 | 6006 |   esac | 
 | 6007 |   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
 | 6008 |   shlibpath_overrides_runpath=no | 
 | 6009 |   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
 | 6010 |   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
 | 6011 |   ;; | 
 | 6012 |  | 
 | 6013 | # No shared lib support for Linux oldld, aout, or coff. | 
 | 6014 | linux-gnuoldld* | linux-gnuaout* | linux-gnucoff*) | 
 | 6015 |   dynamic_linker=no | 
 | 6016 |   ;; | 
 | 6017 |  | 
 | 6018 | # This must be Linux ELF. | 
 | 6019 | linux-gnu*) | 
 | 6020 |   version_type=linux | 
 | 6021 |   need_lib_prefix=no | 
 | 6022 |   need_version=no | 
 | 6023 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6024 |   soname_spec='${libname}${release}.so$major' | 
 | 6025 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
 | 6026 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6027 |   shlibpath_overrides_runpath=no | 
 | 6028 |   # This implies no fast_install, which is unacceptable. | 
 | 6029 |   # Some rework will be needed to allow for fast_install | 
 | 6030 |   # before this can be enabled. | 
 | 6031 |   hardcode_into_libs=yes | 
 | 6032 |  | 
 | 6033 |   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
 | 6034 |   # powerpc, because MkLinux only supported shared libraries with the | 
 | 6035 |   # GNU dynamic linker.  Since this was broken with cross compilers, | 
 | 6036 |   # most powerpc-linux boxes support dynamic linking these days and | 
 | 6037 |   # people can always --disable-shared, the test was removed, and we | 
 | 6038 |   # assume the GNU/Linux dynamic linker is in use. | 
 | 6039 |   dynamic_linker='GNU/Linux ld.so' | 
 | 6040 |   ;; | 
 | 6041 |  | 
 | 6042 | netbsd*) | 
 | 6043 |   version_type=sunos | 
 | 6044 |   need_lib_prefix=no | 
 | 6045 |   need_version=no | 
 | 6046 |   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then | 
 | 6047 |     library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
 | 6048 |     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 6049 |     dynamic_linker='NetBSD (a.out) ld.so' | 
 | 6050 |   else | 
 | 6051 |     library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' | 
 | 6052 |     soname_spec='${libname}${release}.so$major' | 
 | 6053 |     dynamic_linker='NetBSD ld.elf_so' | 
 | 6054 |   fi | 
 | 6055 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6056 |   shlibpath_overrides_runpath=yes | 
 | 6057 |   hardcode_into_libs=yes | 
 | 6058 |   ;; | 
 | 6059 |  | 
 | 6060 | newsos6) | 
 | 6061 |   version_type=linux | 
 | 6062 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6063 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6064 |   shlibpath_overrides_runpath=yes | 
 | 6065 |   ;; | 
 | 6066 |  | 
 | 6067 | openbsd*) | 
 | 6068 |   version_type=sunos | 
 | 6069 |   need_lib_prefix=no | 
 | 6070 |   need_version=no | 
 | 6071 |   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
 | 6072 |     case "$host_os" in | 
 | 6073 |     openbsd2.[89] | openbsd2.[89].*) | 
 | 6074 |       shlibpath_overrides_runpath=no | 
 | 6075 |       ;; | 
 | 6076 |     *) | 
 | 6077 |       shlibpath_overrides_runpath=yes | 
 | 6078 |       ;; | 
 | 6079 |     esac | 
 | 6080 |   else | 
 | 6081 |     shlibpath_overrides_runpath=yes | 
 | 6082 |   fi | 
 | 6083 |   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
 | 6084 |   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
 | 6085 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6086 |   ;; | 
 | 6087 |  | 
 | 6088 | os2*) | 
 | 6089 |   libname_spec='$name' | 
 | 6090 |   need_lib_prefix=no | 
 | 6091 |   library_names_spec='$libname.dll $libname.a' | 
 | 6092 |   dynamic_linker='OS/2 ld.exe' | 
 | 6093 |   shlibpath_var=LIBPATH | 
 | 6094 |   ;; | 
 | 6095 |  | 
 | 6096 | osf3* | osf4* | osf5*) | 
 | 6097 |   version_type=osf | 
 | 6098 |   need_version=no | 
 | 6099 |   soname_spec='${libname}${release}.so' | 
 | 6100 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so $libname.so' | 
 | 6101 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6102 |   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
 | 6103 |   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
 | 6104 |   ;; | 
 | 6105 |  | 
 | 6106 | sco3.2v5*) | 
 | 6107 |   version_type=osf | 
 | 6108 |   soname_spec='${libname}${release}.so$major' | 
 | 6109 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6110 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6111 |   ;; | 
 | 6112 |  | 
 | 6113 | solaris*) | 
 | 6114 |   version_type=linux | 
 | 6115 |   need_lib_prefix=no | 
 | 6116 |   need_version=no | 
 | 6117 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6118 |   soname_spec='${libname}${release}.so$major' | 
 | 6119 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6120 |   shlibpath_overrides_runpath=yes | 
 | 6121 |   hardcode_into_libs=yes | 
 | 6122 |   # ldd complains unless libraries are executable | 
 | 6123 |   postinstall_cmds='chmod +x $lib' | 
 | 6124 |   ;; | 
 | 6125 |  | 
 | 6126 | sunos4*) | 
 | 6127 |   version_type=sunos | 
 | 6128 |   library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' | 
 | 6129 |   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
 | 6130 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6131 |   shlibpath_overrides_runpath=yes | 
 | 6132 |   if test "$with_gnu_ld" = yes; then | 
 | 6133 |     need_lib_prefix=no | 
 | 6134 |   fi | 
 | 6135 |   need_version=yes | 
 | 6136 |   ;; | 
 | 6137 |  | 
 | 6138 | sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
 | 6139 |   version_type=linux | 
 | 6140 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6141 |   soname_spec='${libname}${release}.so$major' | 
 | 6142 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6143 |   case $host_vendor in | 
 | 6144 |     sni) | 
 | 6145 |       shlibpath_overrides_runpath=no | 
 | 6146 |       ;; | 
 | 6147 |     motorola) | 
 | 6148 |       need_lib_prefix=no | 
 | 6149 |       need_version=no | 
 | 6150 |       shlibpath_overrides_runpath=no | 
 | 6151 |       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
 | 6152 |       ;; | 
 | 6153 |   esac | 
 | 6154 |   ;; | 
 | 6155 |  | 
 | 6156 | uts4*) | 
 | 6157 |   version_type=linux | 
 | 6158 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6159 |   soname_spec='${libname}${release}.so$major' | 
 | 6160 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6161 |   ;; | 
 | 6162 |  | 
 | 6163 | dgux*) | 
 | 6164 |   version_type=linux | 
 | 6165 |   need_lib_prefix=no | 
 | 6166 |   need_version=no | 
 | 6167 |   library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major $libname.so' | 
 | 6168 |   soname_spec='${libname}${release}.so$major' | 
 | 6169 |   shlibpath_var=LD_LIBRARY_PATH | 
 | 6170 |   ;; | 
 | 6171 |  | 
 | 6172 | sysv4*MP*) | 
 | 6173 |   if test -d /usr/nec ;then | 
 | 6174 |     version_type=linux | 
 | 6175 |     library_names_spec='$libname.so.$versuffix $libname.so.$major $libname.so' | 
 | 6176 |     soname_spec='$libname.so.$major' | 
 | 6177 |     shlibpath_var=LD_LIBRARY_PATH | 
 | 6178 |   fi | 
 | 6179 |   ;; | 
 | 6180 |  | 
 | 6181 | *) | 
 | 6182 |   dynamic_linker=no | 
 | 6183 |   ;; | 
 | 6184 | esac | 
 | 6185 | echo "$as_me:$LINENO: result: $dynamic_linker" >&5 | 
 | 6186 | echo "${ECHO_T}$dynamic_linker" >&6 | 
 | 6187 | test "$dynamic_linker" = no && can_build_shared=no | 
 | 6188 | ## | 
 | 6189 | ## END FIXME | 
 | 6190 |  | 
 | 6191 | ## FIXME: this should be a separate macro | 
 | 6192 | ## | 
 | 6193 | # Report the final consequences. | 
 | 6194 | echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 | 
 | 6195 | echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6 | 
 | 6196 | echo "$as_me:$LINENO: result: $can_build_shared" >&5 | 
 | 6197 | echo "${ECHO_T}$can_build_shared" >&6 | 
 | 6198 | ## | 
 | 6199 | ## END FIXME | 
 | 6200 |  | 
 | 6201 | ## FIXME: this should be a separate macro | 
 | 6202 | ## | 
 | 6203 | echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 | 
 | 6204 | echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6 | 
 | 6205 | test "$can_build_shared" = "no" && enable_shared=no | 
 | 6206 |  | 
 | 6207 | # On AIX, shared libraries and static libraries use the same namespace, and | 
 | 6208 | # are all built from PIC. | 
 | 6209 | case "$host_os" in | 
 | 6210 | aix3*) | 
 | 6211 |   test "$enable_shared" = yes && enable_static=no | 
 | 6212 |   if test -n "$RANLIB"; then | 
 | 6213 |     archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
 | 6214 |     postinstall_cmds='$RANLIB $lib' | 
 | 6215 |   fi | 
 | 6216 |   ;; | 
 | 6217 |  | 
 | 6218 | aix4*) | 
 | 6219 |   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 
 | 6220 |     test "$enable_shared" = yes && enable_static=no | 
 | 6221 |   fi | 
 | 6222 |   ;; | 
 | 6223 | esac | 
 | 6224 | echo "$as_me:$LINENO: result: $enable_shared" >&5 | 
 | 6225 | echo "${ECHO_T}$enable_shared" >&6 | 
 | 6226 | ## | 
 | 6227 | ## END FIXME | 
 | 6228 |  | 
 | 6229 | ## FIXME: this should be a separate macro | 
 | 6230 | ## | 
 | 6231 | echo "$as_me:$LINENO: checking whether to build static libraries" >&5 | 
 | 6232 | echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6 | 
 | 6233 | # Make sure either enable_shared or enable_static is yes. | 
 | 6234 | test "$enable_shared" = yes || enable_static=yes | 
 | 6235 | echo "$as_me:$LINENO: result: $enable_static" >&5 | 
 | 6236 | echo "${ECHO_T}$enable_static" >&6 | 
 | 6237 | ## | 
 | 6238 | ## END FIXME | 
 | 6239 |  | 
 | 6240 | if test "$hardcode_action" = relink; then | 
 | 6241 |   # Fast installation is not supported | 
 | 6242 |   enable_fast_install=no | 
 | 6243 | elif test "$shlibpath_overrides_runpath" = yes || | 
 | 6244 |      test "$enable_shared" = no; then | 
 | 6245 |   # Fast installation is not necessary | 
 | 6246 |   enable_fast_install=needless | 
 | 6247 | fi | 
 | 6248 |  | 
 | 6249 | variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
 | 6250 | if test "$GCC" = yes; then | 
 | 6251 |   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
 | 6252 | fi | 
 | 6253 |  | 
 | 6254 | if test "x$enable_dlopen" != xyes; then | 
 | 6255 |   enable_dlopen=unknown | 
 | 6256 |   enable_dlopen_self=unknown | 
 | 6257 |   enable_dlopen_self_static=unknown | 
 | 6258 | else | 
 | 6259 |   lt_cv_dlopen=no | 
 | 6260 |   lt_cv_dlopen_libs= | 
 | 6261 |  | 
 | 6262 |   case $host_os in | 
 | 6263 |   beos*) | 
 | 6264 |     lt_cv_dlopen="load_add_on" | 
 | 6265 |     lt_cv_dlopen_libs= | 
 | 6266 |     lt_cv_dlopen_self=yes | 
 | 6267 |     ;; | 
 | 6268 |  | 
 | 6269 |   cygwin* | mingw* | pw32*) | 
 | 6270 |     lt_cv_dlopen="LoadLibrary" | 
 | 6271 |     lt_cv_dlopen_libs= | 
 | 6272 |    ;; | 
 | 6273 |  | 
 | 6274 |   *) | 
 | 6275 |     echo "$as_me:$LINENO: checking for shl_load" >&5 | 
 | 6276 | echo $ECHO_N "checking for shl_load... $ECHO_C" >&6 | 
 | 6277 | if test "${ac_cv_func_shl_load+set}" = set; then | 
 | 6278 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6279 | else | 
 | 6280 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 6281 | #line $LINENO "configure" | 
 | 6282 | #include "confdefs.h" | 
 | 6283 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 6284 |     which can conflict with char shl_load (); below.  */ | 
 | 6285 | #include <assert.h> | 
 | 6286 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6287 | #ifdef __cplusplus | 
 | 6288 | extern "C" | 
 | 6289 | #endif | 
 | 6290 | /* We use char because int might match the return type of a gcc2 | 
 | 6291 |    builtin and then its argument prototype would still apply.  */ | 
 | 6292 | char shl_load (); | 
 | 6293 | char (*f) (); | 
 | 6294 |  | 
 | 6295 | #ifdef F77_DUMMY_MAIN | 
 | 6296 | #  ifdef __cplusplus | 
 | 6297 |      extern "C" | 
 | 6298 | #  endif | 
 | 6299 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6300 | #endif | 
 | 6301 | int | 
 | 6302 | main () | 
 | 6303 | { | 
 | 6304 | /* The GNU C library defines this for functions which it implements | 
 | 6305 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 6306 |     something starting with __ and the normal name is an alias.  */ | 
 | 6307 | #if defined (__stub_shl_load) || defined (__stub___shl_load) | 
 | 6308 | choke me | 
 | 6309 | #else | 
 | 6310 | f = shl_load; | 
 | 6311 | #endif | 
 | 6312 |  | 
 | 6313 |   ; | 
 | 6314 |   return 0; | 
 | 6315 | } | 
 | 6316 | _ACEOF | 
 | 6317 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6318 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6319 |   (eval $ac_link) 2>&5 | 
 | 6320 |   ac_status=$? | 
 | 6321 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6322 |   (exit $ac_status); } && | 
 | 6323 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6324 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6325 |   (eval $ac_try) 2>&5 | 
 | 6326 |   ac_status=$? | 
 | 6327 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6328 |   (exit $ac_status); }; }; then | 
 | 6329 |   ac_cv_func_shl_load=yes | 
 | 6330 | else | 
 | 6331 |   echo "$as_me: failed program was:" >&5 | 
 | 6332 | cat conftest.$ac_ext >&5 | 
 | 6333 | ac_cv_func_shl_load=no | 
 | 6334 | fi | 
 | 6335 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6336 | fi | 
 | 6337 | echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 | 
 | 6338 | echo "${ECHO_T}$ac_cv_func_shl_load" >&6 | 
 | 6339 | if test $ac_cv_func_shl_load = yes; then | 
 | 6340 |   lt_cv_dlopen="shl_load" | 
 | 6341 | else | 
 | 6342 |   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 | 
 | 6343 | echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6 | 
 | 6344 | if test "${ac_cv_lib_dld_shl_load+set}" = set; then | 
 | 6345 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6346 | else | 
 | 6347 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6348 | LIBS="-ldld  $LIBS" | 
 | 6349 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6350 | #line $LINENO "configure" | 
 | 6351 | #include "confdefs.h" | 
 | 6352 |  | 
 | 6353 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6354 | #ifdef __cplusplus | 
 | 6355 | extern "C" | 
 | 6356 | #endif | 
 | 6357 | /* We use char because int might match the return type of a gcc2 | 
 | 6358 |    builtin and then its argument prototype would still apply.  */ | 
 | 6359 | char shl_load (); | 
 | 6360 | #ifdef F77_DUMMY_MAIN | 
 | 6361 | #  ifdef __cplusplus | 
 | 6362 |      extern "C" | 
 | 6363 | #  endif | 
 | 6364 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6365 | #endif | 
 | 6366 | int | 
 | 6367 | main () | 
 | 6368 | { | 
 | 6369 | shl_load (); | 
 | 6370 |   ; | 
 | 6371 |   return 0; | 
 | 6372 | } | 
 | 6373 | _ACEOF | 
 | 6374 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6375 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6376 |   (eval $ac_link) 2>&5 | 
 | 6377 |   ac_status=$? | 
 | 6378 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6379 |   (exit $ac_status); } && | 
 | 6380 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6381 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6382 |   (eval $ac_try) 2>&5 | 
 | 6383 |   ac_status=$? | 
 | 6384 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6385 |   (exit $ac_status); }; }; then | 
 | 6386 |   ac_cv_lib_dld_shl_load=yes | 
 | 6387 | else | 
 | 6388 |   echo "$as_me: failed program was:" >&5 | 
 | 6389 | cat conftest.$ac_ext >&5 | 
 | 6390 | ac_cv_lib_dld_shl_load=no | 
 | 6391 | fi | 
 | 6392 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6393 | LIBS=$ac_check_lib_save_LIBS | 
 | 6394 | fi | 
 | 6395 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 | 
 | 6396 | echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6 | 
 | 6397 | if test $ac_cv_lib_dld_shl_load = yes; then | 
 | 6398 |   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld" | 
 | 6399 | else | 
 | 6400 |   echo "$as_me:$LINENO: checking for dlopen" >&5 | 
 | 6401 | echo $ECHO_N "checking for dlopen... $ECHO_C" >&6 | 
 | 6402 | if test "${ac_cv_func_dlopen+set}" = set; then | 
 | 6403 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6404 | else | 
 | 6405 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 6406 | #line $LINENO "configure" | 
 | 6407 | #include "confdefs.h" | 
 | 6408 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 6409 |     which can conflict with char dlopen (); below.  */ | 
 | 6410 | #include <assert.h> | 
 | 6411 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6412 | #ifdef __cplusplus | 
 | 6413 | extern "C" | 
 | 6414 | #endif | 
 | 6415 | /* We use char because int might match the return type of a gcc2 | 
 | 6416 |    builtin and then its argument prototype would still apply.  */ | 
 | 6417 | char dlopen (); | 
 | 6418 | char (*f) (); | 
 | 6419 |  | 
 | 6420 | #ifdef F77_DUMMY_MAIN | 
 | 6421 | #  ifdef __cplusplus | 
 | 6422 |      extern "C" | 
 | 6423 | #  endif | 
 | 6424 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6425 | #endif | 
 | 6426 | int | 
 | 6427 | main () | 
 | 6428 | { | 
 | 6429 | /* The GNU C library defines this for functions which it implements | 
 | 6430 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 6431 |     something starting with __ and the normal name is an alias.  */ | 
 | 6432 | #if defined (__stub_dlopen) || defined (__stub___dlopen) | 
 | 6433 | choke me | 
 | 6434 | #else | 
 | 6435 | f = dlopen; | 
 | 6436 | #endif | 
 | 6437 |  | 
 | 6438 |   ; | 
 | 6439 |   return 0; | 
 | 6440 | } | 
 | 6441 | _ACEOF | 
 | 6442 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6443 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6444 |   (eval $ac_link) 2>&5 | 
 | 6445 |   ac_status=$? | 
 | 6446 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6447 |   (exit $ac_status); } && | 
 | 6448 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6449 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6450 |   (eval $ac_try) 2>&5 | 
 | 6451 |   ac_status=$? | 
 | 6452 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6453 |   (exit $ac_status); }; }; then | 
 | 6454 |   ac_cv_func_dlopen=yes | 
 | 6455 | else | 
 | 6456 |   echo "$as_me: failed program was:" >&5 | 
 | 6457 | cat conftest.$ac_ext >&5 | 
 | 6458 | ac_cv_func_dlopen=no | 
 | 6459 | fi | 
 | 6460 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6461 | fi | 
 | 6462 | echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 | 
 | 6463 | echo "${ECHO_T}$ac_cv_func_dlopen" >&6 | 
 | 6464 | if test $ac_cv_func_dlopen = yes; then | 
 | 6465 |   lt_cv_dlopen="dlopen" | 
 | 6466 | else | 
 | 6467 |   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 | 
 | 6468 | echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6 | 
 | 6469 | if test "${ac_cv_lib_dl_dlopen+set}" = set; then | 
 | 6470 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6471 | else | 
 | 6472 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6473 | LIBS="-ldl  $LIBS" | 
 | 6474 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6475 | #line $LINENO "configure" | 
 | 6476 | #include "confdefs.h" | 
 | 6477 |  | 
 | 6478 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6479 | #ifdef __cplusplus | 
 | 6480 | extern "C" | 
 | 6481 | #endif | 
 | 6482 | /* We use char because int might match the return type of a gcc2 | 
 | 6483 |    builtin and then its argument prototype would still apply.  */ | 
 | 6484 | char dlopen (); | 
 | 6485 | #ifdef F77_DUMMY_MAIN | 
 | 6486 | #  ifdef __cplusplus | 
 | 6487 |      extern "C" | 
 | 6488 | #  endif | 
 | 6489 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6490 | #endif | 
 | 6491 | int | 
 | 6492 | main () | 
 | 6493 | { | 
 | 6494 | dlopen (); | 
 | 6495 |   ; | 
 | 6496 |   return 0; | 
 | 6497 | } | 
 | 6498 | _ACEOF | 
 | 6499 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6500 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6501 |   (eval $ac_link) 2>&5 | 
 | 6502 |   ac_status=$? | 
 | 6503 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6504 |   (exit $ac_status); } && | 
 | 6505 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6506 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6507 |   (eval $ac_try) 2>&5 | 
 | 6508 |   ac_status=$? | 
 | 6509 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6510 |   (exit $ac_status); }; }; then | 
 | 6511 |   ac_cv_lib_dl_dlopen=yes | 
 | 6512 | else | 
 | 6513 |   echo "$as_me: failed program was:" >&5 | 
 | 6514 | cat conftest.$ac_ext >&5 | 
 | 6515 | ac_cv_lib_dl_dlopen=no | 
 | 6516 | fi | 
 | 6517 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6518 | LIBS=$ac_check_lib_save_LIBS | 
 | 6519 | fi | 
 | 6520 | echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 | 
 | 6521 | echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6 | 
 | 6522 | if test $ac_cv_lib_dl_dlopen = yes; then | 
 | 6523 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
 | 6524 | else | 
 | 6525 |   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 | 
 | 6526 | echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6 | 
 | 6527 | if test "${ac_cv_lib_svld_dlopen+set}" = set; then | 
 | 6528 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6529 | else | 
 | 6530 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6531 | LIBS="-lsvld  $LIBS" | 
 | 6532 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6533 | #line $LINENO "configure" | 
 | 6534 | #include "confdefs.h" | 
 | 6535 |  | 
 | 6536 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6537 | #ifdef __cplusplus | 
 | 6538 | extern "C" | 
 | 6539 | #endif | 
 | 6540 | /* We use char because int might match the return type of a gcc2 | 
 | 6541 |    builtin and then its argument prototype would still apply.  */ | 
 | 6542 | char dlopen (); | 
 | 6543 | #ifdef F77_DUMMY_MAIN | 
 | 6544 | #  ifdef __cplusplus | 
 | 6545 |      extern "C" | 
 | 6546 | #  endif | 
 | 6547 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6548 | #endif | 
 | 6549 | int | 
 | 6550 | main () | 
 | 6551 | { | 
 | 6552 | dlopen (); | 
 | 6553 |   ; | 
 | 6554 |   return 0; | 
 | 6555 | } | 
 | 6556 | _ACEOF | 
 | 6557 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6558 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6559 |   (eval $ac_link) 2>&5 | 
 | 6560 |   ac_status=$? | 
 | 6561 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6562 |   (exit $ac_status); } && | 
 | 6563 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6564 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6565 |   (eval $ac_try) 2>&5 | 
 | 6566 |   ac_status=$? | 
 | 6567 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6568 |   (exit $ac_status); }; }; then | 
 | 6569 |   ac_cv_lib_svld_dlopen=yes | 
 | 6570 | else | 
 | 6571 |   echo "$as_me: failed program was:" >&5 | 
 | 6572 | cat conftest.$ac_ext >&5 | 
 | 6573 | ac_cv_lib_svld_dlopen=no | 
 | 6574 | fi | 
 | 6575 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6576 | LIBS=$ac_check_lib_save_LIBS | 
 | 6577 | fi | 
 | 6578 | echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 | 
 | 6579 | echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6 | 
 | 6580 | if test $ac_cv_lib_svld_dlopen = yes; then | 
 | 6581 |   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
 | 6582 | else | 
 | 6583 |   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 | 
 | 6584 | echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6 | 
 | 6585 | if test "${ac_cv_lib_dld_dld_link+set}" = set; then | 
 | 6586 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6587 | else | 
 | 6588 |   ac_check_lib_save_LIBS=$LIBS | 
 | 6589 | LIBS="-ldld  $LIBS" | 
 | 6590 | cat >conftest.$ac_ext <<_ACEOF | 
 | 6591 | #line $LINENO "configure" | 
 | 6592 | #include "confdefs.h" | 
 | 6593 |  | 
 | 6594 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 6595 | #ifdef __cplusplus | 
 | 6596 | extern "C" | 
 | 6597 | #endif | 
 | 6598 | /* We use char because int might match the return type of a gcc2 | 
 | 6599 |    builtin and then its argument prototype would still apply.  */ | 
 | 6600 | char dld_link (); | 
 | 6601 | #ifdef F77_DUMMY_MAIN | 
 | 6602 | #  ifdef __cplusplus | 
 | 6603 |      extern "C" | 
 | 6604 | #  endif | 
 | 6605 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 6606 | #endif | 
 | 6607 | int | 
 | 6608 | main () | 
 | 6609 | { | 
 | 6610 | dld_link (); | 
 | 6611 |   ; | 
 | 6612 |   return 0; | 
 | 6613 | } | 
 | 6614 | _ACEOF | 
 | 6615 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 6616 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6617 |   (eval $ac_link) 2>&5 | 
 | 6618 |   ac_status=$? | 
 | 6619 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6620 |   (exit $ac_status); } && | 
 | 6621 |          { ac_try='test -s conftest$ac_exeext' | 
 | 6622 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 6623 |   (eval $ac_try) 2>&5 | 
 | 6624 |   ac_status=$? | 
 | 6625 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6626 |   (exit $ac_status); }; }; then | 
 | 6627 |   ac_cv_lib_dld_dld_link=yes | 
 | 6628 | else | 
 | 6629 |   echo "$as_me: failed program was:" >&5 | 
 | 6630 | cat conftest.$ac_ext >&5 | 
 | 6631 | ac_cv_lib_dld_dld_link=no | 
 | 6632 | fi | 
 | 6633 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 6634 | LIBS=$ac_check_lib_save_LIBS | 
 | 6635 | fi | 
 | 6636 | echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 | 
 | 6637 | echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6 | 
 | 6638 | if test $ac_cv_lib_dld_dld_link = yes; then | 
 | 6639 |   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld" | 
 | 6640 | fi | 
 | 6641 |  | 
 | 6642 |  | 
 | 6643 | fi | 
 | 6644 |  | 
 | 6645 |  | 
 | 6646 | fi | 
 | 6647 |  | 
 | 6648 |  | 
 | 6649 | fi | 
 | 6650 |  | 
 | 6651 |  | 
 | 6652 | fi | 
 | 6653 |  | 
 | 6654 |  | 
 | 6655 | fi | 
 | 6656 |  | 
 | 6657 |     ;; | 
 | 6658 |   esac | 
 | 6659 |  | 
 | 6660 |   if test "x$lt_cv_dlopen" != xno; then | 
 | 6661 |     enable_dlopen=yes | 
 | 6662 |   else | 
 | 6663 |     enable_dlopen=no | 
 | 6664 |   fi | 
 | 6665 |  | 
 | 6666 |   case $lt_cv_dlopen in | 
 | 6667 |   dlopen) | 
 | 6668 |     save_CPPFLAGS="$CPPFLAGS" | 
 | 6669 |         test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
 | 6670 |  | 
 | 6671 |     save_LDFLAGS="$LDFLAGS" | 
 | 6672 |     eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
 | 6673 |  | 
 | 6674 |     save_LIBS="$LIBS" | 
 | 6675 |     LIBS="$lt_cv_dlopen_libs $LIBS" | 
 | 6676 |  | 
 | 6677 |     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 | 
 | 6678 | echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6 | 
 | 6679 | if test "${lt_cv_dlopen_self+set}" = set; then | 
 | 6680 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6681 | else | 
 | 6682 |   	  if test "$cross_compiling" = yes; then : | 
 | 6683 |   lt_cv_dlopen_self=cross | 
 | 6684 | else | 
 | 6685 |     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 6686 |   lt_status=$lt_dlunknown | 
 | 6687 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | badcc9a | 2003-07-02 20:49:38 +0000 | [diff] [blame] | 6688 | #line 6688 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6689 | #include "confdefs.h" | 
 | 6690 |  | 
 | 6691 | #if HAVE_DLFCN_H | 
 | 6692 | #include <dlfcn.h> | 
 | 6693 | #endif | 
 | 6694 |  | 
 | 6695 | #include <stdio.h> | 
 | 6696 |  | 
 | 6697 | #ifdef RTLD_GLOBAL | 
 | 6698 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 6699 | #else | 
 | 6700 | #  ifdef DL_GLOBAL | 
 | 6701 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 6702 | #  else | 
 | 6703 | #    define LT_DLGLOBAL		0 | 
 | 6704 | #  endif | 
 | 6705 | #endif | 
 | 6706 |  | 
 | 6707 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 6708 |    find out it does not work in some platform. */ | 
 | 6709 | #ifndef LT_DLLAZY_OR_NOW | 
 | 6710 | #  ifdef RTLD_LAZY | 
 | 6711 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 6712 | #  else | 
 | 6713 | #    ifdef DL_LAZY | 
 | 6714 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 6715 | #    else | 
 | 6716 | #      ifdef RTLD_NOW | 
 | 6717 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 6718 | #      else | 
 | 6719 | #        ifdef DL_NOW | 
 | 6720 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 6721 | #        else | 
 | 6722 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 6723 | #        endif | 
 | 6724 | #      endif | 
 | 6725 | #    endif | 
 | 6726 | #  endif | 
 | 6727 | #endif | 
 | 6728 |  | 
 | 6729 | #ifdef __cplusplus | 
 | 6730 | extern "C" void exit (int); | 
 | 6731 | #endif | 
 | 6732 |  | 
 | 6733 | void fnord() { int i=42;} | 
 | 6734 | int main () | 
 | 6735 | { | 
 | 6736 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 6737 |   int status = $lt_dlunknown; | 
 | 6738 |  | 
 | 6739 |   if (self) | 
 | 6740 |     { | 
 | 6741 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 6742 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 6743 |       /* dlclose (self); */ | 
 | 6744 |     } | 
 | 6745 |  | 
 | 6746 |     exit (status); | 
 | 6747 | } | 
 | 6748 | EOF | 
 | 6749 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6750 |   (eval $ac_link) 2>&5 | 
 | 6751 |   ac_status=$? | 
 | 6752 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6753 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 6754 |     (./conftest; exit; ) 2>/dev/null | 
 | 6755 |     lt_status=$? | 
 | 6756 |     case x$lt_status in | 
 | 6757 |       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
 | 6758 |       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
 | 6759 |       x$lt_unknown|x*) lt_cv_dlopen_self=no ;; | 
 | 6760 |     esac | 
 | 6761 |   else : | 
 | 6762 |     # compilation failed | 
 | 6763 |     lt_cv_dlopen_self=no | 
 | 6764 |   fi | 
 | 6765 | fi | 
 | 6766 | rm -fr conftest* | 
 | 6767 |  | 
 | 6768 |  | 
 | 6769 | fi | 
 | 6770 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 | 
 | 6771 | echo "${ECHO_T}$lt_cv_dlopen_self" >&6 | 
 | 6772 |  | 
 | 6773 |     if test "x$lt_cv_dlopen_self" = xyes; then | 
 | 6774 |       LDFLAGS="$LDFLAGS $link_static_flag" | 
 | 6775 |       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 | 
 | 6776 | echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6 | 
 | 6777 | if test "${lt_cv_dlopen_self_static+set}" = set; then | 
 | 6778 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6779 | else | 
 | 6780 |   	  if test "$cross_compiling" = yes; then : | 
 | 6781 |   lt_cv_dlopen_self_static=cross | 
 | 6782 | else | 
 | 6783 |     lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
 | 6784 |   lt_status=$lt_dlunknown | 
 | 6785 |   cat > conftest.$ac_ext <<EOF | 
| John Criswell | badcc9a | 2003-07-02 20:49:38 +0000 | [diff] [blame] | 6786 | #line 6786 "configure" | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 6787 | #include "confdefs.h" | 
 | 6788 |  | 
 | 6789 | #if HAVE_DLFCN_H | 
 | 6790 | #include <dlfcn.h> | 
 | 6791 | #endif | 
 | 6792 |  | 
 | 6793 | #include <stdio.h> | 
 | 6794 |  | 
 | 6795 | #ifdef RTLD_GLOBAL | 
 | 6796 | #  define LT_DLGLOBAL		RTLD_GLOBAL | 
 | 6797 | #else | 
 | 6798 | #  ifdef DL_GLOBAL | 
 | 6799 | #    define LT_DLGLOBAL		DL_GLOBAL | 
 | 6800 | #  else | 
 | 6801 | #    define LT_DLGLOBAL		0 | 
 | 6802 | #  endif | 
 | 6803 | #endif | 
 | 6804 |  | 
 | 6805 | /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
 | 6806 |    find out it does not work in some platform. */ | 
 | 6807 | #ifndef LT_DLLAZY_OR_NOW | 
 | 6808 | #  ifdef RTLD_LAZY | 
 | 6809 | #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
 | 6810 | #  else | 
 | 6811 | #    ifdef DL_LAZY | 
 | 6812 | #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
 | 6813 | #    else | 
 | 6814 | #      ifdef RTLD_NOW | 
 | 6815 | #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
 | 6816 | #      else | 
 | 6817 | #        ifdef DL_NOW | 
 | 6818 | #          define LT_DLLAZY_OR_NOW	DL_NOW | 
 | 6819 | #        else | 
 | 6820 | #          define LT_DLLAZY_OR_NOW	0 | 
 | 6821 | #        endif | 
 | 6822 | #      endif | 
 | 6823 | #    endif | 
 | 6824 | #  endif | 
 | 6825 | #endif | 
 | 6826 |  | 
 | 6827 | #ifdef __cplusplus | 
 | 6828 | extern "C" void exit (int); | 
 | 6829 | #endif | 
 | 6830 |  | 
 | 6831 | void fnord() { int i=42;} | 
 | 6832 | int main () | 
 | 6833 | { | 
 | 6834 |   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
 | 6835 |   int status = $lt_dlunknown; | 
 | 6836 |  | 
 | 6837 |   if (self) | 
 | 6838 |     { | 
 | 6839 |       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
 | 6840 |       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore; | 
 | 6841 |       /* dlclose (self); */ | 
 | 6842 |     } | 
 | 6843 |  | 
 | 6844 |     exit (status); | 
 | 6845 | } | 
 | 6846 | EOF | 
 | 6847 |   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 6848 |   (eval $ac_link) 2>&5 | 
 | 6849 |   ac_status=$? | 
 | 6850 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6851 |   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then | 
 | 6852 |     (./conftest; exit; ) 2>/dev/null | 
 | 6853 |     lt_status=$? | 
 | 6854 |     case x$lt_status in | 
 | 6855 |       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 6856 |       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
 | 6857 |       x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;; | 
 | 6858 |     esac | 
 | 6859 |   else : | 
 | 6860 |     # compilation failed | 
 | 6861 |     lt_cv_dlopen_self_static=no | 
 | 6862 |   fi | 
 | 6863 | fi | 
 | 6864 | rm -fr conftest* | 
 | 6865 |  | 
 | 6866 |  | 
 | 6867 | fi | 
 | 6868 | echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 | 
 | 6869 | echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6 | 
 | 6870 |     fi | 
 | 6871 |  | 
 | 6872 |     CPPFLAGS="$save_CPPFLAGS" | 
 | 6873 |     LDFLAGS="$save_LDFLAGS" | 
 | 6874 |     LIBS="$save_LIBS" | 
 | 6875 |     ;; | 
 | 6876 |   esac | 
 | 6877 |  | 
 | 6878 |   case $lt_cv_dlopen_self in | 
 | 6879 |   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
 | 6880 |   *) enable_dlopen_self=unknown ;; | 
 | 6881 |   esac | 
 | 6882 |  | 
 | 6883 |   case $lt_cv_dlopen_self_static in | 
 | 6884 |   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
 | 6885 |   *) enable_dlopen_self_static=unknown ;; | 
 | 6886 |   esac | 
 | 6887 | fi | 
 | 6888 |  | 
 | 6889 |  | 
 | 6890 | ## FIXME: this should be a separate macro | 
 | 6891 | ## | 
 | 6892 | if test "$enable_shared" = yes && test "$GCC" = yes; then | 
 | 6893 |   case $archive_cmds in | 
 | 6894 |   *'~'*) | 
 | 6895 |     # FIXME: we may have to deal with multi-command sequences. | 
 | 6896 |     ;; | 
 | 6897 |   '$CC '*) | 
 | 6898 |     # Test whether the compiler implicitly links with -lc since on some | 
 | 6899 |     # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
 | 6900 |     # to ld, don't add -lc before -lgcc. | 
 | 6901 |     echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 | 
 | 6902 | echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6 | 
 | 6903 |     if test "${lt_cv_archive_cmds_need_lc+set}" = set; then | 
 | 6904 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 6905 | else | 
 | 6906 |   $rm conftest* | 
 | 6907 |     echo 'static int dummy;' > conftest.$ac_ext | 
 | 6908 |  | 
 | 6909 |     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 6910 |   (eval $ac_compile) 2>&5 | 
 | 6911 |   ac_status=$? | 
 | 6912 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6913 |   (exit $ac_status); }; then | 
 | 6914 |       soname=conftest | 
 | 6915 |       lib=conftest | 
 | 6916 |       libobjs=conftest.$ac_objext | 
 | 6917 |       deplibs= | 
 | 6918 |       wl=$lt_cv_prog_cc_wl | 
 | 6919 |       compiler_flags=-v | 
 | 6920 |       linker_flags=-v | 
 | 6921 |       verstring= | 
 | 6922 |       output_objdir=. | 
 | 6923 |       libname=conftest | 
 | 6924 |       save_allow_undefined_flag=$allow_undefined_flag | 
 | 6925 |       allow_undefined_flag= | 
 | 6926 |       if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5 | 
 | 6927 |   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
 | 6928 |   ac_status=$? | 
 | 6929 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 6930 |   (exit $ac_status); } | 
 | 6931 |       then | 
 | 6932 | 	lt_cv_archive_cmds_need_lc=no | 
 | 6933 |       else | 
 | 6934 | 	lt_cv_archive_cmds_need_lc=yes | 
 | 6935 |       fi | 
 | 6936 |       allow_undefined_flag=$save_allow_undefined_flag | 
 | 6937 |     else | 
 | 6938 |       cat conftest.err 1>&5 | 
 | 6939 |     fi | 
 | 6940 | fi | 
 | 6941 |  | 
 | 6942 |     echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5 | 
 | 6943 | echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6 | 
 | 6944 |     ;; | 
 | 6945 |   esac | 
 | 6946 | fi | 
 | 6947 | need_lc=${lt_cv_archive_cmds_need_lc-yes} | 
 | 6948 | ## | 
 | 6949 | ## END FIXME | 
 | 6950 |  | 
 | 6951 | ## FIXME: this should be a separate macro | 
 | 6952 | ## | 
 | 6953 | # The second clause should only fire when bootstrapping the | 
 | 6954 | # libtool distribution, otherwise you forgot to ship ltmain.sh | 
 | 6955 | # with your package, and you will get complaints that there are | 
 | 6956 | # no rules to generate ltmain.sh. | 
 | 6957 | if test -f "$ltmain"; then | 
 | 6958 |   : | 
 | 6959 | else | 
 | 6960 |   # If there is no Makefile yet, we rely on a make rule to execute | 
 | 6961 |   # `config.status --recheck' to rerun these tests and create the | 
 | 6962 |   # libtool script then. | 
 | 6963 |   test -f Makefile && make "$ltmain" | 
 | 6964 | fi | 
 | 6965 |  | 
 | 6966 | if test -f "$ltmain"; then | 
 | 6967 |   trap "$rm \"${ofile}T\"; exit 1" 1 2 15 | 
 | 6968 |   $rm -f "${ofile}T" | 
 | 6969 |  | 
 | 6970 |   echo creating $ofile | 
 | 6971 |  | 
 | 6972 |   # Now quote all the things that may contain metacharacters while being | 
 | 6973 |   # careful not to overquote the AC_SUBSTed values.  We take copies of the | 
 | 6974 |   # variables and quote the copies for generation of the libtool script. | 
 | 6975 |   for var in echo old_CC old_CFLAGS \ | 
 | 6976 |     AR AR_FLAGS CC LD LN_S NM SHELL \ | 
 | 6977 |     reload_flag reload_cmds wl \ | 
 | 6978 |     pic_flag link_static_flag no_builtin_flag export_dynamic_flag_spec \ | 
 | 6979 |     thread_safe_flag_spec whole_archive_flag_spec libname_spec \ | 
 | 6980 |     library_names_spec soname_spec \ | 
 | 6981 |     RANLIB old_archive_cmds old_archive_from_new_cmds old_postinstall_cmds \ | 
 | 6982 |     old_postuninstall_cmds archive_cmds archive_expsym_cmds postinstall_cmds \ | 
 | 6983 |     postuninstall_cmds extract_expsyms_cmds old_archive_from_expsyms_cmds \ | 
 | 6984 |     old_striplib striplib file_magic_cmd export_symbols_cmds \ | 
 | 6985 |     deplibs_check_method allow_undefined_flag no_undefined_flag \ | 
 | 6986 |     finish_cmds finish_eval global_symbol_pipe global_symbol_to_cdecl \ | 
 | 6987 |     global_symbol_to_c_name_address \ | 
 | 6988 |     hardcode_libdir_flag_spec hardcode_libdir_separator  \ | 
 | 6989 |     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \ | 
 | 6990 |     compiler_c_o compiler_o_lo need_locks exclude_expsyms include_expsyms; do | 
 | 6991 |  | 
 | 6992 |     case $var in | 
 | 6993 |     reload_cmds | old_archive_cmds | old_archive_from_new_cmds | \ | 
 | 6994 |     old_postinstall_cmds | old_postuninstall_cmds | \ | 
 | 6995 |     export_symbols_cmds | archive_cmds | archive_expsym_cmds | \ | 
 | 6996 |     extract_expsyms_cmds | old_archive_from_expsyms_cmds | \ | 
 | 6997 |     postinstall_cmds | postuninstall_cmds | \ | 
 | 6998 |     finish_cmds | sys_lib_search_path_spec | sys_lib_dlsearch_path_spec) | 
 | 6999 |       # Double-quote double-evaled strings. | 
 | 7000 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\"" | 
 | 7001 |       ;; | 
 | 7002 |     *) | 
 | 7003 |       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\"" | 
 | 7004 |       ;; | 
 | 7005 |     esac | 
 | 7006 |   done | 
 | 7007 |  | 
 | 7008 |   cat <<__EOF__ > "${ofile}T" | 
 | 7009 | #! $SHELL | 
 | 7010 |  | 
 | 7011 | # `$echo "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 
 | 7012 | # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) | 
 | 7013 | # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 
 | 7014 | # | 
 | 7015 | # Copyright (C) 1996-2000 Free Software Foundation, Inc. | 
 | 7016 | # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 
 | 7017 | # | 
 | 7018 | # This program is free software; you can redistribute it and/or modify | 
 | 7019 | # it under the terms of the GNU General Public License as published by | 
 | 7020 | # the Free Software Foundation; either version 2 of the License, or | 
 | 7021 | # (at your option) any later version. | 
 | 7022 | # | 
 | 7023 | # This program is distributed in the hope that it will be useful, but | 
 | 7024 | # WITHOUT ANY WARRANTY; without even the implied warranty of | 
 | 7025 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | 
 | 7026 | # General Public License for more details. | 
 | 7027 | # | 
 | 7028 | # You should have received a copy of the GNU General Public License | 
 | 7029 | # along with this program; if not, write to the Free Software | 
 | 7030 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
 | 7031 | # | 
 | 7032 | # As a special exception to the GNU General Public License, if you | 
 | 7033 | # distribute this file as part of a program that contains a | 
 | 7034 | # configuration script generated by Autoconf, you may include it under | 
 | 7035 | # the same distribution terms that you use for the rest of that program. | 
 | 7036 |  | 
 | 7037 | # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 
 | 7038 | Xsed="sed -e s/^X//" | 
 | 7039 |  | 
 | 7040 | # The HP-UX ksh and POSIX shell print the target directory to stdout | 
 | 7041 | # if CDPATH is set. | 
 | 7042 | if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi | 
 | 7043 |  | 
 | 7044 | # ### BEGIN LIBTOOL CONFIG | 
 | 7045 |  | 
 | 7046 | # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
 | 7047 |  | 
 | 7048 | # Shell to use when invoking shell scripts. | 
 | 7049 | SHELL=$lt_SHELL | 
 | 7050 |  | 
 | 7051 | # Whether or not to build shared libraries. | 
 | 7052 | build_libtool_libs=$enable_shared | 
 | 7053 |  | 
 | 7054 | # Whether or not to build static libraries. | 
 | 7055 | build_old_libs=$enable_static | 
 | 7056 |  | 
 | 7057 | # Whether or not to add -lc for building shared libraries. | 
 | 7058 | build_libtool_need_lc=$need_lc | 
 | 7059 |  | 
 | 7060 | # Whether or not to optimize for fast installation. | 
 | 7061 | fast_install=$enable_fast_install | 
 | 7062 |  | 
 | 7063 | # The host system. | 
 | 7064 | host_alias=$host_alias | 
 | 7065 | host=$host | 
 | 7066 |  | 
 | 7067 | # An echo program that does not interpret backslashes. | 
 | 7068 | echo=$lt_echo | 
 | 7069 |  | 
 | 7070 | # The archiver. | 
 | 7071 | AR=$lt_AR | 
 | 7072 | AR_FLAGS=$lt_AR_FLAGS | 
 | 7073 |  | 
 | 7074 | # The default C compiler. | 
 | 7075 | CC=$lt_CC | 
 | 7076 |  | 
 | 7077 | # Is the compiler the GNU C compiler? | 
 | 7078 | with_gcc=$GCC | 
 | 7079 |  | 
 | 7080 | # The linker used to build libraries. | 
 | 7081 | LD=$lt_LD | 
 | 7082 |  | 
 | 7083 | # Whether we need hard or soft links. | 
 | 7084 | LN_S=$lt_LN_S | 
 | 7085 |  | 
 | 7086 | # A BSD-compatible nm program. | 
 | 7087 | NM=$lt_NM | 
 | 7088 |  | 
 | 7089 | # A symbol stripping program | 
 | 7090 | STRIP=$STRIP | 
 | 7091 |  | 
 | 7092 | # Used to examine libraries when file_magic_cmd begins "file" | 
 | 7093 | MAGIC_CMD=$MAGIC_CMD | 
 | 7094 |  | 
 | 7095 | # Used on cygwin: DLL creation program. | 
 | 7096 | DLLTOOL="$DLLTOOL" | 
 | 7097 |  | 
 | 7098 | # Used on cygwin: object dumper. | 
 | 7099 | OBJDUMP="$OBJDUMP" | 
 | 7100 |  | 
 | 7101 | # Used on cygwin: assembler. | 
 | 7102 | AS="$AS" | 
 | 7103 |  | 
 | 7104 | # The name of the directory that contains temporary libtool files. | 
 | 7105 | objdir=$objdir | 
 | 7106 |  | 
 | 7107 | # How to create reloadable object files. | 
 | 7108 | reload_flag=$lt_reload_flag | 
 | 7109 | reload_cmds=$lt_reload_cmds | 
 | 7110 |  | 
 | 7111 | # How to pass a linker flag through the compiler. | 
 | 7112 | wl=$lt_wl | 
 | 7113 |  | 
 | 7114 | # Object file suffix (normally "o"). | 
 | 7115 | objext="$ac_objext" | 
 | 7116 |  | 
 | 7117 | # Old archive suffix (normally "a"). | 
 | 7118 | libext="$libext" | 
 | 7119 |  | 
 | 7120 | # Executable file suffix (normally ""). | 
 | 7121 | exeext="$exeext" | 
 | 7122 |  | 
 | 7123 | # Additional compiler flags for building library objects. | 
 | 7124 | pic_flag=$lt_pic_flag | 
 | 7125 | pic_mode=$pic_mode | 
 | 7126 |  | 
 | 7127 | # Does compiler simultaneously support -c and -o options? | 
 | 7128 | compiler_c_o=$lt_compiler_c_o | 
 | 7129 |  | 
 | 7130 | # Can we write directly to a .lo ? | 
 | 7131 | compiler_o_lo=$lt_compiler_o_lo | 
 | 7132 |  | 
 | 7133 | # Must we lock files when doing compilation ? | 
 | 7134 | need_locks=$lt_need_locks | 
 | 7135 |  | 
 | 7136 | # Do we need the lib prefix for modules? | 
 | 7137 | need_lib_prefix=$need_lib_prefix | 
 | 7138 |  | 
 | 7139 | # Do we need a version for libraries? | 
 | 7140 | need_version=$need_version | 
 | 7141 |  | 
 | 7142 | # Whether dlopen is supported. | 
 | 7143 | dlopen_support=$enable_dlopen | 
 | 7144 |  | 
 | 7145 | # Whether dlopen of programs is supported. | 
 | 7146 | dlopen_self=$enable_dlopen_self | 
 | 7147 |  | 
 | 7148 | # Whether dlopen of statically linked programs is supported. | 
 | 7149 | dlopen_self_static=$enable_dlopen_self_static | 
 | 7150 |  | 
 | 7151 | # Compiler flag to prevent dynamic linking. | 
 | 7152 | link_static_flag=$lt_link_static_flag | 
 | 7153 |  | 
 | 7154 | # Compiler flag to turn off builtin functions. | 
 | 7155 | no_builtin_flag=$lt_no_builtin_flag | 
 | 7156 |  | 
 | 7157 | # Compiler flag to allow reflexive dlopens. | 
 | 7158 | export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 
 | 7159 |  | 
 | 7160 | # Compiler flag to generate shared objects directly from archives. | 
 | 7161 | whole_archive_flag_spec=$lt_whole_archive_flag_spec | 
 | 7162 |  | 
 | 7163 | # Compiler flag to generate thread-safe objects. | 
 | 7164 | thread_safe_flag_spec=$lt_thread_safe_flag_spec | 
 | 7165 |  | 
 | 7166 | # Library versioning type. | 
 | 7167 | version_type=$version_type | 
 | 7168 |  | 
 | 7169 | # Format of library name prefix. | 
 | 7170 | libname_spec=$lt_libname_spec | 
 | 7171 |  | 
 | 7172 | # List of archive names.  First name is the real one, the rest are links. | 
 | 7173 | # The last name is the one that the linker finds with -lNAME. | 
 | 7174 | library_names_spec=$lt_library_names_spec | 
 | 7175 |  | 
 | 7176 | # The coded name of the library, if different from the real name. | 
 | 7177 | soname_spec=$lt_soname_spec | 
 | 7178 |  | 
 | 7179 | # Commands used to build and install an old-style archive. | 
 | 7180 | RANLIB=$lt_RANLIB | 
 | 7181 | old_archive_cmds=$lt_old_archive_cmds | 
 | 7182 | old_postinstall_cmds=$lt_old_postinstall_cmds | 
 | 7183 | old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
 | 7184 |  | 
 | 7185 | # Create an old-style archive from a shared archive. | 
 | 7186 | old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 
 | 7187 |  | 
 | 7188 | # Create a temporary old-style archive to link instead of a shared archive. | 
 | 7189 | old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 
 | 7190 |  | 
 | 7191 | # Commands used to build and install a shared archive. | 
 | 7192 | archive_cmds=$lt_archive_cmds | 
 | 7193 | archive_expsym_cmds=$lt_archive_expsym_cmds | 
 | 7194 | postinstall_cmds=$lt_postinstall_cmds | 
 | 7195 | postuninstall_cmds=$lt_postuninstall_cmds | 
 | 7196 |  | 
 | 7197 | # Commands to strip libraries. | 
 | 7198 | old_striplib=$lt_old_striplib | 
 | 7199 | striplib=$lt_striplib | 
 | 7200 |  | 
 | 7201 | # Method to check whether dependent libraries are shared objects. | 
 | 7202 | deplibs_check_method=$lt_deplibs_check_method | 
 | 7203 |  | 
 | 7204 | # Command to use when deplibs_check_method == file_magic. | 
 | 7205 | file_magic_cmd=$lt_file_magic_cmd | 
 | 7206 |  | 
 | 7207 | # Flag that allows shared libraries with undefined symbols to be built. | 
 | 7208 | allow_undefined_flag=$lt_allow_undefined_flag | 
 | 7209 |  | 
 | 7210 | # Flag that forces no undefined symbols. | 
 | 7211 | no_undefined_flag=$lt_no_undefined_flag | 
 | 7212 |  | 
 | 7213 | # Commands used to finish a libtool library installation in a directory. | 
 | 7214 | finish_cmds=$lt_finish_cmds | 
 | 7215 |  | 
 | 7216 | # Same as above, but a single script fragment to be evaled but not shown. | 
 | 7217 | finish_eval=$lt_finish_eval | 
 | 7218 |  | 
 | 7219 | # Take the output of nm and produce a listing of raw symbols and C names. | 
 | 7220 | global_symbol_pipe=$lt_global_symbol_pipe | 
 | 7221 |  | 
 | 7222 | # Transform the output of nm in a proper C declaration | 
 | 7223 | global_symbol_to_cdecl=$lt_global_symbol_to_cdecl | 
 | 7224 |  | 
 | 7225 | # Transform the output of nm in a C name address pair | 
 | 7226 | global_symbol_to_c_name_address=$lt_global_symbol_to_c_name_address | 
 | 7227 |  | 
 | 7228 | # This is the shared library runtime path variable. | 
 | 7229 | runpath_var=$runpath_var | 
 | 7230 |  | 
 | 7231 | # This is the shared library path variable. | 
 | 7232 | shlibpath_var=$shlibpath_var | 
 | 7233 |  | 
 | 7234 | # Is shlibpath searched before the hard-coded library search path? | 
 | 7235 | shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
 | 7236 |  | 
 | 7237 | # How to hardcode a shared library path into an executable. | 
 | 7238 | hardcode_action=$hardcode_action | 
 | 7239 |  | 
 | 7240 | # Whether we should hardcode library paths into libraries. | 
 | 7241 | hardcode_into_libs=$hardcode_into_libs | 
 | 7242 |  | 
 | 7243 | # Flag to hardcode \$libdir into a binary during linking. | 
 | 7244 | # This must work even if \$libdir does not exist. | 
 | 7245 | hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 
 | 7246 |  | 
 | 7247 | # Whether we need a single -rpath flag with a separated argument. | 
 | 7248 | hardcode_libdir_separator=$lt_hardcode_libdir_separator | 
 | 7249 |  | 
 | 7250 | # Set to yes if using DIR/libNAME.so during linking hardcodes DIR into the | 
 | 7251 | # resulting binary. | 
 | 7252 | hardcode_direct=$hardcode_direct | 
 | 7253 |  | 
 | 7254 | # Set to yes if using the -LDIR flag during linking hardcodes DIR into the | 
 | 7255 | # resulting binary. | 
 | 7256 | hardcode_minus_L=$hardcode_minus_L | 
 | 7257 |  | 
 | 7258 | # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into | 
 | 7259 | # the resulting binary. | 
 | 7260 | hardcode_shlibpath_var=$hardcode_shlibpath_var | 
 | 7261 |  | 
 | 7262 | # Variables whose values should be saved in libtool wrapper scripts and | 
 | 7263 | # restored at relink time. | 
 | 7264 | variables_saved_for_relink="$variables_saved_for_relink" | 
 | 7265 |  | 
 | 7266 | # Whether libtool must link a program against all its dependency libraries. | 
 | 7267 | link_all_deplibs=$link_all_deplibs | 
 | 7268 |  | 
 | 7269 | # Compile-time system search path for libraries | 
 | 7270 | sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
 | 7271 |  | 
 | 7272 | # Run-time system search path for libraries | 
 | 7273 | sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
 | 7274 |  | 
 | 7275 | # Fix the shell variable \$srcfile for the compiler. | 
 | 7276 | fix_srcfile_path="$fix_srcfile_path" | 
 | 7277 |  | 
 | 7278 | # Set to yes if exported symbols are required. | 
 | 7279 | always_export_symbols=$always_export_symbols | 
 | 7280 |  | 
 | 7281 | # The commands to list exported symbols. | 
 | 7282 | export_symbols_cmds=$lt_export_symbols_cmds | 
 | 7283 |  | 
 | 7284 | # The commands to extract the exported symbol list from a shared archive. | 
 | 7285 | extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
 | 7286 |  | 
 | 7287 | # Symbols that should not be listed in the preloaded symbols. | 
 | 7288 | exclude_expsyms=$lt_exclude_expsyms | 
 | 7289 |  | 
 | 7290 | # Symbols that must always be exported. | 
 | 7291 | include_expsyms=$lt_include_expsyms | 
 | 7292 |  | 
 | 7293 | # ### END LIBTOOL CONFIG | 
 | 7294 |  | 
 | 7295 | __EOF__ | 
 | 7296 |  | 
 | 7297 |   case $host_os in | 
 | 7298 |   aix3*) | 
 | 7299 |     cat <<\EOF >> "${ofile}T" | 
 | 7300 |  | 
 | 7301 | # AIX sometimes has problems with the GCC collect2 program.  For some | 
 | 7302 | # reason, if we set the COLLECT_NAMES environment variable, the problems | 
 | 7303 | # vanish in a puff of smoke. | 
 | 7304 | if test "X${COLLECT_NAMES+set}" != Xset; then | 
 | 7305 |   COLLECT_NAMES= | 
 | 7306 |   export COLLECT_NAMES | 
 | 7307 | fi | 
 | 7308 | EOF | 
 | 7309 |     ;; | 
 | 7310 |   esac | 
 | 7311 |  | 
 | 7312 |   case $host_os in | 
 | 7313 |   cygwin* | mingw* | pw32* | os2*) | 
 | 7314 |     cat <<'EOF' >> "${ofile}T" | 
 | 7315 |       # This is a source program that is used to create dlls on Windows | 
 | 7316 |       # Don't remove nor modify the starting and closing comments | 
 | 7317 | # /* ltdll.c starts here */ | 
 | 7318 | # #define WIN32_LEAN_AND_MEAN | 
 | 7319 | # #include <windows.h> | 
 | 7320 | # #undef WIN32_LEAN_AND_MEAN | 
 | 7321 | # #include <stdio.h> | 
 | 7322 | # | 
 | 7323 | # #ifndef __CYGWIN__ | 
 | 7324 | # #  ifdef __CYGWIN32__ | 
 | 7325 | # #    define __CYGWIN__ __CYGWIN32__ | 
 | 7326 | # #  endif | 
 | 7327 | # #endif | 
 | 7328 | # | 
 | 7329 | # #ifdef __cplusplus | 
 | 7330 | # extern "C" { | 
 | 7331 | # #endif | 
 | 7332 | # BOOL APIENTRY DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved); | 
 | 7333 | # #ifdef __cplusplus | 
 | 7334 | # } | 
 | 7335 | # #endif | 
 | 7336 | # | 
 | 7337 | # #ifdef __CYGWIN__ | 
 | 7338 | # #include <cygwin/cygwin_dll.h> | 
 | 7339 | # DECLARE_CYGWIN_DLL( DllMain ); | 
 | 7340 | # #endif | 
 | 7341 | # HINSTANCE __hDllInstance_base; | 
 | 7342 | # | 
 | 7343 | # BOOL APIENTRY | 
 | 7344 | # DllMain (HINSTANCE hInst, DWORD reason, LPVOID reserved) | 
 | 7345 | # { | 
 | 7346 | #   __hDllInstance_base = hInst; | 
 | 7347 | #   return TRUE; | 
 | 7348 | # } | 
 | 7349 | # /* ltdll.c ends here */ | 
 | 7350 | 	# This is a source program that is used to create import libraries | 
 | 7351 | 	# on Windows for dlls which lack them. Don't remove nor modify the | 
 | 7352 | 	# starting and closing comments | 
 | 7353 | # /* impgen.c starts here */ | 
 | 7354 | # /*   Copyright (C) 1999-2000 Free Software Foundation, Inc. | 
 | 7355 | # | 
 | 7356 | #  This file is part of GNU libtool. | 
 | 7357 | # | 
 | 7358 | #  This program is free software; you can redistribute it and/or modify | 
 | 7359 | #  it under the terms of the GNU General Public License as published by | 
 | 7360 | #  the Free Software Foundation; either version 2 of the License, or | 
 | 7361 | #  (at your option) any later version. | 
 | 7362 | # | 
 | 7363 | #  This program is distributed in the hope that it will be useful, | 
 | 7364 | #  but WITHOUT ANY WARRANTY; without even the implied warranty of | 
 | 7365 | #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
 | 7366 | #  GNU General Public License for more details. | 
 | 7367 | # | 
 | 7368 | #  You should have received a copy of the GNU General Public License | 
 | 7369 | #  along with this program; if not, write to the Free Software | 
 | 7370 | #  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
 | 7371 | #  */ | 
 | 7372 | # | 
 | 7373 | # #include <stdio.h>		/* for printf() */ | 
 | 7374 | # #include <unistd.h>		/* for open(), lseek(), read() */ | 
 | 7375 | # #include <fcntl.h>		/* for O_RDONLY, O_BINARY */ | 
 | 7376 | # #include <string.h>		/* for strdup() */ | 
 | 7377 | # | 
 | 7378 | # /* O_BINARY isn't required (or even defined sometimes) under Unix */ | 
 | 7379 | # #ifndef O_BINARY | 
 | 7380 | # #define O_BINARY 0 | 
 | 7381 | # #endif | 
 | 7382 | # | 
 | 7383 | # static unsigned int | 
 | 7384 | # pe_get16 (fd, offset) | 
 | 7385 | #      int fd; | 
 | 7386 | #      int offset; | 
 | 7387 | # { | 
 | 7388 | #   unsigned char b[2]; | 
 | 7389 | #   lseek (fd, offset, SEEK_SET); | 
 | 7390 | #   read (fd, b, 2); | 
 | 7391 | #   return b[0] + (b[1]<<8); | 
 | 7392 | # } | 
 | 7393 | # | 
 | 7394 | # static unsigned int | 
 | 7395 | # pe_get32 (fd, offset) | 
 | 7396 | #     int fd; | 
 | 7397 | #     int offset; | 
 | 7398 | # { | 
 | 7399 | #   unsigned char b[4]; | 
 | 7400 | #   lseek (fd, offset, SEEK_SET); | 
 | 7401 | #   read (fd, b, 4); | 
 | 7402 | #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); | 
 | 7403 | # } | 
 | 7404 | # | 
 | 7405 | # static unsigned int | 
 | 7406 | # pe_as32 (ptr) | 
 | 7407 | #      void *ptr; | 
 | 7408 | # { | 
 | 7409 | #   unsigned char *b = ptr; | 
 | 7410 | #   return b[0] + (b[1]<<8) + (b[2]<<16) + (b[3]<<24); | 
 | 7411 | # } | 
 | 7412 | # | 
 | 7413 | # int | 
 | 7414 | # main (argc, argv) | 
 | 7415 | #     int argc; | 
 | 7416 | #     char *argv[]; | 
 | 7417 | # { | 
 | 7418 | #     int dll; | 
 | 7419 | #     unsigned long pe_header_offset, opthdr_ofs, num_entries, i; | 
 | 7420 | #     unsigned long export_rva, export_size, nsections, secptr, expptr; | 
 | 7421 | #     unsigned long name_rvas, nexp; | 
 | 7422 | #     unsigned char *expdata, *erva; | 
 | 7423 | #     char *filename, *dll_name; | 
 | 7424 | # | 
 | 7425 | #     filename = argv[1]; | 
 | 7426 | # | 
 | 7427 | #     dll = open(filename, O_RDONLY|O_BINARY); | 
 | 7428 | #     if (dll < 1) | 
 | 7429 | # 	return 1; | 
 | 7430 | # | 
 | 7431 | #     dll_name = filename; | 
 | 7432 | # | 
 | 7433 | #     for (i=0; filename[i]; i++) | 
 | 7434 | # 	if (filename[i] == '/' || filename[i] == '\\'  || filename[i] == ':') | 
 | 7435 | # 	    dll_name = filename + i +1; | 
 | 7436 | # | 
 | 7437 | #     pe_header_offset = pe_get32 (dll, 0x3c); | 
 | 7438 | #     opthdr_ofs = pe_header_offset + 4 + 20; | 
 | 7439 | #     num_entries = pe_get32 (dll, opthdr_ofs + 92); | 
 | 7440 | # | 
 | 7441 | #     if (num_entries < 1) /* no exports */ | 
 | 7442 | # 	return 1; | 
 | 7443 | # | 
 | 7444 | #     export_rva = pe_get32 (dll, opthdr_ofs + 96); | 
 | 7445 | #     export_size = pe_get32 (dll, opthdr_ofs + 100); | 
 | 7446 | #     nsections = pe_get16 (dll, pe_header_offset + 4 +2); | 
 | 7447 | #     secptr = (pe_header_offset + 4 + 20 + | 
 | 7448 | # 	      pe_get16 (dll, pe_header_offset + 4 + 16)); | 
 | 7449 | # | 
 | 7450 | #     expptr = 0; | 
 | 7451 | #     for (i = 0; i < nsections; i++) | 
 | 7452 | #     { | 
 | 7453 | # 	char sname[8]; | 
 | 7454 | # 	unsigned long secptr1 = secptr + 40 * i; | 
 | 7455 | # 	unsigned long vaddr = pe_get32 (dll, secptr1 + 12); | 
 | 7456 | # 	unsigned long vsize = pe_get32 (dll, secptr1 + 16); | 
 | 7457 | # 	unsigned long fptr = pe_get32 (dll, secptr1 + 20); | 
 | 7458 | # 	lseek(dll, secptr1, SEEK_SET); | 
 | 7459 | # 	read(dll, sname, 8); | 
 | 7460 | # 	if (vaddr <= export_rva && vaddr+vsize > export_rva) | 
 | 7461 | # 	{ | 
 | 7462 | # 	    expptr = fptr + (export_rva - vaddr); | 
 | 7463 | # 	    if (export_rva + export_size > vaddr + vsize) | 
 | 7464 | # 		export_size = vsize - (export_rva - vaddr); | 
 | 7465 | # 	    break; | 
 | 7466 | # 	} | 
 | 7467 | #     } | 
 | 7468 | # | 
 | 7469 | #     expdata = (unsigned char*)malloc(export_size); | 
 | 7470 | #     lseek (dll, expptr, SEEK_SET); | 
 | 7471 | #     read (dll, expdata, export_size); | 
 | 7472 | #     erva = expdata - export_rva; | 
 | 7473 | # | 
 | 7474 | #     nexp = pe_as32 (expdata+24); | 
 | 7475 | #     name_rvas = pe_as32 (expdata+32); | 
 | 7476 | # | 
 | 7477 | #     printf ("EXPORTS\n"); | 
 | 7478 | #     for (i = 0; i<nexp; i++) | 
 | 7479 | #     { | 
 | 7480 | # 	unsigned long name_rva = pe_as32 (erva+name_rvas+i*4); | 
 | 7481 | # 	printf ("\t%s @ %ld ;\n", erva+name_rva, 1+ i); | 
 | 7482 | #     } | 
 | 7483 | # | 
 | 7484 | #     return 0; | 
 | 7485 | # } | 
 | 7486 | # /* impgen.c ends here */ | 
 | 7487 |  | 
 | 7488 | EOF | 
 | 7489 |     ;; | 
 | 7490 |   esac | 
 | 7491 |  | 
 | 7492 |   # We use sed instead of cat because bash on DJGPP gets confused if | 
 | 7493 |   # if finds mixed CR/LF and LF-only lines.  Since sed operates in | 
 | 7494 |   # text mode, it properly converts lines to CR/LF.  This bash problem | 
 | 7495 |   # is reportedly fixed, but why not run on old versions too? | 
 | 7496 |   sed '$q' "$ltmain" >> "${ofile}T" || (rm -f "${ofile}T"; exit 1) | 
 | 7497 |  | 
 | 7498 |   mv -f "${ofile}T" "$ofile" || \ | 
 | 7499 |     (rm -f "$ofile" && cp "${ofile}T" "$ofile" && rm -f "${ofile}T") | 
 | 7500 |   chmod +x "$ofile" | 
 | 7501 | fi | 
 | 7502 | ## | 
 | 7503 | ## END FIXME | 
 | 7504 |  | 
 | 7505 |  | 
 | 7506 |  | 
 | 7507 |  | 
 | 7508 |  | 
 | 7509 | # This can be used to rebuild libtool when needed | 
 | 7510 | LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh" | 
 | 7511 |  | 
 | 7512 | # Always use our own libtool. | 
 | 7513 | LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 
 | 7514 |  | 
 | 7515 | # Prevent multiple expansion | 
 | 7516 |  | 
 | 7517 |  | 
 | 7518 |  | 
 | 7519 | # Extract the first word of "ar", so it can be a program name with args. | 
 | 7520 | set dummy ar; ac_word=$2 | 
 | 7521 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7522 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7523 | if test "${ac_cv_path_AR+set}" = set; then | 
 | 7524 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7525 | else | 
 | 7526 |   case $AR in | 
 | 7527 |   [\\/]* | ?:[\\/]*) | 
 | 7528 |   ac_cv_path_AR="$AR" # Let the user override the test with a path. | 
 | 7529 |   ;; | 
 | 7530 |   *) | 
 | 7531 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7532 | for as_dir in $PATH | 
 | 7533 | do | 
 | 7534 |   IFS=$as_save_IFS | 
 | 7535 |   test -z "$as_dir" && as_dir=. | 
 | 7536 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7537 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7538 |     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 
 | 7539 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7540 |     break 2 | 
 | 7541 |   fi | 
 | 7542 | done | 
 | 7543 | done | 
 | 7544 |  | 
 | 7545 |   ;; | 
 | 7546 | esac | 
 | 7547 | fi | 
 | 7548 | AR=$ac_cv_path_AR | 
 | 7549 |  | 
 | 7550 | if test -n "$AR"; then | 
 | 7551 |   echo "$as_me:$LINENO: result: $AR" >&5 | 
 | 7552 | echo "${ECHO_T}$AR" >&6 | 
 | 7553 | else | 
 | 7554 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7555 | echo "${ECHO_T}no" >&6 | 
 | 7556 | fi | 
 | 7557 |  | 
 | 7558 | # Extract the first word of "sed", so it can be a program name with args. | 
 | 7559 | set dummy sed; ac_word=$2 | 
 | 7560 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7561 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7562 | if test "${ac_cv_path_SED+set}" = set; then | 
 | 7563 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7564 | else | 
 | 7565 |   case $SED in | 
 | 7566 |   [\\/]* | ?:[\\/]*) | 
 | 7567 |   ac_cv_path_SED="$SED" # Let the user override the test with a path. | 
 | 7568 |   ;; | 
 | 7569 |   *) | 
 | 7570 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7571 | for as_dir in $PATH | 
 | 7572 | do | 
 | 7573 |   IFS=$as_save_IFS | 
 | 7574 |   test -z "$as_dir" && as_dir=. | 
 | 7575 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7576 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7577 |     ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext" | 
 | 7578 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7579 |     break 2 | 
 | 7580 |   fi | 
 | 7581 | done | 
 | 7582 | done | 
 | 7583 |  | 
 | 7584 |   ;; | 
 | 7585 | esac | 
 | 7586 | fi | 
 | 7587 | SED=$ac_cv_path_SED | 
 | 7588 |  | 
 | 7589 | if test -n "$SED"; then | 
 | 7590 |   echo "$as_me:$LINENO: result: $SED" >&5 | 
 | 7591 | echo "${ECHO_T}$SED" >&6 | 
 | 7592 | else | 
 | 7593 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7594 | echo "${ECHO_T}no" >&6 | 
 | 7595 | fi | 
 | 7596 |  | 
 | 7597 | # Extract the first word of "rm", so it can be a program name with args. | 
 | 7598 | set dummy rm; ac_word=$2 | 
 | 7599 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7600 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7601 | if test "${ac_cv_path_RM+set}" = set; then | 
 | 7602 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7603 | else | 
 | 7604 |   case $RM in | 
 | 7605 |   [\\/]* | ?:[\\/]*) | 
 | 7606 |   ac_cv_path_RM="$RM" # Let the user override the test with a path. | 
 | 7607 |   ;; | 
 | 7608 |   *) | 
 | 7609 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7610 | for as_dir in $PATH | 
 | 7611 | do | 
 | 7612 |   IFS=$as_save_IFS | 
 | 7613 |   test -z "$as_dir" && as_dir=. | 
 | 7614 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7615 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7616 |     ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext" | 
 | 7617 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7618 |     break 2 | 
 | 7619 |   fi | 
 | 7620 | done | 
 | 7621 | done | 
 | 7622 |  | 
 | 7623 |   ;; | 
 | 7624 | esac | 
 | 7625 | fi | 
 | 7626 | RM=$ac_cv_path_RM | 
 | 7627 |  | 
 | 7628 | if test -n "$RM"; then | 
 | 7629 |   echo "$as_me:$LINENO: result: $RM" >&5 | 
 | 7630 | echo "${ECHO_T}$RM" >&6 | 
 | 7631 | else | 
 | 7632 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7633 | echo "${ECHO_T}no" >&6 | 
 | 7634 | fi | 
 | 7635 |  | 
 | 7636 | # Extract the first word of "echo", so it can be a program name with args. | 
 | 7637 | set dummy echo; ac_word=$2 | 
 | 7638 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7639 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7640 | if test "${ac_cv_path_ECHO+set}" = set; then | 
 | 7641 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7642 | else | 
 | 7643 |   case $ECHO in | 
 | 7644 |   [\\/]* | ?:[\\/]*) | 
 | 7645 |   ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path. | 
 | 7646 |   ;; | 
 | 7647 |   *) | 
 | 7648 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7649 | for as_dir in $PATH | 
 | 7650 | do | 
 | 7651 |   IFS=$as_save_IFS | 
 | 7652 |   test -z "$as_dir" && as_dir=. | 
 | 7653 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7654 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7655 |     ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext" | 
 | 7656 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7657 |     break 2 | 
 | 7658 |   fi | 
 | 7659 | done | 
 | 7660 | done | 
 | 7661 |  | 
 | 7662 |   ;; | 
 | 7663 | esac | 
 | 7664 | fi | 
 | 7665 | ECHO=$ac_cv_path_ECHO | 
 | 7666 |  | 
 | 7667 | if test -n "$ECHO"; then | 
 | 7668 |   echo "$as_me:$LINENO: result: $ECHO" >&5 | 
 | 7669 | echo "${ECHO_T}$ECHO" >&6 | 
 | 7670 | else | 
 | 7671 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7672 | echo "${ECHO_T}no" >&6 | 
 | 7673 | fi | 
 | 7674 |  | 
 | 7675 | # Extract the first word of "mkdir", so it can be a program name with args. | 
 | 7676 | set dummy mkdir; ac_word=$2 | 
 | 7677 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7678 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7679 | if test "${ac_cv_path_MKDIR+set}" = set; then | 
 | 7680 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7681 | else | 
 | 7682 |   case $MKDIR in | 
 | 7683 |   [\\/]* | ?:[\\/]*) | 
 | 7684 |   ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path. | 
 | 7685 |   ;; | 
 | 7686 |   *) | 
 | 7687 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7688 | for as_dir in $PATH | 
 | 7689 | do | 
 | 7690 |   IFS=$as_save_IFS | 
 | 7691 |   test -z "$as_dir" && as_dir=. | 
 | 7692 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7693 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7694 |     ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext" | 
 | 7695 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7696 |     break 2 | 
 | 7697 |   fi | 
 | 7698 | done | 
 | 7699 | done | 
 | 7700 |  | 
 | 7701 |   ;; | 
 | 7702 | esac | 
 | 7703 | fi | 
 | 7704 | MKDIR=$ac_cv_path_MKDIR | 
 | 7705 |  | 
 | 7706 | if test -n "$MKDIR"; then | 
 | 7707 |   echo "$as_me:$LINENO: result: $MKDIR" >&5 | 
 | 7708 | echo "${ECHO_T}$MKDIR" >&6 | 
 | 7709 | else | 
 | 7710 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7711 | echo "${ECHO_T}no" >&6 | 
 | 7712 | fi | 
 | 7713 |  | 
 | 7714 | # Extract the first word of "date", so it can be a program name with args. | 
 | 7715 | set dummy date; ac_word=$2 | 
 | 7716 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7717 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7718 | if test "${ac_cv_path_DATE+set}" = set; then | 
 | 7719 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7720 | else | 
 | 7721 |   case $DATE in | 
 | 7722 |   [\\/]* | ?:[\\/]*) | 
 | 7723 |   ac_cv_path_DATE="$DATE" # Let the user override the test with a path. | 
 | 7724 |   ;; | 
 | 7725 |   *) | 
 | 7726 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7727 | for as_dir in $PATH | 
 | 7728 | do | 
 | 7729 |   IFS=$as_save_IFS | 
 | 7730 |   test -z "$as_dir" && as_dir=. | 
 | 7731 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7732 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7733 |     ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext" | 
 | 7734 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7735 |     break 2 | 
 | 7736 |   fi | 
 | 7737 | done | 
 | 7738 | done | 
 | 7739 |  | 
 | 7740 |   ;; | 
 | 7741 | esac | 
 | 7742 | fi | 
 | 7743 | DATE=$ac_cv_path_DATE | 
 | 7744 |  | 
 | 7745 | if test -n "$DATE"; then | 
 | 7746 |   echo "$as_me:$LINENO: result: $DATE" >&5 | 
 | 7747 | echo "${ECHO_T}$DATE" >&6 | 
 | 7748 | else | 
 | 7749 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7750 | echo "${ECHO_T}no" >&6 | 
 | 7751 | fi | 
 | 7752 |  | 
 | 7753 | # Extract the first word of "mv", so it can be a program name with args. | 
 | 7754 | set dummy mv; ac_word=$2 | 
 | 7755 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7756 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7757 | if test "${ac_cv_path_MV+set}" = set; then | 
 | 7758 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7759 | else | 
 | 7760 |   case $MV in | 
 | 7761 |   [\\/]* | ?:[\\/]*) | 
 | 7762 |   ac_cv_path_MV="$MV" # Let the user override the test with a path. | 
 | 7763 |   ;; | 
 | 7764 |   *) | 
 | 7765 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7766 | for as_dir in $PATH | 
 | 7767 | do | 
 | 7768 |   IFS=$as_save_IFS | 
 | 7769 |   test -z "$as_dir" && as_dir=. | 
 | 7770 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7771 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7772 |     ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext" | 
 | 7773 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7774 |     break 2 | 
 | 7775 |   fi | 
 | 7776 | done | 
 | 7777 | done | 
 | 7778 |  | 
 | 7779 |   ;; | 
 | 7780 | esac | 
 | 7781 | fi | 
 | 7782 | MV=$ac_cv_path_MV | 
 | 7783 |  | 
 | 7784 | if test -n "$MV"; then | 
 | 7785 |   echo "$as_me:$LINENO: result: $MV" >&5 | 
 | 7786 | echo "${ECHO_T}$MV" >&6 | 
 | 7787 | else | 
 | 7788 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7789 | echo "${ECHO_T}no" >&6 | 
 | 7790 | fi | 
 | 7791 |  | 
 | 7792 | # Extract the first word of "dot", so it can be a program name with args. | 
 | 7793 | set dummy dot; ac_word=$2 | 
 | 7794 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7795 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7796 | if test "${ac_cv_path_DOT+set}" = set; then | 
 | 7797 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7798 | else | 
 | 7799 |   case $DOT in | 
 | 7800 |   [\\/]* | ?:[\\/]*) | 
 | 7801 |   ac_cv_path_DOT="$DOT" # Let the user override the test with a path. | 
 | 7802 |   ;; | 
 | 7803 |   *) | 
 | 7804 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7805 | for as_dir in $PATH | 
 | 7806 | do | 
 | 7807 |   IFS=$as_save_IFS | 
 | 7808 |   test -z "$as_dir" && as_dir=. | 
 | 7809 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7810 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7811 |     ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext" | 
 | 7812 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7813 |     break 2 | 
 | 7814 |   fi | 
 | 7815 | done | 
 | 7816 | done | 
 | 7817 |  | 
 | 7818 |   ;; | 
 | 7819 | esac | 
 | 7820 | fi | 
 | 7821 | DOT=$ac_cv_path_DOT | 
 | 7822 |  | 
 | 7823 | if test -n "$DOT"; then | 
 | 7824 |   echo "$as_me:$LINENO: result: $DOT" >&5 | 
 | 7825 | echo "${ECHO_T}$DOT" >&6 | 
 | 7826 | else | 
 | 7827 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7828 | echo "${ECHO_T}no" >&6 | 
 | 7829 | fi | 
 | 7830 |  | 
 | 7831 | # Extract the first word of "etags", so it can be a program name with args. | 
 | 7832 | set dummy etags; ac_word=$2 | 
 | 7833 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7834 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7835 | if test "${ac_cv_path_ETAGS+set}" = set; then | 
 | 7836 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7837 | else | 
 | 7838 |   case $ETAGS in | 
 | 7839 |   [\\/]* | ?:[\\/]*) | 
 | 7840 |   ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path. | 
 | 7841 |   ;; | 
 | 7842 |   *) | 
 | 7843 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7844 | for as_dir in $PATH | 
 | 7845 | do | 
 | 7846 |   IFS=$as_save_IFS | 
 | 7847 |   test -z "$as_dir" && as_dir=. | 
 | 7848 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7849 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7850 |     ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext" | 
 | 7851 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7852 |     break 2 | 
 | 7853 |   fi | 
 | 7854 | done | 
 | 7855 | done | 
 | 7856 |  | 
 | 7857 |   ;; | 
 | 7858 | esac | 
 | 7859 | fi | 
 | 7860 | ETAGS=$ac_cv_path_ETAGS | 
 | 7861 |  | 
 | 7862 | if test -n "$ETAGS"; then | 
 | 7863 |   echo "$as_me:$LINENO: result: $ETAGS" >&5 | 
 | 7864 | echo "${ECHO_T}$ETAGS" >&6 | 
 | 7865 | else | 
 | 7866 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7867 | echo "${ECHO_T}no" >&6 | 
 | 7868 | fi | 
 | 7869 |  | 
 | 7870 | # Extract the first word of "purify", so it can be a program name with args. | 
 | 7871 | set dummy purify; ac_word=$2 | 
 | 7872 | echo "$as_me:$LINENO: checking for $ac_word" >&5 | 
 | 7873 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 | 
 | 7874 | if test "${ac_cv_path_PURIFY+set}" = set; then | 
 | 7875 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7876 | else | 
 | 7877 |   case $PURIFY in | 
 | 7878 |   [\\/]* | ?:[\\/]*) | 
 | 7879 |   ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path. | 
 | 7880 |   ;; | 
 | 7881 |   *) | 
 | 7882 |   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 7883 | for as_dir in $PATH | 
 | 7884 | do | 
 | 7885 |   IFS=$as_save_IFS | 
 | 7886 |   test -z "$as_dir" && as_dir=. | 
 | 7887 |   for ac_exec_ext in '' $ac_executable_extensions; do | 
 | 7888 |   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then | 
 | 7889 |     ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext" | 
 | 7890 |     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
 | 7891 |     break 2 | 
 | 7892 |   fi | 
 | 7893 | done | 
 | 7894 | done | 
 | 7895 |  | 
 | 7896 |   ;; | 
 | 7897 | esac | 
 | 7898 | fi | 
 | 7899 | PURIFY=$ac_cv_path_PURIFY | 
 | 7900 |  | 
 | 7901 | if test -n "$PURIFY"; then | 
 | 7902 |   echo "$as_me:$LINENO: result: $PURIFY" >&5 | 
 | 7903 | echo "${ECHO_T}$PURIFY" >&6 | 
 | 7904 | else | 
 | 7905 |   echo "$as_me:$LINENO: result: no" >&5 | 
 | 7906 | echo "${ECHO_T}no" >&6 | 
 | 7907 | fi | 
 | 7908 |  | 
 | 7909 |  | 
 | 7910 |  | 
 | 7911 |  | 
 | 7912 |  | 
 | 7913 |  | 
 | 7914 | echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5 | 
 | 7915 | echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6 | 
 | 7916 | if test "${ac_cv_lib_elf_elf_begin+set}" = set; then | 
 | 7917 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7918 | else | 
 | 7919 |   ac_check_lib_save_LIBS=$LIBS | 
 | 7920 | LIBS="-lelf  $LIBS" | 
 | 7921 | cat >conftest.$ac_ext <<_ACEOF | 
 | 7922 | #line $LINENO "configure" | 
 | 7923 | #include "confdefs.h" | 
 | 7924 |  | 
 | 7925 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7926 | #ifdef __cplusplus | 
 | 7927 | extern "C" | 
 | 7928 | #endif | 
 | 7929 | /* We use char because int might match the return type of a gcc2 | 
 | 7930 |    builtin and then its argument prototype would still apply.  */ | 
 | 7931 | char elf_begin (); | 
 | 7932 | #ifdef F77_DUMMY_MAIN | 
 | 7933 | #  ifdef __cplusplus | 
 | 7934 |      extern "C" | 
 | 7935 | #  endif | 
 | 7936 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 7937 | #endif | 
 | 7938 | int | 
 | 7939 | main () | 
 | 7940 | { | 
 | 7941 | elf_begin (); | 
 | 7942 |   ; | 
 | 7943 |   return 0; | 
 | 7944 | } | 
 | 7945 | _ACEOF | 
 | 7946 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 7947 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 7948 |   (eval $ac_link) 2>&5 | 
 | 7949 |   ac_status=$? | 
 | 7950 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7951 |   (exit $ac_status); } && | 
 | 7952 |          { ac_try='test -s conftest$ac_exeext' | 
 | 7953 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 7954 |   (eval $ac_try) 2>&5 | 
 | 7955 |   ac_status=$? | 
 | 7956 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 7957 |   (exit $ac_status); }; }; then | 
 | 7958 |   ac_cv_lib_elf_elf_begin=yes | 
 | 7959 | else | 
 | 7960 |   echo "$as_me: failed program was:" >&5 | 
 | 7961 | cat conftest.$ac_ext >&5 | 
 | 7962 | ac_cv_lib_elf_elf_begin=no | 
 | 7963 | fi | 
 | 7964 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 7965 | LIBS=$ac_check_lib_save_LIBS | 
 | 7966 | fi | 
 | 7967 | echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5 | 
 | 7968 | echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6 | 
 | 7969 | if test $ac_cv_lib_elf_elf_begin = yes; then | 
 | 7970 |   cat >>confdefs.h <<_ACEOF | 
 | 7971 | #define HAVE_LIBELF 1 | 
 | 7972 | _ACEOF | 
 | 7973 |  | 
 | 7974 |   LIBS="-lelf $LIBS" | 
 | 7975 |  | 
 | 7976 | fi | 
 | 7977 |  | 
 | 7978 |  | 
 | 7979 | echo "$as_me:$LINENO: checking for library containing dlopen" >&5 | 
 | 7980 | echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6 | 
 | 7981 | if test "${ac_cv_search_dlopen+set}" = set; then | 
 | 7982 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 7983 | else | 
 | 7984 |   ac_func_search_save_LIBS=$LIBS | 
 | 7985 | ac_cv_search_dlopen=no | 
 | 7986 | cat >conftest.$ac_ext <<_ACEOF | 
 | 7987 | #line $LINENO "configure" | 
 | 7988 | #include "confdefs.h" | 
 | 7989 |  | 
 | 7990 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 7991 | #ifdef __cplusplus | 
 | 7992 | extern "C" | 
 | 7993 | #endif | 
 | 7994 | /* We use char because int might match the return type of a gcc2 | 
 | 7995 |    builtin and then its argument prototype would still apply.  */ | 
 | 7996 | char dlopen (); | 
 | 7997 | #ifdef F77_DUMMY_MAIN | 
 | 7998 | #  ifdef __cplusplus | 
 | 7999 |      extern "C" | 
 | 8000 | #  endif | 
 | 8001 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8002 | #endif | 
 | 8003 | int | 
 | 8004 | main () | 
 | 8005 | { | 
 | 8006 | dlopen (); | 
 | 8007 |   ; | 
 | 8008 |   return 0; | 
 | 8009 | } | 
 | 8010 | _ACEOF | 
 | 8011 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8012 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8013 |   (eval $ac_link) 2>&5 | 
 | 8014 |   ac_status=$? | 
 | 8015 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8016 |   (exit $ac_status); } && | 
 | 8017 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8018 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8019 |   (eval $ac_try) 2>&5 | 
 | 8020 |   ac_status=$? | 
 | 8021 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8022 |   (exit $ac_status); }; }; then | 
 | 8023 |   ac_cv_search_dlopen="none required" | 
 | 8024 | else | 
 | 8025 |   echo "$as_me: failed program was:" >&5 | 
 | 8026 | cat conftest.$ac_ext >&5 | 
 | 8027 | fi | 
 | 8028 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8029 | if test "$ac_cv_search_dlopen" = no; then | 
 | 8030 |   for ac_lib in dl; do | 
 | 8031 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 8032 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 8033 | #line $LINENO "configure" | 
 | 8034 | #include "confdefs.h" | 
 | 8035 |  | 
 | 8036 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8037 | #ifdef __cplusplus | 
 | 8038 | extern "C" | 
 | 8039 | #endif | 
 | 8040 | /* We use char because int might match the return type of a gcc2 | 
 | 8041 |    builtin and then its argument prototype would still apply.  */ | 
 | 8042 | char dlopen (); | 
 | 8043 | #ifdef F77_DUMMY_MAIN | 
 | 8044 | #  ifdef __cplusplus | 
 | 8045 |      extern "C" | 
 | 8046 | #  endif | 
 | 8047 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8048 | #endif | 
 | 8049 | int | 
 | 8050 | main () | 
 | 8051 | { | 
 | 8052 | dlopen (); | 
 | 8053 |   ; | 
 | 8054 |   return 0; | 
 | 8055 | } | 
 | 8056 | _ACEOF | 
 | 8057 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8058 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8059 |   (eval $ac_link) 2>&5 | 
 | 8060 |   ac_status=$? | 
 | 8061 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8062 |   (exit $ac_status); } && | 
 | 8063 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8064 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8065 |   (eval $ac_try) 2>&5 | 
 | 8066 |   ac_status=$? | 
 | 8067 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8068 |   (exit $ac_status); }; }; then | 
 | 8069 |   ac_cv_search_dlopen="-l$ac_lib" | 
 | 8070 | break | 
 | 8071 | else | 
 | 8072 |   echo "$as_me: failed program was:" >&5 | 
 | 8073 | cat conftest.$ac_ext >&5 | 
 | 8074 | fi | 
 | 8075 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8076 |   done | 
 | 8077 | fi | 
 | 8078 | LIBS=$ac_func_search_save_LIBS | 
 | 8079 | fi | 
 | 8080 | echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5 | 
 | 8081 | echo "${ECHO_T}$ac_cv_search_dlopen" >&6 | 
 | 8082 | if test "$ac_cv_search_dlopen" != no; then | 
 | 8083 |   test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS" | 
 | 8084 |  | 
 | 8085 | else | 
 | 8086 |   { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5 | 
 | 8087 | echo "$as_me: error: dlopen() required but not found" >&2;} | 
 | 8088 |    { (exit 1); exit 1; }; } | 
 | 8089 | fi | 
 | 8090 |  | 
 | 8091 |  | 
 | 8092 | echo "$as_me:$LINENO: checking for library containing mallinfo" >&5 | 
 | 8093 | echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6 | 
 | 8094 | if test "${ac_cv_search_mallinfo+set}" = set; then | 
 | 8095 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8096 | else | 
 | 8097 |   ac_func_search_save_LIBS=$LIBS | 
 | 8098 | ac_cv_search_mallinfo=no | 
 | 8099 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8100 | #line $LINENO "configure" | 
 | 8101 | #include "confdefs.h" | 
 | 8102 |  | 
 | 8103 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8104 | #ifdef __cplusplus | 
 | 8105 | extern "C" | 
 | 8106 | #endif | 
 | 8107 | /* We use char because int might match the return type of a gcc2 | 
 | 8108 |    builtin and then its argument prototype would still apply.  */ | 
 | 8109 | char mallinfo (); | 
 | 8110 | #ifdef F77_DUMMY_MAIN | 
 | 8111 | #  ifdef __cplusplus | 
 | 8112 |      extern "C" | 
 | 8113 | #  endif | 
 | 8114 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8115 | #endif | 
 | 8116 | int | 
 | 8117 | main () | 
 | 8118 | { | 
 | 8119 | mallinfo (); | 
 | 8120 |   ; | 
 | 8121 |   return 0; | 
 | 8122 | } | 
 | 8123 | _ACEOF | 
 | 8124 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8125 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8126 |   (eval $ac_link) 2>&5 | 
 | 8127 |   ac_status=$? | 
 | 8128 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8129 |   (exit $ac_status); } && | 
 | 8130 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8131 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8132 |   (eval $ac_try) 2>&5 | 
 | 8133 |   ac_status=$? | 
 | 8134 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8135 |   (exit $ac_status); }; }; then | 
 | 8136 |   ac_cv_search_mallinfo="none required" | 
 | 8137 | else | 
 | 8138 |   echo "$as_me: failed program was:" >&5 | 
 | 8139 | cat conftest.$ac_ext >&5 | 
 | 8140 | fi | 
 | 8141 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8142 | if test "$ac_cv_search_mallinfo" = no; then | 
 | 8143 |   for ac_lib in malloc; do | 
 | 8144 |     LIBS="-l$ac_lib  $ac_func_search_save_LIBS" | 
 | 8145 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 8146 | #line $LINENO "configure" | 
 | 8147 | #include "confdefs.h" | 
 | 8148 |  | 
 | 8149 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 8150 | #ifdef __cplusplus | 
 | 8151 | extern "C" | 
 | 8152 | #endif | 
 | 8153 | /* We use char because int might match the return type of a gcc2 | 
 | 8154 |    builtin and then its argument prototype would still apply.  */ | 
 | 8155 | char mallinfo (); | 
 | 8156 | #ifdef F77_DUMMY_MAIN | 
 | 8157 | #  ifdef __cplusplus | 
 | 8158 |      extern "C" | 
 | 8159 | #  endif | 
 | 8160 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8161 | #endif | 
 | 8162 | int | 
 | 8163 | main () | 
 | 8164 | { | 
 | 8165 | mallinfo (); | 
 | 8166 |   ; | 
 | 8167 |   return 0; | 
 | 8168 | } | 
 | 8169 | _ACEOF | 
 | 8170 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 8171 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8172 |   (eval $ac_link) 2>&5 | 
 | 8173 |   ac_status=$? | 
 | 8174 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8175 |   (exit $ac_status); } && | 
 | 8176 |          { ac_try='test -s conftest$ac_exeext' | 
 | 8177 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8178 |   (eval $ac_try) 2>&5 | 
 | 8179 |   ac_status=$? | 
 | 8180 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8181 |   (exit $ac_status); }; }; then | 
 | 8182 |   ac_cv_search_mallinfo="-l$ac_lib" | 
 | 8183 | break | 
 | 8184 | else | 
 | 8185 |   echo "$as_me: failed program was:" >&5 | 
 | 8186 | cat conftest.$ac_ext >&5 | 
 | 8187 | fi | 
 | 8188 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 8189 |   done | 
 | 8190 | fi | 
 | 8191 | LIBS=$ac_func_search_save_LIBS | 
 | 8192 | fi | 
 | 8193 | echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5 | 
 | 8194 | echo "${ECHO_T}$ac_cv_search_mallinfo" >&6 | 
 | 8195 | if test "$ac_cv_search_mallinfo" != no; then | 
 | 8196 |   test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS" | 
 | 8197 |   cat >>confdefs.h <<\_ACEOF | 
 | 8198 | #define HAVE_MALLINFO 1 | 
 | 8199 | _ACEOF | 
 | 8200 |  | 
 | 8201 | fi | 
 | 8202 |  | 
 | 8203 |  | 
 | 8204 |  | 
 | 8205 | echo "$as_me:$LINENO: checking for ANSI C header files" >&5 | 
 | 8206 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 | 
 | 8207 | if test "${ac_cv_header_stdc+set}" = set; then | 
 | 8208 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8209 | else | 
 | 8210 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8211 | #line $LINENO "configure" | 
 | 8212 | #include "confdefs.h" | 
 | 8213 | #include <stdlib.h> | 
 | 8214 | #include <stdarg.h> | 
 | 8215 | #include <string.h> | 
 | 8216 | #include <float.h> | 
 | 8217 |  | 
 | 8218 | _ACEOF | 
 | 8219 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8220 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8221 |   ac_status=$? | 
 | 8222 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8223 |   rm -f conftest.er1 | 
 | 8224 |   cat conftest.err >&5 | 
 | 8225 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8226 |   (exit $ac_status); } >/dev/null; then | 
 | 8227 |   if test -s conftest.err; then | 
 | 8228 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8229 |   else | 
 | 8230 |     ac_cpp_err= | 
 | 8231 |   fi | 
 | 8232 | else | 
 | 8233 |   ac_cpp_err=yes | 
 | 8234 | fi | 
 | 8235 | if test -z "$ac_cpp_err"; then | 
 | 8236 |   ac_cv_header_stdc=yes | 
 | 8237 | else | 
 | 8238 |   echo "$as_me: failed program was:" >&5 | 
 | 8239 |   cat conftest.$ac_ext >&5 | 
 | 8240 |   ac_cv_header_stdc=no | 
 | 8241 | fi | 
 | 8242 | rm -f conftest.err conftest.$ac_ext | 
 | 8243 |  | 
 | 8244 | if test $ac_cv_header_stdc = yes; then | 
 | 8245 |   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
 | 8246 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8247 | #line $LINENO "configure" | 
 | 8248 | #include "confdefs.h" | 
 | 8249 | #include <string.h> | 
 | 8250 |  | 
 | 8251 | _ACEOF | 
 | 8252 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 8253 |   egrep "memchr" >/dev/null 2>&1; then | 
 | 8254 |   : | 
 | 8255 | else | 
 | 8256 |   ac_cv_header_stdc=no | 
 | 8257 | fi | 
 | 8258 | rm -f conftest* | 
 | 8259 |  | 
 | 8260 | fi | 
 | 8261 |  | 
 | 8262 | if test $ac_cv_header_stdc = yes; then | 
 | 8263 |   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
 | 8264 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8265 | #line $LINENO "configure" | 
 | 8266 | #include "confdefs.h" | 
 | 8267 | #include <stdlib.h> | 
 | 8268 |  | 
 | 8269 | _ACEOF | 
 | 8270 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 8271 |   egrep "free" >/dev/null 2>&1; then | 
 | 8272 |   : | 
 | 8273 | else | 
 | 8274 |   ac_cv_header_stdc=no | 
 | 8275 | fi | 
 | 8276 | rm -f conftest* | 
 | 8277 |  | 
 | 8278 | fi | 
 | 8279 |  | 
 | 8280 | if test $ac_cv_header_stdc = yes; then | 
 | 8281 |   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
 | 8282 |   if test "$cross_compiling" = yes; then | 
 | 8283 |   : | 
 | 8284 | else | 
 | 8285 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8286 | #line $LINENO "configure" | 
 | 8287 | #include "confdefs.h" | 
 | 8288 | #include <ctype.h> | 
 | 8289 | #if ((' ' & 0x0FF) == 0x020) | 
 | 8290 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
 | 8291 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
 | 8292 | #else | 
 | 8293 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | 
 | 8294 |                      || ('j' <= (c) && (c) <= 'r') \ | 
 | 8295 |                      || ('s' <= (c) && (c) <= 'z')) | 
 | 8296 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
 | 8297 | #endif | 
 | 8298 |  | 
 | 8299 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
 | 8300 | int | 
 | 8301 | main () | 
 | 8302 | { | 
 | 8303 |   int i; | 
 | 8304 |   for (i = 0; i < 256; i++) | 
 | 8305 |     if (XOR (islower (i), ISLOWER (i)) | 
 | 8306 |         || toupper (i) != TOUPPER (i)) | 
 | 8307 |       exit(2); | 
 | 8308 |   exit (0); | 
 | 8309 | } | 
 | 8310 | _ACEOF | 
 | 8311 | rm -f conftest$ac_exeext | 
 | 8312 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 8313 |   (eval $ac_link) 2>&5 | 
 | 8314 |   ac_status=$? | 
 | 8315 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8316 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 8317 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8318 |   (eval $ac_try) 2>&5 | 
 | 8319 |   ac_status=$? | 
 | 8320 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8321 |   (exit $ac_status); }; }; then | 
 | 8322 |   : | 
 | 8323 | else | 
 | 8324 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 8325 | echo "$as_me: failed program was:" >&5 | 
 | 8326 | cat conftest.$ac_ext >&5 | 
 | 8327 | ( exit $ac_status ) | 
 | 8328 | ac_cv_header_stdc=no | 
 | 8329 | fi | 
 | 8330 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 8331 | fi | 
 | 8332 | fi | 
 | 8333 | fi | 
 | 8334 | echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 | 
 | 8335 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 | 
 | 8336 | if test $ac_cv_header_stdc = yes; then | 
 | 8337 |  | 
 | 8338 | cat >>confdefs.h <<\_ACEOF | 
 | 8339 | #define STDC_HEADERS 1 | 
 | 8340 | _ACEOF | 
 | 8341 |  | 
 | 8342 | fi | 
 | 8343 |  | 
 | 8344 | echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 
 | 8345 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6 | 
 | 8346 | if test "${ac_cv_header_sys_wait_h+set}" = set; then | 
 | 8347 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8348 | else | 
 | 8349 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8350 | #line $LINENO "configure" | 
 | 8351 | #include "confdefs.h" | 
 | 8352 | #include <sys/types.h> | 
 | 8353 | #include <sys/wait.h> | 
 | 8354 | #ifndef WEXITSTATUS | 
 | 8355 | # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 
 | 8356 | #endif | 
 | 8357 | #ifndef WIFEXITED | 
 | 8358 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) | 
 | 8359 | #endif | 
 | 8360 |  | 
 | 8361 | #ifdef F77_DUMMY_MAIN | 
 | 8362 | #  ifdef __cplusplus | 
 | 8363 |      extern "C" | 
 | 8364 | #  endif | 
 | 8365 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8366 | #endif | 
 | 8367 | int | 
 | 8368 | main () | 
 | 8369 | { | 
 | 8370 |   int s; | 
 | 8371 |   wait (&s); | 
 | 8372 |   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 
 | 8373 |   ; | 
 | 8374 |   return 0; | 
 | 8375 | } | 
 | 8376 | _ACEOF | 
 | 8377 | rm -f conftest.$ac_objext | 
 | 8378 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8379 |   (eval $ac_compile) 2>&5 | 
 | 8380 |   ac_status=$? | 
 | 8381 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8382 |   (exit $ac_status); } && | 
 | 8383 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8384 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8385 |   (eval $ac_try) 2>&5 | 
 | 8386 |   ac_status=$? | 
 | 8387 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8388 |   (exit $ac_status); }; }; then | 
 | 8389 |   ac_cv_header_sys_wait_h=yes | 
 | 8390 | else | 
 | 8391 |   echo "$as_me: failed program was:" >&5 | 
 | 8392 | cat conftest.$ac_ext >&5 | 
 | 8393 | ac_cv_header_sys_wait_h=no | 
 | 8394 | fi | 
 | 8395 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8396 | fi | 
 | 8397 | echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 | 
 | 8398 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6 | 
 | 8399 | if test $ac_cv_header_sys_wait_h = yes; then | 
 | 8400 |  | 
 | 8401 | cat >>confdefs.h <<\_ACEOF | 
 | 8402 | #define HAVE_SYS_WAIT_H 1 | 
 | 8403 | _ACEOF | 
 | 8404 |  | 
 | 8405 | fi | 
 | 8406 |  | 
 | 8407 |  | 
 | 8408 |  | 
 | 8409 |  | 
 | 8410 |  | 
 | 8411 |  | 
 | 8412 |  | 
 | 8413 |  | 
 | 8414 |  | 
 | 8415 |  | 
 | 8416 | for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h | 
 | 8417 | do | 
 | 8418 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 8419 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8420 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8421 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8422 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8423 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8424 | fi | 
 | 8425 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8426 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8427 | else | 
 | 8428 |   # Is the header compilable? | 
 | 8429 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 8430 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 8431 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8432 | #line $LINENO "configure" | 
 | 8433 | #include "confdefs.h" | 
 | 8434 | $ac_includes_default | 
 | 8435 | #include <$ac_header> | 
 | 8436 | _ACEOF | 
 | 8437 | rm -f conftest.$ac_objext | 
 | 8438 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8439 |   (eval $ac_compile) 2>&5 | 
 | 8440 |   ac_status=$? | 
 | 8441 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8442 |   (exit $ac_status); } && | 
 | 8443 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8444 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8445 |   (eval $ac_try) 2>&5 | 
 | 8446 |   ac_status=$? | 
 | 8447 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8448 |   (exit $ac_status); }; }; then | 
 | 8449 |   ac_header_compiler=yes | 
 | 8450 | else | 
 | 8451 |   echo "$as_me: failed program was:" >&5 | 
 | 8452 | cat conftest.$ac_ext >&5 | 
 | 8453 | ac_header_compiler=no | 
 | 8454 | fi | 
 | 8455 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8456 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 8457 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 8458 |  | 
 | 8459 | # Is the header present? | 
 | 8460 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 8461 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 8462 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8463 | #line $LINENO "configure" | 
 | 8464 | #include "confdefs.h" | 
 | 8465 | #include <$ac_header> | 
 | 8466 | _ACEOF | 
 | 8467 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8468 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8469 |   ac_status=$? | 
 | 8470 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8471 |   rm -f conftest.er1 | 
 | 8472 |   cat conftest.err >&5 | 
 | 8473 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8474 |   (exit $ac_status); } >/dev/null; then | 
 | 8475 |   if test -s conftest.err; then | 
 | 8476 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8477 |   else | 
 | 8478 |     ac_cpp_err= | 
 | 8479 |   fi | 
 | 8480 | else | 
 | 8481 |   ac_cpp_err=yes | 
 | 8482 | fi | 
 | 8483 | if test -z "$ac_cpp_err"; then | 
 | 8484 |   ac_header_preproc=yes | 
 | 8485 | else | 
 | 8486 |   echo "$as_me: failed program was:" >&5 | 
 | 8487 |   cat conftest.$ac_ext >&5 | 
 | 8488 |   ac_header_preproc=no | 
 | 8489 | fi | 
 | 8490 | rm -f conftest.err conftest.$ac_ext | 
 | 8491 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 8492 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 8493 |  | 
 | 8494 | # So?  What about this header? | 
 | 8495 | case $ac_header_compiler:$ac_header_preproc in | 
 | 8496 |   yes:no ) | 
 | 8497 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 8498 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 8499 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8500 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8501 |   no:yes ) | 
 | 8502 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 8503 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 8504 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 8505 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 8506 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8507 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8508 | esac | 
 | 8509 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8510 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8511 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8512 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8513 | else | 
 | 8514 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 8515 | fi | 
 | 8516 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8517 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8518 |  | 
 | 8519 | fi | 
 | 8520 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 8521 |   cat >>confdefs.h <<_ACEOF | 
 | 8522 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 8523 | _ACEOF | 
 | 8524 |  | 
 | 8525 | fi | 
 | 8526 |  | 
 | 8527 | done | 
 | 8528 |  | 
 | 8529 |  | 
 | 8530 |  | 
 | 8531 |  | 
 | 8532 |  | 
 | 8533 |  | 
 | 8534 | for ac_header in malloc.h strings.h sys/mman.h sys/resource.h | 
 | 8535 | do | 
 | 8536 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 8537 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8538 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8539 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8540 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8541 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8542 | fi | 
 | 8543 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8544 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8545 | else | 
 | 8546 |   # Is the header compilable? | 
 | 8547 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 8548 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 8549 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8550 | #line $LINENO "configure" | 
 | 8551 | #include "confdefs.h" | 
 | 8552 | $ac_includes_default | 
 | 8553 | #include <$ac_header> | 
 | 8554 | _ACEOF | 
 | 8555 | rm -f conftest.$ac_objext | 
 | 8556 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8557 |   (eval $ac_compile) 2>&5 | 
 | 8558 |   ac_status=$? | 
 | 8559 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8560 |   (exit $ac_status); } && | 
 | 8561 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8562 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8563 |   (eval $ac_try) 2>&5 | 
 | 8564 |   ac_status=$? | 
 | 8565 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8566 |   (exit $ac_status); }; }; then | 
 | 8567 |   ac_header_compiler=yes | 
 | 8568 | else | 
 | 8569 |   echo "$as_me: failed program was:" >&5 | 
 | 8570 | cat conftest.$ac_ext >&5 | 
 | 8571 | ac_header_compiler=no | 
 | 8572 | fi | 
 | 8573 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8574 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 8575 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 8576 |  | 
 | 8577 | # Is the header present? | 
 | 8578 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 8579 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 8580 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8581 | #line $LINENO "configure" | 
 | 8582 | #include "confdefs.h" | 
 | 8583 | #include <$ac_header> | 
 | 8584 | _ACEOF | 
 | 8585 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8586 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8587 |   ac_status=$? | 
 | 8588 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8589 |   rm -f conftest.er1 | 
 | 8590 |   cat conftest.err >&5 | 
 | 8591 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8592 |   (exit $ac_status); } >/dev/null; then | 
 | 8593 |   if test -s conftest.err; then | 
 | 8594 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8595 |   else | 
 | 8596 |     ac_cpp_err= | 
 | 8597 |   fi | 
 | 8598 | else | 
 | 8599 |   ac_cpp_err=yes | 
 | 8600 | fi | 
 | 8601 | if test -z "$ac_cpp_err"; then | 
 | 8602 |   ac_header_preproc=yes | 
 | 8603 | else | 
 | 8604 |   echo "$as_me: failed program was:" >&5 | 
 | 8605 |   cat conftest.$ac_ext >&5 | 
 | 8606 |   ac_header_preproc=no | 
 | 8607 | fi | 
 | 8608 | rm -f conftest.err conftest.$ac_ext | 
 | 8609 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 8610 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 8611 |  | 
 | 8612 | # So?  What about this header? | 
 | 8613 | case $ac_header_compiler:$ac_header_preproc in | 
 | 8614 |   yes:no ) | 
 | 8615 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 8616 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 8617 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8618 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8619 |   no:yes ) | 
 | 8620 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 8621 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 8622 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 8623 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 8624 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8625 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8626 | esac | 
 | 8627 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8628 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8629 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8630 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8631 | else | 
 | 8632 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 8633 | fi | 
 | 8634 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8635 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8636 |  | 
 | 8637 | fi | 
 | 8638 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 8639 |   cat >>confdefs.h <<_ACEOF | 
 | 8640 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 8641 | _ACEOF | 
 | 8642 |  | 
 | 8643 | fi | 
 | 8644 |  | 
 | 8645 | done | 
 | 8646 |  | 
 | 8647 |  | 
 | 8648 |  | 
 | 8649 |  | 
 | 8650 | for ac_header in dlfcn.h link.h | 
 | 8651 | do | 
 | 8652 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 8653 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8654 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8655 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8656 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8657 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8658 | fi | 
 | 8659 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8660 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8661 | else | 
 | 8662 |   # Is the header compilable? | 
 | 8663 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 8664 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 8665 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8666 | #line $LINENO "configure" | 
 | 8667 | #include "confdefs.h" | 
 | 8668 | $ac_includes_default | 
 | 8669 | #include <$ac_header> | 
 | 8670 | _ACEOF | 
 | 8671 | rm -f conftest.$ac_objext | 
 | 8672 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8673 |   (eval $ac_compile) 2>&5 | 
 | 8674 |   ac_status=$? | 
 | 8675 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8676 |   (exit $ac_status); } && | 
 | 8677 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8678 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8679 |   (eval $ac_try) 2>&5 | 
 | 8680 |   ac_status=$? | 
 | 8681 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8682 |   (exit $ac_status); }; }; then | 
 | 8683 |   ac_header_compiler=yes | 
 | 8684 | else | 
 | 8685 |   echo "$as_me: failed program was:" >&5 | 
 | 8686 | cat conftest.$ac_ext >&5 | 
 | 8687 | ac_header_compiler=no | 
 | 8688 | fi | 
 | 8689 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8690 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 8691 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 8692 |  | 
 | 8693 | # Is the header present? | 
 | 8694 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 8695 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 8696 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8697 | #line $LINENO "configure" | 
 | 8698 | #include "confdefs.h" | 
 | 8699 | #include <$ac_header> | 
 | 8700 | _ACEOF | 
 | 8701 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 8702 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 8703 |   ac_status=$? | 
 | 8704 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 8705 |   rm -f conftest.er1 | 
 | 8706 |   cat conftest.err >&5 | 
 | 8707 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8708 |   (exit $ac_status); } >/dev/null; then | 
 | 8709 |   if test -s conftest.err; then | 
 | 8710 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 8711 |   else | 
 | 8712 |     ac_cpp_err= | 
 | 8713 |   fi | 
 | 8714 | else | 
 | 8715 |   ac_cpp_err=yes | 
 | 8716 | fi | 
 | 8717 | if test -z "$ac_cpp_err"; then | 
 | 8718 |   ac_header_preproc=yes | 
 | 8719 | else | 
 | 8720 |   echo "$as_me: failed program was:" >&5 | 
 | 8721 |   cat conftest.$ac_ext >&5 | 
 | 8722 |   ac_header_preproc=no | 
 | 8723 | fi | 
 | 8724 | rm -f conftest.err conftest.$ac_ext | 
 | 8725 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 8726 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 8727 |  | 
 | 8728 | # So?  What about this header? | 
 | 8729 | case $ac_header_compiler:$ac_header_preproc in | 
 | 8730 |   yes:no ) | 
 | 8731 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 8732 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 8733 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8734 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8735 |   no:yes ) | 
 | 8736 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 8737 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 8738 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 8739 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 8740 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 8741 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 8742 | esac | 
 | 8743 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 8744 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 8745 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 8746 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8747 | else | 
 | 8748 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 8749 | fi | 
 | 8750 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 8751 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 8752 |  | 
 | 8753 | fi | 
 | 8754 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 8755 |   cat >>confdefs.h <<_ACEOF | 
 | 8756 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 8757 | _ACEOF | 
 | 8758 |  | 
 | 8759 | fi | 
 | 8760 |  | 
 | 8761 | done | 
 | 8762 |  | 
 | 8763 |  | 
 | 8764 |  | 
 | 8765 | echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 | 
 | 8766 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 | 
 | 8767 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | 
 | 8768 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8769 | else | 
 | 8770 |   ac_cv_prog_cc_stdc=no | 
 | 8771 | ac_save_CC=$CC | 
 | 8772 | cat >conftest.$ac_ext <<_ACEOF | 
 | 8773 | #line $LINENO "configure" | 
 | 8774 | #include "confdefs.h" | 
 | 8775 | #include <stdarg.h> | 
 | 8776 | #include <stdio.h> | 
 | 8777 | #include <sys/types.h> | 
 | 8778 | #include <sys/stat.h> | 
 | 8779 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
 | 8780 | struct buf { int x; }; | 
 | 8781 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
 | 8782 | static char *e (p, i) | 
 | 8783 |      char **p; | 
 | 8784 |      int i; | 
 | 8785 | { | 
 | 8786 |   return p[i]; | 
 | 8787 | } | 
 | 8788 | static char *f (char * (*g) (char **, int), char **p, ...) | 
 | 8789 | { | 
 | 8790 |   char *s; | 
 | 8791 |   va_list v; | 
 | 8792 |   va_start (v,p); | 
 | 8793 |   s = g (p, va_arg (v,int)); | 
 | 8794 |   va_end (v); | 
 | 8795 |   return s; | 
 | 8796 | } | 
 | 8797 | int test (int i, double x); | 
 | 8798 | struct s1 {int (*f) (int a);}; | 
 | 8799 | struct s2 {int (*f) (double a);}; | 
 | 8800 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
 | 8801 | int argc; | 
 | 8802 | char **argv; | 
 | 8803 | #ifdef F77_DUMMY_MAIN | 
 | 8804 | #  ifdef __cplusplus | 
 | 8805 |      extern "C" | 
 | 8806 | #  endif | 
 | 8807 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8808 | #endif | 
 | 8809 | int | 
 | 8810 | main () | 
 | 8811 | { | 
 | 8812 | return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
 | 8813 |   ; | 
 | 8814 |   return 0; | 
 | 8815 | } | 
 | 8816 | _ACEOF | 
 | 8817 | # Don't try gcc -ansi; that turns off useful extensions and | 
 | 8818 | # breaks some systems' header files. | 
 | 8819 | # AIX			-qlanglvl=ansi | 
 | 8820 | # Ultrix and OSF/1	-std1 | 
 | 8821 | # HP-UX 10.20 and later	-Ae | 
 | 8822 | # HP-UX older versions	-Aa -D_HPUX_SOURCE | 
 | 8823 | # SVR4			-Xc -D__EXTENSIONS__ | 
 | 8824 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
 | 8825 | do | 
 | 8826 |   CC="$ac_save_CC $ac_arg" | 
 | 8827 |   rm -f conftest.$ac_objext | 
 | 8828 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8829 |   (eval $ac_compile) 2>&5 | 
 | 8830 |   ac_status=$? | 
 | 8831 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8832 |   (exit $ac_status); } && | 
 | 8833 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8834 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8835 |   (eval $ac_try) 2>&5 | 
 | 8836 |   ac_status=$? | 
 | 8837 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8838 |   (exit $ac_status); }; }; then | 
 | 8839 |   ac_cv_prog_cc_stdc=$ac_arg | 
 | 8840 | break | 
 | 8841 | else | 
 | 8842 |   echo "$as_me: failed program was:" >&5 | 
 | 8843 | cat conftest.$ac_ext >&5 | 
 | 8844 | fi | 
 | 8845 | rm -f conftest.$ac_objext | 
 | 8846 | done | 
 | 8847 | rm -f conftest.$ac_ext conftest.$ac_objext | 
 | 8848 | CC=$ac_save_CC | 
 | 8849 |  | 
 | 8850 | fi | 
 | 8851 |  | 
 | 8852 | case "x$ac_cv_prog_cc_stdc" in | 
 | 8853 |   x|xno) | 
 | 8854 |     echo "$as_me:$LINENO: result: none needed" >&5 | 
 | 8855 | echo "${ECHO_T}none needed" >&6 ;; | 
 | 8856 |   *) | 
 | 8857 |     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 | 
 | 8858 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 | 
 | 8859 |     CC="$CC $ac_cv_prog_cc_stdc" ;; | 
 | 8860 | esac | 
 | 8861 |  | 
 | 8862 | echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 | 
 | 8863 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 | 
 | 8864 | if test "${ac_cv_c_const+set}" = set; then | 
 | 8865 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8866 | else | 
 | 8867 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8868 | #line $LINENO "configure" | 
 | 8869 | #include "confdefs.h" | 
 | 8870 |  | 
 | 8871 | #ifdef F77_DUMMY_MAIN | 
 | 8872 | #  ifdef __cplusplus | 
 | 8873 |      extern "C" | 
 | 8874 | #  endif | 
 | 8875 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 8876 | #endif | 
 | 8877 | int | 
 | 8878 | main () | 
 | 8879 | { | 
 | 8880 | /* FIXME: Include the comments suggested by Paul. */ | 
 | 8881 | #ifndef __cplusplus | 
 | 8882 |   /* Ultrix mips cc rejects this.  */ | 
 | 8883 |   typedef int charset[2]; | 
 | 8884 |   const charset x; | 
 | 8885 |   /* SunOS 4.1.1 cc rejects this.  */ | 
 | 8886 |   char const *const *ccp; | 
 | 8887 |   char **p; | 
 | 8888 |   /* NEC SVR4.0.2 mips cc rejects this.  */ | 
 | 8889 |   struct point {int x, y;}; | 
 | 8890 |   static struct point const zero = {0,0}; | 
 | 8891 |   /* AIX XL C 1.02.0.0 rejects this. | 
 | 8892 |      It does not let you subtract one const X* pointer from another in | 
 | 8893 |      an arm of an if-expression whose if-part is not a constant | 
 | 8894 |      expression */ | 
 | 8895 |   const char *g = "string"; | 
 | 8896 |   ccp = &g + (g ? g-g : 0); | 
 | 8897 |   /* HPUX 7.0 cc rejects these. */ | 
 | 8898 |   ++ccp; | 
 | 8899 |   p = (char**) ccp; | 
 | 8900 |   ccp = (char const *const *) p; | 
 | 8901 |   { /* SCO 3.2v4 cc rejects this.  */ | 
 | 8902 |     char *t; | 
 | 8903 |     char const *s = 0 ? (char *) 0 : (char const *) 0; | 
 | 8904 |  | 
 | 8905 |     *t++ = 0; | 
 | 8906 |   } | 
 | 8907 |   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */ | 
 | 8908 |     int x[] = {25, 17}; | 
 | 8909 |     const int *foo = &x[0]; | 
 | 8910 |     ++foo; | 
 | 8911 |   } | 
 | 8912 |   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | 
 | 8913 |     typedef const int *iptr; | 
 | 8914 |     iptr p = 0; | 
 | 8915 |     ++p; | 
 | 8916 |   } | 
 | 8917 |   { /* AIX XL C 1.02.0.0 rejects this saying | 
 | 8918 |        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | 
 | 8919 |     struct s { int j; const int *ap[3]; }; | 
 | 8920 |     struct s *b; b->j = 5; | 
 | 8921 |   } | 
 | 8922 |   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | 
 | 8923 |     const int foo = 10; | 
 | 8924 |   } | 
 | 8925 | #endif | 
 | 8926 |  | 
 | 8927 |   ; | 
 | 8928 |   return 0; | 
 | 8929 | } | 
 | 8930 | _ACEOF | 
 | 8931 | rm -f conftest.$ac_objext | 
 | 8932 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8933 |   (eval $ac_compile) 2>&5 | 
 | 8934 |   ac_status=$? | 
 | 8935 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8936 |   (exit $ac_status); } && | 
 | 8937 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8938 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8939 |   (eval $ac_try) 2>&5 | 
 | 8940 |   ac_status=$? | 
 | 8941 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8942 |   (exit $ac_status); }; }; then | 
 | 8943 |   ac_cv_c_const=yes | 
 | 8944 | else | 
 | 8945 |   echo "$as_me: failed program was:" >&5 | 
 | 8946 | cat conftest.$ac_ext >&5 | 
 | 8947 | ac_cv_c_const=no | 
 | 8948 | fi | 
 | 8949 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8950 | fi | 
 | 8951 | echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 | 
 | 8952 | echo "${ECHO_T}$ac_cv_c_const" >&6 | 
 | 8953 | if test $ac_cv_c_const = no; then | 
 | 8954 |  | 
 | 8955 | cat >>confdefs.h <<\_ACEOF | 
 | 8956 | #define const | 
 | 8957 | _ACEOF | 
 | 8958 |  | 
 | 8959 | fi | 
 | 8960 |  | 
 | 8961 | echo "$as_me:$LINENO: checking for inline" >&5 | 
 | 8962 | echo $ECHO_N "checking for inline... $ECHO_C" >&6 | 
 | 8963 | if test "${ac_cv_c_inline+set}" = set; then | 
 | 8964 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 8965 | else | 
 | 8966 |   ac_cv_c_inline=no | 
 | 8967 | for ac_kw in inline __inline__ __inline; do | 
 | 8968 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 8969 | #line $LINENO "configure" | 
 | 8970 | #include "confdefs.h" | 
 | 8971 | #ifndef __cplusplus | 
 | 8972 | static $ac_kw int static_foo () {return 0; } | 
 | 8973 | $ac_kw int foo () {return 0; } | 
 | 8974 | #endif | 
 | 8975 |  | 
 | 8976 | _ACEOF | 
 | 8977 | rm -f conftest.$ac_objext | 
 | 8978 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 8979 |   (eval $ac_compile) 2>&5 | 
 | 8980 |   ac_status=$? | 
 | 8981 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8982 |   (exit $ac_status); } && | 
 | 8983 |          { ac_try='test -s conftest.$ac_objext' | 
 | 8984 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 8985 |   (eval $ac_try) 2>&5 | 
 | 8986 |   ac_status=$? | 
 | 8987 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 8988 |   (exit $ac_status); }; }; then | 
 | 8989 |   ac_cv_c_inline=$ac_kw; break | 
 | 8990 | else | 
 | 8991 |   echo "$as_me: failed program was:" >&5 | 
 | 8992 | cat conftest.$ac_ext >&5 | 
 | 8993 | fi | 
 | 8994 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 8995 | done | 
 | 8996 |  | 
 | 8997 | fi | 
 | 8998 | echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 | 
 | 8999 | echo "${ECHO_T}$ac_cv_c_inline" >&6 | 
 | 9000 | case $ac_cv_c_inline in | 
 | 9001 |   inline | yes) ;; | 
 | 9002 |   no) | 
 | 9003 | cat >>confdefs.h <<\_ACEOF | 
 | 9004 | #define inline | 
 | 9005 | _ACEOF | 
 | 9006 |  ;; | 
 | 9007 |   *)  cat >>confdefs.h <<_ACEOF | 
 | 9008 | #define inline $ac_cv_c_inline | 
 | 9009 | _ACEOF | 
 | 9010 |  ;; | 
 | 9011 | esac | 
 | 9012 |  | 
 | 9013 |  | 
 | 9014 | echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 | 
 | 9015 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 | 
 | 9016 | if test "${ac_cv_c_bigendian+set}" = set; then | 
 | 9017 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9018 | else | 
 | 9019 |   # See if sys/param.h defines the BYTE_ORDER macro. | 
 | 9020 | cat >conftest.$ac_ext <<_ACEOF | 
 | 9021 | #line $LINENO "configure" | 
 | 9022 | #include "confdefs.h" | 
 | 9023 | #include <sys/types.h> | 
 | 9024 | #include <sys/param.h> | 
 | 9025 |  | 
 | 9026 | #ifdef F77_DUMMY_MAIN | 
 | 9027 | #  ifdef __cplusplus | 
 | 9028 |      extern "C" | 
 | 9029 | #  endif | 
 | 9030 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9031 | #endif | 
 | 9032 | int | 
 | 9033 | main () | 
 | 9034 | { | 
 | 9035 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN | 
 | 9036 |  bogus endian macros | 
 | 9037 | #endif | 
 | 9038 |  | 
 | 9039 |   ; | 
 | 9040 |   return 0; | 
 | 9041 | } | 
 | 9042 | _ACEOF | 
 | 9043 | rm -f conftest.$ac_objext | 
 | 9044 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9045 |   (eval $ac_compile) 2>&5 | 
 | 9046 |   ac_status=$? | 
 | 9047 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9048 |   (exit $ac_status); } && | 
 | 9049 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9050 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9051 |   (eval $ac_try) 2>&5 | 
 | 9052 |   ac_status=$? | 
 | 9053 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9054 |   (exit $ac_status); }; }; then | 
 | 9055 |   # It does; now see whether it defined to BIG_ENDIAN or not. | 
 | 9056 | cat >conftest.$ac_ext <<_ACEOF | 
 | 9057 | #line $LINENO "configure" | 
 | 9058 | #include "confdefs.h" | 
 | 9059 | #include <sys/types.h> | 
 | 9060 | #include <sys/param.h> | 
 | 9061 |  | 
 | 9062 | #ifdef F77_DUMMY_MAIN | 
 | 9063 | #  ifdef __cplusplus | 
 | 9064 |      extern "C" | 
 | 9065 | #  endif | 
 | 9066 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9067 | #endif | 
 | 9068 | int | 
 | 9069 | main () | 
 | 9070 | { | 
 | 9071 | #if BYTE_ORDER != BIG_ENDIAN | 
 | 9072 |  not big endian | 
 | 9073 | #endif | 
 | 9074 |  | 
 | 9075 |   ; | 
 | 9076 |   return 0; | 
 | 9077 | } | 
 | 9078 | _ACEOF | 
 | 9079 | rm -f conftest.$ac_objext | 
 | 9080 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9081 |   (eval $ac_compile) 2>&5 | 
 | 9082 |   ac_status=$? | 
 | 9083 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9084 |   (exit $ac_status); } && | 
 | 9085 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9086 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9087 |   (eval $ac_try) 2>&5 | 
 | 9088 |   ac_status=$? | 
 | 9089 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9090 |   (exit $ac_status); }; }; then | 
 | 9091 |   ac_cv_c_bigendian=yes | 
 | 9092 | else | 
 | 9093 |   echo "$as_me: failed program was:" >&5 | 
 | 9094 | cat conftest.$ac_ext >&5 | 
 | 9095 | ac_cv_c_bigendian=no | 
 | 9096 | fi | 
 | 9097 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9098 | else | 
 | 9099 |   echo "$as_me: failed program was:" >&5 | 
 | 9100 | cat conftest.$ac_ext >&5 | 
 | 9101 | # It does not; compile a test program. | 
 | 9102 | if test "$cross_compiling" = yes; then | 
 | 9103 |   # try to guess the endianess by grep'ing values into an object file | 
 | 9104 |   ac_cv_c_bigendian=unknown | 
 | 9105 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9106 | #line $LINENO "configure" | 
 | 9107 | #include "confdefs.h" | 
 | 9108 | short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 
 | 9109 | short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 
 | 9110 | void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } | 
 | 9111 | short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | 
 | 9112 | short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | 
 | 9113 | void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } | 
 | 9114 | #ifdef F77_DUMMY_MAIN | 
 | 9115 | #  ifdef __cplusplus | 
 | 9116 |      extern "C" | 
 | 9117 | #  endif | 
 | 9118 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9119 | #endif | 
 | 9120 | int | 
 | 9121 | main () | 
 | 9122 | { | 
 | 9123 |  _ascii (); _ebcdic (); | 
 | 9124 |   ; | 
 | 9125 |   return 0; | 
 | 9126 | } | 
 | 9127 | _ACEOF | 
 | 9128 | rm -f conftest.$ac_objext | 
 | 9129 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9130 |   (eval $ac_compile) 2>&5 | 
 | 9131 |   ac_status=$? | 
 | 9132 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9133 |   (exit $ac_status); } && | 
 | 9134 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9135 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9136 |   (eval $ac_try) 2>&5 | 
 | 9137 |   ac_status=$? | 
 | 9138 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9139 |   (exit $ac_status); }; }; then | 
 | 9140 |   if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then | 
 | 9141 |   ac_cv_c_bigendian=yes | 
 | 9142 | fi | 
 | 9143 | if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 
 | 9144 |   if test "$ac_cv_c_bigendian" = unknown; then | 
 | 9145 |     ac_cv_c_bigendian=no | 
 | 9146 |   else | 
 | 9147 |     # finding both strings is unlikely to happen, but who knows? | 
 | 9148 |     ac_cv_c_bigendian=unknown | 
 | 9149 |   fi | 
 | 9150 | fi | 
 | 9151 | else | 
 | 9152 |   echo "$as_me: failed program was:" >&5 | 
 | 9153 | cat conftest.$ac_ext >&5 | 
 | 9154 | fi | 
 | 9155 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9156 | else | 
 | 9157 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9158 | #line $LINENO "configure" | 
 | 9159 | #include "confdefs.h" | 
 | 9160 | int | 
 | 9161 | main () | 
 | 9162 | { | 
 | 9163 |   /* Are we little or big endian?  From Harbison&Steele.  */ | 
 | 9164 |   union | 
 | 9165 |   { | 
 | 9166 |     long l; | 
 | 9167 |     char c[sizeof (long)]; | 
 | 9168 |   } u; | 
 | 9169 |   u.l = 1; | 
 | 9170 |   exit (u.c[sizeof (long) - 1] == 1); | 
 | 9171 | } | 
 | 9172 | _ACEOF | 
 | 9173 | rm -f conftest$ac_exeext | 
 | 9174 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 9175 |   (eval $ac_link) 2>&5 | 
 | 9176 |   ac_status=$? | 
 | 9177 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9178 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 9179 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9180 |   (eval $ac_try) 2>&5 | 
 | 9181 |   ac_status=$? | 
 | 9182 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9183 |   (exit $ac_status); }; }; then | 
 | 9184 |   ac_cv_c_bigendian=no | 
 | 9185 | else | 
 | 9186 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 9187 | echo "$as_me: failed program was:" >&5 | 
 | 9188 | cat conftest.$ac_ext >&5 | 
 | 9189 | ( exit $ac_status ) | 
 | 9190 | ac_cv_c_bigendian=yes | 
 | 9191 | fi | 
 | 9192 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 9193 | fi | 
 | 9194 | fi | 
 | 9195 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9196 | fi | 
 | 9197 | echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 | 
 | 9198 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 | 
 | 9199 | case $ac_cv_c_bigendian in | 
 | 9200 |   yes) | 
 | 9201 |     cat >>confdefs.h <<\_ACEOF | 
 | 9202 | #define ENDIAN_BIG 1 | 
 | 9203 | _ACEOF | 
 | 9204 |  ;; | 
 | 9205 |   no) | 
 | 9206 |     cat >>confdefs.h <<\_ACEOF | 
 | 9207 | #define ENDIAN_LITTLE 1 | 
 | 9208 | _ACEOF | 
 | 9209 |  ;; | 
 | 9210 |   *) | 
 | 9211 |     { { echo "$as_me:$LINENO: error: unknown endianess | 
 | 9212 | presetting ac_cv_c_bigendian=no (or yes) will help" >&5 | 
 | 9213 | echo "$as_me: error: unknown endianess | 
 | 9214 | presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} | 
 | 9215 |    { (exit 1); exit 1; }; } ;; | 
 | 9216 | esac | 
 | 9217 |  | 
 | 9218 |  | 
 | 9219 | echo "$as_me:$LINENO: checking for pid_t" >&5 | 
 | 9220 | echo $ECHO_N "checking for pid_t... $ECHO_C" >&6 | 
 | 9221 | if test "${ac_cv_type_pid_t+set}" = set; then | 
 | 9222 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9223 | else | 
 | 9224 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9225 | #line $LINENO "configure" | 
 | 9226 | #include "confdefs.h" | 
 | 9227 | $ac_includes_default | 
 | 9228 | #ifdef F77_DUMMY_MAIN | 
 | 9229 | #  ifdef __cplusplus | 
 | 9230 |      extern "C" | 
 | 9231 | #  endif | 
 | 9232 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9233 | #endif | 
 | 9234 | int | 
 | 9235 | main () | 
 | 9236 | { | 
 | 9237 | if ((pid_t *) 0) | 
 | 9238 |   return 0; | 
 | 9239 | if (sizeof (pid_t)) | 
 | 9240 |   return 0; | 
 | 9241 |   ; | 
 | 9242 |   return 0; | 
 | 9243 | } | 
 | 9244 | _ACEOF | 
 | 9245 | rm -f conftest.$ac_objext | 
 | 9246 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9247 |   (eval $ac_compile) 2>&5 | 
 | 9248 |   ac_status=$? | 
 | 9249 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9250 |   (exit $ac_status); } && | 
 | 9251 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9252 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9253 |   (eval $ac_try) 2>&5 | 
 | 9254 |   ac_status=$? | 
 | 9255 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9256 |   (exit $ac_status); }; }; then | 
 | 9257 |   ac_cv_type_pid_t=yes | 
 | 9258 | else | 
 | 9259 |   echo "$as_me: failed program was:" >&5 | 
 | 9260 | cat conftest.$ac_ext >&5 | 
 | 9261 | ac_cv_type_pid_t=no | 
 | 9262 | fi | 
 | 9263 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9264 | fi | 
 | 9265 | echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5 | 
 | 9266 | echo "${ECHO_T}$ac_cv_type_pid_t" >&6 | 
 | 9267 | if test $ac_cv_type_pid_t = yes; then | 
 | 9268 |   : | 
 | 9269 | else | 
 | 9270 |  | 
 | 9271 | cat >>confdefs.h <<_ACEOF | 
 | 9272 | #define pid_t int | 
 | 9273 | _ACEOF | 
 | 9274 |  | 
 | 9275 | fi | 
 | 9276 |  | 
 | 9277 | echo "$as_me:$LINENO: checking for size_t" >&5 | 
 | 9278 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 | 
 | 9279 | if test "${ac_cv_type_size_t+set}" = set; then | 
 | 9280 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9281 | else | 
 | 9282 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9283 | #line $LINENO "configure" | 
 | 9284 | #include "confdefs.h" | 
 | 9285 | $ac_includes_default | 
 | 9286 | #ifdef F77_DUMMY_MAIN | 
 | 9287 | #  ifdef __cplusplus | 
 | 9288 |      extern "C" | 
 | 9289 | #  endif | 
 | 9290 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9291 | #endif | 
 | 9292 | int | 
 | 9293 | main () | 
 | 9294 | { | 
 | 9295 | if ((size_t *) 0) | 
 | 9296 |   return 0; | 
 | 9297 | if (sizeof (size_t)) | 
 | 9298 |   return 0; | 
 | 9299 |   ; | 
 | 9300 |   return 0; | 
 | 9301 | } | 
 | 9302 | _ACEOF | 
 | 9303 | rm -f conftest.$ac_objext | 
 | 9304 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9305 |   (eval $ac_compile) 2>&5 | 
 | 9306 |   ac_status=$? | 
 | 9307 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9308 |   (exit $ac_status); } && | 
 | 9309 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9310 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9311 |   (eval $ac_try) 2>&5 | 
 | 9312 |   ac_status=$? | 
 | 9313 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9314 |   (exit $ac_status); }; }; then | 
 | 9315 |   ac_cv_type_size_t=yes | 
 | 9316 | else | 
 | 9317 |   echo "$as_me: failed program was:" >&5 | 
 | 9318 | cat conftest.$ac_ext >&5 | 
 | 9319 | ac_cv_type_size_t=no | 
 | 9320 | fi | 
 | 9321 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9322 | fi | 
 | 9323 | echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5 | 
 | 9324 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 | 
 | 9325 | if test $ac_cv_type_size_t = yes; then | 
 | 9326 |   : | 
 | 9327 | else | 
 | 9328 |  | 
 | 9329 | cat >>confdefs.h <<_ACEOF | 
 | 9330 | #define size_t unsigned | 
 | 9331 | _ACEOF | 
 | 9332 |  | 
 | 9333 | fi | 
 | 9334 |  | 
 | 9335 | echo "$as_me:$LINENO: checking for int64_t" >&5 | 
 | 9336 | echo $ECHO_N "checking for int64_t... $ECHO_C" >&6 | 
 | 9337 | if test "${ac_cv_type_int64_t+set}" = set; then | 
 | 9338 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9339 | else | 
 | 9340 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9341 | #line $LINENO "configure" | 
 | 9342 | #include "confdefs.h" | 
 | 9343 | $ac_includes_default | 
 | 9344 | #ifdef F77_DUMMY_MAIN | 
 | 9345 | #  ifdef __cplusplus | 
 | 9346 |      extern "C" | 
 | 9347 | #  endif | 
 | 9348 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9349 | #endif | 
 | 9350 | int | 
 | 9351 | main () | 
 | 9352 | { | 
 | 9353 | if ((int64_t *) 0) | 
 | 9354 |   return 0; | 
 | 9355 | if (sizeof (int64_t)) | 
 | 9356 |   return 0; | 
 | 9357 |   ; | 
 | 9358 |   return 0; | 
 | 9359 | } | 
 | 9360 | _ACEOF | 
 | 9361 | rm -f conftest.$ac_objext | 
 | 9362 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9363 |   (eval $ac_compile) 2>&5 | 
 | 9364 |   ac_status=$? | 
 | 9365 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9366 |   (exit $ac_status); } && | 
 | 9367 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9368 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9369 |   (eval $ac_try) 2>&5 | 
 | 9370 |   ac_status=$? | 
 | 9371 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9372 |   (exit $ac_status); }; }; then | 
 | 9373 |   ac_cv_type_int64_t=yes | 
 | 9374 | else | 
 | 9375 |   echo "$as_me: failed program was:" >&5 | 
 | 9376 | cat conftest.$ac_ext >&5 | 
 | 9377 | ac_cv_type_int64_t=no | 
 | 9378 | fi | 
 | 9379 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9380 | fi | 
 | 9381 | echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5 | 
 | 9382 | echo "${ECHO_T}$ac_cv_type_int64_t" >&6 | 
 | 9383 | if test $ac_cv_type_int64_t = yes; then | 
 | 9384 |  | 
 | 9385 | cat >>confdefs.h <<_ACEOF | 
 | 9386 | #define HAVE_INT64_T 1 | 
 | 9387 | _ACEOF | 
 | 9388 |  | 
 | 9389 |  | 
 | 9390 | else | 
 | 9391 |   { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5 | 
 | 9392 | echo "$as_me: error: Type int64_t required but not found" >&2;} | 
 | 9393 |    { (exit 1); exit 1; }; } | 
 | 9394 | fi | 
 | 9395 |  | 
 | 9396 | echo "$as_me:$LINENO: checking for uint64_t" >&5 | 
 | 9397 | echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6 | 
 | 9398 | if test "${ac_cv_type_uint64_t+set}" = set; then | 
 | 9399 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9400 | else | 
 | 9401 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9402 | #line $LINENO "configure" | 
 | 9403 | #include "confdefs.h" | 
 | 9404 | $ac_includes_default | 
 | 9405 | #ifdef F77_DUMMY_MAIN | 
 | 9406 | #  ifdef __cplusplus | 
 | 9407 |      extern "C" | 
 | 9408 | #  endif | 
 | 9409 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9410 | #endif | 
 | 9411 | int | 
 | 9412 | main () | 
 | 9413 | { | 
 | 9414 | if ((uint64_t *) 0) | 
 | 9415 |   return 0; | 
 | 9416 | if (sizeof (uint64_t)) | 
 | 9417 |   return 0; | 
 | 9418 |   ; | 
 | 9419 |   return 0; | 
 | 9420 | } | 
 | 9421 | _ACEOF | 
 | 9422 | rm -f conftest.$ac_objext | 
 | 9423 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9424 |   (eval $ac_compile) 2>&5 | 
 | 9425 |   ac_status=$? | 
 | 9426 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9427 |   (exit $ac_status); } && | 
 | 9428 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9429 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9430 |   (eval $ac_try) 2>&5 | 
 | 9431 |   ac_status=$? | 
 | 9432 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9433 |   (exit $ac_status); }; }; then | 
 | 9434 |   ac_cv_type_uint64_t=yes | 
 | 9435 | else | 
 | 9436 |   echo "$as_me: failed program was:" >&5 | 
 | 9437 | cat conftest.$ac_ext >&5 | 
 | 9438 | ac_cv_type_uint64_t=no | 
 | 9439 | fi | 
 | 9440 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9441 | fi | 
 | 9442 | echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 | 
 | 9443 | echo "${ECHO_T}$ac_cv_type_uint64_t" >&6 | 
 | 9444 | if test $ac_cv_type_uint64_t = yes; then | 
 | 9445 |  | 
 | 9446 | cat >>confdefs.h <<_ACEOF | 
 | 9447 | #define HAVE_UINT64_T 1 | 
 | 9448 | _ACEOF | 
 | 9449 |  | 
 | 9450 |  | 
 | 9451 | else | 
 | 9452 |   { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5 | 
 | 9453 | echo "$as_me: error: Type uint64_t required but not found" >&2;} | 
 | 9454 |    { (exit 1); exit 1; }; } | 
 | 9455 | fi | 
 | 9456 |  | 
 | 9457 | echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 | 
 | 9458 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 | 
 | 9459 | if test "${ac_cv_header_time+set}" = set; then | 
 | 9460 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9461 | else | 
 | 9462 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9463 | #line $LINENO "configure" | 
 | 9464 | #include "confdefs.h" | 
 | 9465 | #include <sys/types.h> | 
 | 9466 | #include <sys/time.h> | 
 | 9467 | #include <time.h> | 
 | 9468 |  | 
 | 9469 | #ifdef F77_DUMMY_MAIN | 
 | 9470 | #  ifdef __cplusplus | 
 | 9471 |      extern "C" | 
 | 9472 | #  endif | 
 | 9473 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9474 | #endif | 
 | 9475 | int | 
 | 9476 | main () | 
 | 9477 | { | 
 | 9478 | if ((struct tm *) 0) | 
 | 9479 | return 0; | 
 | 9480 |   ; | 
 | 9481 |   return 0; | 
 | 9482 | } | 
 | 9483 | _ACEOF | 
 | 9484 | rm -f conftest.$ac_objext | 
 | 9485 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9486 |   (eval $ac_compile) 2>&5 | 
 | 9487 |   ac_status=$? | 
 | 9488 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9489 |   (exit $ac_status); } && | 
 | 9490 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9491 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9492 |   (eval $ac_try) 2>&5 | 
 | 9493 |   ac_status=$? | 
 | 9494 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9495 |   (exit $ac_status); }; }; then | 
 | 9496 |   ac_cv_header_time=yes | 
 | 9497 | else | 
 | 9498 |   echo "$as_me: failed program was:" >&5 | 
 | 9499 | cat conftest.$ac_ext >&5 | 
 | 9500 | ac_cv_header_time=no | 
 | 9501 | fi | 
 | 9502 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9503 | fi | 
 | 9504 | echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 | 
 | 9505 | echo "${ECHO_T}$ac_cv_header_time" >&6 | 
 | 9506 | if test $ac_cv_header_time = yes; then | 
 | 9507 |  | 
 | 9508 | cat >>confdefs.h <<\_ACEOF | 
 | 9509 | #define TIME_WITH_SYS_TIME 1 | 
 | 9510 | _ACEOF | 
 | 9511 |  | 
 | 9512 | fi | 
 | 9513 |  | 
 | 9514 | echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5 | 
 | 9515 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 | 
 | 9516 | if test "${ac_cv_struct_tm+set}" = set; then | 
 | 9517 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9518 | else | 
 | 9519 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9520 | #line $LINENO "configure" | 
 | 9521 | #include "confdefs.h" | 
 | 9522 | #include <sys/types.h> | 
 | 9523 | #include <time.h> | 
 | 9524 |  | 
 | 9525 | #ifdef F77_DUMMY_MAIN | 
 | 9526 | #  ifdef __cplusplus | 
 | 9527 |      extern "C" | 
 | 9528 | #  endif | 
 | 9529 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9530 | #endif | 
 | 9531 | int | 
 | 9532 | main () | 
 | 9533 | { | 
 | 9534 | struct tm *tp; tp->tm_sec; | 
 | 9535 |   ; | 
 | 9536 |   return 0; | 
 | 9537 | } | 
 | 9538 | _ACEOF | 
 | 9539 | rm -f conftest.$ac_objext | 
 | 9540 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9541 |   (eval $ac_compile) 2>&5 | 
 | 9542 |   ac_status=$? | 
 | 9543 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9544 |   (exit $ac_status); } && | 
 | 9545 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9546 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9547 |   (eval $ac_try) 2>&5 | 
 | 9548 |   ac_status=$? | 
 | 9549 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9550 |   (exit $ac_status); }; }; then | 
 | 9551 |   ac_cv_struct_tm=time.h | 
 | 9552 | else | 
 | 9553 |   echo "$as_me: failed program was:" >&5 | 
 | 9554 | cat conftest.$ac_ext >&5 | 
 | 9555 | ac_cv_struct_tm=sys/time.h | 
 | 9556 | fi | 
 | 9557 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9558 | fi | 
 | 9559 | echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5 | 
 | 9560 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 | 
 | 9561 | if test $ac_cv_struct_tm = sys/time.h; then | 
 | 9562 |  | 
 | 9563 | cat >>confdefs.h <<\_ACEOF | 
 | 9564 | #define TM_IN_SYS_TIME 1 | 
 | 9565 | _ACEOF | 
 | 9566 |  | 
 | 9567 | fi | 
 | 9568 |  | 
 | 9569 |  | 
 | 9570 |  | 
 | 9571 | echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5 | 
 | 9572 | echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6 | 
 | 9573 | if test "${ac_cv_cxx_namespaces+set}" = set; then | 
 | 9574 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9575 | else | 
 | 9576 |  | 
 | 9577 |  | 
 | 9578 |  ac_ext=cc | 
 | 9579 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9580 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9581 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9582 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9583 |  | 
 | 9584 |  cat >conftest.$ac_ext <<_ACEOF | 
 | 9585 | #line $LINENO "configure" | 
 | 9586 | #include "confdefs.h" | 
 | 9587 | namespace Outer { namespace Inner { int i = 0; }} | 
 | 9588 | #ifdef F77_DUMMY_MAIN | 
 | 9589 | #  ifdef __cplusplus | 
 | 9590 |      extern "C" | 
 | 9591 | #  endif | 
 | 9592 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9593 | #endif | 
 | 9594 | int | 
 | 9595 | main () | 
 | 9596 | { | 
 | 9597 | using namespace Outer::Inner; return i; | 
 | 9598 |   ; | 
 | 9599 |   return 0; | 
 | 9600 | } | 
 | 9601 | _ACEOF | 
 | 9602 | rm -f conftest.$ac_objext | 
 | 9603 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9604 |   (eval $ac_compile) 2>&5 | 
 | 9605 |   ac_status=$? | 
 | 9606 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9607 |   (exit $ac_status); } && | 
 | 9608 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9609 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9610 |   (eval $ac_try) 2>&5 | 
 | 9611 |   ac_status=$? | 
 | 9612 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9613 |   (exit $ac_status); }; }; then | 
 | 9614 |   ac_cv_cxx_namespaces=yes | 
 | 9615 | else | 
 | 9616 |   echo "$as_me: failed program was:" >&5 | 
 | 9617 | cat conftest.$ac_ext >&5 | 
 | 9618 | ac_cv_cxx_namespaces=no | 
 | 9619 | fi | 
 | 9620 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9621 |  ac_ext=c | 
 | 9622 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9623 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9624 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9625 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9626 |  | 
 | 9627 |  | 
 | 9628 | fi | 
 | 9629 | echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5 | 
 | 9630 | echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6 | 
 | 9631 | if test "$ac_cv_cxx_namespaces" = yes; then | 
 | 9632 |  | 
 | 9633 | cat >>confdefs.h <<\_ACEOF | 
 | 9634 | #define HAVE_NAMESPACES | 
 | 9635 | _ACEOF | 
 | 9636 |  | 
 | 9637 | fi | 
 | 9638 |  | 
 | 9639 | echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5 | 
 | 9640 | echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6 | 
 | 9641 | if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then | 
 | 9642 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9643 | else | 
 | 9644 |  | 
 | 9645 |  | 
 | 9646 |  | 
 | 9647 |   ac_ext=cc | 
 | 9648 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9649 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9650 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9651 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9652 |  | 
 | 9653 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9654 | #line $LINENO "configure" | 
 | 9655 | #include "confdefs.h" | 
 | 9656 | #include <ext/hash_map> | 
 | 9657 | #ifdef HAVE_NAMESPACES | 
 | 9658 | using namespace std; | 
 | 9659 | #endif | 
 | 9660 | #ifdef F77_DUMMY_MAIN | 
 | 9661 | #  ifdef __cplusplus | 
 | 9662 |      extern "C" | 
 | 9663 | #  endif | 
 | 9664 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9665 | #endif | 
 | 9666 | int | 
 | 9667 | main () | 
 | 9668 | { | 
 | 9669 | hash_map<int, int> t; return 0; | 
 | 9670 |   ; | 
 | 9671 |   return 0; | 
 | 9672 | } | 
 | 9673 | _ACEOF | 
 | 9674 | rm -f conftest.$ac_objext | 
 | 9675 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9676 |   (eval $ac_compile) 2>&5 | 
 | 9677 |   ac_status=$? | 
 | 9678 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9679 |   (exit $ac_status); } && | 
 | 9680 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9681 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9682 |   (eval $ac_try) 2>&5 | 
 | 9683 |   ac_status=$? | 
 | 9684 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9685 |   (exit $ac_status); }; }; then | 
 | 9686 |   ac_cv_cxx_have_ext_hash_map=std | 
 | 9687 | else | 
 | 9688 |   echo "$as_me: failed program was:" >&5 | 
 | 9689 | cat conftest.$ac_ext >&5 | 
 | 9690 | ac_cv_cxx_have_ext_hash_map=no | 
 | 9691 | fi | 
 | 9692 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9693 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9694 | #line $LINENO "configure" | 
 | 9695 | #include "confdefs.h" | 
 | 9696 | #include <ext/hash_map> | 
 | 9697 | #ifdef HAVE_NAMESPACES | 
 | 9698 | using namespace __gnu_cxx; | 
 | 9699 | #endif | 
 | 9700 | #ifdef F77_DUMMY_MAIN | 
 | 9701 | #  ifdef __cplusplus | 
 | 9702 |      extern "C" | 
 | 9703 | #  endif | 
 | 9704 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9705 | #endif | 
 | 9706 | int | 
 | 9707 | main () | 
 | 9708 | { | 
 | 9709 | hash_map<int, int> t; return 0; | 
 | 9710 |   ; | 
 | 9711 |   return 0; | 
 | 9712 | } | 
 | 9713 | _ACEOF | 
 | 9714 | rm -f conftest.$ac_objext | 
 | 9715 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9716 |   (eval $ac_compile) 2>&5 | 
 | 9717 |   ac_status=$? | 
 | 9718 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9719 |   (exit $ac_status); } && | 
 | 9720 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9721 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9722 |   (eval $ac_try) 2>&5 | 
 | 9723 |   ac_status=$? | 
 | 9724 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9725 |   (exit $ac_status); }; }; then | 
 | 9726 |   ac_cv_cxx_have_ext_hash_map=gnu | 
 | 9727 | else | 
 | 9728 |   echo "$as_me: failed program was:" >&5 | 
 | 9729 | cat conftest.$ac_ext >&5 | 
 | 9730 | ac_cv_cxx_have_ext_hash_map=no | 
 | 9731 | fi | 
 | 9732 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9733 |   ac_ext=c | 
 | 9734 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9735 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9736 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9737 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9738 |  | 
 | 9739 |  | 
 | 9740 | fi | 
 | 9741 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5 | 
 | 9742 | echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6 | 
 | 9743 | if test "$ac_cv_cxx_have_ext_hash_map" = std; then | 
 | 9744 |  | 
 | 9745 | cat >>confdefs.h <<\_ACEOF | 
 | 9746 | #define HAVE_STD_EXT_HASH_MAP | 
 | 9747 | _ACEOF | 
 | 9748 |  | 
 | 9749 | fi | 
 | 9750 | if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then | 
 | 9751 |  | 
 | 9752 | cat >>confdefs.h <<\_ACEOF | 
 | 9753 | #define HAVE_GNU_EXT_HASH_MAP | 
 | 9754 | _ACEOF | 
 | 9755 |  | 
 | 9756 | fi | 
 | 9757 |  | 
 | 9758 | echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5 | 
 | 9759 | echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6 | 
 | 9760 | if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then | 
 | 9761 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9762 | else | 
 | 9763 |  | 
 | 9764 |  | 
 | 9765 |  | 
 | 9766 |   ac_ext=cc | 
 | 9767 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9768 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9769 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9770 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9771 |  | 
 | 9772 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9773 | #line $LINENO "configure" | 
 | 9774 | #include "confdefs.h" | 
 | 9775 | #include <ext/hash_set> | 
 | 9776 | #ifdef HAVE_NAMESPACES | 
 | 9777 | using namespace std; | 
 | 9778 | #endif | 
 | 9779 | #ifdef F77_DUMMY_MAIN | 
 | 9780 | #  ifdef __cplusplus | 
 | 9781 |      extern "C" | 
 | 9782 | #  endif | 
 | 9783 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9784 | #endif | 
 | 9785 | int | 
 | 9786 | main () | 
 | 9787 | { | 
 | 9788 | hash_set<int> t; return 0; | 
 | 9789 |   ; | 
 | 9790 |   return 0; | 
 | 9791 | } | 
 | 9792 | _ACEOF | 
 | 9793 | rm -f conftest.$ac_objext | 
 | 9794 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9795 |   (eval $ac_compile) 2>&5 | 
 | 9796 |   ac_status=$? | 
 | 9797 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9798 |   (exit $ac_status); } && | 
 | 9799 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9800 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9801 |   (eval $ac_try) 2>&5 | 
 | 9802 |   ac_status=$? | 
 | 9803 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9804 |   (exit $ac_status); }; }; then | 
 | 9805 |   ac_cv_cxx_have_ext_hash_set=std | 
 | 9806 | else | 
 | 9807 |   echo "$as_me: failed program was:" >&5 | 
 | 9808 | cat conftest.$ac_ext >&5 | 
 | 9809 | ac_cv_cxx_have_ext_hash_set=no | 
 | 9810 | fi | 
 | 9811 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9812 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9813 | #line $LINENO "configure" | 
 | 9814 | #include "confdefs.h" | 
 | 9815 | #include <ext/hash_set> | 
 | 9816 | #ifdef HAVE_NAMESPACES | 
 | 9817 | using namespace __gnu_cxx; | 
 | 9818 | #endif | 
 | 9819 | #ifdef F77_DUMMY_MAIN | 
 | 9820 | #  ifdef __cplusplus | 
 | 9821 |      extern "C" | 
 | 9822 | #  endif | 
 | 9823 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9824 | #endif | 
 | 9825 | int | 
 | 9826 | main () | 
 | 9827 | { | 
 | 9828 | hash_set<int> t; return 0; | 
 | 9829 |   ; | 
 | 9830 |   return 0; | 
 | 9831 | } | 
 | 9832 | _ACEOF | 
 | 9833 | rm -f conftest.$ac_objext | 
 | 9834 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9835 |   (eval $ac_compile) 2>&5 | 
 | 9836 |   ac_status=$? | 
 | 9837 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9838 |   (exit $ac_status); } && | 
 | 9839 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9840 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9841 |   (eval $ac_try) 2>&5 | 
 | 9842 |   ac_status=$? | 
 | 9843 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9844 |   (exit $ac_status); }; }; then | 
 | 9845 |   ac_cv_cxx_have_ext_hash_set=gnu | 
 | 9846 | else | 
 | 9847 |   echo "$as_me: failed program was:" >&5 | 
 | 9848 | cat conftest.$ac_ext >&5 | 
 | 9849 | ac_cv_cxx_have_ext_hash_set=no | 
 | 9850 | fi | 
 | 9851 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9852 |   ac_ext=c | 
 | 9853 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9854 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9855 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9856 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9857 |  | 
 | 9858 |  | 
 | 9859 | fi | 
 | 9860 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5 | 
 | 9861 | echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6 | 
 | 9862 | if test "$ac_cv_cxx_have_ext_hash_set" = std; then | 
 | 9863 |  | 
 | 9864 | cat >>confdefs.h <<\_ACEOF | 
 | 9865 | #define HAVE_STD_EXT_HASH_SET | 
 | 9866 | _ACEOF | 
 | 9867 |  | 
 | 9868 | fi | 
 | 9869 | if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then | 
 | 9870 |  | 
 | 9871 | cat >>confdefs.h <<\_ACEOF | 
 | 9872 | #define HAVE_GNU_EXT_HASH_SET | 
 | 9873 | _ACEOF | 
 | 9874 |  | 
 | 9875 | fi | 
 | 9876 |  | 
 | 9877 | echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5 | 
 | 9878 | echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6 | 
 | 9879 | if test "${ac_cv_cxx_have_ext_slist+set}" = set; then | 
 | 9880 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 9881 | else | 
 | 9882 |  | 
 | 9883 |  | 
 | 9884 |  | 
 | 9885 |   ac_ext=cc | 
 | 9886 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 9887 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9888 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9889 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 9890 |  | 
 | 9891 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9892 | #line $LINENO "configure" | 
 | 9893 | #include "confdefs.h" | 
 | 9894 | #include <ext/slist> | 
 | 9895 | #ifdef HAVE_NAMESPACES | 
 | 9896 | using namespace std; | 
 | 9897 | #endif | 
 | 9898 | #ifdef F77_DUMMY_MAIN | 
 | 9899 | #  ifdef __cplusplus | 
 | 9900 |      extern "C" | 
 | 9901 | #  endif | 
 | 9902 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9903 | #endif | 
 | 9904 | int | 
 | 9905 | main () | 
 | 9906 | { | 
 | 9907 | slist<int> s; return 0; | 
 | 9908 |   ; | 
 | 9909 |   return 0; | 
 | 9910 | } | 
 | 9911 | _ACEOF | 
 | 9912 | rm -f conftest.$ac_objext | 
 | 9913 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9914 |   (eval $ac_compile) 2>&5 | 
 | 9915 |   ac_status=$? | 
 | 9916 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9917 |   (exit $ac_status); } && | 
 | 9918 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9919 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9920 |   (eval $ac_try) 2>&5 | 
 | 9921 |   ac_status=$? | 
 | 9922 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9923 |   (exit $ac_status); }; }; then | 
 | 9924 |   ac_cv_cxx_have_ext_slist=std | 
 | 9925 | else | 
 | 9926 |   echo "$as_me: failed program was:" >&5 | 
 | 9927 | cat conftest.$ac_ext >&5 | 
 | 9928 | ac_cv_cxx_have_ext_slist=no | 
 | 9929 | fi | 
 | 9930 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9931 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 9932 | #line $LINENO "configure" | 
 | 9933 | #include "confdefs.h" | 
 | 9934 | #include <ext/slist> | 
 | 9935 | #ifdef HAVE_NAMESPACES | 
 | 9936 | using namespace __gnu_cxx; | 
 | 9937 | #endif | 
 | 9938 | #ifdef F77_DUMMY_MAIN | 
 | 9939 | #  ifdef __cplusplus | 
 | 9940 |      extern "C" | 
 | 9941 | #  endif | 
 | 9942 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 9943 | #endif | 
 | 9944 | int | 
 | 9945 | main () | 
 | 9946 | { | 
 | 9947 | slist<int> s; return 0; | 
 | 9948 |   ; | 
 | 9949 |   return 0; | 
 | 9950 | } | 
 | 9951 | _ACEOF | 
 | 9952 | rm -f conftest.$ac_objext | 
 | 9953 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 9954 |   (eval $ac_compile) 2>&5 | 
 | 9955 |   ac_status=$? | 
 | 9956 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9957 |   (exit $ac_status); } && | 
 | 9958 |          { ac_try='test -s conftest.$ac_objext' | 
 | 9959 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 9960 |   (eval $ac_try) 2>&5 | 
 | 9961 |   ac_status=$? | 
 | 9962 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 9963 |   (exit $ac_status); }; }; then | 
 | 9964 |   ac_cv_cxx_have_ext_slist=gnu | 
 | 9965 | else | 
 | 9966 |   echo "$as_me: failed program was:" >&5 | 
 | 9967 | cat conftest.$ac_ext >&5 | 
 | 9968 | ac_cv_cxx_have_ext_slist=no | 
 | 9969 | fi | 
 | 9970 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 9971 |  | 
 | 9972 |   ac_ext=c | 
 | 9973 | ac_cpp='$CPP $CPPFLAGS' | 
 | 9974 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 9975 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 9976 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 9977 |  | 
 | 9978 |  | 
 | 9979 | fi | 
 | 9980 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5 | 
 | 9981 | echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6 | 
 | 9982 | if test "$ac_cv_cxx_have_ext_slist" = std; then | 
 | 9983 |  | 
 | 9984 | cat >>confdefs.h <<\_ACEOF | 
 | 9985 | #define HAVE_EXT_SLIST std | 
 | 9986 | _ACEOF | 
 | 9987 |  | 
 | 9988 | fi | 
 | 9989 | if test "$ac_cv_cxx_have_ext_slist" = gnu; then | 
 | 9990 |  | 
 | 9991 | cat >>confdefs.h <<\_ACEOF | 
 | 9992 | #define HAVE_EXT_SLIST gnu | 
 | 9993 | _ACEOF | 
 | 9994 |  | 
 | 9995 | fi | 
 | 9996 |  | 
 | 9997 | echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5 | 
 | 9998 | echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6 | 
 | 9999 | if test "${ac_cv_cxx_have_std_iterator+set}" = set; then | 
 | 10000 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10001 | else | 
 | 10002 |  | 
 | 10003 |  | 
 | 10004 |  | 
 | 10005 |   ac_ext=cc | 
 | 10006 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 10007 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10008 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10009 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 10010 |  | 
 | 10011 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10012 | #line $LINENO "configure" | 
 | 10013 | #include "confdefs.h" | 
 | 10014 | #include <iterator> | 
 | 10015 | #ifdef HAVE_NAMESPACES | 
 | 10016 | using namespace std; | 
 | 10017 | #endif | 
 | 10018 | #ifdef F77_DUMMY_MAIN | 
 | 10019 | #  ifdef __cplusplus | 
 | 10020 |      extern "C" | 
 | 10021 | #  endif | 
 | 10022 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10023 | #endif | 
 | 10024 | int | 
 | 10025 | main () | 
 | 10026 | { | 
 | 10027 | iterator<int,int,int> t; return 0; | 
 | 10028 |   ; | 
 | 10029 |   return 0; | 
 | 10030 | } | 
 | 10031 | _ACEOF | 
 | 10032 | rm -f conftest.$ac_objext | 
 | 10033 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10034 |   (eval $ac_compile) 2>&5 | 
 | 10035 |   ac_status=$? | 
 | 10036 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10037 |   (exit $ac_status); } && | 
 | 10038 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10039 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10040 |   (eval $ac_try) 2>&5 | 
 | 10041 |   ac_status=$? | 
 | 10042 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10043 |   (exit $ac_status); }; }; then | 
 | 10044 |   ac_cv_cxx_have_std_iterator=yes | 
 | 10045 | else | 
 | 10046 |   echo "$as_me: failed program was:" >&5 | 
 | 10047 | cat conftest.$ac_ext >&5 | 
 | 10048 | ac_cv_cxx_have_std_iterator=no | 
 | 10049 | fi | 
 | 10050 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10051 |   ac_ext=c | 
 | 10052 | ac_cpp='$CPP $CPPFLAGS' | 
 | 10053 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10054 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10055 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 10056 |  | 
 | 10057 |  | 
 | 10058 | fi | 
 | 10059 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5 | 
 | 10060 | echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6 | 
 | 10061 | if test "$ac_cv_cxx_have_std_iterator" = yes; then | 
 | 10062 |  | 
 | 10063 | cat >>confdefs.h <<\_ACEOF | 
 | 10064 | #define HAVE_STD_ITERATOR | 
 | 10065 | _ACEOF | 
 | 10066 |  | 
 | 10067 | fi | 
 | 10068 |  | 
 | 10069 | echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5 | 
 | 10070 | echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6 | 
 | 10071 | if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then | 
 | 10072 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10073 | else | 
 | 10074 |  | 
 | 10075 |  | 
 | 10076 |  | 
 | 10077 |   ac_ext=cc | 
 | 10078 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 10079 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10080 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10081 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 10082 |  | 
 | 10083 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10084 | #line $LINENO "configure" | 
 | 10085 | #include "confdefs.h" | 
 | 10086 | #include <iterator> | 
 | 10087 | #ifdef HAVE_NAMESPACES | 
 | 10088 | using namespace std; | 
 | 10089 | #endif | 
 | 10090 | #ifdef F77_DUMMY_MAIN | 
 | 10091 | #  ifdef __cplusplus | 
 | 10092 |      extern "C" | 
 | 10093 | #  endif | 
 | 10094 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10095 | #endif | 
 | 10096 | int | 
 | 10097 | main () | 
 | 10098 | { | 
 | 10099 | bidirectional_iterator<int,int,int> t; return 0; | 
 | 10100 |   ; | 
 | 10101 |   return 0; | 
 | 10102 | } | 
 | 10103 | _ACEOF | 
 | 10104 | rm -f conftest.$ac_objext | 
 | 10105 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10106 |   (eval $ac_compile) 2>&5 | 
 | 10107 |   ac_status=$? | 
 | 10108 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10109 |   (exit $ac_status); } && | 
 | 10110 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10111 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10112 |   (eval $ac_try) 2>&5 | 
 | 10113 |   ac_status=$? | 
 | 10114 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10115 |   (exit $ac_status); }; }; then | 
 | 10116 |   ac_cv_cxx_have_bi_iterator=yes | 
 | 10117 | else | 
 | 10118 |   echo "$as_me: failed program was:" >&5 | 
 | 10119 | cat conftest.$ac_ext >&5 | 
 | 10120 | ac_cv_cxx_have_bi_iterator=no | 
 | 10121 | fi | 
 | 10122 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10123 |   ac_ext=c | 
 | 10124 | ac_cpp='$CPP $CPPFLAGS' | 
 | 10125 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10126 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10127 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 10128 |  | 
 | 10129 |  | 
 | 10130 | fi | 
 | 10131 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5 | 
 | 10132 | echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6 | 
 | 10133 | if test "$ac_cv_cxx_have_bi_iterator" = yes; then | 
 | 10134 |  | 
 | 10135 | cat >>confdefs.h <<\_ACEOF | 
 | 10136 | #define HAVE_BI_ITERATOR | 
 | 10137 | _ACEOF | 
 | 10138 |  | 
 | 10139 | fi | 
 | 10140 |  | 
 | 10141 | echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5 | 
 | 10142 | echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6 | 
 | 10143 | if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then | 
 | 10144 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10145 | else | 
 | 10146 |  | 
 | 10147 |  | 
 | 10148 |  | 
 | 10149 |   ac_ext=cc | 
 | 10150 | ac_cpp='$CXXCPP $CPPFLAGS' | 
 | 10151 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10152 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10153 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
 | 10154 |  | 
 | 10155 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10156 | #line $LINENO "configure" | 
 | 10157 | #include "confdefs.h" | 
 | 10158 | #include <iterator> | 
 | 10159 | #ifdef HAVE_NAMESPACES | 
 | 10160 | using namespace std; | 
 | 10161 | #endif | 
 | 10162 | #ifdef F77_DUMMY_MAIN | 
 | 10163 | #  ifdef __cplusplus | 
 | 10164 |      extern "C" | 
 | 10165 | #  endif | 
 | 10166 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10167 | #endif | 
 | 10168 | int | 
 | 10169 | main () | 
 | 10170 | { | 
 | 10171 | forward_iterator<int,int,int> t; return 0; | 
 | 10172 |   ; | 
 | 10173 |   return 0; | 
 | 10174 | } | 
 | 10175 | _ACEOF | 
 | 10176 | rm -f conftest.$ac_objext | 
 | 10177 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10178 |   (eval $ac_compile) 2>&5 | 
 | 10179 |   ac_status=$? | 
 | 10180 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10181 |   (exit $ac_status); } && | 
 | 10182 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10183 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10184 |   (eval $ac_try) 2>&5 | 
 | 10185 |   ac_status=$? | 
 | 10186 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10187 |   (exit $ac_status); }; }; then | 
 | 10188 |   ac_cv_cxx_have_fwd_iterator=yes | 
 | 10189 | else | 
 | 10190 |   echo "$as_me: failed program was:" >&5 | 
 | 10191 | cat conftest.$ac_ext >&5 | 
 | 10192 | ac_cv_cxx_have_fwd_iterator=no | 
 | 10193 | fi | 
 | 10194 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10195 |   ac_ext=c | 
 | 10196 | ac_cpp='$CPP $CPPFLAGS' | 
 | 10197 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 10198 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 10199 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 10200 |  | 
 | 10201 |  | 
 | 10202 | fi | 
 | 10203 | echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5 | 
 | 10204 | echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6 | 
 | 10205 | if test "$ac_cv_cxx_have_fwd_iterator" = yes; then | 
 | 10206 |  | 
 | 10207 | cat >>confdefs.h <<\_ACEOF | 
 | 10208 | #define HAVE_FWD_ITERATOR | 
 | 10209 | _ACEOF | 
 | 10210 |  | 
 | 10211 | fi | 
 | 10212 |  | 
 | 10213 |  | 
 | 10214 | # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works | 
 | 10215 | # for constant arguments.  Useless! | 
 | 10216 | echo "$as_me:$LINENO: checking for working alloca.h" >&5 | 
 | 10217 | echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6 | 
 | 10218 | if test "${ac_cv_working_alloca_h+set}" = set; then | 
 | 10219 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10220 | else | 
 | 10221 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10222 | #line $LINENO "configure" | 
 | 10223 | #include "confdefs.h" | 
 | 10224 | #include <alloca.h> | 
 | 10225 | #ifdef F77_DUMMY_MAIN | 
 | 10226 | #  ifdef __cplusplus | 
 | 10227 |      extern "C" | 
 | 10228 | #  endif | 
 | 10229 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10230 | #endif | 
 | 10231 | int | 
 | 10232 | main () | 
 | 10233 | { | 
 | 10234 | char *p = (char *) alloca (2 * sizeof (int)); | 
 | 10235 |   ; | 
 | 10236 |   return 0; | 
 | 10237 | } | 
 | 10238 | _ACEOF | 
 | 10239 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10240 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10241 |   (eval $ac_link) 2>&5 | 
 | 10242 |   ac_status=$? | 
 | 10243 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10244 |   (exit $ac_status); } && | 
 | 10245 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10246 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10247 |   (eval $ac_try) 2>&5 | 
 | 10248 |   ac_status=$? | 
 | 10249 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10250 |   (exit $ac_status); }; }; then | 
 | 10251 |   ac_cv_working_alloca_h=yes | 
 | 10252 | else | 
 | 10253 |   echo "$as_me: failed program was:" >&5 | 
 | 10254 | cat conftest.$ac_ext >&5 | 
 | 10255 | ac_cv_working_alloca_h=no | 
 | 10256 | fi | 
 | 10257 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10258 | fi | 
 | 10259 | echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5 | 
 | 10260 | echo "${ECHO_T}$ac_cv_working_alloca_h" >&6 | 
 | 10261 | if test $ac_cv_working_alloca_h = yes; then | 
 | 10262 |  | 
 | 10263 | cat >>confdefs.h <<\_ACEOF | 
 | 10264 | #define HAVE_ALLOCA_H 1 | 
 | 10265 | _ACEOF | 
 | 10266 |  | 
 | 10267 | fi | 
 | 10268 |  | 
 | 10269 | echo "$as_me:$LINENO: checking for alloca" >&5 | 
 | 10270 | echo $ECHO_N "checking for alloca... $ECHO_C" >&6 | 
 | 10271 | if test "${ac_cv_func_alloca_works+set}" = set; then | 
 | 10272 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10273 | else | 
 | 10274 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10275 | #line $LINENO "configure" | 
 | 10276 | #include "confdefs.h" | 
 | 10277 | #ifdef __GNUC__ | 
 | 10278 | # define alloca __builtin_alloca | 
 | 10279 | #else | 
 | 10280 | # ifdef _MSC_VER | 
 | 10281 | #  include <malloc.h> | 
 | 10282 | #  define alloca _alloca | 
 | 10283 | # else | 
 | 10284 | #  if HAVE_ALLOCA_H | 
 | 10285 | #   include <alloca.h> | 
 | 10286 | #  else | 
 | 10287 | #   ifdef _AIX | 
 | 10288 |  #pragma alloca | 
 | 10289 | #   else | 
 | 10290 | #    ifndef alloca /* predefined by HP cc +Olibcalls */ | 
 | 10291 | char *alloca (); | 
 | 10292 | #    endif | 
 | 10293 | #   endif | 
 | 10294 | #  endif | 
 | 10295 | # endif | 
 | 10296 | #endif | 
 | 10297 |  | 
 | 10298 | #ifdef F77_DUMMY_MAIN | 
 | 10299 | #  ifdef __cplusplus | 
 | 10300 |      extern "C" | 
 | 10301 | #  endif | 
 | 10302 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10303 | #endif | 
 | 10304 | int | 
 | 10305 | main () | 
 | 10306 | { | 
 | 10307 | char *p = (char *) alloca (1); | 
 | 10308 |   ; | 
 | 10309 |   return 0; | 
 | 10310 | } | 
 | 10311 | _ACEOF | 
 | 10312 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10313 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10314 |   (eval $ac_link) 2>&5 | 
 | 10315 |   ac_status=$? | 
 | 10316 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10317 |   (exit $ac_status); } && | 
 | 10318 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10319 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10320 |   (eval $ac_try) 2>&5 | 
 | 10321 |   ac_status=$? | 
 | 10322 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10323 |   (exit $ac_status); }; }; then | 
 | 10324 |   ac_cv_func_alloca_works=yes | 
 | 10325 | else | 
 | 10326 |   echo "$as_me: failed program was:" >&5 | 
 | 10327 | cat conftest.$ac_ext >&5 | 
 | 10328 | ac_cv_func_alloca_works=no | 
 | 10329 | fi | 
 | 10330 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10331 | fi | 
 | 10332 | echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5 | 
 | 10333 | echo "${ECHO_T}$ac_cv_func_alloca_works" >&6 | 
 | 10334 |  | 
 | 10335 | if test $ac_cv_func_alloca_works = yes; then | 
 | 10336 |  | 
 | 10337 | cat >>confdefs.h <<\_ACEOF | 
 | 10338 | #define HAVE_ALLOCA 1 | 
 | 10339 | _ACEOF | 
 | 10340 |  | 
 | 10341 | else | 
 | 10342 |   # The SVR3 libPW and SVR4 libucb both contain incompatible functions | 
 | 10343 | # that cause trouble.  Some versions do not even contain alloca or | 
 | 10344 | # contain a buggy version.  If you still want to use their alloca, | 
 | 10345 | # use ar to extract alloca.o from them instead of compiling alloca.c. | 
 | 10346 |  | 
 | 10347 | ALLOCA=alloca.$ac_objext | 
 | 10348 |  | 
 | 10349 | cat >>confdefs.h <<\_ACEOF | 
 | 10350 | #define C_ALLOCA 1 | 
 | 10351 | _ACEOF | 
 | 10352 |  | 
 | 10353 |  | 
 | 10354 | echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5 | 
 | 10355 | echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6 | 
 | 10356 | if test "${ac_cv_os_cray+set}" = set; then | 
 | 10357 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10358 | else | 
 | 10359 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10360 | #line $LINENO "configure" | 
 | 10361 | #include "confdefs.h" | 
 | 10362 | #if defined(CRAY) && ! defined(CRAY2) | 
 | 10363 | webecray | 
 | 10364 | #else | 
 | 10365 | wenotbecray | 
 | 10366 | #endif | 
 | 10367 |  | 
 | 10368 | _ACEOF | 
 | 10369 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 10370 |   egrep "webecray" >/dev/null 2>&1; then | 
 | 10371 |   ac_cv_os_cray=yes | 
 | 10372 | else | 
 | 10373 |   ac_cv_os_cray=no | 
 | 10374 | fi | 
 | 10375 | rm -f conftest* | 
 | 10376 |  | 
 | 10377 | fi | 
 | 10378 | echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5 | 
 | 10379 | echo "${ECHO_T}$ac_cv_os_cray" >&6 | 
 | 10380 | if test $ac_cv_os_cray = yes; then | 
 | 10381 |   for ac_func in _getb67 GETB67 getb67; do | 
 | 10382 |     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 10383 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 10384 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 10385 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 10386 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10387 | else | 
 | 10388 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10389 | #line $LINENO "configure" | 
 | 10390 | #include "confdefs.h" | 
 | 10391 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 10392 |     which can conflict with char $ac_func (); below.  */ | 
 | 10393 | #include <assert.h> | 
 | 10394 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 10395 | #ifdef __cplusplus | 
 | 10396 | extern "C" | 
 | 10397 | #endif | 
 | 10398 | /* We use char because int might match the return type of a gcc2 | 
 | 10399 |    builtin and then its argument prototype would still apply.  */ | 
 | 10400 | char $ac_func (); | 
 | 10401 | char (*f) (); | 
 | 10402 |  | 
 | 10403 | #ifdef F77_DUMMY_MAIN | 
 | 10404 | #  ifdef __cplusplus | 
 | 10405 |      extern "C" | 
 | 10406 | #  endif | 
 | 10407 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10408 | #endif | 
 | 10409 | int | 
 | 10410 | main () | 
 | 10411 | { | 
 | 10412 | /* The GNU C library defines this for functions which it implements | 
 | 10413 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 10414 |     something starting with __ and the normal name is an alias.  */ | 
 | 10415 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 10416 | choke me | 
 | 10417 | #else | 
 | 10418 | f = $ac_func; | 
 | 10419 | #endif | 
 | 10420 |  | 
 | 10421 |   ; | 
 | 10422 |   return 0; | 
 | 10423 | } | 
 | 10424 | _ACEOF | 
 | 10425 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10426 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10427 |   (eval $ac_link) 2>&5 | 
 | 10428 |   ac_status=$? | 
 | 10429 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10430 |   (exit $ac_status); } && | 
 | 10431 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10432 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10433 |   (eval $ac_try) 2>&5 | 
 | 10434 |   ac_status=$? | 
 | 10435 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10436 |   (exit $ac_status); }; }; then | 
 | 10437 |   eval "$as_ac_var=yes" | 
 | 10438 | else | 
 | 10439 |   echo "$as_me: failed program was:" >&5 | 
 | 10440 | cat conftest.$ac_ext >&5 | 
 | 10441 | eval "$as_ac_var=no" | 
 | 10442 | fi | 
 | 10443 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10444 | fi | 
 | 10445 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 10446 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 10447 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 10448 |  | 
 | 10449 | cat >>confdefs.h <<_ACEOF | 
 | 10450 | #define CRAY_STACKSEG_END $ac_func | 
 | 10451 | _ACEOF | 
 | 10452 |  | 
 | 10453 |     break | 
 | 10454 | fi | 
 | 10455 |  | 
 | 10456 |   done | 
 | 10457 | fi | 
 | 10458 |  | 
 | 10459 | echo "$as_me:$LINENO: checking stack direction for C alloca" >&5 | 
 | 10460 | echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6 | 
 | 10461 | if test "${ac_cv_c_stack_direction+set}" = set; then | 
 | 10462 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10463 | else | 
 | 10464 |   if test "$cross_compiling" = yes; then | 
 | 10465 |   ac_cv_c_stack_direction=0 | 
 | 10466 | else | 
 | 10467 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10468 | #line $LINENO "configure" | 
 | 10469 | #include "confdefs.h" | 
 | 10470 | int | 
 | 10471 | find_stack_direction () | 
 | 10472 | { | 
 | 10473 |   static char *addr = 0; | 
 | 10474 |   auto char dummy; | 
 | 10475 |   if (addr == 0) | 
 | 10476 |     { | 
 | 10477 |       addr = &dummy; | 
 | 10478 |       return find_stack_direction (); | 
 | 10479 |     } | 
 | 10480 |   else | 
 | 10481 |     return (&dummy > addr) ? 1 : -1; | 
 | 10482 | } | 
 | 10483 |  | 
 | 10484 | int | 
 | 10485 | main () | 
 | 10486 | { | 
 | 10487 |   exit (find_stack_direction () < 0); | 
 | 10488 | } | 
 | 10489 | _ACEOF | 
 | 10490 | rm -f conftest$ac_exeext | 
 | 10491 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10492 |   (eval $ac_link) 2>&5 | 
 | 10493 |   ac_status=$? | 
 | 10494 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10495 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 10496 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10497 |   (eval $ac_try) 2>&5 | 
 | 10498 |   ac_status=$? | 
 | 10499 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10500 |   (exit $ac_status); }; }; then | 
 | 10501 |   ac_cv_c_stack_direction=1 | 
 | 10502 | else | 
 | 10503 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 10504 | echo "$as_me: failed program was:" >&5 | 
 | 10505 | cat conftest.$ac_ext >&5 | 
 | 10506 | ( exit $ac_status ) | 
 | 10507 | ac_cv_c_stack_direction=-1 | 
 | 10508 | fi | 
 | 10509 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 10510 | fi | 
 | 10511 | fi | 
 | 10512 | echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5 | 
 | 10513 | echo "${ECHO_T}$ac_cv_c_stack_direction" >&6 | 
 | 10514 |  | 
 | 10515 | cat >>confdefs.h <<_ACEOF | 
 | 10516 | #define STACK_DIRECTION $ac_cv_c_stack_direction | 
 | 10517 | _ACEOF | 
 | 10518 |  | 
 | 10519 |  | 
 | 10520 | fi | 
 | 10521 |  | 
 | 10522 | if test $ac_cv_c_compiler_gnu = yes; then | 
 | 10523 |     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5 | 
 | 10524 | echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6 | 
 | 10525 | if test "${ac_cv_prog_gcc_traditional+set}" = set; then | 
 | 10526 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10527 | else | 
 | 10528 |     ac_pattern="Autoconf.*'x'" | 
 | 10529 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10530 | #line $LINENO "configure" | 
 | 10531 | #include "confdefs.h" | 
 | 10532 | #include <sgtty.h> | 
 | 10533 | Autoconf TIOCGETP | 
 | 10534 | _ACEOF | 
 | 10535 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 10536 |   egrep "$ac_pattern" >/dev/null 2>&1; then | 
 | 10537 |   ac_cv_prog_gcc_traditional=yes | 
 | 10538 | else | 
 | 10539 |   ac_cv_prog_gcc_traditional=no | 
 | 10540 | fi | 
 | 10541 | rm -f conftest* | 
 | 10542 |  | 
 | 10543 |  | 
 | 10544 |   if test $ac_cv_prog_gcc_traditional = no; then | 
 | 10545 |     cat >conftest.$ac_ext <<_ACEOF | 
 | 10546 | #line $LINENO "configure" | 
 | 10547 | #include "confdefs.h" | 
 | 10548 | #include <termio.h> | 
 | 10549 | Autoconf TCGETA | 
 | 10550 | _ACEOF | 
 | 10551 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
 | 10552 |   egrep "$ac_pattern" >/dev/null 2>&1; then | 
 | 10553 |   ac_cv_prog_gcc_traditional=yes | 
 | 10554 | fi | 
 | 10555 | rm -f conftest* | 
 | 10556 |  | 
 | 10557 |   fi | 
 | 10558 | fi | 
 | 10559 | echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5 | 
 | 10560 | echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6 | 
 | 10561 |   if test $ac_cv_prog_gcc_traditional = yes; then | 
 | 10562 |     CC="$CC -traditional" | 
 | 10563 |   fi | 
 | 10564 | fi | 
 | 10565 |  | 
 | 10566 | echo "$as_me:$LINENO: checking for working memcmp" >&5 | 
 | 10567 | echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6 | 
 | 10568 | if test "${ac_cv_func_memcmp_working+set}" = set; then | 
 | 10569 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10570 | else | 
 | 10571 |   if test "$cross_compiling" = yes; then | 
 | 10572 |   ac_cv_func_memcmp_working=no | 
 | 10573 | else | 
 | 10574 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10575 | #line $LINENO "configure" | 
 | 10576 | #include "confdefs.h" | 
 | 10577 |  | 
 | 10578 | #ifdef F77_DUMMY_MAIN | 
 | 10579 | #  ifdef __cplusplus | 
 | 10580 |      extern "C" | 
 | 10581 | #  endif | 
 | 10582 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10583 | #endif | 
 | 10584 | int | 
 | 10585 | main () | 
 | 10586 | { | 
 | 10587 |  | 
 | 10588 |   /* Some versions of memcmp are not 8-bit clean.  */ | 
 | 10589 |   char c0 = 0x40, c1 = 0x80, c2 = 0x81; | 
 | 10590 |   if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0) | 
 | 10591 |     exit (1); | 
 | 10592 |  | 
 | 10593 |   /* The Next x86 OpenStep bug shows up only when comparing 16 bytes | 
 | 10594 |      or more and with at least one buffer not starting on a 4-byte boundary. | 
 | 10595 |      William Lewis provided this test program.   */ | 
 | 10596 |   { | 
 | 10597 |     char foo[21]; | 
 | 10598 |     char bar[21]; | 
 | 10599 |     int i; | 
 | 10600 |     for (i = 0; i < 4; i++) | 
 | 10601 |       { | 
 | 10602 |         char *a = foo + i; | 
 | 10603 |         char *b = bar + i; | 
 | 10604 |         strcpy (a, "--------01111111"); | 
 | 10605 |         strcpy (b, "--------10000000"); | 
 | 10606 |         if (memcmp (a, b, 16) >= 0) | 
 | 10607 |           exit (1); | 
 | 10608 |       } | 
 | 10609 |     exit (0); | 
 | 10610 |   } | 
 | 10611 |  | 
 | 10612 |   ; | 
 | 10613 |   return 0; | 
 | 10614 | } | 
 | 10615 | _ACEOF | 
 | 10616 | rm -f conftest$ac_exeext | 
 | 10617 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10618 |   (eval $ac_link) 2>&5 | 
 | 10619 |   ac_status=$? | 
 | 10620 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10621 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 10622 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10623 |   (eval $ac_try) 2>&5 | 
 | 10624 |   ac_status=$? | 
 | 10625 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10626 |   (exit $ac_status); }; }; then | 
 | 10627 |   ac_cv_func_memcmp_working=yes | 
 | 10628 | else | 
 | 10629 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 10630 | echo "$as_me: failed program was:" >&5 | 
 | 10631 | cat conftest.$ac_ext >&5 | 
 | 10632 | ( exit $ac_status ) | 
 | 10633 | ac_cv_func_memcmp_working=no | 
 | 10634 | fi | 
 | 10635 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 10636 | fi | 
 | 10637 | fi | 
 | 10638 | echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5 | 
 | 10639 | echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6 | 
 | 10640 | test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext" | 
 | 10641 |  | 
 | 10642 |  | 
 | 10643 |  | 
 | 10644 | for ac_header in stdlib.h unistd.h | 
 | 10645 | do | 
 | 10646 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
 | 10647 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 10648 |   echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 10649 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 10650 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 10651 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10652 | fi | 
 | 10653 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 10654 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 10655 | else | 
 | 10656 |   # Is the header compilable? | 
 | 10657 | echo "$as_me:$LINENO: checking $ac_header usability" >&5 | 
 | 10658 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 | 
 | 10659 | cat >conftest.$ac_ext <<_ACEOF | 
 | 10660 | #line $LINENO "configure" | 
 | 10661 | #include "confdefs.h" | 
 | 10662 | $ac_includes_default | 
 | 10663 | #include <$ac_header> | 
 | 10664 | _ACEOF | 
 | 10665 | rm -f conftest.$ac_objext | 
 | 10666 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 10667 |   (eval $ac_compile) 2>&5 | 
 | 10668 |   ac_status=$? | 
 | 10669 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10670 |   (exit $ac_status); } && | 
 | 10671 |          { ac_try='test -s conftest.$ac_objext' | 
 | 10672 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10673 |   (eval $ac_try) 2>&5 | 
 | 10674 |   ac_status=$? | 
 | 10675 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10676 |   (exit $ac_status); }; }; then | 
 | 10677 |   ac_header_compiler=yes | 
 | 10678 | else | 
 | 10679 |   echo "$as_me: failed program was:" >&5 | 
 | 10680 | cat conftest.$ac_ext >&5 | 
 | 10681 | ac_header_compiler=no | 
 | 10682 | fi | 
 | 10683 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 10684 | echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 | 
 | 10685 | echo "${ECHO_T}$ac_header_compiler" >&6 | 
 | 10686 |  | 
 | 10687 | # Is the header present? | 
 | 10688 | echo "$as_me:$LINENO: checking $ac_header presence" >&5 | 
 | 10689 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 | 
 | 10690 | cat >conftest.$ac_ext <<_ACEOF | 
 | 10691 | #line $LINENO "configure" | 
 | 10692 | #include "confdefs.h" | 
 | 10693 | #include <$ac_header> | 
 | 10694 | _ACEOF | 
 | 10695 | if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 | 
 | 10696 |   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 | 
 | 10697 |   ac_status=$? | 
 | 10698 |   egrep -v '^ *\+' conftest.er1 >conftest.err | 
 | 10699 |   rm -f conftest.er1 | 
 | 10700 |   cat conftest.err >&5 | 
 | 10701 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10702 |   (exit $ac_status); } >/dev/null; then | 
 | 10703 |   if test -s conftest.err; then | 
 | 10704 |     ac_cpp_err=$ac_c_preproc_warn_flag | 
 | 10705 |   else | 
 | 10706 |     ac_cpp_err= | 
 | 10707 |   fi | 
 | 10708 | else | 
 | 10709 |   ac_cpp_err=yes | 
 | 10710 | fi | 
 | 10711 | if test -z "$ac_cpp_err"; then | 
 | 10712 |   ac_header_preproc=yes | 
 | 10713 | else | 
 | 10714 |   echo "$as_me: failed program was:" >&5 | 
 | 10715 |   cat conftest.$ac_ext >&5 | 
 | 10716 |   ac_header_preproc=no | 
 | 10717 | fi | 
 | 10718 | rm -f conftest.err conftest.$ac_ext | 
 | 10719 | echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 | 
 | 10720 | echo "${ECHO_T}$ac_header_preproc" >&6 | 
 | 10721 |  | 
 | 10722 | # So?  What about this header? | 
 | 10723 | case $ac_header_compiler:$ac_header_preproc in | 
 | 10724 |   yes:no ) | 
 | 10725 |     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 | 
 | 10726 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
 | 10727 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 10728 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 10729 |   no:yes ) | 
 | 10730 |     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 | 
 | 10731 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} | 
 | 10732 |     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 | 
 | 10733 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} | 
 | 10734 |     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 | 
 | 10735 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; | 
 | 10736 | esac | 
 | 10737 | echo "$as_me:$LINENO: checking for $ac_header" >&5 | 
 | 10738 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | 
 | 10739 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | 
 | 10740 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10741 | else | 
 | 10742 |   eval "$as_ac_Header=$ac_header_preproc" | 
 | 10743 | fi | 
 | 10744 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 | 
 | 10745 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | 
 | 10746 |  | 
 | 10747 | fi | 
 | 10748 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | 
 | 10749 |   cat >>confdefs.h <<_ACEOF | 
 | 10750 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
 | 10751 | _ACEOF | 
 | 10752 |  | 
 | 10753 | fi | 
 | 10754 |  | 
 | 10755 | done | 
 | 10756 |  | 
 | 10757 |  | 
 | 10758 | for ac_func in getpagesize | 
 | 10759 | do | 
 | 10760 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 10761 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 10762 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 10763 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 10764 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10765 | else | 
 | 10766 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10767 | #line $LINENO "configure" | 
 | 10768 | #include "confdefs.h" | 
 | 10769 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 10770 |     which can conflict with char $ac_func (); below.  */ | 
 | 10771 | #include <assert.h> | 
 | 10772 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 10773 | #ifdef __cplusplus | 
 | 10774 | extern "C" | 
 | 10775 | #endif | 
 | 10776 | /* We use char because int might match the return type of a gcc2 | 
 | 10777 |    builtin and then its argument prototype would still apply.  */ | 
 | 10778 | char $ac_func (); | 
 | 10779 | char (*f) (); | 
 | 10780 |  | 
 | 10781 | #ifdef F77_DUMMY_MAIN | 
 | 10782 | #  ifdef __cplusplus | 
 | 10783 |      extern "C" | 
 | 10784 | #  endif | 
 | 10785 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 10786 | #endif | 
 | 10787 | int | 
 | 10788 | main () | 
 | 10789 | { | 
 | 10790 | /* The GNU C library defines this for functions which it implements | 
 | 10791 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 10792 |     something starting with __ and the normal name is an alias.  */ | 
 | 10793 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 10794 | choke me | 
 | 10795 | #else | 
 | 10796 | f = $ac_func; | 
 | 10797 | #endif | 
 | 10798 |  | 
 | 10799 |   ; | 
 | 10800 |   return 0; | 
 | 10801 | } | 
 | 10802 | _ACEOF | 
 | 10803 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 10804 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10805 |   (eval $ac_link) 2>&5 | 
 | 10806 |   ac_status=$? | 
 | 10807 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10808 |   (exit $ac_status); } && | 
 | 10809 |          { ac_try='test -s conftest$ac_exeext' | 
 | 10810 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10811 |   (eval $ac_try) 2>&5 | 
 | 10812 |   ac_status=$? | 
 | 10813 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10814 |   (exit $ac_status); }; }; then | 
 | 10815 |   eval "$as_ac_var=yes" | 
 | 10816 | else | 
 | 10817 |   echo "$as_me: failed program was:" >&5 | 
 | 10818 | cat conftest.$ac_ext >&5 | 
 | 10819 | eval "$as_ac_var=no" | 
 | 10820 | fi | 
 | 10821 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 10822 | fi | 
 | 10823 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 10824 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 10825 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 10826 |   cat >>confdefs.h <<_ACEOF | 
 | 10827 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 10828 | _ACEOF | 
 | 10829 |  | 
 | 10830 | fi | 
 | 10831 | done | 
 | 10832 |  | 
 | 10833 | echo "$as_me:$LINENO: checking for working mmap" >&5 | 
 | 10834 | echo $ECHO_N "checking for working mmap... $ECHO_C" >&6 | 
 | 10835 | if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then | 
 | 10836 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 10837 | else | 
 | 10838 |   if test "$cross_compiling" = yes; then | 
 | 10839 |   ac_cv_func_mmap_fixed_mapped=no | 
 | 10840 | else | 
 | 10841 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 10842 | #line $LINENO "configure" | 
 | 10843 | #include "confdefs.h" | 
 | 10844 | $ac_includes_default | 
 | 10845 | /* malloc might have been renamed as rpl_malloc. */ | 
 | 10846 | #undef malloc | 
 | 10847 |  | 
 | 10848 | /* Thanks to Mike Haertel and Jim Avera for this test. | 
 | 10849 |    Here is a matrix of mmap possibilities: | 
 | 10850 | 	mmap private not fixed | 
 | 10851 | 	mmap private fixed at somewhere currently unmapped | 
 | 10852 | 	mmap private fixed at somewhere already mapped | 
 | 10853 | 	mmap shared not fixed | 
 | 10854 | 	mmap shared fixed at somewhere currently unmapped | 
 | 10855 | 	mmap shared fixed at somewhere already mapped | 
 | 10856 |    For private mappings, we should verify that changes cannot be read() | 
 | 10857 |    back from the file, nor mmap's back from the file at a different | 
 | 10858 |    address.  (There have been systems where private was not correctly | 
 | 10859 |    implemented like the infamous i386 svr4.0, and systems where the | 
 | 10860 |    VM page cache was not coherent with the file system buffer cache | 
 | 10861 |    like early versions of FreeBSD and possibly contemporary NetBSD.) | 
 | 10862 |    For shared mappings, we should conversely verify that changes get | 
 | 10863 |    propagated back to all the places they're supposed to be. | 
 | 10864 |  | 
 | 10865 |    Grep wants private fixed already mapped. | 
 | 10866 |    The main things grep needs to know about mmap are: | 
 | 10867 |    * does it exist and is it safe to write into the mmap'd area | 
 | 10868 |    * how to use it (BSD variants)  */ | 
 | 10869 |  | 
 | 10870 | #include <fcntl.h> | 
 | 10871 | #include <sys/mman.h> | 
 | 10872 |  | 
 | 10873 | #if !STDC_HEADERS && !HAVE_STDLIB_H | 
 | 10874 | char *malloc (); | 
 | 10875 | #endif | 
 | 10876 |  | 
 | 10877 | /* This mess was copied from the GNU getpagesize.h.  */ | 
 | 10878 | #if !HAVE_GETPAGESIZE | 
 | 10879 | /* Assume that all systems that can run configure have sys/param.h.  */ | 
 | 10880 | # if !HAVE_SYS_PARAM_H | 
 | 10881 | #  define HAVE_SYS_PARAM_H 1 | 
 | 10882 | # endif | 
 | 10883 |  | 
 | 10884 | # ifdef _SC_PAGESIZE | 
 | 10885 | #  define getpagesize() sysconf(_SC_PAGESIZE) | 
 | 10886 | # else /* no _SC_PAGESIZE */ | 
 | 10887 | #  if HAVE_SYS_PARAM_H | 
 | 10888 | #   include <sys/param.h> | 
 | 10889 | #   ifdef EXEC_PAGESIZE | 
 | 10890 | #    define getpagesize() EXEC_PAGESIZE | 
 | 10891 | #   else /* no EXEC_PAGESIZE */ | 
 | 10892 | #    ifdef NBPG | 
 | 10893 | #     define getpagesize() NBPG * CLSIZE | 
 | 10894 | #     ifndef CLSIZE | 
 | 10895 | #      define CLSIZE 1 | 
 | 10896 | #     endif /* no CLSIZE */ | 
 | 10897 | #    else /* no NBPG */ | 
 | 10898 | #     ifdef NBPC | 
 | 10899 | #      define getpagesize() NBPC | 
 | 10900 | #     else /* no NBPC */ | 
 | 10901 | #      ifdef PAGESIZE | 
 | 10902 | #       define getpagesize() PAGESIZE | 
 | 10903 | #      endif /* PAGESIZE */ | 
 | 10904 | #     endif /* no NBPC */ | 
 | 10905 | #    endif /* no NBPG */ | 
 | 10906 | #   endif /* no EXEC_PAGESIZE */ | 
 | 10907 | #  else /* no HAVE_SYS_PARAM_H */ | 
 | 10908 | #   define getpagesize() 8192	/* punt totally */ | 
 | 10909 | #  endif /* no HAVE_SYS_PARAM_H */ | 
 | 10910 | # endif /* no _SC_PAGESIZE */ | 
 | 10911 |  | 
 | 10912 | #endif /* no HAVE_GETPAGESIZE */ | 
 | 10913 |  | 
 | 10914 | int | 
 | 10915 | main () | 
 | 10916 | { | 
 | 10917 |   char *data, *data2, *data3; | 
 | 10918 |   int i, pagesize; | 
 | 10919 |   int fd; | 
 | 10920 |  | 
 | 10921 |   pagesize = getpagesize (); | 
 | 10922 |  | 
 | 10923 |   /* First, make a file with some known garbage in it. */ | 
 | 10924 |   data = (char *) malloc (pagesize); | 
 | 10925 |   if (!data) | 
 | 10926 |     exit (1); | 
 | 10927 |   for (i = 0; i < pagesize; ++i) | 
 | 10928 |     *(data + i) = rand (); | 
 | 10929 |   umask (0); | 
 | 10930 |   fd = creat ("conftest.mmap", 0600); | 
 | 10931 |   if (fd < 0) | 
 | 10932 |     exit (1); | 
 | 10933 |   if (write (fd, data, pagesize) != pagesize) | 
 | 10934 |     exit (1); | 
 | 10935 |   close (fd); | 
 | 10936 |  | 
 | 10937 |   /* Next, try to mmap the file at a fixed address which already has | 
 | 10938 |      something else allocated at it.  If we can, also make sure that | 
 | 10939 |      we see the same garbage.  */ | 
 | 10940 |   fd = open ("conftest.mmap", O_RDWR); | 
 | 10941 |   if (fd < 0) | 
 | 10942 |     exit (1); | 
 | 10943 |   data2 = (char *) malloc (2 * pagesize); | 
 | 10944 |   if (!data2) | 
 | 10945 |     exit (1); | 
 | 10946 |   data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1); | 
 | 10947 |   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE, | 
 | 10948 |                      MAP_PRIVATE | MAP_FIXED, fd, 0L)) | 
 | 10949 |     exit (1); | 
 | 10950 |   for (i = 0; i < pagesize; ++i) | 
 | 10951 |     if (*(data + i) != *(data2 + i)) | 
 | 10952 |       exit (1); | 
 | 10953 |  | 
 | 10954 |   /* Finally, make sure that changes to the mapped area do not | 
 | 10955 |      percolate back to the file as seen by read().  (This is a bug on | 
 | 10956 |      some variants of i386 svr4.0.)  */ | 
 | 10957 |   for (i = 0; i < pagesize; ++i) | 
 | 10958 |     *(data2 + i) = *(data2 + i) + 1; | 
 | 10959 |   data3 = (char *) malloc (pagesize); | 
 | 10960 |   if (!data3) | 
 | 10961 |     exit (1); | 
 | 10962 |   if (read (fd, data3, pagesize) != pagesize) | 
 | 10963 |     exit (1); | 
 | 10964 |   for (i = 0; i < pagesize; ++i) | 
 | 10965 |     if (*(data + i) != *(data3 + i)) | 
 | 10966 |       exit (1); | 
 | 10967 |   close (fd); | 
 | 10968 |   exit (0); | 
 | 10969 | } | 
 | 10970 | _ACEOF | 
 | 10971 | rm -f conftest$ac_exeext | 
 | 10972 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 10973 |   (eval $ac_link) 2>&5 | 
 | 10974 |   ac_status=$? | 
 | 10975 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10976 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 10977 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 10978 |   (eval $ac_try) 2>&5 | 
 | 10979 |   ac_status=$? | 
 | 10980 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 10981 |   (exit $ac_status); }; }; then | 
 | 10982 |   ac_cv_func_mmap_fixed_mapped=yes | 
 | 10983 | else | 
 | 10984 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 10985 | echo "$as_me: failed program was:" >&5 | 
 | 10986 | cat conftest.$ac_ext >&5 | 
 | 10987 | ( exit $ac_status ) | 
 | 10988 | ac_cv_func_mmap_fixed_mapped=no | 
 | 10989 | fi | 
 | 10990 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 10991 | fi | 
 | 10992 | fi | 
 | 10993 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 | 
 | 10994 | echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6 | 
 | 10995 | if test $ac_cv_func_mmap_fixed_mapped = yes; then | 
 | 10996 |  | 
 | 10997 | cat >>confdefs.h <<\_ACEOF | 
 | 10998 | #define HAVE_MMAP 1 | 
 | 10999 | _ACEOF | 
 | 11000 |  | 
 | 11001 | fi | 
 | 11002 | rm -f conftest.mmap | 
 | 11003 |  | 
 | 11004 | echo "$as_me:$LINENO: checking for mmap of files" >&5 | 
 | 11005 | echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6 | 
 | 11006 | if test "${ac_cv_func_mmap_file+set}" = set; then | 
 | 11007 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11008 | else | 
 | 11009 |  | 
 | 11010 |  | 
 | 11011 |   ac_ext=c | 
 | 11012 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11013 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11014 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11015 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11016 |  | 
 | 11017 |   if test "$cross_compiling" = yes; then | 
 | 11018 |   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5 | 
 | 11019 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | 
 | 11020 |    { (exit 1); exit 1; }; } | 
 | 11021 | else | 
 | 11022 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11023 | #line $LINENO "configure" | 
 | 11024 | #include "confdefs.h" | 
 | 11025 |  | 
 | 11026 | #ifdef HAVE_SYS_MMAN_H | 
 | 11027 | #include <sys/mman.h> | 
 | 11028 | #endif | 
 | 11029 |  | 
 | 11030 | #ifdef HAVE_SYS_TYPES_H | 
 | 11031 | #include <sys/types.h> | 
 | 11032 | #endif | 
 | 11033 |  | 
 | 11034 | #ifdef HAVE_FCNTL_H | 
 | 11035 | #include <fcntl.h> | 
 | 11036 | #endif | 
 | 11037 |  | 
 | 11038 |   int fd; | 
 | 11039 |   int main () { | 
 | 11040 |   fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);} | 
 | 11041 | _ACEOF | 
 | 11042 | rm -f conftest$ac_exeext | 
 | 11043 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11044 |   (eval $ac_link) 2>&5 | 
 | 11045 |   ac_status=$? | 
 | 11046 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11047 |   (exit $ac_status); } && { ac_try='./conftest$ac_exeext' | 
 | 11048 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11049 |   (eval $ac_try) 2>&5 | 
 | 11050 |   ac_status=$? | 
 | 11051 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11052 |   (exit $ac_status); }; }; then | 
 | 11053 |   ac_cv_func_mmap_file=yes | 
 | 11054 | else | 
 | 11055 |   echo "$as_me: program exited with status $ac_status" >&5 | 
 | 11056 | echo "$as_me: failed program was:" >&5 | 
 | 11057 | cat conftest.$ac_ext >&5 | 
 | 11058 | ( exit $ac_status ) | 
 | 11059 | ac_cv_func_mmap_file=no | 
 | 11060 | fi | 
 | 11061 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext | 
 | 11062 | fi | 
 | 11063 |   ac_ext=c | 
 | 11064 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11065 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11066 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11067 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11068 |  | 
 | 11069 |  | 
 | 11070 | fi | 
 | 11071 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5 | 
 | 11072 | echo "${ECHO_T}$ac_cv_func_mmap_file" >&6 | 
 | 11073 | if test "$ac_cv_func_mmap_file" = yes; then | 
 | 11074 |    cat >>confdefs.h <<\_ACEOF | 
 | 11075 | #define HAVE_MMAP_FILE 1 | 
 | 11076 | _ACEOF | 
 | 11077 |  | 
 | 11078 |    MMAP_FILE=yes | 
 | 11079 |  | 
 | 11080 | fi | 
 | 11081 |  | 
 | 11082 | if test ${ac_cv_func_mmap_file} = "no" | 
 | 11083 | then | 
 | 11084 | 	{ { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5 | 
 | 11085 | echo "$as_me: error: mmap() of files required but not found" >&2;} | 
 | 11086 |    { (exit 1); exit 1; }; } | 
 | 11087 | fi | 
 | 11088 | echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5 | 
 | 11089 | echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6 | 
 | 11090 | if test "${ac_cv_header_mmap_anon+set}" = set; then | 
 | 11091 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11092 | else | 
 | 11093 |  | 
 | 11094 |  | 
 | 11095 |   ac_ext=c | 
 | 11096 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11097 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11098 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11099 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11100 |  | 
 | 11101 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11102 | #line $LINENO "configure" | 
 | 11103 | #include "confdefs.h" | 
 | 11104 | #include <sys/mman.h> | 
 | 11105 |   #include <unistd.h> | 
 | 11106 |   #include <fcntl.h> | 
 | 11107 | #ifdef F77_DUMMY_MAIN | 
 | 11108 | #  ifdef __cplusplus | 
 | 11109 |      extern "C" | 
 | 11110 | #  endif | 
 | 11111 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11112 | #endif | 
 | 11113 | int | 
 | 11114 | main () | 
 | 11115 | { | 
 | 11116 | mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0); | 
 | 11117 |   ; | 
 | 11118 |   return 0; | 
 | 11119 | } | 
 | 11120 | _ACEOF | 
 | 11121 | rm -f conftest.$ac_objext | 
 | 11122 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 11123 |   (eval $ac_compile) 2>&5 | 
 | 11124 |   ac_status=$? | 
 | 11125 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11126 |   (exit $ac_status); } && | 
 | 11127 |          { ac_try='test -s conftest.$ac_objext' | 
 | 11128 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11129 |   (eval $ac_try) 2>&5 | 
 | 11130 |   ac_status=$? | 
 | 11131 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11132 |   (exit $ac_status); }; }; then | 
 | 11133 |   ac_cv_header_mmap_anon=yes | 
 | 11134 | else | 
 | 11135 |   echo "$as_me: failed program was:" >&5 | 
 | 11136 | cat conftest.$ac_ext >&5 | 
 | 11137 | ac_cv_header_mmap_anon=no | 
 | 11138 | fi | 
 | 11139 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 11140 |   ac_ext=c | 
 | 11141 | ac_cpp='$CPP $CPPFLAGS' | 
 | 11142 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
 | 11143 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
 | 11144 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
 | 11145 |  | 
 | 11146 |  | 
 | 11147 | fi | 
 | 11148 | echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5 | 
 | 11149 | echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6 | 
 | 11150 | if test "$ac_cv_header_mmap_anon" = yes; then | 
 | 11151 |    cat >>confdefs.h <<\_ACEOF | 
 | 11152 | #define HAVE_MMAP_ANONYMOUS 1 | 
 | 11153 | _ACEOF | 
 | 11154 |  | 
 | 11155 | fi | 
 | 11156 |  | 
 | 11157 | echo "$as_me:$LINENO: checking return type of signal handlers" >&5 | 
 | 11158 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 | 
 | 11159 | if test "${ac_cv_type_signal+set}" = set; then | 
 | 11160 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11161 | else | 
 | 11162 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11163 | #line $LINENO "configure" | 
 | 11164 | #include "confdefs.h" | 
 | 11165 | #include <sys/types.h> | 
 | 11166 | #include <signal.h> | 
 | 11167 | #ifdef signal | 
 | 11168 | # undef signal | 
 | 11169 | #endif | 
 | 11170 | #ifdef __cplusplus | 
 | 11171 | extern "C" void (*signal (int, void (*)(int)))(int); | 
 | 11172 | #else | 
 | 11173 | void (*signal ()) (); | 
 | 11174 | #endif | 
 | 11175 |  | 
 | 11176 | #ifdef F77_DUMMY_MAIN | 
 | 11177 | #  ifdef __cplusplus | 
 | 11178 |      extern "C" | 
 | 11179 | #  endif | 
 | 11180 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11181 | #endif | 
 | 11182 | int | 
 | 11183 | main () | 
 | 11184 | { | 
 | 11185 | int i; | 
 | 11186 |   ; | 
 | 11187 |   return 0; | 
 | 11188 | } | 
 | 11189 | _ACEOF | 
 | 11190 | rm -f conftest.$ac_objext | 
 | 11191 | if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 | 
 | 11192 |   (eval $ac_compile) 2>&5 | 
 | 11193 |   ac_status=$? | 
 | 11194 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11195 |   (exit $ac_status); } && | 
 | 11196 |          { ac_try='test -s conftest.$ac_objext' | 
 | 11197 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11198 |   (eval $ac_try) 2>&5 | 
 | 11199 |   ac_status=$? | 
 | 11200 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11201 |   (exit $ac_status); }; }; then | 
 | 11202 |   ac_cv_type_signal=void | 
 | 11203 | else | 
 | 11204 |   echo "$as_me: failed program was:" >&5 | 
 | 11205 | cat conftest.$ac_ext >&5 | 
 | 11206 | ac_cv_type_signal=int | 
 | 11207 | fi | 
 | 11208 | rm -f conftest.$ac_objext conftest.$ac_ext | 
 | 11209 | fi | 
 | 11210 | echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 | 
 | 11211 | echo "${ECHO_T}$ac_cv_type_signal" >&6 | 
 | 11212 |  | 
 | 11213 | cat >>confdefs.h <<_ACEOF | 
 | 11214 | #define RETSIGTYPE $ac_cv_type_signal | 
 | 11215 | _ACEOF | 
 | 11216 |  | 
 | 11217 |  | 
 | 11218 |  | 
 | 11219 |  | 
 | 11220 |  | 
 | 11221 |  | 
 | 11222 |  | 
 | 11223 |  | 
 | 11224 |  | 
 | 11225 |  | 
 | 11226 |  | 
 | 11227 | for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol | 
 | 11228 | do | 
 | 11229 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
 | 11230 | echo "$as_me:$LINENO: checking for $ac_func" >&5 | 
 | 11231 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 | 
 | 11232 | if eval "test \"\${$as_ac_var+set}\" = set"; then | 
 | 11233 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11234 | else | 
 | 11235 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11236 | #line $LINENO "configure" | 
 | 11237 | #include "confdefs.h" | 
 | 11238 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 11239 |     which can conflict with char $ac_func (); below.  */ | 
 | 11240 | #include <assert.h> | 
 | 11241 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11242 | #ifdef __cplusplus | 
 | 11243 | extern "C" | 
 | 11244 | #endif | 
 | 11245 | /* We use char because int might match the return type of a gcc2 | 
 | 11246 |    builtin and then its argument prototype would still apply.  */ | 
 | 11247 | char $ac_func (); | 
 | 11248 | char (*f) (); | 
 | 11249 |  | 
 | 11250 | #ifdef F77_DUMMY_MAIN | 
 | 11251 | #  ifdef __cplusplus | 
 | 11252 |      extern "C" | 
 | 11253 | #  endif | 
 | 11254 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11255 | #endif | 
 | 11256 | int | 
 | 11257 | main () | 
 | 11258 | { | 
 | 11259 | /* The GNU C library defines this for functions which it implements | 
 | 11260 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11261 |     something starting with __ and the normal name is an alias.  */ | 
 | 11262 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | 
 | 11263 | choke me | 
 | 11264 | #else | 
 | 11265 | f = $ac_func; | 
 | 11266 | #endif | 
 | 11267 |  | 
 | 11268 |   ; | 
 | 11269 |   return 0; | 
 | 11270 | } | 
 | 11271 | _ACEOF | 
 | 11272 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11273 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11274 |   (eval $ac_link) 2>&5 | 
 | 11275 |   ac_status=$? | 
 | 11276 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11277 |   (exit $ac_status); } && | 
 | 11278 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11279 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11280 |   (eval $ac_try) 2>&5 | 
 | 11281 |   ac_status=$? | 
 | 11282 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11283 |   (exit $ac_status); }; }; then | 
 | 11284 |   eval "$as_ac_var=yes" | 
 | 11285 | else | 
 | 11286 |   echo "$as_me: failed program was:" >&5 | 
 | 11287 | cat conftest.$ac_ext >&5 | 
 | 11288 | eval "$as_ac_var=no" | 
 | 11289 | fi | 
 | 11290 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11291 | fi | 
 | 11292 | echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5 | 
 | 11293 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 | 
 | 11294 | if test `eval echo '${'$as_ac_var'}'` = yes; then | 
 | 11295 |   cat >>confdefs.h <<_ACEOF | 
 | 11296 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
 | 11297 | _ACEOF | 
 | 11298 |  | 
 | 11299 | fi | 
 | 11300 | done | 
 | 11301 |  | 
 | 11302 |  | 
 | 11303 |  | 
 | 11304 | echo "$as_me:$LINENO: checking for mmap" >&5 | 
 | 11305 | echo $ECHO_N "checking for mmap... $ECHO_C" >&6 | 
 | 11306 | if test "${ac_cv_func_mmap+set}" = set; then | 
 | 11307 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11308 | else | 
 | 11309 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11310 | #line $LINENO "configure" | 
 | 11311 | #include "confdefs.h" | 
 | 11312 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 11313 |     which can conflict with char mmap (); below.  */ | 
 | 11314 | #include <assert.h> | 
 | 11315 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11316 | #ifdef __cplusplus | 
 | 11317 | extern "C" | 
 | 11318 | #endif | 
 | 11319 | /* We use char because int might match the return type of a gcc2 | 
 | 11320 |    builtin and then its argument prototype would still apply.  */ | 
 | 11321 | char mmap (); | 
 | 11322 | char (*f) (); | 
 | 11323 |  | 
 | 11324 | #ifdef F77_DUMMY_MAIN | 
 | 11325 | #  ifdef __cplusplus | 
 | 11326 |      extern "C" | 
 | 11327 | #  endif | 
 | 11328 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11329 | #endif | 
 | 11330 | int | 
 | 11331 | main () | 
 | 11332 | { | 
 | 11333 | /* The GNU C library defines this for functions which it implements | 
 | 11334 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11335 |     something starting with __ and the normal name is an alias.  */ | 
 | 11336 | #if defined (__stub_mmap) || defined (__stub___mmap) | 
 | 11337 | choke me | 
 | 11338 | #else | 
 | 11339 | f = mmap; | 
 | 11340 | #endif | 
 | 11341 |  | 
 | 11342 |   ; | 
 | 11343 |   return 0; | 
 | 11344 | } | 
 | 11345 | _ACEOF | 
 | 11346 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11347 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11348 |   (eval $ac_link) 2>&5 | 
 | 11349 |   ac_status=$? | 
 | 11350 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11351 |   (exit $ac_status); } && | 
 | 11352 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11353 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11354 |   (eval $ac_try) 2>&5 | 
 | 11355 |   ac_status=$? | 
 | 11356 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11357 |   (exit $ac_status); }; }; then | 
 | 11358 |   ac_cv_func_mmap=yes | 
 | 11359 | else | 
 | 11360 |   echo "$as_me: failed program was:" >&5 | 
 | 11361 | cat conftest.$ac_ext >&5 | 
 | 11362 | ac_cv_func_mmap=no | 
 | 11363 | fi | 
 | 11364 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11365 | fi | 
 | 11366 | echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5 | 
 | 11367 | echo "${ECHO_T}$ac_cv_func_mmap" >&6 | 
 | 11368 | if test $ac_cv_func_mmap = yes; then | 
 | 11369 |   : | 
 | 11370 | else | 
 | 11371 |   { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5 | 
 | 11372 | echo "$as_me: error: Function mmap() required but not found" >&2;} | 
 | 11373 |    { (exit 1); exit 1; }; } | 
 | 11374 | fi | 
 | 11375 |  | 
 | 11376 | echo "$as_me:$LINENO: checking for mprotect" >&5 | 
 | 11377 | echo $ECHO_N "checking for mprotect... $ECHO_C" >&6 | 
 | 11378 | if test "${ac_cv_func_mprotect+set}" = set; then | 
 | 11379 |   echo $ECHO_N "(cached) $ECHO_C" >&6 | 
 | 11380 | else | 
 | 11381 |   cat >conftest.$ac_ext <<_ACEOF | 
 | 11382 | #line $LINENO "configure" | 
 | 11383 | #include "confdefs.h" | 
 | 11384 | /* System header to define __stub macros and hopefully few prototypes, | 
 | 11385 |     which can conflict with char mprotect (); below.  */ | 
 | 11386 | #include <assert.h> | 
 | 11387 | /* Override any gcc2 internal prototype to avoid an error.  */ | 
 | 11388 | #ifdef __cplusplus | 
 | 11389 | extern "C" | 
 | 11390 | #endif | 
 | 11391 | /* We use char because int might match the return type of a gcc2 | 
 | 11392 |    builtin and then its argument prototype would still apply.  */ | 
 | 11393 | char mprotect (); | 
 | 11394 | char (*f) (); | 
 | 11395 |  | 
 | 11396 | #ifdef F77_DUMMY_MAIN | 
 | 11397 | #  ifdef __cplusplus | 
 | 11398 |      extern "C" | 
 | 11399 | #  endif | 
 | 11400 |    int F77_DUMMY_MAIN() { return 1; } | 
 | 11401 | #endif | 
 | 11402 | int | 
 | 11403 | main () | 
 | 11404 | { | 
 | 11405 | /* The GNU C library defines this for functions which it implements | 
 | 11406 |     to always fail with ENOSYS.  Some functions are actually named | 
 | 11407 |     something starting with __ and the normal name is an alias.  */ | 
 | 11408 | #if defined (__stub_mprotect) || defined (__stub___mprotect) | 
 | 11409 | choke me | 
 | 11410 | #else | 
 | 11411 | f = mprotect; | 
 | 11412 | #endif | 
 | 11413 |  | 
 | 11414 |   ; | 
 | 11415 |   return 0; | 
 | 11416 | } | 
 | 11417 | _ACEOF | 
 | 11418 | rm -f conftest.$ac_objext conftest$ac_exeext | 
 | 11419 | if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 | 
 | 11420 |   (eval $ac_link) 2>&5 | 
 | 11421 |   ac_status=$? | 
 | 11422 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11423 |   (exit $ac_status); } && | 
 | 11424 |          { ac_try='test -s conftest$ac_exeext' | 
 | 11425 |   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 | 
 | 11426 |   (eval $ac_try) 2>&5 | 
 | 11427 |   ac_status=$? | 
 | 11428 |   echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
 | 11429 |   (exit $ac_status); }; }; then | 
 | 11430 |   ac_cv_func_mprotect=yes | 
 | 11431 | else | 
 | 11432 |   echo "$as_me: failed program was:" >&5 | 
 | 11433 | cat conftest.$ac_ext >&5 | 
 | 11434 | ac_cv_func_mprotect=no | 
 | 11435 | fi | 
 | 11436 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | 
 | 11437 | fi | 
 | 11438 | echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5 | 
 | 11439 | echo "${ECHO_T}$ac_cv_func_mprotect" >&6 | 
 | 11440 | if test $ac_cv_func_mprotect = yes; then | 
 | 11441 |   : | 
 | 11442 | else | 
 | 11443 |   { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5 | 
 | 11444 | echo "$as_me: error: Function mprotect() required but not found" >&2;} | 
 | 11445 |    { (exit 1); exit 1; }; } | 
 | 11446 | fi | 
 | 11447 |  | 
 | 11448 |  | 
 | 11449 | # Check whether --enable-purify or --disable-purify was given. | 
 | 11450 | if test "${enable_purify+set}" = set; then | 
 | 11451 |   enableval="$enable_purify" | 
 | 11452 |   ENABLE_PURIFY=ENABLE_PURIFY=1 | 
 | 11453 |  | 
 | 11454 | else | 
 | 11455 |   ENABLE_PURIFY= | 
 | 11456 |  | 
 | 11457 | fi; | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 11458 | # Check whether --enable-optimized or --disable-optimized was given. | 
 | 11459 | if test "${enable_optimized+set}" = set; then | 
 | 11460 |   enableval="$enable_optimized" | 
 | 11461 |   ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1 | 
 | 11462 |  | 
 | 11463 | else | 
 | 11464 |   ENABLE_OPTIMIZED= | 
 | 11465 |  | 
 | 11466 | fi; | 
 | 11467 | # Check whether --enable-spec or --disable-spec was given. | 
 | 11468 | if test "${enable_spec+set}" = set; then | 
 | 11469 |   enableval="$enable_spec" | 
 | 11470 |   USE_SPEC=USE_SPEC=1 | 
 | 11471 |  | 
 | 11472 | else | 
 | 11473 |   USE_SPEC= | 
 | 11474 |  | 
 | 11475 | fi; | 
 | 11476 | # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given. | 
 | 11477 | if test "${enable_precompiled_bytecode+set}" = set; then | 
 | 11478 |   enableval="$enable_precompiled_bytecode" | 
 | 11479 |   UPB=USE_PRECOMPILED_BYTECODE=1 | 
 | 11480 |  | 
 | 11481 | else | 
 | 11482 |   UPB= | 
 | 11483 |  | 
 | 11484 | fi; | 
 | 11485 | case $build in | 
 | 11486 | 	*i*86*)  # Check whether --enable-jit or --disable-jit was given. | 
 | 11487 | if test "${enable_jit+set}" = set; then | 
 | 11488 |   enableval="$enable_jit" | 
 | 11489 |   JIT=TARGET_HAS_JIT=1 | 
 | 11490 |  | 
 | 11491 | else | 
 | 11492 |   JIT= | 
 | 11493 |  | 
 | 11494 | fi; | 
 | 11495 | 	         ;; | 
 | 11496 | 	*) | 
 | 11497 | 	         ;; | 
 | 11498 | esac | 
 | 11499 |  | 
 | 11500 |  | 
 | 11501 | # Check whether --with-spec or --without-spec was given. | 
 | 11502 | if test "${with_spec+set}" = set; then | 
 | 11503 |   withval="$with_spec" | 
 | 11504 |   SPEC_ROOT=$withval | 
 | 11505 |  | 
 | 11506 | else | 
 | 11507 |   SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec | 
 | 11508 |  | 
 | 11509 | fi; | 
 | 11510 |  | 
 | 11511 | # Check whether --with-llvmgccdir or --without-llvmgccdir was given. | 
 | 11512 | if test "${with_llvmgccdir+set}" = set; then | 
 | 11513 |   withval="$with_llvmgccdir" | 
 | 11514 |   LLVMGCCDIR=$withval | 
 | 11515 |  | 
 | 11516 | fi; | 
 | 11517 |  | 
 | 11518 | # Check whether --with-bcrepos or --without-bcrepos was given. | 
 | 11519 | if test "${with_bcrepos+set}" = set; then | 
 | 11520 |   withval="$with_bcrepos" | 
 | 11521 |   BCR=$withval | 
 | 11522 |  | 
 | 11523 | else | 
 | 11524 |   BCR=/home/vadve/lattner/LLVMPrograms | 
 | 11525 |  | 
 | 11526 | fi; | 
 | 11527 |  | 
 | 11528 | # Check whether --with-papi or --without-papi was given. | 
 | 11529 | if test "${with_papi+set}" = set; then | 
 | 11530 |   withval="$with_papi" | 
 | 11531 |   PAPIDIR=$withval | 
 | 11532 |  | 
 | 11533 | else | 
 | 11534 |   PAPIDIR=/home/vadve/shared/papi-2.3.4.1 | 
 | 11535 |  | 
 | 11536 | fi; | 
 | 11537 |  | 
 | 11538 | # Check whether --with-objroot or --without-objroot was given. | 
 | 11539 | if test "${with_objroot+set}" = set; then | 
 | 11540 |   withval="$with_objroot" | 
 | 11541 |   OBJROOT=$withval | 
 | 11542 |  | 
 | 11543 | else | 
 | 11544 |   OBJROOT=. | 
 | 11545 |  | 
 | 11546 | fi; | 
 | 11547 |  | 
 | 11548 | # Check whether --with-purify or --without-purify was given. | 
 | 11549 | if test "${with_purify+set}" = set; then | 
 | 11550 |   withval="$with_purify" | 
 | 11551 |   PURIFY=$withval | 
 | 11552 |  | 
 | 11553 | fi; | 
 | 11554 |  | 
 | 11555 | ac_config_files="$ac_config_files Makefile.config" | 
 | 11556 | cat >confcache <<\_ACEOF | 
 | 11557 | # This file is a shell script that caches the results of configure | 
 | 11558 | # tests run on this system so they can be shared between configure | 
 | 11559 | # scripts and configure runs, see configure's option --config-cache. | 
 | 11560 | # It is not useful on other systems.  If it contains results you don't | 
 | 11561 | # want to keep, you may remove or edit it. | 
 | 11562 | # | 
 | 11563 | # config.status only pays attention to the cache file if you give it | 
 | 11564 | # the --recheck option to rerun configure. | 
 | 11565 | # | 
 | 11566 | # `ac_cv_env_foo' variables (set or unset) will be overriden when | 
 | 11567 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
 | 11568 | # following values. | 
 | 11569 |  | 
 | 11570 | _ACEOF | 
 | 11571 |  | 
 | 11572 | # The following way of writing the cache mishandles newlines in values, | 
 | 11573 | # but we know of no workaround that is simple, portable, and efficient. | 
 | 11574 | # So, don't put newlines in cache variables' values. | 
 | 11575 | # Ultrix sh set writes to stderr and can't be redirected directly, | 
 | 11576 | # and sets the high bit in the cache file unless we assign to the vars. | 
 | 11577 | { | 
 | 11578 |   (set) 2>&1 | | 
 | 11579 |     case `(ac_space=' '; set | grep ac_space) 2>&1` in | 
 | 11580 |     *ac_space=\ *) | 
 | 11581 |       # `set' does not quote correctly, so add quotes (double-quote | 
 | 11582 |       # substitution turns \\\\ into \\, and sed turns \\ into \). | 
 | 11583 |       sed -n \ | 
 | 11584 |         "s/'/'\\\\''/g; | 
 | 11585 |     	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
 | 11586 |       ;; | 
 | 11587 |     *) | 
 | 11588 |       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
 | 11589 |       sed -n \ | 
 | 11590 |         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | 
 | 11591 |       ;; | 
 | 11592 |     esac; | 
 | 11593 | } | | 
 | 11594 |   sed ' | 
 | 11595 |      t clear | 
 | 11596 |      : clear | 
 | 11597 |      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
 | 11598 |      t end | 
 | 11599 |      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
 | 11600 |      : end' >>confcache | 
 | 11601 | if cmp -s $cache_file confcache; then :; else | 
 | 11602 |   if test -w $cache_file; then | 
 | 11603 |     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" | 
 | 11604 |     cat confcache >$cache_file | 
 | 11605 |   else | 
 | 11606 |     echo "not updating unwritable cache $cache_file" | 
 | 11607 |   fi | 
 | 11608 | fi | 
 | 11609 | rm -f confcache | 
 | 11610 |  | 
 | 11611 | test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
 | 11612 | # Let make expand exec_prefix. | 
 | 11613 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
 | 11614 |  | 
 | 11615 | # VPATH may cause trouble with some makes, so we remove $(srcdir), | 
 | 11616 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | 
 | 11617 | # trailing colons and then remove the whole line if VPATH becomes empty | 
 | 11618 | # (actually we leave an empty line to preserve line numbers). | 
 | 11619 | if test "x$srcdir" = x.; then | 
 | 11620 |   ac_vpsub='/^[ 	]*VPATH[ 	]*=/{ | 
 | 11621 | s/:*\$(srcdir):*/:/; | 
 | 11622 | s/:*\${srcdir}:*/:/; | 
 | 11623 | s/:*@srcdir@:*/:/; | 
 | 11624 | s/^\([^=]*=[ 	]*\):*/\1/; | 
 | 11625 | s/:*$//; | 
 | 11626 | s/^[^=]*=[ 	]*$//; | 
 | 11627 | }' | 
 | 11628 | fi | 
 | 11629 |  | 
 | 11630 | DEFS=-DHAVE_CONFIG_H | 
 | 11631 |  | 
 | 11632 |  | 
 | 11633 | : ${CONFIG_STATUS=./config.status} | 
 | 11634 | ac_clean_files_save=$ac_clean_files | 
 | 11635 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
 | 11636 | { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 | 
 | 11637 | echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
 | 11638 | cat >$CONFIG_STATUS <<_ACEOF | 
 | 11639 | #! $SHELL | 
 | 11640 | # Generated by $as_me. | 
 | 11641 | # Run this file to recreate the current configuration. | 
 | 11642 | # Compiler output produced by configure, useful for debugging | 
 | 11643 | # configure, is in config.log if it exists. | 
 | 11644 |  | 
 | 11645 | debug=false | 
 | 11646 | SHELL=\${CONFIG_SHELL-$SHELL} | 
 | 11647 | _ACEOF | 
 | 11648 |  | 
 | 11649 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11650 |  | 
 | 11651 | ## --------------------- ## | 
 | 11652 | ## M4sh Initialization.  ## | 
 | 11653 | ## --------------------- ## | 
 | 11654 |  | 
 | 11655 | # Be Bourne compatible | 
 | 11656 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | 
 | 11657 |   emulate sh | 
 | 11658 |   NULLCMD=: | 
 | 11659 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | 
 | 11660 |   set -o posix | 
 | 11661 | fi | 
 | 11662 |  | 
 | 11663 | # NLS nuisances. | 
 | 11664 | # Support unset when possible. | 
 | 11665 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | 
 | 11666 |   as_unset=unset | 
 | 11667 | else | 
 | 11668 |   as_unset=false | 
 | 11669 | fi | 
 | 11670 |  | 
 | 11671 | (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && | 
 | 11672 |     { $as_unset LANG || test "${LANG+set}" != set; } || | 
 | 11673 |       { LANG=C; export LANG; } | 
 | 11674 | (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && | 
 | 11675 |     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || | 
 | 11676 |       { LC_ALL=C; export LC_ALL; } | 
 | 11677 | (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && | 
 | 11678 |     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || | 
 | 11679 |       { LC_TIME=C; export LC_TIME; } | 
 | 11680 | (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && | 
 | 11681 |     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || | 
 | 11682 |       { LC_CTYPE=C; export LC_CTYPE; } | 
 | 11683 | (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && | 
 | 11684 |     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || | 
 | 11685 |       { LANGUAGE=C; export LANGUAGE; } | 
 | 11686 | (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && | 
 | 11687 |     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || | 
 | 11688 |       { LC_COLLATE=C; export LC_COLLATE; } | 
 | 11689 | (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && | 
 | 11690 |     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || | 
 | 11691 |       { LC_NUMERIC=C; export LC_NUMERIC; } | 
 | 11692 | (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && | 
 | 11693 |     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || | 
 | 11694 |       { LC_MESSAGES=C; export LC_MESSAGES; } | 
 | 11695 |  | 
 | 11696 |  | 
 | 11697 | # Name of the executable. | 
 | 11698 | as_me=`(basename "$0") 2>/dev/null || | 
 | 11699 | $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
 | 11700 | 	 X"$0" : 'X\(//\)$' \| \ | 
 | 11701 | 	 X"$0" : 'X\(/\)$' \| \ | 
 | 11702 | 	 .     : '\(.\)' 2>/dev/null || | 
 | 11703 | echo X/"$0" | | 
 | 11704 |     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } | 
 | 11705 |   	  /^X\/\(\/\/\)$/{ s//\1/; q; } | 
 | 11706 |   	  /^X\/\(\/\).*/{ s//\1/; q; } | 
 | 11707 |   	  s/.*/./; q'` | 
 | 11708 |  | 
 | 11709 | # PATH needs CR, and LINENO needs CR and PATH. | 
 | 11710 | # Avoid depending upon Character Ranges. | 
 | 11711 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
 | 11712 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
 | 11713 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
 | 11714 | as_cr_digits='0123456789' | 
 | 11715 | as_cr_alnum=$as_cr_Letters$as_cr_digits | 
 | 11716 |  | 
 | 11717 | # The user is always right. | 
 | 11718 | if test "${PATH_SEPARATOR+set}" != set; then | 
 | 11719 |   echo "#! /bin/sh" >conftest.sh | 
 | 11720 |   echo  "exit 0"   >>conftest.sh | 
 | 11721 |   chmod +x conftest.sh | 
 | 11722 |   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then | 
 | 11723 |     PATH_SEPARATOR=';' | 
 | 11724 |   else | 
 | 11725 |     PATH_SEPARATOR=: | 
 | 11726 |   fi | 
 | 11727 |   rm -f conftest.sh | 
 | 11728 | fi | 
 | 11729 |  | 
 | 11730 |  | 
 | 11731 |   as_lineno_1=$LINENO | 
 | 11732 |   as_lineno_2=$LINENO | 
 | 11733 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 11734 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 11735 |   test "x$as_lineno_3"  = "x$as_lineno_2"  || { | 
 | 11736 |   # Find who we are.  Look in the path if we contain no path at all | 
 | 11737 |   # relative or not. | 
 | 11738 |   case $0 in | 
 | 11739 |     *[\\/]* ) as_myself=$0 ;; | 
 | 11740 |     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 11741 | for as_dir in $PATH | 
 | 11742 | do | 
 | 11743 |   IFS=$as_save_IFS | 
 | 11744 |   test -z "$as_dir" && as_dir=. | 
 | 11745 |   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
 | 11746 | done | 
 | 11747 |  | 
 | 11748 |        ;; | 
 | 11749 |   esac | 
 | 11750 |   # We did not find ourselves, most probably we were run as `sh COMMAND' | 
 | 11751 |   # in which case we are not to be found in the path. | 
 | 11752 |   if test "x$as_myself" = x; then | 
 | 11753 |     as_myself=$0 | 
 | 11754 |   fi | 
 | 11755 |   if test ! -f "$as_myself"; then | 
 | 11756 |     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 | 
 | 11757 | echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} | 
 | 11758 |    { (exit 1); exit 1; }; } | 
 | 11759 |   fi | 
 | 11760 |   case $CONFIG_SHELL in | 
 | 11761 |   '') | 
 | 11762 |     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
 | 11763 | for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
 | 11764 | do | 
 | 11765 |   IFS=$as_save_IFS | 
 | 11766 |   test -z "$as_dir" && as_dir=. | 
 | 11767 |   for as_base in sh bash ksh sh5; do | 
 | 11768 | 	 case $as_dir in | 
 | 11769 | 	 /*) | 
 | 11770 | 	   if ("$as_dir/$as_base" -c ' | 
 | 11771 |   as_lineno_1=$LINENO | 
 | 11772 |   as_lineno_2=$LINENO | 
 | 11773 |   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` | 
 | 11774 |   test "x$as_lineno_1" != "x$as_lineno_2" && | 
 | 11775 |   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then | 
 | 11776 | 	     CONFIG_SHELL=$as_dir/$as_base | 
 | 11777 | 	     export CONFIG_SHELL | 
 | 11778 | 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"} | 
 | 11779 | 	   fi;; | 
 | 11780 | 	 esac | 
 | 11781 |        done | 
 | 11782 | done | 
 | 11783 | ;; | 
 | 11784 |   esac | 
 | 11785 |  | 
 | 11786 |   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO | 
 | 11787 |   # uniformly replaced by the line number.  The first 'sed' inserts a | 
 | 11788 |   # line-number line before each line; the second 'sed' does the real | 
 | 11789 |   # work.  The second script uses 'N' to pair each line-number line | 
 | 11790 |   # with the numbered line, and appends trailing '-' during | 
 | 11791 |   # substitution so that $LINENO is not a special case at line end. | 
 | 11792 |   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the | 
 | 11793 |   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-) | 
 | 11794 |   sed '=' <$as_myself | | 
 | 11795 |     sed ' | 
 | 11796 |       N | 
 | 11797 |       s,$,-, | 
 | 11798 |       : loop | 
 | 11799 |       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, | 
 | 11800 |       t loop | 
 | 11801 |       s,-$,, | 
 | 11802 |       s,^['$as_cr_digits']*\n,, | 
 | 11803 |     ' >$as_me.lineno && | 
 | 11804 |   chmod +x $as_me.lineno || | 
 | 11805 |     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 | 
 | 11806 | echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} | 
 | 11807 |    { (exit 1); exit 1; }; } | 
 | 11808 |  | 
 | 11809 |   # Don't try to exec as it changes $[0], causing all sort of problems | 
 | 11810 |   # (the dirname of $[0] is not the place where we might find the | 
 | 11811 |   # original and so on.  Autoconf is especially sensible to this). | 
 | 11812 |   . ./$as_me.lineno | 
 | 11813 |   # Exit status is that of the last command. | 
 | 11814 |   exit | 
 | 11815 | } | 
 | 11816 |  | 
 | 11817 |  | 
 | 11818 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in | 
 | 11819 |   *c*,-n*) ECHO_N= ECHO_C=' | 
 | 11820 | ' ECHO_T='	' ;; | 
 | 11821 |   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;; | 
 | 11822 |   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;; | 
 | 11823 | esac | 
 | 11824 |  | 
 | 11825 | if expr a : '\(a\)' >/dev/null 2>&1; then | 
 | 11826 |   as_expr=expr | 
 | 11827 | else | 
 | 11828 |   as_expr=false | 
 | 11829 | fi | 
 | 11830 |  | 
 | 11831 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 11832 | echo >conf$$.file | 
 | 11833 | if ln -s conf$$.file conf$$ 2>/dev/null; then | 
 | 11834 |   # We could just check for DJGPP; but this test a) works b) is more generic | 
 | 11835 |   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | 
 | 11836 |   if test -f conf$$.exe; then | 
 | 11837 |     # Don't use ln at all; we don't have any links | 
 | 11838 |     as_ln_s='cp -p' | 
 | 11839 |   else | 
 | 11840 |     as_ln_s='ln -s' | 
 | 11841 |   fi | 
 | 11842 | elif ln conf$$.file conf$$ 2>/dev/null; then | 
 | 11843 |   as_ln_s=ln | 
 | 11844 | else | 
 | 11845 |   as_ln_s='cp -p' | 
 | 11846 | fi | 
 | 11847 | rm -f conf$$ conf$$.exe conf$$.file | 
 | 11848 |  | 
 | 11849 | as_executable_p="test -f" | 
 | 11850 |  | 
 | 11851 | # Sed expression to map a string onto a valid CPP name. | 
 | 11852 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | 
 | 11853 |  | 
 | 11854 | # Sed expression to map a string onto a valid variable name. | 
 | 11855 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | 
 | 11856 |  | 
 | 11857 |  | 
 | 11858 | # IFS | 
 | 11859 | # We need space, tab and new line, in precisely that order. | 
 | 11860 | as_nl=' | 
 | 11861 | ' | 
 | 11862 | IFS=" 	$as_nl" | 
 | 11863 |  | 
 | 11864 | # CDPATH. | 
 | 11865 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } | 
 | 11866 |  | 
 | 11867 | exec 6>&1 | 
 | 11868 |  | 
 | 11869 | # Open the log real soon, to keep \$[0] and so on meaningful, and to | 
 | 11870 | # report actual input values of CONFIG_FILES etc. instead of their | 
 | 11871 | # values after options handling.  Logging --version etc. is OK. | 
 | 11872 | exec 5>>config.log | 
 | 11873 | { | 
 | 11874 |   echo | 
 | 11875 |   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
 | 11876 | ## Running $as_me. ## | 
 | 11877 | _ASBOX | 
 | 11878 | } >&5 | 
 | 11879 | cat >&5 <<_CSEOF | 
 | 11880 |  | 
 | 11881 | This file was extended by [LLVM] $as_me [1.0], which was | 
 | 11882 | generated by GNU Autoconf 2.53.  Invocation command line was | 
 | 11883 |  | 
 | 11884 |   CONFIG_FILES    = $CONFIG_FILES | 
 | 11885 |   CONFIG_HEADERS  = $CONFIG_HEADERS | 
 | 11886 |   CONFIG_LINKS    = $CONFIG_LINKS | 
 | 11887 |   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
 | 11888 |   $ $0 $@ | 
 | 11889 |  | 
 | 11890 | _CSEOF | 
 | 11891 | echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 | 
 | 11892 | echo >&5 | 
 | 11893 | _ACEOF | 
 | 11894 |  | 
 | 11895 | # Files that config.status was made for. | 
 | 11896 | if test -n "$ac_config_files"; then | 
 | 11897 |   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | 
 | 11898 | fi | 
 | 11899 |  | 
 | 11900 | if test -n "$ac_config_headers"; then | 
 | 11901 |   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | 
 | 11902 | fi | 
 | 11903 |  | 
 | 11904 | if test -n "$ac_config_links"; then | 
 | 11905 |   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | 
 | 11906 | fi | 
 | 11907 |  | 
 | 11908 | if test -n "$ac_config_commands"; then | 
 | 11909 |   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | 
 | 11910 | fi | 
 | 11911 |  | 
 | 11912 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11913 |  | 
 | 11914 | ac_cs_usage="\ | 
 | 11915 | \`$as_me' instantiates files from templates according to the | 
 | 11916 | current configuration. | 
 | 11917 |  | 
 | 11918 | Usage: $0 [OPTIONS] [FILE]... | 
 | 11919 |  | 
 | 11920 |   -h, --help       print this help, then exit | 
 | 11921 |   -V, --version    print version number, then exit | 
 | 11922 |   -d, --debug      don't remove temporary files | 
 | 11923 |       --recheck    update $as_me by reconfiguring in the same conditions | 
 | 11924 |   --file=FILE[:TEMPLATE] | 
 | 11925 |                    instantiate the configuration file FILE | 
 | 11926 |   --header=FILE[:TEMPLATE] | 
 | 11927 |                    instantiate the configuration header FILE | 
 | 11928 |  | 
 | 11929 | Configuration files: | 
 | 11930 | $config_files | 
 | 11931 |  | 
 | 11932 | Configuration headers: | 
 | 11933 | $config_headers | 
 | 11934 |  | 
 | 11935 | Report bugs to <bug-autoconf@gnu.org>." | 
 | 11936 | _ACEOF | 
 | 11937 |  | 
 | 11938 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 11939 | ac_cs_version="\\ | 
 | 11940 | [LLVM] config.status [1.0] | 
 | 11941 | configured by $0, generated by GNU Autoconf 2.53, | 
 | 11942 |   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" | 
 | 11943 |  | 
 | 11944 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | 
 | 11945 | Free Software Foundation, Inc. | 
 | 11946 | This config.status script is free software; the Free Software Foundation | 
 | 11947 | gives unlimited permission to copy, distribute and modify it." | 
 | 11948 | srcdir=$srcdir | 
 | 11949 | INSTALL="$INSTALL" | 
 | 11950 | _ACEOF | 
 | 11951 |  | 
 | 11952 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11953 | # If no file are specified by the user, then we need to provide default | 
 | 11954 | # value.  By we need to know if files were specified by the user. | 
 | 11955 | ac_need_defaults=: | 
 | 11956 | while test $# != 0 | 
 | 11957 | do | 
 | 11958 |   case $1 in | 
 | 11959 |   --*=*) | 
 | 11960 |     ac_option=`expr "x$1" : 'x\([^=]*\)='` | 
 | 11961 |     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | 
 | 11962 |     shift | 
 | 11963 |     set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | 
 | 11964 |     shift | 
 | 11965 |     ;; | 
 | 11966 |   -*);; | 
 | 11967 |   *) # This is not an option, so the user has probably given explicit | 
 | 11968 |      # arguments. | 
 | 11969 |      ac_need_defaults=false;; | 
 | 11970 |   esac | 
 | 11971 |  | 
 | 11972 |   case $1 in | 
 | 11973 |   # Handling of the options. | 
 | 11974 | _ACEOF | 
 | 11975 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 11976 |   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
 | 11977 |     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | 
 | 11978 |     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | 
 | 11979 | _ACEOF | 
 | 11980 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 11981 |   --version | --vers* | -V ) | 
 | 11982 |     echo "$ac_cs_version"; exit 0 ;; | 
 | 11983 |   --he | --h) | 
 | 11984 |     # Conflict between --help and --header | 
 | 11985 |     { { echo "$as_me:$LINENO: error: ambiguous option: $1 | 
 | 11986 | Try \`$0 --help' for more information." >&5 | 
 | 11987 | echo "$as_me: error: ambiguous option: $1 | 
 | 11988 | Try \`$0 --help' for more information." >&2;} | 
 | 11989 |    { (exit 1); exit 1; }; };; | 
 | 11990 |   --help | --hel | -h ) | 
 | 11991 |     echo "$ac_cs_usage"; exit 0 ;; | 
 | 11992 |   --debug | --d* | -d ) | 
 | 11993 |     debug=: ;; | 
 | 11994 |   --file | --fil | --fi | --f ) | 
 | 11995 |     shift | 
 | 11996 |     CONFIG_FILES="$CONFIG_FILES $1" | 
 | 11997 |     ac_need_defaults=false;; | 
 | 11998 |   --header | --heade | --head | --hea ) | 
 | 11999 |     shift | 
 | 12000 |     CONFIG_HEADERS="$CONFIG_HEADERS $1" | 
 | 12001 |     ac_need_defaults=false;; | 
 | 12002 |  | 
 | 12003 |   # This is an error. | 
 | 12004 |   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 | 
 | 12005 | Try \`$0 --help' for more information." >&5 | 
 | 12006 | echo "$as_me: error: unrecognized option: $1 | 
 | 12007 | Try \`$0 --help' for more information." >&2;} | 
 | 12008 |    { (exit 1); exit 1; }; } ;; | 
 | 12009 |  | 
 | 12010 |   *) ac_config_targets="$ac_config_targets $1" ;; | 
 | 12011 |  | 
 | 12012 |   esac | 
 | 12013 |   shift | 
 | 12014 | done | 
 | 12015 |  | 
 | 12016 | _ACEOF | 
 | 12017 |  | 
 | 12018 |  | 
 | 12019 |  | 
 | 12020 |  | 
 | 12021 |  | 
 | 12022 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12023 | for ac_config_target in $ac_config_targets | 
 | 12024 | do | 
 | 12025 |   case "$ac_config_target" in | 
 | 12026 |   # Handling of arguments. | 
 | 12027 |   "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;; | 
 | 12028 |   "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;; | 
 | 12029 |   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 | 
 | 12030 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} | 
 | 12031 |    { (exit 1); exit 1; }; };; | 
 | 12032 |   esac | 
 | 12033 | done | 
 | 12034 |  | 
 | 12035 | # If the user did not use the arguments to specify the items to instantiate, | 
 | 12036 | # then the envvar interface is used.  Set only those that are not. | 
 | 12037 | # We use the long form for the default assignment because of an extremely | 
 | 12038 | # bizarre bug on SunOS 4.1.3. | 
 | 12039 | if $ac_need_defaults; then | 
 | 12040 |   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
 | 12041 |   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | 
 | 12042 | fi | 
 | 12043 |  | 
 | 12044 | # Create a temporary directory, and hook for its removal unless debugging. | 
 | 12045 | $debug || | 
 | 12046 | { | 
 | 12047 |   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | 
 | 12048 |   trap '{ (exit 1); exit 1; }' 1 2 13 15 | 
 | 12049 | } | 
 | 12050 |  | 
 | 12051 | # Create a (secure) tmp directory for tmp files. | 
 | 12052 | : ${TMPDIR=/tmp} | 
 | 12053 | { | 
 | 12054 |   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | 
 | 12055 |   test -n "$tmp" && test -d "$tmp" | 
 | 12056 | }  || | 
 | 12057 | { | 
 | 12058 |   tmp=$TMPDIR/cs$$-$RANDOM | 
 | 12059 |   (umask 077 && mkdir $tmp) | 
 | 12060 | } || | 
 | 12061 | { | 
 | 12062 |    echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | 
 | 12063 |    { (exit 1); exit 1; } | 
 | 12064 | } | 
 | 12065 |  | 
 | 12066 | _ACEOF | 
 | 12067 |  | 
 | 12068 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 12069 |  | 
 | 12070 | # | 
 | 12071 | # CONFIG_FILES section. | 
 | 12072 | # | 
 | 12073 |  | 
 | 12074 | # No need to generate the scripts if there are no CONFIG_FILES. | 
 | 12075 | # This happens for instance when ./config.status config.h | 
 | 12076 | if test -n "\$CONFIG_FILES"; then | 
 | 12077 |   # Protect against being on the right side of a sed subst in config.status. | 
 | 12078 |   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | 
 | 12079 |    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | 
 | 12080 | s,@SHELL@,$SHELL,;t t | 
 | 12081 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t | 
 | 12082 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | 
 | 12083 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | 
 | 12084 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | 
 | 12085 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | 
 | 12086 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | 
 | 12087 | s,@exec_prefix@,$exec_prefix,;t t | 
 | 12088 | s,@prefix@,$prefix,;t t | 
 | 12089 | s,@program_transform_name@,$program_transform_name,;t t | 
 | 12090 | s,@bindir@,$bindir,;t t | 
 | 12091 | s,@sbindir@,$sbindir,;t t | 
 | 12092 | s,@libexecdir@,$libexecdir,;t t | 
 | 12093 | s,@datadir@,$datadir,;t t | 
 | 12094 | s,@sysconfdir@,$sysconfdir,;t t | 
 | 12095 | s,@sharedstatedir@,$sharedstatedir,;t t | 
 | 12096 | s,@localstatedir@,$localstatedir,;t t | 
 | 12097 | s,@libdir@,$libdir,;t t | 
 | 12098 | s,@includedir@,$includedir,;t t | 
 | 12099 | s,@oldincludedir@,$oldincludedir,;t t | 
 | 12100 | s,@infodir@,$infodir,;t t | 
 | 12101 | s,@mandir@,$mandir,;t t | 
 | 12102 | s,@build_alias@,$build_alias,;t t | 
 | 12103 | s,@host_alias@,$host_alias,;t t | 
 | 12104 | s,@target_alias@,$target_alias,;t t | 
 | 12105 | s,@DEFS@,$DEFS,;t t | 
 | 12106 | s,@ECHO_C@,$ECHO_C,;t t | 
 | 12107 | s,@ECHO_N@,$ECHO_N,;t t | 
 | 12108 | s,@ECHO_T@,$ECHO_T,;t t | 
 | 12109 | s,@LIBS@,$LIBS,;t t | 
 | 12110 | s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t | 
 | 12111 | s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t | 
 | 12112 | s,@INSTALL_DATA@,$INSTALL_DATA,;t t | 
 | 12113 | s,@build@,$build,;t t | 
 | 12114 | s,@build_cpu@,$build_cpu,;t t | 
 | 12115 | s,@build_vendor@,$build_vendor,;t t | 
 | 12116 | s,@build_os@,$build_os,;t t | 
 | 12117 | s,@host@,$host,;t t | 
 | 12118 | s,@host_cpu@,$host_cpu,;t t | 
 | 12119 | s,@host_vendor@,$host_vendor,;t t | 
 | 12120 | s,@host_os@,$host_os,;t t | 
 | 12121 | s,@target@,$target,;t t | 
 | 12122 | s,@target_cpu@,$target_cpu,;t t | 
 | 12123 | s,@target_vendor@,$target_vendor,;t t | 
 | 12124 | s,@target_os@,$target_os,;t t | 
 | 12125 | s,@OS@,$OS,;t t | 
 | 12126 | s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t | 
 | 12127 | s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t | 
| John Criswell | 7659545 | 2003-07-01 22:07:39 +0000 | [diff] [blame] | 12128 | s,@ARCH@,$ARCH,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 12129 | s,@CXX@,$CXX,;t t | 
 | 12130 | s,@CXXFLAGS@,$CXXFLAGS,;t t | 
 | 12131 | s,@LDFLAGS@,$LDFLAGS,;t t | 
 | 12132 | s,@CPPFLAGS@,$CPPFLAGS,;t t | 
 | 12133 | s,@ac_ct_CXX@,$ac_ct_CXX,;t t | 
 | 12134 | s,@EXEEXT@,$EXEEXT,;t t | 
 | 12135 | s,@OBJEXT@,$OBJEXT,;t t | 
 | 12136 | s,@CC@,$CC,;t t | 
 | 12137 | s,@CFLAGS@,$CFLAGS,;t t | 
 | 12138 | s,@ac_ct_CC@,$ac_ct_CC,;t t | 
 | 12139 | s,@CPP@,$CPP,;t t | 
 | 12140 | s,@ifGNUmake@,$ifGNUmake,;t t | 
 | 12141 | s,@LEX@,$LEX,;t t | 
 | 12142 | s,@LEXLIB@,$LEXLIB,;t t | 
 | 12143 | s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t | 
 | 12144 | s,@YACC@,$YACC,;t t | 
 | 12145 | s,@LN_S@,$LN_S,;t t | 
 | 12146 | s,@ECHO@,$ECHO,;t t | 
 | 12147 | s,@RANLIB@,$RANLIB,;t t | 
 | 12148 | s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t | 
 | 12149 | s,@STRIP@,$STRIP,;t t | 
 | 12150 | s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t | 
 | 12151 | s,@LIBTOOL@,$LIBTOOL,;t t | 
 | 12152 | s,@AR@,$AR,;t t | 
 | 12153 | s,@SED@,$SED,;t t | 
 | 12154 | s,@RM@,$RM,;t t | 
 | 12155 | s,@MKDIR@,$MKDIR,;t t | 
 | 12156 | s,@DATE@,$DATE,;t t | 
 | 12157 | s,@MV@,$MV,;t t | 
 | 12158 | s,@DOT@,$DOT,;t t | 
 | 12159 | s,@ETAGS@,$ETAGS,;t t | 
 | 12160 | s,@PURIFY@,$PURIFY,;t t | 
 | 12161 | s,@ALLOCA@,$ALLOCA,;t t | 
 | 12162 | s,@LIBOBJS@,$LIBOBJS,;t t | 
 | 12163 | s,@MMAP_FILE@,$MMAP_FILE,;t t | 
 | 12164 | s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t | 
| John Criswell | 7a73b80 | 2003-06-30 21:59:07 +0000 | [diff] [blame] | 12165 | s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t | 
 | 12166 | s,@USE_SPEC@,$USE_SPEC,;t t | 
 | 12167 | s,@UPB@,$UPB,;t t | 
 | 12168 | s,@JIT@,$JIT,;t t | 
 | 12169 | s,@SPEC_ROOT@,$SPEC_ROOT,;t t | 
 | 12170 | s,@BCR@,$BCR,;t t | 
 | 12171 | s,@PAPIDIR@,$PAPIDIR,;t t | 
 | 12172 | s,@OBJROOT@,$OBJROOT,;t t | 
 | 12173 | CEOF | 
 | 12174 |  | 
 | 12175 | _ACEOF | 
 | 12176 |  | 
 | 12177 |   cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12178 |   # Split the substitutions into bite-sized pieces for seds with | 
 | 12179 |   # small command number limits, like on Digital OSF/1 and HP-UX. | 
 | 12180 |   ac_max_sed_lines=48 | 
 | 12181 |   ac_sed_frag=1 # Number of current file. | 
 | 12182 |   ac_beg=1 # First line for current file. | 
 | 12183 |   ac_end=$ac_max_sed_lines # Line after last line for current file. | 
 | 12184 |   ac_more_lines=: | 
 | 12185 |   ac_sed_cmds= | 
 | 12186 |   while $ac_more_lines; do | 
 | 12187 |     if test $ac_beg -gt 1; then | 
 | 12188 |       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 12189 |     else | 
 | 12190 |       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | 
 | 12191 |     fi | 
 | 12192 |     if test ! -s $tmp/subs.frag; then | 
 | 12193 |       ac_more_lines=false | 
 | 12194 |     else | 
 | 12195 |       # The purpose of the label and of the branching condition is to | 
 | 12196 |       # speed up the sed processing (if there are no `@' at all, there | 
 | 12197 |       # is no need to browse any of the substitutions). | 
 | 12198 |       # These are the two extra sed commands mentioned above. | 
 | 12199 |       (echo ':t | 
 | 12200 |   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | 
 | 12201 |       if test -z "$ac_sed_cmds"; then | 
 | 12202 |   	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 12203 |       else | 
 | 12204 |   	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | 
 | 12205 |       fi | 
 | 12206 |       ac_sed_frag=`expr $ac_sed_frag + 1` | 
 | 12207 |       ac_beg=$ac_end | 
 | 12208 |       ac_end=`expr $ac_end + $ac_max_sed_lines` | 
 | 12209 |     fi | 
 | 12210 |   done | 
 | 12211 |   if test -z "$ac_sed_cmds"; then | 
 | 12212 |     ac_sed_cmds=cat | 
 | 12213 |   fi | 
 | 12214 | fi # test -n "$CONFIG_FILES" | 
 | 12215 |  | 
 | 12216 | _ACEOF | 
 | 12217 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12218 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue | 
 | 12219 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 12220 |   case $ac_file in | 
 | 12221 |   - | *:- | *:-:* ) # input from stdin | 
 | 12222 |         cat >$tmp/stdin | 
 | 12223 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12224 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12225 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12226 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12227 |   * )   ac_file_in=$ac_file.in ;; | 
 | 12228 |   esac | 
 | 12229 |  | 
 | 12230 |   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | 
 | 12231 |   ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 12232 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 12233 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 12234 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 12235 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 12236 |          .     : '\(.\)' 2>/dev/null || | 
 | 12237 | echo X"$ac_file" | | 
 | 12238 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 12239 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 12240 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 12241 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 12242 |   	  s/.*/./; q'` | 
 | 12243 |   { case "$ac_dir" in | 
 | 12244 |   [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
 | 12245 |   *)                      as_incr_dir=.;; | 
 | 12246 | esac | 
 | 12247 | as_dummy="$ac_dir" | 
 | 12248 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
 | 12249 |   case $as_mkdir_dir in | 
 | 12250 |     # Skip DOS drivespec | 
 | 12251 |     ?:) as_incr_dir=$as_mkdir_dir ;; | 
 | 12252 |     *) | 
 | 12253 |       as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
 | 12254 |       test -d "$as_incr_dir" || | 
 | 12255 |         mkdir "$as_incr_dir" || | 
 | 12256 | 	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | 
 | 12257 | echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | 
 | 12258 |    { (exit 1); exit 1; }; } | 
 | 12259 |     ;; | 
 | 12260 |   esac | 
 | 12261 | done; } | 
 | 12262 |  | 
 | 12263 |   ac_builddir=. | 
 | 12264 |  | 
 | 12265 | if test "$ac_dir" != .; then | 
 | 12266 |   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` | 
 | 12267 |   # A "../" for each directory in $ac_dir_suffix. | 
 | 12268 |   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` | 
 | 12269 | else | 
 | 12270 |   ac_dir_suffix= ac_top_builddir= | 
 | 12271 | fi | 
 | 12272 |  | 
 | 12273 | case $srcdir in | 
 | 12274 |   .)  # No --srcdir option.  We are building in place. | 
 | 12275 |     ac_srcdir=. | 
 | 12276 |     if test -z "$ac_top_builddir"; then | 
 | 12277 |        ac_top_srcdir=. | 
 | 12278 |     else | 
 | 12279 |        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` | 
 | 12280 |     fi ;; | 
 | 12281 |   [\\/]* | ?:[\\/]* )  # Absolute path. | 
 | 12282 |     ac_srcdir=$srcdir$ac_dir_suffix; | 
 | 12283 |     ac_top_srcdir=$srcdir ;; | 
 | 12284 |   *) # Relative path. | 
 | 12285 |     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix | 
 | 12286 |     ac_top_srcdir=$ac_top_builddir$srcdir ;; | 
 | 12287 | esac | 
 | 12288 | # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be | 
 | 12289 | # absolute. | 
 | 12290 | ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` | 
 | 12291 | ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` | 
 | 12292 | ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` | 
 | 12293 | ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` | 
 | 12294 |  | 
 | 12295 |  | 
 | 12296 |   case $INSTALL in | 
 | 12297 |   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
 | 12298 |   *) ac_INSTALL=$ac_top_builddir$INSTALL ;; | 
 | 12299 |   esac | 
 | 12300 |  | 
 | 12301 |   if test x"$ac_file" != x-; then | 
 | 12302 |     { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 12303 | echo "$as_me: creating $ac_file" >&6;} | 
 | 12304 |     rm -f "$ac_file" | 
 | 12305 |   fi | 
 | 12306 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 12307 |   # use $as_me), people would be surprised to read: | 
 | 12308 |   #    /* config.h.  Generated by config.status.  */ | 
 | 12309 |   if test x"$ac_file" = x-; then | 
 | 12310 |     configure_input= | 
 | 12311 |   else | 
 | 12312 |     configure_input="$ac_file.  " | 
 | 12313 |   fi | 
 | 12314 |   configure_input=$configure_input"Generated from `echo $ac_file_in | | 
 | 12315 |                                      sed 's,.*/,,'` by configure." | 
 | 12316 |  | 
 | 12317 |   # First look for the input files in the build tree, otherwise in the | 
 | 12318 |   # src tree. | 
 | 12319 |   ac_file_inputs=`IFS=: | 
 | 12320 |     for f in $ac_file_in; do | 
 | 12321 |       case $f in | 
 | 12322 |       -) echo $tmp/stdin ;; | 
 | 12323 |       [\\/$]*) | 
 | 12324 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 12325 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12326 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12327 |    { (exit 1); exit 1; }; } | 
 | 12328 |          echo $f;; | 
 | 12329 |       *) # Relative | 
 | 12330 |          if test -f "$f"; then | 
 | 12331 |            # Build tree | 
 | 12332 |            echo $f | 
 | 12333 |          elif test -f "$srcdir/$f"; then | 
 | 12334 |            # Source tree | 
 | 12335 |            echo $srcdir/$f | 
 | 12336 |          else | 
 | 12337 |            # /dev/null tree | 
 | 12338 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12339 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12340 |    { (exit 1); exit 1; }; } | 
 | 12341 |          fi;; | 
 | 12342 |       esac | 
 | 12343 |     done` || { (exit 1); exit 1; } | 
 | 12344 | _ACEOF | 
 | 12345 | cat >>$CONFIG_STATUS <<_ACEOF | 
 | 12346 |   sed "$ac_vpsub | 
 | 12347 | $extrasub | 
 | 12348 | _ACEOF | 
 | 12349 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12350 | :t | 
 | 12351 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
 | 12352 | s,@configure_input@,$configure_input,;t t | 
 | 12353 | s,@srcdir@,$ac_srcdir,;t t | 
 | 12354 | s,@abs_srcdir@,$ac_abs_srcdir,;t t | 
 | 12355 | s,@top_srcdir@,$ac_top_srcdir,;t t | 
 | 12356 | s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t | 
 | 12357 | s,@builddir@,$ac_builddir,;t t | 
 | 12358 | s,@abs_builddir@,$ac_abs_builddir,;t t | 
 | 12359 | s,@top_builddir@,$ac_top_builddir,;t t | 
 | 12360 | s,@abs_top_builddir@,$ac_abs_top_builddir,;t t | 
 | 12361 | s,@INSTALL@,$ac_INSTALL,;t t | 
 | 12362 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out | 
 | 12363 |   rm -f $tmp/stdin | 
 | 12364 |   if test x"$ac_file" != x-; then | 
 | 12365 |     mv $tmp/out $ac_file | 
 | 12366 |   else | 
 | 12367 |     cat $tmp/out | 
 | 12368 |     rm -f $tmp/out | 
 | 12369 |   fi | 
 | 12370 |  | 
 | 12371 | done | 
 | 12372 | _ACEOF | 
 | 12373 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12374 |  | 
 | 12375 | # | 
 | 12376 | # CONFIG_HEADER section. | 
 | 12377 | # | 
 | 12378 |  | 
 | 12379 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | 
 | 12380 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | 
 | 12381 | # | 
 | 12382 | # ac_d sets the value in "#define NAME VALUE" lines. | 
 | 12383 | ac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)' | 
 | 12384 | ac_dB='[ 	].*$,\1#\2' | 
 | 12385 | ac_dC=' ' | 
 | 12386 | ac_dD=',;t' | 
 | 12387 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | 
 | 12388 | ac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)' | 
 | 12389 | ac_uB='$,\1#\2define\3' | 
 | 12390 | ac_uC=' ' | 
 | 12391 | ac_uD=',;t' | 
 | 12392 |  | 
 | 12393 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | 
 | 12394 |   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | 
 | 12395 |   case $ac_file in | 
 | 12396 |   - | *:- | *:-:* ) # input from stdin | 
 | 12397 |         cat >$tmp/stdin | 
 | 12398 |         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12399 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12400 |   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | 
 | 12401 |         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | 
 | 12402 |   * )   ac_file_in=$ac_file.in ;; | 
 | 12403 |   esac | 
 | 12404 |  | 
 | 12405 |   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5 | 
 | 12406 | echo "$as_me: creating $ac_file" >&6;} | 
 | 12407 |  | 
 | 12408 |   # First look for the input files in the build tree, otherwise in the | 
 | 12409 |   # src tree. | 
 | 12410 |   ac_file_inputs=`IFS=: | 
 | 12411 |     for f in $ac_file_in; do | 
 | 12412 |       case $f in | 
 | 12413 |       -) echo $tmp/stdin ;; | 
 | 12414 |       [\\/$]*) | 
 | 12415 |          # Absolute (can't be DOS-style, as IFS=:) | 
 | 12416 |          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12417 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12418 |    { (exit 1); exit 1; }; } | 
 | 12419 |          echo $f;; | 
 | 12420 |       *) # Relative | 
 | 12421 |          if test -f "$f"; then | 
 | 12422 |            # Build tree | 
 | 12423 |            echo $f | 
 | 12424 |          elif test -f "$srcdir/$f"; then | 
 | 12425 |            # Source tree | 
 | 12426 |            echo $srcdir/$f | 
 | 12427 |          else | 
 | 12428 |            # /dev/null tree | 
 | 12429 |            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 | 
 | 12430 | echo "$as_me: error: cannot find input file: $f" >&2;} | 
 | 12431 |    { (exit 1); exit 1; }; } | 
 | 12432 |          fi;; | 
 | 12433 |       esac | 
 | 12434 |     done` || { (exit 1); exit 1; } | 
 | 12435 |   # Remove the trailing spaces. | 
 | 12436 |   sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in | 
 | 12437 |  | 
 | 12438 | _ACEOF | 
 | 12439 |  | 
 | 12440 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | 
 | 12441 | # `conftest.undefs', that substitutes the proper values into | 
 | 12442 | # config.h.in to produce config.h.  The first handles `#define' | 
 | 12443 | # templates, and the second `#undef' templates. | 
 | 12444 | # And first: Protect against being on the right side of a sed subst in | 
 | 12445 | # config.status.  Protect against being in an unquoted here document | 
 | 12446 | # in config.status. | 
 | 12447 | rm -f conftest.defines conftest.undefs | 
 | 12448 | # Using a here document instead of a string reduces the quoting nightmare. | 
 | 12449 | # Putting comments in sed scripts is not portable. | 
 | 12450 | # | 
 | 12451 | # `end' is used to avoid that the second main sed command (meant for | 
 | 12452 | # 0-ary CPP macros) applies to n-ary macro definitions. | 
 | 12453 | # See the Autoconf documentation for `clear'. | 
 | 12454 | cat >confdef2sed.sed <<\_ACEOF | 
 | 12455 | s/[\\&,]/\\&/g | 
 | 12456 | s,[\\$`],\\&,g | 
 | 12457 | t clear | 
 | 12458 | : clear | 
 | 12459 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	(][^ 	(]*\)\(([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp | 
 | 12460 | t end | 
 | 12461 | s,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | 
 | 12462 | : end | 
 | 12463 | _ACEOF | 
 | 12464 | # If some macros were called several times there might be several times | 
 | 12465 | # the same #defines, which is useless.  Nevertheless, we may not want to | 
 | 12466 | # sort them, since we want the *last* AC-DEFINE to be honored. | 
 | 12467 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | 
 | 12468 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | 
 | 12469 | rm -f confdef2sed.sed | 
 | 12470 |  | 
 | 12471 | # This sed command replaces #undef with comments.  This is necessary, for | 
 | 12472 | # example, in the case of _POSIX_SOURCE, which is predefined and required | 
 | 12473 | # on some systems where configure will not decide to define it. | 
 | 12474 | cat >>conftest.undefs <<\_ACEOF | 
 | 12475 | s,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, | 
 | 12476 | _ACEOF | 
 | 12477 |  | 
 | 12478 | # Break up conftest.defines because some shells have a limit on the size | 
 | 12479 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 12480 | echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | 
 | 12481 | echo '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | 
 | 12482 | echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | 
 | 12483 | echo '  :' >>$CONFIG_STATUS | 
 | 12484 | rm -f conftest.tail | 
 | 12485 | while grep . conftest.defines >/dev/null | 
 | 12486 | do | 
 | 12487 |   # Write a limited-size here document to $tmp/defines.sed. | 
 | 12488 |   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | 
 | 12489 |   # Speed up: don't consider the non `#define' lines. | 
 | 12490 |   echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS | 
 | 12491 |   # Work around the forget-to-reset-the-flag bug. | 
 | 12492 |   echo 't clr' >>$CONFIG_STATUS | 
 | 12493 |   echo ': clr' >>$CONFIG_STATUS | 
 | 12494 |   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | 
 | 12495 |   echo 'CEOF | 
 | 12496 |   sed -f $tmp/defines.sed $tmp/in >$tmp/out | 
 | 12497 |   rm -f $tmp/in | 
 | 12498 |   mv $tmp/out $tmp/in | 
 | 12499 | ' >>$CONFIG_STATUS | 
 | 12500 |   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | 
 | 12501 |   rm -f conftest.defines | 
 | 12502 |   mv conftest.tail conftest.defines | 
 | 12503 | done | 
 | 12504 | rm -f conftest.defines | 
 | 12505 | echo '  fi # egrep' >>$CONFIG_STATUS | 
 | 12506 | echo >>$CONFIG_STATUS | 
 | 12507 |  | 
 | 12508 | # Break up conftest.undefs because some shells have a limit on the size | 
 | 12509 | # of here documents, and old seds have small limits too (100 cmds). | 
 | 12510 | echo '  # Handle all the #undef templates' >>$CONFIG_STATUS | 
 | 12511 | rm -f conftest.tail | 
 | 12512 | while grep . conftest.undefs >/dev/null | 
 | 12513 | do | 
 | 12514 |   # Write a limited-size here document to $tmp/undefs.sed. | 
 | 12515 |   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | 
 | 12516 |   # Speed up: don't consider the non `#undef' | 
 | 12517 |   echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS | 
 | 12518 |   # Work around the forget-to-reset-the-flag bug. | 
 | 12519 |   echo 't clr' >>$CONFIG_STATUS | 
 | 12520 |   echo ': clr' >>$CONFIG_STATUS | 
 | 12521 |   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | 
 | 12522 |   echo 'CEOF | 
 | 12523 |   sed -f $tmp/undefs.sed $tmp/in >$tmp/out | 
 | 12524 |   rm -f $tmp/in | 
 | 12525 |   mv $tmp/out $tmp/in | 
 | 12526 | ' >>$CONFIG_STATUS | 
 | 12527 |   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | 
 | 12528 |   rm -f conftest.undefs | 
 | 12529 |   mv conftest.tail conftest.undefs | 
 | 12530 | done | 
 | 12531 | rm -f conftest.undefs | 
 | 12532 |  | 
 | 12533 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12534 |   # Let's still pretend it is `configure' which instantiates (i.e., don't | 
 | 12535 |   # use $as_me), people would be surprised to read: | 
 | 12536 |   #    /* config.h.  Generated by config.status.  */ | 
 | 12537 |   if test x"$ac_file" = x-; then | 
 | 12538 |     echo "/* Generated by configure.  */" >$tmp/config.h | 
 | 12539 |   else | 
 | 12540 |     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h | 
 | 12541 |   fi | 
 | 12542 |   cat $tmp/in >>$tmp/config.h | 
 | 12543 |   rm -f $tmp/in | 
 | 12544 |   if test x"$ac_file" != x-; then | 
 | 12545 |     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | 
 | 12546 |       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 | 
 | 12547 | echo "$as_me: $ac_file is unchanged" >&6;} | 
 | 12548 |     else | 
 | 12549 |       ac_dir=`(dirname "$ac_file") 2>/dev/null || | 
 | 12550 | $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
 | 12551 |          X"$ac_file" : 'X\(//\)[^/]' \| \ | 
 | 12552 |          X"$ac_file" : 'X\(//\)$' \| \ | 
 | 12553 |          X"$ac_file" : 'X\(/\)' \| \ | 
 | 12554 |          .     : '\(.\)' 2>/dev/null || | 
 | 12555 | echo X"$ac_file" | | 
 | 12556 |     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | 
 | 12557 |   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; } | 
 | 12558 |   	  /^X\(\/\/\)$/{ s//\1/; q; } | 
 | 12559 |   	  /^X\(\/\).*/{ s//\1/; q; } | 
 | 12560 |   	  s/.*/./; q'` | 
 | 12561 |       { case "$ac_dir" in | 
 | 12562 |   [\\/]* | ?:[\\/]* ) as_incr_dir=;; | 
 | 12563 |   *)                      as_incr_dir=.;; | 
 | 12564 | esac | 
 | 12565 | as_dummy="$ac_dir" | 
 | 12566 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | 
 | 12567 |   case $as_mkdir_dir in | 
 | 12568 |     # Skip DOS drivespec | 
 | 12569 |     ?:) as_incr_dir=$as_mkdir_dir ;; | 
 | 12570 |     *) | 
 | 12571 |       as_incr_dir=$as_incr_dir/$as_mkdir_dir | 
 | 12572 |       test -d "$as_incr_dir" || | 
 | 12573 |         mkdir "$as_incr_dir" || | 
 | 12574 | 	{ { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 | 
 | 12575 | echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} | 
 | 12576 |    { (exit 1); exit 1; }; } | 
 | 12577 |     ;; | 
 | 12578 |   esac | 
 | 12579 | done; } | 
 | 12580 |  | 
 | 12581 |       rm -f $ac_file | 
 | 12582 |       mv $tmp/config.h $ac_file | 
 | 12583 |     fi | 
 | 12584 |   else | 
 | 12585 |     cat $tmp/config.h | 
 | 12586 |     rm -f $tmp/config.h | 
 | 12587 |   fi | 
 | 12588 | done | 
 | 12589 | _ACEOF | 
 | 12590 |  | 
 | 12591 | cat >>$CONFIG_STATUS <<\_ACEOF | 
 | 12592 |  | 
 | 12593 | { (exit 0); exit 0; } | 
 | 12594 | _ACEOF | 
 | 12595 | chmod +x $CONFIG_STATUS | 
 | 12596 | ac_clean_files=$ac_clean_files_save | 
 | 12597 |  | 
 | 12598 |  | 
 | 12599 | # configure is writing to config.log, and then calls config.status. | 
 | 12600 | # config.status does its own redirection, appending to config.log. | 
 | 12601 | # Unfortunately, on DOS this fails, as config.log is still kept open | 
 | 12602 | # by configure, so config.status won't be able to write to it; its | 
 | 12603 | # output is simply discarded.  So we exec the FD to /dev/null, | 
 | 12604 | # effectively closing config.log, so it can be properly (re)opened and | 
 | 12605 | # appended to by config.status.  When coming back to configure, we | 
 | 12606 | # need to make the FD available again. | 
 | 12607 | if test "$no_create" != yes; then | 
 | 12608 |   ac_cs_success=: | 
 | 12609 |   exec 5>/dev/null | 
 | 12610 |   $SHELL $CONFIG_STATUS || ac_cs_success=false | 
 | 12611 |   exec 5>>config.log | 
 | 12612 |   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
 | 12613 |   # would make configure fail if this is the last instruction. | 
 | 12614 |   $ac_cs_success || { (exit 1); exit 1; } | 
 | 12615 | fi | 
 | 12616 |  |