| Chris@4 | 1 #! /bin/sh | 
| Chris@4 | 2 # Guess values for system-dependent variables and create Makefiles. | 
| Chris@4 | 3 # Generated by GNU Autoconf 2.68. | 
| Chris@4 | 4 # | 
| Chris@4 | 5 # | 
| Chris@4 | 6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, | 
| Chris@4 | 7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software | 
| Chris@4 | 8 # Foundation, Inc. | 
| Chris@4 | 9 # | 
| Chris@4 | 10 # | 
| Chris@4 | 11 # This configure script is free software; the Free Software Foundation | 
| Chris@4 | 12 # gives unlimited permission to copy, distribute and modify it. | 
| Chris@4 | 13 ## -------------------- ## | 
| Chris@4 | 14 ## M4sh Initialization. ## | 
| Chris@4 | 15 ## -------------------- ## | 
| Chris@4 | 16 | 
| Chris@4 | 17 # Be more Bourne compatible | 
| Chris@4 | 18 DUALCASE=1; export DUALCASE # for MKS sh | 
| Chris@4 | 19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 
| Chris@4 | 20   emulate sh | 
| Chris@4 | 21   NULLCMD=: | 
| Chris@4 | 22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 
| Chris@4 | 23   # is contrary to our usage.  Disable this feature. | 
| Chris@4 | 24   alias -g '${1+"$@"}'='"$@"' | 
| Chris@4 | 25   setopt NO_GLOB_SUBST | 
| Chris@4 | 26 else | 
| Chris@4 | 27   case `(set -o) 2>/dev/null` in #( | 
| Chris@4 | 28   *posix*) : | 
| Chris@4 | 29     set -o posix ;; #( | 
| Chris@4 | 30   *) : | 
| Chris@4 | 31      ;; | 
| Chris@4 | 32 esac | 
| Chris@4 | 33 fi | 
| Chris@4 | 34 | 
| Chris@4 | 35 | 
| Chris@4 | 36 as_nl=' | 
| Chris@4 | 37 ' | 
| Chris@4 | 38 export as_nl | 
| Chris@4 | 39 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 
| Chris@4 | 40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
| Chris@4 | 41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 
| Chris@4 | 42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 
| Chris@4 | 43 # Prefer a ksh shell builtin over an external printf program on Solaris, | 
| Chris@4 | 44 # but without wasting forks for bash or zsh. | 
| Chris@4 | 45 if test -z "$BASH_VERSION$ZSH_VERSION" \ | 
| Chris@4 | 46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 
| Chris@4 | 47   as_echo='print -r --' | 
| Chris@4 | 48   as_echo_n='print -rn --' | 
| Chris@4 | 49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 
| Chris@4 | 50   as_echo='printf %s\n' | 
| Chris@4 | 51   as_echo_n='printf %s' | 
| Chris@4 | 52 else | 
| Chris@4 | 53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 
| Chris@4 | 54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 
| Chris@4 | 55     as_echo_n='/usr/ucb/echo -n' | 
| Chris@4 | 56   else | 
| Chris@4 | 57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 
| Chris@4 | 58     as_echo_n_body='eval | 
| Chris@4 | 59       arg=$1; | 
| Chris@4 | 60       case $arg in #( | 
| Chris@4 | 61       *"$as_nl"*) | 
| Chris@4 | 62 	expr "X$arg" : "X\\(.*\\)$as_nl"; | 
| Chris@4 | 63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 
| Chris@4 | 64       esac; | 
| Chris@4 | 65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 
| Chris@4 | 66     ' | 
| Chris@4 | 67     export as_echo_n_body | 
| Chris@4 | 68     as_echo_n='sh -c $as_echo_n_body as_echo' | 
| Chris@4 | 69   fi | 
| Chris@4 | 70   export as_echo_body | 
| Chris@4 | 71   as_echo='sh -c $as_echo_body as_echo' | 
| Chris@4 | 72 fi | 
| Chris@4 | 73 | 
| Chris@4 | 74 # The user is always right. | 
| Chris@4 | 75 if test "${PATH_SEPARATOR+set}" != set; then | 
| Chris@4 | 76   PATH_SEPARATOR=: | 
| Chris@4 | 77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 
| Chris@4 | 78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 
| Chris@4 | 79       PATH_SEPARATOR=';' | 
| Chris@4 | 80   } | 
| Chris@4 | 81 fi | 
| Chris@4 | 82 | 
| Chris@4 | 83 | 
| Chris@4 | 84 # IFS | 
| Chris@4 | 85 # We need space, tab and new line, in precisely that order.  Quoting is | 
| Chris@4 | 86 # there to prevent editors from complaining about space-tab. | 
| Chris@4 | 87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 
| Chris@4 | 88 # splitting by setting IFS to empty value.) | 
| Chris@4 | 89 IFS=" ""	$as_nl" | 
| Chris@4 | 90 | 
| Chris@4 | 91 # Find who we are.  Look in the path if we contain no directory separator. | 
| Chris@4 | 92 as_myself= | 
| Chris@4 | 93 case $0 in #(( | 
| Chris@4 | 94   *[\\/]* ) as_myself=$0 ;; | 
| Chris@4 | 95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 96 for as_dir in $PATH | 
| Chris@4 | 97 do | 
| Chris@4 | 98   IFS=$as_save_IFS | 
| Chris@4 | 99   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
| Chris@4 | 101   done | 
| Chris@4 | 102 IFS=$as_save_IFS | 
| Chris@4 | 103 | 
| Chris@4 | 104      ;; | 
| Chris@4 | 105 esac | 
| Chris@4 | 106 # We did not find ourselves, most probably we were run as `sh COMMAND' | 
| Chris@4 | 107 # in which case we are not to be found in the path. | 
| Chris@4 | 108 if test "x$as_myself" = x; then | 
| Chris@4 | 109   as_myself=$0 | 
| Chris@4 | 110 fi | 
| Chris@4 | 111 if test ! -f "$as_myself"; then | 
| Chris@4 | 112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 
| Chris@4 | 113   exit 1 | 
| Chris@4 | 114 fi | 
| Chris@4 | 115 | 
| Chris@4 | 116 # Unset variables that we do not need and which cause bugs (e.g. in | 
| Chris@4 | 117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" | 
| Chris@4 | 118 # suppresses any "Segmentation fault" message there.  '((' could | 
| Chris@4 | 119 # trigger a bug in pdksh 5.2.14. | 
| Chris@4 | 120 for as_var in BASH_ENV ENV MAIL MAILPATH | 
| Chris@4 | 121 do eval test x\${$as_var+set} = xset \ | 
| Chris@4 | 122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 
| Chris@4 | 123 done | 
| Chris@4 | 124 PS1='$ ' | 
| Chris@4 | 125 PS2='> ' | 
| Chris@4 | 126 PS4='+ ' | 
| Chris@4 | 127 | 
| Chris@4 | 128 # NLS nuisances. | 
| Chris@4 | 129 LC_ALL=C | 
| Chris@4 | 130 export LC_ALL | 
| Chris@4 | 131 LANGUAGE=C | 
| Chris@4 | 132 export LANGUAGE | 
| Chris@4 | 133 | 
| Chris@4 | 134 # CDPATH. | 
| Chris@4 | 135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
| Chris@4 | 136 | 
| Chris@4 | 137 if test "x$CONFIG_SHELL" = x; then | 
| Chris@4 | 138   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : | 
| Chris@4 | 139   emulate sh | 
| Chris@4 | 140   NULLCMD=: | 
| Chris@4 | 141   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which | 
| Chris@4 | 142   # is contrary to our usage.  Disable this feature. | 
| Chris@4 | 143   alias -g '\${1+\"\$@\"}'='\"\$@\"' | 
| Chris@4 | 144   setopt NO_GLOB_SUBST | 
| Chris@4 | 145 else | 
| Chris@4 | 146   case \`(set -o) 2>/dev/null\` in #( | 
| Chris@4 | 147   *posix*) : | 
| Chris@4 | 148     set -o posix ;; #( | 
| Chris@4 | 149   *) : | 
| Chris@4 | 150      ;; | 
| Chris@4 | 151 esac | 
| Chris@4 | 152 fi | 
| Chris@4 | 153 " | 
| Chris@4 | 154   as_required="as_fn_return () { (exit \$1); } | 
| Chris@4 | 155 as_fn_success () { as_fn_return 0; } | 
| Chris@4 | 156 as_fn_failure () { as_fn_return 1; } | 
| Chris@4 | 157 as_fn_ret_success () { return 0; } | 
| Chris@4 | 158 as_fn_ret_failure () { return 1; } | 
| Chris@4 | 159 | 
| Chris@4 | 160 exitcode=0 | 
| Chris@4 | 161 as_fn_success || { exitcode=1; echo as_fn_success failed.; } | 
| Chris@4 | 162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } | 
| Chris@4 | 163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } | 
| Chris@4 | 164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } | 
| Chris@4 | 165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : | 
| Chris@4 | 166 | 
| Chris@4 | 167 else | 
| Chris@4 | 168   exitcode=1; echo positional parameters were not saved. | 
| Chris@4 | 169 fi | 
| Chris@4 | 170 test x\$exitcode = x0 || exit 1" | 
| Chris@4 | 171   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO | 
| Chris@4 | 172   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO | 
| Chris@4 | 173   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && | 
| Chris@4 | 174   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 | 
| Chris@4 | 175 | 
| Chris@4 | 176   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || ( | 
| Chris@4 | 177     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
| Chris@4 | 178     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | 
| Chris@4 | 179     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO | 
| Chris@4 | 180     PATH=/empty FPATH=/empty; export PATH FPATH | 
| Chris@4 | 181     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\ | 
| Chris@4 | 182       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1 | 
| Chris@4 | 183 test \$(( 1 + 1 )) = 2 || exit 1" | 
| Chris@4 | 184   if (eval "$as_required") 2>/dev/null; then : | 
| Chris@4 | 185   as_have_required=yes | 
| Chris@4 | 186 else | 
| Chris@4 | 187   as_have_required=no | 
| Chris@4 | 188 fi | 
| Chris@4 | 189   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : | 
| Chris@4 | 190 | 
| Chris@4 | 191 else | 
| Chris@4 | 192   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 193 as_found=false | 
| Chris@4 | 194 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH | 
| Chris@4 | 195 do | 
| Chris@4 | 196   IFS=$as_save_IFS | 
| Chris@4 | 197   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 198   as_found=: | 
| Chris@4 | 199   case $as_dir in #( | 
| Chris@4 | 200 	 /*) | 
| Chris@4 | 201 	   for as_base in sh bash ksh sh5; do | 
| Chris@4 | 202 	     # Try only shells that exist, to save several forks. | 
| Chris@4 | 203 	     as_shell=$as_dir/$as_base | 
| Chris@4 | 204 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } && | 
| Chris@4 | 205 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : | 
| Chris@4 | 206   CONFIG_SHELL=$as_shell as_have_required=yes | 
| Chris@4 | 207 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : | 
| Chris@4 | 208   break 2 | 
| Chris@4 | 209 fi | 
| Chris@4 | 210 fi | 
| Chris@4 | 211 	   done;; | 
| Chris@4 | 212        esac | 
| Chris@4 | 213   as_found=false | 
| Chris@4 | 214 done | 
| Chris@4 | 215 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && | 
| Chris@4 | 216 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : | 
| Chris@4 | 217   CONFIG_SHELL=$SHELL as_have_required=yes | 
| Chris@4 | 218 fi; } | 
| Chris@4 | 219 IFS=$as_save_IFS | 
| Chris@4 | 220 | 
| Chris@4 | 221 | 
| Chris@4 | 222       if test "x$CONFIG_SHELL" != x; then : | 
| Chris@4 | 223   # We cannot yet assume a decent shell, so we have to provide a | 
| Chris@4 | 224 	# neutralization value for shells without unset; and this also | 
| Chris@4 | 225 	# works around shells that cannot unset nonexistent variables. | 
| Chris@4 | 226 	# Preserve -v and -x to the replacement shell. | 
| Chris@4 | 227 	BASH_ENV=/dev/null | 
| Chris@4 | 228 	ENV=/dev/null | 
| Chris@4 | 229 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV | 
| Chris@4 | 230 	export CONFIG_SHELL | 
| Chris@4 | 231 	case $- in # (((( | 
| Chris@4 | 232 	  *v*x* | *x*v* ) as_opts=-vx ;; | 
| Chris@4 | 233 	  *v* ) as_opts=-v ;; | 
| Chris@4 | 234 	  *x* ) as_opts=-x ;; | 
| Chris@4 | 235 	  * ) as_opts= ;; | 
| Chris@4 | 236 	esac | 
| Chris@4 | 237 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"} | 
| Chris@4 | 238 fi | 
| Chris@4 | 239 | 
| Chris@4 | 240     if test x$as_have_required = xno; then : | 
| Chris@4 | 241   $as_echo "$0: This script requires a shell more modern than all" | 
| Chris@4 | 242   $as_echo "$0: the shells that I found on your system." | 
| Chris@4 | 243   if test x${ZSH_VERSION+set} = xset ; then | 
| Chris@4 | 244     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" | 
| Chris@4 | 245     $as_echo "$0: be upgraded to zsh 4.3.4 or later." | 
| Chris@4 | 246   else | 
| Chris@4 | 247     $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, | 
| Chris@4 | 248 $0: including any error possibly output before this | 
| Chris@4 | 249 $0: message. Then install a modern shell, or manually run | 
| Chris@4 | 250 $0: the script under such a shell if you do have one." | 
| Chris@4 | 251   fi | 
| Chris@4 | 252   exit 1 | 
| Chris@4 | 253 fi | 
| Chris@4 | 254 fi | 
| Chris@4 | 255 fi | 
| Chris@4 | 256 SHELL=${CONFIG_SHELL-/bin/sh} | 
| Chris@4 | 257 export SHELL | 
| Chris@4 | 258 # Unset more variables known to interfere with behavior of common tools. | 
| Chris@4 | 259 CLICOLOR_FORCE= GREP_OPTIONS= | 
| Chris@4 | 260 unset CLICOLOR_FORCE GREP_OPTIONS | 
| Chris@4 | 261 | 
| Chris@4 | 262 ## --------------------- ## | 
| Chris@4 | 263 ## M4sh Shell Functions. ## | 
| Chris@4 | 264 ## --------------------- ## | 
| Chris@4 | 265 # as_fn_unset VAR | 
| Chris@4 | 266 # --------------- | 
| Chris@4 | 267 # Portably unset VAR. | 
| Chris@4 | 268 as_fn_unset () | 
| Chris@4 | 269 { | 
| Chris@4 | 270   { eval $1=; unset $1;} | 
| Chris@4 | 271 } | 
| Chris@4 | 272 as_unset=as_fn_unset | 
| Chris@4 | 273 | 
| Chris@4 | 274 # as_fn_set_status STATUS | 
| Chris@4 | 275 # ----------------------- | 
| Chris@4 | 276 # Set $? to STATUS, without forking. | 
| Chris@4 | 277 as_fn_set_status () | 
| Chris@4 | 278 { | 
| Chris@4 | 279   return $1 | 
| Chris@4 | 280 } # as_fn_set_status | 
| Chris@4 | 281 | 
| Chris@4 | 282 # as_fn_exit STATUS | 
| Chris@4 | 283 # ----------------- | 
| Chris@4 | 284 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 
| Chris@4 | 285 as_fn_exit () | 
| Chris@4 | 286 { | 
| Chris@4 | 287   set +e | 
| Chris@4 | 288   as_fn_set_status $1 | 
| Chris@4 | 289   exit $1 | 
| Chris@4 | 290 } # as_fn_exit | 
| Chris@4 | 291 | 
| Chris@4 | 292 # as_fn_mkdir_p | 
| Chris@4 | 293 # ------------- | 
| Chris@4 | 294 # Create "$as_dir" as a directory, including parents if necessary. | 
| Chris@4 | 295 as_fn_mkdir_p () | 
| Chris@4 | 296 { | 
| Chris@4 | 297 | 
| Chris@4 | 298   case $as_dir in #( | 
| Chris@4 | 299   -*) as_dir=./$as_dir;; | 
| Chris@4 | 300   esac | 
| Chris@4 | 301   test -d "$as_dir" || eval $as_mkdir_p || { | 
| Chris@4 | 302     as_dirs= | 
| Chris@4 | 303     while :; do | 
| Chris@4 | 304       case $as_dir in #( | 
| Chris@4 | 305       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 
| Chris@4 | 306       *) as_qdir=$as_dir;; | 
| Chris@4 | 307       esac | 
| Chris@4 | 308       as_dirs="'$as_qdir' $as_dirs" | 
| Chris@4 | 309       as_dir=`$as_dirname -- "$as_dir" || | 
| Chris@4 | 310 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| Chris@4 | 311 	 X"$as_dir" : 'X\(//\)[^/]' \| \ | 
| Chris@4 | 312 	 X"$as_dir" : 'X\(//\)$' \| \ | 
| Chris@4 | 313 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 
| Chris@4 | 314 $as_echo X"$as_dir" | | 
| Chris@4 | 315     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
| Chris@4 | 316 	    s//\1/ | 
| Chris@4 | 317 	    q | 
| Chris@4 | 318 	  } | 
| Chris@4 | 319 	  /^X\(\/\/\)[^/].*/{ | 
| Chris@4 | 320 	    s//\1/ | 
| Chris@4 | 321 	    q | 
| Chris@4 | 322 	  } | 
| Chris@4 | 323 	  /^X\(\/\/\)$/{ | 
| Chris@4 | 324 	    s//\1/ | 
| Chris@4 | 325 	    q | 
| Chris@4 | 326 	  } | 
| Chris@4 | 327 	  /^X\(\/\).*/{ | 
| Chris@4 | 328 	    s//\1/ | 
| Chris@4 | 329 	    q | 
| Chris@4 | 330 	  } | 
| Chris@4 | 331 	  s/.*/./; q'` | 
| Chris@4 | 332       test -d "$as_dir" && break | 
| Chris@4 | 333     done | 
| Chris@4 | 334     test -z "$as_dirs" || eval "mkdir $as_dirs" | 
| Chris@4 | 335   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 
| Chris@4 | 336 | 
| Chris@4 | 337 | 
| Chris@4 | 338 } # as_fn_mkdir_p | 
| Chris@4 | 339 # as_fn_append VAR VALUE | 
| Chris@4 | 340 # ---------------------- | 
| Chris@4 | 341 # Append the text in VALUE to the end of the definition contained in VAR. Take | 
| Chris@4 | 342 # advantage of any shell optimizations that allow amortized linear growth over | 
| Chris@4 | 343 # repeated appends, instead of the typical quadratic growth present in naive | 
| Chris@4 | 344 # implementations. | 
| Chris@4 | 345 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 
| Chris@4 | 346   eval 'as_fn_append () | 
| Chris@4 | 347   { | 
| Chris@4 | 348     eval $1+=\$2 | 
| Chris@4 | 349   }' | 
| Chris@4 | 350 else | 
| Chris@4 | 351   as_fn_append () | 
| Chris@4 | 352   { | 
| Chris@4 | 353     eval $1=\$$1\$2 | 
| Chris@4 | 354   } | 
| Chris@4 | 355 fi # as_fn_append | 
| Chris@4 | 356 | 
| Chris@4 | 357 # as_fn_arith ARG... | 
| Chris@4 | 358 # ------------------ | 
| Chris@4 | 359 # Perform arithmetic evaluation on the ARGs, and store the result in the | 
| Chris@4 | 360 # global $as_val. Take advantage of shells that can avoid forks. The arguments | 
| Chris@4 | 361 # must be portable across $(()) and expr. | 
| Chris@4 | 362 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 
| Chris@4 | 363   eval 'as_fn_arith () | 
| Chris@4 | 364   { | 
| Chris@4 | 365     as_val=$(( $* )) | 
| Chris@4 | 366   }' | 
| Chris@4 | 367 else | 
| Chris@4 | 368   as_fn_arith () | 
| Chris@4 | 369   { | 
| Chris@4 | 370     as_val=`expr "$@" || test $? -eq 1` | 
| Chris@4 | 371   } | 
| Chris@4 | 372 fi # as_fn_arith | 
| Chris@4 | 373 | 
| Chris@4 | 374 | 
| Chris@4 | 375 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 
| Chris@4 | 376 # ---------------------------------------- | 
| Chris@4 | 377 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 
| Chris@4 | 378 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 
| Chris@4 | 379 # script with STATUS, using 1 if that was 0. | 
| Chris@4 | 380 as_fn_error () | 
| Chris@4 | 381 { | 
| Chris@4 | 382   as_status=$1; test $as_status -eq 0 && as_status=1 | 
| Chris@4 | 383   if test "$4"; then | 
| Chris@4 | 384     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 385     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 
| Chris@4 | 386   fi | 
| Chris@4 | 387   $as_echo "$as_me: error: $2" >&2 | 
| Chris@4 | 388   as_fn_exit $as_status | 
| Chris@4 | 389 } # as_fn_error | 
| Chris@4 | 390 | 
| Chris@4 | 391 if expr a : '\(a\)' >/dev/null 2>&1 && | 
| Chris@4 | 392    test "X`expr 00001 : '.*\(...\)'`" = X001; then | 
| Chris@4 | 393   as_expr=expr | 
| Chris@4 | 394 else | 
| Chris@4 | 395   as_expr=false | 
| Chris@4 | 396 fi | 
| Chris@4 | 397 | 
| Chris@4 | 398 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 
| Chris@4 | 399   as_basename=basename | 
| Chris@4 | 400 else | 
| Chris@4 | 401   as_basename=false | 
| Chris@4 | 402 fi | 
| Chris@4 | 403 | 
| Chris@4 | 404 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 
| Chris@4 | 405   as_dirname=dirname | 
| Chris@4 | 406 else | 
| Chris@4 | 407   as_dirname=false | 
| Chris@4 | 408 fi | 
| Chris@4 | 409 | 
| Chris@4 | 410 as_me=`$as_basename -- "$0" || | 
| Chris@4 | 411 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
| Chris@4 | 412 	 X"$0" : 'X\(//\)$' \| \ | 
| Chris@4 | 413 	 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 
| Chris@4 | 414 $as_echo X/"$0" | | 
| Chris@4 | 415     sed '/^.*\/\([^/][^/]*\)\/*$/{ | 
| Chris@4 | 416 	    s//\1/ | 
| Chris@4 | 417 	    q | 
| Chris@4 | 418 	  } | 
| Chris@4 | 419 	  /^X\/\(\/\/\)$/{ | 
| Chris@4 | 420 	    s//\1/ | 
| Chris@4 | 421 	    q | 
| Chris@4 | 422 	  } | 
| Chris@4 | 423 	  /^X\/\(\/\).*/{ | 
| Chris@4 | 424 	    s//\1/ | 
| Chris@4 | 425 	    q | 
| Chris@4 | 426 	  } | 
| Chris@4 | 427 	  s/.*/./; q'` | 
| Chris@4 | 428 | 
| Chris@4 | 429 # Avoid depending upon Character Ranges. | 
| Chris@4 | 430 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
| Chris@4 | 431 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
| Chris@4 | 432 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
| Chris@4 | 433 as_cr_digits='0123456789' | 
| Chris@4 | 434 as_cr_alnum=$as_cr_Letters$as_cr_digits | 
| Chris@4 | 435 | 
| Chris@4 | 436 | 
| Chris@4 | 437   as_lineno_1=$LINENO as_lineno_1a=$LINENO | 
| Chris@4 | 438   as_lineno_2=$LINENO as_lineno_2a=$LINENO | 
| Chris@4 | 439   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && | 
| Chris@4 | 440   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { | 
| Chris@4 | 441   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-) | 
| Chris@4 | 442   sed -n ' | 
| Chris@4 | 443     p | 
| Chris@4 | 444     /[$]LINENO/= | 
| Chris@4 | 445   ' <$as_myself | | 
| Chris@4 | 446     sed ' | 
| Chris@4 | 447       s/[$]LINENO.*/&-/ | 
| Chris@4 | 448       t lineno | 
| Chris@4 | 449       b | 
| Chris@4 | 450       :lineno | 
| Chris@4 | 451       N | 
| Chris@4 | 452       :loop | 
| Chris@4 | 453       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ | 
| Chris@4 | 454       t loop | 
| Chris@4 | 455       s/-\n.*// | 
| Chris@4 | 456     ' >$as_me.lineno && | 
| Chris@4 | 457   chmod +x "$as_me.lineno" || | 
| Chris@4 | 458     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } | 
| Chris@4 | 459 | 
| Chris@4 | 460   # Don't try to exec as it changes $[0], causing all sort of problems | 
| Chris@4 | 461   # (the dirname of $[0] is not the place where we might find the | 
| Chris@4 | 462   # original and so on.  Autoconf is especially sensitive to this). | 
| Chris@4 | 463   . "./$as_me.lineno" | 
| Chris@4 | 464   # Exit status is that of the last command. | 
| Chris@4 | 465   exit | 
| Chris@4 | 466 } | 
| Chris@4 | 467 | 
| Chris@4 | 468 ECHO_C= ECHO_N= ECHO_T= | 
| Chris@4 | 469 case `echo -n x` in #((((( | 
| Chris@4 | 470 -n*) | 
| Chris@4 | 471   case `echo 'xy\c'` in | 
| Chris@4 | 472   *c*) ECHO_T='	';;	# ECHO_T is single tab character. | 
| Chris@4 | 473   xy)  ECHO_C='\c';; | 
| Chris@4 | 474   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null | 
| Chris@4 | 475        ECHO_T='	';; | 
| Chris@4 | 476   esac;; | 
| Chris@4 | 477 *) | 
| Chris@4 | 478   ECHO_N='-n';; | 
| Chris@4 | 479 esac | 
| Chris@4 | 480 | 
| Chris@4 | 481 rm -f conf$$ conf$$.exe conf$$.file | 
| Chris@4 | 482 if test -d conf$$.dir; then | 
| Chris@4 | 483   rm -f conf$$.dir/conf$$.file | 
| Chris@4 | 484 else | 
| Chris@4 | 485   rm -f conf$$.dir | 
| Chris@4 | 486   mkdir conf$$.dir 2>/dev/null | 
| Chris@4 | 487 fi | 
| Chris@4 | 488 if (echo >conf$$.file) 2>/dev/null; then | 
| Chris@4 | 489   if ln -s conf$$.file conf$$ 2>/dev/null; then | 
| Chris@4 | 490     as_ln_s='ln -s' | 
| Chris@4 | 491     # ... but there are two gotchas: | 
| Chris@4 | 492     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 
| Chris@4 | 493     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 
| Chris@4 | 494     # In both cases, we have to default to `cp -p'. | 
| Chris@4 | 495     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 
| Chris@4 | 496       as_ln_s='cp -p' | 
| Chris@4 | 497   elif ln conf$$.file conf$$ 2>/dev/null; then | 
| Chris@4 | 498     as_ln_s=ln | 
| Chris@4 | 499   else | 
| Chris@4 | 500     as_ln_s='cp -p' | 
| Chris@4 | 501   fi | 
| Chris@4 | 502 else | 
| Chris@4 | 503   as_ln_s='cp -p' | 
| Chris@4 | 504 fi | 
| Chris@4 | 505 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
| Chris@4 | 506 rmdir conf$$.dir 2>/dev/null | 
| Chris@4 | 507 | 
| Chris@4 | 508 if mkdir -p . 2>/dev/null; then | 
| Chris@4 | 509   as_mkdir_p='mkdir -p "$as_dir"' | 
| Chris@4 | 510 else | 
| Chris@4 | 511   test -d ./-p && rmdir ./-p | 
| Chris@4 | 512   as_mkdir_p=false | 
| Chris@4 | 513 fi | 
| Chris@4 | 514 | 
| Chris@4 | 515 if test -x / >/dev/null 2>&1; then | 
| Chris@4 | 516   as_test_x='test -x' | 
| Chris@4 | 517 else | 
| Chris@4 | 518   if ls -dL / >/dev/null 2>&1; then | 
| Chris@4 | 519     as_ls_L_option=L | 
| Chris@4 | 520   else | 
| Chris@4 | 521     as_ls_L_option= | 
| Chris@4 | 522   fi | 
| Chris@4 | 523   as_test_x=' | 
| Chris@4 | 524     eval sh -c '\'' | 
| Chris@4 | 525       if test -d "$1"; then | 
| Chris@4 | 526 	test -d "$1/."; | 
| Chris@4 | 527       else | 
| Chris@4 | 528 	case $1 in #( | 
| Chris@4 | 529 	-*)set "./$1";; | 
| Chris@4 | 530 	esac; | 
| Chris@4 | 531 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 
| Chris@4 | 532 	???[sx]*):;;*)false;;esac;fi | 
| Chris@4 | 533     '\'' sh | 
| Chris@4 | 534   ' | 
| Chris@4 | 535 fi | 
| Chris@4 | 536 as_executable_p=$as_test_x | 
| Chris@4 | 537 | 
| Chris@4 | 538 # Sed expression to map a string onto a valid CPP name. | 
| Chris@4 | 539 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
| Chris@4 | 540 | 
| Chris@4 | 541 # Sed expression to map a string onto a valid variable name. | 
| Chris@4 | 542 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
| Chris@4 | 543 | 
| Chris@4 | 544 SHELL=${CONFIG_SHELL-/bin/sh} | 
| Chris@4 | 545 | 
| Chris@4 | 546 | 
| Chris@4 | 547 test -n "$DJDIR" || exec 7<&0 </dev/null | 
| Chris@4 | 548 exec 6>&1 | 
| Chris@4 | 549 | 
| Chris@4 | 550 # Name of the host. | 
| Chris@4 | 551 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, | 
| Chris@4 | 552 # so uname gets run too. | 
| Chris@4 | 553 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | 
| Chris@4 | 554 | 
| Chris@4 | 555 # | 
| Chris@4 | 556 # Initializations. | 
| Chris@4 | 557 # | 
| Chris@4 | 558 ac_default_prefix=/usr/local | 
| Chris@4 | 559 ac_clean_files= | 
| Chris@4 | 560 ac_config_libobj_dir=. | 
| Chris@4 | 561 LIBOBJS= | 
| Chris@4 | 562 cross_compiling=no | 
| Chris@4 | 563 subdirs= | 
| Chris@4 | 564 MFLAGS= | 
| Chris@4 | 565 MAKEFLAGS= | 
| Chris@4 | 566 | 
| Chris@4 | 567 # Identity of this package. | 
| Chris@4 | 568 PACKAGE_NAME= | 
| Chris@4 | 569 PACKAGE_TARNAME= | 
| Chris@4 | 570 PACKAGE_VERSION= | 
| Chris@4 | 571 PACKAGE_STRING= | 
| Chris@4 | 572 PACKAGE_BUGREPORT= | 
| Chris@4 | 573 PACKAGE_URL= | 
| Chris@4 | 574 | 
| Chris@4 | 575 ac_unique_file="include/portaudio.h" | 
| Chris@4 | 576 # Factoring default headers for most tests. | 
| Chris@4 | 577 ac_includes_default="\ | 
| Chris@4 | 578 #include <stdio.h> | 
| Chris@4 | 579 #ifdef HAVE_SYS_TYPES_H | 
| Chris@4 | 580 # include <sys/types.h> | 
| Chris@4 | 581 #endif | 
| Chris@4 | 582 #ifdef HAVE_SYS_STAT_H | 
| Chris@4 | 583 # include <sys/stat.h> | 
| Chris@4 | 584 #endif | 
| Chris@4 | 585 #ifdef STDC_HEADERS | 
| Chris@4 | 586 # include <stdlib.h> | 
| Chris@4 | 587 # include <stddef.h> | 
| Chris@4 | 588 #else | 
| Chris@4 | 589 # ifdef HAVE_STDLIB_H | 
| Chris@4 | 590 #  include <stdlib.h> | 
| Chris@4 | 591 # endif | 
| Chris@4 | 592 #endif | 
| Chris@4 | 593 #ifdef HAVE_STRING_H | 
| Chris@4 | 594 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | 
| Chris@4 | 595 #  include <memory.h> | 
| Chris@4 | 596 # endif | 
| Chris@4 | 597 # include <string.h> | 
| Chris@4 | 598 #endif | 
| Chris@4 | 599 #ifdef HAVE_STRINGS_H | 
| Chris@4 | 600 # include <strings.h> | 
| Chris@4 | 601 #endif | 
| Chris@4 | 602 #ifdef HAVE_INTTYPES_H | 
| Chris@4 | 603 # include <inttypes.h> | 
| Chris@4 | 604 #endif | 
| Chris@4 | 605 #ifdef HAVE_STDINT_H | 
| Chris@4 | 606 # include <stdint.h> | 
| Chris@4 | 607 #endif | 
| Chris@4 | 608 #ifdef HAVE_UNISTD_H | 
| Chris@4 | 609 # include <unistd.h> | 
| Chris@4 | 610 #endif" | 
| Chris@4 | 611 | 
| Chris@4 | 612 enable_option_checking=no | 
| Chris@4 | 613 ac_subst_vars='LTLIBOBJS | 
| Chris@4 | 614 LIBOBJS | 
| Chris@4 | 615 WITH_ASIO_FALSE | 
| Chris@4 | 616 WITH_ASIO_TRUE | 
| Chris@4 | 617 ENABLE_CXX_FALSE | 
| Chris@4 | 618 ENABLE_CXX_TRUE | 
| Chris@4 | 619 subdirs | 
| Chris@4 | 620 INCLUDES | 
| Chris@4 | 621 NASMOPT | 
| Chris@4 | 622 NASM | 
| Chris@4 | 623 DLL_LIBS | 
| Chris@4 | 624 THREAD_CFLAGS | 
| Chris@4 | 625 SHARED_FLAGS | 
| Chris@4 | 626 PADLL | 
| Chris@4 | 627 OTHER_OBJS | 
| Chris@4 | 628 LT_AGE | 
| Chris@4 | 629 LT_REVISION | 
| Chris@4 | 630 LT_CURRENT | 
| Chris@4 | 631 JACK_LIBS | 
| Chris@4 | 632 JACK_CFLAGS | 
| Chris@4 | 633 PKG_CONFIG_LIBDIR | 
| Chris@4 | 634 PKG_CONFIG_PATH | 
| Chris@4 | 635 PKG_CONFIG | 
| Chris@4 | 636 INSTALL_DATA | 
| Chris@4 | 637 INSTALL_SCRIPT | 
| Chris@4 | 638 INSTALL_PROGRAM | 
| Chris@4 | 639 CXXCPP | 
| Chris@4 | 640 CPP | 
| Chris@4 | 641 OTOOL64 | 
| Chris@4 | 642 OTOOL | 
| Chris@4 | 643 LIPO | 
| Chris@4 | 644 NMEDIT | 
| Chris@4 | 645 DSYMUTIL | 
| Chris@4 | 646 MANIFEST_TOOL | 
| Chris@4 | 647 AWK | 
| Chris@4 | 648 RANLIB | 
| Chris@4 | 649 STRIP | 
| Chris@4 | 650 ac_ct_AR | 
| Chris@4 | 651 AR | 
| Chris@4 | 652 LN_S | 
| Chris@4 | 653 NM | 
| Chris@4 | 654 ac_ct_DUMPBIN | 
| Chris@4 | 655 DUMPBIN | 
| Chris@4 | 656 LD | 
| Chris@4 | 657 FGREP | 
| Chris@4 | 658 EGREP | 
| Chris@4 | 659 GREP | 
| Chris@4 | 660 SED | 
| Chris@4 | 661 LIBTOOL | 
| Chris@4 | 662 OBJDUMP | 
| Chris@4 | 663 DLLTOOL | 
| Chris@4 | 664 AS | 
| Chris@4 | 665 ac_ct_CXX | 
| Chris@4 | 666 CXXFLAGS | 
| Chris@4 | 667 CXX | 
| Chris@4 | 668 OBJEXT | 
| Chris@4 | 669 EXEEXT | 
| Chris@4 | 670 ac_ct_CC | 
| Chris@4 | 671 CPPFLAGS | 
| Chris@4 | 672 LDFLAGS | 
| Chris@4 | 673 CFLAGS | 
| Chris@4 | 674 CC | 
| Chris@4 | 675 target_os | 
| Chris@4 | 676 target_vendor | 
| Chris@4 | 677 target_cpu | 
| Chris@4 | 678 target | 
| Chris@4 | 679 host_os | 
| Chris@4 | 680 host_vendor | 
| Chris@4 | 681 host_cpu | 
| Chris@4 | 682 host | 
| Chris@4 | 683 build_os | 
| Chris@4 | 684 build_vendor | 
| Chris@4 | 685 build_cpu | 
| Chris@4 | 686 build | 
| Chris@4 | 687 target_alias | 
| Chris@4 | 688 host_alias | 
| Chris@4 | 689 build_alias | 
| Chris@4 | 690 LIBS | 
| Chris@4 | 691 ECHO_T | 
| Chris@4 | 692 ECHO_N | 
| Chris@4 | 693 ECHO_C | 
| Chris@4 | 694 DEFS | 
| Chris@4 | 695 mandir | 
| Chris@4 | 696 localedir | 
| Chris@4 | 697 libdir | 
| Chris@4 | 698 psdir | 
| Chris@4 | 699 pdfdir | 
| Chris@4 | 700 dvidir | 
| Chris@4 | 701 htmldir | 
| Chris@4 | 702 infodir | 
| Chris@4 | 703 docdir | 
| Chris@4 | 704 oldincludedir | 
| Chris@4 | 705 includedir | 
| Chris@4 | 706 localstatedir | 
| Chris@4 | 707 sharedstatedir | 
| Chris@4 | 708 sysconfdir | 
| Chris@4 | 709 datadir | 
| Chris@4 | 710 datarootdir | 
| Chris@4 | 711 libexecdir | 
| Chris@4 | 712 sbindir | 
| Chris@4 | 713 bindir | 
| Chris@4 | 714 program_transform_name | 
| Chris@4 | 715 prefix | 
| Chris@4 | 716 exec_prefix | 
| Chris@4 | 717 PACKAGE_URL | 
| Chris@4 | 718 PACKAGE_BUGREPORT | 
| Chris@4 | 719 PACKAGE_STRING | 
| Chris@4 | 720 PACKAGE_VERSION | 
| Chris@4 | 721 PACKAGE_TARNAME | 
| Chris@4 | 722 PACKAGE_NAME | 
| Chris@4 | 723 PATH_SEPARATOR | 
| Chris@4 | 724 SHELL' | 
| Chris@4 | 725 ac_subst_files='' | 
| Chris@4 | 726 ac_user_opts=' | 
| Chris@4 | 727 enable_option_checking | 
| Chris@4 | 728 with_alsa | 
| Chris@4 | 729 with_jack | 
| Chris@4 | 730 with_oss | 
| Chris@4 | 731 with_asihpi | 
| Chris@4 | 732 with_winapi | 
| Chris@4 | 733 with_asiodir | 
| Chris@4 | 734 with_dxdir | 
| Chris@4 | 735 enable_debug_output | 
| Chris@4 | 736 enable_cxx | 
| Chris@4 | 737 enable_mac_debug | 
| Chris@4 | 738 enable_mac_universal | 
| Chris@4 | 739 with_host_os | 
| Chris@4 | 740 enable_shared | 
| Chris@4 | 741 enable_static | 
| Chris@4 | 742 with_pic | 
| Chris@4 | 743 enable_fast_install | 
| Chris@4 | 744 with_gnu_ld | 
| Chris@4 | 745 with_sysroot | 
| Chris@4 | 746 enable_libtool_lock | 
| Chris@4 | 747 ' | 
| Chris@4 | 748       ac_precious_vars='build_alias | 
| Chris@4 | 749 host_alias | 
| Chris@4 | 750 target_alias | 
| Chris@4 | 751 CC | 
| Chris@4 | 752 CFLAGS | 
| Chris@4 | 753 LDFLAGS | 
| Chris@4 | 754 LIBS | 
| Chris@4 | 755 CPPFLAGS | 
| Chris@4 | 756 CXX | 
| Chris@4 | 757 CXXFLAGS | 
| Chris@4 | 758 CCC | 
| Chris@4 | 759 CPP | 
| Chris@4 | 760 CXXCPP | 
| Chris@4 | 761 PKG_CONFIG | 
| Chris@4 | 762 PKG_CONFIG_PATH | 
| Chris@4 | 763 PKG_CONFIG_LIBDIR | 
| Chris@4 | 764 JACK_CFLAGS | 
| Chris@4 | 765 JACK_LIBS' | 
| Chris@4 | 766 ac_subdirs_all='bindings/cpp' | 
| Chris@4 | 767 | 
| Chris@4 | 768 # Initialize some variables set by options. | 
| Chris@4 | 769 ac_init_help= | 
| Chris@4 | 770 ac_init_version=false | 
| Chris@4 | 771 ac_unrecognized_opts= | 
| Chris@4 | 772 ac_unrecognized_sep= | 
| Chris@4 | 773 # The variables have the same names as the options, with | 
| Chris@4 | 774 # dashes changed to underlines. | 
| Chris@4 | 775 cache_file=/dev/null | 
| Chris@4 | 776 exec_prefix=NONE | 
| Chris@4 | 777 no_create= | 
| Chris@4 | 778 no_recursion= | 
| Chris@4 | 779 prefix=NONE | 
| Chris@4 | 780 program_prefix=NONE | 
| Chris@4 | 781 program_suffix=NONE | 
| Chris@4 | 782 program_transform_name=s,x,x, | 
| Chris@4 | 783 silent= | 
| Chris@4 | 784 site= | 
| Chris@4 | 785 srcdir= | 
| Chris@4 | 786 verbose= | 
| Chris@4 | 787 x_includes=NONE | 
| Chris@4 | 788 x_libraries=NONE | 
| Chris@4 | 789 | 
| Chris@4 | 790 # Installation directory options. | 
| Chris@4 | 791 # These are left unexpanded so users can "make install exec_prefix=/foo" | 
| Chris@4 | 792 # and all the variables that are supposed to be based on exec_prefix | 
| Chris@4 | 793 # by default will actually change. | 
| Chris@4 | 794 # Use braces instead of parens because sh, perl, etc. also accept them. | 
| Chris@4 | 795 # (The list follows the same order as the GNU Coding Standards.) | 
| Chris@4 | 796 bindir='${exec_prefix}/bin' | 
| Chris@4 | 797 sbindir='${exec_prefix}/sbin' | 
| Chris@4 | 798 libexecdir='${exec_prefix}/libexec' | 
| Chris@4 | 799 datarootdir='${prefix}/share' | 
| Chris@4 | 800 datadir='${datarootdir}' | 
| Chris@4 | 801 sysconfdir='${prefix}/etc' | 
| Chris@4 | 802 sharedstatedir='${prefix}/com' | 
| Chris@4 | 803 localstatedir='${prefix}/var' | 
| Chris@4 | 804 includedir='${prefix}/include' | 
| Chris@4 | 805 oldincludedir='/usr/include' | 
| Chris@4 | 806 docdir='${datarootdir}/doc/${PACKAGE}' | 
| Chris@4 | 807 infodir='${datarootdir}/info' | 
| Chris@4 | 808 htmldir='${docdir}' | 
| Chris@4 | 809 dvidir='${docdir}' | 
| Chris@4 | 810 pdfdir='${docdir}' | 
| Chris@4 | 811 psdir='${docdir}' | 
| Chris@4 | 812 libdir='${exec_prefix}/lib' | 
| Chris@4 | 813 localedir='${datarootdir}/locale' | 
| Chris@4 | 814 mandir='${datarootdir}/man' | 
| Chris@4 | 815 | 
| Chris@4 | 816 ac_prev= | 
| Chris@4 | 817 ac_dashdash= | 
| Chris@4 | 818 for ac_option | 
| Chris@4 | 819 do | 
| Chris@4 | 820   # If the previous option needs an argument, assign it. | 
| Chris@4 | 821   if test -n "$ac_prev"; then | 
| Chris@4 | 822     eval $ac_prev=\$ac_option | 
| Chris@4 | 823     ac_prev= | 
| Chris@4 | 824     continue | 
| Chris@4 | 825   fi | 
| Chris@4 | 826 | 
| Chris@4 | 827   case $ac_option in | 
| Chris@4 | 828   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; | 
| Chris@4 | 829   *=)   ac_optarg= ;; | 
| Chris@4 | 830   *)    ac_optarg=yes ;; | 
| Chris@4 | 831   esac | 
| Chris@4 | 832 | 
| Chris@4 | 833   # Accept the important Cygnus configure options, so we can diagnose typos. | 
| Chris@4 | 834 | 
| Chris@4 | 835   case $ac_dashdash$ac_option in | 
| Chris@4 | 836   --) | 
| Chris@4 | 837     ac_dashdash=yes ;; | 
| Chris@4 | 838 | 
| Chris@4 | 839   -bindir | --bindir | --bindi | --bind | --bin | --bi) | 
| Chris@4 | 840     ac_prev=bindir ;; | 
| Chris@4 | 841   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | 
| Chris@4 | 842     bindir=$ac_optarg ;; | 
| Chris@4 | 843 | 
| Chris@4 | 844   -build | --build | --buil | --bui | --bu) | 
| Chris@4 | 845     ac_prev=build_alias ;; | 
| Chris@4 | 846   -build=* | --build=* | --buil=* | --bui=* | --bu=*) | 
| Chris@4 | 847     build_alias=$ac_optarg ;; | 
| Chris@4 | 848 | 
| Chris@4 | 849   -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
| Chris@4 | 850   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
| Chris@4 | 851     ac_prev=cache_file ;; | 
| Chris@4 | 852   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
| Chris@4 | 853   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | 
| Chris@4 | 854     cache_file=$ac_optarg ;; | 
| Chris@4 | 855 | 
| Chris@4 | 856   --config-cache | -C) | 
| Chris@4 | 857     cache_file=config.cache ;; | 
| Chris@4 | 858 | 
| Chris@4 | 859   -datadir | --datadir | --datadi | --datad) | 
| Chris@4 | 860     ac_prev=datadir ;; | 
| Chris@4 | 861   -datadir=* | --datadir=* | --datadi=* | --datad=*) | 
| Chris@4 | 862     datadir=$ac_optarg ;; | 
| Chris@4 | 863 | 
| Chris@4 | 864   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ | 
| Chris@4 | 865   | --dataroo | --dataro | --datar) | 
| Chris@4 | 866     ac_prev=datarootdir ;; | 
| Chris@4 | 867   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ | 
| Chris@4 | 868   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) | 
| Chris@4 | 869     datarootdir=$ac_optarg ;; | 
| Chris@4 | 870 | 
| Chris@4 | 871   -disable-* | --disable-*) | 
| Chris@4 | 872     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` | 
| Chris@4 | 873     # Reject names that are not valid shell variable names. | 
| Chris@4 | 874     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
| Chris@4 | 875       as_fn_error $? "invalid feature name: $ac_useropt" | 
| Chris@4 | 876     ac_useropt_orig=$ac_useropt | 
| Chris@4 | 877     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
| Chris@4 | 878     case $ac_user_opts in | 
| Chris@4 | 879       *" | 
| Chris@4 | 880 "enable_$ac_useropt" | 
| Chris@4 | 881 "*) ;; | 
| Chris@4 | 882       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" | 
| Chris@4 | 883 	 ac_unrecognized_sep=', ';; | 
| Chris@4 | 884     esac | 
| Chris@4 | 885     eval enable_$ac_useropt=no ;; | 
| Chris@4 | 886 | 
| Chris@4 | 887   -docdir | --docdir | --docdi | --doc | --do) | 
| Chris@4 | 888     ac_prev=docdir ;; | 
| Chris@4 | 889   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) | 
| Chris@4 | 890     docdir=$ac_optarg ;; | 
| Chris@4 | 891 | 
| Chris@4 | 892   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) | 
| Chris@4 | 893     ac_prev=dvidir ;; | 
| Chris@4 | 894   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) | 
| Chris@4 | 895     dvidir=$ac_optarg ;; | 
| Chris@4 | 896 | 
| Chris@4 | 897   -enable-* | --enable-*) | 
| Chris@4 | 898     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` | 
| Chris@4 | 899     # Reject names that are not valid shell variable names. | 
| Chris@4 | 900     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
| Chris@4 | 901       as_fn_error $? "invalid feature name: $ac_useropt" | 
| Chris@4 | 902     ac_useropt_orig=$ac_useropt | 
| Chris@4 | 903     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
| Chris@4 | 904     case $ac_user_opts in | 
| Chris@4 | 905       *" | 
| Chris@4 | 906 "enable_$ac_useropt" | 
| Chris@4 | 907 "*) ;; | 
| Chris@4 | 908       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" | 
| Chris@4 | 909 	 ac_unrecognized_sep=', ';; | 
| Chris@4 | 910     esac | 
| Chris@4 | 911     eval enable_$ac_useropt=\$ac_optarg ;; | 
| Chris@4 | 912 | 
| Chris@4 | 913   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | 
| Chris@4 | 914   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | 
| Chris@4 | 915   | --exec | --exe | --ex) | 
| Chris@4 | 916     ac_prev=exec_prefix ;; | 
| Chris@4 | 917   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | 
| Chris@4 | 918   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | 
| Chris@4 | 919   | --exec=* | --exe=* | --ex=*) | 
| Chris@4 | 920     exec_prefix=$ac_optarg ;; | 
| Chris@4 | 921 | 
| Chris@4 | 922   -gas | --gas | --ga | --g) | 
| Chris@4 | 923     # Obsolete; use --with-gas. | 
| Chris@4 | 924     with_gas=yes ;; | 
| Chris@4 | 925 | 
| Chris@4 | 926   -help | --help | --hel | --he | -h) | 
| Chris@4 | 927     ac_init_help=long ;; | 
| Chris@4 | 928   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | 
| Chris@4 | 929     ac_init_help=recursive ;; | 
| Chris@4 | 930   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | 
| Chris@4 | 931     ac_init_help=short ;; | 
| Chris@4 | 932 | 
| Chris@4 | 933   -host | --host | --hos | --ho) | 
| Chris@4 | 934     ac_prev=host_alias ;; | 
| Chris@4 | 935   -host=* | --host=* | --hos=* | --ho=*) | 
| Chris@4 | 936     host_alias=$ac_optarg ;; | 
| Chris@4 | 937 | 
| Chris@4 | 938   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) | 
| Chris@4 | 939     ac_prev=htmldir ;; | 
| Chris@4 | 940   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ | 
| Chris@4 | 941   | --ht=*) | 
| Chris@4 | 942     htmldir=$ac_optarg ;; | 
| Chris@4 | 943 | 
| Chris@4 | 944   -includedir | --includedir | --includedi | --included | --include \ | 
| Chris@4 | 945   | --includ | --inclu | --incl | --inc) | 
| Chris@4 | 946     ac_prev=includedir ;; | 
| Chris@4 | 947   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | 
| Chris@4 | 948   | --includ=* | --inclu=* | --incl=* | --inc=*) | 
| Chris@4 | 949     includedir=$ac_optarg ;; | 
| Chris@4 | 950 | 
| Chris@4 | 951   -infodir | --infodir | --infodi | --infod | --info | --inf) | 
| Chris@4 | 952     ac_prev=infodir ;; | 
| Chris@4 | 953   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | 
| Chris@4 | 954     infodir=$ac_optarg ;; | 
| Chris@4 | 955 | 
| Chris@4 | 956   -libdir | --libdir | --libdi | --libd) | 
| Chris@4 | 957     ac_prev=libdir ;; | 
| Chris@4 | 958   -libdir=* | --libdir=* | --libdi=* | --libd=*) | 
| Chris@4 | 959     libdir=$ac_optarg ;; | 
| Chris@4 | 960 | 
| Chris@4 | 961   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | 
| Chris@4 | 962   | --libexe | --libex | --libe) | 
| Chris@4 | 963     ac_prev=libexecdir ;; | 
| Chris@4 | 964   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | 
| Chris@4 | 965   | --libexe=* | --libex=* | --libe=*) | 
| Chris@4 | 966     libexecdir=$ac_optarg ;; | 
| Chris@4 | 967 | 
| Chris@4 | 968   -localedir | --localedir | --localedi | --localed | --locale) | 
| Chris@4 | 969     ac_prev=localedir ;; | 
| Chris@4 | 970   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) | 
| Chris@4 | 971     localedir=$ac_optarg ;; | 
| Chris@4 | 972 | 
| Chris@4 | 973   -localstatedir | --localstatedir | --localstatedi | --localstated \ | 
| Chris@4 | 974   | --localstate | --localstat | --localsta | --localst | --locals) | 
| Chris@4 | 975     ac_prev=localstatedir ;; | 
| Chris@4 | 976   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | 
| Chris@4 | 977   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) | 
| Chris@4 | 978     localstatedir=$ac_optarg ;; | 
| Chris@4 | 979 | 
| Chris@4 | 980   -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | 
| Chris@4 | 981     ac_prev=mandir ;; | 
| Chris@4 | 982   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | 
| Chris@4 | 983     mandir=$ac_optarg ;; | 
| Chris@4 | 984 | 
| Chris@4 | 985   -nfp | --nfp | --nf) | 
| Chris@4 | 986     # Obsolete; use --without-fp. | 
| Chris@4 | 987     with_fp=no ;; | 
| Chris@4 | 988 | 
| Chris@4 | 989   -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | 
| Chris@4 | 990   | --no-cr | --no-c | -n) | 
| Chris@4 | 991     no_create=yes ;; | 
| Chris@4 | 992 | 
| Chris@4 | 993   -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | 
| Chris@4 | 994   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | 
| Chris@4 | 995     no_recursion=yes ;; | 
| Chris@4 | 996 | 
| Chris@4 | 997   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | 
| Chris@4 | 998   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | 
| Chris@4 | 999   | --oldin | --oldi | --old | --ol | --o) | 
| Chris@4 | 1000     ac_prev=oldincludedir ;; | 
| Chris@4 | 1001   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | 
| Chris@4 | 1002   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | 
| Chris@4 | 1003   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | 
| Chris@4 | 1004     oldincludedir=$ac_optarg ;; | 
| Chris@4 | 1005 | 
| Chris@4 | 1006   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
| Chris@4 | 1007     ac_prev=prefix ;; | 
| Chris@4 | 1008   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
| Chris@4 | 1009     prefix=$ac_optarg ;; | 
| Chris@4 | 1010 | 
| Chris@4 | 1011   -program-prefix | --program-prefix | --program-prefi | --program-pref \ | 
| Chris@4 | 1012   | --program-pre | --program-pr | --program-p) | 
| Chris@4 | 1013     ac_prev=program_prefix ;; | 
| Chris@4 | 1014   -program-prefix=* | --program-prefix=* | --program-prefi=* \ | 
| Chris@4 | 1015   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | 
| Chris@4 | 1016     program_prefix=$ac_optarg ;; | 
| Chris@4 | 1017 | 
| Chris@4 | 1018   -program-suffix | --program-suffix | --program-suffi | --program-suff \ | 
| Chris@4 | 1019   | --program-suf | --program-su | --program-s) | 
| Chris@4 | 1020     ac_prev=program_suffix ;; | 
| Chris@4 | 1021   -program-suffix=* | --program-suffix=* | --program-suffi=* \ | 
| Chris@4 | 1022   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | 
| Chris@4 | 1023     program_suffix=$ac_optarg ;; | 
| Chris@4 | 1024 | 
| Chris@4 | 1025   -program-transform-name | --program-transform-name \ | 
| Chris@4 | 1026   | --program-transform-nam | --program-transform-na \ | 
| Chris@4 | 1027   | --program-transform-n | --program-transform- \ | 
| Chris@4 | 1028   | --program-transform | --program-transfor \ | 
| Chris@4 | 1029   | --program-transfo | --program-transf \ | 
| Chris@4 | 1030   | --program-trans | --program-tran \ | 
| Chris@4 | 1031   | --progr-tra | --program-tr | --program-t) | 
| Chris@4 | 1032     ac_prev=program_transform_name ;; | 
| Chris@4 | 1033   -program-transform-name=* | --program-transform-name=* \ | 
| Chris@4 | 1034   | --program-transform-nam=* | --program-transform-na=* \ | 
| Chris@4 | 1035   | --program-transform-n=* | --program-transform-=* \ | 
| Chris@4 | 1036   | --program-transform=* | --program-transfor=* \ | 
| Chris@4 | 1037   | --program-transfo=* | --program-transf=* \ | 
| Chris@4 | 1038   | --program-trans=* | --program-tran=* \ | 
| Chris@4 | 1039   | --progr-tra=* | --program-tr=* | --program-t=*) | 
| Chris@4 | 1040     program_transform_name=$ac_optarg ;; | 
| Chris@4 | 1041 | 
| Chris@4 | 1042   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) | 
| Chris@4 | 1043     ac_prev=pdfdir ;; | 
| Chris@4 | 1044   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) | 
| Chris@4 | 1045     pdfdir=$ac_optarg ;; | 
| Chris@4 | 1046 | 
| Chris@4 | 1047   -psdir | --psdir | --psdi | --psd | --ps) | 
| Chris@4 | 1048     ac_prev=psdir ;; | 
| Chris@4 | 1049   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) | 
| Chris@4 | 1050     psdir=$ac_optarg ;; | 
| Chris@4 | 1051 | 
| Chris@4 | 1052   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
| Chris@4 | 1053   | -silent | --silent | --silen | --sile | --sil) | 
| Chris@4 | 1054     silent=yes ;; | 
| Chris@4 | 1055 | 
| Chris@4 | 1056   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | 
| Chris@4 | 1057     ac_prev=sbindir ;; | 
| Chris@4 | 1058   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | 
| Chris@4 | 1059   | --sbi=* | --sb=*) | 
| Chris@4 | 1060     sbindir=$ac_optarg ;; | 
| Chris@4 | 1061 | 
| Chris@4 | 1062   -sharedstatedir | --sharedstatedir | --sharedstatedi \ | 
| Chris@4 | 1063   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | 
| Chris@4 | 1064   | --sharedst | --shareds | --shared | --share | --shar \ | 
| Chris@4 | 1065   | --sha | --sh) | 
| Chris@4 | 1066     ac_prev=sharedstatedir ;; | 
| Chris@4 | 1067   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | 
| Chris@4 | 1068   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | 
| Chris@4 | 1069   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | 
| Chris@4 | 1070   | --sha=* | --sh=*) | 
| Chris@4 | 1071     sharedstatedir=$ac_optarg ;; | 
| Chris@4 | 1072 | 
| Chris@4 | 1073   -site | --site | --sit) | 
| Chris@4 | 1074     ac_prev=site ;; | 
| Chris@4 | 1075   -site=* | --site=* | --sit=*) | 
| Chris@4 | 1076     site=$ac_optarg ;; | 
| Chris@4 | 1077 | 
| Chris@4 | 1078   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
| Chris@4 | 1079     ac_prev=srcdir ;; | 
| Chris@4 | 1080   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
| Chris@4 | 1081     srcdir=$ac_optarg ;; | 
| Chris@4 | 1082 | 
| Chris@4 | 1083   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | 
| Chris@4 | 1084   | --syscon | --sysco | --sysc | --sys | --sy) | 
| Chris@4 | 1085     ac_prev=sysconfdir ;; | 
| Chris@4 | 1086   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | 
| Chris@4 | 1087   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | 
| Chris@4 | 1088     sysconfdir=$ac_optarg ;; | 
| Chris@4 | 1089 | 
| Chris@4 | 1090   -target | --target | --targe | --targ | --tar | --ta | --t) | 
| Chris@4 | 1091     ac_prev=target_alias ;; | 
| Chris@4 | 1092   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) | 
| Chris@4 | 1093     target_alias=$ac_optarg ;; | 
| Chris@4 | 1094 | 
| Chris@4 | 1095   -v | -verbose | --verbose | --verbos | --verbo | --verb) | 
| Chris@4 | 1096     verbose=yes ;; | 
| Chris@4 | 1097 | 
| Chris@4 | 1098   -version | --version | --versio | --versi | --vers | -V) | 
| Chris@4 | 1099     ac_init_version=: ;; | 
| Chris@4 | 1100 | 
| Chris@4 | 1101   -with-* | --with-*) | 
| Chris@4 | 1102     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` | 
| Chris@4 | 1103     # Reject names that are not valid shell variable names. | 
| Chris@4 | 1104     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
| Chris@4 | 1105       as_fn_error $? "invalid package name: $ac_useropt" | 
| Chris@4 | 1106     ac_useropt_orig=$ac_useropt | 
| Chris@4 | 1107     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
| Chris@4 | 1108     case $ac_user_opts in | 
| Chris@4 | 1109       *" | 
| Chris@4 | 1110 "with_$ac_useropt" | 
| Chris@4 | 1111 "*) ;; | 
| Chris@4 | 1112       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" | 
| Chris@4 | 1113 	 ac_unrecognized_sep=', ';; | 
| Chris@4 | 1114     esac | 
| Chris@4 | 1115     eval with_$ac_useropt=\$ac_optarg ;; | 
| Chris@4 | 1116 | 
| Chris@4 | 1117   -without-* | --without-*) | 
| Chris@4 | 1118     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` | 
| Chris@4 | 1119     # Reject names that are not valid shell variable names. | 
| Chris@4 | 1120     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && | 
| Chris@4 | 1121       as_fn_error $? "invalid package name: $ac_useropt" | 
| Chris@4 | 1122     ac_useropt_orig=$ac_useropt | 
| Chris@4 | 1123     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` | 
| Chris@4 | 1124     case $ac_user_opts in | 
| Chris@4 | 1125       *" | 
| Chris@4 | 1126 "with_$ac_useropt" | 
| Chris@4 | 1127 "*) ;; | 
| Chris@4 | 1128       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" | 
| Chris@4 | 1129 	 ac_unrecognized_sep=', ';; | 
| Chris@4 | 1130     esac | 
| Chris@4 | 1131     eval with_$ac_useropt=no ;; | 
| Chris@4 | 1132 | 
| Chris@4 | 1133   --x) | 
| Chris@4 | 1134     # Obsolete; use --with-x. | 
| Chris@4 | 1135     with_x=yes ;; | 
| Chris@4 | 1136 | 
| Chris@4 | 1137   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | 
| Chris@4 | 1138   | --x-incl | --x-inc | --x-in | --x-i) | 
| Chris@4 | 1139     ac_prev=x_includes ;; | 
| Chris@4 | 1140   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | 
| Chris@4 | 1141   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | 
| Chris@4 | 1142     x_includes=$ac_optarg ;; | 
| Chris@4 | 1143 | 
| Chris@4 | 1144   -x-libraries | --x-libraries | --x-librarie | --x-librari \ | 
| Chris@4 | 1145   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | 
| Chris@4 | 1146     ac_prev=x_libraries ;; | 
| Chris@4 | 1147   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | 
| Chris@4 | 1148   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | 
| Chris@4 | 1149     x_libraries=$ac_optarg ;; | 
| Chris@4 | 1150 | 
| Chris@4 | 1151   -*) as_fn_error $? "unrecognized option: \`$ac_option' | 
| Chris@4 | 1152 Try \`$0 --help' for more information" | 
| Chris@4 | 1153     ;; | 
| Chris@4 | 1154 | 
| Chris@4 | 1155   *=*) | 
| Chris@4 | 1156     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | 
| Chris@4 | 1157     # Reject names that are not valid shell variable names. | 
| Chris@4 | 1158     case $ac_envvar in #( | 
| Chris@4 | 1159       '' | [0-9]* | *[!_$as_cr_alnum]* ) | 
| Chris@4 | 1160       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; | 
| Chris@4 | 1161     esac | 
| Chris@4 | 1162     eval $ac_envvar=\$ac_optarg | 
| Chris@4 | 1163     export $ac_envvar ;; | 
| Chris@4 | 1164 | 
| Chris@4 | 1165   *) | 
| Chris@4 | 1166     # FIXME: should be removed in autoconf 3.0. | 
| Chris@4 | 1167     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | 
| Chris@4 | 1168     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | 
| Chris@4 | 1169       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | 
| Chris@4 | 1170     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" | 
| Chris@4 | 1171     ;; | 
| Chris@4 | 1172 | 
| Chris@4 | 1173   esac | 
| Chris@4 | 1174 done | 
| Chris@4 | 1175 | 
| Chris@4 | 1176 if test -n "$ac_prev"; then | 
| Chris@4 | 1177   ac_option=--`echo $ac_prev | sed 's/_/-/g'` | 
| Chris@4 | 1178   as_fn_error $? "missing argument to $ac_option" | 
| Chris@4 | 1179 fi | 
| Chris@4 | 1180 | 
| Chris@4 | 1181 if test -n "$ac_unrecognized_opts"; then | 
| Chris@4 | 1182   case $enable_option_checking in | 
| Chris@4 | 1183     no) ;; | 
| Chris@4 | 1184     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; | 
| Chris@4 | 1185     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; | 
| Chris@4 | 1186   esac | 
| Chris@4 | 1187 fi | 
| Chris@4 | 1188 | 
| Chris@4 | 1189 # Check all directory arguments for consistency. | 
| Chris@4 | 1190 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \ | 
| Chris@4 | 1191 		datadir sysconfdir sharedstatedir localstatedir includedir \ | 
| Chris@4 | 1192 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ | 
| Chris@4 | 1193 		libdir localedir mandir | 
| Chris@4 | 1194 do | 
| Chris@4 | 1195   eval ac_val=\$$ac_var | 
| Chris@4 | 1196   # Remove trailing slashes. | 
| Chris@4 | 1197   case $ac_val in | 
| Chris@4 | 1198     */ ) | 
| Chris@4 | 1199       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` | 
| Chris@4 | 1200       eval $ac_var=\$ac_val;; | 
| Chris@4 | 1201   esac | 
| Chris@4 | 1202   # Be sure to have absolute directory names. | 
| Chris@4 | 1203   case $ac_val in | 
| Chris@4 | 1204     [\\/$]* | ?:[\\/]* )  continue;; | 
| Chris@4 | 1205     NONE | '' ) case $ac_var in *prefix ) continue;; esac;; | 
| Chris@4 | 1206   esac | 
| Chris@4 | 1207   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" | 
| Chris@4 | 1208 done | 
| Chris@4 | 1209 | 
| Chris@4 | 1210 # There might be people who depend on the old broken behavior: `$host' | 
| Chris@4 | 1211 # used to hold the argument of --host etc. | 
| Chris@4 | 1212 # FIXME: To remove some day. | 
| Chris@4 | 1213 build=$build_alias | 
| Chris@4 | 1214 host=$host_alias | 
| Chris@4 | 1215 target=$target_alias | 
| Chris@4 | 1216 | 
| Chris@4 | 1217 # FIXME: To remove some day. | 
| Chris@4 | 1218 if test "x$host_alias" != x; then | 
| Chris@4 | 1219   if test "x$build_alias" = x; then | 
| Chris@4 | 1220     cross_compiling=maybe | 
| Chris@4 | 1221     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host. | 
| Chris@4 | 1222     If a cross compiler is detected then cross compile mode will be used" >&2 | 
| Chris@4 | 1223   elif test "x$build_alias" != "x$host_alias"; then | 
| Chris@4 | 1224     cross_compiling=yes | 
| Chris@4 | 1225   fi | 
| Chris@4 | 1226 fi | 
| Chris@4 | 1227 | 
| Chris@4 | 1228 ac_tool_prefix= | 
| Chris@4 | 1229 test -n "$host_alias" && ac_tool_prefix=$host_alias- | 
| Chris@4 | 1230 | 
| Chris@4 | 1231 test "$silent" = yes && exec 6>/dev/null | 
| Chris@4 | 1232 | 
| Chris@4 | 1233 | 
| Chris@4 | 1234 ac_pwd=`pwd` && test -n "$ac_pwd" && | 
| Chris@4 | 1235 ac_ls_di=`ls -di .` && | 
| Chris@4 | 1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || | 
| Chris@4 | 1237   as_fn_error $? "working directory cannot be determined" | 
| Chris@4 | 1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || | 
| Chris@4 | 1239   as_fn_error $? "pwd does not report name of working directory" | 
| Chris@4 | 1240 | 
| Chris@4 | 1241 | 
| Chris@4 | 1242 # Find the source files, if location was not specified. | 
| Chris@4 | 1243 if test -z "$srcdir"; then | 
| Chris@4 | 1244   ac_srcdir_defaulted=yes | 
| Chris@4 | 1245   # Try the directory containing this script, then the parent directory. | 
| Chris@4 | 1246   ac_confdir=`$as_dirname -- "$as_myself" || | 
| Chris@4 | 1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| Chris@4 | 1248 	 X"$as_myself" : 'X\(//\)[^/]' \| \ | 
| Chris@4 | 1249 	 X"$as_myself" : 'X\(//\)$' \| \ | 
| Chris@4 | 1250 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || | 
| Chris@4 | 1251 $as_echo X"$as_myself" | | 
| Chris@4 | 1252     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
| Chris@4 | 1253 	    s//\1/ | 
| Chris@4 | 1254 	    q | 
| Chris@4 | 1255 	  } | 
| Chris@4 | 1256 	  /^X\(\/\/\)[^/].*/{ | 
| Chris@4 | 1257 	    s//\1/ | 
| Chris@4 | 1258 	    q | 
| Chris@4 | 1259 	  } | 
| Chris@4 | 1260 	  /^X\(\/\/\)$/{ | 
| Chris@4 | 1261 	    s//\1/ | 
| Chris@4 | 1262 	    q | 
| Chris@4 | 1263 	  } | 
| Chris@4 | 1264 	  /^X\(\/\).*/{ | 
| Chris@4 | 1265 	    s//\1/ | 
| Chris@4 | 1266 	    q | 
| Chris@4 | 1267 	  } | 
| Chris@4 | 1268 	  s/.*/./; q'` | 
| Chris@4 | 1269   srcdir=$ac_confdir | 
| Chris@4 | 1270   if test ! -r "$srcdir/$ac_unique_file"; then | 
| Chris@4 | 1271     srcdir=.. | 
| Chris@4 | 1272   fi | 
| Chris@4 | 1273 else | 
| Chris@4 | 1274   ac_srcdir_defaulted=no | 
| Chris@4 | 1275 fi | 
| Chris@4 | 1276 if test ! -r "$srcdir/$ac_unique_file"; then | 
| Chris@4 | 1277   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." | 
| Chris@4 | 1278   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" | 
| Chris@4 | 1279 fi | 
| Chris@4 | 1280 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" | 
| Chris@4 | 1281 ac_abs_confdir=`( | 
| Chris@4 | 1282 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" | 
| Chris@4 | 1283 	pwd)` | 
| Chris@4 | 1284 # When building in place, set srcdir=. | 
| Chris@4 | 1285 if test "$ac_abs_confdir" = "$ac_pwd"; then | 
| Chris@4 | 1286   srcdir=. | 
| Chris@4 | 1287 fi | 
| Chris@4 | 1288 # Remove unnecessary trailing slashes from srcdir. | 
| Chris@4 | 1289 # Double slashes in file names in object file debugging info | 
| Chris@4 | 1290 # mess up M-x gdb in Emacs. | 
| Chris@4 | 1291 case $srcdir in | 
| Chris@4 | 1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; | 
| Chris@4 | 1293 esac | 
| Chris@4 | 1294 for ac_var in $ac_precious_vars; do | 
| Chris@4 | 1295   eval ac_env_${ac_var}_set=\${${ac_var}+set} | 
| Chris@4 | 1296   eval ac_env_${ac_var}_value=\$${ac_var} | 
| Chris@4 | 1297   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} | 
| Chris@4 | 1298   eval ac_cv_env_${ac_var}_value=\$${ac_var} | 
| Chris@4 | 1299 done | 
| Chris@4 | 1300 | 
| Chris@4 | 1301 # | 
| Chris@4 | 1302 # Report the --help message. | 
| Chris@4 | 1303 # | 
| Chris@4 | 1304 if test "$ac_init_help" = "long"; then | 
| Chris@4 | 1305   # Omit some internal or obsolete options to make the list less imposing. | 
| Chris@4 | 1306   # This message is too long to be a string in the A/UX 3.1 sh. | 
| Chris@4 | 1307   cat <<_ACEOF | 
| Chris@4 | 1308 \`configure' configures this package to adapt to many kinds of systems. | 
| Chris@4 | 1309 | 
| Chris@4 | 1310 Usage: $0 [OPTION]... [VAR=VALUE]... | 
| Chris@4 | 1311 | 
| Chris@4 | 1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as | 
| Chris@4 | 1313 VAR=VALUE.  See below for descriptions of some of the useful variables. | 
| Chris@4 | 1314 | 
| Chris@4 | 1315 Defaults for the options are specified in brackets. | 
| Chris@4 | 1316 | 
| Chris@4 | 1317 Configuration: | 
| Chris@4 | 1318   -h, --help              display this help and exit | 
| Chris@4 | 1319       --help=short        display options specific to this package | 
| Chris@4 | 1320       --help=recursive    display the short help of all the included packages | 
| Chris@4 | 1321   -V, --version           display version information and exit | 
| Chris@4 | 1322   -q, --quiet, --silent   do not print \`checking ...' messages | 
| Chris@4 | 1323       --cache-file=FILE   cache test results in FILE [disabled] | 
| Chris@4 | 1324   -C, --config-cache      alias for \`--cache-file=config.cache' | 
| Chris@4 | 1325   -n, --no-create         do not create output files | 
| Chris@4 | 1326       --srcdir=DIR        find the sources in DIR [configure dir or \`..'] | 
| Chris@4 | 1327 | 
| Chris@4 | 1328 Installation directories: | 
| Chris@4 | 1329   --prefix=PREFIX         install architecture-independent files in PREFIX | 
| Chris@4 | 1330                           [$ac_default_prefix] | 
| Chris@4 | 1331   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX | 
| Chris@4 | 1332                           [PREFIX] | 
| Chris@4 | 1333 | 
| Chris@4 | 1334 By default, \`make install' will install all the files in | 
| Chris@4 | 1335 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify | 
| Chris@4 | 1336 an installation prefix other than \`$ac_default_prefix' using \`--prefix', | 
| Chris@4 | 1337 for instance \`--prefix=\$HOME'. | 
| Chris@4 | 1338 | 
| Chris@4 | 1339 For better control, use the options below. | 
| Chris@4 | 1340 | 
| Chris@4 | 1341 Fine tuning of the installation directories: | 
| Chris@4 | 1342   --bindir=DIR            user executables [EPREFIX/bin] | 
| Chris@4 | 1343   --sbindir=DIR           system admin executables [EPREFIX/sbin] | 
| Chris@4 | 1344   --libexecdir=DIR        program executables [EPREFIX/libexec] | 
| Chris@4 | 1345   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc] | 
| Chris@4 | 1346   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com] | 
| Chris@4 | 1347   --localstatedir=DIR     modifiable single-machine data [PREFIX/var] | 
| Chris@4 | 1348   --libdir=DIR            object code libraries [EPREFIX/lib] | 
| Chris@4 | 1349   --includedir=DIR        C header files [PREFIX/include] | 
| Chris@4 | 1350   --oldincludedir=DIR     C header files for non-gcc [/usr/include] | 
| Chris@4 | 1351   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share] | 
| Chris@4 | 1352   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR] | 
| Chris@4 | 1353   --infodir=DIR           info documentation [DATAROOTDIR/info] | 
| Chris@4 | 1354   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale] | 
| Chris@4 | 1355   --mandir=DIR            man documentation [DATAROOTDIR/man] | 
| Chris@4 | 1356   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE] | 
| Chris@4 | 1357   --htmldir=DIR           html documentation [DOCDIR] | 
| Chris@4 | 1358   --dvidir=DIR            dvi documentation [DOCDIR] | 
| Chris@4 | 1359   --pdfdir=DIR            pdf documentation [DOCDIR] | 
| Chris@4 | 1360   --psdir=DIR             ps documentation [DOCDIR] | 
| Chris@4 | 1361 _ACEOF | 
| Chris@4 | 1362 | 
| Chris@4 | 1363   cat <<\_ACEOF | 
| Chris@4 | 1364 | 
| Chris@4 | 1365 System types: | 
| Chris@4 | 1366   --build=BUILD     configure for building on BUILD [guessed] | 
| Chris@4 | 1367   --host=HOST       cross-compile to build programs to run on HOST [BUILD] | 
| Chris@4 | 1368   --target=TARGET   configure for building compilers for TARGET [HOST] | 
| Chris@4 | 1369 _ACEOF | 
| Chris@4 | 1370 fi | 
| Chris@4 | 1371 | 
| Chris@4 | 1372 if test -n "$ac_init_help"; then | 
| Chris@4 | 1373 | 
| Chris@4 | 1374   cat <<\_ACEOF | 
| Chris@4 | 1375 | 
| Chris@4 | 1376 Optional Features: | 
| Chris@4 | 1377   --disable-option-checking  ignore unrecognized --enable/--with options | 
| Chris@4 | 1378   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no) | 
| Chris@4 | 1379   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes] | 
| Chris@4 | 1380   --enable-debug-output   Enable debug output [no] | 
| Chris@4 | 1381   --enable-cxx            Enable C++ bindings [no] | 
| Chris@4 | 1382   --enable-mac-debug      Enable Mac debug [no] | 
| Chris@4 | 1383   --enable-mac-universal  Build Mac universal binaries [yes] | 
| Chris@4 | 1384   --enable-shared[=PKGS]  build shared libraries [default=yes] | 
| Chris@4 | 1385   --enable-static[=PKGS]  build static libraries [default=yes] | 
| Chris@4 | 1386   --enable-fast-install[=PKGS] | 
| Chris@4 | 1387                           optimize for fast installation [default=yes] | 
| Chris@4 | 1388   --disable-libtool-lock  avoid locking (might break parallel builds) | 
| Chris@4 | 1389 | 
| Chris@4 | 1390 Optional Packages: | 
| Chris@4 | 1391   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes] | 
| Chris@4 | 1392   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no) | 
| Chris@4 | 1393   --with-alsa             Enable support for ALSA [autodetect] | 
| Chris@4 | 1394   --with-jack             Enable support for JACK [autodetect] | 
| Chris@4 | 1395   --with-oss              Enable support for OSS [autodetect] | 
| Chris@4 | 1396   --with-asihpi           Enable support for ASIHPI [autodetect] | 
| Chris@4 | 1397   --with-winapi           Select Windows API support | 
| Chris@4 | 1398                           ([wmme|directx|asio|wasapi|wdmks][,...]) [wmme] | 
| Chris@4 | 1399   --with-asiodir          ASIO directory [/usr/local/asiosdk2] | 
| Chris@4 | 1400   --with-dxdir            DirectX directory [/usr/local/dx7sdk] | 
| Chris@4 | 1401 | 
| Chris@4 | 1402   --with-pic              try to use only PIC/non-PIC objects [default=use | 
| Chris@4 | 1403                           both] | 
| Chris@4 | 1404   --with-gnu-ld           assume the C compiler uses GNU ld [default=no] | 
| Chris@4 | 1405   --with-sysroot=DIR Search for dependent libraries within DIR | 
| Chris@4 | 1406                         (or the compiler's sysroot if not specified). | 
| Chris@4 | 1407 | 
| Chris@4 | 1408 Some influential environment variables: | 
| Chris@4 | 1409   CC          C compiler command | 
| Chris@4 | 1410   CFLAGS      C compiler flags | 
| Chris@4 | 1411   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a | 
| Chris@4 | 1412               nonstandard directory <lib dir> | 
| Chris@4 | 1413   LIBS        libraries to pass to the linker, e.g. -l<library> | 
| Chris@4 | 1414   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if | 
| Chris@4 | 1415               you have headers in a nonstandard directory <include dir> | 
| Chris@4 | 1416   CXX         C++ compiler command | 
| Chris@4 | 1417   CXXFLAGS    C++ compiler flags | 
| Chris@4 | 1418   CPP         C preprocessor | 
| Chris@4 | 1419   CXXCPP      C++ preprocessor | 
| Chris@4 | 1420   PKG_CONFIG  path to pkg-config utility | 
| Chris@4 | 1421   PKG_CONFIG_PATH | 
| Chris@4 | 1422               directories to add to pkg-config's search path | 
| Chris@4 | 1423   PKG_CONFIG_LIBDIR | 
| Chris@4 | 1424               path overriding pkg-config's built-in search path | 
| Chris@4 | 1425   JACK_CFLAGS C compiler flags for JACK, overriding pkg-config | 
| Chris@4 | 1426   JACK_LIBS   linker flags for JACK, overriding pkg-config | 
| Chris@4 | 1427 | 
| Chris@4 | 1428 Use these variables to override the choices made by `configure' or to help | 
| Chris@4 | 1429 it to find libraries and programs with nonstandard names/locations. | 
| Chris@4 | 1430 | 
| Chris@4 | 1431 Report bugs to the package provider. | 
| Chris@4 | 1432 _ACEOF | 
| Chris@4 | 1433 ac_status=$? | 
| Chris@4 | 1434 fi | 
| Chris@4 | 1435 | 
| Chris@4 | 1436 if test "$ac_init_help" = "recursive"; then | 
| Chris@4 | 1437   # If there are subdirs, report their specific --help. | 
| Chris@4 | 1438   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue | 
| Chris@4 | 1439     test -d "$ac_dir" || | 
| Chris@4 | 1440       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || | 
| Chris@4 | 1441       continue | 
| Chris@4 | 1442     ac_builddir=. | 
| Chris@4 | 1443 | 
| Chris@4 | 1444 case "$ac_dir" in | 
| Chris@4 | 1445 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
| Chris@4 | 1446 *) | 
| Chris@4 | 1447   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
| Chris@4 | 1448   # A ".." for each directory in $ac_dir_suffix. | 
| Chris@4 | 1449   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
| Chris@4 | 1450   case $ac_top_builddir_sub in | 
| Chris@4 | 1451   "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
| Chris@4 | 1452   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
| Chris@4 | 1453   esac ;; | 
| Chris@4 | 1454 esac | 
| Chris@4 | 1455 ac_abs_top_builddir=$ac_pwd | 
| Chris@4 | 1456 ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
| Chris@4 | 1457 # for backward compatibility: | 
| Chris@4 | 1458 ac_top_builddir=$ac_top_build_prefix | 
| Chris@4 | 1459 | 
| Chris@4 | 1460 case $srcdir in | 
| Chris@4 | 1461   .)  # We are building in place. | 
| Chris@4 | 1462     ac_srcdir=. | 
| Chris@4 | 1463     ac_top_srcdir=$ac_top_builddir_sub | 
| Chris@4 | 1464     ac_abs_top_srcdir=$ac_pwd ;; | 
| Chris@4 | 1465   [\\/]* | ?:[\\/]* )  # Absolute name. | 
| Chris@4 | 1466     ac_srcdir=$srcdir$ac_dir_suffix; | 
| Chris@4 | 1467     ac_top_srcdir=$srcdir | 
| Chris@4 | 1468     ac_abs_top_srcdir=$srcdir ;; | 
| Chris@4 | 1469   *) # Relative name. | 
| Chris@4 | 1470     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
| Chris@4 | 1471     ac_top_srcdir=$ac_top_build_prefix$srcdir | 
| Chris@4 | 1472     ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
| Chris@4 | 1473 esac | 
| Chris@4 | 1474 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
| Chris@4 | 1475 | 
| Chris@4 | 1476     cd "$ac_dir" || { ac_status=$?; continue; } | 
| Chris@4 | 1477     # Check for guested configure. | 
| Chris@4 | 1478     if test -f "$ac_srcdir/configure.gnu"; then | 
| Chris@4 | 1479       echo && | 
| Chris@4 | 1480       $SHELL "$ac_srcdir/configure.gnu" --help=recursive | 
| Chris@4 | 1481     elif test -f "$ac_srcdir/configure"; then | 
| Chris@4 | 1482       echo && | 
| Chris@4 | 1483       $SHELL "$ac_srcdir/configure" --help=recursive | 
| Chris@4 | 1484     else | 
| Chris@4 | 1485       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 | 
| Chris@4 | 1486     fi || ac_status=$? | 
| Chris@4 | 1487     cd "$ac_pwd" || { ac_status=$?; break; } | 
| Chris@4 | 1488   done | 
| Chris@4 | 1489 fi | 
| Chris@4 | 1490 | 
| Chris@4 | 1491 test -n "$ac_init_help" && exit $ac_status | 
| Chris@4 | 1492 if $ac_init_version; then | 
| Chris@4 | 1493   cat <<\_ACEOF | 
| Chris@4 | 1494 configure | 
| Chris@4 | 1495 generated by GNU Autoconf 2.68 | 
| Chris@4 | 1496 | 
| Chris@4 | 1497 Copyright (C) 2010 Free Software Foundation, Inc. | 
| Chris@4 | 1498 This configure script is free software; the Free Software Foundation | 
| Chris@4 | 1499 gives unlimited permission to copy, distribute and modify it. | 
| Chris@4 | 1500 _ACEOF | 
| Chris@4 | 1501   exit | 
| Chris@4 | 1502 fi | 
| Chris@4 | 1503 | 
| Chris@4 | 1504 ## ------------------------ ## | 
| Chris@4 | 1505 ## Autoconf initialization. ## | 
| Chris@4 | 1506 ## ------------------------ ## | 
| Chris@4 | 1507 | 
| Chris@4 | 1508 # ac_fn_c_try_compile LINENO | 
| Chris@4 | 1509 # -------------------------- | 
| Chris@4 | 1510 # Try to compile conftest.$ac_ext, and return whether this succeeded. | 
| Chris@4 | 1511 ac_fn_c_try_compile () | 
| Chris@4 | 1512 { | 
| Chris@4 | 1513   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1514   rm -f conftest.$ac_objext | 
| Chris@4 | 1515   if { { ac_try="$ac_compile" | 
| Chris@4 | 1516 case "(($ac_try" in | 
| Chris@4 | 1517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1518   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1519 esac | 
| Chris@4 | 1520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1521 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1522   (eval "$ac_compile") 2>conftest.err | 
| Chris@4 | 1523   ac_status=$? | 
| Chris@4 | 1524   if test -s conftest.err; then | 
| Chris@4 | 1525     grep -v '^ *+' conftest.err >conftest.er1 | 
| Chris@4 | 1526     cat conftest.er1 >&5 | 
| Chris@4 | 1527     mv -f conftest.er1 conftest.err | 
| Chris@4 | 1528   fi | 
| Chris@4 | 1529   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1530   test $ac_status = 0; } && { | 
| Chris@4 | 1531 	 test -z "$ac_c_werror_flag" || | 
| Chris@4 | 1532 	 test ! -s conftest.err | 
| Chris@4 | 1533        } && test -s conftest.$ac_objext; then : | 
| Chris@4 | 1534   ac_retval=0 | 
| Chris@4 | 1535 else | 
| Chris@4 | 1536   $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 1537 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 1538 | 
| Chris@4 | 1539 	ac_retval=1 | 
| Chris@4 | 1540 fi | 
| Chris@4 | 1541   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1542   as_fn_set_status $ac_retval | 
| Chris@4 | 1543 | 
| Chris@4 | 1544 } # ac_fn_c_try_compile | 
| Chris@4 | 1545 | 
| Chris@4 | 1546 # ac_fn_cxx_try_compile LINENO | 
| Chris@4 | 1547 # ---------------------------- | 
| Chris@4 | 1548 # Try to compile conftest.$ac_ext, and return whether this succeeded. | 
| Chris@4 | 1549 ac_fn_cxx_try_compile () | 
| Chris@4 | 1550 { | 
| Chris@4 | 1551   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1552   rm -f conftest.$ac_objext | 
| Chris@4 | 1553   if { { ac_try="$ac_compile" | 
| Chris@4 | 1554 case "(($ac_try" in | 
| Chris@4 | 1555   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1556   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1557 esac | 
| Chris@4 | 1558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1559 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1560   (eval "$ac_compile") 2>conftest.err | 
| Chris@4 | 1561   ac_status=$? | 
| Chris@4 | 1562   if test -s conftest.err; then | 
| Chris@4 | 1563     grep -v '^ *+' conftest.err >conftest.er1 | 
| Chris@4 | 1564     cat conftest.er1 >&5 | 
| Chris@4 | 1565     mv -f conftest.er1 conftest.err | 
| Chris@4 | 1566   fi | 
| Chris@4 | 1567   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1568   test $ac_status = 0; } && { | 
| Chris@4 | 1569 	 test -z "$ac_cxx_werror_flag" || | 
| Chris@4 | 1570 	 test ! -s conftest.err | 
| Chris@4 | 1571        } && test -s conftest.$ac_objext; then : | 
| Chris@4 | 1572   ac_retval=0 | 
| Chris@4 | 1573 else | 
| Chris@4 | 1574   $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 1575 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 1576 | 
| Chris@4 | 1577 	ac_retval=1 | 
| Chris@4 | 1578 fi | 
| Chris@4 | 1579   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1580   as_fn_set_status $ac_retval | 
| Chris@4 | 1581 | 
| Chris@4 | 1582 } # ac_fn_cxx_try_compile | 
| Chris@4 | 1583 | 
| Chris@4 | 1584 # ac_fn_c_try_link LINENO | 
| Chris@4 | 1585 # ----------------------- | 
| Chris@4 | 1586 # Try to link conftest.$ac_ext, and return whether this succeeded. | 
| Chris@4 | 1587 ac_fn_c_try_link () | 
| Chris@4 | 1588 { | 
| Chris@4 | 1589   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1590   rm -f conftest.$ac_objext conftest$ac_exeext | 
| Chris@4 | 1591   if { { ac_try="$ac_link" | 
| Chris@4 | 1592 case "(($ac_try" in | 
| Chris@4 | 1593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1594   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1595 esac | 
| Chris@4 | 1596 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1597 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1598   (eval "$ac_link") 2>conftest.err | 
| Chris@4 | 1599   ac_status=$? | 
| Chris@4 | 1600   if test -s conftest.err; then | 
| Chris@4 | 1601     grep -v '^ *+' conftest.err >conftest.er1 | 
| Chris@4 | 1602     cat conftest.er1 >&5 | 
| Chris@4 | 1603     mv -f conftest.er1 conftest.err | 
| Chris@4 | 1604   fi | 
| Chris@4 | 1605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1606   test $ac_status = 0; } && { | 
| Chris@4 | 1607 	 test -z "$ac_c_werror_flag" || | 
| Chris@4 | 1608 	 test ! -s conftest.err | 
| Chris@4 | 1609        } && test -s conftest$ac_exeext && { | 
| Chris@4 | 1610 	 test "$cross_compiling" = yes || | 
| Chris@4 | 1611 	 $as_test_x conftest$ac_exeext | 
| Chris@4 | 1612        }; then : | 
| Chris@4 | 1613   ac_retval=0 | 
| Chris@4 | 1614 else | 
| Chris@4 | 1615   $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 1616 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 1617 | 
| Chris@4 | 1618 	ac_retval=1 | 
| Chris@4 | 1619 fi | 
| Chris@4 | 1620   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 
| Chris@4 | 1621   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 
| Chris@4 | 1622   # interfere with the next link command; also delete a directory that is | 
| Chris@4 | 1623   # left behind by Apple's compiler.  We do this before executing the actions. | 
| Chris@4 | 1624   rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
| Chris@4 | 1625   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1626   as_fn_set_status $ac_retval | 
| Chris@4 | 1627 | 
| Chris@4 | 1628 } # ac_fn_c_try_link | 
| Chris@4 | 1629 | 
| Chris@4 | 1630 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES | 
| Chris@4 | 1631 # ------------------------------------------------------- | 
| Chris@4 | 1632 # Tests whether HEADER exists and can be compiled using the include files in | 
| Chris@4 | 1633 # INCLUDES, setting the cache variable VAR accordingly. | 
| Chris@4 | 1634 ac_fn_c_check_header_compile () | 
| Chris@4 | 1635 { | 
| Chris@4 | 1636   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
| Chris@4 | 1638 $as_echo_n "checking for $2... " >&6; } | 
| Chris@4 | 1639 if eval \${$3+:} false; then : | 
| Chris@4 | 1640   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 1641 else | 
| Chris@4 | 1642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 1643 /* end confdefs.h.  */ | 
| Chris@4 | 1644 $4 | 
| Chris@4 | 1645 #include <$2> | 
| Chris@4 | 1646 _ACEOF | 
| Chris@4 | 1647 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 1648   eval "$3=yes" | 
| Chris@4 | 1649 else | 
| Chris@4 | 1650   eval "$3=no" | 
| Chris@4 | 1651 fi | 
| Chris@4 | 1652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 1653 fi | 
| Chris@4 | 1654 eval ac_res=\$$3 | 
| Chris@4 | 1655 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
| Chris@4 | 1656 $as_echo "$ac_res" >&6; } | 
| Chris@4 | 1657   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1658 | 
| Chris@4 | 1659 } # ac_fn_c_check_header_compile | 
| Chris@4 | 1660 | 
| Chris@4 | 1661 # ac_fn_c_try_cpp LINENO | 
| Chris@4 | 1662 # ---------------------- | 
| Chris@4 | 1663 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | 
| Chris@4 | 1664 ac_fn_c_try_cpp () | 
| Chris@4 | 1665 { | 
| Chris@4 | 1666   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1667   if { { ac_try="$ac_cpp conftest.$ac_ext" | 
| Chris@4 | 1668 case "(($ac_try" in | 
| Chris@4 | 1669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1670   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1671 esac | 
| Chris@4 | 1672 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1673 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1674   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | 
| Chris@4 | 1675   ac_status=$? | 
| Chris@4 | 1676   if test -s conftest.err; then | 
| Chris@4 | 1677     grep -v '^ *+' conftest.err >conftest.er1 | 
| Chris@4 | 1678     cat conftest.er1 >&5 | 
| Chris@4 | 1679     mv -f conftest.er1 conftest.err | 
| Chris@4 | 1680   fi | 
| Chris@4 | 1681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1682   test $ac_status = 0; } > conftest.i && { | 
| Chris@4 | 1683 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || | 
| Chris@4 | 1684 	 test ! -s conftest.err | 
| Chris@4 | 1685        }; then : | 
| Chris@4 | 1686   ac_retval=0 | 
| Chris@4 | 1687 else | 
| Chris@4 | 1688   $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 1689 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 1690 | 
| Chris@4 | 1691     ac_retval=1 | 
| Chris@4 | 1692 fi | 
| Chris@4 | 1693   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1694   as_fn_set_status $ac_retval | 
| Chris@4 | 1695 | 
| Chris@4 | 1696 } # ac_fn_c_try_cpp | 
| Chris@4 | 1697 | 
| Chris@4 | 1698 # ac_fn_c_try_run LINENO | 
| Chris@4 | 1699 # ---------------------- | 
| Chris@4 | 1700 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes | 
| Chris@4 | 1701 # that executables *can* be run. | 
| Chris@4 | 1702 ac_fn_c_try_run () | 
| Chris@4 | 1703 { | 
| Chris@4 | 1704   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1705   if { { ac_try="$ac_link" | 
| Chris@4 | 1706 case "(($ac_try" in | 
| Chris@4 | 1707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1708   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1709 esac | 
| Chris@4 | 1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1711 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1712   (eval "$ac_link") 2>&5 | 
| Chris@4 | 1713   ac_status=$? | 
| Chris@4 | 1714   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1715   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' | 
| Chris@4 | 1716   { { case "(($ac_try" in | 
| Chris@4 | 1717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1718   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1719 esac | 
| Chris@4 | 1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1721 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1722   (eval "$ac_try") 2>&5 | 
| Chris@4 | 1723   ac_status=$? | 
| Chris@4 | 1724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1725   test $ac_status = 0; }; }; then : | 
| Chris@4 | 1726   ac_retval=0 | 
| Chris@4 | 1727 else | 
| Chris@4 | 1728   $as_echo "$as_me: program exited with status $ac_status" >&5 | 
| Chris@4 | 1729        $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 1730 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 1731 | 
| Chris@4 | 1732        ac_retval=$ac_status | 
| Chris@4 | 1733 fi | 
| Chris@4 | 1734   rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
| Chris@4 | 1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1736   as_fn_set_status $ac_retval | 
| Chris@4 | 1737 | 
| Chris@4 | 1738 } # ac_fn_c_try_run | 
| Chris@4 | 1739 | 
| Chris@4 | 1740 # ac_fn_c_check_func LINENO FUNC VAR | 
| Chris@4 | 1741 # ---------------------------------- | 
| Chris@4 | 1742 # Tests whether FUNC exists, setting the cache variable VAR accordingly | 
| Chris@4 | 1743 ac_fn_c_check_func () | 
| Chris@4 | 1744 { | 
| Chris@4 | 1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
| Chris@4 | 1747 $as_echo_n "checking for $2... " >&6; } | 
| Chris@4 | 1748 if eval \${$3+:} false; then : | 
| Chris@4 | 1749   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 1750 else | 
| Chris@4 | 1751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 1752 /* end confdefs.h.  */ | 
| Chris@4 | 1753 /* Define $2 to an innocuous variant, in case <limits.h> declares $2. | 
| Chris@4 | 1754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */ | 
| Chris@4 | 1755 #define $2 innocuous_$2 | 
| Chris@4 | 1756 | 
| Chris@4 | 1757 /* System header to define __stub macros and hopefully few prototypes, | 
| Chris@4 | 1758     which can conflict with char $2 (); below. | 
| Chris@4 | 1759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| Chris@4 | 1760     <limits.h> exists even on freestanding compilers.  */ | 
| Chris@4 | 1761 | 
| Chris@4 | 1762 #ifdef __STDC__ | 
| Chris@4 | 1763 # include <limits.h> | 
| Chris@4 | 1764 #else | 
| Chris@4 | 1765 # include <assert.h> | 
| Chris@4 | 1766 #endif | 
| Chris@4 | 1767 | 
| Chris@4 | 1768 #undef $2 | 
| Chris@4 | 1769 | 
| Chris@4 | 1770 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 1771    Use char because int might match the return type of a GCC | 
| Chris@4 | 1772    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 1773 #ifdef __cplusplus | 
| Chris@4 | 1774 extern "C" | 
| Chris@4 | 1775 #endif | 
| Chris@4 | 1776 char $2 (); | 
| Chris@4 | 1777 /* The GNU C library defines this for functions which it implements | 
| Chris@4 | 1778     to always fail with ENOSYS.  Some functions are actually named | 
| Chris@4 | 1779     something starting with __ and the normal name is an alias.  */ | 
| Chris@4 | 1780 #if defined __stub_$2 || defined __stub___$2 | 
| Chris@4 | 1781 choke me | 
| Chris@4 | 1782 #endif | 
| Chris@4 | 1783 | 
| Chris@4 | 1784 int | 
| Chris@4 | 1785 main () | 
| Chris@4 | 1786 { | 
| Chris@4 | 1787 return $2 (); | 
| Chris@4 | 1788   ; | 
| Chris@4 | 1789   return 0; | 
| Chris@4 | 1790 } | 
| Chris@4 | 1791 _ACEOF | 
| Chris@4 | 1792 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 1793   eval "$3=yes" | 
| Chris@4 | 1794 else | 
| Chris@4 | 1795   eval "$3=no" | 
| Chris@4 | 1796 fi | 
| Chris@4 | 1797 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 1798     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 1799 fi | 
| Chris@4 | 1800 eval ac_res=\$$3 | 
| Chris@4 | 1801 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
| Chris@4 | 1802 $as_echo "$ac_res" >&6; } | 
| Chris@4 | 1803   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1804 | 
| Chris@4 | 1805 } # ac_fn_c_check_func | 
| Chris@4 | 1806 | 
| Chris@4 | 1807 # ac_fn_cxx_try_cpp LINENO | 
| Chris@4 | 1808 # ------------------------ | 
| Chris@4 | 1809 # Try to preprocess conftest.$ac_ext, and return whether this succeeded. | 
| Chris@4 | 1810 ac_fn_cxx_try_cpp () | 
| Chris@4 | 1811 { | 
| Chris@4 | 1812   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1813   if { { ac_try="$ac_cpp conftest.$ac_ext" | 
| Chris@4 | 1814 case "(($ac_try" in | 
| Chris@4 | 1815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1816   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1817 esac | 
| Chris@4 | 1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1819 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1820   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err | 
| Chris@4 | 1821   ac_status=$? | 
| Chris@4 | 1822   if test -s conftest.err; then | 
| Chris@4 | 1823     grep -v '^ *+' conftest.err >conftest.er1 | 
| Chris@4 | 1824     cat conftest.er1 >&5 | 
| Chris@4 | 1825     mv -f conftest.er1 conftest.err | 
| Chris@4 | 1826   fi | 
| Chris@4 | 1827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1828   test $ac_status = 0; } > conftest.i && { | 
| Chris@4 | 1829 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || | 
| Chris@4 | 1830 	 test ! -s conftest.err | 
| Chris@4 | 1831        }; then : | 
| Chris@4 | 1832   ac_retval=0 | 
| Chris@4 | 1833 else | 
| Chris@4 | 1834   $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 1835 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 1836 | 
| Chris@4 | 1837     ac_retval=1 | 
| Chris@4 | 1838 fi | 
| Chris@4 | 1839   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1840   as_fn_set_status $ac_retval | 
| Chris@4 | 1841 | 
| Chris@4 | 1842 } # ac_fn_cxx_try_cpp | 
| Chris@4 | 1843 | 
| Chris@4 | 1844 # ac_fn_cxx_try_link LINENO | 
| Chris@4 | 1845 # ------------------------- | 
| Chris@4 | 1846 # Try to link conftest.$ac_ext, and return whether this succeeded. | 
| Chris@4 | 1847 ac_fn_cxx_try_link () | 
| Chris@4 | 1848 { | 
| Chris@4 | 1849   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1850   rm -f conftest.$ac_objext conftest$ac_exeext | 
| Chris@4 | 1851   if { { ac_try="$ac_link" | 
| Chris@4 | 1852 case "(($ac_try" in | 
| Chris@4 | 1853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 1854   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 1855 esac | 
| Chris@4 | 1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 1857 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 1858   (eval "$ac_link") 2>conftest.err | 
| Chris@4 | 1859   ac_status=$? | 
| Chris@4 | 1860   if test -s conftest.err; then | 
| Chris@4 | 1861     grep -v '^ *+' conftest.err >conftest.er1 | 
| Chris@4 | 1862     cat conftest.er1 >&5 | 
| Chris@4 | 1863     mv -f conftest.er1 conftest.err | 
| Chris@4 | 1864   fi | 
| Chris@4 | 1865   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 1866   test $ac_status = 0; } && { | 
| Chris@4 | 1867 	 test -z "$ac_cxx_werror_flag" || | 
| Chris@4 | 1868 	 test ! -s conftest.err | 
| Chris@4 | 1869        } && test -s conftest$ac_exeext && { | 
| Chris@4 | 1870 	 test "$cross_compiling" = yes || | 
| Chris@4 | 1871 	 $as_test_x conftest$ac_exeext | 
| Chris@4 | 1872        }; then : | 
| Chris@4 | 1873   ac_retval=0 | 
| Chris@4 | 1874 else | 
| Chris@4 | 1875   $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 1876 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 1877 | 
| Chris@4 | 1878 	ac_retval=1 | 
| Chris@4 | 1879 fi | 
| Chris@4 | 1880   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information | 
| Chris@4 | 1881   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would | 
| Chris@4 | 1882   # interfere with the next link command; also delete a directory that is | 
| Chris@4 | 1883   # left behind by Apple's compiler.  We do this before executing the actions. | 
| Chris@4 | 1884   rm -rf conftest.dSYM conftest_ipa8_conftest.oo | 
| Chris@4 | 1885   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1886   as_fn_set_status $ac_retval | 
| Chris@4 | 1887 | 
| Chris@4 | 1888 } # ac_fn_cxx_try_link | 
| Chris@4 | 1889 | 
| Chris@4 | 1890 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES | 
| Chris@4 | 1891 # ------------------------------------------------------- | 
| Chris@4 | 1892 # Tests whether HEADER exists, giving a warning if it cannot be compiled using | 
| Chris@4 | 1893 # the include files in INCLUDES and setting the cache variable VAR | 
| Chris@4 | 1894 # accordingly. | 
| Chris@4 | 1895 ac_fn_c_check_header_mongrel () | 
| Chris@4 | 1896 { | 
| Chris@4 | 1897   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1898   if eval \${$3+:} false; then : | 
| Chris@4 | 1899   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
| Chris@4 | 1900 $as_echo_n "checking for $2... " >&6; } | 
| Chris@4 | 1901 if eval \${$3+:} false; then : | 
| Chris@4 | 1902   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 1903 fi | 
| Chris@4 | 1904 eval ac_res=\$$3 | 
| Chris@4 | 1905 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
| Chris@4 | 1906 $as_echo "$ac_res" >&6; } | 
| Chris@4 | 1907 else | 
| Chris@4 | 1908   # Is the header compilable? | 
| Chris@4 | 1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 | 
| Chris@4 | 1910 $as_echo_n "checking $2 usability... " >&6; } | 
| Chris@4 | 1911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 1912 /* end confdefs.h.  */ | 
| Chris@4 | 1913 $4 | 
| Chris@4 | 1914 #include <$2> | 
| Chris@4 | 1915 _ACEOF | 
| Chris@4 | 1916 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 1917   ac_header_compiler=yes | 
| Chris@4 | 1918 else | 
| Chris@4 | 1919   ac_header_compiler=no | 
| Chris@4 | 1920 fi | 
| Chris@4 | 1921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 | 
| Chris@4 | 1923 $as_echo "$ac_header_compiler" >&6; } | 
| Chris@4 | 1924 | 
| Chris@4 | 1925 # Is the header present? | 
| Chris@4 | 1926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 | 
| Chris@4 | 1927 $as_echo_n "checking $2 presence... " >&6; } | 
| Chris@4 | 1928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 1929 /* end confdefs.h.  */ | 
| Chris@4 | 1930 #include <$2> | 
| Chris@4 | 1931 _ACEOF | 
| Chris@4 | 1932 if ac_fn_c_try_cpp "$LINENO"; then : | 
| Chris@4 | 1933   ac_header_preproc=yes | 
| Chris@4 | 1934 else | 
| Chris@4 | 1935   ac_header_preproc=no | 
| Chris@4 | 1936 fi | 
| Chris@4 | 1937 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 1938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 | 
| Chris@4 | 1939 $as_echo "$ac_header_preproc" >&6; } | 
| Chris@4 | 1940 | 
| Chris@4 | 1941 # So?  What about this header? | 
| Chris@4 | 1942 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( | 
| Chris@4 | 1943   yes:no: ) | 
| Chris@4 | 1944     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 | 
| Chris@4 | 1945 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} | 
| Chris@4 | 1946     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
| Chris@4 | 1947 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
| Chris@4 | 1948     ;; | 
| Chris@4 | 1949   no:yes:* ) | 
| Chris@4 | 1950     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 | 
| Chris@4 | 1951 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} | 
| Chris@4 | 1952     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5 | 
| Chris@4 | 1953 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;} | 
| Chris@4 | 1954     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 | 
| Chris@4 | 1955 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} | 
| Chris@4 | 1956     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5 | 
| Chris@4 | 1957 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;} | 
| Chris@4 | 1958     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 | 
| Chris@4 | 1959 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} | 
| Chris@4 | 1960     ;; | 
| Chris@4 | 1961 esac | 
| Chris@4 | 1962   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 | 
| Chris@4 | 1963 $as_echo_n "checking for $2... " >&6; } | 
| Chris@4 | 1964 if eval \${$3+:} false; then : | 
| Chris@4 | 1965   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 1966 else | 
| Chris@4 | 1967   eval "$3=\$ac_header_compiler" | 
| Chris@4 | 1968 fi | 
| Chris@4 | 1969 eval ac_res=\$$3 | 
| Chris@4 | 1970 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 | 
| Chris@4 | 1971 $as_echo "$ac_res" >&6; } | 
| Chris@4 | 1972 fi | 
| Chris@4 | 1973   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 1974 | 
| Chris@4 | 1975 } # ac_fn_c_check_header_mongrel | 
| Chris@4 | 1976 | 
| Chris@4 | 1977 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES | 
| Chris@4 | 1978 # -------------------------------------------- | 
| Chris@4 | 1979 # Tries to find the compile-time value of EXPR in a program that includes | 
| Chris@4 | 1980 # INCLUDES, setting VAR accordingly. Returns whether the value could be | 
| Chris@4 | 1981 # computed | 
| Chris@4 | 1982 ac_fn_c_compute_int () | 
| Chris@4 | 1983 { | 
| Chris@4 | 1984   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 1985   if test "$cross_compiling" = yes; then | 
| Chris@4 | 1986     # Depending upon the size, compute the lo and hi bounds. | 
| Chris@4 | 1987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 1988 /* end confdefs.h.  */ | 
| Chris@4 | 1989 $4 | 
| Chris@4 | 1990 int | 
| Chris@4 | 1991 main () | 
| Chris@4 | 1992 { | 
| Chris@4 | 1993 static int test_array [1 - 2 * !(($2) >= 0)]; | 
| Chris@4 | 1994 test_array [0] = 0 | 
| Chris@4 | 1995 | 
| Chris@4 | 1996   ; | 
| Chris@4 | 1997   return 0; | 
| Chris@4 | 1998 } | 
| Chris@4 | 1999 _ACEOF | 
| Chris@4 | 2000 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 2001   ac_lo=0 ac_mid=0 | 
| Chris@4 | 2002   while :; do | 
| Chris@4 | 2003     cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 2004 /* end confdefs.h.  */ | 
| Chris@4 | 2005 $4 | 
| Chris@4 | 2006 int | 
| Chris@4 | 2007 main () | 
| Chris@4 | 2008 { | 
| Chris@4 | 2009 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | 
| Chris@4 | 2010 test_array [0] = 0 | 
| Chris@4 | 2011 | 
| Chris@4 | 2012   ; | 
| Chris@4 | 2013   return 0; | 
| Chris@4 | 2014 } | 
| Chris@4 | 2015 _ACEOF | 
| Chris@4 | 2016 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 2017   ac_hi=$ac_mid; break | 
| Chris@4 | 2018 else | 
| Chris@4 | 2019   as_fn_arith $ac_mid + 1 && ac_lo=$as_val | 
| Chris@4 | 2020 			if test $ac_lo -le $ac_mid; then | 
| Chris@4 | 2021 			  ac_lo= ac_hi= | 
| Chris@4 | 2022 			  break | 
| Chris@4 | 2023 			fi | 
| Chris@4 | 2024 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val | 
| Chris@4 | 2025 fi | 
| Chris@4 | 2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 2027   done | 
| Chris@4 | 2028 else | 
| Chris@4 | 2029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 2030 /* end confdefs.h.  */ | 
| Chris@4 | 2031 $4 | 
| Chris@4 | 2032 int | 
| Chris@4 | 2033 main () | 
| Chris@4 | 2034 { | 
| Chris@4 | 2035 static int test_array [1 - 2 * !(($2) < 0)]; | 
| Chris@4 | 2036 test_array [0] = 0 | 
| Chris@4 | 2037 | 
| Chris@4 | 2038   ; | 
| Chris@4 | 2039   return 0; | 
| Chris@4 | 2040 } | 
| Chris@4 | 2041 _ACEOF | 
| Chris@4 | 2042 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 2043   ac_hi=-1 ac_mid=-1 | 
| Chris@4 | 2044   while :; do | 
| Chris@4 | 2045     cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 2046 /* end confdefs.h.  */ | 
| Chris@4 | 2047 $4 | 
| Chris@4 | 2048 int | 
| Chris@4 | 2049 main () | 
| Chris@4 | 2050 { | 
| Chris@4 | 2051 static int test_array [1 - 2 * !(($2) >= $ac_mid)]; | 
| Chris@4 | 2052 test_array [0] = 0 | 
| Chris@4 | 2053 | 
| Chris@4 | 2054   ; | 
| Chris@4 | 2055   return 0; | 
| Chris@4 | 2056 } | 
| Chris@4 | 2057 _ACEOF | 
| Chris@4 | 2058 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 2059   ac_lo=$ac_mid; break | 
| Chris@4 | 2060 else | 
| Chris@4 | 2061   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val | 
| Chris@4 | 2062 			if test $ac_mid -le $ac_hi; then | 
| Chris@4 | 2063 			  ac_lo= ac_hi= | 
| Chris@4 | 2064 			  break | 
| Chris@4 | 2065 			fi | 
| Chris@4 | 2066 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val | 
| Chris@4 | 2067 fi | 
| Chris@4 | 2068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 2069   done | 
| Chris@4 | 2070 else | 
| Chris@4 | 2071   ac_lo= ac_hi= | 
| Chris@4 | 2072 fi | 
| Chris@4 | 2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 2074 fi | 
| Chris@4 | 2075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 2076 # Binary search between lo and hi bounds. | 
| Chris@4 | 2077 while test "x$ac_lo" != "x$ac_hi"; do | 
| Chris@4 | 2078   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val | 
| Chris@4 | 2079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 2080 /* end confdefs.h.  */ | 
| Chris@4 | 2081 $4 | 
| Chris@4 | 2082 int | 
| Chris@4 | 2083 main () | 
| Chris@4 | 2084 { | 
| Chris@4 | 2085 static int test_array [1 - 2 * !(($2) <= $ac_mid)]; | 
| Chris@4 | 2086 test_array [0] = 0 | 
| Chris@4 | 2087 | 
| Chris@4 | 2088   ; | 
| Chris@4 | 2089   return 0; | 
| Chris@4 | 2090 } | 
| Chris@4 | 2091 _ACEOF | 
| Chris@4 | 2092 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 2093   ac_hi=$ac_mid | 
| Chris@4 | 2094 else | 
| Chris@4 | 2095   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val | 
| Chris@4 | 2096 fi | 
| Chris@4 | 2097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 2098 done | 
| Chris@4 | 2099 case $ac_lo in #(( | 
| Chris@4 | 2100 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;; | 
| Chris@4 | 2101 '') ac_retval=1 ;; | 
| Chris@4 | 2102 esac | 
| Chris@4 | 2103   else | 
| Chris@4 | 2104     cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 2105 /* end confdefs.h.  */ | 
| Chris@4 | 2106 $4 | 
| Chris@4 | 2107 static long int longval () { return $2; } | 
| Chris@4 | 2108 static unsigned long int ulongval () { return $2; } | 
| Chris@4 | 2109 #include <stdio.h> | 
| Chris@4 | 2110 #include <stdlib.h> | 
| Chris@4 | 2111 int | 
| Chris@4 | 2112 main () | 
| Chris@4 | 2113 { | 
| Chris@4 | 2114 | 
| Chris@4 | 2115   FILE *f = fopen ("conftest.val", "w"); | 
| Chris@4 | 2116   if (! f) | 
| Chris@4 | 2117     return 1; | 
| Chris@4 | 2118   if (($2) < 0) | 
| Chris@4 | 2119     { | 
| Chris@4 | 2120       long int i = longval (); | 
| Chris@4 | 2121       if (i != ($2)) | 
| Chris@4 | 2122 	return 1; | 
| Chris@4 | 2123       fprintf (f, "%ld", i); | 
| Chris@4 | 2124     } | 
| Chris@4 | 2125   else | 
| Chris@4 | 2126     { | 
| Chris@4 | 2127       unsigned long int i = ulongval (); | 
| Chris@4 | 2128       if (i != ($2)) | 
| Chris@4 | 2129 	return 1; | 
| Chris@4 | 2130       fprintf (f, "%lu", i); | 
| Chris@4 | 2131     } | 
| Chris@4 | 2132   /* Do not output a trailing newline, as this causes \r\n confusion | 
| Chris@4 | 2133      on some platforms.  */ | 
| Chris@4 | 2134   return ferror (f) || fclose (f) != 0; | 
| Chris@4 | 2135 | 
| Chris@4 | 2136   ; | 
| Chris@4 | 2137   return 0; | 
| Chris@4 | 2138 } | 
| Chris@4 | 2139 _ACEOF | 
| Chris@4 | 2140 if ac_fn_c_try_run "$LINENO"; then : | 
| Chris@4 | 2141   echo >>conftest.val; read $3 <conftest.val; ac_retval=0 | 
| Chris@4 | 2142 else | 
| Chris@4 | 2143   ac_retval=1 | 
| Chris@4 | 2144 fi | 
| Chris@4 | 2145 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
| Chris@4 | 2146   conftest.$ac_objext conftest.beam conftest.$ac_ext | 
| Chris@4 | 2147 rm -f conftest.val | 
| Chris@4 | 2148 | 
| Chris@4 | 2149   fi | 
| Chris@4 | 2150   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno | 
| Chris@4 | 2151   as_fn_set_status $ac_retval | 
| Chris@4 | 2152 | 
| Chris@4 | 2153 } # ac_fn_c_compute_int | 
| Chris@4 | 2154 cat >config.log <<_ACEOF | 
| Chris@4 | 2155 This file contains any messages produced by compilers while | 
| Chris@4 | 2156 running configure, to aid debugging if configure makes a mistake. | 
| Chris@4 | 2157 | 
| Chris@4 | 2158 It was created by $as_me, which was | 
| Chris@4 | 2159 generated by GNU Autoconf 2.68.  Invocation command line was | 
| Chris@4 | 2160 | 
| Chris@4 | 2161   $ $0 $@ | 
| Chris@4 | 2162 | 
| Chris@4 | 2163 _ACEOF | 
| Chris@4 | 2164 exec 5>>config.log | 
| Chris@4 | 2165 { | 
| Chris@4 | 2166 cat <<_ASUNAME | 
| Chris@4 | 2167 ## --------- ## | 
| Chris@4 | 2168 ## Platform. ## | 
| Chris@4 | 2169 ## --------- ## | 
| Chris@4 | 2170 | 
| Chris@4 | 2171 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | 
| Chris@4 | 2172 uname -m = `(uname -m) 2>/dev/null || echo unknown` | 
| Chris@4 | 2173 uname -r = `(uname -r) 2>/dev/null || echo unknown` | 
| Chris@4 | 2174 uname -s = `(uname -s) 2>/dev/null || echo unknown` | 
| Chris@4 | 2175 uname -v = `(uname -v) 2>/dev/null || echo unknown` | 
| Chris@4 | 2176 | 
| Chris@4 | 2177 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | 
| Chris@4 | 2178 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown` | 
| Chris@4 | 2179 | 
| Chris@4 | 2180 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown` | 
| Chris@4 | 2181 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown` | 
| Chris@4 | 2182 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | 
| Chris@4 | 2183 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown` | 
| Chris@4 | 2184 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown` | 
| Chris@4 | 2185 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown` | 
| Chris@4 | 2186 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown` | 
| Chris@4 | 2187 | 
| Chris@4 | 2188 _ASUNAME | 
| Chris@4 | 2189 | 
| Chris@4 | 2190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 2191 for as_dir in $PATH | 
| Chris@4 | 2192 do | 
| Chris@4 | 2193   IFS=$as_save_IFS | 
| Chris@4 | 2194   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 2195     $as_echo "PATH: $as_dir" | 
| Chris@4 | 2196   done | 
| Chris@4 | 2197 IFS=$as_save_IFS | 
| Chris@4 | 2198 | 
| Chris@4 | 2199 } >&5 | 
| Chris@4 | 2200 | 
| Chris@4 | 2201 cat >&5 <<_ACEOF | 
| Chris@4 | 2202 | 
| Chris@4 | 2203 | 
| Chris@4 | 2204 ## ----------- ## | 
| Chris@4 | 2205 ## Core tests. ## | 
| Chris@4 | 2206 ## ----------- ## | 
| Chris@4 | 2207 | 
| Chris@4 | 2208 _ACEOF | 
| Chris@4 | 2209 | 
| Chris@4 | 2210 | 
| Chris@4 | 2211 # Keep a trace of the command line. | 
| Chris@4 | 2212 # Strip out --no-create and --no-recursion so they do not pile up. | 
| Chris@4 | 2213 # Strip out --silent because we don't want to record it for future runs. | 
| Chris@4 | 2214 # Also quote any args containing shell meta-characters. | 
| Chris@4 | 2215 # Make two passes to allow for proper duplicate-argument suppression. | 
| Chris@4 | 2216 ac_configure_args= | 
| Chris@4 | 2217 ac_configure_args0= | 
| Chris@4 | 2218 ac_configure_args1= | 
| Chris@4 | 2219 ac_must_keep_next=false | 
| Chris@4 | 2220 for ac_pass in 1 2 | 
| Chris@4 | 2221 do | 
| Chris@4 | 2222   for ac_arg | 
| Chris@4 | 2223   do | 
| Chris@4 | 2224     case $ac_arg in | 
| Chris@4 | 2225     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; | 
| Chris@4 | 2226     -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
| Chris@4 | 2227     | -silent | --silent | --silen | --sile | --sil) | 
| Chris@4 | 2228       continue ;; | 
| Chris@4 | 2229     *\'*) | 
| Chris@4 | 2230       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
| Chris@4 | 2231     esac | 
| Chris@4 | 2232     case $ac_pass in | 
| Chris@4 | 2233     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; | 
| Chris@4 | 2234     2) | 
| Chris@4 | 2235       as_fn_append ac_configure_args1 " '$ac_arg'" | 
| Chris@4 | 2236       if test $ac_must_keep_next = true; then | 
| Chris@4 | 2237 	ac_must_keep_next=false # Got value, back to normal. | 
| Chris@4 | 2238       else | 
| Chris@4 | 2239 	case $ac_arg in | 
| Chris@4 | 2240 	  *=* | --config-cache | -C | -disable-* | --disable-* \ | 
| Chris@4 | 2241 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ | 
| Chris@4 | 2242 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ | 
| Chris@4 | 2243 	  | -with-* | --with-* | -without-* | --without-* | --x) | 
| Chris@4 | 2244 	    case "$ac_configure_args0 " in | 
| Chris@4 | 2245 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; | 
| Chris@4 | 2246 	    esac | 
| Chris@4 | 2247 	    ;; | 
| Chris@4 | 2248 	  -* ) ac_must_keep_next=true ;; | 
| Chris@4 | 2249 	esac | 
| Chris@4 | 2250       fi | 
| Chris@4 | 2251       as_fn_append ac_configure_args " '$ac_arg'" | 
| Chris@4 | 2252       ;; | 
| Chris@4 | 2253     esac | 
| Chris@4 | 2254   done | 
| Chris@4 | 2255 done | 
| Chris@4 | 2256 { ac_configure_args0=; unset ac_configure_args0;} | 
| Chris@4 | 2257 { ac_configure_args1=; unset ac_configure_args1;} | 
| Chris@4 | 2258 | 
| Chris@4 | 2259 # When interrupted or exit'd, cleanup temporary files, and complete | 
| Chris@4 | 2260 # config.log.  We remove comments because anyway the quotes in there | 
| Chris@4 | 2261 # would cause problems or look ugly. | 
| Chris@4 | 2262 # WARNING: Use '\'' to represent an apostrophe within the trap. | 
| Chris@4 | 2263 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. | 
| Chris@4 | 2264 trap 'exit_status=$? | 
| Chris@4 | 2265   # Save into config.log some information that might help in debugging. | 
| Chris@4 | 2266   { | 
| Chris@4 | 2267     echo | 
| Chris@4 | 2268 | 
| Chris@4 | 2269     $as_echo "## ---------------- ## | 
| Chris@4 | 2270 ## Cache variables. ## | 
| Chris@4 | 2271 ## ---------------- ##" | 
| Chris@4 | 2272     echo | 
| Chris@4 | 2273     # The following way of writing the cache mishandles newlines in values, | 
| Chris@4 | 2274 ( | 
| Chris@4 | 2275   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do | 
| Chris@4 | 2276     eval ac_val=\$$ac_var | 
| Chris@4 | 2277     case $ac_val in #( | 
| Chris@4 | 2278     *${as_nl}*) | 
| Chris@4 | 2279       case $ac_var in #( | 
| Chris@4 | 2280       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
| Chris@4 | 2281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
| Chris@4 | 2282       esac | 
| Chris@4 | 2283       case $ac_var in #( | 
| Chris@4 | 2284       _ | IFS | as_nl) ;; #( | 
| Chris@4 | 2285       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
| Chris@4 | 2286       *) { eval $ac_var=; unset $ac_var;} ;; | 
| Chris@4 | 2287       esac ;; | 
| Chris@4 | 2288     esac | 
| Chris@4 | 2289   done | 
| Chris@4 | 2290   (set) 2>&1 | | 
| Chris@4 | 2291     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( | 
| Chris@4 | 2292     *${as_nl}ac_space=\ *) | 
| Chris@4 | 2293       sed -n \ | 
| Chris@4 | 2294 	"s/'\''/'\''\\\\'\'''\''/g; | 
| Chris@4 | 2295 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" | 
| Chris@4 | 2296       ;; #( | 
| Chris@4 | 2297     *) | 
| Chris@4 | 2298       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
| Chris@4 | 2299       ;; | 
| Chris@4 | 2300     esac | | 
| Chris@4 | 2301     sort | 
| Chris@4 | 2302 ) | 
| Chris@4 | 2303     echo | 
| Chris@4 | 2304 | 
| Chris@4 | 2305     $as_echo "## ----------------- ## | 
| Chris@4 | 2306 ## Output variables. ## | 
| Chris@4 | 2307 ## ----------------- ##" | 
| Chris@4 | 2308     echo | 
| Chris@4 | 2309     for ac_var in $ac_subst_vars | 
| Chris@4 | 2310     do | 
| Chris@4 | 2311       eval ac_val=\$$ac_var | 
| Chris@4 | 2312       case $ac_val in | 
| Chris@4 | 2313       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
| Chris@4 | 2314       esac | 
| Chris@4 | 2315       $as_echo "$ac_var='\''$ac_val'\''" | 
| Chris@4 | 2316     done | sort | 
| Chris@4 | 2317     echo | 
| Chris@4 | 2318 | 
| Chris@4 | 2319     if test -n "$ac_subst_files"; then | 
| Chris@4 | 2320       $as_echo "## ------------------- ## | 
| Chris@4 | 2321 ## File substitutions. ## | 
| Chris@4 | 2322 ## ------------------- ##" | 
| Chris@4 | 2323       echo | 
| Chris@4 | 2324       for ac_var in $ac_subst_files | 
| Chris@4 | 2325       do | 
| Chris@4 | 2326 	eval ac_val=\$$ac_var | 
| Chris@4 | 2327 	case $ac_val in | 
| Chris@4 | 2328 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; | 
| Chris@4 | 2329 	esac | 
| Chris@4 | 2330 	$as_echo "$ac_var='\''$ac_val'\''" | 
| Chris@4 | 2331       done | sort | 
| Chris@4 | 2332       echo | 
| Chris@4 | 2333     fi | 
| Chris@4 | 2334 | 
| Chris@4 | 2335     if test -s confdefs.h; then | 
| Chris@4 | 2336       $as_echo "## ----------- ## | 
| Chris@4 | 2337 ## confdefs.h. ## | 
| Chris@4 | 2338 ## ----------- ##" | 
| Chris@4 | 2339       echo | 
| Chris@4 | 2340       cat confdefs.h | 
| Chris@4 | 2341       echo | 
| Chris@4 | 2342     fi | 
| Chris@4 | 2343     test "$ac_signal" != 0 && | 
| Chris@4 | 2344       $as_echo "$as_me: caught signal $ac_signal" | 
| Chris@4 | 2345     $as_echo "$as_me: exit $exit_status" | 
| Chris@4 | 2346   } >&5 | 
| Chris@4 | 2347   rm -f core *.core core.conftest.* && | 
| Chris@4 | 2348     rm -f -r conftest* confdefs* conf$$* $ac_clean_files && | 
| Chris@4 | 2349     exit $exit_status | 
| Chris@4 | 2350 ' 0 | 
| Chris@4 | 2351 for ac_signal in 1 2 13 15; do | 
| Chris@4 | 2352   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal | 
| Chris@4 | 2353 done | 
| Chris@4 | 2354 ac_signal=0 | 
| Chris@4 | 2355 | 
| Chris@4 | 2356 # confdefs.h avoids OS command line length limits that DEFS can exceed. | 
| Chris@4 | 2357 rm -f -r conftest* confdefs.h | 
| Chris@4 | 2358 | 
| Chris@4 | 2359 $as_echo "/* confdefs.h */" > confdefs.h | 
| Chris@4 | 2360 | 
| Chris@4 | 2361 # Predefined preprocessor variables. | 
| Chris@4 | 2362 | 
| Chris@4 | 2363 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 2364 #define PACKAGE_NAME "$PACKAGE_NAME" | 
| Chris@4 | 2365 _ACEOF | 
| Chris@4 | 2366 | 
| Chris@4 | 2367 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 2368 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" | 
| Chris@4 | 2369 _ACEOF | 
| Chris@4 | 2370 | 
| Chris@4 | 2371 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 2372 #define PACKAGE_VERSION "$PACKAGE_VERSION" | 
| Chris@4 | 2373 _ACEOF | 
| Chris@4 | 2374 | 
| Chris@4 | 2375 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 2376 #define PACKAGE_STRING "$PACKAGE_STRING" | 
| Chris@4 | 2377 _ACEOF | 
| Chris@4 | 2378 | 
| Chris@4 | 2379 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 2380 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" | 
| Chris@4 | 2381 _ACEOF | 
| Chris@4 | 2382 | 
| Chris@4 | 2383 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 2384 #define PACKAGE_URL "$PACKAGE_URL" | 
| Chris@4 | 2385 _ACEOF | 
| Chris@4 | 2386 | 
| Chris@4 | 2387 | 
| Chris@4 | 2388 # Let the site file select an alternate cache file if it wants to. | 
| Chris@4 | 2389 # Prefer an explicitly selected file to automatically selected ones. | 
| Chris@4 | 2390 ac_site_file1=NONE | 
| Chris@4 | 2391 ac_site_file2=NONE | 
| Chris@4 | 2392 if test -n "$CONFIG_SITE"; then | 
| Chris@4 | 2393   # We do not want a PATH search for config.site. | 
| Chris@4 | 2394   case $CONFIG_SITE in #(( | 
| Chris@4 | 2395     -*)  ac_site_file1=./$CONFIG_SITE;; | 
| Chris@4 | 2396     */*) ac_site_file1=$CONFIG_SITE;; | 
| Chris@4 | 2397     *)   ac_site_file1=./$CONFIG_SITE;; | 
| Chris@4 | 2398   esac | 
| Chris@4 | 2399 elif test "x$prefix" != xNONE; then | 
| Chris@4 | 2400   ac_site_file1=$prefix/share/config.site | 
| Chris@4 | 2401   ac_site_file2=$prefix/etc/config.site | 
| Chris@4 | 2402 else | 
| Chris@4 | 2403   ac_site_file1=$ac_default_prefix/share/config.site | 
| Chris@4 | 2404   ac_site_file2=$ac_default_prefix/etc/config.site | 
| Chris@4 | 2405 fi | 
| Chris@4 | 2406 for ac_site_file in "$ac_site_file1" "$ac_site_file2" | 
| Chris@4 | 2407 do | 
| Chris@4 | 2408   test "x$ac_site_file" = xNONE && continue | 
| Chris@4 | 2409   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then | 
| Chris@4 | 2410     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 | 
| Chris@4 | 2411 $as_echo "$as_me: loading site script $ac_site_file" >&6;} | 
| Chris@4 | 2412     sed 's/^/| /' "$ac_site_file" >&5 | 
| Chris@4 | 2413     . "$ac_site_file" \ | 
| Chris@4 | 2414       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 2415 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 2416 as_fn_error $? "failed to load site script $ac_site_file | 
| Chris@4 | 2417 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 2418   fi | 
| Chris@4 | 2419 done | 
| Chris@4 | 2420 | 
| Chris@4 | 2421 if test -r "$cache_file"; then | 
| Chris@4 | 2422   # Some versions of bash will fail to source /dev/null (special files | 
| Chris@4 | 2423   # actually), so we avoid doing that.  DJGPP emulates it as a regular file. | 
| Chris@4 | 2424   if test /dev/null != "$cache_file" && test -f "$cache_file"; then | 
| Chris@4 | 2425     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 | 
| Chris@4 | 2426 $as_echo "$as_me: loading cache $cache_file" >&6;} | 
| Chris@4 | 2427     case $cache_file in | 
| Chris@4 | 2428       [\\/]* | ?:[\\/]* ) . "$cache_file";; | 
| Chris@4 | 2429       *)                      . "./$cache_file";; | 
| Chris@4 | 2430     esac | 
| Chris@4 | 2431   fi | 
| Chris@4 | 2432 else | 
| Chris@4 | 2433   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 | 
| Chris@4 | 2434 $as_echo "$as_me: creating cache $cache_file" >&6;} | 
| Chris@4 | 2435   >$cache_file | 
| Chris@4 | 2436 fi | 
| Chris@4 | 2437 | 
| Chris@4 | 2438 # Check that the precious variables saved in the cache have kept the same | 
| Chris@4 | 2439 # value. | 
| Chris@4 | 2440 ac_cache_corrupted=false | 
| Chris@4 | 2441 for ac_var in $ac_precious_vars; do | 
| Chris@4 | 2442   eval ac_old_set=\$ac_cv_env_${ac_var}_set | 
| Chris@4 | 2443   eval ac_new_set=\$ac_env_${ac_var}_set | 
| Chris@4 | 2444   eval ac_old_val=\$ac_cv_env_${ac_var}_value | 
| Chris@4 | 2445   eval ac_new_val=\$ac_env_${ac_var}_value | 
| Chris@4 | 2446   case $ac_old_set,$ac_new_set in | 
| Chris@4 | 2447     set,) | 
| Chris@4 | 2448       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 | 
| Chris@4 | 2449 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} | 
| Chris@4 | 2450       ac_cache_corrupted=: ;; | 
| Chris@4 | 2451     ,set) | 
| Chris@4 | 2452       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 | 
| Chris@4 | 2453 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} | 
| Chris@4 | 2454       ac_cache_corrupted=: ;; | 
| Chris@4 | 2455     ,);; | 
| Chris@4 | 2456     *) | 
| Chris@4 | 2457       if test "x$ac_old_val" != "x$ac_new_val"; then | 
| Chris@4 | 2458 	# differences in whitespace do not lead to failure. | 
| Chris@4 | 2459 	ac_old_val_w=`echo x $ac_old_val` | 
| Chris@4 | 2460 	ac_new_val_w=`echo x $ac_new_val` | 
| Chris@4 | 2461 	if test "$ac_old_val_w" != "$ac_new_val_w"; then | 
| Chris@4 | 2462 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 | 
| Chris@4 | 2463 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} | 
| Chris@4 | 2464 	  ac_cache_corrupted=: | 
| Chris@4 | 2465 	else | 
| Chris@4 | 2466 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 | 
| Chris@4 | 2467 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} | 
| Chris@4 | 2468 	  eval $ac_var=\$ac_old_val | 
| Chris@4 | 2469 	fi | 
| Chris@4 | 2470 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5 | 
| Chris@4 | 2471 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;} | 
| Chris@4 | 2472 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5 | 
| Chris@4 | 2473 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;} | 
| Chris@4 | 2474       fi;; | 
| Chris@4 | 2475   esac | 
| Chris@4 | 2476   # Pass precious variables to config.status. | 
| Chris@4 | 2477   if test "$ac_new_set" = set; then | 
| Chris@4 | 2478     case $ac_new_val in | 
| Chris@4 | 2479     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; | 
| Chris@4 | 2480     *) ac_arg=$ac_var=$ac_new_val ;; | 
| Chris@4 | 2481     esac | 
| Chris@4 | 2482     case " $ac_configure_args " in | 
| Chris@4 | 2483       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy. | 
| Chris@4 | 2484       *) as_fn_append ac_configure_args " '$ac_arg'" ;; | 
| Chris@4 | 2485     esac | 
| Chris@4 | 2486   fi | 
| Chris@4 | 2487 done | 
| Chris@4 | 2488 if $ac_cache_corrupted; then | 
| Chris@4 | 2489   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 2490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 2491   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 | 
| Chris@4 | 2492 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} | 
| Chris@4 | 2493   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 | 
| Chris@4 | 2494 fi | 
| Chris@4 | 2495 ## -------------------- ## | 
| Chris@4 | 2496 ## Main body of script. ## | 
| Chris@4 | 2497 ## -------------------- ## | 
| Chris@4 | 2498 | 
| Chris@4 | 2499 ac_ext=c | 
| Chris@4 | 2500 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 2501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 2502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 2503 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 2504 | 
| Chris@4 | 2505 | 
| Chris@4 | 2506 | 
| Chris@4 | 2507 ac_aux_dir= | 
| Chris@4 | 2508 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do | 
| Chris@4 | 2509   if test -f "$ac_dir/install-sh"; then | 
| Chris@4 | 2510     ac_aux_dir=$ac_dir | 
| Chris@4 | 2511     ac_install_sh="$ac_aux_dir/install-sh -c" | 
| Chris@4 | 2512     break | 
| Chris@4 | 2513   elif test -f "$ac_dir/install.sh"; then | 
| Chris@4 | 2514     ac_aux_dir=$ac_dir | 
| Chris@4 | 2515     ac_install_sh="$ac_aux_dir/install.sh -c" | 
| Chris@4 | 2516     break | 
| Chris@4 | 2517   elif test -f "$ac_dir/shtool"; then | 
| Chris@4 | 2518     ac_aux_dir=$ac_dir | 
| Chris@4 | 2519     ac_install_sh="$ac_aux_dir/shtool install -c" | 
| Chris@4 | 2520     break | 
| Chris@4 | 2521   fi | 
| Chris@4 | 2522 done | 
| Chris@4 | 2523 if test -z "$ac_aux_dir"; then | 
| Chris@4 | 2524   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 | 
| Chris@4 | 2525 fi | 
| Chris@4 | 2526 | 
| Chris@4 | 2527 # These three variables are undocumented and unsupported, | 
| Chris@4 | 2528 # and are intended to be withdrawn in a future Autoconf release. | 
| Chris@4 | 2529 # They can cause serious problems if a builder's source tree is in a directory | 
| Chris@4 | 2530 # whose full name contains unusual characters. | 
| Chris@4 | 2531 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var. | 
| Chris@4 | 2532 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var. | 
| Chris@4 | 2533 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var. | 
| Chris@4 | 2534 | 
| Chris@4 | 2535 | 
| Chris@4 | 2536 # Make sure we can run config.sub. | 
| Chris@4 | 2537 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || | 
| Chris@4 | 2538   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 | 
| Chris@4 | 2539 | 
| Chris@4 | 2540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 | 
| Chris@4 | 2541 $as_echo_n "checking build system type... " >&6; } | 
| Chris@4 | 2542 if ${ac_cv_build+:} false; then : | 
| Chris@4 | 2543   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2544 else | 
| Chris@4 | 2545   ac_build_alias=$build_alias | 
| Chris@4 | 2546 test "x$ac_build_alias" = x && | 
| Chris@4 | 2547   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` | 
| Chris@4 | 2548 test "x$ac_build_alias" = x && | 
| Chris@4 | 2549   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5 | 
| Chris@4 | 2550 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || | 
| Chris@4 | 2551   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 | 
| Chris@4 | 2552 | 
| Chris@4 | 2553 fi | 
| Chris@4 | 2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 | 
| Chris@4 | 2555 $as_echo "$ac_cv_build" >&6; } | 
| Chris@4 | 2556 case $ac_cv_build in | 
| Chris@4 | 2557 *-*-*) ;; | 
| Chris@4 | 2558 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;; | 
| Chris@4 | 2559 esac | 
| Chris@4 | 2560 build=$ac_cv_build | 
| Chris@4 | 2561 ac_save_IFS=$IFS; IFS='-' | 
| Chris@4 | 2562 set x $ac_cv_build | 
| Chris@4 | 2563 shift | 
| Chris@4 | 2564 build_cpu=$1 | 
| Chris@4 | 2565 build_vendor=$2 | 
| Chris@4 | 2566 shift; shift | 
| Chris@4 | 2567 # Remember, the first character of IFS is used to create $*, | 
| Chris@4 | 2568 # except with old shells: | 
| Chris@4 | 2569 build_os=$* | 
| Chris@4 | 2570 IFS=$ac_save_IFS | 
| Chris@4 | 2571 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac | 
| Chris@4 | 2572 | 
| Chris@4 | 2573 | 
| Chris@4 | 2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 | 
| Chris@4 | 2575 $as_echo_n "checking host system type... " >&6; } | 
| Chris@4 | 2576 if ${ac_cv_host+:} false; then : | 
| Chris@4 | 2577   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2578 else | 
| Chris@4 | 2579   if test "x$host_alias" = x; then | 
| Chris@4 | 2580   ac_cv_host=$ac_cv_build | 
| Chris@4 | 2581 else | 
| Chris@4 | 2582   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || | 
| Chris@4 | 2583     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 | 
| Chris@4 | 2584 fi | 
| Chris@4 | 2585 | 
| Chris@4 | 2586 fi | 
| Chris@4 | 2587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 | 
| Chris@4 | 2588 $as_echo "$ac_cv_host" >&6; } | 
| Chris@4 | 2589 case $ac_cv_host in | 
| Chris@4 | 2590 *-*-*) ;; | 
| Chris@4 | 2591 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;; | 
| Chris@4 | 2592 esac | 
| Chris@4 | 2593 host=$ac_cv_host | 
| Chris@4 | 2594 ac_save_IFS=$IFS; IFS='-' | 
| Chris@4 | 2595 set x $ac_cv_host | 
| Chris@4 | 2596 shift | 
| Chris@4 | 2597 host_cpu=$1 | 
| Chris@4 | 2598 host_vendor=$2 | 
| Chris@4 | 2599 shift; shift | 
| Chris@4 | 2600 # Remember, the first character of IFS is used to create $*, | 
| Chris@4 | 2601 # except with old shells: | 
| Chris@4 | 2602 host_os=$* | 
| Chris@4 | 2603 IFS=$ac_save_IFS | 
| Chris@4 | 2604 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac | 
| Chris@4 | 2605 | 
| Chris@4 | 2606 | 
| Chris@4 | 2607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5 | 
| Chris@4 | 2608 $as_echo_n "checking target system type... " >&6; } | 
| Chris@4 | 2609 if ${ac_cv_target+:} false; then : | 
| Chris@4 | 2610   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2611 else | 
| Chris@4 | 2612   if test "x$target_alias" = x; then | 
| Chris@4 | 2613   ac_cv_target=$ac_cv_host | 
| Chris@4 | 2614 else | 
| Chris@4 | 2615   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` || | 
| Chris@4 | 2616     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5 | 
| Chris@4 | 2617 fi | 
| Chris@4 | 2618 | 
| Chris@4 | 2619 fi | 
| Chris@4 | 2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5 | 
| Chris@4 | 2621 $as_echo "$ac_cv_target" >&6; } | 
| Chris@4 | 2622 case $ac_cv_target in | 
| Chris@4 | 2623 *-*-*) ;; | 
| Chris@4 | 2624 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;; | 
| Chris@4 | 2625 esac | 
| Chris@4 | 2626 target=$ac_cv_target | 
| Chris@4 | 2627 ac_save_IFS=$IFS; IFS='-' | 
| Chris@4 | 2628 set x $ac_cv_target | 
| Chris@4 | 2629 shift | 
| Chris@4 | 2630 target_cpu=$1 | 
| Chris@4 | 2631 target_vendor=$2 | 
| Chris@4 | 2632 shift; shift | 
| Chris@4 | 2633 # Remember, the first character of IFS is used to create $*, | 
| Chris@4 | 2634 # except with old shells: | 
| Chris@4 | 2635 target_os=$* | 
| Chris@4 | 2636 IFS=$ac_save_IFS | 
| Chris@4 | 2637 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac | 
| Chris@4 | 2638 | 
| Chris@4 | 2639 | 
| Chris@4 | 2640 # The aliases save the names the user supplied, while $host etc. | 
| Chris@4 | 2641 # will get canonicalized. | 
| Chris@4 | 2642 test -n "$target_alias" && | 
| Chris@4 | 2643   test "$program_prefix$program_suffix$program_transform_name" = \ | 
| Chris@4 | 2644     NONENONEs,x,x, && | 
| Chris@4 | 2645   program_prefix=${target_alias}- | 
| Chris@4 | 2646 | 
| Chris@4 | 2647 | 
| Chris@4 | 2648 | 
| Chris@4 | 2649 # Check whether --with-alsa was given. | 
| Chris@4 | 2650 if test "${with_alsa+set}" = set; then : | 
| Chris@4 | 2651   withval=$with_alsa; with_alsa=$withval | 
| Chris@4 | 2652 fi | 
| Chris@4 | 2653 | 
| Chris@4 | 2654 | 
| Chris@4 | 2655 | 
| Chris@4 | 2656 # Check whether --with-jack was given. | 
| Chris@4 | 2657 if test "${with_jack+set}" = set; then : | 
| Chris@4 | 2658   withval=$with_jack; with_jack=$withval | 
| Chris@4 | 2659 fi | 
| Chris@4 | 2660 | 
| Chris@4 | 2661 | 
| Chris@4 | 2662 | 
| Chris@4 | 2663 # Check whether --with-oss was given. | 
| Chris@4 | 2664 if test "${with_oss+set}" = set; then : | 
| Chris@4 | 2665   withval=$with_oss; with_oss=$withval | 
| Chris@4 | 2666 fi | 
| Chris@4 | 2667 | 
| Chris@4 | 2668 | 
| Chris@4 | 2669 | 
| Chris@4 | 2670 # Check whether --with-asihpi was given. | 
| Chris@4 | 2671 if test "${with_asihpi+set}" = set; then : | 
| Chris@4 | 2672   withval=$with_asihpi; with_asihpi=$withval | 
| Chris@4 | 2673 fi | 
| Chris@4 | 2674 | 
| Chris@4 | 2675 | 
| Chris@4 | 2676 | 
| Chris@4 | 2677 # Check whether --with-winapi was given. | 
| Chris@4 | 2678 if test "${with_winapi+set}" = set; then : | 
| Chris@4 | 2679   withval=$with_winapi; with_winapi=$withval | 
| Chris@4 | 2680 else | 
| Chris@4 | 2681   with_winapi="wmme" | 
| Chris@4 | 2682 fi | 
| Chris@4 | 2683 | 
| Chris@4 | 2684 case "$target_os" in *mingw* | *cygwin*) | 
| Chris@4 | 2685      with_wmme=no | 
| Chris@4 | 2686      with_directx=no | 
| Chris@4 | 2687      with_asio=no | 
| Chris@4 | 2688      with_wasapi=no | 
| Chris@4 | 2689      with_wdmks=no | 
| Chris@4 | 2690      for api in $(echo $with_winapi | sed 's/,/ /g'); do | 
| Chris@4 | 2691          case "$api" in | 
| Chris@4 | 2692              wmme|directx|asio|wasapi|wdmks) | 
| Chris@4 | 2693                  eval with_$api=yes | 
| Chris@4 | 2694                  ;; | 
| Chris@4 | 2695              *) | 
| Chris@4 | 2696                  as_fn_error $? "unknown Windows API \"$api\" (do you need --help?)" "$LINENO" 5 | 
| Chris@4 | 2697                  ;; | 
| Chris@4 | 2698          esac | 
| Chris@4 | 2699      done | 
| Chris@4 | 2700      ;; | 
| Chris@4 | 2701 esac | 
| Chris@4 | 2702 | 
| Chris@4 | 2703 | 
| Chris@4 | 2704 # Check whether --with-asiodir was given. | 
| Chris@4 | 2705 if test "${with_asiodir+set}" = set; then : | 
| Chris@4 | 2706   withval=$with_asiodir; with_asiodir=$withval | 
| Chris@4 | 2707 else | 
| Chris@4 | 2708   with_asiodir="/usr/local/asiosdk2" | 
| Chris@4 | 2709 fi | 
| Chris@4 | 2710 | 
| Chris@4 | 2711 | 
| Chris@4 | 2712 | 
| Chris@4 | 2713 # Check whether --with-dxdir was given. | 
| Chris@4 | 2714 if test "${with_dxdir+set}" = set; then : | 
| Chris@4 | 2715   withval=$with_dxdir; with_dxdir=$withval | 
| Chris@4 | 2716 else | 
| Chris@4 | 2717   with_dxdir="/usr/local/dx7sdk" | 
| Chris@4 | 2718 fi | 
| Chris@4 | 2719 | 
| Chris@4 | 2720 | 
| Chris@4 | 2721 debug_output=no | 
| Chris@4 | 2722 # Check whether --enable-debug-output was given. | 
| Chris@4 | 2723 if test "${enable_debug_output+set}" = set; then : | 
| Chris@4 | 2724   enableval=$enable_debug_output; if test "x$enableval" != "xno" ; then | 
| Chris@4 | 2725 | 
| Chris@4 | 2726 $as_echo "#define PA_ENABLE_DEBUG_OUTPUT /**/" >>confdefs.h | 
| Chris@4 | 2727 | 
| Chris@4 | 2728                   debug_output=yes | 
| Chris@4 | 2729                fi | 
| Chris@4 | 2730 | 
| Chris@4 | 2731 fi | 
| Chris@4 | 2732 | 
| Chris@4 | 2733 | 
| Chris@4 | 2734 # Check whether --enable-cxx was given. | 
| Chris@4 | 2735 if test "${enable_cxx+set}" = set; then : | 
| Chris@4 | 2736   enableval=$enable_cxx; enable_cxx=$enableval | 
| Chris@4 | 2737 else | 
| Chris@4 | 2738   enable_cxx="no" | 
| Chris@4 | 2739 fi | 
| Chris@4 | 2740 | 
| Chris@4 | 2741 | 
| Chris@4 | 2742 # Check whether --enable-mac-debug was given. | 
| Chris@4 | 2743 if test "${enable_mac_debug+set}" = set; then : | 
| Chris@4 | 2744   enableval=$enable_mac_debug; enable_mac_debug=$enableval | 
| Chris@4 | 2745 else | 
| Chris@4 | 2746   enable_mac_debug="no" | 
| Chris@4 | 2747 fi | 
| Chris@4 | 2748 | 
| Chris@4 | 2749 | 
| Chris@4 | 2750 # Check whether --enable-mac-universal was given. | 
| Chris@4 | 2751 if test "${enable_mac_universal+set}" = set; then : | 
| Chris@4 | 2752   enableval=$enable_mac_universal; enable_mac_universal=$enableval | 
| Chris@4 | 2753 else | 
| Chris@4 | 2754   enable_mac_universal="yes" | 
| Chris@4 | 2755 fi | 
| Chris@4 | 2756 | 
| Chris@4 | 2757 | 
| Chris@4 | 2758 | 
| Chris@4 | 2759 # Check whether --with-host_os was given. | 
| Chris@4 | 2760 if test "${with_host_os+set}" = set; then : | 
| Chris@4 | 2761   withval=$with_host_os; host_os=$withval | 
| Chris@4 | 2762 fi | 
| Chris@4 | 2763 | 
| Chris@4 | 2764 | 
| Chris@4 | 2765 | 
| Chris@4 | 2766 ac_ext=c | 
| Chris@4 | 2767 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 2768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 2769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 2770 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 2771 if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 2772   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | 
| Chris@4 | 2773 set dummy ${ac_tool_prefix}gcc; ac_word=$2 | 
| Chris@4 | 2774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 2775 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 2776 if ${ac_cv_prog_CC+:} false; then : | 
| Chris@4 | 2777   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2778 else | 
| Chris@4 | 2779   if test -n "$CC"; then | 
| Chris@4 | 2780   ac_cv_prog_CC="$CC" # Let the user override the test. | 
| Chris@4 | 2781 else | 
| Chris@4 | 2782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 2783 for as_dir in $PATH | 
| Chris@4 | 2784 do | 
| Chris@4 | 2785   IFS=$as_save_IFS | 
| Chris@4 | 2786   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 2787     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 2788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 2789     ac_cv_prog_CC="${ac_tool_prefix}gcc" | 
| Chris@4 | 2790     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 2791     break 2 | 
| Chris@4 | 2792   fi | 
| Chris@4 | 2793 done | 
| Chris@4 | 2794   done | 
| Chris@4 | 2795 IFS=$as_save_IFS | 
| Chris@4 | 2796 | 
| Chris@4 | 2797 fi | 
| Chris@4 | 2798 fi | 
| Chris@4 | 2799 CC=$ac_cv_prog_CC | 
| Chris@4 | 2800 if test -n "$CC"; then | 
| Chris@4 | 2801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
| Chris@4 | 2802 $as_echo "$CC" >&6; } | 
| Chris@4 | 2803 else | 
| Chris@4 | 2804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 2805 $as_echo "no" >&6; } | 
| Chris@4 | 2806 fi | 
| Chris@4 | 2807 | 
| Chris@4 | 2808 | 
| Chris@4 | 2809 fi | 
| Chris@4 | 2810 if test -z "$ac_cv_prog_CC"; then | 
| Chris@4 | 2811   ac_ct_CC=$CC | 
| Chris@4 | 2812   # Extract the first word of "gcc", so it can be a program name with args. | 
| Chris@4 | 2813 set dummy gcc; ac_word=$2 | 
| Chris@4 | 2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 2815 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 2816 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
| Chris@4 | 2817   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2818 else | 
| Chris@4 | 2819   if test -n "$ac_ct_CC"; then | 
| Chris@4 | 2820   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
| Chris@4 | 2821 else | 
| Chris@4 | 2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 2823 for as_dir in $PATH | 
| Chris@4 | 2824 do | 
| Chris@4 | 2825   IFS=$as_save_IFS | 
| Chris@4 | 2826   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 2827     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 2828   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 2829     ac_cv_prog_ac_ct_CC="gcc" | 
| Chris@4 | 2830     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 2831     break 2 | 
| Chris@4 | 2832   fi | 
| Chris@4 | 2833 done | 
| Chris@4 | 2834   done | 
| Chris@4 | 2835 IFS=$as_save_IFS | 
| Chris@4 | 2836 | 
| Chris@4 | 2837 fi | 
| Chris@4 | 2838 fi | 
| Chris@4 | 2839 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| Chris@4 | 2840 if test -n "$ac_ct_CC"; then | 
| Chris@4 | 2841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
| Chris@4 | 2842 $as_echo "$ac_ct_CC" >&6; } | 
| Chris@4 | 2843 else | 
| Chris@4 | 2844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 2845 $as_echo "no" >&6; } | 
| Chris@4 | 2846 fi | 
| Chris@4 | 2847 | 
| Chris@4 | 2848   if test "x$ac_ct_CC" = x; then | 
| Chris@4 | 2849     CC="" | 
| Chris@4 | 2850   else | 
| Chris@4 | 2851     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 2852 yes:) | 
| Chris@4 | 2853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 2854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 2855 ac_tool_warned=yes ;; | 
| Chris@4 | 2856 esac | 
| Chris@4 | 2857     CC=$ac_ct_CC | 
| Chris@4 | 2858   fi | 
| Chris@4 | 2859 else | 
| Chris@4 | 2860   CC="$ac_cv_prog_CC" | 
| Chris@4 | 2861 fi | 
| Chris@4 | 2862 | 
| Chris@4 | 2863 if test -z "$CC"; then | 
| Chris@4 | 2864           if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 2865     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | 
| Chris@4 | 2866 set dummy ${ac_tool_prefix}cc; ac_word=$2 | 
| Chris@4 | 2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 2868 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 2869 if ${ac_cv_prog_CC+:} false; then : | 
| Chris@4 | 2870   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2871 else | 
| Chris@4 | 2872   if test -n "$CC"; then | 
| Chris@4 | 2873   ac_cv_prog_CC="$CC" # Let the user override the test. | 
| Chris@4 | 2874 else | 
| Chris@4 | 2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 2876 for as_dir in $PATH | 
| Chris@4 | 2877 do | 
| Chris@4 | 2878   IFS=$as_save_IFS | 
| Chris@4 | 2879   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 2880     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 2881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 2882     ac_cv_prog_CC="${ac_tool_prefix}cc" | 
| Chris@4 | 2883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 2884     break 2 | 
| Chris@4 | 2885   fi | 
| Chris@4 | 2886 done | 
| Chris@4 | 2887   done | 
| Chris@4 | 2888 IFS=$as_save_IFS | 
| Chris@4 | 2889 | 
| Chris@4 | 2890 fi | 
| Chris@4 | 2891 fi | 
| Chris@4 | 2892 CC=$ac_cv_prog_CC | 
| Chris@4 | 2893 if test -n "$CC"; then | 
| Chris@4 | 2894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
| Chris@4 | 2895 $as_echo "$CC" >&6; } | 
| Chris@4 | 2896 else | 
| Chris@4 | 2897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 2898 $as_echo "no" >&6; } | 
| Chris@4 | 2899 fi | 
| Chris@4 | 2900 | 
| Chris@4 | 2901 | 
| Chris@4 | 2902   fi | 
| Chris@4 | 2903 fi | 
| Chris@4 | 2904 if test -z "$CC"; then | 
| Chris@4 | 2905   # Extract the first word of "cc", so it can be a program name with args. | 
| Chris@4 | 2906 set dummy cc; ac_word=$2 | 
| Chris@4 | 2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 2908 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 2909 if ${ac_cv_prog_CC+:} false; then : | 
| Chris@4 | 2910   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2911 else | 
| Chris@4 | 2912   if test -n "$CC"; then | 
| Chris@4 | 2913   ac_cv_prog_CC="$CC" # Let the user override the test. | 
| Chris@4 | 2914 else | 
| Chris@4 | 2915   ac_prog_rejected=no | 
| Chris@4 | 2916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 2917 for as_dir in $PATH | 
| Chris@4 | 2918 do | 
| Chris@4 | 2919   IFS=$as_save_IFS | 
| Chris@4 | 2920   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 2921     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 2922   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 2923     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then | 
| Chris@4 | 2924        ac_prog_rejected=yes | 
| Chris@4 | 2925        continue | 
| Chris@4 | 2926      fi | 
| Chris@4 | 2927     ac_cv_prog_CC="cc" | 
| Chris@4 | 2928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 2929     break 2 | 
| Chris@4 | 2930   fi | 
| Chris@4 | 2931 done | 
| Chris@4 | 2932   done | 
| Chris@4 | 2933 IFS=$as_save_IFS | 
| Chris@4 | 2934 | 
| Chris@4 | 2935 if test $ac_prog_rejected = yes; then | 
| Chris@4 | 2936   # We found a bogon in the path, so make sure we never use it. | 
| Chris@4 | 2937   set dummy $ac_cv_prog_CC | 
| Chris@4 | 2938   shift | 
| Chris@4 | 2939   if test $# != 0; then | 
| Chris@4 | 2940     # We chose a different compiler from the bogus one. | 
| Chris@4 | 2941     # However, it has the same basename, so the bogon will be chosen | 
| Chris@4 | 2942     # first if we set CC to just the basename; use the full file name. | 
| Chris@4 | 2943     shift | 
| Chris@4 | 2944     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" | 
| Chris@4 | 2945   fi | 
| Chris@4 | 2946 fi | 
| Chris@4 | 2947 fi | 
| Chris@4 | 2948 fi | 
| Chris@4 | 2949 CC=$ac_cv_prog_CC | 
| Chris@4 | 2950 if test -n "$CC"; then | 
| Chris@4 | 2951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
| Chris@4 | 2952 $as_echo "$CC" >&6; } | 
| Chris@4 | 2953 else | 
| Chris@4 | 2954   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 2955 $as_echo "no" >&6; } | 
| Chris@4 | 2956 fi | 
| Chris@4 | 2957 | 
| Chris@4 | 2958 | 
| Chris@4 | 2959 fi | 
| Chris@4 | 2960 if test -z "$CC"; then | 
| Chris@4 | 2961   if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 2962   for ac_prog in cl.exe | 
| Chris@4 | 2963   do | 
| Chris@4 | 2964     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| Chris@4 | 2965 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| Chris@4 | 2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 2967 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 2968 if ${ac_cv_prog_CC+:} false; then : | 
| Chris@4 | 2969   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 2970 else | 
| Chris@4 | 2971   if test -n "$CC"; then | 
| Chris@4 | 2972   ac_cv_prog_CC="$CC" # Let the user override the test. | 
| Chris@4 | 2973 else | 
| Chris@4 | 2974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 2975 for as_dir in $PATH | 
| Chris@4 | 2976 do | 
| Chris@4 | 2977   IFS=$as_save_IFS | 
| Chris@4 | 2978   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 2979     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 2980   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 2981     ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | 
| Chris@4 | 2982     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 2983     break 2 | 
| Chris@4 | 2984   fi | 
| Chris@4 | 2985 done | 
| Chris@4 | 2986   done | 
| Chris@4 | 2987 IFS=$as_save_IFS | 
| Chris@4 | 2988 | 
| Chris@4 | 2989 fi | 
| Chris@4 | 2990 fi | 
| Chris@4 | 2991 CC=$ac_cv_prog_CC | 
| Chris@4 | 2992 if test -n "$CC"; then | 
| Chris@4 | 2993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 | 
| Chris@4 | 2994 $as_echo "$CC" >&6; } | 
| Chris@4 | 2995 else | 
| Chris@4 | 2996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 2997 $as_echo "no" >&6; } | 
| Chris@4 | 2998 fi | 
| Chris@4 | 2999 | 
| Chris@4 | 3000 | 
| Chris@4 | 3001     test -n "$CC" && break | 
| Chris@4 | 3002   done | 
| Chris@4 | 3003 fi | 
| Chris@4 | 3004 if test -z "$CC"; then | 
| Chris@4 | 3005   ac_ct_CC=$CC | 
| Chris@4 | 3006   for ac_prog in cl.exe | 
| Chris@4 | 3007 do | 
| Chris@4 | 3008   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| Chris@4 | 3009 set dummy $ac_prog; ac_word=$2 | 
| Chris@4 | 3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 3011 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 3012 if ${ac_cv_prog_ac_ct_CC+:} false; then : | 
| Chris@4 | 3013   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3014 else | 
| Chris@4 | 3015   if test -n "$ac_ct_CC"; then | 
| Chris@4 | 3016   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | 
| Chris@4 | 3017 else | 
| Chris@4 | 3018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 3019 for as_dir in $PATH | 
| Chris@4 | 3020 do | 
| Chris@4 | 3021   IFS=$as_save_IFS | 
| Chris@4 | 3022   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 3023     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 3024   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 3025     ac_cv_prog_ac_ct_CC="$ac_prog" | 
| Chris@4 | 3026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 3027     break 2 | 
| Chris@4 | 3028   fi | 
| Chris@4 | 3029 done | 
| Chris@4 | 3030   done | 
| Chris@4 | 3031 IFS=$as_save_IFS | 
| Chris@4 | 3032 | 
| Chris@4 | 3033 fi | 
| Chris@4 | 3034 fi | 
| Chris@4 | 3035 ac_ct_CC=$ac_cv_prog_ac_ct_CC | 
| Chris@4 | 3036 if test -n "$ac_ct_CC"; then | 
| Chris@4 | 3037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 | 
| Chris@4 | 3038 $as_echo "$ac_ct_CC" >&6; } | 
| Chris@4 | 3039 else | 
| Chris@4 | 3040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3041 $as_echo "no" >&6; } | 
| Chris@4 | 3042 fi | 
| Chris@4 | 3043 | 
| Chris@4 | 3044 | 
| Chris@4 | 3045   test -n "$ac_ct_CC" && break | 
| Chris@4 | 3046 done | 
| Chris@4 | 3047 | 
| Chris@4 | 3048   if test "x$ac_ct_CC" = x; then | 
| Chris@4 | 3049     CC="" | 
| Chris@4 | 3050   else | 
| Chris@4 | 3051     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 3052 yes:) | 
| Chris@4 | 3053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 3054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 3055 ac_tool_warned=yes ;; | 
| Chris@4 | 3056 esac | 
| Chris@4 | 3057     CC=$ac_ct_CC | 
| Chris@4 | 3058   fi | 
| Chris@4 | 3059 fi | 
| Chris@4 | 3060 | 
| Chris@4 | 3061 fi | 
| Chris@4 | 3062 | 
| Chris@4 | 3063 | 
| Chris@4 | 3064 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 3065 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 3066 as_fn_error $? "no acceptable C compiler found in \$PATH | 
| Chris@4 | 3067 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 3068 | 
| Chris@4 | 3069 # Provide some information about the compiler. | 
| Chris@4 | 3070 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 | 
| Chris@4 | 3071 set X $ac_compile | 
| Chris@4 | 3072 ac_compiler=$2 | 
| Chris@4 | 3073 for ac_option in --version -v -V -qversion; do | 
| Chris@4 | 3074   { { ac_try="$ac_compiler $ac_option >&5" | 
| Chris@4 | 3075 case "(($ac_try" in | 
| Chris@4 | 3076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 3077   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 3078 esac | 
| Chris@4 | 3079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 3080 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 3081   (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 
| Chris@4 | 3082   ac_status=$? | 
| Chris@4 | 3083   if test -s conftest.err; then | 
| Chris@4 | 3084     sed '10a\ | 
| Chris@4 | 3085 ... rest of stderr output deleted ... | 
| Chris@4 | 3086          10q' conftest.err >conftest.er1 | 
| Chris@4 | 3087     cat conftest.er1 >&5 | 
| Chris@4 | 3088   fi | 
| Chris@4 | 3089   rm -f conftest.er1 conftest.err | 
| Chris@4 | 3090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 3091   test $ac_status = 0; } | 
| Chris@4 | 3092 done | 
| Chris@4 | 3093 | 
| Chris@4 | 3094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3095 /* end confdefs.h.  */ | 
| Chris@4 | 3096 | 
| Chris@4 | 3097 int | 
| Chris@4 | 3098 main () | 
| Chris@4 | 3099 { | 
| Chris@4 | 3100 | 
| Chris@4 | 3101   ; | 
| Chris@4 | 3102   return 0; | 
| Chris@4 | 3103 } | 
| Chris@4 | 3104 _ACEOF | 
| Chris@4 | 3105 ac_clean_files_save=$ac_clean_files | 
| Chris@4 | 3106 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" | 
| Chris@4 | 3107 # Try to create an executable without -o first, disregard a.out. | 
| Chris@4 | 3108 # It will help us diagnose broken compilers, and finding out an intuition | 
| Chris@4 | 3109 # of exeext. | 
| Chris@4 | 3110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 | 
| Chris@4 | 3111 $as_echo_n "checking whether the C compiler works... " >&6; } | 
| Chris@4 | 3112 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | 
| Chris@4 | 3113 | 
| Chris@4 | 3114 # The possible output files: | 
| Chris@4 | 3115 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" | 
| Chris@4 | 3116 | 
| Chris@4 | 3117 ac_rmfiles= | 
| Chris@4 | 3118 for ac_file in $ac_files | 
| Chris@4 | 3119 do | 
| Chris@4 | 3120   case $ac_file in | 
| Chris@4 | 3121     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
| Chris@4 | 3122     * ) ac_rmfiles="$ac_rmfiles $ac_file";; | 
| Chris@4 | 3123   esac | 
| Chris@4 | 3124 done | 
| Chris@4 | 3125 rm -f $ac_rmfiles | 
| Chris@4 | 3126 | 
| Chris@4 | 3127 if { { ac_try="$ac_link_default" | 
| Chris@4 | 3128 case "(($ac_try" in | 
| Chris@4 | 3129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 3130   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 3131 esac | 
| Chris@4 | 3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 3133 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 3134   (eval "$ac_link_default") 2>&5 | 
| Chris@4 | 3135   ac_status=$? | 
| Chris@4 | 3136   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 3137   test $ac_status = 0; }; then : | 
| Chris@4 | 3138   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. | 
| Chris@4 | 3139 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' | 
| Chris@4 | 3140 # in a Makefile.  We should not override ac_cv_exeext if it was cached, | 
| Chris@4 | 3141 # so that the user can short-circuit this test for compilers unknown to | 
| Chris@4 | 3142 # Autoconf. | 
| Chris@4 | 3143 for ac_file in $ac_files '' | 
| Chris@4 | 3144 do | 
| Chris@4 | 3145   test -f "$ac_file" || continue | 
| Chris@4 | 3146   case $ac_file in | 
| Chris@4 | 3147     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) | 
| Chris@4 | 3148 	;; | 
| Chris@4 | 3149     [ab].out ) | 
| Chris@4 | 3150 	# We found the default executable, but exeext='' is most | 
| Chris@4 | 3151 	# certainly right. | 
| Chris@4 | 3152 	break;; | 
| Chris@4 | 3153     *.* ) | 
| Chris@4 | 3154 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; | 
| Chris@4 | 3155 	then :; else | 
| Chris@4 | 3156 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| Chris@4 | 3157 	fi | 
| Chris@4 | 3158 	# We set ac_cv_exeext here because the later test for it is not | 
| Chris@4 | 3159 	# safe: cross compilers may not add the suffix if given an `-o' | 
| Chris@4 | 3160 	# argument, so we may need to know it at that point already. | 
| Chris@4 | 3161 	# Even if this section looks crufty: it has the advantage of | 
| Chris@4 | 3162 	# actually working. | 
| Chris@4 | 3163 	break;; | 
| Chris@4 | 3164     * ) | 
| Chris@4 | 3165 	break;; | 
| Chris@4 | 3166   esac | 
| Chris@4 | 3167 done | 
| Chris@4 | 3168 test "$ac_cv_exeext" = no && ac_cv_exeext= | 
| Chris@4 | 3169 | 
| Chris@4 | 3170 else | 
| Chris@4 | 3171   ac_file='' | 
| Chris@4 | 3172 fi | 
| Chris@4 | 3173 if test -z "$ac_file"; then : | 
| Chris@4 | 3174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3175 $as_echo "no" >&6; } | 
| Chris@4 | 3176 $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 3177 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 3178 | 
| Chris@4 | 3179 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 3180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 3181 as_fn_error 77 "C compiler cannot create executables | 
| Chris@4 | 3182 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 3183 else | 
| Chris@4 | 3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
| Chris@4 | 3185 $as_echo "yes" >&6; } | 
| Chris@4 | 3186 fi | 
| Chris@4 | 3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 | 
| Chris@4 | 3188 $as_echo_n "checking for C compiler default output file name... " >&6; } | 
| Chris@4 | 3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 | 
| Chris@4 | 3190 $as_echo "$ac_file" >&6; } | 
| Chris@4 | 3191 ac_exeext=$ac_cv_exeext | 
| Chris@4 | 3192 | 
| Chris@4 | 3193 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out | 
| Chris@4 | 3194 ac_clean_files=$ac_clean_files_save | 
| Chris@4 | 3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 | 
| Chris@4 | 3196 $as_echo_n "checking for suffix of executables... " >&6; } | 
| Chris@4 | 3197 if { { ac_try="$ac_link" | 
| Chris@4 | 3198 case "(($ac_try" in | 
| Chris@4 | 3199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 3200   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 3201 esac | 
| Chris@4 | 3202 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 3203 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 3204   (eval "$ac_link") 2>&5 | 
| Chris@4 | 3205   ac_status=$? | 
| Chris@4 | 3206   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 3207   test $ac_status = 0; }; then : | 
| Chris@4 | 3208   # If both `conftest.exe' and `conftest' are `present' (well, observable) | 
| Chris@4 | 3209 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will | 
| Chris@4 | 3210 # work properly (i.e., refer to `conftest.exe'), while it won't with | 
| Chris@4 | 3211 # `rm'. | 
| Chris@4 | 3212 for ac_file in conftest.exe conftest conftest.*; do | 
| Chris@4 | 3213   test -f "$ac_file" || continue | 
| Chris@4 | 3214   case $ac_file in | 
| Chris@4 | 3215     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; | 
| Chris@4 | 3216     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | 
| Chris@4 | 3217 	  break;; | 
| Chris@4 | 3218     * ) break;; | 
| Chris@4 | 3219   esac | 
| Chris@4 | 3220 done | 
| Chris@4 | 3221 else | 
| Chris@4 | 3222   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 3224 as_fn_error $? "cannot compute suffix of executables: cannot compile and link | 
| Chris@4 | 3225 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 3226 fi | 
| Chris@4 | 3227 rm -f conftest conftest$ac_cv_exeext | 
| Chris@4 | 3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 | 
| Chris@4 | 3229 $as_echo "$ac_cv_exeext" >&6; } | 
| Chris@4 | 3230 | 
| Chris@4 | 3231 rm -f conftest.$ac_ext | 
| Chris@4 | 3232 EXEEXT=$ac_cv_exeext | 
| Chris@4 | 3233 ac_exeext=$EXEEXT | 
| Chris@4 | 3234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3235 /* end confdefs.h.  */ | 
| Chris@4 | 3236 #include <stdio.h> | 
| Chris@4 | 3237 int | 
| Chris@4 | 3238 main () | 
| Chris@4 | 3239 { | 
| Chris@4 | 3240 FILE *f = fopen ("conftest.out", "w"); | 
| Chris@4 | 3241  return ferror (f) || fclose (f) != 0; | 
| Chris@4 | 3242 | 
| Chris@4 | 3243   ; | 
| Chris@4 | 3244   return 0; | 
| Chris@4 | 3245 } | 
| Chris@4 | 3246 _ACEOF | 
| Chris@4 | 3247 ac_clean_files="$ac_clean_files conftest.out" | 
| Chris@4 | 3248 # Check that the compiler produces executables we can run.  If not, either | 
| Chris@4 | 3249 # the compiler is broken, or we cross compile. | 
| Chris@4 | 3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 | 
| Chris@4 | 3251 $as_echo_n "checking whether we are cross compiling... " >&6; } | 
| Chris@4 | 3252 if test "$cross_compiling" != yes; then | 
| Chris@4 | 3253   { { ac_try="$ac_link" | 
| Chris@4 | 3254 case "(($ac_try" in | 
| Chris@4 | 3255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 3256   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 3257 esac | 
| Chris@4 | 3258 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 3259 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 3260   (eval "$ac_link") 2>&5 | 
| Chris@4 | 3261   ac_status=$? | 
| Chris@4 | 3262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 3263   test $ac_status = 0; } | 
| Chris@4 | 3264   if { ac_try='./conftest$ac_cv_exeext' | 
| Chris@4 | 3265   { { case "(($ac_try" in | 
| Chris@4 | 3266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 3267   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 3268 esac | 
| Chris@4 | 3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 3270 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 3271   (eval "$ac_try") 2>&5 | 
| Chris@4 | 3272   ac_status=$? | 
| Chris@4 | 3273   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 3274   test $ac_status = 0; }; }; then | 
| Chris@4 | 3275     cross_compiling=no | 
| Chris@4 | 3276   else | 
| Chris@4 | 3277     if test "$cross_compiling" = maybe; then | 
| Chris@4 | 3278 	cross_compiling=yes | 
| Chris@4 | 3279     else | 
| Chris@4 | 3280 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 3281 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 3282 as_fn_error $? "cannot run C compiled programs. | 
| Chris@4 | 3283 If you meant to cross compile, use \`--host'. | 
| Chris@4 | 3284 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 3285     fi | 
| Chris@4 | 3286   fi | 
| Chris@4 | 3287 fi | 
| Chris@4 | 3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 | 
| Chris@4 | 3289 $as_echo "$cross_compiling" >&6; } | 
| Chris@4 | 3290 | 
| Chris@4 | 3291 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out | 
| Chris@4 | 3292 ac_clean_files=$ac_clean_files_save | 
| Chris@4 | 3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 | 
| Chris@4 | 3294 $as_echo_n "checking for suffix of object files... " >&6; } | 
| Chris@4 | 3295 if ${ac_cv_objext+:} false; then : | 
| Chris@4 | 3296   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3297 else | 
| Chris@4 | 3298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3299 /* end confdefs.h.  */ | 
| Chris@4 | 3300 | 
| Chris@4 | 3301 int | 
| Chris@4 | 3302 main () | 
| Chris@4 | 3303 { | 
| Chris@4 | 3304 | 
| Chris@4 | 3305   ; | 
| Chris@4 | 3306   return 0; | 
| Chris@4 | 3307 } | 
| Chris@4 | 3308 _ACEOF | 
| Chris@4 | 3309 rm -f conftest.o conftest.obj | 
| Chris@4 | 3310 if { { ac_try="$ac_compile" | 
| Chris@4 | 3311 case "(($ac_try" in | 
| Chris@4 | 3312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 3313   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 3314 esac | 
| Chris@4 | 3315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 3316 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 3317   (eval "$ac_compile") 2>&5 | 
| Chris@4 | 3318   ac_status=$? | 
| Chris@4 | 3319   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 3320   test $ac_status = 0; }; then : | 
| Chris@4 | 3321   for ac_file in conftest.o conftest.obj conftest.*; do | 
| Chris@4 | 3322   test -f "$ac_file" || continue; | 
| Chris@4 | 3323   case $ac_file in | 
| Chris@4 | 3324     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; | 
| Chris@4 | 3325     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | 
| Chris@4 | 3326        break;; | 
| Chris@4 | 3327   esac | 
| Chris@4 | 3328 done | 
| Chris@4 | 3329 else | 
| Chris@4 | 3330   $as_echo "$as_me: failed program was:" >&5 | 
| Chris@4 | 3331 sed 's/^/| /' conftest.$ac_ext >&5 | 
| Chris@4 | 3332 | 
| Chris@4 | 3333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 3335 as_fn_error $? "cannot compute suffix of object files: cannot compile | 
| Chris@4 | 3336 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 3337 fi | 
| Chris@4 | 3338 rm -f conftest.$ac_cv_objext conftest.$ac_ext | 
| Chris@4 | 3339 fi | 
| Chris@4 | 3340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 | 
| Chris@4 | 3341 $as_echo "$ac_cv_objext" >&6; } | 
| Chris@4 | 3342 OBJEXT=$ac_cv_objext | 
| Chris@4 | 3343 ac_objext=$OBJEXT | 
| Chris@4 | 3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 | 
| Chris@4 | 3345 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } | 
| Chris@4 | 3346 if ${ac_cv_c_compiler_gnu+:} false; then : | 
| Chris@4 | 3347   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3348 else | 
| Chris@4 | 3349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3350 /* end confdefs.h.  */ | 
| Chris@4 | 3351 | 
| Chris@4 | 3352 int | 
| Chris@4 | 3353 main () | 
| Chris@4 | 3354 { | 
| Chris@4 | 3355 #ifndef __GNUC__ | 
| Chris@4 | 3356        choke me | 
| Chris@4 | 3357 #endif | 
| Chris@4 | 3358 | 
| Chris@4 | 3359   ; | 
| Chris@4 | 3360   return 0; | 
| Chris@4 | 3361 } | 
| Chris@4 | 3362 _ACEOF | 
| Chris@4 | 3363 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 3364   ac_compiler_gnu=yes | 
| Chris@4 | 3365 else | 
| Chris@4 | 3366   ac_compiler_gnu=no | 
| Chris@4 | 3367 fi | 
| Chris@4 | 3368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3369 ac_cv_c_compiler_gnu=$ac_compiler_gnu | 
| Chris@4 | 3370 | 
| Chris@4 | 3371 fi | 
| Chris@4 | 3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 | 
| Chris@4 | 3373 $as_echo "$ac_cv_c_compiler_gnu" >&6; } | 
| Chris@4 | 3374 if test $ac_compiler_gnu = yes; then | 
| Chris@4 | 3375   GCC=yes | 
| Chris@4 | 3376 else | 
| Chris@4 | 3377   GCC= | 
| Chris@4 | 3378 fi | 
| Chris@4 | 3379 ac_test_CFLAGS=${CFLAGS+set} | 
| Chris@4 | 3380 ac_save_CFLAGS=$CFLAGS | 
| Chris@4 | 3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 | 
| Chris@4 | 3382 $as_echo_n "checking whether $CC accepts -g... " >&6; } | 
| Chris@4 | 3383 if ${ac_cv_prog_cc_g+:} false; then : | 
| Chris@4 | 3384   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3385 else | 
| Chris@4 | 3386   ac_save_c_werror_flag=$ac_c_werror_flag | 
| Chris@4 | 3387    ac_c_werror_flag=yes | 
| Chris@4 | 3388    ac_cv_prog_cc_g=no | 
| Chris@4 | 3389    CFLAGS="-g" | 
| Chris@4 | 3390    cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3391 /* end confdefs.h.  */ | 
| Chris@4 | 3392 | 
| Chris@4 | 3393 int | 
| Chris@4 | 3394 main () | 
| Chris@4 | 3395 { | 
| Chris@4 | 3396 | 
| Chris@4 | 3397   ; | 
| Chris@4 | 3398   return 0; | 
| Chris@4 | 3399 } | 
| Chris@4 | 3400 _ACEOF | 
| Chris@4 | 3401 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 3402   ac_cv_prog_cc_g=yes | 
| Chris@4 | 3403 else | 
| Chris@4 | 3404   CFLAGS="" | 
| Chris@4 | 3405       cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3406 /* end confdefs.h.  */ | 
| Chris@4 | 3407 | 
| Chris@4 | 3408 int | 
| Chris@4 | 3409 main () | 
| Chris@4 | 3410 { | 
| Chris@4 | 3411 | 
| Chris@4 | 3412   ; | 
| Chris@4 | 3413   return 0; | 
| Chris@4 | 3414 } | 
| Chris@4 | 3415 _ACEOF | 
| Chris@4 | 3416 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 3417 | 
| Chris@4 | 3418 else | 
| Chris@4 | 3419   ac_c_werror_flag=$ac_save_c_werror_flag | 
| Chris@4 | 3420 	 CFLAGS="-g" | 
| Chris@4 | 3421 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3422 /* end confdefs.h.  */ | 
| Chris@4 | 3423 | 
| Chris@4 | 3424 int | 
| Chris@4 | 3425 main () | 
| Chris@4 | 3426 { | 
| Chris@4 | 3427 | 
| Chris@4 | 3428   ; | 
| Chris@4 | 3429   return 0; | 
| Chris@4 | 3430 } | 
| Chris@4 | 3431 _ACEOF | 
| Chris@4 | 3432 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 3433   ac_cv_prog_cc_g=yes | 
| Chris@4 | 3434 fi | 
| Chris@4 | 3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3436 fi | 
| Chris@4 | 3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3438 fi | 
| Chris@4 | 3439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3440    ac_c_werror_flag=$ac_save_c_werror_flag | 
| Chris@4 | 3441 fi | 
| Chris@4 | 3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 | 
| Chris@4 | 3443 $as_echo "$ac_cv_prog_cc_g" >&6; } | 
| Chris@4 | 3444 if test "$ac_test_CFLAGS" = set; then | 
| Chris@4 | 3445   CFLAGS=$ac_save_CFLAGS | 
| Chris@4 | 3446 elif test $ac_cv_prog_cc_g = yes; then | 
| Chris@4 | 3447   if test "$GCC" = yes; then | 
| Chris@4 | 3448     CFLAGS="-g -O2" | 
| Chris@4 | 3449   else | 
| Chris@4 | 3450     CFLAGS="-g" | 
| Chris@4 | 3451   fi | 
| Chris@4 | 3452 else | 
| Chris@4 | 3453   if test "$GCC" = yes; then | 
| Chris@4 | 3454     CFLAGS="-O2" | 
| Chris@4 | 3455   else | 
| Chris@4 | 3456     CFLAGS= | 
| Chris@4 | 3457   fi | 
| Chris@4 | 3458 fi | 
| Chris@4 | 3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 | 
| Chris@4 | 3460 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } | 
| Chris@4 | 3461 if ${ac_cv_prog_cc_c89+:} false; then : | 
| Chris@4 | 3462   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3463 else | 
| Chris@4 | 3464   ac_cv_prog_cc_c89=no | 
| Chris@4 | 3465 ac_save_CC=$CC | 
| Chris@4 | 3466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3467 /* end confdefs.h.  */ | 
| Chris@4 | 3468 #include <stdarg.h> | 
| Chris@4 | 3469 #include <stdio.h> | 
| Chris@4 | 3470 #include <sys/types.h> | 
| Chris@4 | 3471 #include <sys/stat.h> | 
| Chris@4 | 3472 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */ | 
| Chris@4 | 3473 struct buf { int x; }; | 
| Chris@4 | 3474 FILE * (*rcsopen) (struct buf *, struct stat *, int); | 
| Chris@4 | 3475 static char *e (p, i) | 
| Chris@4 | 3476      char **p; | 
| Chris@4 | 3477      int i; | 
| Chris@4 | 3478 { | 
| Chris@4 | 3479   return p[i]; | 
| Chris@4 | 3480 } | 
| Chris@4 | 3481 static char *f (char * (*g) (char **, int), char **p, ...) | 
| Chris@4 | 3482 { | 
| Chris@4 | 3483   char *s; | 
| Chris@4 | 3484   va_list v; | 
| Chris@4 | 3485   va_start (v,p); | 
| Chris@4 | 3486   s = g (p, va_arg (v,int)); | 
| Chris@4 | 3487   va_end (v); | 
| Chris@4 | 3488   return s; | 
| Chris@4 | 3489 } | 
| Chris@4 | 3490 | 
| Chris@4 | 3491 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has | 
| Chris@4 | 3492    function prototypes and stuff, but not '\xHH' hex character constants. | 
| Chris@4 | 3493    These don't provoke an error unfortunately, instead are silently treated | 
| Chris@4 | 3494    as 'x'.  The following induces an error, until -std is added to get | 
| Chris@4 | 3495    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an | 
| Chris@4 | 3496    array size at least.  It's necessary to write '\x00'==0 to get something | 
| Chris@4 | 3497    that's true only with -std.  */ | 
| Chris@4 | 3498 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | 
| Chris@4 | 3499 | 
| Chris@4 | 3500 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | 
| Chris@4 | 3501    inside strings and character constants.  */ | 
| Chris@4 | 3502 #define FOO(x) 'x' | 
| Chris@4 | 3503 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | 
| Chris@4 | 3504 | 
| Chris@4 | 3505 int test (int i, double x); | 
| Chris@4 | 3506 struct s1 {int (*f) (int a);}; | 
| Chris@4 | 3507 struct s2 {int (*f) (double a);}; | 
| Chris@4 | 3508 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | 
| Chris@4 | 3509 int argc; | 
| Chris@4 | 3510 char **argv; | 
| Chris@4 | 3511 int | 
| Chris@4 | 3512 main () | 
| Chris@4 | 3513 { | 
| Chris@4 | 3514 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1]; | 
| Chris@4 | 3515   ; | 
| Chris@4 | 3516   return 0; | 
| Chris@4 | 3517 } | 
| Chris@4 | 3518 _ACEOF | 
| Chris@4 | 3519 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ | 
| Chris@4 | 3520 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | 
| Chris@4 | 3521 do | 
| Chris@4 | 3522   CC="$ac_save_CC $ac_arg" | 
| Chris@4 | 3523   if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 3524   ac_cv_prog_cc_c89=$ac_arg | 
| Chris@4 | 3525 fi | 
| Chris@4 | 3526 rm -f core conftest.err conftest.$ac_objext | 
| Chris@4 | 3527   test "x$ac_cv_prog_cc_c89" != "xno" && break | 
| Chris@4 | 3528 done | 
| Chris@4 | 3529 rm -f conftest.$ac_ext | 
| Chris@4 | 3530 CC=$ac_save_CC | 
| Chris@4 | 3531 | 
| Chris@4 | 3532 fi | 
| Chris@4 | 3533 # AC_CACHE_VAL | 
| Chris@4 | 3534 case "x$ac_cv_prog_cc_c89" in | 
| Chris@4 | 3535   x) | 
| Chris@4 | 3536     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 | 
| Chris@4 | 3537 $as_echo "none needed" >&6; } ;; | 
| Chris@4 | 3538   xno) | 
| Chris@4 | 3539     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 | 
| Chris@4 | 3540 $as_echo "unsupported" >&6; } ;; | 
| Chris@4 | 3541   *) | 
| Chris@4 | 3542     CC="$CC $ac_cv_prog_cc_c89" | 
| Chris@4 | 3543     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 | 
| Chris@4 | 3544 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; | 
| Chris@4 | 3545 esac | 
| Chris@4 | 3546 if test "x$ac_cv_prog_cc_c89" != xno; then : | 
| Chris@4 | 3547 | 
| Chris@4 | 3548 fi | 
| Chris@4 | 3549 | 
| Chris@4 | 3550 ac_ext=c | 
| Chris@4 | 3551 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 3552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 3553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 3554 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 3555 | 
| Chris@4 | 3556 if [ "$with_asio" = "yes" ] || [ "$enable_cxx" = "yes" ] ; then | 
| Chris@4 | 3557        ac_ext=cpp | 
| Chris@4 | 3558 ac_cpp='$CXXCPP $CPPFLAGS' | 
| Chris@4 | 3559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 3560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 3561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| Chris@4 | 3562 if test -z "$CXX"; then | 
| Chris@4 | 3563   if test -n "$CCC"; then | 
| Chris@4 | 3564     CXX=$CCC | 
| Chris@4 | 3565   else | 
| Chris@4 | 3566     if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 3567   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 
| Chris@4 | 3568   do | 
| Chris@4 | 3569     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| Chris@4 | 3570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| Chris@4 | 3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 3572 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 3573 if ${ac_cv_prog_CXX+:} false; then : | 
| Chris@4 | 3574   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3575 else | 
| Chris@4 | 3576   if test -n "$CXX"; then | 
| Chris@4 | 3577   ac_cv_prog_CXX="$CXX" # Let the user override the test. | 
| Chris@4 | 3578 else | 
| Chris@4 | 3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 3580 for as_dir in $PATH | 
| Chris@4 | 3581 do | 
| Chris@4 | 3582   IFS=$as_save_IFS | 
| Chris@4 | 3583   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 3584     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 3585   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 3586     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" | 
| Chris@4 | 3587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 3588     break 2 | 
| Chris@4 | 3589   fi | 
| Chris@4 | 3590 done | 
| Chris@4 | 3591   done | 
| Chris@4 | 3592 IFS=$as_save_IFS | 
| Chris@4 | 3593 | 
| Chris@4 | 3594 fi | 
| Chris@4 | 3595 fi | 
| Chris@4 | 3596 CXX=$ac_cv_prog_CXX | 
| Chris@4 | 3597 if test -n "$CXX"; then | 
| Chris@4 | 3598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 | 
| Chris@4 | 3599 $as_echo "$CXX" >&6; } | 
| Chris@4 | 3600 else | 
| Chris@4 | 3601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3602 $as_echo "no" >&6; } | 
| Chris@4 | 3603 fi | 
| Chris@4 | 3604 | 
| Chris@4 | 3605 | 
| Chris@4 | 3606     test -n "$CXX" && break | 
| Chris@4 | 3607   done | 
| Chris@4 | 3608 fi | 
| Chris@4 | 3609 if test -z "$CXX"; then | 
| Chris@4 | 3610   ac_ct_CXX=$CXX | 
| Chris@4 | 3611   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC | 
| Chris@4 | 3612 do | 
| Chris@4 | 3613   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| Chris@4 | 3614 set dummy $ac_prog; ac_word=$2 | 
| Chris@4 | 3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 3616 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 3617 if ${ac_cv_prog_ac_ct_CXX+:} false; then : | 
| Chris@4 | 3618   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3619 else | 
| Chris@4 | 3620   if test -n "$ac_ct_CXX"; then | 
| Chris@4 | 3621   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. | 
| Chris@4 | 3622 else | 
| Chris@4 | 3623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 3624 for as_dir in $PATH | 
| Chris@4 | 3625 do | 
| Chris@4 | 3626   IFS=$as_save_IFS | 
| Chris@4 | 3627   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 3628     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 3629   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 3630     ac_cv_prog_ac_ct_CXX="$ac_prog" | 
| Chris@4 | 3631     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 3632     break 2 | 
| Chris@4 | 3633   fi | 
| Chris@4 | 3634 done | 
| Chris@4 | 3635   done | 
| Chris@4 | 3636 IFS=$as_save_IFS | 
| Chris@4 | 3637 | 
| Chris@4 | 3638 fi | 
| Chris@4 | 3639 fi | 
| Chris@4 | 3640 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX | 
| Chris@4 | 3641 if test -n "$ac_ct_CXX"; then | 
| Chris@4 | 3642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 | 
| Chris@4 | 3643 $as_echo "$ac_ct_CXX" >&6; } | 
| Chris@4 | 3644 else | 
| Chris@4 | 3645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3646 $as_echo "no" >&6; } | 
| Chris@4 | 3647 fi | 
| Chris@4 | 3648 | 
| Chris@4 | 3649 | 
| Chris@4 | 3650   test -n "$ac_ct_CXX" && break | 
| Chris@4 | 3651 done | 
| Chris@4 | 3652 | 
| Chris@4 | 3653   if test "x$ac_ct_CXX" = x; then | 
| Chris@4 | 3654     CXX="g++" | 
| Chris@4 | 3655   else | 
| Chris@4 | 3656     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 3657 yes:) | 
| Chris@4 | 3658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 3659 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 3660 ac_tool_warned=yes ;; | 
| Chris@4 | 3661 esac | 
| Chris@4 | 3662     CXX=$ac_ct_CXX | 
| Chris@4 | 3663   fi | 
| Chris@4 | 3664 fi | 
| Chris@4 | 3665 | 
| Chris@4 | 3666   fi | 
| Chris@4 | 3667 fi | 
| Chris@4 | 3668 # Provide some information about the compiler. | 
| Chris@4 | 3669 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 | 
| Chris@4 | 3670 set X $ac_compile | 
| Chris@4 | 3671 ac_compiler=$2 | 
| Chris@4 | 3672 for ac_option in --version -v -V -qversion; do | 
| Chris@4 | 3673   { { ac_try="$ac_compiler $ac_option >&5" | 
| Chris@4 | 3674 case "(($ac_try" in | 
| Chris@4 | 3675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; | 
| Chris@4 | 3676   *) ac_try_echo=$ac_try;; | 
| Chris@4 | 3677 esac | 
| Chris@4 | 3678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" | 
| Chris@4 | 3679 $as_echo "$ac_try_echo"; } >&5 | 
| Chris@4 | 3680   (eval "$ac_compiler $ac_option >&5") 2>conftest.err | 
| Chris@4 | 3681   ac_status=$? | 
| Chris@4 | 3682   if test -s conftest.err; then | 
| Chris@4 | 3683     sed '10a\ | 
| Chris@4 | 3684 ... rest of stderr output deleted ... | 
| Chris@4 | 3685          10q' conftest.err >conftest.er1 | 
| Chris@4 | 3686     cat conftest.er1 >&5 | 
| Chris@4 | 3687   fi | 
| Chris@4 | 3688   rm -f conftest.er1 conftest.err | 
| Chris@4 | 3689   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 3690   test $ac_status = 0; } | 
| Chris@4 | 3691 done | 
| Chris@4 | 3692 | 
| Chris@4 | 3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 | 
| Chris@4 | 3694 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } | 
| Chris@4 | 3695 if ${ac_cv_cxx_compiler_gnu+:} false; then : | 
| Chris@4 | 3696   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3697 else | 
| Chris@4 | 3698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3699 /* end confdefs.h.  */ | 
| Chris@4 | 3700 | 
| Chris@4 | 3701 int | 
| Chris@4 | 3702 main () | 
| Chris@4 | 3703 { | 
| Chris@4 | 3704 #ifndef __GNUC__ | 
| Chris@4 | 3705        choke me | 
| Chris@4 | 3706 #endif | 
| Chris@4 | 3707 | 
| Chris@4 | 3708   ; | 
| Chris@4 | 3709   return 0; | 
| Chris@4 | 3710 } | 
| Chris@4 | 3711 _ACEOF | 
| Chris@4 | 3712 if ac_fn_cxx_try_compile "$LINENO"; then : | 
| Chris@4 | 3713   ac_compiler_gnu=yes | 
| Chris@4 | 3714 else | 
| Chris@4 | 3715   ac_compiler_gnu=no | 
| Chris@4 | 3716 fi | 
| Chris@4 | 3717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3718 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu | 
| Chris@4 | 3719 | 
| Chris@4 | 3720 fi | 
| Chris@4 | 3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 | 
| Chris@4 | 3722 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } | 
| Chris@4 | 3723 if test $ac_compiler_gnu = yes; then | 
| Chris@4 | 3724   GXX=yes | 
| Chris@4 | 3725 else | 
| Chris@4 | 3726   GXX= | 
| Chris@4 | 3727 fi | 
| Chris@4 | 3728 ac_test_CXXFLAGS=${CXXFLAGS+set} | 
| Chris@4 | 3729 ac_save_CXXFLAGS=$CXXFLAGS | 
| Chris@4 | 3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 | 
| Chris@4 | 3731 $as_echo_n "checking whether $CXX accepts -g... " >&6; } | 
| Chris@4 | 3732 if ${ac_cv_prog_cxx_g+:} false; then : | 
| Chris@4 | 3733   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3734 else | 
| Chris@4 | 3735   ac_save_cxx_werror_flag=$ac_cxx_werror_flag | 
| Chris@4 | 3736    ac_cxx_werror_flag=yes | 
| Chris@4 | 3737    ac_cv_prog_cxx_g=no | 
| Chris@4 | 3738    CXXFLAGS="-g" | 
| Chris@4 | 3739    cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3740 /* end confdefs.h.  */ | 
| Chris@4 | 3741 | 
| Chris@4 | 3742 int | 
| Chris@4 | 3743 main () | 
| Chris@4 | 3744 { | 
| Chris@4 | 3745 | 
| Chris@4 | 3746   ; | 
| Chris@4 | 3747   return 0; | 
| Chris@4 | 3748 } | 
| Chris@4 | 3749 _ACEOF | 
| Chris@4 | 3750 if ac_fn_cxx_try_compile "$LINENO"; then : | 
| Chris@4 | 3751   ac_cv_prog_cxx_g=yes | 
| Chris@4 | 3752 else | 
| Chris@4 | 3753   CXXFLAGS="" | 
| Chris@4 | 3754       cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3755 /* end confdefs.h.  */ | 
| Chris@4 | 3756 | 
| Chris@4 | 3757 int | 
| Chris@4 | 3758 main () | 
| Chris@4 | 3759 { | 
| Chris@4 | 3760 | 
| Chris@4 | 3761   ; | 
| Chris@4 | 3762   return 0; | 
| Chris@4 | 3763 } | 
| Chris@4 | 3764 _ACEOF | 
| Chris@4 | 3765 if ac_fn_cxx_try_compile "$LINENO"; then : | 
| Chris@4 | 3766 | 
| Chris@4 | 3767 else | 
| Chris@4 | 3768   ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
| Chris@4 | 3769 	 CXXFLAGS="-g" | 
| Chris@4 | 3770 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 3771 /* end confdefs.h.  */ | 
| Chris@4 | 3772 | 
| Chris@4 | 3773 int | 
| Chris@4 | 3774 main () | 
| Chris@4 | 3775 { | 
| Chris@4 | 3776 | 
| Chris@4 | 3777   ; | 
| Chris@4 | 3778   return 0; | 
| Chris@4 | 3779 } | 
| Chris@4 | 3780 _ACEOF | 
| Chris@4 | 3781 if ac_fn_cxx_try_compile "$LINENO"; then : | 
| Chris@4 | 3782   ac_cv_prog_cxx_g=yes | 
| Chris@4 | 3783 fi | 
| Chris@4 | 3784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3785 fi | 
| Chris@4 | 3786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3787 fi | 
| Chris@4 | 3788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 3789    ac_cxx_werror_flag=$ac_save_cxx_werror_flag | 
| Chris@4 | 3790 fi | 
| Chris@4 | 3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 | 
| Chris@4 | 3792 $as_echo "$ac_cv_prog_cxx_g" >&6; } | 
| Chris@4 | 3793 if test "$ac_test_CXXFLAGS" = set; then | 
| Chris@4 | 3794   CXXFLAGS=$ac_save_CXXFLAGS | 
| Chris@4 | 3795 elif test $ac_cv_prog_cxx_g = yes; then | 
| Chris@4 | 3796   if test "$GXX" = yes; then | 
| Chris@4 | 3797     CXXFLAGS="-g -O2" | 
| Chris@4 | 3798   else | 
| Chris@4 | 3799     CXXFLAGS="-g" | 
| Chris@4 | 3800   fi | 
| Chris@4 | 3801 else | 
| Chris@4 | 3802   if test "$GXX" = yes; then | 
| Chris@4 | 3803     CXXFLAGS="-O2" | 
| Chris@4 | 3804   else | 
| Chris@4 | 3805     CXXFLAGS= | 
| Chris@4 | 3806   fi | 
| Chris@4 | 3807 fi | 
| Chris@4 | 3808 ac_ext=c | 
| Chris@4 | 3809 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 3810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 3811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 3812 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 3813 | 
| Chris@4 | 3814 fi | 
| Chris@4 | 3815 enable_win32_dll=yes | 
| Chris@4 | 3816 | 
| Chris@4 | 3817 case $host in | 
| Chris@4 | 3818 *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*) | 
| Chris@4 | 3819   if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 3820   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. | 
| Chris@4 | 3821 set dummy ${ac_tool_prefix}as; ac_word=$2 | 
| Chris@4 | 3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 3823 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 3824 if ${ac_cv_prog_AS+:} false; then : | 
| Chris@4 | 3825   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3826 else | 
| Chris@4 | 3827   if test -n "$AS"; then | 
| Chris@4 | 3828   ac_cv_prog_AS="$AS" # Let the user override the test. | 
| Chris@4 | 3829 else | 
| Chris@4 | 3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 3831 for as_dir in $PATH | 
| Chris@4 | 3832 do | 
| Chris@4 | 3833   IFS=$as_save_IFS | 
| Chris@4 | 3834   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 3835     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 3836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 3837     ac_cv_prog_AS="${ac_tool_prefix}as" | 
| Chris@4 | 3838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 3839     break 2 | 
| Chris@4 | 3840   fi | 
| Chris@4 | 3841 done | 
| Chris@4 | 3842   done | 
| Chris@4 | 3843 IFS=$as_save_IFS | 
| Chris@4 | 3844 | 
| Chris@4 | 3845 fi | 
| Chris@4 | 3846 fi | 
| Chris@4 | 3847 AS=$ac_cv_prog_AS | 
| Chris@4 | 3848 if test -n "$AS"; then | 
| Chris@4 | 3849   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 | 
| Chris@4 | 3850 $as_echo "$AS" >&6; } | 
| Chris@4 | 3851 else | 
| Chris@4 | 3852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3853 $as_echo "no" >&6; } | 
| Chris@4 | 3854 fi | 
| Chris@4 | 3855 | 
| Chris@4 | 3856 | 
| Chris@4 | 3857 fi | 
| Chris@4 | 3858 if test -z "$ac_cv_prog_AS"; then | 
| Chris@4 | 3859   ac_ct_AS=$AS | 
| Chris@4 | 3860   # Extract the first word of "as", so it can be a program name with args. | 
| Chris@4 | 3861 set dummy as; ac_word=$2 | 
| Chris@4 | 3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 3863 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 3864 if ${ac_cv_prog_ac_ct_AS+:} false; then : | 
| Chris@4 | 3865   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3866 else | 
| Chris@4 | 3867   if test -n "$ac_ct_AS"; then | 
| Chris@4 | 3868   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test. | 
| Chris@4 | 3869 else | 
| Chris@4 | 3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 3871 for as_dir in $PATH | 
| Chris@4 | 3872 do | 
| Chris@4 | 3873   IFS=$as_save_IFS | 
| Chris@4 | 3874   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 3875     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 3876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 3877     ac_cv_prog_ac_ct_AS="as" | 
| Chris@4 | 3878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 3879     break 2 | 
| Chris@4 | 3880   fi | 
| Chris@4 | 3881 done | 
| Chris@4 | 3882   done | 
| Chris@4 | 3883 IFS=$as_save_IFS | 
| Chris@4 | 3884 | 
| Chris@4 | 3885 fi | 
| Chris@4 | 3886 fi | 
| Chris@4 | 3887 ac_ct_AS=$ac_cv_prog_ac_ct_AS | 
| Chris@4 | 3888 if test -n "$ac_ct_AS"; then | 
| Chris@4 | 3889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 | 
| Chris@4 | 3890 $as_echo "$ac_ct_AS" >&6; } | 
| Chris@4 | 3891 else | 
| Chris@4 | 3892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3893 $as_echo "no" >&6; } | 
| Chris@4 | 3894 fi | 
| Chris@4 | 3895 | 
| Chris@4 | 3896   if test "x$ac_ct_AS" = x; then | 
| Chris@4 | 3897     AS="false" | 
| Chris@4 | 3898   else | 
| Chris@4 | 3899     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 3900 yes:) | 
| Chris@4 | 3901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 3902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 3903 ac_tool_warned=yes ;; | 
| Chris@4 | 3904 esac | 
| Chris@4 | 3905     AS=$ac_ct_AS | 
| Chris@4 | 3906   fi | 
| Chris@4 | 3907 else | 
| Chris@4 | 3908   AS="$ac_cv_prog_AS" | 
| Chris@4 | 3909 fi | 
| Chris@4 | 3910 | 
| Chris@4 | 3911   if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 3912   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | 
| Chris@4 | 3913 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | 
| Chris@4 | 3914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 3915 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 3916 if ${ac_cv_prog_DLLTOOL+:} false; then : | 
| Chris@4 | 3917   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3918 else | 
| Chris@4 | 3919   if test -n "$DLLTOOL"; then | 
| Chris@4 | 3920   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | 
| Chris@4 | 3921 else | 
| Chris@4 | 3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 3923 for as_dir in $PATH | 
| Chris@4 | 3924 do | 
| Chris@4 | 3925   IFS=$as_save_IFS | 
| Chris@4 | 3926   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 3927     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 3928   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 3929     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | 
| Chris@4 | 3930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 3931     break 2 | 
| Chris@4 | 3932   fi | 
| Chris@4 | 3933 done | 
| Chris@4 | 3934   done | 
| Chris@4 | 3935 IFS=$as_save_IFS | 
| Chris@4 | 3936 | 
| Chris@4 | 3937 fi | 
| Chris@4 | 3938 fi | 
| Chris@4 | 3939 DLLTOOL=$ac_cv_prog_DLLTOOL | 
| Chris@4 | 3940 if test -n "$DLLTOOL"; then | 
| Chris@4 | 3941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | 
| Chris@4 | 3942 $as_echo "$DLLTOOL" >&6; } | 
| Chris@4 | 3943 else | 
| Chris@4 | 3944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3945 $as_echo "no" >&6; } | 
| Chris@4 | 3946 fi | 
| Chris@4 | 3947 | 
| Chris@4 | 3948 | 
| Chris@4 | 3949 fi | 
| Chris@4 | 3950 if test -z "$ac_cv_prog_DLLTOOL"; then | 
| Chris@4 | 3951   ac_ct_DLLTOOL=$DLLTOOL | 
| Chris@4 | 3952   # Extract the first word of "dlltool", so it can be a program name with args. | 
| Chris@4 | 3953 set dummy dlltool; ac_word=$2 | 
| Chris@4 | 3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 3955 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 3956 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | 
| Chris@4 | 3957   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 3958 else | 
| Chris@4 | 3959   if test -n "$ac_ct_DLLTOOL"; then | 
| Chris@4 | 3960   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | 
| Chris@4 | 3961 else | 
| Chris@4 | 3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 3963 for as_dir in $PATH | 
| Chris@4 | 3964 do | 
| Chris@4 | 3965   IFS=$as_save_IFS | 
| Chris@4 | 3966   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 3967     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 3968   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 3969     ac_cv_prog_ac_ct_DLLTOOL="dlltool" | 
| Chris@4 | 3970     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 3971     break 2 | 
| Chris@4 | 3972   fi | 
| Chris@4 | 3973 done | 
| Chris@4 | 3974   done | 
| Chris@4 | 3975 IFS=$as_save_IFS | 
| Chris@4 | 3976 | 
| Chris@4 | 3977 fi | 
| Chris@4 | 3978 fi | 
| Chris@4 | 3979 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | 
| Chris@4 | 3980 if test -n "$ac_ct_DLLTOOL"; then | 
| Chris@4 | 3981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | 
| Chris@4 | 3982 $as_echo "$ac_ct_DLLTOOL" >&6; } | 
| Chris@4 | 3983 else | 
| Chris@4 | 3984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 3985 $as_echo "no" >&6; } | 
| Chris@4 | 3986 fi | 
| Chris@4 | 3987 | 
| Chris@4 | 3988   if test "x$ac_ct_DLLTOOL" = x; then | 
| Chris@4 | 3989     DLLTOOL="false" | 
| Chris@4 | 3990   else | 
| Chris@4 | 3991     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 3992 yes:) | 
| Chris@4 | 3993 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 3994 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 3995 ac_tool_warned=yes ;; | 
| Chris@4 | 3996 esac | 
| Chris@4 | 3997     DLLTOOL=$ac_ct_DLLTOOL | 
| Chris@4 | 3998   fi | 
| Chris@4 | 3999 else | 
| Chris@4 | 4000   DLLTOOL="$ac_cv_prog_DLLTOOL" | 
| Chris@4 | 4001 fi | 
| Chris@4 | 4002 | 
| Chris@4 | 4003   if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 4004   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | 
| Chris@4 | 4005 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | 
| Chris@4 | 4006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 4007 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 4008 if ${ac_cv_prog_OBJDUMP+:} false; then : | 
| Chris@4 | 4009   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4010 else | 
| Chris@4 | 4011   if test -n "$OBJDUMP"; then | 
| Chris@4 | 4012   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | 
| Chris@4 | 4013 else | 
| Chris@4 | 4014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4015 for as_dir in $PATH | 
| Chris@4 | 4016 do | 
| Chris@4 | 4017   IFS=$as_save_IFS | 
| Chris@4 | 4018   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4019     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4020   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 4021     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | 
| Chris@4 | 4022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 4023     break 2 | 
| Chris@4 | 4024   fi | 
| Chris@4 | 4025 done | 
| Chris@4 | 4026   done | 
| Chris@4 | 4027 IFS=$as_save_IFS | 
| Chris@4 | 4028 | 
| Chris@4 | 4029 fi | 
| Chris@4 | 4030 fi | 
| Chris@4 | 4031 OBJDUMP=$ac_cv_prog_OBJDUMP | 
| Chris@4 | 4032 if test -n "$OBJDUMP"; then | 
| Chris@4 | 4033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | 
| Chris@4 | 4034 $as_echo "$OBJDUMP" >&6; } | 
| Chris@4 | 4035 else | 
| Chris@4 | 4036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 4037 $as_echo "no" >&6; } | 
| Chris@4 | 4038 fi | 
| Chris@4 | 4039 | 
| Chris@4 | 4040 | 
| Chris@4 | 4041 fi | 
| Chris@4 | 4042 if test -z "$ac_cv_prog_OBJDUMP"; then | 
| Chris@4 | 4043   ac_ct_OBJDUMP=$OBJDUMP | 
| Chris@4 | 4044   # Extract the first word of "objdump", so it can be a program name with args. | 
| Chris@4 | 4045 set dummy objdump; ac_word=$2 | 
| Chris@4 | 4046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 4047 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 4048 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | 
| Chris@4 | 4049   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4050 else | 
| Chris@4 | 4051   if test -n "$ac_ct_OBJDUMP"; then | 
| Chris@4 | 4052   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | 
| Chris@4 | 4053 else | 
| Chris@4 | 4054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4055 for as_dir in $PATH | 
| Chris@4 | 4056 do | 
| Chris@4 | 4057   IFS=$as_save_IFS | 
| Chris@4 | 4058   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4059     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 4061     ac_cv_prog_ac_ct_OBJDUMP="objdump" | 
| Chris@4 | 4062     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 4063     break 2 | 
| Chris@4 | 4064   fi | 
| Chris@4 | 4065 done | 
| Chris@4 | 4066   done | 
| Chris@4 | 4067 IFS=$as_save_IFS | 
| Chris@4 | 4068 | 
| Chris@4 | 4069 fi | 
| Chris@4 | 4070 fi | 
| Chris@4 | 4071 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | 
| Chris@4 | 4072 if test -n "$ac_ct_OBJDUMP"; then | 
| Chris@4 | 4073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | 
| Chris@4 | 4074 $as_echo "$ac_ct_OBJDUMP" >&6; } | 
| Chris@4 | 4075 else | 
| Chris@4 | 4076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 4077 $as_echo "no" >&6; } | 
| Chris@4 | 4078 fi | 
| Chris@4 | 4079 | 
| Chris@4 | 4080   if test "x$ac_ct_OBJDUMP" = x; then | 
| Chris@4 | 4081     OBJDUMP="false" | 
| Chris@4 | 4082   else | 
| Chris@4 | 4083     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 4084 yes:) | 
| Chris@4 | 4085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 4086 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 4087 ac_tool_warned=yes ;; | 
| Chris@4 | 4088 esac | 
| Chris@4 | 4089     OBJDUMP=$ac_ct_OBJDUMP | 
| Chris@4 | 4090   fi | 
| Chris@4 | 4091 else | 
| Chris@4 | 4092   OBJDUMP="$ac_cv_prog_OBJDUMP" | 
| Chris@4 | 4093 fi | 
| Chris@4 | 4094 | 
| Chris@4 | 4095   ;; | 
| Chris@4 | 4096 esac | 
| Chris@4 | 4097 | 
| Chris@4 | 4098 test -z "$AS" && AS=as | 
| Chris@4 | 4099 | 
| Chris@4 | 4100 | 
| Chris@4 | 4101 | 
| Chris@4 | 4102 | 
| Chris@4 | 4103 | 
| Chris@4 | 4104 test -z "$DLLTOOL" && DLLTOOL=dlltool | 
| Chris@4 | 4105 | 
| Chris@4 | 4106 | 
| Chris@4 | 4107 | 
| Chris@4 | 4108 | 
| Chris@4 | 4109 | 
| Chris@4 | 4110 test -z "$OBJDUMP" && OBJDUMP=objdump | 
| Chris@4 | 4111 | 
| Chris@4 | 4112 | 
| Chris@4 | 4113 | 
| Chris@4 | 4114 | 
| Chris@4 | 4115 | 
| Chris@4 | 4116 | 
| Chris@4 | 4117 | 
| Chris@4 | 4118 case `pwd` in | 
| Chris@4 | 4119   *\ * | *\	*) | 
| Chris@4 | 4120     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 | 
| Chris@4 | 4121 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; | 
| Chris@4 | 4122 esac | 
| Chris@4 | 4123 | 
| Chris@4 | 4124 | 
| Chris@4 | 4125 | 
| Chris@4 | 4126 macro_version='2.4' | 
| Chris@4 | 4127 macro_revision='1.3293' | 
| Chris@4 | 4128 | 
| Chris@4 | 4129 | 
| Chris@4 | 4130 | 
| Chris@4 | 4131 | 
| Chris@4 | 4132 | 
| Chris@4 | 4133 | 
| Chris@4 | 4134 | 
| Chris@4 | 4135 | 
| Chris@4 | 4136 | 
| Chris@4 | 4137 | 
| Chris@4 | 4138 | 
| Chris@4 | 4139 | 
| Chris@4 | 4140 | 
| Chris@4 | 4141 ltmain="$ac_aux_dir/ltmain.sh" | 
| Chris@4 | 4142 | 
| Chris@4 | 4143 # Backslashify metacharacters that are still active within | 
| Chris@4 | 4144 # double-quoted strings. | 
| Chris@4 | 4145 sed_quote_subst='s/\(["`$\\]\)/\\\1/g' | 
| Chris@4 | 4146 | 
| Chris@4 | 4147 # Same as above, but do not quote variable references. | 
| Chris@4 | 4148 double_quote_subst='s/\(["`\\]\)/\\\1/g' | 
| Chris@4 | 4149 | 
| Chris@4 | 4150 # Sed substitution to delay expansion of an escaped shell variable in a | 
| Chris@4 | 4151 # double_quote_subst'ed string. | 
| Chris@4 | 4152 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g' | 
| Chris@4 | 4153 | 
| Chris@4 | 4154 # Sed substitution to delay expansion of an escaped single quote. | 
| Chris@4 | 4155 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g' | 
| Chris@4 | 4156 | 
| Chris@4 | 4157 # Sed substitution to avoid accidental globbing in evaled expressions | 
| Chris@4 | 4158 no_glob_subst='s/\*/\\\*/g' | 
| Chris@4 | 4159 | 
| Chris@4 | 4160 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
| Chris@4 | 4161 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO | 
| Chris@4 | 4162 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO | 
| Chris@4 | 4163 | 
| Chris@4 | 4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5 | 
| Chris@4 | 4165 $as_echo_n "checking how to print strings... " >&6; } | 
| Chris@4 | 4166 # Test print first, because it will be a builtin if present. | 
| Chris@4 | 4167 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \ | 
| Chris@4 | 4168    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then | 
| Chris@4 | 4169   ECHO='print -r --' | 
| Chris@4 | 4170 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then | 
| Chris@4 | 4171   ECHO='printf %s\n' | 
| Chris@4 | 4172 else | 
| Chris@4 | 4173   # Use this function as a fallback that always works. | 
| Chris@4 | 4174   func_fallback_echo () | 
| Chris@4 | 4175   { | 
| Chris@4 | 4176     eval 'cat <<_LTECHO_EOF | 
| Chris@4 | 4177 $1 | 
| Chris@4 | 4178 _LTECHO_EOF' | 
| Chris@4 | 4179   } | 
| Chris@4 | 4180   ECHO='func_fallback_echo' | 
| Chris@4 | 4181 fi | 
| Chris@4 | 4182 | 
| Chris@4 | 4183 # func_echo_all arg... | 
| Chris@4 | 4184 # Invoke $ECHO with all args, space-separated. | 
| Chris@4 | 4185 func_echo_all () | 
| Chris@4 | 4186 { | 
| Chris@4 | 4187     $ECHO "" | 
| Chris@4 | 4188 } | 
| Chris@4 | 4189 | 
| Chris@4 | 4190 case "$ECHO" in | 
| Chris@4 | 4191   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5 | 
| Chris@4 | 4192 $as_echo "printf" >&6; } ;; | 
| Chris@4 | 4193   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5 | 
| Chris@4 | 4194 $as_echo "print -r" >&6; } ;; | 
| Chris@4 | 4195   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5 | 
| Chris@4 | 4196 $as_echo "cat" >&6; } ;; | 
| Chris@4 | 4197 esac | 
| Chris@4 | 4198 | 
| Chris@4 | 4199 | 
| Chris@4 | 4200 | 
| Chris@4 | 4201 | 
| Chris@4 | 4202 | 
| Chris@4 | 4203 | 
| Chris@4 | 4204 | 
| Chris@4 | 4205 | 
| Chris@4 | 4206 | 
| Chris@4 | 4207 | 
| Chris@4 | 4208 | 
| Chris@4 | 4209 | 
| Chris@4 | 4210 | 
| Chris@4 | 4211 | 
| Chris@4 | 4212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 | 
| Chris@4 | 4213 $as_echo_n "checking for a sed that does not truncate output... " >&6; } | 
| Chris@4 | 4214 if ${ac_cv_path_SED+:} false; then : | 
| Chris@4 | 4215   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4216 else | 
| Chris@4 | 4217             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ | 
| Chris@4 | 4218      for ac_i in 1 2 3 4 5 6 7; do | 
| Chris@4 | 4219        ac_script="$ac_script$as_nl$ac_script" | 
| Chris@4 | 4220      done | 
| Chris@4 | 4221      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed | 
| Chris@4 | 4222      { ac_script=; unset ac_script;} | 
| Chris@4 | 4223      if test -z "$SED"; then | 
| Chris@4 | 4224   ac_path_SED_found=false | 
| Chris@4 | 4225   # Loop through the user's path and test for each of PROGNAME-LIST | 
| Chris@4 | 4226   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4227 for as_dir in $PATH | 
| Chris@4 | 4228 do | 
| Chris@4 | 4229   IFS=$as_save_IFS | 
| Chris@4 | 4230   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4231     for ac_prog in sed gsed; do | 
| Chris@4 | 4232     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4233       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" | 
| Chris@4 | 4234       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue | 
| Chris@4 | 4235 # Check for GNU ac_path_SED and select it if it is found. | 
| Chris@4 | 4236   # Check for GNU $ac_path_SED | 
| Chris@4 | 4237 case `"$ac_path_SED" --version 2>&1` in | 
| Chris@4 | 4238 *GNU*) | 
| Chris@4 | 4239   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;; | 
| Chris@4 | 4240 *) | 
| Chris@4 | 4241   ac_count=0 | 
| Chris@4 | 4242   $as_echo_n 0123456789 >"conftest.in" | 
| Chris@4 | 4243   while : | 
| Chris@4 | 4244   do | 
| Chris@4 | 4245     cat "conftest.in" "conftest.in" >"conftest.tmp" | 
| Chris@4 | 4246     mv "conftest.tmp" "conftest.in" | 
| Chris@4 | 4247     cp "conftest.in" "conftest.nl" | 
| Chris@4 | 4248     $as_echo '' >> "conftest.nl" | 
| Chris@4 | 4249     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
| Chris@4 | 4250     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
| Chris@4 | 4251     as_fn_arith $ac_count + 1 && ac_count=$as_val | 
| Chris@4 | 4252     if test $ac_count -gt ${ac_path_SED_max-0}; then | 
| Chris@4 | 4253       # Best one so far, save it but keep looking for a better one | 
| Chris@4 | 4254       ac_cv_path_SED="$ac_path_SED" | 
| Chris@4 | 4255       ac_path_SED_max=$ac_count | 
| Chris@4 | 4256     fi | 
| Chris@4 | 4257     # 10*(2^10) chars as input seems more than enough | 
| Chris@4 | 4258     test $ac_count -gt 10 && break | 
| Chris@4 | 4259   done | 
| Chris@4 | 4260   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
| Chris@4 | 4261 esac | 
| Chris@4 | 4262 | 
| Chris@4 | 4263       $ac_path_SED_found && break 3 | 
| Chris@4 | 4264     done | 
| Chris@4 | 4265   done | 
| Chris@4 | 4266   done | 
| Chris@4 | 4267 IFS=$as_save_IFS | 
| Chris@4 | 4268   if test -z "$ac_cv_path_SED"; then | 
| Chris@4 | 4269     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5 | 
| Chris@4 | 4270   fi | 
| Chris@4 | 4271 else | 
| Chris@4 | 4272   ac_cv_path_SED=$SED | 
| Chris@4 | 4273 fi | 
| Chris@4 | 4274 | 
| Chris@4 | 4275 fi | 
| Chris@4 | 4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 | 
| Chris@4 | 4277 $as_echo "$ac_cv_path_SED" >&6; } | 
| Chris@4 | 4278  SED="$ac_cv_path_SED" | 
| Chris@4 | 4279   rm -f conftest.sed | 
| Chris@4 | 4280 | 
| Chris@4 | 4281 test -z "$SED" && SED=sed | 
| Chris@4 | 4282 Xsed="$SED -e 1s/^X//" | 
| Chris@4 | 4283 | 
| Chris@4 | 4284 | 
| Chris@4 | 4285 | 
| Chris@4 | 4286 | 
| Chris@4 | 4287 | 
| Chris@4 | 4288 | 
| Chris@4 | 4289 | 
| Chris@4 | 4290 | 
| Chris@4 | 4291 | 
| Chris@4 | 4292 | 
| Chris@4 | 4293 | 
| Chris@4 | 4294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 | 
| Chris@4 | 4295 $as_echo_n "checking for grep that handles long lines and -e... " >&6; } | 
| Chris@4 | 4296 if ${ac_cv_path_GREP+:} false; then : | 
| Chris@4 | 4297   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4298 else | 
| Chris@4 | 4299   if test -z "$GREP"; then | 
| Chris@4 | 4300   ac_path_GREP_found=false | 
| Chris@4 | 4301   # Loop through the user's path and test for each of PROGNAME-LIST | 
| Chris@4 | 4302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
| Chris@4 | 4304 do | 
| Chris@4 | 4305   IFS=$as_save_IFS | 
| Chris@4 | 4306   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4307     for ac_prog in grep ggrep; do | 
| Chris@4 | 4308     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4309       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" | 
| Chris@4 | 4310       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue | 
| Chris@4 | 4311 # Check for GNU ac_path_GREP and select it if it is found. | 
| Chris@4 | 4312   # Check for GNU $ac_path_GREP | 
| Chris@4 | 4313 case `"$ac_path_GREP" --version 2>&1` in | 
| Chris@4 | 4314 *GNU*) | 
| Chris@4 | 4315   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;; | 
| Chris@4 | 4316 *) | 
| Chris@4 | 4317   ac_count=0 | 
| Chris@4 | 4318   $as_echo_n 0123456789 >"conftest.in" | 
| Chris@4 | 4319   while : | 
| Chris@4 | 4320   do | 
| Chris@4 | 4321     cat "conftest.in" "conftest.in" >"conftest.tmp" | 
| Chris@4 | 4322     mv "conftest.tmp" "conftest.in" | 
| Chris@4 | 4323     cp "conftest.in" "conftest.nl" | 
| Chris@4 | 4324     $as_echo 'GREP' >> "conftest.nl" | 
| Chris@4 | 4325     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
| Chris@4 | 4326     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
| Chris@4 | 4327     as_fn_arith $ac_count + 1 && ac_count=$as_val | 
| Chris@4 | 4328     if test $ac_count -gt ${ac_path_GREP_max-0}; then | 
| Chris@4 | 4329       # Best one so far, save it but keep looking for a better one | 
| Chris@4 | 4330       ac_cv_path_GREP="$ac_path_GREP" | 
| Chris@4 | 4331       ac_path_GREP_max=$ac_count | 
| Chris@4 | 4332     fi | 
| Chris@4 | 4333     # 10*(2^10) chars as input seems more than enough | 
| Chris@4 | 4334     test $ac_count -gt 10 && break | 
| Chris@4 | 4335   done | 
| Chris@4 | 4336   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
| Chris@4 | 4337 esac | 
| Chris@4 | 4338 | 
| Chris@4 | 4339       $ac_path_GREP_found && break 3 | 
| Chris@4 | 4340     done | 
| Chris@4 | 4341   done | 
| Chris@4 | 4342   done | 
| Chris@4 | 4343 IFS=$as_save_IFS | 
| Chris@4 | 4344   if test -z "$ac_cv_path_GREP"; then | 
| Chris@4 | 4345     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
| Chris@4 | 4346   fi | 
| Chris@4 | 4347 else | 
| Chris@4 | 4348   ac_cv_path_GREP=$GREP | 
| Chris@4 | 4349 fi | 
| Chris@4 | 4350 | 
| Chris@4 | 4351 fi | 
| Chris@4 | 4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 | 
| Chris@4 | 4353 $as_echo "$ac_cv_path_GREP" >&6; } | 
| Chris@4 | 4354  GREP="$ac_cv_path_GREP" | 
| Chris@4 | 4355 | 
| Chris@4 | 4356 | 
| Chris@4 | 4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 | 
| Chris@4 | 4358 $as_echo_n "checking for egrep... " >&6; } | 
| Chris@4 | 4359 if ${ac_cv_path_EGREP+:} false; then : | 
| Chris@4 | 4360   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4361 else | 
| Chris@4 | 4362   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 | 
| Chris@4 | 4363    then ac_cv_path_EGREP="$GREP -E" | 
| Chris@4 | 4364    else | 
| Chris@4 | 4365      if test -z "$EGREP"; then | 
| Chris@4 | 4366   ac_path_EGREP_found=false | 
| Chris@4 | 4367   # Loop through the user's path and test for each of PROGNAME-LIST | 
| Chris@4 | 4368   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
| Chris@4 | 4370 do | 
| Chris@4 | 4371   IFS=$as_save_IFS | 
| Chris@4 | 4372   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4373     for ac_prog in egrep; do | 
| Chris@4 | 4374     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4375       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" | 
| Chris@4 | 4376       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue | 
| Chris@4 | 4377 # Check for GNU ac_path_EGREP and select it if it is found. | 
| Chris@4 | 4378   # Check for GNU $ac_path_EGREP | 
| Chris@4 | 4379 case `"$ac_path_EGREP" --version 2>&1` in | 
| Chris@4 | 4380 *GNU*) | 
| Chris@4 | 4381   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;; | 
| Chris@4 | 4382 *) | 
| Chris@4 | 4383   ac_count=0 | 
| Chris@4 | 4384   $as_echo_n 0123456789 >"conftest.in" | 
| Chris@4 | 4385   while : | 
| Chris@4 | 4386   do | 
| Chris@4 | 4387     cat "conftest.in" "conftest.in" >"conftest.tmp" | 
| Chris@4 | 4388     mv "conftest.tmp" "conftest.in" | 
| Chris@4 | 4389     cp "conftest.in" "conftest.nl" | 
| Chris@4 | 4390     $as_echo 'EGREP' >> "conftest.nl" | 
| Chris@4 | 4391     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
| Chris@4 | 4392     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
| Chris@4 | 4393     as_fn_arith $ac_count + 1 && ac_count=$as_val | 
| Chris@4 | 4394     if test $ac_count -gt ${ac_path_EGREP_max-0}; then | 
| Chris@4 | 4395       # Best one so far, save it but keep looking for a better one | 
| Chris@4 | 4396       ac_cv_path_EGREP="$ac_path_EGREP" | 
| Chris@4 | 4397       ac_path_EGREP_max=$ac_count | 
| Chris@4 | 4398     fi | 
| Chris@4 | 4399     # 10*(2^10) chars as input seems more than enough | 
| Chris@4 | 4400     test $ac_count -gt 10 && break | 
| Chris@4 | 4401   done | 
| Chris@4 | 4402   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
| Chris@4 | 4403 esac | 
| Chris@4 | 4404 | 
| Chris@4 | 4405       $ac_path_EGREP_found && break 3 | 
| Chris@4 | 4406     done | 
| Chris@4 | 4407   done | 
| Chris@4 | 4408   done | 
| Chris@4 | 4409 IFS=$as_save_IFS | 
| Chris@4 | 4410   if test -z "$ac_cv_path_EGREP"; then | 
| Chris@4 | 4411     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
| Chris@4 | 4412   fi | 
| Chris@4 | 4413 else | 
| Chris@4 | 4414   ac_cv_path_EGREP=$EGREP | 
| Chris@4 | 4415 fi | 
| Chris@4 | 4416 | 
| Chris@4 | 4417    fi | 
| Chris@4 | 4418 fi | 
| Chris@4 | 4419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 | 
| Chris@4 | 4420 $as_echo "$ac_cv_path_EGREP" >&6; } | 
| Chris@4 | 4421  EGREP="$ac_cv_path_EGREP" | 
| Chris@4 | 4422 | 
| Chris@4 | 4423 | 
| Chris@4 | 4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 | 
| Chris@4 | 4425 $as_echo_n "checking for fgrep... " >&6; } | 
| Chris@4 | 4426 if ${ac_cv_path_FGREP+:} false; then : | 
| Chris@4 | 4427   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4428 else | 
| Chris@4 | 4429   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 | 
| Chris@4 | 4430    then ac_cv_path_FGREP="$GREP -F" | 
| Chris@4 | 4431    else | 
| Chris@4 | 4432      if test -z "$FGREP"; then | 
| Chris@4 | 4433   ac_path_FGREP_found=false | 
| Chris@4 | 4434   # Loop through the user's path and test for each of PROGNAME-LIST | 
| Chris@4 | 4435   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4436 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin | 
| Chris@4 | 4437 do | 
| Chris@4 | 4438   IFS=$as_save_IFS | 
| Chris@4 | 4439   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4440     for ac_prog in fgrep; do | 
| Chris@4 | 4441     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4442       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" | 
| Chris@4 | 4443       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue | 
| Chris@4 | 4444 # Check for GNU ac_path_FGREP and select it if it is found. | 
| Chris@4 | 4445   # Check for GNU $ac_path_FGREP | 
| Chris@4 | 4446 case `"$ac_path_FGREP" --version 2>&1` in | 
| Chris@4 | 4447 *GNU*) | 
| Chris@4 | 4448   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;; | 
| Chris@4 | 4449 *) | 
| Chris@4 | 4450   ac_count=0 | 
| Chris@4 | 4451   $as_echo_n 0123456789 >"conftest.in" | 
| Chris@4 | 4452   while : | 
| Chris@4 | 4453   do | 
| Chris@4 | 4454     cat "conftest.in" "conftest.in" >"conftest.tmp" | 
| Chris@4 | 4455     mv "conftest.tmp" "conftest.in" | 
| Chris@4 | 4456     cp "conftest.in" "conftest.nl" | 
| Chris@4 | 4457     $as_echo 'FGREP' >> "conftest.nl" | 
| Chris@4 | 4458     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break | 
| Chris@4 | 4459     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break | 
| Chris@4 | 4460     as_fn_arith $ac_count + 1 && ac_count=$as_val | 
| Chris@4 | 4461     if test $ac_count -gt ${ac_path_FGREP_max-0}; then | 
| Chris@4 | 4462       # Best one so far, save it but keep looking for a better one | 
| Chris@4 | 4463       ac_cv_path_FGREP="$ac_path_FGREP" | 
| Chris@4 | 4464       ac_path_FGREP_max=$ac_count | 
| Chris@4 | 4465     fi | 
| Chris@4 | 4466     # 10*(2^10) chars as input seems more than enough | 
| Chris@4 | 4467     test $ac_count -gt 10 && break | 
| Chris@4 | 4468   done | 
| Chris@4 | 4469   rm -f conftest.in conftest.tmp conftest.nl conftest.out;; | 
| Chris@4 | 4470 esac | 
| Chris@4 | 4471 | 
| Chris@4 | 4472       $ac_path_FGREP_found && break 3 | 
| Chris@4 | 4473     done | 
| Chris@4 | 4474   done | 
| Chris@4 | 4475   done | 
| Chris@4 | 4476 IFS=$as_save_IFS | 
| Chris@4 | 4477   if test -z "$ac_cv_path_FGREP"; then | 
| Chris@4 | 4478     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 | 
| Chris@4 | 4479   fi | 
| Chris@4 | 4480 else | 
| Chris@4 | 4481   ac_cv_path_FGREP=$FGREP | 
| Chris@4 | 4482 fi | 
| Chris@4 | 4483 | 
| Chris@4 | 4484    fi | 
| Chris@4 | 4485 fi | 
| Chris@4 | 4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 | 
| Chris@4 | 4487 $as_echo "$ac_cv_path_FGREP" >&6; } | 
| Chris@4 | 4488  FGREP="$ac_cv_path_FGREP" | 
| Chris@4 | 4489 | 
| Chris@4 | 4490 | 
| Chris@4 | 4491 test -z "$GREP" && GREP=grep | 
| Chris@4 | 4492 | 
| Chris@4 | 4493 | 
| Chris@4 | 4494 | 
| Chris@4 | 4495 | 
| Chris@4 | 4496 | 
| Chris@4 | 4497 | 
| Chris@4 | 4498 | 
| Chris@4 | 4499 | 
| Chris@4 | 4500 | 
| Chris@4 | 4501 | 
| Chris@4 | 4502 | 
| Chris@4 | 4503 | 
| Chris@4 | 4504 | 
| Chris@4 | 4505 | 
| Chris@4 | 4506 | 
| Chris@4 | 4507 | 
| Chris@4 | 4508 | 
| Chris@4 | 4509 | 
| Chris@4 | 4510 | 
| Chris@4 | 4511 # Check whether --with-gnu-ld was given. | 
| Chris@4 | 4512 if test "${with_gnu_ld+set}" = set; then : | 
| Chris@4 | 4513   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | 
| Chris@4 | 4514 else | 
| Chris@4 | 4515   with_gnu_ld=no | 
| Chris@4 | 4516 fi | 
| Chris@4 | 4517 | 
| Chris@4 | 4518 ac_prog=ld | 
| Chris@4 | 4519 if test "$GCC" = yes; then | 
| Chris@4 | 4520   # Check if gcc -print-prog-name=ld gives a path. | 
| Chris@4 | 4521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | 
| Chris@4 | 4522 $as_echo_n "checking for ld used by $CC... " >&6; } | 
| Chris@4 | 4523   case $host in | 
| Chris@4 | 4524   *-*-mingw*) | 
| Chris@4 | 4525     # gcc leaves a trailing carriage return which upsets mingw | 
| Chris@4 | 4526     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
| Chris@4 | 4527   *) | 
| Chris@4 | 4528     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
| Chris@4 | 4529   esac | 
| Chris@4 | 4530   case $ac_prog in | 
| Chris@4 | 4531     # Accept absolute paths. | 
| Chris@4 | 4532     [\\/]* | ?:[\\/]*) | 
| Chris@4 | 4533       re_direlt='/[^/][^/]*/\.\./' | 
| Chris@4 | 4534       # Canonicalize the pathname of ld | 
| Chris@4 | 4535       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | 
| Chris@4 | 4536       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | 
| Chris@4 | 4537 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | 
| Chris@4 | 4538       done | 
| Chris@4 | 4539       test -z "$LD" && LD="$ac_prog" | 
| Chris@4 | 4540       ;; | 
| Chris@4 | 4541   "") | 
| Chris@4 | 4542     # If it fails, then pretend we aren't using GCC. | 
| Chris@4 | 4543     ac_prog=ld | 
| Chris@4 | 4544     ;; | 
| Chris@4 | 4545   *) | 
| Chris@4 | 4546     # If it is relative, then search for the first ld in PATH. | 
| Chris@4 | 4547     with_gnu_ld=unknown | 
| Chris@4 | 4548     ;; | 
| Chris@4 | 4549   esac | 
| Chris@4 | 4550 elif test "$with_gnu_ld" = yes; then | 
| Chris@4 | 4551   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | 
| Chris@4 | 4552 $as_echo_n "checking for GNU ld... " >&6; } | 
| Chris@4 | 4553 else | 
| Chris@4 | 4554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | 
| Chris@4 | 4555 $as_echo_n "checking for non-GNU ld... " >&6; } | 
| Chris@4 | 4556 fi | 
| Chris@4 | 4557 if ${lt_cv_path_LD+:} false; then : | 
| Chris@4 | 4558   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4559 else | 
| Chris@4 | 4560   if test -z "$LD"; then | 
| Chris@4 | 4561   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4562   for ac_dir in $PATH; do | 
| Chris@4 | 4563     IFS="$lt_save_ifs" | 
| Chris@4 | 4564     test -z "$ac_dir" && ac_dir=. | 
| Chris@4 | 4565     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
| Chris@4 | 4566       lt_cv_path_LD="$ac_dir/$ac_prog" | 
| Chris@4 | 4567       # Check to see if the program is GNU ld.  I'd rather use --version, | 
| Chris@4 | 4568       # but apparently some variants of GNU ld only accept -v. | 
| Chris@4 | 4569       # Break only if it was the GNU/non-GNU ld that we prefer. | 
| Chris@4 | 4570       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
| Chris@4 | 4571       *GNU* | *'with BFD'*) | 
| Chris@4 | 4572 	test "$with_gnu_ld" != no && break | 
| Chris@4 | 4573 	;; | 
| Chris@4 | 4574       *) | 
| Chris@4 | 4575 	test "$with_gnu_ld" != yes && break | 
| Chris@4 | 4576 	;; | 
| Chris@4 | 4577       esac | 
| Chris@4 | 4578     fi | 
| Chris@4 | 4579   done | 
| Chris@4 | 4580   IFS="$lt_save_ifs" | 
| Chris@4 | 4581 else | 
| Chris@4 | 4582   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
| Chris@4 | 4583 fi | 
| Chris@4 | 4584 fi | 
| Chris@4 | 4585 | 
| Chris@4 | 4586 LD="$lt_cv_path_LD" | 
| Chris@4 | 4587 if test -n "$LD"; then | 
| Chris@4 | 4588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | 
| Chris@4 | 4589 $as_echo "$LD" >&6; } | 
| Chris@4 | 4590 else | 
| Chris@4 | 4591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 4592 $as_echo "no" >&6; } | 
| Chris@4 | 4593 fi | 
| Chris@4 | 4594 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | 
| Chris@4 | 4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | 
| Chris@4 | 4596 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | 
| Chris@4 | 4597 if ${lt_cv_prog_gnu_ld+:} false; then : | 
| Chris@4 | 4598   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4599 else | 
| Chris@4 | 4600   # I'd rather use --version here, but apparently some GNU lds only accept -v. | 
| Chris@4 | 4601 case `$LD -v 2>&1 </dev/null` in | 
| Chris@4 | 4602 *GNU* | *'with BFD'*) | 
| Chris@4 | 4603   lt_cv_prog_gnu_ld=yes | 
| Chris@4 | 4604   ;; | 
| Chris@4 | 4605 *) | 
| Chris@4 | 4606   lt_cv_prog_gnu_ld=no | 
| Chris@4 | 4607   ;; | 
| Chris@4 | 4608 esac | 
| Chris@4 | 4609 fi | 
| Chris@4 | 4610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | 
| Chris@4 | 4611 $as_echo "$lt_cv_prog_gnu_ld" >&6; } | 
| Chris@4 | 4612 with_gnu_ld=$lt_cv_prog_gnu_ld | 
| Chris@4 | 4613 | 
| Chris@4 | 4614 | 
| Chris@4 | 4615 | 
| Chris@4 | 4616 | 
| Chris@4 | 4617 | 
| Chris@4 | 4618 | 
| Chris@4 | 4619 | 
| Chris@4 | 4620 | 
| Chris@4 | 4621 | 
| Chris@4 | 4622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 | 
| Chris@4 | 4623 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } | 
| Chris@4 | 4624 if ${lt_cv_path_NM+:} false; then : | 
| Chris@4 | 4625   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4626 else | 
| Chris@4 | 4627   if test -n "$NM"; then | 
| Chris@4 | 4628   # Let the user override the test. | 
| Chris@4 | 4629   lt_cv_path_NM="$NM" | 
| Chris@4 | 4630 else | 
| Chris@4 | 4631   lt_nm_to_check="${ac_tool_prefix}nm" | 
| Chris@4 | 4632   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then | 
| Chris@4 | 4633     lt_nm_to_check="$lt_nm_to_check nm" | 
| Chris@4 | 4634   fi | 
| Chris@4 | 4635   for lt_tmp_nm in $lt_nm_to_check; do | 
| Chris@4 | 4636     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4637     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do | 
| Chris@4 | 4638       IFS="$lt_save_ifs" | 
| Chris@4 | 4639       test -z "$ac_dir" && ac_dir=. | 
| Chris@4 | 4640       tmp_nm="$ac_dir/$lt_tmp_nm" | 
| Chris@4 | 4641       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then | 
| Chris@4 | 4642 	# Check to see if the nm accepts a BSD-compat flag. | 
| Chris@4 | 4643 	# Adding the `sed 1q' prevents false positives on HP-UX, which says: | 
| Chris@4 | 4644 	#   nm: unknown option "B" ignored | 
| Chris@4 | 4645 	# Tru64's nm complains that /dev/null is an invalid object file | 
| Chris@4 | 4646 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in | 
| Chris@4 | 4647 	*/dev/null* | *'Invalid file or object type'*) | 
| Chris@4 | 4648 	  lt_cv_path_NM="$tmp_nm -B" | 
| Chris@4 | 4649 	  break | 
| Chris@4 | 4650 	  ;; | 
| Chris@4 | 4651 	*) | 
| Chris@4 | 4652 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in | 
| Chris@4 | 4653 	  */dev/null*) | 
| Chris@4 | 4654 	    lt_cv_path_NM="$tmp_nm -p" | 
| Chris@4 | 4655 	    break | 
| Chris@4 | 4656 	    ;; | 
| Chris@4 | 4657 	  *) | 
| Chris@4 | 4658 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but | 
| Chris@4 | 4659 	    continue # so that we can try to find one that supports BSD flags | 
| Chris@4 | 4660 	    ;; | 
| Chris@4 | 4661 	  esac | 
| Chris@4 | 4662 	  ;; | 
| Chris@4 | 4663 	esac | 
| Chris@4 | 4664       fi | 
| Chris@4 | 4665     done | 
| Chris@4 | 4666     IFS="$lt_save_ifs" | 
| Chris@4 | 4667   done | 
| Chris@4 | 4668   : ${lt_cv_path_NM=no} | 
| Chris@4 | 4669 fi | 
| Chris@4 | 4670 fi | 
| Chris@4 | 4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 | 
| Chris@4 | 4672 $as_echo "$lt_cv_path_NM" >&6; } | 
| Chris@4 | 4673 if test "$lt_cv_path_NM" != "no"; then | 
| Chris@4 | 4674   NM="$lt_cv_path_NM" | 
| Chris@4 | 4675 else | 
| Chris@4 | 4676   # Didn't find any BSD compatible name lister, look for dumpbin. | 
| Chris@4 | 4677   if test -n "$DUMPBIN"; then : | 
| Chris@4 | 4678     # Let the user override the test. | 
| Chris@4 | 4679   else | 
| Chris@4 | 4680     if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 4681   for ac_prog in dumpbin "link -dump" | 
| Chris@4 | 4682   do | 
| Chris@4 | 4683     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| Chris@4 | 4684 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| Chris@4 | 4685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 4686 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 4687 if ${ac_cv_prog_DUMPBIN+:} false; then : | 
| Chris@4 | 4688   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4689 else | 
| Chris@4 | 4690   if test -n "$DUMPBIN"; then | 
| Chris@4 | 4691   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test. | 
| Chris@4 | 4692 else | 
| Chris@4 | 4693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4694 for as_dir in $PATH | 
| Chris@4 | 4695 do | 
| Chris@4 | 4696   IFS=$as_save_IFS | 
| Chris@4 | 4697   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4698     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4699   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 4700     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" | 
| Chris@4 | 4701     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 4702     break 2 | 
| Chris@4 | 4703   fi | 
| Chris@4 | 4704 done | 
| Chris@4 | 4705   done | 
| Chris@4 | 4706 IFS=$as_save_IFS | 
| Chris@4 | 4707 | 
| Chris@4 | 4708 fi | 
| Chris@4 | 4709 fi | 
| Chris@4 | 4710 DUMPBIN=$ac_cv_prog_DUMPBIN | 
| Chris@4 | 4711 if test -n "$DUMPBIN"; then | 
| Chris@4 | 4712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 | 
| Chris@4 | 4713 $as_echo "$DUMPBIN" >&6; } | 
| Chris@4 | 4714 else | 
| Chris@4 | 4715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 4716 $as_echo "no" >&6; } | 
| Chris@4 | 4717 fi | 
| Chris@4 | 4718 | 
| Chris@4 | 4719 | 
| Chris@4 | 4720     test -n "$DUMPBIN" && break | 
| Chris@4 | 4721   done | 
| Chris@4 | 4722 fi | 
| Chris@4 | 4723 if test -z "$DUMPBIN"; then | 
| Chris@4 | 4724   ac_ct_DUMPBIN=$DUMPBIN | 
| Chris@4 | 4725   for ac_prog in dumpbin "link -dump" | 
| Chris@4 | 4726 do | 
| Chris@4 | 4727   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| Chris@4 | 4728 set dummy $ac_prog; ac_word=$2 | 
| Chris@4 | 4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 4730 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 4731 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then : | 
| Chris@4 | 4732   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4733 else | 
| Chris@4 | 4734   if test -n "$ac_ct_DUMPBIN"; then | 
| Chris@4 | 4735   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test. | 
| Chris@4 | 4736 else | 
| Chris@4 | 4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 4738 for as_dir in $PATH | 
| Chris@4 | 4739 do | 
| Chris@4 | 4740   IFS=$as_save_IFS | 
| Chris@4 | 4741   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 4742     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 4743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 4744     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" | 
| Chris@4 | 4745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 4746     break 2 | 
| Chris@4 | 4747   fi | 
| Chris@4 | 4748 done | 
| Chris@4 | 4749   done | 
| Chris@4 | 4750 IFS=$as_save_IFS | 
| Chris@4 | 4751 | 
| Chris@4 | 4752 fi | 
| Chris@4 | 4753 fi | 
| Chris@4 | 4754 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN | 
| Chris@4 | 4755 if test -n "$ac_ct_DUMPBIN"; then | 
| Chris@4 | 4756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 | 
| Chris@4 | 4757 $as_echo "$ac_ct_DUMPBIN" >&6; } | 
| Chris@4 | 4758 else | 
| Chris@4 | 4759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 4760 $as_echo "no" >&6; } | 
| Chris@4 | 4761 fi | 
| Chris@4 | 4762 | 
| Chris@4 | 4763 | 
| Chris@4 | 4764   test -n "$ac_ct_DUMPBIN" && break | 
| Chris@4 | 4765 done | 
| Chris@4 | 4766 | 
| Chris@4 | 4767   if test "x$ac_ct_DUMPBIN" = x; then | 
| Chris@4 | 4768     DUMPBIN=":" | 
| Chris@4 | 4769   else | 
| Chris@4 | 4770     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 4771 yes:) | 
| Chris@4 | 4772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 4773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 4774 ac_tool_warned=yes ;; | 
| Chris@4 | 4775 esac | 
| Chris@4 | 4776     DUMPBIN=$ac_ct_DUMPBIN | 
| Chris@4 | 4777   fi | 
| Chris@4 | 4778 fi | 
| Chris@4 | 4779 | 
| Chris@4 | 4780     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in | 
| Chris@4 | 4781     *COFF*) | 
| Chris@4 | 4782       DUMPBIN="$DUMPBIN -symbols" | 
| Chris@4 | 4783       ;; | 
| Chris@4 | 4784     *) | 
| Chris@4 | 4785       DUMPBIN=: | 
| Chris@4 | 4786       ;; | 
| Chris@4 | 4787     esac | 
| Chris@4 | 4788   fi | 
| Chris@4 | 4789 | 
| Chris@4 | 4790   if test "$DUMPBIN" != ":"; then | 
| Chris@4 | 4791     NM="$DUMPBIN" | 
| Chris@4 | 4792   fi | 
| Chris@4 | 4793 fi | 
| Chris@4 | 4794 test -z "$NM" && NM=nm | 
| Chris@4 | 4795 | 
| Chris@4 | 4796 | 
| Chris@4 | 4797 | 
| Chris@4 | 4798 | 
| Chris@4 | 4799 | 
| Chris@4 | 4800 | 
| Chris@4 | 4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 | 
| Chris@4 | 4802 $as_echo_n "checking the name lister ($NM) interface... " >&6; } | 
| Chris@4 | 4803 if ${lt_cv_nm_interface+:} false; then : | 
| Chris@4 | 4804   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4805 else | 
| Chris@4 | 4806   lt_cv_nm_interface="BSD nm" | 
| Chris@4 | 4807   echo "int some_variable = 0;" > conftest.$ac_ext | 
| Chris@4 | 4808   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5) | 
| Chris@4 | 4809   (eval "$ac_compile" 2>conftest.err) | 
| Chris@4 | 4810   cat conftest.err >&5 | 
| Chris@4 | 4811   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5) | 
| Chris@4 | 4812   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) | 
| Chris@4 | 4813   cat conftest.err >&5 | 
| Chris@4 | 4814   (eval echo "\"\$as_me:$LINENO: output\"" >&5) | 
| Chris@4 | 4815   cat conftest.out >&5 | 
| Chris@4 | 4816   if $GREP 'External.*some_variable' conftest.out > /dev/null; then | 
| Chris@4 | 4817     lt_cv_nm_interface="MS dumpbin" | 
| Chris@4 | 4818   fi | 
| Chris@4 | 4819   rm -f conftest* | 
| Chris@4 | 4820 fi | 
| Chris@4 | 4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 | 
| Chris@4 | 4822 $as_echo "$lt_cv_nm_interface" >&6; } | 
| Chris@4 | 4823 | 
| Chris@4 | 4824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 
| Chris@4 | 4825 $as_echo_n "checking whether ln -s works... " >&6; } | 
| Chris@4 | 4826 LN_S=$as_ln_s | 
| Chris@4 | 4827 if test "$LN_S" = "ln -s"; then | 
| Chris@4 | 4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
| Chris@4 | 4829 $as_echo "yes" >&6; } | 
| Chris@4 | 4830 else | 
| Chris@4 | 4831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 
| Chris@4 | 4832 $as_echo "no, using $LN_S" >&6; } | 
| Chris@4 | 4833 fi | 
| Chris@4 | 4834 | 
| Chris@4 | 4835 # find the maximum length of command line arguments | 
| Chris@4 | 4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 | 
| Chris@4 | 4837 $as_echo_n "checking the maximum length of command line arguments... " >&6; } | 
| Chris@4 | 4838 if ${lt_cv_sys_max_cmd_len+:} false; then : | 
| Chris@4 | 4839   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 4840 else | 
| Chris@4 | 4841     i=0 | 
| Chris@4 | 4842   teststring="ABCD" | 
| Chris@4 | 4843 | 
| Chris@4 | 4844   case $build_os in | 
| Chris@4 | 4845   msdosdjgpp*) | 
| Chris@4 | 4846     # On DJGPP, this test can blow up pretty badly due to problems in libc | 
| Chris@4 | 4847     # (any single argument exceeding 2000 bytes causes a buffer overrun | 
| Chris@4 | 4848     # during glob expansion).  Even if it were fixed, the result of this | 
| Chris@4 | 4849     # check would be larger than it should be. | 
| Chris@4 | 4850     lt_cv_sys_max_cmd_len=12288;    # 12K is about right | 
| Chris@4 | 4851     ;; | 
| Chris@4 | 4852 | 
| Chris@4 | 4853   gnu*) | 
| Chris@4 | 4854     # Under GNU Hurd, this test is not required because there is | 
| Chris@4 | 4855     # no limit to the length of command line arguments. | 
| Chris@4 | 4856     # Libtool will interpret -1 as no limit whatsoever | 
| Chris@4 | 4857     lt_cv_sys_max_cmd_len=-1; | 
| Chris@4 | 4858     ;; | 
| Chris@4 | 4859 | 
| Chris@4 | 4860   cygwin* | mingw* | cegcc*) | 
| Chris@4 | 4861     # On Win9x/ME, this test blows up -- it succeeds, but takes | 
| Chris@4 | 4862     # about 5 minutes as the teststring grows exponentially. | 
| Chris@4 | 4863     # Worse, since 9x/ME are not pre-emptively multitasking, | 
| Chris@4 | 4864     # you end up with a "frozen" computer, even though with patience | 
| Chris@4 | 4865     # the test eventually succeeds (with a max line length of 256k). | 
| Chris@4 | 4866     # Instead, let's just punt: use the minimum linelength reported by | 
| Chris@4 | 4867     # all of the supported platforms: 8192 (on NT/2K/XP). | 
| Chris@4 | 4868     lt_cv_sys_max_cmd_len=8192; | 
| Chris@4 | 4869     ;; | 
| Chris@4 | 4870 | 
| Chris@4 | 4871   mint*) | 
| Chris@4 | 4872     # On MiNT this can take a long time and run out of memory. | 
| Chris@4 | 4873     lt_cv_sys_max_cmd_len=8192; | 
| Chris@4 | 4874     ;; | 
| Chris@4 | 4875 | 
| Chris@4 | 4876   amigaos*) | 
| Chris@4 | 4877     # On AmigaOS with pdksh, this test takes hours, literally. | 
| Chris@4 | 4878     # So we just punt and use a minimum line length of 8192. | 
| Chris@4 | 4879     lt_cv_sys_max_cmd_len=8192; | 
| Chris@4 | 4880     ;; | 
| Chris@4 | 4881 | 
| Chris@4 | 4882   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) | 
| Chris@4 | 4883     # This has been around since 386BSD, at least.  Likely further. | 
| Chris@4 | 4884     if test -x /sbin/sysctl; then | 
| Chris@4 | 4885       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` | 
| Chris@4 | 4886     elif test -x /usr/sbin/sysctl; then | 
| Chris@4 | 4887       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` | 
| Chris@4 | 4888     else | 
| Chris@4 | 4889       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs | 
| Chris@4 | 4890     fi | 
| Chris@4 | 4891     # And add a safety zone | 
| Chris@4 | 4892     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 
| Chris@4 | 4893     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | 
| Chris@4 | 4894     ;; | 
| Chris@4 | 4895 | 
| Chris@4 | 4896   interix*) | 
| Chris@4 | 4897     # We know the value 262144 and hardcode it with a safety zone (like BSD) | 
| Chris@4 | 4898     lt_cv_sys_max_cmd_len=196608 | 
| Chris@4 | 4899     ;; | 
| Chris@4 | 4900 | 
| Chris@4 | 4901   osf*) | 
| Chris@4 | 4902     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure | 
| Chris@4 | 4903     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not | 
| Chris@4 | 4904     # nice to cause kernel panics so lets avoid the loop below. | 
| Chris@4 | 4905     # First set a reasonable default. | 
| Chris@4 | 4906     lt_cv_sys_max_cmd_len=16384 | 
| Chris@4 | 4907     # | 
| Chris@4 | 4908     if test -x /sbin/sysconfig; then | 
| Chris@4 | 4909       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in | 
| Chris@4 | 4910         *1*) lt_cv_sys_max_cmd_len=-1 ;; | 
| Chris@4 | 4911       esac | 
| Chris@4 | 4912     fi | 
| Chris@4 | 4913     ;; | 
| Chris@4 | 4914   sco3.2v5*) | 
| Chris@4 | 4915     lt_cv_sys_max_cmd_len=102400 | 
| Chris@4 | 4916     ;; | 
| Chris@4 | 4917   sysv5* | sco5v6* | sysv4.2uw2*) | 
| Chris@4 | 4918     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null` | 
| Chris@4 | 4919     if test -n "$kargmax"; then | 
| Chris@4 | 4920       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'` | 
| Chris@4 | 4921     else | 
| Chris@4 | 4922       lt_cv_sys_max_cmd_len=32768 | 
| Chris@4 | 4923     fi | 
| Chris@4 | 4924     ;; | 
| Chris@4 | 4925   *) | 
| Chris@4 | 4926     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null` | 
| Chris@4 | 4927     if test -n "$lt_cv_sys_max_cmd_len"; then | 
| Chris@4 | 4928       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` | 
| Chris@4 | 4929       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3` | 
| Chris@4 | 4930     else | 
| Chris@4 | 4931       # Make teststring a little bigger before we do anything with it. | 
| Chris@4 | 4932       # a 1K string should be a reasonable start. | 
| Chris@4 | 4933       for i in 1 2 3 4 5 6 7 8 ; do | 
| Chris@4 | 4934         teststring=$teststring$teststring | 
| Chris@4 | 4935       done | 
| Chris@4 | 4936       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} | 
| Chris@4 | 4937       # If test is not a shell built-in, we'll probably end up computing a | 
| Chris@4 | 4938       # maximum length that is only half of the actual maximum length, but | 
| Chris@4 | 4939       # we can't tell. | 
| Chris@4 | 4940       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \ | 
| Chris@4 | 4941 	         = "X$teststring$teststring"; } >/dev/null 2>&1 && | 
| Chris@4 | 4942 	      test $i != 17 # 1/2 MB should be enough | 
| Chris@4 | 4943       do | 
| Chris@4 | 4944         i=`expr $i + 1` | 
| Chris@4 | 4945         teststring=$teststring$teststring | 
| Chris@4 | 4946       done | 
| Chris@4 | 4947       # Only check the string length outside the loop. | 
| Chris@4 | 4948       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1` | 
| Chris@4 | 4949       teststring= | 
| Chris@4 | 4950       # Add a significant safety factor because C++ compilers can tack on | 
| Chris@4 | 4951       # massive amounts of additional arguments before passing them to the | 
| Chris@4 | 4952       # linker.  It appears as though 1/2 is a usable value. | 
| Chris@4 | 4953       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2` | 
| Chris@4 | 4954     fi | 
| Chris@4 | 4955     ;; | 
| Chris@4 | 4956   esac | 
| Chris@4 | 4957 | 
| Chris@4 | 4958 fi | 
| Chris@4 | 4959 | 
| Chris@4 | 4960 if test -n $lt_cv_sys_max_cmd_len ; then | 
| Chris@4 | 4961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 | 
| Chris@4 | 4962 $as_echo "$lt_cv_sys_max_cmd_len" >&6; } | 
| Chris@4 | 4963 else | 
| Chris@4 | 4964   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 | 
| Chris@4 | 4965 $as_echo "none" >&6; } | 
| Chris@4 | 4966 fi | 
| Chris@4 | 4967 max_cmd_len=$lt_cv_sys_max_cmd_len | 
| Chris@4 | 4968 | 
| Chris@4 | 4969 | 
| Chris@4 | 4970 | 
| Chris@4 | 4971 | 
| Chris@4 | 4972 | 
| Chris@4 | 4973 | 
| Chris@4 | 4974 : ${CP="cp -f"} | 
| Chris@4 | 4975 : ${MV="mv -f"} | 
| Chris@4 | 4976 : ${RM="rm -f"} | 
| Chris@4 | 4977 | 
| Chris@4 | 4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 | 
| Chris@4 | 4979 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } | 
| Chris@4 | 4980 # Try some XSI features | 
| Chris@4 | 4981 xsi_shell=no | 
| Chris@4 | 4982 ( _lt_dummy="a/b/c" | 
| Chris@4 | 4983   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \ | 
| Chris@4 | 4984       = c,a/b,b/c, \ | 
| Chris@4 | 4985     && eval 'test $(( 1 + 1 )) -eq 2 \ | 
| Chris@4 | 4986     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ | 
| Chris@4 | 4987   && xsi_shell=yes | 
| Chris@4 | 4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 | 
| Chris@4 | 4989 $as_echo "$xsi_shell" >&6; } | 
| Chris@4 | 4990 | 
| Chris@4 | 4991 | 
| Chris@4 | 4992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 | 
| Chris@4 | 4993 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } | 
| Chris@4 | 4994 lt_shell_append=no | 
| Chris@4 | 4995 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ | 
| Chris@4 | 4996     >/dev/null 2>&1 \ | 
| Chris@4 | 4997   && lt_shell_append=yes | 
| Chris@4 | 4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 | 
| Chris@4 | 4999 $as_echo "$lt_shell_append" >&6; } | 
| Chris@4 | 5000 | 
| Chris@4 | 5001 | 
| Chris@4 | 5002 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then | 
| Chris@4 | 5003   lt_unset=unset | 
| Chris@4 | 5004 else | 
| Chris@4 | 5005   lt_unset=false | 
| Chris@4 | 5006 fi | 
| Chris@4 | 5007 | 
| Chris@4 | 5008 | 
| Chris@4 | 5009 | 
| Chris@4 | 5010 | 
| Chris@4 | 5011 | 
| Chris@4 | 5012 # test EBCDIC or ASCII | 
| Chris@4 | 5013 case `echo X|tr X '\101'` in | 
| Chris@4 | 5014  A) # ASCII based system | 
| Chris@4 | 5015     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr | 
| Chris@4 | 5016   lt_SP2NL='tr \040 \012' | 
| Chris@4 | 5017   lt_NL2SP='tr \015\012 \040\040' | 
| Chris@4 | 5018   ;; | 
| Chris@4 | 5019  *) # EBCDIC based system | 
| Chris@4 | 5020   lt_SP2NL='tr \100 \n' | 
| Chris@4 | 5021   lt_NL2SP='tr \r\n \100\100' | 
| Chris@4 | 5022   ;; | 
| Chris@4 | 5023 esac | 
| Chris@4 | 5024 | 
| Chris@4 | 5025 | 
| Chris@4 | 5026 | 
| Chris@4 | 5027 | 
| Chris@4 | 5028 | 
| Chris@4 | 5029 | 
| Chris@4 | 5030 | 
| Chris@4 | 5031 | 
| Chris@4 | 5032 | 
| Chris@4 | 5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5 | 
| Chris@4 | 5034 $as_echo_n "checking how to convert $build file names to $host format... " >&6; } | 
| Chris@4 | 5035 if ${lt_cv_to_host_file_cmd+:} false; then : | 
| Chris@4 | 5036   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5037 else | 
| Chris@4 | 5038   case $host in | 
| Chris@4 | 5039   *-*-mingw* ) | 
| Chris@4 | 5040     case $build in | 
| Chris@4 | 5041       *-*-mingw* ) # actually msys | 
| Chris@4 | 5042         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32 | 
| Chris@4 | 5043         ;; | 
| Chris@4 | 5044       *-*-cygwin* ) | 
| Chris@4 | 5045         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32 | 
| Chris@4 | 5046         ;; | 
| Chris@4 | 5047       * ) # otherwise, assume *nix | 
| Chris@4 | 5048         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32 | 
| Chris@4 | 5049         ;; | 
| Chris@4 | 5050     esac | 
| Chris@4 | 5051     ;; | 
| Chris@4 | 5052   *-*-cygwin* ) | 
| Chris@4 | 5053     case $build in | 
| Chris@4 | 5054       *-*-mingw* ) # actually msys | 
| Chris@4 | 5055         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin | 
| Chris@4 | 5056         ;; | 
| Chris@4 | 5057       *-*-cygwin* ) | 
| Chris@4 | 5058         lt_cv_to_host_file_cmd=func_convert_file_noop | 
| Chris@4 | 5059         ;; | 
| Chris@4 | 5060       * ) # otherwise, assume *nix | 
| Chris@4 | 5061         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin | 
| Chris@4 | 5062         ;; | 
| Chris@4 | 5063     esac | 
| Chris@4 | 5064     ;; | 
| Chris@4 | 5065   * ) # unhandled hosts (and "normal" native builds) | 
| Chris@4 | 5066     lt_cv_to_host_file_cmd=func_convert_file_noop | 
| Chris@4 | 5067     ;; | 
| Chris@4 | 5068 esac | 
| Chris@4 | 5069 | 
| Chris@4 | 5070 fi | 
| Chris@4 | 5071 | 
| Chris@4 | 5072 to_host_file_cmd=$lt_cv_to_host_file_cmd | 
| Chris@4 | 5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5 | 
| Chris@4 | 5074 $as_echo "$lt_cv_to_host_file_cmd" >&6; } | 
| Chris@4 | 5075 | 
| Chris@4 | 5076 | 
| Chris@4 | 5077 | 
| Chris@4 | 5078 | 
| Chris@4 | 5079 | 
| Chris@4 | 5080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5 | 
| Chris@4 | 5081 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; } | 
| Chris@4 | 5082 if ${lt_cv_to_tool_file_cmd+:} false; then : | 
| Chris@4 | 5083   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5084 else | 
| Chris@4 | 5085   #assume ordinary cross tools, or native build. | 
| Chris@4 | 5086 lt_cv_to_tool_file_cmd=func_convert_file_noop | 
| Chris@4 | 5087 case $host in | 
| Chris@4 | 5088   *-*-mingw* ) | 
| Chris@4 | 5089     case $build in | 
| Chris@4 | 5090       *-*-mingw* ) # actually msys | 
| Chris@4 | 5091         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32 | 
| Chris@4 | 5092         ;; | 
| Chris@4 | 5093     esac | 
| Chris@4 | 5094     ;; | 
| Chris@4 | 5095 esac | 
| Chris@4 | 5096 | 
| Chris@4 | 5097 fi | 
| Chris@4 | 5098 | 
| Chris@4 | 5099 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 
| Chris@4 | 5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5 | 
| Chris@4 | 5101 $as_echo "$lt_cv_to_tool_file_cmd" >&6; } | 
| Chris@4 | 5102 | 
| Chris@4 | 5103 | 
| Chris@4 | 5104 | 
| Chris@4 | 5105 | 
| Chris@4 | 5106 | 
| Chris@4 | 5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 | 
| Chris@4 | 5108 $as_echo_n "checking for $LD option to reload object files... " >&6; } | 
| Chris@4 | 5109 if ${lt_cv_ld_reload_flag+:} false; then : | 
| Chris@4 | 5110   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5111 else | 
| Chris@4 | 5112   lt_cv_ld_reload_flag='-r' | 
| Chris@4 | 5113 fi | 
| Chris@4 | 5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 | 
| Chris@4 | 5115 $as_echo "$lt_cv_ld_reload_flag" >&6; } | 
| Chris@4 | 5116 reload_flag=$lt_cv_ld_reload_flag | 
| Chris@4 | 5117 case $reload_flag in | 
| Chris@4 | 5118 "" | " "*) ;; | 
| Chris@4 | 5119 *) reload_flag=" $reload_flag" ;; | 
| Chris@4 | 5120 esac | 
| Chris@4 | 5121 reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
| Chris@4 | 5122 case $host_os in | 
| Chris@4 | 5123   cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 5124     if test "$GCC" != yes; then | 
| Chris@4 | 5125       reload_cmds=false | 
| Chris@4 | 5126     fi | 
| Chris@4 | 5127     ;; | 
| Chris@4 | 5128   darwin*) | 
| Chris@4 | 5129     if test "$GCC" = yes; then | 
| Chris@4 | 5130       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs' | 
| Chris@4 | 5131     else | 
| Chris@4 | 5132       reload_cmds='$LD$reload_flag -o $output$reload_objs' | 
| Chris@4 | 5133     fi | 
| Chris@4 | 5134     ;; | 
| Chris@4 | 5135 esac | 
| Chris@4 | 5136 | 
| Chris@4 | 5137 | 
| Chris@4 | 5138 | 
| Chris@4 | 5139 | 
| Chris@4 | 5140 | 
| Chris@4 | 5141 | 
| Chris@4 | 5142 | 
| Chris@4 | 5143 | 
| Chris@4 | 5144 | 
| Chris@4 | 5145 if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 5146   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. | 
| Chris@4 | 5147 set dummy ${ac_tool_prefix}objdump; ac_word=$2 | 
| Chris@4 | 5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5149 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5150 if ${ac_cv_prog_OBJDUMP+:} false; then : | 
| Chris@4 | 5151   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5152 else | 
| Chris@4 | 5153   if test -n "$OBJDUMP"; then | 
| Chris@4 | 5154   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test. | 
| Chris@4 | 5155 else | 
| Chris@4 | 5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5157 for as_dir in $PATH | 
| Chris@4 | 5158 do | 
| Chris@4 | 5159   IFS=$as_save_IFS | 
| Chris@4 | 5160   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5161     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5162   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5163     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" | 
| Chris@4 | 5164     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5165     break 2 | 
| Chris@4 | 5166   fi | 
| Chris@4 | 5167 done | 
| Chris@4 | 5168   done | 
| Chris@4 | 5169 IFS=$as_save_IFS | 
| Chris@4 | 5170 | 
| Chris@4 | 5171 fi | 
| Chris@4 | 5172 fi | 
| Chris@4 | 5173 OBJDUMP=$ac_cv_prog_OBJDUMP | 
| Chris@4 | 5174 if test -n "$OBJDUMP"; then | 
| Chris@4 | 5175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 | 
| Chris@4 | 5176 $as_echo "$OBJDUMP" >&6; } | 
| Chris@4 | 5177 else | 
| Chris@4 | 5178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5179 $as_echo "no" >&6; } | 
| Chris@4 | 5180 fi | 
| Chris@4 | 5181 | 
| Chris@4 | 5182 | 
| Chris@4 | 5183 fi | 
| Chris@4 | 5184 if test -z "$ac_cv_prog_OBJDUMP"; then | 
| Chris@4 | 5185   ac_ct_OBJDUMP=$OBJDUMP | 
| Chris@4 | 5186   # Extract the first word of "objdump", so it can be a program name with args. | 
| Chris@4 | 5187 set dummy objdump; ac_word=$2 | 
| Chris@4 | 5188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5189 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5190 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then : | 
| Chris@4 | 5191   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5192 else | 
| Chris@4 | 5193   if test -n "$ac_ct_OBJDUMP"; then | 
| Chris@4 | 5194   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test. | 
| Chris@4 | 5195 else | 
| Chris@4 | 5196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5197 for as_dir in $PATH | 
| Chris@4 | 5198 do | 
| Chris@4 | 5199   IFS=$as_save_IFS | 
| Chris@4 | 5200   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5201     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5203     ac_cv_prog_ac_ct_OBJDUMP="objdump" | 
| Chris@4 | 5204     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5205     break 2 | 
| Chris@4 | 5206   fi | 
| Chris@4 | 5207 done | 
| Chris@4 | 5208   done | 
| Chris@4 | 5209 IFS=$as_save_IFS | 
| Chris@4 | 5210 | 
| Chris@4 | 5211 fi | 
| Chris@4 | 5212 fi | 
| Chris@4 | 5213 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP | 
| Chris@4 | 5214 if test -n "$ac_ct_OBJDUMP"; then | 
| Chris@4 | 5215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 | 
| Chris@4 | 5216 $as_echo "$ac_ct_OBJDUMP" >&6; } | 
| Chris@4 | 5217 else | 
| Chris@4 | 5218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5219 $as_echo "no" >&6; } | 
| Chris@4 | 5220 fi | 
| Chris@4 | 5221 | 
| Chris@4 | 5222   if test "x$ac_ct_OBJDUMP" = x; then | 
| Chris@4 | 5223     OBJDUMP="false" | 
| Chris@4 | 5224   else | 
| Chris@4 | 5225     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 5226 yes:) | 
| Chris@4 | 5227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 5228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 5229 ac_tool_warned=yes ;; | 
| Chris@4 | 5230 esac | 
| Chris@4 | 5231     OBJDUMP=$ac_ct_OBJDUMP | 
| Chris@4 | 5232   fi | 
| Chris@4 | 5233 else | 
| Chris@4 | 5234   OBJDUMP="$ac_cv_prog_OBJDUMP" | 
| Chris@4 | 5235 fi | 
| Chris@4 | 5236 | 
| Chris@4 | 5237 test -z "$OBJDUMP" && OBJDUMP=objdump | 
| Chris@4 | 5238 | 
| Chris@4 | 5239 | 
| Chris@4 | 5240 | 
| Chris@4 | 5241 | 
| Chris@4 | 5242 | 
| Chris@4 | 5243 | 
| Chris@4 | 5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 | 
| Chris@4 | 5245 $as_echo_n "checking how to recognize dependent libraries... " >&6; } | 
| Chris@4 | 5246 if ${lt_cv_deplibs_check_method+:} false; then : | 
| Chris@4 | 5247   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5248 else | 
| Chris@4 | 5249   lt_cv_file_magic_cmd='$MAGIC_CMD' | 
| Chris@4 | 5250 lt_cv_file_magic_test_file= | 
| Chris@4 | 5251 lt_cv_deplibs_check_method='unknown' | 
| Chris@4 | 5252 # Need to set the preceding variable on all platforms that support | 
| Chris@4 | 5253 # interlibrary dependencies. | 
| Chris@4 | 5254 # 'none' -- dependencies not supported. | 
| Chris@4 | 5255 # `unknown' -- same as none, but documents that we really don't know. | 
| Chris@4 | 5256 # 'pass_all' -- all dependencies passed with no checks. | 
| Chris@4 | 5257 # 'test_compile' -- check by making test program. | 
| Chris@4 | 5258 # 'file_magic [[regex]]' -- check by looking for files in library path | 
| Chris@4 | 5259 # which responds to the $file_magic_cmd with a given extended regex. | 
| Chris@4 | 5260 # If you have `file' or equivalent on your system and you're not sure | 
| Chris@4 | 5261 # whether `pass_all' will *always* work, you probably want this one. | 
| Chris@4 | 5262 | 
| Chris@4 | 5263 case $host_os in | 
| Chris@4 | 5264 aix[4-9]*) | 
| Chris@4 | 5265   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5266   ;; | 
| Chris@4 | 5267 | 
| Chris@4 | 5268 beos*) | 
| Chris@4 | 5269   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5270   ;; | 
| Chris@4 | 5271 | 
| Chris@4 | 5272 bsdi[45]*) | 
| Chris@4 | 5273   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)' | 
| Chris@4 | 5274   lt_cv_file_magic_cmd='/usr/bin/file -L' | 
| Chris@4 | 5275   lt_cv_file_magic_test_file=/shlib/libc.so | 
| Chris@4 | 5276   ;; | 
| Chris@4 | 5277 | 
| Chris@4 | 5278 cygwin*) | 
| Chris@4 | 5279   # func_win32_libid is a shell function defined in ltmain.sh | 
| Chris@4 | 5280   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 
| Chris@4 | 5281   lt_cv_file_magic_cmd='func_win32_libid' | 
| Chris@4 | 5282   ;; | 
| Chris@4 | 5283 | 
| Chris@4 | 5284 mingw* | pw32*) | 
| Chris@4 | 5285   # Base MSYS/MinGW do not provide the 'file' command needed by | 
| Chris@4 | 5286   # func_win32_libid shell function, so use a weaker test based on 'objdump', | 
| Chris@4 | 5287   # unless we find 'file', for example because we are cross-compiling. | 
| Chris@4 | 5288   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin. | 
| Chris@4 | 5289   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then | 
| Chris@4 | 5290     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' | 
| Chris@4 | 5291     lt_cv_file_magic_cmd='func_win32_libid' | 
| Chris@4 | 5292   else | 
| Chris@4 | 5293     # Keep this pattern in sync with the one in func_win32_libid. | 
| Chris@4 | 5294     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)' | 
| Chris@4 | 5295     lt_cv_file_magic_cmd='$OBJDUMP -f' | 
| Chris@4 | 5296   fi | 
| Chris@4 | 5297   ;; | 
| Chris@4 | 5298 | 
| Chris@4 | 5299 cegcc*) | 
| Chris@4 | 5300   # use the weaker test based on 'objdump'. See mingw*. | 
| Chris@4 | 5301   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?' | 
| Chris@4 | 5302   lt_cv_file_magic_cmd='$OBJDUMP -f' | 
| Chris@4 | 5303   ;; | 
| Chris@4 | 5304 | 
| Chris@4 | 5305 darwin* | rhapsody*) | 
| Chris@4 | 5306   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5307   ;; | 
| Chris@4 | 5308 | 
| Chris@4 | 5309 freebsd* | dragonfly*) | 
| Chris@4 | 5310   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | 
| Chris@4 | 5311     case $host_cpu in | 
| Chris@4 | 5312     i*86 ) | 
| Chris@4 | 5313       # Not sure whether the presence of OpenBSD here was a mistake. | 
| Chris@4 | 5314       # Let's accept both of them until this is cleared up. | 
| Chris@4 | 5315       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library' | 
| Chris@4 | 5316       lt_cv_file_magic_cmd=/usr/bin/file | 
| Chris@4 | 5317       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` | 
| Chris@4 | 5318       ;; | 
| Chris@4 | 5319     esac | 
| Chris@4 | 5320   else | 
| Chris@4 | 5321     lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5322   fi | 
| Chris@4 | 5323   ;; | 
| Chris@4 | 5324 | 
| Chris@4 | 5325 gnu*) | 
| Chris@4 | 5326   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5327   ;; | 
| Chris@4 | 5328 | 
| Chris@4 | 5329 haiku*) | 
| Chris@4 | 5330   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5331   ;; | 
| Chris@4 | 5332 | 
| Chris@4 | 5333 hpux10.20* | hpux11*) | 
| Chris@4 | 5334   lt_cv_file_magic_cmd=/usr/bin/file | 
| Chris@4 | 5335   case $host_cpu in | 
| Chris@4 | 5336   ia64*) | 
| Chris@4 | 5337     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64' | 
| Chris@4 | 5338     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so | 
| Chris@4 | 5339     ;; | 
| Chris@4 | 5340   hppa*64*) | 
| Chris@4 | 5341     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]' | 
| Chris@4 | 5342     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl | 
| Chris@4 | 5343     ;; | 
| Chris@4 | 5344   *) | 
| Chris@4 | 5345     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library' | 
| Chris@4 | 5346     lt_cv_file_magic_test_file=/usr/lib/libc.sl | 
| Chris@4 | 5347     ;; | 
| Chris@4 | 5348   esac | 
| Chris@4 | 5349   ;; | 
| Chris@4 | 5350 | 
| Chris@4 | 5351 interix[3-9]*) | 
| Chris@4 | 5352   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here | 
| Chris@4 | 5353   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$' | 
| Chris@4 | 5354   ;; | 
| Chris@4 | 5355 | 
| Chris@4 | 5356 irix5* | irix6* | nonstopux*) | 
| Chris@4 | 5357   case $LD in | 
| Chris@4 | 5358   *-32|*"-32 ") libmagic=32-bit;; | 
| Chris@4 | 5359   *-n32|*"-n32 ") libmagic=N32;; | 
| Chris@4 | 5360   *-64|*"-64 ") libmagic=64-bit;; | 
| Chris@4 | 5361   *) libmagic=never-match;; | 
| Chris@4 | 5362   esac | 
| Chris@4 | 5363   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5364   ;; | 
| Chris@4 | 5365 | 
| Chris@4 | 5366 # This must be Linux ELF. | 
| Chris@4 | 5367 linux* | k*bsd*-gnu | kopensolaris*-gnu) | 
| Chris@4 | 5368   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5369   ;; | 
| Chris@4 | 5370 | 
| Chris@4 | 5371 netbsd* | netbsdelf*-gnu) | 
| Chris@4 | 5372   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then | 
| Chris@4 | 5373     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | 
| Chris@4 | 5374   else | 
| Chris@4 | 5375     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$' | 
| Chris@4 | 5376   fi | 
| Chris@4 | 5377   ;; | 
| Chris@4 | 5378 | 
| Chris@4 | 5379 newos6*) | 
| Chris@4 | 5380   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)' | 
| Chris@4 | 5381   lt_cv_file_magic_cmd=/usr/bin/file | 
| Chris@4 | 5382   lt_cv_file_magic_test_file=/usr/lib/libnls.so | 
| Chris@4 | 5383   ;; | 
| Chris@4 | 5384 | 
| Chris@4 | 5385 *nto* | *qnx*) | 
| Chris@4 | 5386   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5387   ;; | 
| Chris@4 | 5388 | 
| Chris@4 | 5389 openbsd*) | 
| Chris@4 | 5390   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
| Chris@4 | 5391     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$' | 
| Chris@4 | 5392   else | 
| Chris@4 | 5393     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$' | 
| Chris@4 | 5394   fi | 
| Chris@4 | 5395   ;; | 
| Chris@4 | 5396 | 
| Chris@4 | 5397 osf3* | osf4* | osf5*) | 
| Chris@4 | 5398   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5399   ;; | 
| Chris@4 | 5400 | 
| Chris@4 | 5401 rdos*) | 
| Chris@4 | 5402   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5403   ;; | 
| Chris@4 | 5404 | 
| Chris@4 | 5405 solaris*) | 
| Chris@4 | 5406   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5407   ;; | 
| Chris@4 | 5408 | 
| Chris@4 | 5409 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 
| Chris@4 | 5410   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5411   ;; | 
| Chris@4 | 5412 | 
| Chris@4 | 5413 sysv4 | sysv4.3*) | 
| Chris@4 | 5414   case $host_vendor in | 
| Chris@4 | 5415   motorola) | 
| Chris@4 | 5416     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]' | 
| Chris@4 | 5417     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*` | 
| Chris@4 | 5418     ;; | 
| Chris@4 | 5419   ncr) | 
| Chris@4 | 5420     lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5421     ;; | 
| Chris@4 | 5422   sequent) | 
| Chris@4 | 5423     lt_cv_file_magic_cmd='/bin/file' | 
| Chris@4 | 5424     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' | 
| Chris@4 | 5425     ;; | 
| Chris@4 | 5426   sni) | 
| Chris@4 | 5427     lt_cv_file_magic_cmd='/bin/file' | 
| Chris@4 | 5428     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib" | 
| Chris@4 | 5429     lt_cv_file_magic_test_file=/lib/libc.so | 
| Chris@4 | 5430     ;; | 
| Chris@4 | 5431   siemens) | 
| Chris@4 | 5432     lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5433     ;; | 
| Chris@4 | 5434   pc) | 
| Chris@4 | 5435     lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5436     ;; | 
| Chris@4 | 5437   esac | 
| Chris@4 | 5438   ;; | 
| Chris@4 | 5439 | 
| Chris@4 | 5440 tpf*) | 
| Chris@4 | 5441   lt_cv_deplibs_check_method=pass_all | 
| Chris@4 | 5442   ;; | 
| Chris@4 | 5443 esac | 
| Chris@4 | 5444 | 
| Chris@4 | 5445 fi | 
| Chris@4 | 5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 | 
| Chris@4 | 5447 $as_echo "$lt_cv_deplibs_check_method" >&6; } | 
| Chris@4 | 5448 | 
| Chris@4 | 5449 file_magic_glob= | 
| Chris@4 | 5450 want_nocaseglob=no | 
| Chris@4 | 5451 if test "$build" = "$host"; then | 
| Chris@4 | 5452   case $host_os in | 
| Chris@4 | 5453   mingw* | pw32*) | 
| Chris@4 | 5454     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then | 
| Chris@4 | 5455       want_nocaseglob=yes | 
| Chris@4 | 5456     else | 
| Chris@4 | 5457       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"` | 
| Chris@4 | 5458     fi | 
| Chris@4 | 5459     ;; | 
| Chris@4 | 5460   esac | 
| Chris@4 | 5461 fi | 
| Chris@4 | 5462 | 
| Chris@4 | 5463 file_magic_cmd=$lt_cv_file_magic_cmd | 
| Chris@4 | 5464 deplibs_check_method=$lt_cv_deplibs_check_method | 
| Chris@4 | 5465 test -z "$deplibs_check_method" && deplibs_check_method=unknown | 
| Chris@4 | 5466 | 
| Chris@4 | 5467 | 
| Chris@4 | 5468 | 
| Chris@4 | 5469 | 
| Chris@4 | 5470 | 
| Chris@4 | 5471 | 
| Chris@4 | 5472 | 
| Chris@4 | 5473 | 
| Chris@4 | 5474 | 
| Chris@4 | 5475 | 
| Chris@4 | 5476 | 
| Chris@4 | 5477 | 
| Chris@4 | 5478 | 
| Chris@4 | 5479 | 
| Chris@4 | 5480 | 
| Chris@4 | 5481 | 
| Chris@4 | 5482 | 
| Chris@4 | 5483 | 
| Chris@4 | 5484 | 
| Chris@4 | 5485 | 
| Chris@4 | 5486 | 
| Chris@4 | 5487 | 
| Chris@4 | 5488 if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 5489   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. | 
| Chris@4 | 5490 set dummy ${ac_tool_prefix}dlltool; ac_word=$2 | 
| Chris@4 | 5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5492 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5493 if ${ac_cv_prog_DLLTOOL+:} false; then : | 
| Chris@4 | 5494   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5495 else | 
| Chris@4 | 5496   if test -n "$DLLTOOL"; then | 
| Chris@4 | 5497   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test. | 
| Chris@4 | 5498 else | 
| Chris@4 | 5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5500 for as_dir in $PATH | 
| Chris@4 | 5501 do | 
| Chris@4 | 5502   IFS=$as_save_IFS | 
| Chris@4 | 5503   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5504     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5506     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" | 
| Chris@4 | 5507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5508     break 2 | 
| Chris@4 | 5509   fi | 
| Chris@4 | 5510 done | 
| Chris@4 | 5511   done | 
| Chris@4 | 5512 IFS=$as_save_IFS | 
| Chris@4 | 5513 | 
| Chris@4 | 5514 fi | 
| Chris@4 | 5515 fi | 
| Chris@4 | 5516 DLLTOOL=$ac_cv_prog_DLLTOOL | 
| Chris@4 | 5517 if test -n "$DLLTOOL"; then | 
| Chris@4 | 5518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 | 
| Chris@4 | 5519 $as_echo "$DLLTOOL" >&6; } | 
| Chris@4 | 5520 else | 
| Chris@4 | 5521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5522 $as_echo "no" >&6; } | 
| Chris@4 | 5523 fi | 
| Chris@4 | 5524 | 
| Chris@4 | 5525 | 
| Chris@4 | 5526 fi | 
| Chris@4 | 5527 if test -z "$ac_cv_prog_DLLTOOL"; then | 
| Chris@4 | 5528   ac_ct_DLLTOOL=$DLLTOOL | 
| Chris@4 | 5529   # Extract the first word of "dlltool", so it can be a program name with args. | 
| Chris@4 | 5530 set dummy dlltool; ac_word=$2 | 
| Chris@4 | 5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5532 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5533 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then : | 
| Chris@4 | 5534   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5535 else | 
| Chris@4 | 5536   if test -n "$ac_ct_DLLTOOL"; then | 
| Chris@4 | 5537   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test. | 
| Chris@4 | 5538 else | 
| Chris@4 | 5539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5540 for as_dir in $PATH | 
| Chris@4 | 5541 do | 
| Chris@4 | 5542   IFS=$as_save_IFS | 
| Chris@4 | 5543   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5544     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5545   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5546     ac_cv_prog_ac_ct_DLLTOOL="dlltool" | 
| Chris@4 | 5547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5548     break 2 | 
| Chris@4 | 5549   fi | 
| Chris@4 | 5550 done | 
| Chris@4 | 5551   done | 
| Chris@4 | 5552 IFS=$as_save_IFS | 
| Chris@4 | 5553 | 
| Chris@4 | 5554 fi | 
| Chris@4 | 5555 fi | 
| Chris@4 | 5556 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL | 
| Chris@4 | 5557 if test -n "$ac_ct_DLLTOOL"; then | 
| Chris@4 | 5558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 | 
| Chris@4 | 5559 $as_echo "$ac_ct_DLLTOOL" >&6; } | 
| Chris@4 | 5560 else | 
| Chris@4 | 5561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5562 $as_echo "no" >&6; } | 
| Chris@4 | 5563 fi | 
| Chris@4 | 5564 | 
| Chris@4 | 5565   if test "x$ac_ct_DLLTOOL" = x; then | 
| Chris@4 | 5566     DLLTOOL="false" | 
| Chris@4 | 5567   else | 
| Chris@4 | 5568     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 5569 yes:) | 
| Chris@4 | 5570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 5571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 5572 ac_tool_warned=yes ;; | 
| Chris@4 | 5573 esac | 
| Chris@4 | 5574     DLLTOOL=$ac_ct_DLLTOOL | 
| Chris@4 | 5575   fi | 
| Chris@4 | 5576 else | 
| Chris@4 | 5577   DLLTOOL="$ac_cv_prog_DLLTOOL" | 
| Chris@4 | 5578 fi | 
| Chris@4 | 5579 | 
| Chris@4 | 5580 test -z "$DLLTOOL" && DLLTOOL=dlltool | 
| Chris@4 | 5581 | 
| Chris@4 | 5582 | 
| Chris@4 | 5583 | 
| Chris@4 | 5584 | 
| Chris@4 | 5585 | 
| Chris@4 | 5586 | 
| Chris@4 | 5587 | 
| Chris@4 | 5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5 | 
| Chris@4 | 5589 $as_echo_n "checking how to associate runtime and link libraries... " >&6; } | 
| Chris@4 | 5590 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then : | 
| Chris@4 | 5591   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5592 else | 
| Chris@4 | 5593   lt_cv_sharedlib_from_linklib_cmd='unknown' | 
| Chris@4 | 5594 | 
| Chris@4 | 5595 case $host_os in | 
| Chris@4 | 5596 cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 5597   # two different shell functions defined in ltmain.sh | 
| Chris@4 | 5598   # decide which to use based on capabilities of $DLLTOOL | 
| Chris@4 | 5599   case `$DLLTOOL --help 2>&1` in | 
| Chris@4 | 5600   *--identify-strict*) | 
| Chris@4 | 5601     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib | 
| Chris@4 | 5602     ;; | 
| Chris@4 | 5603   *) | 
| Chris@4 | 5604     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback | 
| Chris@4 | 5605     ;; | 
| Chris@4 | 5606   esac | 
| Chris@4 | 5607   ;; | 
| Chris@4 | 5608 *) | 
| Chris@4 | 5609   # fallback: assume linklib IS sharedlib | 
| Chris@4 | 5610   lt_cv_sharedlib_from_linklib_cmd="$ECHO" | 
| Chris@4 | 5611   ;; | 
| Chris@4 | 5612 esac | 
| Chris@4 | 5613 | 
| Chris@4 | 5614 fi | 
| Chris@4 | 5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5 | 
| Chris@4 | 5616 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; } | 
| Chris@4 | 5617 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd | 
| Chris@4 | 5618 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO | 
| Chris@4 | 5619 | 
| Chris@4 | 5620 | 
| Chris@4 | 5621 | 
| Chris@4 | 5622 | 
| Chris@4 | 5623 | 
| Chris@4 | 5624 | 
| Chris@4 | 5625 | 
| Chris@4 | 5626 | 
| Chris@4 | 5627 if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 5628   for ac_prog in ar | 
| Chris@4 | 5629   do | 
| Chris@4 | 5630     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | 
| Chris@4 | 5631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | 
| Chris@4 | 5632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5633 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5634 if ${ac_cv_prog_AR+:} false; then : | 
| Chris@4 | 5635   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5636 else | 
| Chris@4 | 5637   if test -n "$AR"; then | 
| Chris@4 | 5638   ac_cv_prog_AR="$AR" # Let the user override the test. | 
| Chris@4 | 5639 else | 
| Chris@4 | 5640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5641 for as_dir in $PATH | 
| Chris@4 | 5642 do | 
| Chris@4 | 5643   IFS=$as_save_IFS | 
| Chris@4 | 5644   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5645     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5647     ac_cv_prog_AR="$ac_tool_prefix$ac_prog" | 
| Chris@4 | 5648     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5649     break 2 | 
| Chris@4 | 5650   fi | 
| Chris@4 | 5651 done | 
| Chris@4 | 5652   done | 
| Chris@4 | 5653 IFS=$as_save_IFS | 
| Chris@4 | 5654 | 
| Chris@4 | 5655 fi | 
| Chris@4 | 5656 fi | 
| Chris@4 | 5657 AR=$ac_cv_prog_AR | 
| Chris@4 | 5658 if test -n "$AR"; then | 
| Chris@4 | 5659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | 
| Chris@4 | 5660 $as_echo "$AR" >&6; } | 
| Chris@4 | 5661 else | 
| Chris@4 | 5662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5663 $as_echo "no" >&6; } | 
| Chris@4 | 5664 fi | 
| Chris@4 | 5665 | 
| Chris@4 | 5666 | 
| Chris@4 | 5667     test -n "$AR" && break | 
| Chris@4 | 5668   done | 
| Chris@4 | 5669 fi | 
| Chris@4 | 5670 if test -z "$AR"; then | 
| Chris@4 | 5671   ac_ct_AR=$AR | 
| Chris@4 | 5672   for ac_prog in ar | 
| Chris@4 | 5673 do | 
| Chris@4 | 5674   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| Chris@4 | 5675 set dummy $ac_prog; ac_word=$2 | 
| Chris@4 | 5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5677 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5678 if ${ac_cv_prog_ac_ct_AR+:} false; then : | 
| Chris@4 | 5679   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5680 else | 
| Chris@4 | 5681   if test -n "$ac_ct_AR"; then | 
| Chris@4 | 5682   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test. | 
| Chris@4 | 5683 else | 
| Chris@4 | 5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5685 for as_dir in $PATH | 
| Chris@4 | 5686 do | 
| Chris@4 | 5687   IFS=$as_save_IFS | 
| Chris@4 | 5688   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5689     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5691     ac_cv_prog_ac_ct_AR="$ac_prog" | 
| Chris@4 | 5692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5693     break 2 | 
| Chris@4 | 5694   fi | 
| Chris@4 | 5695 done | 
| Chris@4 | 5696   done | 
| Chris@4 | 5697 IFS=$as_save_IFS | 
| Chris@4 | 5698 | 
| Chris@4 | 5699 fi | 
| Chris@4 | 5700 fi | 
| Chris@4 | 5701 ac_ct_AR=$ac_cv_prog_ac_ct_AR | 
| Chris@4 | 5702 if test -n "$ac_ct_AR"; then | 
| Chris@4 | 5703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 | 
| Chris@4 | 5704 $as_echo "$ac_ct_AR" >&6; } | 
| Chris@4 | 5705 else | 
| Chris@4 | 5706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5707 $as_echo "no" >&6; } | 
| Chris@4 | 5708 fi | 
| Chris@4 | 5709 | 
| Chris@4 | 5710 | 
| Chris@4 | 5711   test -n "$ac_ct_AR" && break | 
| Chris@4 | 5712 done | 
| Chris@4 | 5713 | 
| Chris@4 | 5714   if test "x$ac_ct_AR" = x; then | 
| Chris@4 | 5715     AR="false" | 
| Chris@4 | 5716   else | 
| Chris@4 | 5717     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 5718 yes:) | 
| Chris@4 | 5719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 5720 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 5721 ac_tool_warned=yes ;; | 
| Chris@4 | 5722 esac | 
| Chris@4 | 5723     AR=$ac_ct_AR | 
| Chris@4 | 5724   fi | 
| Chris@4 | 5725 fi | 
| Chris@4 | 5726 | 
| Chris@4 | 5727 : ${AR=ar} | 
| Chris@4 | 5728 : ${AR_FLAGS=cru} | 
| Chris@4 | 5729 | 
| Chris@4 | 5730 | 
| Chris@4 | 5731 | 
| Chris@4 | 5732 | 
| Chris@4 | 5733 | 
| Chris@4 | 5734 | 
| Chris@4 | 5735 | 
| Chris@4 | 5736 | 
| Chris@4 | 5737 | 
| Chris@4 | 5738 | 
| Chris@4 | 5739 | 
| Chris@4 | 5740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5 | 
| Chris@4 | 5741 $as_echo_n "checking for archiver @FILE support... " >&6; } | 
| Chris@4 | 5742 if ${lt_cv_ar_at_file+:} false; then : | 
| Chris@4 | 5743   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5744 else | 
| Chris@4 | 5745   lt_cv_ar_at_file=no | 
| Chris@4 | 5746    cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 5747 /* end confdefs.h.  */ | 
| Chris@4 | 5748 | 
| Chris@4 | 5749 int | 
| Chris@4 | 5750 main () | 
| Chris@4 | 5751 { | 
| Chris@4 | 5752 | 
| Chris@4 | 5753   ; | 
| Chris@4 | 5754   return 0; | 
| Chris@4 | 5755 } | 
| Chris@4 | 5756 _ACEOF | 
| Chris@4 | 5757 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 5758   echo conftest.$ac_objext > conftest.lst | 
| Chris@4 | 5759       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5' | 
| Chris@4 | 5760       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | 
| Chris@4 | 5761   (eval $lt_ar_try) 2>&5 | 
| Chris@4 | 5762   ac_status=$? | 
| Chris@4 | 5763   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 5764   test $ac_status = 0; } | 
| Chris@4 | 5765       if test "$ac_status" -eq 0; then | 
| Chris@4 | 5766 	# Ensure the archiver fails upon bogus file names. | 
| Chris@4 | 5767 	rm -f conftest.$ac_objext libconftest.a | 
| Chris@4 | 5768 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5 | 
| Chris@4 | 5769   (eval $lt_ar_try) 2>&5 | 
| Chris@4 | 5770   ac_status=$? | 
| Chris@4 | 5771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 5772   test $ac_status = 0; } | 
| Chris@4 | 5773 	if test "$ac_status" -ne 0; then | 
| Chris@4 | 5774           lt_cv_ar_at_file=@ | 
| Chris@4 | 5775         fi | 
| Chris@4 | 5776       fi | 
| Chris@4 | 5777       rm -f conftest.* libconftest.a | 
| Chris@4 | 5778 | 
| Chris@4 | 5779 fi | 
| Chris@4 | 5780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 5781 | 
| Chris@4 | 5782 fi | 
| Chris@4 | 5783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5 | 
| Chris@4 | 5784 $as_echo "$lt_cv_ar_at_file" >&6; } | 
| Chris@4 | 5785 | 
| Chris@4 | 5786 if test "x$lt_cv_ar_at_file" = xno; then | 
| Chris@4 | 5787   archiver_list_spec= | 
| Chris@4 | 5788 else | 
| Chris@4 | 5789   archiver_list_spec=$lt_cv_ar_at_file | 
| Chris@4 | 5790 fi | 
| Chris@4 | 5791 | 
| Chris@4 | 5792 | 
| Chris@4 | 5793 | 
| Chris@4 | 5794 | 
| Chris@4 | 5795 | 
| Chris@4 | 5796 | 
| Chris@4 | 5797 | 
| Chris@4 | 5798 if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 5799   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. | 
| Chris@4 | 5800 set dummy ${ac_tool_prefix}strip; ac_word=$2 | 
| Chris@4 | 5801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5802 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5803 if ${ac_cv_prog_STRIP+:} false; then : | 
| Chris@4 | 5804   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5805 else | 
| Chris@4 | 5806   if test -n "$STRIP"; then | 
| Chris@4 | 5807   ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 
| Chris@4 | 5808 else | 
| Chris@4 | 5809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5810 for as_dir in $PATH | 
| Chris@4 | 5811 do | 
| Chris@4 | 5812   IFS=$as_save_IFS | 
| Chris@4 | 5813   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5814     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5816     ac_cv_prog_STRIP="${ac_tool_prefix}strip" | 
| Chris@4 | 5817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5818     break 2 | 
| Chris@4 | 5819   fi | 
| Chris@4 | 5820 done | 
| Chris@4 | 5821   done | 
| Chris@4 | 5822 IFS=$as_save_IFS | 
| Chris@4 | 5823 | 
| Chris@4 | 5824 fi | 
| Chris@4 | 5825 fi | 
| Chris@4 | 5826 STRIP=$ac_cv_prog_STRIP | 
| Chris@4 | 5827 if test -n "$STRIP"; then | 
| Chris@4 | 5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 | 
| Chris@4 | 5829 $as_echo "$STRIP" >&6; } | 
| Chris@4 | 5830 else | 
| Chris@4 | 5831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5832 $as_echo "no" >&6; } | 
| Chris@4 | 5833 fi | 
| Chris@4 | 5834 | 
| Chris@4 | 5835 | 
| Chris@4 | 5836 fi | 
| Chris@4 | 5837 if test -z "$ac_cv_prog_STRIP"; then | 
| Chris@4 | 5838   ac_ct_STRIP=$STRIP | 
| Chris@4 | 5839   # Extract the first word of "strip", so it can be a program name with args. | 
| Chris@4 | 5840 set dummy strip; ac_word=$2 | 
| Chris@4 | 5841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5842 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5843 if ${ac_cv_prog_ac_ct_STRIP+:} false; then : | 
| Chris@4 | 5844   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5845 else | 
| Chris@4 | 5846   if test -n "$ac_ct_STRIP"; then | 
| Chris@4 | 5847   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test. | 
| Chris@4 | 5848 else | 
| Chris@4 | 5849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5850 for as_dir in $PATH | 
| Chris@4 | 5851 do | 
| Chris@4 | 5852   IFS=$as_save_IFS | 
| Chris@4 | 5853   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5854     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5856     ac_cv_prog_ac_ct_STRIP="strip" | 
| Chris@4 | 5857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5858     break 2 | 
| Chris@4 | 5859   fi | 
| Chris@4 | 5860 done | 
| Chris@4 | 5861   done | 
| Chris@4 | 5862 IFS=$as_save_IFS | 
| Chris@4 | 5863 | 
| Chris@4 | 5864 fi | 
| Chris@4 | 5865 fi | 
| Chris@4 | 5866 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP | 
| Chris@4 | 5867 if test -n "$ac_ct_STRIP"; then | 
| Chris@4 | 5868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 | 
| Chris@4 | 5869 $as_echo "$ac_ct_STRIP" >&6; } | 
| Chris@4 | 5870 else | 
| Chris@4 | 5871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5872 $as_echo "no" >&6; } | 
| Chris@4 | 5873 fi | 
| Chris@4 | 5874 | 
| Chris@4 | 5875   if test "x$ac_ct_STRIP" = x; then | 
| Chris@4 | 5876     STRIP=":" | 
| Chris@4 | 5877   else | 
| Chris@4 | 5878     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 5879 yes:) | 
| Chris@4 | 5880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 5881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 5882 ac_tool_warned=yes ;; | 
| Chris@4 | 5883 esac | 
| Chris@4 | 5884     STRIP=$ac_ct_STRIP | 
| Chris@4 | 5885   fi | 
| Chris@4 | 5886 else | 
| Chris@4 | 5887   STRIP="$ac_cv_prog_STRIP" | 
| Chris@4 | 5888 fi | 
| Chris@4 | 5889 | 
| Chris@4 | 5890 test -z "$STRIP" && STRIP=: | 
| Chris@4 | 5891 | 
| Chris@4 | 5892 | 
| Chris@4 | 5893 | 
| Chris@4 | 5894 | 
| Chris@4 | 5895 | 
| Chris@4 | 5896 | 
| Chris@4 | 5897 if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 5898   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. | 
| Chris@4 | 5899 set dummy ${ac_tool_prefix}ranlib; ac_word=$2 | 
| Chris@4 | 5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5901 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5902 if ${ac_cv_prog_RANLIB+:} false; then : | 
| Chris@4 | 5903   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5904 else | 
| Chris@4 | 5905   if test -n "$RANLIB"; then | 
| Chris@4 | 5906   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 
| Chris@4 | 5907 else | 
| Chris@4 | 5908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5909 for as_dir in $PATH | 
| Chris@4 | 5910 do | 
| Chris@4 | 5911   IFS=$as_save_IFS | 
| Chris@4 | 5912   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5913     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5915     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" | 
| Chris@4 | 5916     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5917     break 2 | 
| Chris@4 | 5918   fi | 
| Chris@4 | 5919 done | 
| Chris@4 | 5920   done | 
| Chris@4 | 5921 IFS=$as_save_IFS | 
| Chris@4 | 5922 | 
| Chris@4 | 5923 fi | 
| Chris@4 | 5924 fi | 
| Chris@4 | 5925 RANLIB=$ac_cv_prog_RANLIB | 
| Chris@4 | 5926 if test -n "$RANLIB"; then | 
| Chris@4 | 5927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 | 
| Chris@4 | 5928 $as_echo "$RANLIB" >&6; } | 
| Chris@4 | 5929 else | 
| Chris@4 | 5930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5931 $as_echo "no" >&6; } | 
| Chris@4 | 5932 fi | 
| Chris@4 | 5933 | 
| Chris@4 | 5934 | 
| Chris@4 | 5935 fi | 
| Chris@4 | 5936 if test -z "$ac_cv_prog_RANLIB"; then | 
| Chris@4 | 5937   ac_ct_RANLIB=$RANLIB | 
| Chris@4 | 5938   # Extract the first word of "ranlib", so it can be a program name with args. | 
| Chris@4 | 5939 set dummy ranlib; ac_word=$2 | 
| Chris@4 | 5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 5941 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 5942 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : | 
| Chris@4 | 5943   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 5944 else | 
| Chris@4 | 5945   if test -n "$ac_ct_RANLIB"; then | 
| Chris@4 | 5946   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. | 
| Chris@4 | 5947 else | 
| Chris@4 | 5948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 5949 for as_dir in $PATH | 
| Chris@4 | 5950 do | 
| Chris@4 | 5951   IFS=$as_save_IFS | 
| Chris@4 | 5952   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 5953     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 5954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 5955     ac_cv_prog_ac_ct_RANLIB="ranlib" | 
| Chris@4 | 5956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 5957     break 2 | 
| Chris@4 | 5958   fi | 
| Chris@4 | 5959 done | 
| Chris@4 | 5960   done | 
| Chris@4 | 5961 IFS=$as_save_IFS | 
| Chris@4 | 5962 | 
| Chris@4 | 5963 fi | 
| Chris@4 | 5964 fi | 
| Chris@4 | 5965 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB | 
| Chris@4 | 5966 if test -n "$ac_ct_RANLIB"; then | 
| Chris@4 | 5967   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 | 
| Chris@4 | 5968 $as_echo "$ac_ct_RANLIB" >&6; } | 
| Chris@4 | 5969 else | 
| Chris@4 | 5970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 5971 $as_echo "no" >&6; } | 
| Chris@4 | 5972 fi | 
| Chris@4 | 5973 | 
| Chris@4 | 5974   if test "x$ac_ct_RANLIB" = x; then | 
| Chris@4 | 5975     RANLIB=":" | 
| Chris@4 | 5976   else | 
| Chris@4 | 5977     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 5978 yes:) | 
| Chris@4 | 5979 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 5980 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 5981 ac_tool_warned=yes ;; | 
| Chris@4 | 5982 esac | 
| Chris@4 | 5983     RANLIB=$ac_ct_RANLIB | 
| Chris@4 | 5984   fi | 
| Chris@4 | 5985 else | 
| Chris@4 | 5986   RANLIB="$ac_cv_prog_RANLIB" | 
| Chris@4 | 5987 fi | 
| Chris@4 | 5988 | 
| Chris@4 | 5989 test -z "$RANLIB" && RANLIB=: | 
| Chris@4 | 5990 | 
| Chris@4 | 5991 | 
| Chris@4 | 5992 | 
| Chris@4 | 5993 | 
| Chris@4 | 5994 | 
| Chris@4 | 5995 | 
| Chris@4 | 5996 # Determine commands to create old-style static archives. | 
| Chris@4 | 5997 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs' | 
| Chris@4 | 5998 old_postinstall_cmds='chmod 644 $oldlib' | 
| Chris@4 | 5999 old_postuninstall_cmds= | 
| Chris@4 | 6000 | 
| Chris@4 | 6001 if test -n "$RANLIB"; then | 
| Chris@4 | 6002   case $host_os in | 
| Chris@4 | 6003   openbsd*) | 
| Chris@4 | 6004     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib" | 
| Chris@4 | 6005     ;; | 
| Chris@4 | 6006   *) | 
| Chris@4 | 6007     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib" | 
| Chris@4 | 6008     ;; | 
| Chris@4 | 6009   esac | 
| Chris@4 | 6010   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" | 
| Chris@4 | 6011 fi | 
| Chris@4 | 6012 | 
| Chris@4 | 6013 case $host_os in | 
| Chris@4 | 6014   darwin*) | 
| Chris@4 | 6015     lock_old_archive_extraction=yes ;; | 
| Chris@4 | 6016   *) | 
| Chris@4 | 6017     lock_old_archive_extraction=no ;; | 
| Chris@4 | 6018 esac | 
| Chris@4 | 6019 | 
| Chris@4 | 6020 | 
| Chris@4 | 6021 | 
| Chris@4 | 6022 | 
| Chris@4 | 6023 | 
| Chris@4 | 6024 | 
| Chris@4 | 6025 | 
| Chris@4 | 6026 | 
| Chris@4 | 6027 | 
| Chris@4 | 6028 | 
| Chris@4 | 6029 | 
| Chris@4 | 6030 | 
| Chris@4 | 6031 | 
| Chris@4 | 6032 | 
| Chris@4 | 6033 | 
| Chris@4 | 6034 | 
| Chris@4 | 6035 | 
| Chris@4 | 6036 | 
| Chris@4 | 6037 | 
| Chris@4 | 6038 | 
| Chris@4 | 6039 | 
| Chris@4 | 6040 for ac_prog in gawk mawk nawk awk | 
| Chris@4 | 6041 do | 
| Chris@4 | 6042   # Extract the first word of "$ac_prog", so it can be a program name with args. | 
| Chris@4 | 6043 set dummy $ac_prog; ac_word=$2 | 
| Chris@4 | 6044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6045 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6046 if ${ac_cv_prog_AWK+:} false; then : | 
| Chris@4 | 6047   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6048 else | 
| Chris@4 | 6049   if test -n "$AWK"; then | 
| Chris@4 | 6050   ac_cv_prog_AWK="$AWK" # Let the user override the test. | 
| Chris@4 | 6051 else | 
| Chris@4 | 6052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6053 for as_dir in $PATH | 
| Chris@4 | 6054 do | 
| Chris@4 | 6055   IFS=$as_save_IFS | 
| Chris@4 | 6056   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6057     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6058   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6059     ac_cv_prog_AWK="$ac_prog" | 
| Chris@4 | 6060     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6061     break 2 | 
| Chris@4 | 6062   fi | 
| Chris@4 | 6063 done | 
| Chris@4 | 6064   done | 
| Chris@4 | 6065 IFS=$as_save_IFS | 
| Chris@4 | 6066 | 
| Chris@4 | 6067 fi | 
| Chris@4 | 6068 fi | 
| Chris@4 | 6069 AWK=$ac_cv_prog_AWK | 
| Chris@4 | 6070 if test -n "$AWK"; then | 
| Chris@4 | 6071   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 | 
| Chris@4 | 6072 $as_echo "$AWK" >&6; } | 
| Chris@4 | 6073 else | 
| Chris@4 | 6074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6075 $as_echo "no" >&6; } | 
| Chris@4 | 6076 fi | 
| Chris@4 | 6077 | 
| Chris@4 | 6078 | 
| Chris@4 | 6079   test -n "$AWK" && break | 
| Chris@4 | 6080 done | 
| Chris@4 | 6081 | 
| Chris@4 | 6082 | 
| Chris@4 | 6083 | 
| Chris@4 | 6084 | 
| Chris@4 | 6085 | 
| Chris@4 | 6086 | 
| Chris@4 | 6087 | 
| Chris@4 | 6088 | 
| Chris@4 | 6089 | 
| Chris@4 | 6090 | 
| Chris@4 | 6091 | 
| Chris@4 | 6092 | 
| Chris@4 | 6093 | 
| Chris@4 | 6094 | 
| Chris@4 | 6095 | 
| Chris@4 | 6096 | 
| Chris@4 | 6097 | 
| Chris@4 | 6098 | 
| Chris@4 | 6099 | 
| Chris@4 | 6100 # If no C compiler was specified, use CC. | 
| Chris@4 | 6101 LTCC=${LTCC-"$CC"} | 
| Chris@4 | 6102 | 
| Chris@4 | 6103 # If no C compiler flags were specified, use CFLAGS. | 
| Chris@4 | 6104 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | 
| Chris@4 | 6105 | 
| Chris@4 | 6106 # Allow CC to be a program name with arguments. | 
| Chris@4 | 6107 compiler=$CC | 
| Chris@4 | 6108 | 
| Chris@4 | 6109 | 
| Chris@4 | 6110 # Check for command to grab the raw symbol name followed by C symbol from nm. | 
| Chris@4 | 6111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 | 
| Chris@4 | 6112 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } | 
| Chris@4 | 6113 if ${lt_cv_sys_global_symbol_pipe+:} false; then : | 
| Chris@4 | 6114   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6115 else | 
| Chris@4 | 6116 | 
| Chris@4 | 6117 # These are sane defaults that work on at least a few old systems. | 
| Chris@4 | 6118 # [They come from Ultrix.  What could be older than Ultrix?!! ;)] | 
| Chris@4 | 6119 | 
| Chris@4 | 6120 # Character class describing NM global symbol codes. | 
| Chris@4 | 6121 symcode='[BCDEGRST]' | 
| Chris@4 | 6122 | 
| Chris@4 | 6123 # Regexp to match symbols that can be accessed directly from C. | 
| Chris@4 | 6124 sympat='\([_A-Za-z][_A-Za-z0-9]*\)' | 
| Chris@4 | 6125 | 
| Chris@4 | 6126 # Define system-specific variables. | 
| Chris@4 | 6127 case $host_os in | 
| Chris@4 | 6128 aix*) | 
| Chris@4 | 6129   symcode='[BCDT]' | 
| Chris@4 | 6130   ;; | 
| Chris@4 | 6131 cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 6132   symcode='[ABCDGISTW]' | 
| Chris@4 | 6133   ;; | 
| Chris@4 | 6134 hpux*) | 
| Chris@4 | 6135   if test "$host_cpu" = ia64; then | 
| Chris@4 | 6136     symcode='[ABCDEGRST]' | 
| Chris@4 | 6137   fi | 
| Chris@4 | 6138   ;; | 
| Chris@4 | 6139 irix* | nonstopux*) | 
| Chris@4 | 6140   symcode='[BCDEGRST]' | 
| Chris@4 | 6141   ;; | 
| Chris@4 | 6142 osf*) | 
| Chris@4 | 6143   symcode='[BCDEGQRST]' | 
| Chris@4 | 6144   ;; | 
| Chris@4 | 6145 solaris*) | 
| Chris@4 | 6146   symcode='[BDRT]' | 
| Chris@4 | 6147   ;; | 
| Chris@4 | 6148 sco3.2v5*) | 
| Chris@4 | 6149   symcode='[DT]' | 
| Chris@4 | 6150   ;; | 
| Chris@4 | 6151 sysv4.2uw2*) | 
| Chris@4 | 6152   symcode='[DT]' | 
| Chris@4 | 6153   ;; | 
| Chris@4 | 6154 sysv5* | sco5v6* | unixware* | OpenUNIX*) | 
| Chris@4 | 6155   symcode='[ABDT]' | 
| Chris@4 | 6156   ;; | 
| Chris@4 | 6157 sysv4) | 
| Chris@4 | 6158   symcode='[DFNSTU]' | 
| Chris@4 | 6159   ;; | 
| Chris@4 | 6160 esac | 
| Chris@4 | 6161 | 
| Chris@4 | 6162 # If we're using GNU nm, then use its standard symbol codes. | 
| Chris@4 | 6163 case `$NM -V 2>&1` in | 
| Chris@4 | 6164 *GNU* | *'with BFD'*) | 
| Chris@4 | 6165   symcode='[ABCDGIRSTW]' ;; | 
| Chris@4 | 6166 esac | 
| Chris@4 | 6167 | 
| Chris@4 | 6168 # Transform an extracted symbol line into a proper C declaration. | 
| Chris@4 | 6169 # Some systems (esp. on ia64) link data and code symbols differently, | 
| Chris@4 | 6170 # so use this general approach. | 
| Chris@4 | 6171 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" | 
| Chris@4 | 6172 | 
| Chris@4 | 6173 # Transform an extracted symbol line into symbol name and symbol address | 
| Chris@4 | 6174 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'" | 
| Chris@4 | 6175 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'" | 
| Chris@4 | 6176 | 
| Chris@4 | 6177 # Handle CRLF in mingw tool chain | 
| Chris@4 | 6178 opt_cr= | 
| Chris@4 | 6179 case $build_os in | 
| Chris@4 | 6180 mingw*) | 
| Chris@4 | 6181   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp | 
| Chris@4 | 6182   ;; | 
| Chris@4 | 6183 esac | 
| Chris@4 | 6184 | 
| Chris@4 | 6185 # Try without a prefix underscore, then with it. | 
| Chris@4 | 6186 for ac_symprfx in "" "_"; do | 
| Chris@4 | 6187 | 
| Chris@4 | 6188   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol. | 
| Chris@4 | 6189   symxfrm="\\1 $ac_symprfx\\2 \\2" | 
| Chris@4 | 6190 | 
| Chris@4 | 6191   # Write the raw and C identifiers. | 
| Chris@4 | 6192   if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 
| Chris@4 | 6193     # Fake it for dumpbin and say T for any non-static function | 
| Chris@4 | 6194     # and D for any global variable. | 
| Chris@4 | 6195     # Also find C++ and __fastcall symbols from MSVC++, | 
| Chris@4 | 6196     # which start with @ or ?. | 
| Chris@4 | 6197     lt_cv_sys_global_symbol_pipe="$AWK '"\ | 
| Chris@4 | 6198 "     {last_section=section; section=\$ 3};"\ | 
| Chris@4 | 6199 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\ | 
| Chris@4 | 6200 "     \$ 0!~/External *\|/{next};"\ | 
| Chris@4 | 6201 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\ | 
| Chris@4 | 6202 "     {if(hide[section]) next};"\ | 
| Chris@4 | 6203 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\ | 
| Chris@4 | 6204 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\ | 
| Chris@4 | 6205 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\ | 
| Chris@4 | 6206 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\ | 
| Chris@4 | 6207 "     ' prfx=^$ac_symprfx" | 
| Chris@4 | 6208   else | 
| Chris@4 | 6209     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'" | 
| Chris@4 | 6210   fi | 
| Chris@4 | 6211   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'" | 
| Chris@4 | 6212 | 
| Chris@4 | 6213   # Check to see that the pipe works correctly. | 
| Chris@4 | 6214   pipe_works=no | 
| Chris@4 | 6215 | 
| Chris@4 | 6216   rm -f conftest* | 
| Chris@4 | 6217   cat > conftest.$ac_ext <<_LT_EOF | 
| Chris@4 | 6218 #ifdef __cplusplus | 
| Chris@4 | 6219 extern "C" { | 
| Chris@4 | 6220 #endif | 
| Chris@4 | 6221 char nm_test_var; | 
| Chris@4 | 6222 void nm_test_func(void); | 
| Chris@4 | 6223 void nm_test_func(void){} | 
| Chris@4 | 6224 #ifdef __cplusplus | 
| Chris@4 | 6225 } | 
| Chris@4 | 6226 #endif | 
| Chris@4 | 6227 int main(){nm_test_var='a';nm_test_func();return(0);} | 
| Chris@4 | 6228 _LT_EOF | 
| Chris@4 | 6229 | 
| Chris@4 | 6230   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 6231   (eval $ac_compile) 2>&5 | 
| Chris@4 | 6232   ac_status=$? | 
| Chris@4 | 6233   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 6234   test $ac_status = 0; }; then | 
| Chris@4 | 6235     # Now try to grab the symbols. | 
| Chris@4 | 6236     nlist=conftest.nm | 
| Chris@4 | 6237     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5 | 
| Chris@4 | 6238   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5 | 
| Chris@4 | 6239   ac_status=$? | 
| Chris@4 | 6240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 6241   test $ac_status = 0; } && test -s "$nlist"; then | 
| Chris@4 | 6242       # Try sorting and uniquifying the output. | 
| Chris@4 | 6243       if sort "$nlist" | uniq > "$nlist"T; then | 
| Chris@4 | 6244 	mv -f "$nlist"T "$nlist" | 
| Chris@4 | 6245       else | 
| Chris@4 | 6246 	rm -f "$nlist"T | 
| Chris@4 | 6247       fi | 
| Chris@4 | 6248 | 
| Chris@4 | 6249       # Make sure that we snagged all the symbols we need. | 
| Chris@4 | 6250       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then | 
| Chris@4 | 6251 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then | 
| Chris@4 | 6252 	  cat <<_LT_EOF > conftest.$ac_ext | 
| Chris@4 | 6253 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */ | 
| Chris@4 | 6254 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE) | 
| Chris@4 | 6255 /* DATA imports from DLLs on WIN32 con't be const, because runtime | 
| Chris@4 | 6256    relocations are performed -- see ld's documentation on pseudo-relocs.  */ | 
| Chris@4 | 6257 # define LT_DLSYM_CONST | 
| Chris@4 | 6258 #elif defined(__osf__) | 
| Chris@4 | 6259 /* This system does not cope well with relocations in const data.  */ | 
| Chris@4 | 6260 # define LT_DLSYM_CONST | 
| Chris@4 | 6261 #else | 
| Chris@4 | 6262 # define LT_DLSYM_CONST const | 
| Chris@4 | 6263 #endif | 
| Chris@4 | 6264 | 
| Chris@4 | 6265 #ifdef __cplusplus | 
| Chris@4 | 6266 extern "C" { | 
| Chris@4 | 6267 #endif | 
| Chris@4 | 6268 | 
| Chris@4 | 6269 _LT_EOF | 
| Chris@4 | 6270 	  # Now generate the symbol file. | 
| Chris@4 | 6271 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext' | 
| Chris@4 | 6272 | 
| Chris@4 | 6273 	  cat <<_LT_EOF >> conftest.$ac_ext | 
| Chris@4 | 6274 | 
| Chris@4 | 6275 /* The mapping between symbol names and symbols.  */ | 
| Chris@4 | 6276 LT_DLSYM_CONST struct { | 
| Chris@4 | 6277   const char *name; | 
| Chris@4 | 6278   void       *address; | 
| Chris@4 | 6279 } | 
| Chris@4 | 6280 lt__PROGRAM__LTX_preloaded_symbols[] = | 
| Chris@4 | 6281 { | 
| Chris@4 | 6282   { "@PROGRAM@", (void *) 0 }, | 
| Chris@4 | 6283 _LT_EOF | 
| Chris@4 | 6284 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext | 
| Chris@4 | 6285 	  cat <<\_LT_EOF >> conftest.$ac_ext | 
| Chris@4 | 6286   {0, (void *) 0} | 
| Chris@4 | 6287 }; | 
| Chris@4 | 6288 | 
| Chris@4 | 6289 /* This works around a problem in FreeBSD linker */ | 
| Chris@4 | 6290 #ifdef FREEBSD_WORKAROUND | 
| Chris@4 | 6291 static const void *lt_preloaded_setup() { | 
| Chris@4 | 6292   return lt__PROGRAM__LTX_preloaded_symbols; | 
| Chris@4 | 6293 } | 
| Chris@4 | 6294 #endif | 
| Chris@4 | 6295 | 
| Chris@4 | 6296 #ifdef __cplusplus | 
| Chris@4 | 6297 } | 
| Chris@4 | 6298 #endif | 
| Chris@4 | 6299 _LT_EOF | 
| Chris@4 | 6300 	  # Now try linking the two files. | 
| Chris@4 | 6301 	  mv conftest.$ac_objext conftstm.$ac_objext | 
| Chris@4 | 6302 	  lt_globsym_save_LIBS=$LIBS | 
| Chris@4 | 6303 	  lt_globsym_save_CFLAGS=$CFLAGS | 
| Chris@4 | 6304 	  LIBS="conftstm.$ac_objext" | 
| Chris@4 | 6305 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" | 
| Chris@4 | 6306 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 
| Chris@4 | 6307   (eval $ac_link) 2>&5 | 
| Chris@4 | 6308   ac_status=$? | 
| Chris@4 | 6309   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 6310   test $ac_status = 0; } && test -s conftest${ac_exeext}; then | 
| Chris@4 | 6311 	    pipe_works=yes | 
| Chris@4 | 6312 	  fi | 
| Chris@4 | 6313 	  LIBS=$lt_globsym_save_LIBS | 
| Chris@4 | 6314 	  CFLAGS=$lt_globsym_save_CFLAGS | 
| Chris@4 | 6315 	else | 
| Chris@4 | 6316 	  echo "cannot find nm_test_func in $nlist" >&5 | 
| Chris@4 | 6317 	fi | 
| Chris@4 | 6318       else | 
| Chris@4 | 6319 	echo "cannot find nm_test_var in $nlist" >&5 | 
| Chris@4 | 6320       fi | 
| Chris@4 | 6321     else | 
| Chris@4 | 6322       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5 | 
| Chris@4 | 6323     fi | 
| Chris@4 | 6324   else | 
| Chris@4 | 6325     echo "$progname: failed program was:" >&5 | 
| Chris@4 | 6326     cat conftest.$ac_ext >&5 | 
| Chris@4 | 6327   fi | 
| Chris@4 | 6328   rm -rf conftest* conftst* | 
| Chris@4 | 6329 | 
| Chris@4 | 6330   # Do not use the global_symbol_pipe unless it works. | 
| Chris@4 | 6331   if test "$pipe_works" = yes; then | 
| Chris@4 | 6332     break | 
| Chris@4 | 6333   else | 
| Chris@4 | 6334     lt_cv_sys_global_symbol_pipe= | 
| Chris@4 | 6335   fi | 
| Chris@4 | 6336 done | 
| Chris@4 | 6337 | 
| Chris@4 | 6338 fi | 
| Chris@4 | 6339 | 
| Chris@4 | 6340 if test -z "$lt_cv_sys_global_symbol_pipe"; then | 
| Chris@4 | 6341   lt_cv_sys_global_symbol_to_cdecl= | 
| Chris@4 | 6342 fi | 
| Chris@4 | 6343 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then | 
| Chris@4 | 6344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 | 
| Chris@4 | 6345 $as_echo "failed" >&6; } | 
| Chris@4 | 6346 else | 
| Chris@4 | 6347   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 | 
| Chris@4 | 6348 $as_echo "ok" >&6; } | 
| Chris@4 | 6349 fi | 
| Chris@4 | 6350 | 
| Chris@4 | 6351 # Response file support. | 
| Chris@4 | 6352 if test "$lt_cv_nm_interface" = "MS dumpbin"; then | 
| Chris@4 | 6353   nm_file_list_spec='@' | 
| Chris@4 | 6354 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then | 
| Chris@4 | 6355   nm_file_list_spec='@' | 
| Chris@4 | 6356 fi | 
| Chris@4 | 6357 | 
| Chris@4 | 6358 | 
| Chris@4 | 6359 | 
| Chris@4 | 6360 | 
| Chris@4 | 6361 | 
| Chris@4 | 6362 | 
| Chris@4 | 6363 | 
| Chris@4 | 6364 | 
| Chris@4 | 6365 | 
| Chris@4 | 6366 | 
| Chris@4 | 6367 | 
| Chris@4 | 6368 | 
| Chris@4 | 6369 | 
| Chris@4 | 6370 | 
| Chris@4 | 6371 | 
| Chris@4 | 6372 | 
| Chris@4 | 6373 | 
| Chris@4 | 6374 | 
| Chris@4 | 6375 | 
| Chris@4 | 6376 | 
| Chris@4 | 6377 | 
| Chris@4 | 6378 | 
| Chris@4 | 6379 | 
| Chris@4 | 6380 | 
| Chris@4 | 6381 | 
| Chris@4 | 6382 | 
| Chris@4 | 6383 | 
| Chris@4 | 6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5 | 
| Chris@4 | 6385 $as_echo_n "checking for sysroot... " >&6; } | 
| Chris@4 | 6386 | 
| Chris@4 | 6387 # Check whether --with-sysroot was given. | 
| Chris@4 | 6388 if test "${with_sysroot+set}" = set; then : | 
| Chris@4 | 6389   withval=$with_sysroot; | 
| Chris@4 | 6390 else | 
| Chris@4 | 6391   with_sysroot=no | 
| Chris@4 | 6392 fi | 
| Chris@4 | 6393 | 
| Chris@4 | 6394 | 
| Chris@4 | 6395 lt_sysroot= | 
| Chris@4 | 6396 case ${with_sysroot} in #( | 
| Chris@4 | 6397  yes) | 
| Chris@4 | 6398    if test "$GCC" = yes; then | 
| Chris@4 | 6399      lt_sysroot=`$CC --print-sysroot 2>/dev/null` | 
| Chris@4 | 6400    fi | 
| Chris@4 | 6401    ;; #( | 
| Chris@4 | 6402  /*) | 
| Chris@4 | 6403    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"` | 
| Chris@4 | 6404    ;; #( | 
| Chris@4 | 6405  no|'') | 
| Chris@4 | 6406    ;; #( | 
| Chris@4 | 6407  *) | 
| Chris@4 | 6408    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5 | 
| Chris@4 | 6409 $as_echo "${with_sysroot}" >&6; } | 
| Chris@4 | 6410    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5 | 
| Chris@4 | 6411    ;; | 
| Chris@4 | 6412 esac | 
| Chris@4 | 6413 | 
| Chris@4 | 6414  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5 | 
| Chris@4 | 6415 $as_echo "${lt_sysroot:-no}" >&6; } | 
| Chris@4 | 6416 | 
| Chris@4 | 6417 | 
| Chris@4 | 6418 | 
| Chris@4 | 6419 | 
| Chris@4 | 6420 | 
| Chris@4 | 6421 # Check whether --enable-libtool-lock was given. | 
| Chris@4 | 6422 if test "${enable_libtool_lock+set}" = set; then : | 
| Chris@4 | 6423   enableval=$enable_libtool_lock; | 
| Chris@4 | 6424 fi | 
| Chris@4 | 6425 | 
| Chris@4 | 6426 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 
| Chris@4 | 6427 | 
| Chris@4 | 6428 # Some flags need to be propagated to the compiler or linker for good | 
| Chris@4 | 6429 # libtool support. | 
| Chris@4 | 6430 case $host in | 
| Chris@4 | 6431 ia64-*-hpux*) | 
| Chris@4 | 6432   # Find out which ABI we are using. | 
| Chris@4 | 6433   echo 'int i;' > conftest.$ac_ext | 
| Chris@4 | 6434   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 6435   (eval $ac_compile) 2>&5 | 
| Chris@4 | 6436   ac_status=$? | 
| Chris@4 | 6437   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 6438   test $ac_status = 0; }; then | 
| Chris@4 | 6439     case `/usr/bin/file conftest.$ac_objext` in | 
| Chris@4 | 6440       *ELF-32*) | 
| Chris@4 | 6441 	HPUX_IA64_MODE="32" | 
| Chris@4 | 6442 	;; | 
| Chris@4 | 6443       *ELF-64*) | 
| Chris@4 | 6444 	HPUX_IA64_MODE="64" | 
| Chris@4 | 6445 	;; | 
| Chris@4 | 6446     esac | 
| Chris@4 | 6447   fi | 
| Chris@4 | 6448   rm -rf conftest* | 
| Chris@4 | 6449   ;; | 
| Chris@4 | 6450 *-*-irix6*) | 
| Chris@4 | 6451   # Find out which ABI we are using. | 
| Chris@4 | 6452   echo '#line '$LINENO' "configure"' > conftest.$ac_ext | 
| Chris@4 | 6453   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 6454   (eval $ac_compile) 2>&5 | 
| Chris@4 | 6455   ac_status=$? | 
| Chris@4 | 6456   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 6457   test $ac_status = 0; }; then | 
| Chris@4 | 6458     if test "$lt_cv_prog_gnu_ld" = yes; then | 
| Chris@4 | 6459       case `/usr/bin/file conftest.$ac_objext` in | 
| Chris@4 | 6460 	*32-bit*) | 
| Chris@4 | 6461 	  LD="${LD-ld} -melf32bsmip" | 
| Chris@4 | 6462 	  ;; | 
| Chris@4 | 6463 	*N32*) | 
| Chris@4 | 6464 	  LD="${LD-ld} -melf32bmipn32" | 
| Chris@4 | 6465 	  ;; | 
| Chris@4 | 6466 	*64-bit*) | 
| Chris@4 | 6467 	  LD="${LD-ld} -melf64bmip" | 
| Chris@4 | 6468 	;; | 
| Chris@4 | 6469       esac | 
| Chris@4 | 6470     else | 
| Chris@4 | 6471       case `/usr/bin/file conftest.$ac_objext` in | 
| Chris@4 | 6472 	*32-bit*) | 
| Chris@4 | 6473 	  LD="${LD-ld} -32" | 
| Chris@4 | 6474 	  ;; | 
| Chris@4 | 6475 	*N32*) | 
| Chris@4 | 6476 	  LD="${LD-ld} -n32" | 
| Chris@4 | 6477 	  ;; | 
| Chris@4 | 6478 	*64-bit*) | 
| Chris@4 | 6479 	  LD="${LD-ld} -64" | 
| Chris@4 | 6480 	  ;; | 
| Chris@4 | 6481       esac | 
| Chris@4 | 6482     fi | 
| Chris@4 | 6483   fi | 
| Chris@4 | 6484   rm -rf conftest* | 
| Chris@4 | 6485   ;; | 
| Chris@4 | 6486 | 
| Chris@4 | 6487 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ | 
| Chris@4 | 6488 s390*-*linux*|s390*-*tpf*|sparc*-*linux*) | 
| Chris@4 | 6489   # Find out which ABI we are using. | 
| Chris@4 | 6490   echo 'int i;' > conftest.$ac_ext | 
| Chris@4 | 6491   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 6492   (eval $ac_compile) 2>&5 | 
| Chris@4 | 6493   ac_status=$? | 
| Chris@4 | 6494   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 6495   test $ac_status = 0; }; then | 
| Chris@4 | 6496     case `/usr/bin/file conftest.o` in | 
| Chris@4 | 6497       *32-bit*) | 
| Chris@4 | 6498 	case $host in | 
| Chris@4 | 6499 	  x86_64-*kfreebsd*-gnu) | 
| Chris@4 | 6500 	    LD="${LD-ld} -m elf_i386_fbsd" | 
| Chris@4 | 6501 	    ;; | 
| Chris@4 | 6502 	  x86_64-*linux*) | 
| Chris@4 | 6503 	    LD="${LD-ld} -m elf_i386" | 
| Chris@4 | 6504 	    ;; | 
| Chris@4 | 6505 	  ppc64-*linux*|powerpc64-*linux*) | 
| Chris@4 | 6506 	    LD="${LD-ld} -m elf32ppclinux" | 
| Chris@4 | 6507 	    ;; | 
| Chris@4 | 6508 	  s390x-*linux*) | 
| Chris@4 | 6509 	    LD="${LD-ld} -m elf_s390" | 
| Chris@4 | 6510 	    ;; | 
| Chris@4 | 6511 	  sparc64-*linux*) | 
| Chris@4 | 6512 	    LD="${LD-ld} -m elf32_sparc" | 
| Chris@4 | 6513 	    ;; | 
| Chris@4 | 6514 	esac | 
| Chris@4 | 6515 	;; | 
| Chris@4 | 6516       *64-bit*) | 
| Chris@4 | 6517 	case $host in | 
| Chris@4 | 6518 	  x86_64-*kfreebsd*-gnu) | 
| Chris@4 | 6519 	    LD="${LD-ld} -m elf_x86_64_fbsd" | 
| Chris@4 | 6520 	    ;; | 
| Chris@4 | 6521 	  x86_64-*linux*) | 
| Chris@4 | 6522 	    LD="${LD-ld} -m elf_x86_64" | 
| Chris@4 | 6523 	    ;; | 
| Chris@4 | 6524 	  ppc*-*linux*|powerpc*-*linux*) | 
| Chris@4 | 6525 	    LD="${LD-ld} -m elf64ppc" | 
| Chris@4 | 6526 	    ;; | 
| Chris@4 | 6527 	  s390*-*linux*|s390*-*tpf*) | 
| Chris@4 | 6528 	    LD="${LD-ld} -m elf64_s390" | 
| Chris@4 | 6529 	    ;; | 
| Chris@4 | 6530 	  sparc*-*linux*) | 
| Chris@4 | 6531 	    LD="${LD-ld} -m elf64_sparc" | 
| Chris@4 | 6532 	    ;; | 
| Chris@4 | 6533 	esac | 
| Chris@4 | 6534 	;; | 
| Chris@4 | 6535     esac | 
| Chris@4 | 6536   fi | 
| Chris@4 | 6537   rm -rf conftest* | 
| Chris@4 | 6538   ;; | 
| Chris@4 | 6539 | 
| Chris@4 | 6540 *-*-sco3.2v5*) | 
| Chris@4 | 6541   # On SCO OpenServer 5, we need -belf to get full-featured binaries. | 
| Chris@4 | 6542   SAVE_CFLAGS="$CFLAGS" | 
| Chris@4 | 6543   CFLAGS="$CFLAGS -belf" | 
| Chris@4 | 6544   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 | 
| Chris@4 | 6545 $as_echo_n "checking whether the C compiler needs -belf... " >&6; } | 
| Chris@4 | 6546 if ${lt_cv_cc_needs_belf+:} false; then : | 
| Chris@4 | 6547   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6548 else | 
| Chris@4 | 6549   ac_ext=c | 
| Chris@4 | 6550 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 6551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 6552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 6553 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 6554 | 
| Chris@4 | 6555      cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 6556 /* end confdefs.h.  */ | 
| Chris@4 | 6557 | 
| Chris@4 | 6558 int | 
| Chris@4 | 6559 main () | 
| Chris@4 | 6560 { | 
| Chris@4 | 6561 | 
| Chris@4 | 6562   ; | 
| Chris@4 | 6563   return 0; | 
| Chris@4 | 6564 } | 
| Chris@4 | 6565 _ACEOF | 
| Chris@4 | 6566 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 6567   lt_cv_cc_needs_belf=yes | 
| Chris@4 | 6568 else | 
| Chris@4 | 6569   lt_cv_cc_needs_belf=no | 
| Chris@4 | 6570 fi | 
| Chris@4 | 6571 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 6572     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 6573      ac_ext=c | 
| Chris@4 | 6574 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 6575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 6576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 6577 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 6578 | 
| Chris@4 | 6579 fi | 
| Chris@4 | 6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 | 
| Chris@4 | 6581 $as_echo "$lt_cv_cc_needs_belf" >&6; } | 
| Chris@4 | 6582   if test x"$lt_cv_cc_needs_belf" != x"yes"; then | 
| Chris@4 | 6583     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf | 
| Chris@4 | 6584     CFLAGS="$SAVE_CFLAGS" | 
| Chris@4 | 6585   fi | 
| Chris@4 | 6586   ;; | 
| Chris@4 | 6587 sparc*-*solaris*) | 
| Chris@4 | 6588   # Find out which ABI we are using. | 
| Chris@4 | 6589   echo 'int i;' > conftest.$ac_ext | 
| Chris@4 | 6590   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 6591   (eval $ac_compile) 2>&5 | 
| Chris@4 | 6592   ac_status=$? | 
| Chris@4 | 6593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 6594   test $ac_status = 0; }; then | 
| Chris@4 | 6595     case `/usr/bin/file conftest.o` in | 
| Chris@4 | 6596     *64-bit*) | 
| Chris@4 | 6597       case $lt_cv_prog_gnu_ld in | 
| Chris@4 | 6598       yes*) LD="${LD-ld} -m elf64_sparc" ;; | 
| Chris@4 | 6599       *) | 
| Chris@4 | 6600 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then | 
| Chris@4 | 6601 	  LD="${LD-ld} -64" | 
| Chris@4 | 6602 	fi | 
| Chris@4 | 6603 	;; | 
| Chris@4 | 6604       esac | 
| Chris@4 | 6605       ;; | 
| Chris@4 | 6606     esac | 
| Chris@4 | 6607   fi | 
| Chris@4 | 6608   rm -rf conftest* | 
| Chris@4 | 6609   ;; | 
| Chris@4 | 6610 esac | 
| Chris@4 | 6611 | 
| Chris@4 | 6612 need_locks="$enable_libtool_lock" | 
| Chris@4 | 6613 | 
| Chris@4 | 6614 if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 6615   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args. | 
| Chris@4 | 6616 set dummy ${ac_tool_prefix}mt; ac_word=$2 | 
| Chris@4 | 6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6618 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6619 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then : | 
| Chris@4 | 6620   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6621 else | 
| Chris@4 | 6622   if test -n "$MANIFEST_TOOL"; then | 
| Chris@4 | 6623   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test. | 
| Chris@4 | 6624 else | 
| Chris@4 | 6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6626 for as_dir in $PATH | 
| Chris@4 | 6627 do | 
| Chris@4 | 6628   IFS=$as_save_IFS | 
| Chris@4 | 6629   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6630     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6632     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt" | 
| Chris@4 | 6633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6634     break 2 | 
| Chris@4 | 6635   fi | 
| Chris@4 | 6636 done | 
| Chris@4 | 6637   done | 
| Chris@4 | 6638 IFS=$as_save_IFS | 
| Chris@4 | 6639 | 
| Chris@4 | 6640 fi | 
| Chris@4 | 6641 fi | 
| Chris@4 | 6642 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL | 
| Chris@4 | 6643 if test -n "$MANIFEST_TOOL"; then | 
| Chris@4 | 6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5 | 
| Chris@4 | 6645 $as_echo "$MANIFEST_TOOL" >&6; } | 
| Chris@4 | 6646 else | 
| Chris@4 | 6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6648 $as_echo "no" >&6; } | 
| Chris@4 | 6649 fi | 
| Chris@4 | 6650 | 
| Chris@4 | 6651 | 
| Chris@4 | 6652 fi | 
| Chris@4 | 6653 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then | 
| Chris@4 | 6654   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL | 
| Chris@4 | 6655   # Extract the first word of "mt", so it can be a program name with args. | 
| Chris@4 | 6656 set dummy mt; ac_word=$2 | 
| Chris@4 | 6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6658 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6659 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then : | 
| Chris@4 | 6660   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6661 else | 
| Chris@4 | 6662   if test -n "$ac_ct_MANIFEST_TOOL"; then | 
| Chris@4 | 6663   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test. | 
| Chris@4 | 6664 else | 
| Chris@4 | 6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6666 for as_dir in $PATH | 
| Chris@4 | 6667 do | 
| Chris@4 | 6668   IFS=$as_save_IFS | 
| Chris@4 | 6669   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6670     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6672     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt" | 
| Chris@4 | 6673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6674     break 2 | 
| Chris@4 | 6675   fi | 
| Chris@4 | 6676 done | 
| Chris@4 | 6677   done | 
| Chris@4 | 6678 IFS=$as_save_IFS | 
| Chris@4 | 6679 | 
| Chris@4 | 6680 fi | 
| Chris@4 | 6681 fi | 
| Chris@4 | 6682 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL | 
| Chris@4 | 6683 if test -n "$ac_ct_MANIFEST_TOOL"; then | 
| Chris@4 | 6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5 | 
| Chris@4 | 6685 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; } | 
| Chris@4 | 6686 else | 
| Chris@4 | 6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6688 $as_echo "no" >&6; } | 
| Chris@4 | 6689 fi | 
| Chris@4 | 6690 | 
| Chris@4 | 6691   if test "x$ac_ct_MANIFEST_TOOL" = x; then | 
| Chris@4 | 6692     MANIFEST_TOOL=":" | 
| Chris@4 | 6693   else | 
| Chris@4 | 6694     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 6695 yes:) | 
| Chris@4 | 6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 6698 ac_tool_warned=yes ;; | 
| Chris@4 | 6699 esac | 
| Chris@4 | 6700     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL | 
| Chris@4 | 6701   fi | 
| Chris@4 | 6702 else | 
| Chris@4 | 6703   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL" | 
| Chris@4 | 6704 fi | 
| Chris@4 | 6705 | 
| Chris@4 | 6706 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt | 
| Chris@4 | 6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5 | 
| Chris@4 | 6708 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; } | 
| Chris@4 | 6709 if ${lt_cv_path_mainfest_tool+:} false; then : | 
| Chris@4 | 6710   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6711 else | 
| Chris@4 | 6712   lt_cv_path_mainfest_tool=no | 
| Chris@4 | 6713   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5 | 
| Chris@4 | 6714   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out | 
| Chris@4 | 6715   cat conftest.err >&5 | 
| Chris@4 | 6716   if $GREP 'Manifest Tool' conftest.out > /dev/null; then | 
| Chris@4 | 6717     lt_cv_path_mainfest_tool=yes | 
| Chris@4 | 6718   fi | 
| Chris@4 | 6719   rm -f conftest* | 
| Chris@4 | 6720 fi | 
| Chris@4 | 6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5 | 
| Chris@4 | 6722 $as_echo "$lt_cv_path_mainfest_tool" >&6; } | 
| Chris@4 | 6723 if test "x$lt_cv_path_mainfest_tool" != xyes; then | 
| Chris@4 | 6724   MANIFEST_TOOL=: | 
| Chris@4 | 6725 fi | 
| Chris@4 | 6726 | 
| Chris@4 | 6727 | 
| Chris@4 | 6728 | 
| Chris@4 | 6729 | 
| Chris@4 | 6730 | 
| Chris@4 | 6731 | 
| Chris@4 | 6732   case $host_os in | 
| Chris@4 | 6733     rhapsody* | darwin*) | 
| Chris@4 | 6734     if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 6735   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. | 
| Chris@4 | 6736 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 | 
| Chris@4 | 6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6738 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6739 if ${ac_cv_prog_DSYMUTIL+:} false; then : | 
| Chris@4 | 6740   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6741 else | 
| Chris@4 | 6742   if test -n "$DSYMUTIL"; then | 
| Chris@4 | 6743   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test. | 
| Chris@4 | 6744 else | 
| Chris@4 | 6745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6746 for as_dir in $PATH | 
| Chris@4 | 6747 do | 
| Chris@4 | 6748   IFS=$as_save_IFS | 
| Chris@4 | 6749   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6750     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6751   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6752     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" | 
| Chris@4 | 6753     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6754     break 2 | 
| Chris@4 | 6755   fi | 
| Chris@4 | 6756 done | 
| Chris@4 | 6757   done | 
| Chris@4 | 6758 IFS=$as_save_IFS | 
| Chris@4 | 6759 | 
| Chris@4 | 6760 fi | 
| Chris@4 | 6761 fi | 
| Chris@4 | 6762 DSYMUTIL=$ac_cv_prog_DSYMUTIL | 
| Chris@4 | 6763 if test -n "$DSYMUTIL"; then | 
| Chris@4 | 6764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 | 
| Chris@4 | 6765 $as_echo "$DSYMUTIL" >&6; } | 
| Chris@4 | 6766 else | 
| Chris@4 | 6767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6768 $as_echo "no" >&6; } | 
| Chris@4 | 6769 fi | 
| Chris@4 | 6770 | 
| Chris@4 | 6771 | 
| Chris@4 | 6772 fi | 
| Chris@4 | 6773 if test -z "$ac_cv_prog_DSYMUTIL"; then | 
| Chris@4 | 6774   ac_ct_DSYMUTIL=$DSYMUTIL | 
| Chris@4 | 6775   # Extract the first word of "dsymutil", so it can be a program name with args. | 
| Chris@4 | 6776 set dummy dsymutil; ac_word=$2 | 
| Chris@4 | 6777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6778 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6779 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then : | 
| Chris@4 | 6780   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6781 else | 
| Chris@4 | 6782   if test -n "$ac_ct_DSYMUTIL"; then | 
| Chris@4 | 6783   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test. | 
| Chris@4 | 6784 else | 
| Chris@4 | 6785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6786 for as_dir in $PATH | 
| Chris@4 | 6787 do | 
| Chris@4 | 6788   IFS=$as_save_IFS | 
| Chris@4 | 6789   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6790     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6791   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6792     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" | 
| Chris@4 | 6793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6794     break 2 | 
| Chris@4 | 6795   fi | 
| Chris@4 | 6796 done | 
| Chris@4 | 6797   done | 
| Chris@4 | 6798 IFS=$as_save_IFS | 
| Chris@4 | 6799 | 
| Chris@4 | 6800 fi | 
| Chris@4 | 6801 fi | 
| Chris@4 | 6802 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL | 
| Chris@4 | 6803 if test -n "$ac_ct_DSYMUTIL"; then | 
| Chris@4 | 6804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 | 
| Chris@4 | 6805 $as_echo "$ac_ct_DSYMUTIL" >&6; } | 
| Chris@4 | 6806 else | 
| Chris@4 | 6807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6808 $as_echo "no" >&6; } | 
| Chris@4 | 6809 fi | 
| Chris@4 | 6810 | 
| Chris@4 | 6811   if test "x$ac_ct_DSYMUTIL" = x; then | 
| Chris@4 | 6812     DSYMUTIL=":" | 
| Chris@4 | 6813   else | 
| Chris@4 | 6814     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 6815 yes:) | 
| Chris@4 | 6816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 6817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 6818 ac_tool_warned=yes ;; | 
| Chris@4 | 6819 esac | 
| Chris@4 | 6820     DSYMUTIL=$ac_ct_DSYMUTIL | 
| Chris@4 | 6821   fi | 
| Chris@4 | 6822 else | 
| Chris@4 | 6823   DSYMUTIL="$ac_cv_prog_DSYMUTIL" | 
| Chris@4 | 6824 fi | 
| Chris@4 | 6825 | 
| Chris@4 | 6826     if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 6827   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. | 
| Chris@4 | 6828 set dummy ${ac_tool_prefix}nmedit; ac_word=$2 | 
| Chris@4 | 6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6830 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6831 if ${ac_cv_prog_NMEDIT+:} false; then : | 
| Chris@4 | 6832   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6833 else | 
| Chris@4 | 6834   if test -n "$NMEDIT"; then | 
| Chris@4 | 6835   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test. | 
| Chris@4 | 6836 else | 
| Chris@4 | 6837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6838 for as_dir in $PATH | 
| Chris@4 | 6839 do | 
| Chris@4 | 6840   IFS=$as_save_IFS | 
| Chris@4 | 6841   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6842     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6844     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" | 
| Chris@4 | 6845     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6846     break 2 | 
| Chris@4 | 6847   fi | 
| Chris@4 | 6848 done | 
| Chris@4 | 6849   done | 
| Chris@4 | 6850 IFS=$as_save_IFS | 
| Chris@4 | 6851 | 
| Chris@4 | 6852 fi | 
| Chris@4 | 6853 fi | 
| Chris@4 | 6854 NMEDIT=$ac_cv_prog_NMEDIT | 
| Chris@4 | 6855 if test -n "$NMEDIT"; then | 
| Chris@4 | 6856   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 | 
| Chris@4 | 6857 $as_echo "$NMEDIT" >&6; } | 
| Chris@4 | 6858 else | 
| Chris@4 | 6859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6860 $as_echo "no" >&6; } | 
| Chris@4 | 6861 fi | 
| Chris@4 | 6862 | 
| Chris@4 | 6863 | 
| Chris@4 | 6864 fi | 
| Chris@4 | 6865 if test -z "$ac_cv_prog_NMEDIT"; then | 
| Chris@4 | 6866   ac_ct_NMEDIT=$NMEDIT | 
| Chris@4 | 6867   # Extract the first word of "nmedit", so it can be a program name with args. | 
| Chris@4 | 6868 set dummy nmedit; ac_word=$2 | 
| Chris@4 | 6869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6870 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6871 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then : | 
| Chris@4 | 6872   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6873 else | 
| Chris@4 | 6874   if test -n "$ac_ct_NMEDIT"; then | 
| Chris@4 | 6875   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test. | 
| Chris@4 | 6876 else | 
| Chris@4 | 6877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6878 for as_dir in $PATH | 
| Chris@4 | 6879 do | 
| Chris@4 | 6880   IFS=$as_save_IFS | 
| Chris@4 | 6881   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6882     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6883   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6884     ac_cv_prog_ac_ct_NMEDIT="nmedit" | 
| Chris@4 | 6885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6886     break 2 | 
| Chris@4 | 6887   fi | 
| Chris@4 | 6888 done | 
| Chris@4 | 6889   done | 
| Chris@4 | 6890 IFS=$as_save_IFS | 
| Chris@4 | 6891 | 
| Chris@4 | 6892 fi | 
| Chris@4 | 6893 fi | 
| Chris@4 | 6894 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT | 
| Chris@4 | 6895 if test -n "$ac_ct_NMEDIT"; then | 
| Chris@4 | 6896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 | 
| Chris@4 | 6897 $as_echo "$ac_ct_NMEDIT" >&6; } | 
| Chris@4 | 6898 else | 
| Chris@4 | 6899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6900 $as_echo "no" >&6; } | 
| Chris@4 | 6901 fi | 
| Chris@4 | 6902 | 
| Chris@4 | 6903   if test "x$ac_ct_NMEDIT" = x; then | 
| Chris@4 | 6904     NMEDIT=":" | 
| Chris@4 | 6905   else | 
| Chris@4 | 6906     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 6907 yes:) | 
| Chris@4 | 6908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 6909 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 6910 ac_tool_warned=yes ;; | 
| Chris@4 | 6911 esac | 
| Chris@4 | 6912     NMEDIT=$ac_ct_NMEDIT | 
| Chris@4 | 6913   fi | 
| Chris@4 | 6914 else | 
| Chris@4 | 6915   NMEDIT="$ac_cv_prog_NMEDIT" | 
| Chris@4 | 6916 fi | 
| Chris@4 | 6917 | 
| Chris@4 | 6918     if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 6919   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. | 
| Chris@4 | 6920 set dummy ${ac_tool_prefix}lipo; ac_word=$2 | 
| Chris@4 | 6921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6922 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6923 if ${ac_cv_prog_LIPO+:} false; then : | 
| Chris@4 | 6924   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6925 else | 
| Chris@4 | 6926   if test -n "$LIPO"; then | 
| Chris@4 | 6927   ac_cv_prog_LIPO="$LIPO" # Let the user override the test. | 
| Chris@4 | 6928 else | 
| Chris@4 | 6929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6930 for as_dir in $PATH | 
| Chris@4 | 6931 do | 
| Chris@4 | 6932   IFS=$as_save_IFS | 
| Chris@4 | 6933   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6934     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6936     ac_cv_prog_LIPO="${ac_tool_prefix}lipo" | 
| Chris@4 | 6937     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6938     break 2 | 
| Chris@4 | 6939   fi | 
| Chris@4 | 6940 done | 
| Chris@4 | 6941   done | 
| Chris@4 | 6942 IFS=$as_save_IFS | 
| Chris@4 | 6943 | 
| Chris@4 | 6944 fi | 
| Chris@4 | 6945 fi | 
| Chris@4 | 6946 LIPO=$ac_cv_prog_LIPO | 
| Chris@4 | 6947 if test -n "$LIPO"; then | 
| Chris@4 | 6948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 | 
| Chris@4 | 6949 $as_echo "$LIPO" >&6; } | 
| Chris@4 | 6950 else | 
| Chris@4 | 6951   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6952 $as_echo "no" >&6; } | 
| Chris@4 | 6953 fi | 
| Chris@4 | 6954 | 
| Chris@4 | 6955 | 
| Chris@4 | 6956 fi | 
| Chris@4 | 6957 if test -z "$ac_cv_prog_LIPO"; then | 
| Chris@4 | 6958   ac_ct_LIPO=$LIPO | 
| Chris@4 | 6959   # Extract the first word of "lipo", so it can be a program name with args. | 
| Chris@4 | 6960 set dummy lipo; ac_word=$2 | 
| Chris@4 | 6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 6962 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 6963 if ${ac_cv_prog_ac_ct_LIPO+:} false; then : | 
| Chris@4 | 6964   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 6965 else | 
| Chris@4 | 6966   if test -n "$ac_ct_LIPO"; then | 
| Chris@4 | 6967   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test. | 
| Chris@4 | 6968 else | 
| Chris@4 | 6969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 6970 for as_dir in $PATH | 
| Chris@4 | 6971 do | 
| Chris@4 | 6972   IFS=$as_save_IFS | 
| Chris@4 | 6973   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 6974     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 6975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 6976     ac_cv_prog_ac_ct_LIPO="lipo" | 
| Chris@4 | 6977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 6978     break 2 | 
| Chris@4 | 6979   fi | 
| Chris@4 | 6980 done | 
| Chris@4 | 6981   done | 
| Chris@4 | 6982 IFS=$as_save_IFS | 
| Chris@4 | 6983 | 
| Chris@4 | 6984 fi | 
| Chris@4 | 6985 fi | 
| Chris@4 | 6986 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO | 
| Chris@4 | 6987 if test -n "$ac_ct_LIPO"; then | 
| Chris@4 | 6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 | 
| Chris@4 | 6989 $as_echo "$ac_ct_LIPO" >&6; } | 
| Chris@4 | 6990 else | 
| Chris@4 | 6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 6992 $as_echo "no" >&6; } | 
| Chris@4 | 6993 fi | 
| Chris@4 | 6994 | 
| Chris@4 | 6995   if test "x$ac_ct_LIPO" = x; then | 
| Chris@4 | 6996     LIPO=":" | 
| Chris@4 | 6997   else | 
| Chris@4 | 6998     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 6999 yes:) | 
| Chris@4 | 7000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 7001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 7002 ac_tool_warned=yes ;; | 
| Chris@4 | 7003 esac | 
| Chris@4 | 7004     LIPO=$ac_ct_LIPO | 
| Chris@4 | 7005   fi | 
| Chris@4 | 7006 else | 
| Chris@4 | 7007   LIPO="$ac_cv_prog_LIPO" | 
| Chris@4 | 7008 fi | 
| Chris@4 | 7009 | 
| Chris@4 | 7010     if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 7011   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. | 
| Chris@4 | 7012 set dummy ${ac_tool_prefix}otool; ac_word=$2 | 
| Chris@4 | 7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 7014 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 7015 if ${ac_cv_prog_OTOOL+:} false; then : | 
| Chris@4 | 7016   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7017 else | 
| Chris@4 | 7018   if test -n "$OTOOL"; then | 
| Chris@4 | 7019   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test. | 
| Chris@4 | 7020 else | 
| Chris@4 | 7021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 7022 for as_dir in $PATH | 
| Chris@4 | 7023 do | 
| Chris@4 | 7024   IFS=$as_save_IFS | 
| Chris@4 | 7025   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 7026     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 7027   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 7028     ac_cv_prog_OTOOL="${ac_tool_prefix}otool" | 
| Chris@4 | 7029     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 7030     break 2 | 
| Chris@4 | 7031   fi | 
| Chris@4 | 7032 done | 
| Chris@4 | 7033   done | 
| Chris@4 | 7034 IFS=$as_save_IFS | 
| Chris@4 | 7035 | 
| Chris@4 | 7036 fi | 
| Chris@4 | 7037 fi | 
| Chris@4 | 7038 OTOOL=$ac_cv_prog_OTOOL | 
| Chris@4 | 7039 if test -n "$OTOOL"; then | 
| Chris@4 | 7040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 | 
| Chris@4 | 7041 $as_echo "$OTOOL" >&6; } | 
| Chris@4 | 7042 else | 
| Chris@4 | 7043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 7044 $as_echo "no" >&6; } | 
| Chris@4 | 7045 fi | 
| Chris@4 | 7046 | 
| Chris@4 | 7047 | 
| Chris@4 | 7048 fi | 
| Chris@4 | 7049 if test -z "$ac_cv_prog_OTOOL"; then | 
| Chris@4 | 7050   ac_ct_OTOOL=$OTOOL | 
| Chris@4 | 7051   # Extract the first word of "otool", so it can be a program name with args. | 
| Chris@4 | 7052 set dummy otool; ac_word=$2 | 
| Chris@4 | 7053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 7054 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 7055 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then : | 
| Chris@4 | 7056   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7057 else | 
| Chris@4 | 7058   if test -n "$ac_ct_OTOOL"; then | 
| Chris@4 | 7059   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test. | 
| Chris@4 | 7060 else | 
| Chris@4 | 7061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 7062 for as_dir in $PATH | 
| Chris@4 | 7063 do | 
| Chris@4 | 7064   IFS=$as_save_IFS | 
| Chris@4 | 7065   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 7066     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 7067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 7068     ac_cv_prog_ac_ct_OTOOL="otool" | 
| Chris@4 | 7069     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 7070     break 2 | 
| Chris@4 | 7071   fi | 
| Chris@4 | 7072 done | 
| Chris@4 | 7073   done | 
| Chris@4 | 7074 IFS=$as_save_IFS | 
| Chris@4 | 7075 | 
| Chris@4 | 7076 fi | 
| Chris@4 | 7077 fi | 
| Chris@4 | 7078 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL | 
| Chris@4 | 7079 if test -n "$ac_ct_OTOOL"; then | 
| Chris@4 | 7080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 | 
| Chris@4 | 7081 $as_echo "$ac_ct_OTOOL" >&6; } | 
| Chris@4 | 7082 else | 
| Chris@4 | 7083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 7084 $as_echo "no" >&6; } | 
| Chris@4 | 7085 fi | 
| Chris@4 | 7086 | 
| Chris@4 | 7087   if test "x$ac_ct_OTOOL" = x; then | 
| Chris@4 | 7088     OTOOL=":" | 
| Chris@4 | 7089   else | 
| Chris@4 | 7090     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 7091 yes:) | 
| Chris@4 | 7092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 7093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 7094 ac_tool_warned=yes ;; | 
| Chris@4 | 7095 esac | 
| Chris@4 | 7096     OTOOL=$ac_ct_OTOOL | 
| Chris@4 | 7097   fi | 
| Chris@4 | 7098 else | 
| Chris@4 | 7099   OTOOL="$ac_cv_prog_OTOOL" | 
| Chris@4 | 7100 fi | 
| Chris@4 | 7101 | 
| Chris@4 | 7102     if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 7103   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. | 
| Chris@4 | 7104 set dummy ${ac_tool_prefix}otool64; ac_word=$2 | 
| Chris@4 | 7105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 7106 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 7107 if ${ac_cv_prog_OTOOL64+:} false; then : | 
| Chris@4 | 7108   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7109 else | 
| Chris@4 | 7110   if test -n "$OTOOL64"; then | 
| Chris@4 | 7111   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test. | 
| Chris@4 | 7112 else | 
| Chris@4 | 7113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 7114 for as_dir in $PATH | 
| Chris@4 | 7115 do | 
| Chris@4 | 7116   IFS=$as_save_IFS | 
| Chris@4 | 7117   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 7118     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 7119   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 7120     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" | 
| Chris@4 | 7121     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 7122     break 2 | 
| Chris@4 | 7123   fi | 
| Chris@4 | 7124 done | 
| Chris@4 | 7125   done | 
| Chris@4 | 7126 IFS=$as_save_IFS | 
| Chris@4 | 7127 | 
| Chris@4 | 7128 fi | 
| Chris@4 | 7129 fi | 
| Chris@4 | 7130 OTOOL64=$ac_cv_prog_OTOOL64 | 
| Chris@4 | 7131 if test -n "$OTOOL64"; then | 
| Chris@4 | 7132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 | 
| Chris@4 | 7133 $as_echo "$OTOOL64" >&6; } | 
| Chris@4 | 7134 else | 
| Chris@4 | 7135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 7136 $as_echo "no" >&6; } | 
| Chris@4 | 7137 fi | 
| Chris@4 | 7138 | 
| Chris@4 | 7139 | 
| Chris@4 | 7140 fi | 
| Chris@4 | 7141 if test -z "$ac_cv_prog_OTOOL64"; then | 
| Chris@4 | 7142   ac_ct_OTOOL64=$OTOOL64 | 
| Chris@4 | 7143   # Extract the first word of "otool64", so it can be a program name with args. | 
| Chris@4 | 7144 set dummy otool64; ac_word=$2 | 
| Chris@4 | 7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 7146 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 7147 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then : | 
| Chris@4 | 7148   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7149 else | 
| Chris@4 | 7150   if test -n "$ac_ct_OTOOL64"; then | 
| Chris@4 | 7151   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test. | 
| Chris@4 | 7152 else | 
| Chris@4 | 7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 7154 for as_dir in $PATH | 
| Chris@4 | 7155 do | 
| Chris@4 | 7156   IFS=$as_save_IFS | 
| Chris@4 | 7157   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 7158     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 7159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 7160     ac_cv_prog_ac_ct_OTOOL64="otool64" | 
| Chris@4 | 7161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 7162     break 2 | 
| Chris@4 | 7163   fi | 
| Chris@4 | 7164 done | 
| Chris@4 | 7165   done | 
| Chris@4 | 7166 IFS=$as_save_IFS | 
| Chris@4 | 7167 | 
| Chris@4 | 7168 fi | 
| Chris@4 | 7169 fi | 
| Chris@4 | 7170 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 | 
| Chris@4 | 7171 if test -n "$ac_ct_OTOOL64"; then | 
| Chris@4 | 7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 | 
| Chris@4 | 7173 $as_echo "$ac_ct_OTOOL64" >&6; } | 
| Chris@4 | 7174 else | 
| Chris@4 | 7175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 7176 $as_echo "no" >&6; } | 
| Chris@4 | 7177 fi | 
| Chris@4 | 7178 | 
| Chris@4 | 7179   if test "x$ac_ct_OTOOL64" = x; then | 
| Chris@4 | 7180     OTOOL64=":" | 
| Chris@4 | 7181   else | 
| Chris@4 | 7182     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 7183 yes:) | 
| Chris@4 | 7184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 7185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 7186 ac_tool_warned=yes ;; | 
| Chris@4 | 7187 esac | 
| Chris@4 | 7188     OTOOL64=$ac_ct_OTOOL64 | 
| Chris@4 | 7189   fi | 
| Chris@4 | 7190 else | 
| Chris@4 | 7191   OTOOL64="$ac_cv_prog_OTOOL64" | 
| Chris@4 | 7192 fi | 
| Chris@4 | 7193 | 
| Chris@4 | 7194 | 
| Chris@4 | 7195 | 
| Chris@4 | 7196 | 
| Chris@4 | 7197 | 
| Chris@4 | 7198 | 
| Chris@4 | 7199 | 
| Chris@4 | 7200 | 
| Chris@4 | 7201 | 
| Chris@4 | 7202 | 
| Chris@4 | 7203 | 
| Chris@4 | 7204 | 
| Chris@4 | 7205 | 
| Chris@4 | 7206 | 
| Chris@4 | 7207 | 
| Chris@4 | 7208 | 
| Chris@4 | 7209 | 
| Chris@4 | 7210 | 
| Chris@4 | 7211 | 
| Chris@4 | 7212 | 
| Chris@4 | 7213 | 
| Chris@4 | 7214 | 
| Chris@4 | 7215 | 
| Chris@4 | 7216 | 
| Chris@4 | 7217 | 
| Chris@4 | 7218 | 
| Chris@4 | 7219 | 
| Chris@4 | 7220     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 | 
| Chris@4 | 7221 $as_echo_n "checking for -single_module linker flag... " >&6; } | 
| Chris@4 | 7222 if ${lt_cv_apple_cc_single_mod+:} false; then : | 
| Chris@4 | 7223   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7224 else | 
| Chris@4 | 7225   lt_cv_apple_cc_single_mod=no | 
| Chris@4 | 7226       if test -z "${LT_MULTI_MODULE}"; then | 
| Chris@4 | 7227 	# By default we will add the -single_module flag. You can override | 
| Chris@4 | 7228 	# by either setting the environment variable LT_MULTI_MODULE | 
| Chris@4 | 7229 	# non-empty at configure time, or by adding -multi_module to the | 
| Chris@4 | 7230 	# link flags. | 
| Chris@4 | 7231 	rm -rf libconftest.dylib* | 
| Chris@4 | 7232 	echo "int foo(void){return 1;}" > conftest.c | 
| Chris@4 | 7233 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 
| Chris@4 | 7234 -dynamiclib -Wl,-single_module conftest.c" >&5 | 
| Chris@4 | 7235 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ | 
| Chris@4 | 7236 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err | 
| Chris@4 | 7237         _lt_result=$? | 
| Chris@4 | 7238 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then | 
| Chris@4 | 7239 	  lt_cv_apple_cc_single_mod=yes | 
| Chris@4 | 7240 	else | 
| Chris@4 | 7241 	  cat conftest.err >&5 | 
| Chris@4 | 7242 	fi | 
| Chris@4 | 7243 	rm -rf libconftest.dylib* | 
| Chris@4 | 7244 	rm -f conftest.* | 
| Chris@4 | 7245       fi | 
| Chris@4 | 7246 fi | 
| Chris@4 | 7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 | 
| Chris@4 | 7248 $as_echo "$lt_cv_apple_cc_single_mod" >&6; } | 
| Chris@4 | 7249     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 | 
| Chris@4 | 7250 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } | 
| Chris@4 | 7251 if ${lt_cv_ld_exported_symbols_list+:} false; then : | 
| Chris@4 | 7252   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7253 else | 
| Chris@4 | 7254   lt_cv_ld_exported_symbols_list=no | 
| Chris@4 | 7255       save_LDFLAGS=$LDFLAGS | 
| Chris@4 | 7256       echo "_main" > conftest.sym | 
| Chris@4 | 7257       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" | 
| Chris@4 | 7258       cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7259 /* end confdefs.h.  */ | 
| Chris@4 | 7260 | 
| Chris@4 | 7261 int | 
| Chris@4 | 7262 main () | 
| Chris@4 | 7263 { | 
| Chris@4 | 7264 | 
| Chris@4 | 7265   ; | 
| Chris@4 | 7266   return 0; | 
| Chris@4 | 7267 } | 
| Chris@4 | 7268 _ACEOF | 
| Chris@4 | 7269 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 7270   lt_cv_ld_exported_symbols_list=yes | 
| Chris@4 | 7271 else | 
| Chris@4 | 7272   lt_cv_ld_exported_symbols_list=no | 
| Chris@4 | 7273 fi | 
| Chris@4 | 7274 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 7275     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 7276 	LDFLAGS="$save_LDFLAGS" | 
| Chris@4 | 7277 | 
| Chris@4 | 7278 fi | 
| Chris@4 | 7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 | 
| Chris@4 | 7280 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } | 
| Chris@4 | 7281     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5 | 
| Chris@4 | 7282 $as_echo_n "checking for -force_load linker flag... " >&6; } | 
| Chris@4 | 7283 if ${lt_cv_ld_force_load+:} false; then : | 
| Chris@4 | 7284   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7285 else | 
| Chris@4 | 7286   lt_cv_ld_force_load=no | 
| Chris@4 | 7287       cat > conftest.c << _LT_EOF | 
| Chris@4 | 7288 int forced_loaded() { return 2;} | 
| Chris@4 | 7289 _LT_EOF | 
| Chris@4 | 7290       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5 | 
| Chris@4 | 7291       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5 | 
| Chris@4 | 7292       echo "$AR cru libconftest.a conftest.o" >&5 | 
| Chris@4 | 7293       $AR cru libconftest.a conftest.o 2>&5 | 
| Chris@4 | 7294       echo "$RANLIB libconftest.a" >&5 | 
| Chris@4 | 7295       $RANLIB libconftest.a 2>&5 | 
| Chris@4 | 7296       cat > conftest.c << _LT_EOF | 
| Chris@4 | 7297 int main() { return 0;} | 
| Chris@4 | 7298 _LT_EOF | 
| Chris@4 | 7299       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5 | 
| Chris@4 | 7300       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err | 
| Chris@4 | 7301       _lt_result=$? | 
| Chris@4 | 7302       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then | 
| Chris@4 | 7303 	lt_cv_ld_force_load=yes | 
| Chris@4 | 7304       else | 
| Chris@4 | 7305 	cat conftest.err >&5 | 
| Chris@4 | 7306       fi | 
| Chris@4 | 7307         rm -f conftest.err libconftest.a conftest conftest.c | 
| Chris@4 | 7308         rm -rf conftest.dSYM | 
| Chris@4 | 7309 | 
| Chris@4 | 7310 fi | 
| Chris@4 | 7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5 | 
| Chris@4 | 7312 $as_echo "$lt_cv_ld_force_load" >&6; } | 
| Chris@4 | 7313     case $host_os in | 
| Chris@4 | 7314     rhapsody* | darwin1.[012]) | 
| Chris@4 | 7315       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; | 
| Chris@4 | 7316     darwin1.*) | 
| Chris@4 | 7317       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 
| Chris@4 | 7318     darwin*) # darwin 5.x on | 
| Chris@4 | 7319       # if running on 10.5 or later, the deployment target defaults | 
| Chris@4 | 7320       # to the OS version, if on x86, and 10.4, the deployment | 
| Chris@4 | 7321       # target defaults to 10.4. Don't you love it? | 
| Chris@4 | 7322       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in | 
| Chris@4 | 7323 	10.0,*86*-darwin8*|10.0,*-darwin[91]*) | 
| Chris@4 | 7324 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 
| Chris@4 | 7325 	10.[012]*) | 
| Chris@4 | 7326 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;; | 
| Chris@4 | 7327 	10.*) | 
| Chris@4 | 7328 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; | 
| Chris@4 | 7329       esac | 
| Chris@4 | 7330     ;; | 
| Chris@4 | 7331   esac | 
| Chris@4 | 7332     if test "$lt_cv_apple_cc_single_mod" = "yes"; then | 
| Chris@4 | 7333       _lt_dar_single_mod='$single_module' | 
| Chris@4 | 7334     fi | 
| Chris@4 | 7335     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then | 
| Chris@4 | 7336       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym' | 
| Chris@4 | 7337     else | 
| Chris@4 | 7338       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}' | 
| Chris@4 | 7339     fi | 
| Chris@4 | 7340     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then | 
| Chris@4 | 7341       _lt_dsymutil='~$DSYMUTIL $lib || :' | 
| Chris@4 | 7342     else | 
| Chris@4 | 7343       _lt_dsymutil= | 
| Chris@4 | 7344     fi | 
| Chris@4 | 7345     ;; | 
| Chris@4 | 7346   esac | 
| Chris@4 | 7347 | 
| Chris@4 | 7348 ac_ext=c | 
| Chris@4 | 7349 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 7350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 7351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 7352 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 | 
| Chris@4 | 7354 $as_echo_n "checking how to run the C preprocessor... " >&6; } | 
| Chris@4 | 7355 # On Suns, sometimes $CPP names a directory. | 
| Chris@4 | 7356 if test -n "$CPP" && test -d "$CPP"; then | 
| Chris@4 | 7357   CPP= | 
| Chris@4 | 7358 fi | 
| Chris@4 | 7359 if test -z "$CPP"; then | 
| Chris@4 | 7360   if ${ac_cv_prog_CPP+:} false; then : | 
| Chris@4 | 7361   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7362 else | 
| Chris@4 | 7363       # Double quotes because CPP needs to be expanded | 
| Chris@4 | 7364     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | 
| Chris@4 | 7365     do | 
| Chris@4 | 7366       ac_preproc_ok=false | 
| Chris@4 | 7367 for ac_c_preproc_warn_flag in '' yes | 
| Chris@4 | 7368 do | 
| Chris@4 | 7369   # Use a header file that comes with gcc, so configuring glibc | 
| Chris@4 | 7370   # with a fresh cross-compiler works. | 
| Chris@4 | 7371   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| Chris@4 | 7372   # <limits.h> exists even on freestanding compilers. | 
| Chris@4 | 7373   # On the NeXT, cc -E runs the code through the compiler's parser, | 
| Chris@4 | 7374   # not just through cpp. "Syntax error" is here to catch this case. | 
| Chris@4 | 7375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7376 /* end confdefs.h.  */ | 
| Chris@4 | 7377 #ifdef __STDC__ | 
| Chris@4 | 7378 # include <limits.h> | 
| Chris@4 | 7379 #else | 
| Chris@4 | 7380 # include <assert.h> | 
| Chris@4 | 7381 #endif | 
| Chris@4 | 7382 		     Syntax error | 
| Chris@4 | 7383 _ACEOF | 
| Chris@4 | 7384 if ac_fn_c_try_cpp "$LINENO"; then : | 
| Chris@4 | 7385 | 
| Chris@4 | 7386 else | 
| Chris@4 | 7387   # Broken: fails on valid input. | 
| Chris@4 | 7388 continue | 
| Chris@4 | 7389 fi | 
| Chris@4 | 7390 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 7391 | 
| Chris@4 | 7392   # OK, works on sane cases.  Now check whether nonexistent headers | 
| Chris@4 | 7393   # can be detected and how. | 
| Chris@4 | 7394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7395 /* end confdefs.h.  */ | 
| Chris@4 | 7396 #include <ac_nonexistent.h> | 
| Chris@4 | 7397 _ACEOF | 
| Chris@4 | 7398 if ac_fn_c_try_cpp "$LINENO"; then : | 
| Chris@4 | 7399   # Broken: success on invalid input. | 
| Chris@4 | 7400 continue | 
| Chris@4 | 7401 else | 
| Chris@4 | 7402   # Passes both tests. | 
| Chris@4 | 7403 ac_preproc_ok=: | 
| Chris@4 | 7404 break | 
| Chris@4 | 7405 fi | 
| Chris@4 | 7406 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 7407 | 
| Chris@4 | 7408 done | 
| Chris@4 | 7409 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| Chris@4 | 7410 rm -f conftest.i conftest.err conftest.$ac_ext | 
| Chris@4 | 7411 if $ac_preproc_ok; then : | 
| Chris@4 | 7412   break | 
| Chris@4 | 7413 fi | 
| Chris@4 | 7414 | 
| Chris@4 | 7415     done | 
| Chris@4 | 7416     ac_cv_prog_CPP=$CPP | 
| Chris@4 | 7417 | 
| Chris@4 | 7418 fi | 
| Chris@4 | 7419   CPP=$ac_cv_prog_CPP | 
| Chris@4 | 7420 else | 
| Chris@4 | 7421   ac_cv_prog_CPP=$CPP | 
| Chris@4 | 7422 fi | 
| Chris@4 | 7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 | 
| Chris@4 | 7424 $as_echo "$CPP" >&6; } | 
| Chris@4 | 7425 ac_preproc_ok=false | 
| Chris@4 | 7426 for ac_c_preproc_warn_flag in '' yes | 
| Chris@4 | 7427 do | 
| Chris@4 | 7428   # Use a header file that comes with gcc, so configuring glibc | 
| Chris@4 | 7429   # with a fresh cross-compiler works. | 
| Chris@4 | 7430   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| Chris@4 | 7431   # <limits.h> exists even on freestanding compilers. | 
| Chris@4 | 7432   # On the NeXT, cc -E runs the code through the compiler's parser, | 
| Chris@4 | 7433   # not just through cpp. "Syntax error" is here to catch this case. | 
| Chris@4 | 7434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7435 /* end confdefs.h.  */ | 
| Chris@4 | 7436 #ifdef __STDC__ | 
| Chris@4 | 7437 # include <limits.h> | 
| Chris@4 | 7438 #else | 
| Chris@4 | 7439 # include <assert.h> | 
| Chris@4 | 7440 #endif | 
| Chris@4 | 7441 		     Syntax error | 
| Chris@4 | 7442 _ACEOF | 
| Chris@4 | 7443 if ac_fn_c_try_cpp "$LINENO"; then : | 
| Chris@4 | 7444 | 
| Chris@4 | 7445 else | 
| Chris@4 | 7446   # Broken: fails on valid input. | 
| Chris@4 | 7447 continue | 
| Chris@4 | 7448 fi | 
| Chris@4 | 7449 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 7450 | 
| Chris@4 | 7451   # OK, works on sane cases.  Now check whether nonexistent headers | 
| Chris@4 | 7452   # can be detected and how. | 
| Chris@4 | 7453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7454 /* end confdefs.h.  */ | 
| Chris@4 | 7455 #include <ac_nonexistent.h> | 
| Chris@4 | 7456 _ACEOF | 
| Chris@4 | 7457 if ac_fn_c_try_cpp "$LINENO"; then : | 
| Chris@4 | 7458   # Broken: success on invalid input. | 
| Chris@4 | 7459 continue | 
| Chris@4 | 7460 else | 
| Chris@4 | 7461   # Passes both tests. | 
| Chris@4 | 7462 ac_preproc_ok=: | 
| Chris@4 | 7463 break | 
| Chris@4 | 7464 fi | 
| Chris@4 | 7465 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 7466 | 
| Chris@4 | 7467 done | 
| Chris@4 | 7468 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| Chris@4 | 7469 rm -f conftest.i conftest.err conftest.$ac_ext | 
| Chris@4 | 7470 if $ac_preproc_ok; then : | 
| Chris@4 | 7471 | 
| Chris@4 | 7472 else | 
| Chris@4 | 7473   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 7474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 7475 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check | 
| Chris@4 | 7476 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 7477 fi | 
| Chris@4 | 7478 | 
| Chris@4 | 7479 ac_ext=c | 
| Chris@4 | 7480 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 7481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 7482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 7483 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 7484 | 
| Chris@4 | 7485 | 
| Chris@4 | 7486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 | 
| Chris@4 | 7487 $as_echo_n "checking for ANSI C header files... " >&6; } | 
| Chris@4 | 7488 if ${ac_cv_header_stdc+:} false; then : | 
| Chris@4 | 7489   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7490 else | 
| Chris@4 | 7491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7492 /* end confdefs.h.  */ | 
| Chris@4 | 7493 #include <stdlib.h> | 
| Chris@4 | 7494 #include <stdarg.h> | 
| Chris@4 | 7495 #include <string.h> | 
| Chris@4 | 7496 #include <float.h> | 
| Chris@4 | 7497 | 
| Chris@4 | 7498 int | 
| Chris@4 | 7499 main () | 
| Chris@4 | 7500 { | 
| Chris@4 | 7501 | 
| Chris@4 | 7502   ; | 
| Chris@4 | 7503   return 0; | 
| Chris@4 | 7504 } | 
| Chris@4 | 7505 _ACEOF | 
| Chris@4 | 7506 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 7507   ac_cv_header_stdc=yes | 
| Chris@4 | 7508 else | 
| Chris@4 | 7509   ac_cv_header_stdc=no | 
| Chris@4 | 7510 fi | 
| Chris@4 | 7511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 7512 | 
| Chris@4 | 7513 if test $ac_cv_header_stdc = yes; then | 
| Chris@4 | 7514   # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 
| Chris@4 | 7515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7516 /* end confdefs.h.  */ | 
| Chris@4 | 7517 #include <string.h> | 
| Chris@4 | 7518 | 
| Chris@4 | 7519 _ACEOF | 
| Chris@4 | 7520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| Chris@4 | 7521   $EGREP "memchr" >/dev/null 2>&1; then : | 
| Chris@4 | 7522 | 
| Chris@4 | 7523 else | 
| Chris@4 | 7524   ac_cv_header_stdc=no | 
| Chris@4 | 7525 fi | 
| Chris@4 | 7526 rm -f conftest* | 
| Chris@4 | 7527 | 
| Chris@4 | 7528 fi | 
| Chris@4 | 7529 | 
| Chris@4 | 7530 if test $ac_cv_header_stdc = yes; then | 
| Chris@4 | 7531   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 
| Chris@4 | 7532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7533 /* end confdefs.h.  */ | 
| Chris@4 | 7534 #include <stdlib.h> | 
| Chris@4 | 7535 | 
| Chris@4 | 7536 _ACEOF | 
| Chris@4 | 7537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 
| Chris@4 | 7538   $EGREP "free" >/dev/null 2>&1; then : | 
| Chris@4 | 7539 | 
| Chris@4 | 7540 else | 
| Chris@4 | 7541   ac_cv_header_stdc=no | 
| Chris@4 | 7542 fi | 
| Chris@4 | 7543 rm -f conftest* | 
| Chris@4 | 7544 | 
| Chris@4 | 7545 fi | 
| Chris@4 | 7546 | 
| Chris@4 | 7547 if test $ac_cv_header_stdc = yes; then | 
| Chris@4 | 7548   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 
| Chris@4 | 7549   if test "$cross_compiling" = yes; then : | 
| Chris@4 | 7550   : | 
| Chris@4 | 7551 else | 
| Chris@4 | 7552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 7553 /* end confdefs.h.  */ | 
| Chris@4 | 7554 #include <ctype.h> | 
| Chris@4 | 7555 #include <stdlib.h> | 
| Chris@4 | 7556 #if ((' ' & 0x0FF) == 0x020) | 
| Chris@4 | 7557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 
| Chris@4 | 7558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 
| Chris@4 | 7559 #else | 
| Chris@4 | 7560 # define ISLOWER(c) \ | 
| Chris@4 | 7561 		   (('a' <= (c) && (c) <= 'i') \ | 
| Chris@4 | 7562 		     || ('j' <= (c) && (c) <= 'r') \ | 
| Chris@4 | 7563 		     || ('s' <= (c) && (c) <= 'z')) | 
| Chris@4 | 7564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | 
| Chris@4 | 7565 #endif | 
| Chris@4 | 7566 | 
| Chris@4 | 7567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 
| Chris@4 | 7568 int | 
| Chris@4 | 7569 main () | 
| Chris@4 | 7570 { | 
| Chris@4 | 7571   int i; | 
| Chris@4 | 7572   for (i = 0; i < 256; i++) | 
| Chris@4 | 7573     if (XOR (islower (i), ISLOWER (i)) | 
| Chris@4 | 7574 	|| toupper (i) != TOUPPER (i)) | 
| Chris@4 | 7575       return 2; | 
| Chris@4 | 7576   return 0; | 
| Chris@4 | 7577 } | 
| Chris@4 | 7578 _ACEOF | 
| Chris@4 | 7579 if ac_fn_c_try_run "$LINENO"; then : | 
| Chris@4 | 7580 | 
| Chris@4 | 7581 else | 
| Chris@4 | 7582   ac_cv_header_stdc=no | 
| Chris@4 | 7583 fi | 
| Chris@4 | 7584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
| Chris@4 | 7585   conftest.$ac_objext conftest.beam conftest.$ac_ext | 
| Chris@4 | 7586 fi | 
| Chris@4 | 7587 | 
| Chris@4 | 7588 fi | 
| Chris@4 | 7589 fi | 
| Chris@4 | 7590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 | 
| Chris@4 | 7591 $as_echo "$ac_cv_header_stdc" >&6; } | 
| Chris@4 | 7592 if test $ac_cv_header_stdc = yes; then | 
| Chris@4 | 7593 | 
| Chris@4 | 7594 $as_echo "#define STDC_HEADERS 1" >>confdefs.h | 
| Chris@4 | 7595 | 
| Chris@4 | 7596 fi | 
| Chris@4 | 7597 | 
| Chris@4 | 7598 # On IRIX 5.3, sys/types and inttypes.h are conflicting. | 
| Chris@4 | 7599 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | 
| Chris@4 | 7600 		  inttypes.h stdint.h unistd.h | 
| Chris@4 | 7601 do : | 
| Chris@4 | 7602   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| Chris@4 | 7603 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default | 
| Chris@4 | 7604 " | 
| Chris@4 | 7605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
| Chris@4 | 7606   cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 7607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| Chris@4 | 7608 _ACEOF | 
| Chris@4 | 7609 | 
| Chris@4 | 7610 fi | 
| Chris@4 | 7611 | 
| Chris@4 | 7612 done | 
| Chris@4 | 7613 | 
| Chris@4 | 7614 | 
| Chris@4 | 7615 for ac_header in dlfcn.h | 
| Chris@4 | 7616 do : | 
| Chris@4 | 7617   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default | 
| Chris@4 | 7618 " | 
| Chris@4 | 7619 if test "x$ac_cv_header_dlfcn_h" = xyes; then : | 
| Chris@4 | 7620   cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 7621 #define HAVE_DLFCN_H 1 | 
| Chris@4 | 7622 _ACEOF | 
| Chris@4 | 7623 | 
| Chris@4 | 7624 fi | 
| Chris@4 | 7625 | 
| Chris@4 | 7626 done | 
| Chris@4 | 7627 | 
| Chris@4 | 7628 | 
| Chris@4 | 7629 | 
| Chris@4 | 7630 | 
| Chris@4 | 7631 func_stripname_cnf () | 
| Chris@4 | 7632 { | 
| Chris@4 | 7633   case ${2} in | 
| Chris@4 | 7634   .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;; | 
| Chris@4 | 7635   *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;; | 
| Chris@4 | 7636   esac | 
| Chris@4 | 7637 } # func_stripname_cnf | 
| Chris@4 | 7638 | 
| Chris@4 | 7639 | 
| Chris@4 | 7640 | 
| Chris@4 | 7641 | 
| Chris@4 | 7642 | 
| Chris@4 | 7643 # Set options | 
| Chris@4 | 7644 | 
| Chris@4 | 7645 | 
| Chris@4 | 7646 | 
| Chris@4 | 7647         enable_dlopen=no | 
| Chris@4 | 7648 | 
| Chris@4 | 7649 | 
| Chris@4 | 7650 | 
| Chris@4 | 7651             # Check whether --enable-shared was given. | 
| Chris@4 | 7652 if test "${enable_shared+set}" = set; then : | 
| Chris@4 | 7653   enableval=$enable_shared; p=${PACKAGE-default} | 
| Chris@4 | 7654     case $enableval in | 
| Chris@4 | 7655     yes) enable_shared=yes ;; | 
| Chris@4 | 7656     no) enable_shared=no ;; | 
| Chris@4 | 7657     *) | 
| Chris@4 | 7658       enable_shared=no | 
| Chris@4 | 7659       # Look at the argument we got.  We use all the common list separators. | 
| Chris@4 | 7660       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
| Chris@4 | 7661       for pkg in $enableval; do | 
| Chris@4 | 7662 	IFS="$lt_save_ifs" | 
| Chris@4 | 7663 	if test "X$pkg" = "X$p"; then | 
| Chris@4 | 7664 	  enable_shared=yes | 
| Chris@4 | 7665 	fi | 
| Chris@4 | 7666       done | 
| Chris@4 | 7667       IFS="$lt_save_ifs" | 
| Chris@4 | 7668       ;; | 
| Chris@4 | 7669     esac | 
| Chris@4 | 7670 else | 
| Chris@4 | 7671   enable_shared=yes | 
| Chris@4 | 7672 fi | 
| Chris@4 | 7673 | 
| Chris@4 | 7674 | 
| Chris@4 | 7675 | 
| Chris@4 | 7676 | 
| Chris@4 | 7677 | 
| Chris@4 | 7678 | 
| Chris@4 | 7679 | 
| Chris@4 | 7680 | 
| Chris@4 | 7681 | 
| Chris@4 | 7682   # Check whether --enable-static was given. | 
| Chris@4 | 7683 if test "${enable_static+set}" = set; then : | 
| Chris@4 | 7684   enableval=$enable_static; p=${PACKAGE-default} | 
| Chris@4 | 7685     case $enableval in | 
| Chris@4 | 7686     yes) enable_static=yes ;; | 
| Chris@4 | 7687     no) enable_static=no ;; | 
| Chris@4 | 7688     *) | 
| Chris@4 | 7689      enable_static=no | 
| Chris@4 | 7690       # Look at the argument we got.  We use all the common list separators. | 
| Chris@4 | 7691       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
| Chris@4 | 7692       for pkg in $enableval; do | 
| Chris@4 | 7693 	IFS="$lt_save_ifs" | 
| Chris@4 | 7694 	if test "X$pkg" = "X$p"; then | 
| Chris@4 | 7695 	  enable_static=yes | 
| Chris@4 | 7696 	fi | 
| Chris@4 | 7697       done | 
| Chris@4 | 7698       IFS="$lt_save_ifs" | 
| Chris@4 | 7699       ;; | 
| Chris@4 | 7700     esac | 
| Chris@4 | 7701 else | 
| Chris@4 | 7702   enable_static=yes | 
| Chris@4 | 7703 fi | 
| Chris@4 | 7704 | 
| Chris@4 | 7705 | 
| Chris@4 | 7706 | 
| Chris@4 | 7707 | 
| Chris@4 | 7708 | 
| Chris@4 | 7709 | 
| Chris@4 | 7710 | 
| Chris@4 | 7711 | 
| Chris@4 | 7712 | 
| Chris@4 | 7713 | 
| Chris@4 | 7714 # Check whether --with-pic was given. | 
| Chris@4 | 7715 if test "${with_pic+set}" = set; then : | 
| Chris@4 | 7716   withval=$with_pic; pic_mode="$withval" | 
| Chris@4 | 7717 else | 
| Chris@4 | 7718   pic_mode=default | 
| Chris@4 | 7719 fi | 
| Chris@4 | 7720 | 
| Chris@4 | 7721 | 
| Chris@4 | 7722 test -z "$pic_mode" && pic_mode=default | 
| Chris@4 | 7723 | 
| Chris@4 | 7724 | 
| Chris@4 | 7725 | 
| Chris@4 | 7726 | 
| Chris@4 | 7727 | 
| Chris@4 | 7728 | 
| Chris@4 | 7729 | 
| Chris@4 | 7730   # Check whether --enable-fast-install was given. | 
| Chris@4 | 7731 if test "${enable_fast_install+set}" = set; then : | 
| Chris@4 | 7732   enableval=$enable_fast_install; p=${PACKAGE-default} | 
| Chris@4 | 7733     case $enableval in | 
| Chris@4 | 7734     yes) enable_fast_install=yes ;; | 
| Chris@4 | 7735     no) enable_fast_install=no ;; | 
| Chris@4 | 7736     *) | 
| Chris@4 | 7737       enable_fast_install=no | 
| Chris@4 | 7738       # Look at the argument we got.  We use all the common list separators. | 
| Chris@4 | 7739       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR," | 
| Chris@4 | 7740       for pkg in $enableval; do | 
| Chris@4 | 7741 	IFS="$lt_save_ifs" | 
| Chris@4 | 7742 	if test "X$pkg" = "X$p"; then | 
| Chris@4 | 7743 	  enable_fast_install=yes | 
| Chris@4 | 7744 	fi | 
| Chris@4 | 7745       done | 
| Chris@4 | 7746       IFS="$lt_save_ifs" | 
| Chris@4 | 7747       ;; | 
| Chris@4 | 7748     esac | 
| Chris@4 | 7749 else | 
| Chris@4 | 7750   enable_fast_install=yes | 
| Chris@4 | 7751 fi | 
| Chris@4 | 7752 | 
| Chris@4 | 7753 | 
| Chris@4 | 7754 | 
| Chris@4 | 7755 | 
| Chris@4 | 7756 | 
| Chris@4 | 7757 | 
| Chris@4 | 7758 | 
| Chris@4 | 7759 | 
| Chris@4 | 7760 | 
| Chris@4 | 7761 | 
| Chris@4 | 7762 | 
| Chris@4 | 7763 # This can be used to rebuild libtool when needed | 
| Chris@4 | 7764 LIBTOOL_DEPS="$ltmain" | 
| Chris@4 | 7765 | 
| Chris@4 | 7766 # Always use our own libtool. | 
| Chris@4 | 7767 LIBTOOL='$(SHELL) $(top_builddir)/libtool' | 
| Chris@4 | 7768 | 
| Chris@4 | 7769 | 
| Chris@4 | 7770 | 
| Chris@4 | 7771 | 
| Chris@4 | 7772 | 
| Chris@4 | 7773 | 
| Chris@4 | 7774 | 
| Chris@4 | 7775 | 
| Chris@4 | 7776 | 
| Chris@4 | 7777 | 
| Chris@4 | 7778 | 
| Chris@4 | 7779 | 
| Chris@4 | 7780 | 
| Chris@4 | 7781 | 
| Chris@4 | 7782 | 
| Chris@4 | 7783 | 
| Chris@4 | 7784 | 
| Chris@4 | 7785 | 
| Chris@4 | 7786 | 
| Chris@4 | 7787 | 
| Chris@4 | 7788 | 
| Chris@4 | 7789 | 
| Chris@4 | 7790 | 
| Chris@4 | 7791 | 
| Chris@4 | 7792 | 
| Chris@4 | 7793 | 
| Chris@4 | 7794 test -z "$LN_S" && LN_S="ln -s" | 
| Chris@4 | 7795 | 
| Chris@4 | 7796 | 
| Chris@4 | 7797 | 
| Chris@4 | 7798 | 
| Chris@4 | 7799 | 
| Chris@4 | 7800 | 
| Chris@4 | 7801 | 
| Chris@4 | 7802 | 
| Chris@4 | 7803 | 
| Chris@4 | 7804 | 
| Chris@4 | 7805 | 
| Chris@4 | 7806 | 
| Chris@4 | 7807 | 
| Chris@4 | 7808 | 
| Chris@4 | 7809 if test -n "${ZSH_VERSION+set}" ; then | 
| Chris@4 | 7810    setopt NO_GLOB_SUBST | 
| Chris@4 | 7811 fi | 
| Chris@4 | 7812 | 
| Chris@4 | 7813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 | 
| Chris@4 | 7814 $as_echo_n "checking for objdir... " >&6; } | 
| Chris@4 | 7815 if ${lt_cv_objdir+:} false; then : | 
| Chris@4 | 7816   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7817 else | 
| Chris@4 | 7818   rm -f .libs 2>/dev/null | 
| Chris@4 | 7819 mkdir .libs 2>/dev/null | 
| Chris@4 | 7820 if test -d .libs; then | 
| Chris@4 | 7821   lt_cv_objdir=.libs | 
| Chris@4 | 7822 else | 
| Chris@4 | 7823   # MS-DOS does not allow filenames that begin with a dot. | 
| Chris@4 | 7824   lt_cv_objdir=_libs | 
| Chris@4 | 7825 fi | 
| Chris@4 | 7826 rmdir .libs 2>/dev/null | 
| Chris@4 | 7827 fi | 
| Chris@4 | 7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 | 
| Chris@4 | 7829 $as_echo "$lt_cv_objdir" >&6; } | 
| Chris@4 | 7830 objdir=$lt_cv_objdir | 
| Chris@4 | 7831 | 
| Chris@4 | 7832 | 
| Chris@4 | 7833 | 
| Chris@4 | 7834 | 
| Chris@4 | 7835 | 
| Chris@4 | 7836 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 7837 #define LT_OBJDIR "$lt_cv_objdir/" | 
| Chris@4 | 7838 _ACEOF | 
| Chris@4 | 7839 | 
| Chris@4 | 7840 | 
| Chris@4 | 7841 | 
| Chris@4 | 7842 | 
| Chris@4 | 7843 case $host_os in | 
| Chris@4 | 7844 aix3*) | 
| Chris@4 | 7845   # AIX sometimes has problems with the GCC collect2 program.  For some | 
| Chris@4 | 7846   # reason, if we set the COLLECT_NAMES environment variable, the problems | 
| Chris@4 | 7847   # vanish in a puff of smoke. | 
| Chris@4 | 7848   if test "X${COLLECT_NAMES+set}" != Xset; then | 
| Chris@4 | 7849     COLLECT_NAMES= | 
| Chris@4 | 7850     export COLLECT_NAMES | 
| Chris@4 | 7851   fi | 
| Chris@4 | 7852   ;; | 
| Chris@4 | 7853 esac | 
| Chris@4 | 7854 | 
| Chris@4 | 7855 # Global variables: | 
| Chris@4 | 7856 ofile=libtool | 
| Chris@4 | 7857 can_build_shared=yes | 
| Chris@4 | 7858 | 
| Chris@4 | 7859 # All known linkers require a `.a' archive for static linking (except MSVC, | 
| Chris@4 | 7860 # which needs '.lib'). | 
| Chris@4 | 7861 libext=a | 
| Chris@4 | 7862 | 
| Chris@4 | 7863 with_gnu_ld="$lt_cv_prog_gnu_ld" | 
| Chris@4 | 7864 | 
| Chris@4 | 7865 old_CC="$CC" | 
| Chris@4 | 7866 old_CFLAGS="$CFLAGS" | 
| Chris@4 | 7867 | 
| Chris@4 | 7868 # Set sane defaults for various variables | 
| Chris@4 | 7869 test -z "$CC" && CC=cc | 
| Chris@4 | 7870 test -z "$LTCC" && LTCC=$CC | 
| Chris@4 | 7871 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS | 
| Chris@4 | 7872 test -z "$LD" && LD=ld | 
| Chris@4 | 7873 test -z "$ac_objext" && ac_objext=o | 
| Chris@4 | 7874 | 
| Chris@4 | 7875 for cc_temp in $compiler""; do | 
| Chris@4 | 7876   case $cc_temp in | 
| Chris@4 | 7877     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | 
| Chris@4 | 7878     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | 
| Chris@4 | 7879     \-*) ;; | 
| Chris@4 | 7880     *) break;; | 
| Chris@4 | 7881   esac | 
| Chris@4 | 7882 done | 
| Chris@4 | 7883 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | 
| Chris@4 | 7884 | 
| Chris@4 | 7885 | 
| Chris@4 | 7886 # Only perform the check for file, if the check method requires it | 
| Chris@4 | 7887 test -z "$MAGIC_CMD" && MAGIC_CMD=file | 
| Chris@4 | 7888 case $deplibs_check_method in | 
| Chris@4 | 7889 file_magic*) | 
| Chris@4 | 7890   if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 
| Chris@4 | 7891     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 | 
| Chris@4 | 7892 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } | 
| Chris@4 | 7893 if ${lt_cv_path_MAGIC_CMD+:} false; then : | 
| Chris@4 | 7894   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7895 else | 
| Chris@4 | 7896   case $MAGIC_CMD in | 
| Chris@4 | 7897 [\\/*] |  ?:[\\/]*) | 
| Chris@4 | 7898   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
| Chris@4 | 7899   ;; | 
| Chris@4 | 7900 *) | 
| Chris@4 | 7901   lt_save_MAGIC_CMD="$MAGIC_CMD" | 
| Chris@4 | 7902   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| Chris@4 | 7903   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
| Chris@4 | 7904   for ac_dir in $ac_dummy; do | 
| Chris@4 | 7905     IFS="$lt_save_ifs" | 
| Chris@4 | 7906     test -z "$ac_dir" && ac_dir=. | 
| Chris@4 | 7907     if test -f $ac_dir/${ac_tool_prefix}file; then | 
| Chris@4 | 7908       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file" | 
| Chris@4 | 7909       if test -n "$file_magic_test_file"; then | 
| Chris@4 | 7910 	case $deplibs_check_method in | 
| Chris@4 | 7911 	"file_magic "*) | 
| Chris@4 | 7912 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 
| Chris@4 | 7913 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
| Chris@4 | 7914 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
| Chris@4 | 7915 	    $EGREP "$file_magic_regex" > /dev/null; then | 
| Chris@4 | 7916 	    : | 
| Chris@4 | 7917 	  else | 
| Chris@4 | 7918 	    cat <<_LT_EOF 1>&2 | 
| Chris@4 | 7919 | 
| Chris@4 | 7920 *** Warning: the command libtool uses to detect shared libraries, | 
| Chris@4 | 7921 *** $file_magic_cmd, produces output that libtool cannot recognize. | 
| Chris@4 | 7922 *** The result is that libtool may fail to recognize shared libraries | 
| Chris@4 | 7923 *** as such.  This will affect the creation of libtool libraries that | 
| Chris@4 | 7924 *** depend on shared libraries, but programs linked with such libtool | 
| Chris@4 | 7925 *** libraries will work regardless of this problem.  Nevertheless, you | 
| Chris@4 | 7926 *** may want to report the problem to your system manager and/or to | 
| Chris@4 | 7927 *** bug-libtool@gnu.org | 
| Chris@4 | 7928 | 
| Chris@4 | 7929 _LT_EOF | 
| Chris@4 | 7930 	  fi ;; | 
| Chris@4 | 7931 	esac | 
| Chris@4 | 7932       fi | 
| Chris@4 | 7933       break | 
| Chris@4 | 7934     fi | 
| Chris@4 | 7935   done | 
| Chris@4 | 7936   IFS="$lt_save_ifs" | 
| Chris@4 | 7937   MAGIC_CMD="$lt_save_MAGIC_CMD" | 
| Chris@4 | 7938   ;; | 
| Chris@4 | 7939 esac | 
| Chris@4 | 7940 fi | 
| Chris@4 | 7941 | 
| Chris@4 | 7942 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
| Chris@4 | 7943 if test -n "$MAGIC_CMD"; then | 
| Chris@4 | 7944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 
| Chris@4 | 7945 $as_echo "$MAGIC_CMD" >&6; } | 
| Chris@4 | 7946 else | 
| Chris@4 | 7947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 7948 $as_echo "no" >&6; } | 
| Chris@4 | 7949 fi | 
| Chris@4 | 7950 | 
| Chris@4 | 7951 | 
| Chris@4 | 7952 | 
| Chris@4 | 7953 | 
| Chris@4 | 7954 | 
| Chris@4 | 7955 if test -z "$lt_cv_path_MAGIC_CMD"; then | 
| Chris@4 | 7956   if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 7957     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 | 
| Chris@4 | 7958 $as_echo_n "checking for file... " >&6; } | 
| Chris@4 | 7959 if ${lt_cv_path_MAGIC_CMD+:} false; then : | 
| Chris@4 | 7960   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 7961 else | 
| Chris@4 | 7962   case $MAGIC_CMD in | 
| Chris@4 | 7963 [\\/*] |  ?:[\\/]*) | 
| Chris@4 | 7964   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path. | 
| Chris@4 | 7965   ;; | 
| Chris@4 | 7966 *) | 
| Chris@4 | 7967   lt_save_MAGIC_CMD="$MAGIC_CMD" | 
| Chris@4 | 7968   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| Chris@4 | 7969   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH" | 
| Chris@4 | 7970   for ac_dir in $ac_dummy; do | 
| Chris@4 | 7971     IFS="$lt_save_ifs" | 
| Chris@4 | 7972     test -z "$ac_dir" && ac_dir=. | 
| Chris@4 | 7973     if test -f $ac_dir/file; then | 
| Chris@4 | 7974       lt_cv_path_MAGIC_CMD="$ac_dir/file" | 
| Chris@4 | 7975       if test -n "$file_magic_test_file"; then | 
| Chris@4 | 7976 	case $deplibs_check_method in | 
| Chris@4 | 7977 	"file_magic "*) | 
| Chris@4 | 7978 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"` | 
| Chris@4 | 7979 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
| Chris@4 | 7980 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null | | 
| Chris@4 | 7981 	    $EGREP "$file_magic_regex" > /dev/null; then | 
| Chris@4 | 7982 	    : | 
| Chris@4 | 7983 	  else | 
| Chris@4 | 7984 	    cat <<_LT_EOF 1>&2 | 
| Chris@4 | 7985 | 
| Chris@4 | 7986 *** Warning: the command libtool uses to detect shared libraries, | 
| Chris@4 | 7987 *** $file_magic_cmd, produces output that libtool cannot recognize. | 
| Chris@4 | 7988 *** The result is that libtool may fail to recognize shared libraries | 
| Chris@4 | 7989 *** as such.  This will affect the creation of libtool libraries that | 
| Chris@4 | 7990 *** depend on shared libraries, but programs linked with such libtool | 
| Chris@4 | 7991 *** libraries will work regardless of this problem.  Nevertheless, you | 
| Chris@4 | 7992 *** may want to report the problem to your system manager and/or to | 
| Chris@4 | 7993 *** bug-libtool@gnu.org | 
| Chris@4 | 7994 | 
| Chris@4 | 7995 _LT_EOF | 
| Chris@4 | 7996 	  fi ;; | 
| Chris@4 | 7997 	esac | 
| Chris@4 | 7998       fi | 
| Chris@4 | 7999       break | 
| Chris@4 | 8000     fi | 
| Chris@4 | 8001   done | 
| Chris@4 | 8002   IFS="$lt_save_ifs" | 
| Chris@4 | 8003   MAGIC_CMD="$lt_save_MAGIC_CMD" | 
| Chris@4 | 8004   ;; | 
| Chris@4 | 8005 esac | 
| Chris@4 | 8006 fi | 
| Chris@4 | 8007 | 
| Chris@4 | 8008 MAGIC_CMD="$lt_cv_path_MAGIC_CMD" | 
| Chris@4 | 8009 if test -n "$MAGIC_CMD"; then | 
| Chris@4 | 8010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 | 
| Chris@4 | 8011 $as_echo "$MAGIC_CMD" >&6; } | 
| Chris@4 | 8012 else | 
| Chris@4 | 8013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 8014 $as_echo "no" >&6; } | 
| Chris@4 | 8015 fi | 
| Chris@4 | 8016 | 
| Chris@4 | 8017 | 
| Chris@4 | 8018   else | 
| Chris@4 | 8019     MAGIC_CMD=: | 
| Chris@4 | 8020   fi | 
| Chris@4 | 8021 fi | 
| Chris@4 | 8022 | 
| Chris@4 | 8023   fi | 
| Chris@4 | 8024   ;; | 
| Chris@4 | 8025 esac | 
| Chris@4 | 8026 | 
| Chris@4 | 8027 # Use C for the default configuration in the libtool script | 
| Chris@4 | 8028 | 
| Chris@4 | 8029 lt_save_CC="$CC" | 
| Chris@4 | 8030 ac_ext=c | 
| Chris@4 | 8031 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 8032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 8033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 8034 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 8035 | 
| Chris@4 | 8036 | 
| Chris@4 | 8037 # Source file extension for C test sources. | 
| Chris@4 | 8038 ac_ext=c | 
| Chris@4 | 8039 | 
| Chris@4 | 8040 # Object file extension for compiled C test sources. | 
| Chris@4 | 8041 objext=o | 
| Chris@4 | 8042 objext=$objext | 
| Chris@4 | 8043 | 
| Chris@4 | 8044 # Code to be used in simple compile tests | 
| Chris@4 | 8045 lt_simple_compile_test_code="int some_variable = 0;" | 
| Chris@4 | 8046 | 
| Chris@4 | 8047 # Code to be used in simple link tests | 
| Chris@4 | 8048 lt_simple_link_test_code='int main(){return(0);}' | 
| Chris@4 | 8049 | 
| Chris@4 | 8050 | 
| Chris@4 | 8051 | 
| Chris@4 | 8052 | 
| Chris@4 | 8053 | 
| Chris@4 | 8054 | 
| Chris@4 | 8055 | 
| Chris@4 | 8056 # If no C compiler was specified, use CC. | 
| Chris@4 | 8057 LTCC=${LTCC-"$CC"} | 
| Chris@4 | 8058 | 
| Chris@4 | 8059 # If no C compiler flags were specified, use CFLAGS. | 
| Chris@4 | 8060 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | 
| Chris@4 | 8061 | 
| Chris@4 | 8062 # Allow CC to be a program name with arguments. | 
| Chris@4 | 8063 compiler=$CC | 
| Chris@4 | 8064 | 
| Chris@4 | 8065 # Save the default compiler, since it gets overwritten when the other | 
| Chris@4 | 8066 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP. | 
| Chris@4 | 8067 compiler_DEFAULT=$CC | 
| Chris@4 | 8068 | 
| Chris@4 | 8069 # save warnings/boilerplate of simple test code | 
| Chris@4 | 8070 ac_outfile=conftest.$ac_objext | 
| Chris@4 | 8071 echo "$lt_simple_compile_test_code" >conftest.$ac_ext | 
| Chris@4 | 8072 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 
| Chris@4 | 8073 _lt_compiler_boilerplate=`cat conftest.err` | 
| Chris@4 | 8074 $RM conftest* | 
| Chris@4 | 8075 | 
| Chris@4 | 8076 ac_outfile=conftest.$ac_objext | 
| Chris@4 | 8077 echo "$lt_simple_link_test_code" >conftest.$ac_ext | 
| Chris@4 | 8078 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 
| Chris@4 | 8079 _lt_linker_boilerplate=`cat conftest.err` | 
| Chris@4 | 8080 $RM -r conftest* | 
| Chris@4 | 8081 | 
| Chris@4 | 8082 | 
| Chris@4 | 8083 if test -n "$compiler"; then | 
| Chris@4 | 8084 | 
| Chris@4 | 8085 lt_prog_compiler_no_builtin_flag= | 
| Chris@4 | 8086 | 
| Chris@4 | 8087 if test "$GCC" = yes; then | 
| Chris@4 | 8088   case $cc_basename in | 
| Chris@4 | 8089   nvcc*) | 
| Chris@4 | 8090     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;; | 
| Chris@4 | 8091   *) | 
| Chris@4 | 8092     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;; | 
| Chris@4 | 8093   esac | 
| Chris@4 | 8094 | 
| Chris@4 | 8095   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 | 
| Chris@4 | 8096 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } | 
| Chris@4 | 8097 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then : | 
| Chris@4 | 8098   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 8099 else | 
| Chris@4 | 8100   lt_cv_prog_compiler_rtti_exceptions=no | 
| Chris@4 | 8101    ac_outfile=conftest.$ac_objext | 
| Chris@4 | 8102    echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 8103    lt_compiler_flag="-fno-rtti -fno-exceptions" | 
| Chris@4 | 8104    # Insert the option either (1) after the last *FLAGS variable, or | 
| Chris@4 | 8105    # (2) before a word containing "conftest.", or (3) at the end. | 
| Chris@4 | 8106    # Note that $ac_compile itself does not contain backslashes and begins | 
| Chris@4 | 8107    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
| Chris@4 | 8108    # The option is referenced via a variable to avoid confusing sed. | 
| Chris@4 | 8109    lt_compile=`echo "$ac_compile" | $SED \ | 
| Chris@4 | 8110    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 
| Chris@4 | 8111    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
| Chris@4 | 8112    -e 's:$: $lt_compiler_flag:'` | 
| Chris@4 | 8113    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 
| Chris@4 | 8114    (eval "$lt_compile" 2>conftest.err) | 
| Chris@4 | 8115    ac_status=$? | 
| Chris@4 | 8116    cat conftest.err >&5 | 
| Chris@4 | 8117    echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| Chris@4 | 8118    if (exit $ac_status) && test -s "$ac_outfile"; then | 
| Chris@4 | 8119      # The compiler can only warn and ignore the option if not recognized | 
| Chris@4 | 8120      # So say no if there are warnings other than the usual output. | 
| Chris@4 | 8121      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 
| Chris@4 | 8122      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 
| Chris@4 | 8123      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | 
| Chris@4 | 8124        lt_cv_prog_compiler_rtti_exceptions=yes | 
| Chris@4 | 8125      fi | 
| Chris@4 | 8126    fi | 
| Chris@4 | 8127    $RM conftest* | 
| Chris@4 | 8128 | 
| Chris@4 | 8129 fi | 
| Chris@4 | 8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 | 
| Chris@4 | 8131 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } | 
| Chris@4 | 8132 | 
| Chris@4 | 8133 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then | 
| Chris@4 | 8134     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions" | 
| Chris@4 | 8135 else | 
| Chris@4 | 8136     : | 
| Chris@4 | 8137 fi | 
| Chris@4 | 8138 | 
| Chris@4 | 8139 fi | 
| Chris@4 | 8140 | 
| Chris@4 | 8141 | 
| Chris@4 | 8142 | 
| Chris@4 | 8143 | 
| Chris@4 | 8144 | 
| Chris@4 | 8145 | 
| Chris@4 | 8146   lt_prog_compiler_wl= | 
| Chris@4 | 8147 lt_prog_compiler_pic= | 
| Chris@4 | 8148 lt_prog_compiler_static= | 
| Chris@4 | 8149 | 
| Chris@4 | 8150 | 
| Chris@4 | 8151   if test "$GCC" = yes; then | 
| Chris@4 | 8152     lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8153     lt_prog_compiler_static='-static' | 
| Chris@4 | 8154 | 
| Chris@4 | 8155     case $host_os in | 
| Chris@4 | 8156       aix*) | 
| Chris@4 | 8157       # All AIX code is PIC. | 
| Chris@4 | 8158       if test "$host_cpu" = ia64; then | 
| Chris@4 | 8159 	# AIX 5 now supports IA64 processor | 
| Chris@4 | 8160 	lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8161       fi | 
| Chris@4 | 8162       ;; | 
| Chris@4 | 8163 | 
| Chris@4 | 8164     amigaos*) | 
| Chris@4 | 8165       case $host_cpu in | 
| Chris@4 | 8166       powerpc) | 
| Chris@4 | 8167             # see comment about AmigaOS4 .so support | 
| Chris@4 | 8168             lt_prog_compiler_pic='-fPIC' | 
| Chris@4 | 8169         ;; | 
| Chris@4 | 8170       m68k) | 
| Chris@4 | 8171             # FIXME: we need at least 68020 code to build shared libraries, but | 
| Chris@4 | 8172             # adding the `-m68020' flag to GCC prevents building anything better, | 
| Chris@4 | 8173             # like `-m68040'. | 
| Chris@4 | 8174             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4' | 
| Chris@4 | 8175         ;; | 
| Chris@4 | 8176       esac | 
| Chris@4 | 8177       ;; | 
| Chris@4 | 8178 | 
| Chris@4 | 8179     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
| Chris@4 | 8180       # PIC is the default for these OSes. | 
| Chris@4 | 8181       ;; | 
| Chris@4 | 8182 | 
| Chris@4 | 8183     mingw* | cygwin* | pw32* | os2* | cegcc*) | 
| Chris@4 | 8184       # This hack is so that the source file can tell whether it is being | 
| Chris@4 | 8185       # built for inclusion in a dll (and should export symbols for example). | 
| Chris@4 | 8186       # Although the cygwin gcc ignores -fPIC, still need this for old-style | 
| Chris@4 | 8187       # (--disable-auto-import) libraries | 
| Chris@4 | 8188       lt_prog_compiler_pic='-DDLL_EXPORT' | 
| Chris@4 | 8189       ;; | 
| Chris@4 | 8190 | 
| Chris@4 | 8191     darwin* | rhapsody*) | 
| Chris@4 | 8192       # PIC is the default on this platform | 
| Chris@4 | 8193       # Common symbols not allowed in MH_DYLIB files | 
| Chris@4 | 8194       lt_prog_compiler_pic='-fno-common' | 
| Chris@4 | 8195       ;; | 
| Chris@4 | 8196 | 
| Chris@4 | 8197     haiku*) | 
| Chris@4 | 8198       # PIC is the default for Haiku. | 
| Chris@4 | 8199       # The "-static" flag exists, but is broken. | 
| Chris@4 | 8200       lt_prog_compiler_static= | 
| Chris@4 | 8201       ;; | 
| Chris@4 | 8202 | 
| Chris@4 | 8203     hpux*) | 
| Chris@4 | 8204       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | 
| Chris@4 | 8205       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag | 
| Chris@4 | 8206       # sets the default TLS model and affects inlining. | 
| Chris@4 | 8207       case $host_cpu in | 
| Chris@4 | 8208       hppa*64*) | 
| Chris@4 | 8209 	# +Z the default | 
| Chris@4 | 8210 	;; | 
| Chris@4 | 8211       *) | 
| Chris@4 | 8212 	lt_prog_compiler_pic='-fPIC' | 
| Chris@4 | 8213 	;; | 
| Chris@4 | 8214       esac | 
| Chris@4 | 8215       ;; | 
| Chris@4 | 8216 | 
| Chris@4 | 8217     interix[3-9]*) | 
| Chris@4 | 8218       # Interix 3.x gcc -fpic/-fPIC options generate broken code. | 
| Chris@4 | 8219       # Instead, we relocate shared libraries at runtime. | 
| Chris@4 | 8220       ;; | 
| Chris@4 | 8221 | 
| Chris@4 | 8222     msdosdjgpp*) | 
| Chris@4 | 8223       # Just because we use GCC doesn't mean we suddenly get shared libraries | 
| Chris@4 | 8224       # on systems that don't support them. | 
| Chris@4 | 8225       lt_prog_compiler_can_build_shared=no | 
| Chris@4 | 8226       enable_shared=no | 
| Chris@4 | 8227       ;; | 
| Chris@4 | 8228 | 
| Chris@4 | 8229     *nto* | *qnx*) | 
| Chris@4 | 8230       # QNX uses GNU C++, but need to define -shared option too, otherwise | 
| Chris@4 | 8231       # it will coredump. | 
| Chris@4 | 8232       lt_prog_compiler_pic='-fPIC -shared' | 
| Chris@4 | 8233       ;; | 
| Chris@4 | 8234 | 
| Chris@4 | 8235     sysv4*MP*) | 
| Chris@4 | 8236       if test -d /usr/nec; then | 
| Chris@4 | 8237 	lt_prog_compiler_pic=-Kconform_pic | 
| Chris@4 | 8238       fi | 
| Chris@4 | 8239       ;; | 
| Chris@4 | 8240 | 
| Chris@4 | 8241     *) | 
| Chris@4 | 8242       lt_prog_compiler_pic='-fPIC' | 
| Chris@4 | 8243       ;; | 
| Chris@4 | 8244     esac | 
| Chris@4 | 8245 | 
| Chris@4 | 8246     case $cc_basename in | 
| Chris@4 | 8247     nvcc*) # Cuda Compiler Driver 2.2 | 
| Chris@4 | 8248       lt_prog_compiler_wl='-Xlinker ' | 
| Chris@4 | 8249       lt_prog_compiler_pic='-Xcompiler -fPIC' | 
| Chris@4 | 8250       ;; | 
| Chris@4 | 8251     esac | 
| Chris@4 | 8252   else | 
| Chris@4 | 8253     # PORTME Check for flag to pass linker flags through the system compiler. | 
| Chris@4 | 8254     case $host_os in | 
| Chris@4 | 8255     aix*) | 
| Chris@4 | 8256       lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8257       if test "$host_cpu" = ia64; then | 
| Chris@4 | 8258 	# AIX 5 now supports IA64 processor | 
| Chris@4 | 8259 	lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8260       else | 
| Chris@4 | 8261 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp' | 
| Chris@4 | 8262       fi | 
| Chris@4 | 8263       ;; | 
| Chris@4 | 8264 | 
| Chris@4 | 8265     mingw* | cygwin* | pw32* | os2* | cegcc*) | 
| Chris@4 | 8266       # This hack is so that the source file can tell whether it is being | 
| Chris@4 | 8267       # built for inclusion in a dll (and should export symbols for example). | 
| Chris@4 | 8268       lt_prog_compiler_pic='-DDLL_EXPORT' | 
| Chris@4 | 8269       ;; | 
| Chris@4 | 8270 | 
| Chris@4 | 8271     hpux9* | hpux10* | hpux11*) | 
| Chris@4 | 8272       lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8273       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 
| Chris@4 | 8274       # not for PA HP-UX. | 
| Chris@4 | 8275       case $host_cpu in | 
| Chris@4 | 8276       hppa*64*|ia64*) | 
| Chris@4 | 8277 	# +Z the default | 
| Chris@4 | 8278 	;; | 
| Chris@4 | 8279       *) | 
| Chris@4 | 8280 	lt_prog_compiler_pic='+Z' | 
| Chris@4 | 8281 	;; | 
| Chris@4 | 8282       esac | 
| Chris@4 | 8283       # Is there a better lt_prog_compiler_static that works with the bundled CC? | 
| Chris@4 | 8284       lt_prog_compiler_static='${wl}-a ${wl}archive' | 
| Chris@4 | 8285       ;; | 
| Chris@4 | 8286 | 
| Chris@4 | 8287     irix5* | irix6* | nonstopux*) | 
| Chris@4 | 8288       lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8289       # PIC (with -KPIC) is the default. | 
| Chris@4 | 8290       lt_prog_compiler_static='-non_shared' | 
| Chris@4 | 8291       ;; | 
| Chris@4 | 8292 | 
| Chris@4 | 8293     linux* | k*bsd*-gnu | kopensolaris*-gnu) | 
| Chris@4 | 8294       case $cc_basename in | 
| Chris@4 | 8295       # old Intel for x86_64 which still supported -KPIC. | 
| Chris@4 | 8296       ecc*) | 
| Chris@4 | 8297 	lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8298 	lt_prog_compiler_pic='-KPIC' | 
| Chris@4 | 8299 	lt_prog_compiler_static='-static' | 
| Chris@4 | 8300         ;; | 
| Chris@4 | 8301       # icc used to be incompatible with GCC. | 
| Chris@4 | 8302       # ICC 10 doesn't accept -KPIC any more. | 
| Chris@4 | 8303       icc* | ifort*) | 
| Chris@4 | 8304 	lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8305 	lt_prog_compiler_pic='-fPIC' | 
| Chris@4 | 8306 	lt_prog_compiler_static='-static' | 
| Chris@4 | 8307         ;; | 
| Chris@4 | 8308       # Lahey Fortran 8.1. | 
| Chris@4 | 8309       lf95*) | 
| Chris@4 | 8310 	lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8311 	lt_prog_compiler_pic='--shared' | 
| Chris@4 | 8312 	lt_prog_compiler_static='--static' | 
| Chris@4 | 8313 	;; | 
| Chris@4 | 8314       nagfor*) | 
| Chris@4 | 8315 	# NAG Fortran compiler | 
| Chris@4 | 8316 	lt_prog_compiler_wl='-Wl,-Wl,,' | 
| Chris@4 | 8317 	lt_prog_compiler_pic='-PIC' | 
| Chris@4 | 8318 	lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8319 	;; | 
| Chris@4 | 8320       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*) | 
| Chris@4 | 8321         # Portland Group compilers (*not* the Pentium gcc compiler, | 
| Chris@4 | 8322 	# which looks to be a dead project) | 
| Chris@4 | 8323 	lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8324 	lt_prog_compiler_pic='-fpic' | 
| Chris@4 | 8325 	lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8326         ;; | 
| Chris@4 | 8327       ccc*) | 
| Chris@4 | 8328         lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8329         # All Alpha code is PIC. | 
| Chris@4 | 8330         lt_prog_compiler_static='-non_shared' | 
| Chris@4 | 8331         ;; | 
| Chris@4 | 8332       xl* | bgxl* | bgf* | mpixl*) | 
| Chris@4 | 8333 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene | 
| Chris@4 | 8334 	lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8335 	lt_prog_compiler_pic='-qpic' | 
| Chris@4 | 8336 	lt_prog_compiler_static='-qstaticlink' | 
| Chris@4 | 8337 	;; | 
| Chris@4 | 8338       *) | 
| Chris@4 | 8339 	case `$CC -V 2>&1 | sed 5q` in | 
| Chris@4 | 8340 	*Sun\ F* | *Sun*Fortran*) | 
| Chris@4 | 8341 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker | 
| Chris@4 | 8342 	  lt_prog_compiler_pic='-KPIC' | 
| Chris@4 | 8343 	  lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8344 	  lt_prog_compiler_wl='' | 
| Chris@4 | 8345 	  ;; | 
| Chris@4 | 8346 	*Sun\ C*) | 
| Chris@4 | 8347 	  # Sun C 5.9 | 
| Chris@4 | 8348 	  lt_prog_compiler_pic='-KPIC' | 
| Chris@4 | 8349 	  lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8350 	  lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8351 	  ;; | 
| Chris@4 | 8352 	esac | 
| Chris@4 | 8353 	;; | 
| Chris@4 | 8354       esac | 
| Chris@4 | 8355       ;; | 
| Chris@4 | 8356 | 
| Chris@4 | 8357     newsos6) | 
| Chris@4 | 8358       lt_prog_compiler_pic='-KPIC' | 
| Chris@4 | 8359       lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8360       ;; | 
| Chris@4 | 8361 | 
| Chris@4 | 8362     *nto* | *qnx*) | 
| Chris@4 | 8363       # QNX uses GNU C++, but need to define -shared option too, otherwise | 
| Chris@4 | 8364       # it will coredump. | 
| Chris@4 | 8365       lt_prog_compiler_pic='-fPIC -shared' | 
| Chris@4 | 8366       ;; | 
| Chris@4 | 8367 | 
| Chris@4 | 8368     osf3* | osf4* | osf5*) | 
| Chris@4 | 8369       lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8370       # All OSF/1 code is PIC. | 
| Chris@4 | 8371       lt_prog_compiler_static='-non_shared' | 
| Chris@4 | 8372       ;; | 
| Chris@4 | 8373 | 
| Chris@4 | 8374     rdos*) | 
| Chris@4 | 8375       lt_prog_compiler_static='-non_shared' | 
| Chris@4 | 8376       ;; | 
| Chris@4 | 8377 | 
| Chris@4 | 8378     solaris*) | 
| Chris@4 | 8379       lt_prog_compiler_pic='-KPIC' | 
| Chris@4 | 8380       lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8381       case $cc_basename in | 
| Chris@4 | 8382       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*) | 
| Chris@4 | 8383 	lt_prog_compiler_wl='-Qoption ld ';; | 
| Chris@4 | 8384       *) | 
| Chris@4 | 8385 	lt_prog_compiler_wl='-Wl,';; | 
| Chris@4 | 8386       esac | 
| Chris@4 | 8387       ;; | 
| Chris@4 | 8388 | 
| Chris@4 | 8389     sunos4*) | 
| Chris@4 | 8390       lt_prog_compiler_wl='-Qoption ld ' | 
| Chris@4 | 8391       lt_prog_compiler_pic='-PIC' | 
| Chris@4 | 8392       lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8393       ;; | 
| Chris@4 | 8394 | 
| Chris@4 | 8395     sysv4 | sysv4.2uw2* | sysv4.3*) | 
| Chris@4 | 8396       lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8397       lt_prog_compiler_pic='-KPIC' | 
| Chris@4 | 8398       lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8399       ;; | 
| Chris@4 | 8400 | 
| Chris@4 | 8401     sysv4*MP*) | 
| Chris@4 | 8402       if test -d /usr/nec ;then | 
| Chris@4 | 8403 	lt_prog_compiler_pic='-Kconform_pic' | 
| Chris@4 | 8404 	lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8405       fi | 
| Chris@4 | 8406       ;; | 
| Chris@4 | 8407 | 
| Chris@4 | 8408     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | 
| Chris@4 | 8409       lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8410       lt_prog_compiler_pic='-KPIC' | 
| Chris@4 | 8411       lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8412       ;; | 
| Chris@4 | 8413 | 
| Chris@4 | 8414     unicos*) | 
| Chris@4 | 8415       lt_prog_compiler_wl='-Wl,' | 
| Chris@4 | 8416       lt_prog_compiler_can_build_shared=no | 
| Chris@4 | 8417       ;; | 
| Chris@4 | 8418 | 
| Chris@4 | 8419     uts4*) | 
| Chris@4 | 8420       lt_prog_compiler_pic='-pic' | 
| Chris@4 | 8421       lt_prog_compiler_static='-Bstatic' | 
| Chris@4 | 8422       ;; | 
| Chris@4 | 8423 | 
| Chris@4 | 8424     *) | 
| Chris@4 | 8425       lt_prog_compiler_can_build_shared=no | 
| Chris@4 | 8426       ;; | 
| Chris@4 | 8427     esac | 
| Chris@4 | 8428   fi | 
| Chris@4 | 8429 | 
| Chris@4 | 8430 case $host_os in | 
| Chris@4 | 8431   # For platforms which do not support PIC, -DPIC is meaningless: | 
| Chris@4 | 8432   *djgpp*) | 
| Chris@4 | 8433     lt_prog_compiler_pic= | 
| Chris@4 | 8434     ;; | 
| Chris@4 | 8435   *) | 
| Chris@4 | 8436     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" | 
| Chris@4 | 8437     ;; | 
| Chris@4 | 8438 esac | 
| Chris@4 | 8439 | 
| Chris@4 | 8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 | 
| Chris@4 | 8441 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | 
| Chris@4 | 8442 if ${lt_cv_prog_compiler_pic+:} false; then : | 
| Chris@4 | 8443   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 8444 else | 
| Chris@4 | 8445   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic | 
| Chris@4 | 8446 fi | 
| Chris@4 | 8447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5 | 
| Chris@4 | 8448 $as_echo "$lt_cv_prog_compiler_pic" >&6; } | 
| Chris@4 | 8449 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic | 
| Chris@4 | 8450 | 
| Chris@4 | 8451 # | 
| Chris@4 | 8452 # Check to make sure the PIC flag actually works. | 
| Chris@4 | 8453 # | 
| Chris@4 | 8454 if test -n "$lt_prog_compiler_pic"; then | 
| Chris@4 | 8455   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 | 
| Chris@4 | 8456 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } | 
| Chris@4 | 8457 if ${lt_cv_prog_compiler_pic_works+:} false; then : | 
| Chris@4 | 8458   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 8459 else | 
| Chris@4 | 8460   lt_cv_prog_compiler_pic_works=no | 
| Chris@4 | 8461    ac_outfile=conftest.$ac_objext | 
| Chris@4 | 8462    echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 8463    lt_compiler_flag="$lt_prog_compiler_pic -DPIC" | 
| Chris@4 | 8464    # Insert the option either (1) after the last *FLAGS variable, or | 
| Chris@4 | 8465    # (2) before a word containing "conftest.", or (3) at the end. | 
| Chris@4 | 8466    # Note that $ac_compile itself does not contain backslashes and begins | 
| Chris@4 | 8467    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
| Chris@4 | 8468    # The option is referenced via a variable to avoid confusing sed. | 
| Chris@4 | 8469    lt_compile=`echo "$ac_compile" | $SED \ | 
| Chris@4 | 8470    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 
| Chris@4 | 8471    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
| Chris@4 | 8472    -e 's:$: $lt_compiler_flag:'` | 
| Chris@4 | 8473    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 
| Chris@4 | 8474    (eval "$lt_compile" 2>conftest.err) | 
| Chris@4 | 8475    ac_status=$? | 
| Chris@4 | 8476    cat conftest.err >&5 | 
| Chris@4 | 8477    echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| Chris@4 | 8478    if (exit $ac_status) && test -s "$ac_outfile"; then | 
| Chris@4 | 8479      # The compiler can only warn and ignore the option if not recognized | 
| Chris@4 | 8480      # So say no if there are warnings other than the usual output. | 
| Chris@4 | 8481      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 
| Chris@4 | 8482      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 
| Chris@4 | 8483      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | 
| Chris@4 | 8484        lt_cv_prog_compiler_pic_works=yes | 
| Chris@4 | 8485      fi | 
| Chris@4 | 8486    fi | 
| Chris@4 | 8487    $RM conftest* | 
| Chris@4 | 8488 | 
| Chris@4 | 8489 fi | 
| Chris@4 | 8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 | 
| Chris@4 | 8491 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } | 
| Chris@4 | 8492 | 
| Chris@4 | 8493 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then | 
| Chris@4 | 8494     case $lt_prog_compiler_pic in | 
| Chris@4 | 8495      "" | " "*) ;; | 
| Chris@4 | 8496      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;; | 
| Chris@4 | 8497      esac | 
| Chris@4 | 8498 else | 
| Chris@4 | 8499     lt_prog_compiler_pic= | 
| Chris@4 | 8500      lt_prog_compiler_can_build_shared=no | 
| Chris@4 | 8501 fi | 
| Chris@4 | 8502 | 
| Chris@4 | 8503 fi | 
| Chris@4 | 8504 | 
| Chris@4 | 8505 | 
| Chris@4 | 8506 | 
| Chris@4 | 8507 | 
| Chris@4 | 8508 | 
| Chris@4 | 8509 | 
| Chris@4 | 8510 | 
| Chris@4 | 8511 | 
| Chris@4 | 8512 | 
| Chris@4 | 8513 | 
| Chris@4 | 8514 | 
| Chris@4 | 8515 # | 
| Chris@4 | 8516 # Check to make sure the static flag actually works. | 
| Chris@4 | 8517 # | 
| Chris@4 | 8518 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" | 
| Chris@4 | 8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | 
| Chris@4 | 8520 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } | 
| Chris@4 | 8521 if ${lt_cv_prog_compiler_static_works+:} false; then : | 
| Chris@4 | 8522   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 8523 else | 
| Chris@4 | 8524   lt_cv_prog_compiler_static_works=no | 
| Chris@4 | 8525    save_LDFLAGS="$LDFLAGS" | 
| Chris@4 | 8526    LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | 
| Chris@4 | 8527    echo "$lt_simple_link_test_code" > conftest.$ac_ext | 
| Chris@4 | 8528    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 
| Chris@4 | 8529      # The linker can only warn and ignore the option if not recognized | 
| Chris@4 | 8530      # So say no if there are warnings | 
| Chris@4 | 8531      if test -s conftest.err; then | 
| Chris@4 | 8532        # Append any errors to the config.log. | 
| Chris@4 | 8533        cat conftest.err 1>&5 | 
| Chris@4 | 8534        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 
| Chris@4 | 8535        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 
| Chris@4 | 8536        if diff conftest.exp conftest.er2 >/dev/null; then | 
| Chris@4 | 8537          lt_cv_prog_compiler_static_works=yes | 
| Chris@4 | 8538        fi | 
| Chris@4 | 8539      else | 
| Chris@4 | 8540        lt_cv_prog_compiler_static_works=yes | 
| Chris@4 | 8541      fi | 
| Chris@4 | 8542    fi | 
| Chris@4 | 8543    $RM -r conftest* | 
| Chris@4 | 8544    LDFLAGS="$save_LDFLAGS" | 
| Chris@4 | 8545 | 
| Chris@4 | 8546 fi | 
| Chris@4 | 8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 | 
| Chris@4 | 8548 $as_echo "$lt_cv_prog_compiler_static_works" >&6; } | 
| Chris@4 | 8549 | 
| Chris@4 | 8550 if test x"$lt_cv_prog_compiler_static_works" = xyes; then | 
| Chris@4 | 8551     : | 
| Chris@4 | 8552 else | 
| Chris@4 | 8553     lt_prog_compiler_static= | 
| Chris@4 | 8554 fi | 
| Chris@4 | 8555 | 
| Chris@4 | 8556 | 
| Chris@4 | 8557 | 
| Chris@4 | 8558 | 
| Chris@4 | 8559 | 
| Chris@4 | 8560 | 
| Chris@4 | 8561 | 
| Chris@4 | 8562   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
| Chris@4 | 8563 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | 
| Chris@4 | 8564 if ${lt_cv_prog_compiler_c_o+:} false; then : | 
| Chris@4 | 8565   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 8566 else | 
| Chris@4 | 8567   lt_cv_prog_compiler_c_o=no | 
| Chris@4 | 8568    $RM -r conftest 2>/dev/null | 
| Chris@4 | 8569    mkdir conftest | 
| Chris@4 | 8570    cd conftest | 
| Chris@4 | 8571    mkdir out | 
| Chris@4 | 8572    echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 8573 | 
| Chris@4 | 8574    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
| Chris@4 | 8575    # Insert the option either (1) after the last *FLAGS variable, or | 
| Chris@4 | 8576    # (2) before a word containing "conftest.", or (3) at the end. | 
| Chris@4 | 8577    # Note that $ac_compile itself does not contain backslashes and begins | 
| Chris@4 | 8578    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
| Chris@4 | 8579    lt_compile=`echo "$ac_compile" | $SED \ | 
| Chris@4 | 8580    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 
| Chris@4 | 8581    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
| Chris@4 | 8582    -e 's:$: $lt_compiler_flag:'` | 
| Chris@4 | 8583    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 
| Chris@4 | 8584    (eval "$lt_compile" 2>out/conftest.err) | 
| Chris@4 | 8585    ac_status=$? | 
| Chris@4 | 8586    cat out/conftest.err >&5 | 
| Chris@4 | 8587    echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| Chris@4 | 8588    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
| Chris@4 | 8589    then | 
| Chris@4 | 8590      # The compiler can only warn and ignore the option if not recognized | 
| Chris@4 | 8591      # So say no if there are warnings | 
| Chris@4 | 8592      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | 
| Chris@4 | 8593      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | 
| Chris@4 | 8594      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 
| Chris@4 | 8595        lt_cv_prog_compiler_c_o=yes | 
| Chris@4 | 8596      fi | 
| Chris@4 | 8597    fi | 
| Chris@4 | 8598    chmod u+w . 2>&5 | 
| Chris@4 | 8599    $RM conftest* | 
| Chris@4 | 8600    # SGI C++ compiler will create directory out/ii_files/ for | 
| Chris@4 | 8601    # template instantiation | 
| Chris@4 | 8602    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | 
| Chris@4 | 8603    $RM out/* && rmdir out | 
| Chris@4 | 8604    cd .. | 
| Chris@4 | 8605    $RM -r conftest | 
| Chris@4 | 8606    $RM conftest* | 
| Chris@4 | 8607 | 
| Chris@4 | 8608 fi | 
| Chris@4 | 8609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | 
| Chris@4 | 8610 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | 
| Chris@4 | 8611 | 
| Chris@4 | 8612 | 
| Chris@4 | 8613 | 
| Chris@4 | 8614 | 
| Chris@4 | 8615 | 
| Chris@4 | 8616 | 
| Chris@4 | 8617   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
| Chris@4 | 8618 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | 
| Chris@4 | 8619 if ${lt_cv_prog_compiler_c_o+:} false; then : | 
| Chris@4 | 8620   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 8621 else | 
| Chris@4 | 8622   lt_cv_prog_compiler_c_o=no | 
| Chris@4 | 8623    $RM -r conftest 2>/dev/null | 
| Chris@4 | 8624    mkdir conftest | 
| Chris@4 | 8625    cd conftest | 
| Chris@4 | 8626    mkdir out | 
| Chris@4 | 8627    echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 8628 | 
| Chris@4 | 8629    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
| Chris@4 | 8630    # Insert the option either (1) after the last *FLAGS variable, or | 
| Chris@4 | 8631    # (2) before a word containing "conftest.", or (3) at the end. | 
| Chris@4 | 8632    # Note that $ac_compile itself does not contain backslashes and begins | 
| Chris@4 | 8633    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
| Chris@4 | 8634    lt_compile=`echo "$ac_compile" | $SED \ | 
| Chris@4 | 8635    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 
| Chris@4 | 8636    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
| Chris@4 | 8637    -e 's:$: $lt_compiler_flag:'` | 
| Chris@4 | 8638    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 
| Chris@4 | 8639    (eval "$lt_compile" 2>out/conftest.err) | 
| Chris@4 | 8640    ac_status=$? | 
| Chris@4 | 8641    cat out/conftest.err >&5 | 
| Chris@4 | 8642    echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| Chris@4 | 8643    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
| Chris@4 | 8644    then | 
| Chris@4 | 8645      # The compiler can only warn and ignore the option if not recognized | 
| Chris@4 | 8646      # So say no if there are warnings | 
| Chris@4 | 8647      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | 
| Chris@4 | 8648      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | 
| Chris@4 | 8649      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 
| Chris@4 | 8650        lt_cv_prog_compiler_c_o=yes | 
| Chris@4 | 8651      fi | 
| Chris@4 | 8652    fi | 
| Chris@4 | 8653    chmod u+w . 2>&5 | 
| Chris@4 | 8654    $RM conftest* | 
| Chris@4 | 8655    # SGI C++ compiler will create directory out/ii_files/ for | 
| Chris@4 | 8656    # template instantiation | 
| Chris@4 | 8657    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | 
| Chris@4 | 8658    $RM out/* && rmdir out | 
| Chris@4 | 8659    cd .. | 
| Chris@4 | 8660    $RM -r conftest | 
| Chris@4 | 8661    $RM conftest* | 
| Chris@4 | 8662 | 
| Chris@4 | 8663 fi | 
| Chris@4 | 8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 | 
| Chris@4 | 8665 $as_echo "$lt_cv_prog_compiler_c_o" >&6; } | 
| Chris@4 | 8666 | 
| Chris@4 | 8667 | 
| Chris@4 | 8668 | 
| Chris@4 | 8669 | 
| Chris@4 | 8670 hard_links="nottested" | 
| Chris@4 | 8671 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then | 
| Chris@4 | 8672   # do not overwrite the value of need_locks provided by the user | 
| Chris@4 | 8673   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 | 
| Chris@4 | 8674 $as_echo_n "checking if we can lock with hard links... " >&6; } | 
| Chris@4 | 8675   hard_links=yes | 
| Chris@4 | 8676   $RM conftest* | 
| Chris@4 | 8677   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
| Chris@4 | 8678   touch conftest.a | 
| Chris@4 | 8679   ln conftest.a conftest.b 2>&5 || hard_links=no | 
| Chris@4 | 8680   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
| Chris@4 | 8681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | 
| Chris@4 | 8682 $as_echo "$hard_links" >&6; } | 
| Chris@4 | 8683   if test "$hard_links" = no; then | 
| Chris@4 | 8684     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
| Chris@4 | 8685 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
| Chris@4 | 8686     need_locks=warn | 
| Chris@4 | 8687   fi | 
| Chris@4 | 8688 else | 
| Chris@4 | 8689   need_locks=no | 
| Chris@4 | 8690 fi | 
| Chris@4 | 8691 | 
| Chris@4 | 8692 | 
| Chris@4 | 8693 | 
| Chris@4 | 8694 | 
| Chris@4 | 8695 | 
| Chris@4 | 8696 | 
| Chris@4 | 8697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
| Chris@4 | 8698 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } | 
| Chris@4 | 8699 | 
| Chris@4 | 8700   runpath_var= | 
| Chris@4 | 8701   allow_undefined_flag= | 
| Chris@4 | 8702   always_export_symbols=no | 
| Chris@4 | 8703   archive_cmds= | 
| Chris@4 | 8704   archive_expsym_cmds= | 
| Chris@4 | 8705   compiler_needs_object=no | 
| Chris@4 | 8706   enable_shared_with_static_runtimes=no | 
| Chris@4 | 8707   export_dynamic_flag_spec= | 
| Chris@4 | 8708   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
| Chris@4 | 8709   hardcode_automatic=no | 
| Chris@4 | 8710   hardcode_direct=no | 
| Chris@4 | 8711   hardcode_direct_absolute=no | 
| Chris@4 | 8712   hardcode_libdir_flag_spec= | 
| Chris@4 | 8713   hardcode_libdir_flag_spec_ld= | 
| Chris@4 | 8714   hardcode_libdir_separator= | 
| Chris@4 | 8715   hardcode_minus_L=no | 
| Chris@4 | 8716   hardcode_shlibpath_var=unsupported | 
| Chris@4 | 8717   inherit_rpath=no | 
| Chris@4 | 8718   link_all_deplibs=unknown | 
| Chris@4 | 8719   module_cmds= | 
| Chris@4 | 8720   module_expsym_cmds= | 
| Chris@4 | 8721   old_archive_from_new_cmds= | 
| Chris@4 | 8722   old_archive_from_expsyms_cmds= | 
| Chris@4 | 8723   thread_safe_flag_spec= | 
| Chris@4 | 8724   whole_archive_flag_spec= | 
| Chris@4 | 8725   # include_expsyms should be a list of space-separated symbols to be *always* | 
| Chris@4 | 8726   # included in the symbol list | 
| Chris@4 | 8727   include_expsyms= | 
| Chris@4 | 8728   # exclude_expsyms can be an extended regexp of symbols to exclude | 
| Chris@4 | 8729   # it will be wrapped by ` (' and `)$', so one must not match beginning or | 
| Chris@4 | 8730   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 
| Chris@4 | 8731   # as well as any symbol that contains `d'. | 
| Chris@4 | 8732   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | 
| Chris@4 | 8733   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 
| Chris@4 | 8734   # platforms (ab)use it in PIC code, but their linkers get confused if | 
| Chris@4 | 8735   # the symbol is explicitly referenced.  Since portable code cannot | 
| Chris@4 | 8736   # rely on this symbol name, it's probably fine to never include it in | 
| Chris@4 | 8737   # preloaded symbol tables. | 
| Chris@4 | 8738   # Exclude shared library initialization/finalization symbols. | 
| Chris@4 | 8739   extract_expsyms_cmds= | 
| Chris@4 | 8740 | 
| Chris@4 | 8741   case $host_os in | 
| Chris@4 | 8742   cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 8743     # FIXME: the MSVC++ port hasn't been tested in a loooong time | 
| Chris@4 | 8744     # When not using gcc, we currently assume that we are using | 
| Chris@4 | 8745     # Microsoft Visual C++. | 
| Chris@4 | 8746     if test "$GCC" != yes; then | 
| Chris@4 | 8747       with_gnu_ld=no | 
| Chris@4 | 8748     fi | 
| Chris@4 | 8749     ;; | 
| Chris@4 | 8750   interix*) | 
| Chris@4 | 8751     # we just hope/assume this is gcc and not c89 (= MSVC++) | 
| Chris@4 | 8752     with_gnu_ld=yes | 
| Chris@4 | 8753     ;; | 
| Chris@4 | 8754   openbsd*) | 
| Chris@4 | 8755     with_gnu_ld=no | 
| Chris@4 | 8756     ;; | 
| Chris@4 | 8757   linux* | k*bsd*-gnu | gnu*) | 
| Chris@4 | 8758     link_all_deplibs=no | 
| Chris@4 | 8759     ;; | 
| Chris@4 | 8760   esac | 
| Chris@4 | 8761 | 
| Chris@4 | 8762   ld_shlibs=yes | 
| Chris@4 | 8763 | 
| Chris@4 | 8764   # On some targets, GNU ld is compatible enough with the native linker | 
| Chris@4 | 8765   # that we're better off using the native interface for both. | 
| Chris@4 | 8766   lt_use_gnu_ld_interface=no | 
| Chris@4 | 8767   if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 8768     case $host_os in | 
| Chris@4 | 8769       aix*) | 
| Chris@4 | 8770 	# The AIX port of GNU ld has always aspired to compatibility | 
| Chris@4 | 8771 	# with the native linker.  However, as the warning in the GNU ld | 
| Chris@4 | 8772 	# block says, versions before 2.19.5* couldn't really create working | 
| Chris@4 | 8773 	# shared libraries, regardless of the interface used. | 
| Chris@4 | 8774 	case `$LD -v 2>&1` in | 
| Chris@4 | 8775 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;; | 
| Chris@4 | 8776 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;; | 
| Chris@4 | 8777 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;; | 
| Chris@4 | 8778 	  *) | 
| Chris@4 | 8779 	    lt_use_gnu_ld_interface=yes | 
| Chris@4 | 8780 	    ;; | 
| Chris@4 | 8781 	esac | 
| Chris@4 | 8782 	;; | 
| Chris@4 | 8783       *) | 
| Chris@4 | 8784 	lt_use_gnu_ld_interface=yes | 
| Chris@4 | 8785 	;; | 
| Chris@4 | 8786     esac | 
| Chris@4 | 8787   fi | 
| Chris@4 | 8788 | 
| Chris@4 | 8789   if test "$lt_use_gnu_ld_interface" = yes; then | 
| Chris@4 | 8790     # If archive_cmds runs LD, not CC, wlarc should be empty | 
| Chris@4 | 8791     wlarc='${wl}' | 
| Chris@4 | 8792 | 
| Chris@4 | 8793     # Set some defaults for GNU ld with shared library support. These | 
| Chris@4 | 8794     # are reset later if shared libraries are not supported. Putting them | 
| Chris@4 | 8795     # here allows them to be overridden if necessary. | 
| Chris@4 | 8796     runpath_var=LD_RUN_PATH | 
| Chris@4 | 8797     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 8798     export_dynamic_flag_spec='${wl}--export-dynamic' | 
| Chris@4 | 8799     # ancient GNU ld didn't support --whole-archive et. al. | 
| Chris@4 | 8800     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then | 
| Chris@4 | 8801       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
| Chris@4 | 8802     else | 
| Chris@4 | 8803       whole_archive_flag_spec= | 
| Chris@4 | 8804     fi | 
| Chris@4 | 8805     supports_anon_versioning=no | 
| Chris@4 | 8806     case `$LD -v 2>&1` in | 
| Chris@4 | 8807       *GNU\ gold*) supports_anon_versioning=yes ;; | 
| Chris@4 | 8808       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11 | 
| Chris@4 | 8809       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | 
| Chris@4 | 8810       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | 
| Chris@4 | 8811       *\ 2.11.*) ;; # other 2.11 versions | 
| Chris@4 | 8812       *) supports_anon_versioning=yes ;; | 
| Chris@4 | 8813     esac | 
| Chris@4 | 8814 | 
| Chris@4 | 8815     # See if GNU ld supports shared libraries. | 
| Chris@4 | 8816     case $host_os in | 
| Chris@4 | 8817     aix[3-9]*) | 
| Chris@4 | 8818       # On AIX/PPC, the GNU linker is very broken | 
| Chris@4 | 8819       if test "$host_cpu" != ia64; then | 
| Chris@4 | 8820 	ld_shlibs=no | 
| Chris@4 | 8821 	cat <<_LT_EOF 1>&2 | 
| Chris@4 | 8822 | 
| Chris@4 | 8823 *** Warning: the GNU linker, at least up to release 2.19, is reported | 
| Chris@4 | 8824 *** to be unable to reliably create shared libraries on AIX. | 
| Chris@4 | 8825 *** Therefore, libtool is disabling shared libraries support.  If you | 
| Chris@4 | 8826 *** really care for shared libraries, you may want to install binutils | 
| Chris@4 | 8827 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found. | 
| Chris@4 | 8828 *** You will then need to restart the configuration process. | 
| Chris@4 | 8829 | 
| Chris@4 | 8830 _LT_EOF | 
| Chris@4 | 8831       fi | 
| Chris@4 | 8832       ;; | 
| Chris@4 | 8833 | 
| Chris@4 | 8834     amigaos*) | 
| Chris@4 | 8835       case $host_cpu in | 
| Chris@4 | 8836       powerpc) | 
| Chris@4 | 8837             # see comment about AmigaOS4 .so support | 
| Chris@4 | 8838             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 8839             archive_expsym_cmds='' | 
| Chris@4 | 8840         ;; | 
| Chris@4 | 8841       m68k) | 
| Chris@4 | 8842             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)' | 
| Chris@4 | 8843             hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 8844             hardcode_minus_L=yes | 
| Chris@4 | 8845         ;; | 
| Chris@4 | 8846       esac | 
| Chris@4 | 8847       ;; | 
| Chris@4 | 8848 | 
| Chris@4 | 8849     beos*) | 
| Chris@4 | 8850       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 
| Chris@4 | 8851 	allow_undefined_flag=unsupported | 
| Chris@4 | 8852 	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
| Chris@4 | 8853 	# support --undefined.  This deserves some investigation.  FIXME | 
| Chris@4 | 8854 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 8855       else | 
| Chris@4 | 8856 	ld_shlibs=no | 
| Chris@4 | 8857       fi | 
| Chris@4 | 8858       ;; | 
| Chris@4 | 8859 | 
| Chris@4 | 8860     cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 8861       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless, | 
| Chris@4 | 8862       # as there is no search path for DLLs. | 
| Chris@4 | 8863       hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 8864       export_dynamic_flag_spec='${wl}--export-all-symbols' | 
| Chris@4 | 8865       allow_undefined_flag=unsupported | 
| Chris@4 | 8866       always_export_symbols=no | 
| Chris@4 | 8867       enable_shared_with_static_runtimes=yes | 
| Chris@4 | 8868       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' | 
| Chris@4 | 8869       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | 
| Chris@4 | 8870 | 
| Chris@4 | 8871       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | 
| Chris@4 | 8872         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 
| Chris@4 | 8873 	# If the export-symbols file already is a .def file (1st line | 
| Chris@4 | 8874 	# is EXPORTS), use it as is; otherwise, prepend... | 
| Chris@4 | 8875 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
| Chris@4 | 8876 	  cp $export_symbols $output_objdir/$soname.def; | 
| Chris@4 | 8877 	else | 
| Chris@4 | 8878 	  echo EXPORTS > $output_objdir/$soname.def; | 
| Chris@4 | 8879 	  cat $export_symbols >> $output_objdir/$soname.def; | 
| Chris@4 | 8880 	fi~ | 
| Chris@4 | 8881 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 
| Chris@4 | 8882       else | 
| Chris@4 | 8883 	ld_shlibs=no | 
| Chris@4 | 8884       fi | 
| Chris@4 | 8885       ;; | 
| Chris@4 | 8886 | 
| Chris@4 | 8887     haiku*) | 
| Chris@4 | 8888       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 8889       link_all_deplibs=yes | 
| Chris@4 | 8890       ;; | 
| Chris@4 | 8891 | 
| Chris@4 | 8892     interix[3-9]*) | 
| Chris@4 | 8893       hardcode_direct=no | 
| Chris@4 | 8894       hardcode_shlibpath_var=no | 
| Chris@4 | 8895       hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
| Chris@4 | 8896       export_dynamic_flag_spec='${wl}-E' | 
| Chris@4 | 8897       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | 
| Chris@4 | 8898       # Instead, shared libraries are loaded at an image base (0x10000000 by | 
| Chris@4 | 8899       # default) and relocated if they conflict, which is a slow very memory | 
| Chris@4 | 8900       # consuming and fragmenting process.  To avoid this, we pick a random, | 
| Chris@4 | 8901       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | 
| Chris@4 | 8902       # time.  Moving up from 0x10000000 also allows more sbrk(2) space. | 
| Chris@4 | 8903       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 
| Chris@4 | 8904       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 
| Chris@4 | 8905       ;; | 
| Chris@4 | 8906 | 
| Chris@4 | 8907     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu) | 
| Chris@4 | 8908       tmp_diet=no | 
| Chris@4 | 8909       if test "$host_os" = linux-dietlibc; then | 
| Chris@4 | 8910 	case $cc_basename in | 
| Chris@4 | 8911 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn) | 
| Chris@4 | 8912 	esac | 
| Chris@4 | 8913       fi | 
| Chris@4 | 8914       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \ | 
| Chris@4 | 8915 	 && test "$tmp_diet" = no | 
| Chris@4 | 8916       then | 
| Chris@4 | 8917 	tmp_addflag=' $pic_flag' | 
| Chris@4 | 8918 	tmp_sharedflag='-shared' | 
| Chris@4 | 8919 	case $cc_basename,$host_cpu in | 
| Chris@4 | 8920         pgcc*)				# Portland Group C compiler | 
| Chris@4 | 8921 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 
| Chris@4 | 8922 	  tmp_addflag=' $pic_flag' | 
| Chris@4 | 8923 	  ;; | 
| Chris@4 | 8924 	pgf77* | pgf90* | pgf95* | pgfortran*) | 
| Chris@4 | 8925 					# Portland Group f77 and f90 compilers | 
| Chris@4 | 8926 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 
| Chris@4 | 8927 	  tmp_addflag=' $pic_flag -Mnomain' ;; | 
| Chris@4 | 8928 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64 | 
| Chris@4 | 8929 	  tmp_addflag=' -i_dynamic' ;; | 
| Chris@4 | 8930 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64 | 
| Chris@4 | 8931 	  tmp_addflag=' -i_dynamic -nofor_main' ;; | 
| Chris@4 | 8932 	ifc* | ifort*)			# Intel Fortran compiler | 
| Chris@4 | 8933 	  tmp_addflag=' -nofor_main' ;; | 
| Chris@4 | 8934 	lf95*)				# Lahey Fortran 8.1 | 
| Chris@4 | 8935 	  whole_archive_flag_spec= | 
| Chris@4 | 8936 	  tmp_sharedflag='--shared' ;; | 
| Chris@4 | 8937 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below) | 
| Chris@4 | 8938 	  tmp_sharedflag='-qmkshrobj' | 
| Chris@4 | 8939 	  tmp_addflag= ;; | 
| Chris@4 | 8940 	nvcc*)	# Cuda Compiler Driver 2.2 | 
| Chris@4 | 8941 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 
| Chris@4 | 8942 	  compiler_needs_object=yes | 
| Chris@4 | 8943 	  ;; | 
| Chris@4 | 8944 	esac | 
| Chris@4 | 8945 	case `$CC -V 2>&1 | sed 5q` in | 
| Chris@4 | 8946 	*Sun\ C*)			# Sun C 5.9 | 
| Chris@4 | 8947 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 
| Chris@4 | 8948 	  compiler_needs_object=yes | 
| Chris@4 | 8949 	  tmp_sharedflag='-G' ;; | 
| Chris@4 | 8950 	*Sun\ F*)			# Sun Fortran 8.3 | 
| Chris@4 | 8951 	  tmp_sharedflag='-G' ;; | 
| Chris@4 | 8952 	esac | 
| Chris@4 | 8953 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 8954 | 
| Chris@4 | 8955         if test "x$supports_anon_versioning" = xyes; then | 
| Chris@4 | 8956           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 
| Chris@4 | 8957 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | 
| Chris@4 | 8958 	    echo "local: *; };" >> $output_objdir/$libname.ver~ | 
| Chris@4 | 8959 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 
| Chris@4 | 8960         fi | 
| Chris@4 | 8961 | 
| Chris@4 | 8962 	case $cc_basename in | 
| Chris@4 | 8963 	xlf* | bgf* | bgxlf* | mpixlf*) | 
| Chris@4 | 8964 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself | 
| Chris@4 | 8965 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive' | 
| Chris@4 | 8966 	  hardcode_libdir_flag_spec= | 
| Chris@4 | 8967 	  hardcode_libdir_flag_spec_ld='-rpath $libdir' | 
| Chris@4 | 8968 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib' | 
| Chris@4 | 8969 	  if test "x$supports_anon_versioning" = xyes; then | 
| Chris@4 | 8970 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~ | 
| Chris@4 | 8971 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | 
| Chris@4 | 8972 	      echo "local: *; };" >> $output_objdir/$libname.ver~ | 
| Chris@4 | 8973 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib' | 
| Chris@4 | 8974 	  fi | 
| Chris@4 | 8975 	  ;; | 
| Chris@4 | 8976 	esac | 
| Chris@4 | 8977       else | 
| Chris@4 | 8978         ld_shlibs=no | 
| Chris@4 | 8979       fi | 
| Chris@4 | 8980       ;; | 
| Chris@4 | 8981 | 
| Chris@4 | 8982     netbsd* | netbsdelf*-gnu) | 
| Chris@4 | 8983       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 
| Chris@4 | 8984 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib' | 
| Chris@4 | 8985 	wlarc= | 
| Chris@4 | 8986       else | 
| Chris@4 | 8987 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 8988 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
| Chris@4 | 8989       fi | 
| Chris@4 | 8990       ;; | 
| Chris@4 | 8991 | 
| Chris@4 | 8992     solaris*) | 
| Chris@4 | 8993       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then | 
| Chris@4 | 8994 	ld_shlibs=no | 
| Chris@4 | 8995 	cat <<_LT_EOF 1>&2 | 
| Chris@4 | 8996 | 
| Chris@4 | 8997 *** Warning: The releases 2.8.* of the GNU linker cannot reliably | 
| Chris@4 | 8998 *** create shared libraries on Solaris systems.  Therefore, libtool | 
| Chris@4 | 8999 *** is disabling shared libraries support.  We urge you to upgrade GNU | 
| Chris@4 | 9000 *** binutils to release 2.9.1 or newer.  Another option is to modify | 
| Chris@4 | 9001 *** your PATH or compiler configuration so that the native linker is | 
| Chris@4 | 9002 *** used, and then restart. | 
| Chris@4 | 9003 | 
| Chris@4 | 9004 _LT_EOF | 
| Chris@4 | 9005       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 
| Chris@4 | 9006 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 9007 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
| Chris@4 | 9008       else | 
| Chris@4 | 9009 	ld_shlibs=no | 
| Chris@4 | 9010       fi | 
| Chris@4 | 9011       ;; | 
| Chris@4 | 9012 | 
| Chris@4 | 9013     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*) | 
| Chris@4 | 9014       case `$LD -v 2>&1` in | 
| Chris@4 | 9015         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*) | 
| Chris@4 | 9016 	ld_shlibs=no | 
| Chris@4 | 9017 	cat <<_LT_EOF 1>&2 | 
| Chris@4 | 9018 | 
| Chris@4 | 9019 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not | 
| Chris@4 | 9020 *** reliably create shared libraries on SCO systems.  Therefore, libtool | 
| Chris@4 | 9021 *** is disabling shared libraries support.  We urge you to upgrade GNU | 
| Chris@4 | 9022 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify | 
| Chris@4 | 9023 *** your PATH or compiler configuration so that the native linker is | 
| Chris@4 | 9024 *** used, and then restart. | 
| Chris@4 | 9025 | 
| Chris@4 | 9026 _LT_EOF | 
| Chris@4 | 9027 	;; | 
| Chris@4 | 9028 	*) | 
| Chris@4 | 9029 	  # For security reasons, it is highly recommended that you always | 
| Chris@4 | 9030 	  # use absolute paths for naming shared libraries, and exclude the | 
| Chris@4 | 9031 	  # DT_RUNPATH tag from executables and libraries.  But doing so | 
| Chris@4 | 9032 	  # requires that you compile everything twice, which is a pain. | 
| Chris@4 | 9033 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 
| Chris@4 | 9034 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 9035 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 9036 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
| Chris@4 | 9037 	  else | 
| Chris@4 | 9038 	    ld_shlibs=no | 
| Chris@4 | 9039 	  fi | 
| Chris@4 | 9040 	;; | 
| Chris@4 | 9041       esac | 
| Chris@4 | 9042       ;; | 
| Chris@4 | 9043 | 
| Chris@4 | 9044     sunos4*) | 
| Chris@4 | 9045       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9046       wlarc= | 
| Chris@4 | 9047       hardcode_direct=yes | 
| Chris@4 | 9048       hardcode_shlibpath_var=no | 
| Chris@4 | 9049       ;; | 
| Chris@4 | 9050 | 
| Chris@4 | 9051     *) | 
| Chris@4 | 9052       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 
| Chris@4 | 9053 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 9054 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
| Chris@4 | 9055       else | 
| Chris@4 | 9056 	ld_shlibs=no | 
| Chris@4 | 9057       fi | 
| Chris@4 | 9058       ;; | 
| Chris@4 | 9059     esac | 
| Chris@4 | 9060 | 
| Chris@4 | 9061     if test "$ld_shlibs" = no; then | 
| Chris@4 | 9062       runpath_var= | 
| Chris@4 | 9063       hardcode_libdir_flag_spec= | 
| Chris@4 | 9064       export_dynamic_flag_spec= | 
| Chris@4 | 9065       whole_archive_flag_spec= | 
| Chris@4 | 9066     fi | 
| Chris@4 | 9067   else | 
| Chris@4 | 9068     # PORTME fill in a description of your system's linker (not GNU ld) | 
| Chris@4 | 9069     case $host_os in | 
| Chris@4 | 9070     aix3*) | 
| Chris@4 | 9071       allow_undefined_flag=unsupported | 
| Chris@4 | 9072       always_export_symbols=yes | 
| Chris@4 | 9073       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' | 
| Chris@4 | 9074       # Note: this linker hardcodes the directories in LIBPATH if there | 
| Chris@4 | 9075       # are no directories specified by -L. | 
| Chris@4 | 9076       hardcode_minus_L=yes | 
| Chris@4 | 9077       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | 
| Chris@4 | 9078 	# Neither direct hardcoding nor static linking is supported with a | 
| Chris@4 | 9079 	# broken collect2. | 
| Chris@4 | 9080 	hardcode_direct=unsupported | 
| Chris@4 | 9081       fi | 
| Chris@4 | 9082       ;; | 
| Chris@4 | 9083 | 
| Chris@4 | 9084     aix[4-9]*) | 
| Chris@4 | 9085       if test "$host_cpu" = ia64; then | 
| Chris@4 | 9086 	# On IA64, the linker does run time linking by default, so we don't | 
| Chris@4 | 9087 	# have to do anything special. | 
| Chris@4 | 9088 	aix_use_runtimelinking=no | 
| Chris@4 | 9089 	exp_sym_flag='-Bexport' | 
| Chris@4 | 9090 	no_entry_flag="" | 
| Chris@4 | 9091       else | 
| Chris@4 | 9092 	# If we're using GNU nm, then we don't want the "-C" option. | 
| Chris@4 | 9093 	# -C means demangle to AIX nm, but means don't demangle with GNU nm | 
| Chris@4 | 9094 	# Also, AIX nm treats weak defined symbols like other global | 
| Chris@4 | 9095 	# defined symbols, whereas GNU nm marks them as "W". | 
| Chris@4 | 9096 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | 
| Chris@4 | 9097 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 
| Chris@4 | 9098 	else | 
| Chris@4 | 9099 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 
| Chris@4 | 9100 	fi | 
| Chris@4 | 9101 	aix_use_runtimelinking=no | 
| Chris@4 | 9102 | 
| Chris@4 | 9103 	# Test if we are trying to use run time linking or normal | 
| Chris@4 | 9104 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
| Chris@4 | 9105 	# need to do runtime linking. | 
| Chris@4 | 9106 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | 
| Chris@4 | 9107 	  for ld_flag in $LDFLAGS; do | 
| Chris@4 | 9108 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 
| Chris@4 | 9109 	    aix_use_runtimelinking=yes | 
| Chris@4 | 9110 	    break | 
| Chris@4 | 9111 	  fi | 
| Chris@4 | 9112 	  done | 
| Chris@4 | 9113 	  ;; | 
| Chris@4 | 9114 	esac | 
| Chris@4 | 9115 | 
| Chris@4 | 9116 	exp_sym_flag='-bexport' | 
| Chris@4 | 9117 	no_entry_flag='-bnoentry' | 
| Chris@4 | 9118       fi | 
| Chris@4 | 9119 | 
| Chris@4 | 9120       # When large executables or shared objects are built, AIX ld can | 
| Chris@4 | 9121       # have problems creating the table of contents.  If linking a library | 
| Chris@4 | 9122       # or program results in "error TOC overflow" add -mminimal-toc to | 
| Chris@4 | 9123       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
| Chris@4 | 9124       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
| Chris@4 | 9125 | 
| Chris@4 | 9126       archive_cmds='' | 
| Chris@4 | 9127       hardcode_direct=yes | 
| Chris@4 | 9128       hardcode_direct_absolute=yes | 
| Chris@4 | 9129       hardcode_libdir_separator=':' | 
| Chris@4 | 9130       link_all_deplibs=yes | 
| Chris@4 | 9131       file_list_spec='${wl}-f,' | 
| Chris@4 | 9132 | 
| Chris@4 | 9133       if test "$GCC" = yes; then | 
| Chris@4 | 9134 	case $host_os in aix4.[012]|aix4.[012].*) | 
| Chris@4 | 9135 	# We only want to do this on AIX 4.2 and lower, the check | 
| Chris@4 | 9136 	# below for broken collect2 doesn't work under 4.3+ | 
| Chris@4 | 9137 	  collect2name=`${CC} -print-prog-name=collect2` | 
| Chris@4 | 9138 	  if test -f "$collect2name" && | 
| Chris@4 | 9139 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null | 
| Chris@4 | 9140 	  then | 
| Chris@4 | 9141 	  # We have reworked collect2 | 
| Chris@4 | 9142 	  : | 
| Chris@4 | 9143 	  else | 
| Chris@4 | 9144 	  # We have old collect2 | 
| Chris@4 | 9145 	  hardcode_direct=unsupported | 
| Chris@4 | 9146 	  # It fails to find uninstalled libraries when the uninstalled | 
| Chris@4 | 9147 	  # path is not listed in the libpath.  Setting hardcode_minus_L | 
| Chris@4 | 9148 	  # to unsupported forces relinking | 
| Chris@4 | 9149 	  hardcode_minus_L=yes | 
| Chris@4 | 9150 	  hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 9151 	  hardcode_libdir_separator= | 
| Chris@4 | 9152 	  fi | 
| Chris@4 | 9153 	  ;; | 
| Chris@4 | 9154 	esac | 
| Chris@4 | 9155 	shared_flag='-shared' | 
| Chris@4 | 9156 	if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 9157 	  shared_flag="$shared_flag "'${wl}-G' | 
| Chris@4 | 9158 	fi | 
| Chris@4 | 9159 	link_all_deplibs=no | 
| Chris@4 | 9160       else | 
| Chris@4 | 9161 	# not using gcc | 
| Chris@4 | 9162 	if test "$host_cpu" = ia64; then | 
| Chris@4 | 9163 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
| Chris@4 | 9164 	# chokes on -Wl,-G. The following line is correct: | 
| Chris@4 | 9165 	  shared_flag='-G' | 
| Chris@4 | 9166 	else | 
| Chris@4 | 9167 	  if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 9168 	    shared_flag='${wl}-G' | 
| Chris@4 | 9169 	  else | 
| Chris@4 | 9170 	    shared_flag='${wl}-bM:SRE' | 
| Chris@4 | 9171 	  fi | 
| Chris@4 | 9172 	fi | 
| Chris@4 | 9173       fi | 
| Chris@4 | 9174 | 
| Chris@4 | 9175       export_dynamic_flag_spec='${wl}-bexpall' | 
| Chris@4 | 9176       # It seems that -bexpall does not export symbols beginning with | 
| Chris@4 | 9177       # underscore (_), so it is better to generate a list of symbols to export. | 
| Chris@4 | 9178       always_export_symbols=yes | 
| Chris@4 | 9179       if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 9180 	# Warning - without using the other runtime loading flags (-brtl), | 
| Chris@4 | 9181 	# -berok will link without error, but may produce a broken library. | 
| Chris@4 | 9182 	allow_undefined_flag='-berok' | 
| Chris@4 | 9183         # Determine the default libpath from the value encoded in an | 
| Chris@4 | 9184         # empty executable. | 
| Chris@4 | 9185         if test "${lt_cv_aix_libpath+set}" = set; then | 
| Chris@4 | 9186   aix_libpath=$lt_cv_aix_libpath | 
| Chris@4 | 9187 else | 
| Chris@4 | 9188   if ${lt_cv_aix_libpath_+:} false; then : | 
| Chris@4 | 9189   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 9190 else | 
| Chris@4 | 9191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 9192 /* end confdefs.h.  */ | 
| Chris@4 | 9193 | 
| Chris@4 | 9194 int | 
| Chris@4 | 9195 main () | 
| Chris@4 | 9196 { | 
| Chris@4 | 9197 | 
| Chris@4 | 9198   ; | 
| Chris@4 | 9199   return 0; | 
| Chris@4 | 9200 } | 
| Chris@4 | 9201 _ACEOF | 
| Chris@4 | 9202 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 9203 | 
| Chris@4 | 9204   lt_aix_libpath_sed=' | 
| Chris@4 | 9205       /Import File Strings/,/^$/ { | 
| Chris@4 | 9206 	  /^0/ { | 
| Chris@4 | 9207 	      s/^0  *\([^ ]*\) *$/\1/ | 
| Chris@4 | 9208 	      p | 
| Chris@4 | 9209 	  } | 
| Chris@4 | 9210       }' | 
| Chris@4 | 9211   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 9212   # Check for a 64-bit object if we didn't find anything. | 
| Chris@4 | 9213   if test -z "$lt_cv_aix_libpath_"; then | 
| Chris@4 | 9214     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 9215   fi | 
| Chris@4 | 9216 fi | 
| Chris@4 | 9217 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 9218     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 9219   if test -z "$lt_cv_aix_libpath_"; then | 
| Chris@4 | 9220     lt_cv_aix_libpath_="/usr/lib:/lib" | 
| Chris@4 | 9221   fi | 
| Chris@4 | 9222 | 
| Chris@4 | 9223 fi | 
| Chris@4 | 9224 | 
| Chris@4 | 9225   aix_libpath=$lt_cv_aix_libpath_ | 
| Chris@4 | 9226 fi | 
| Chris@4 | 9227 | 
| Chris@4 | 9228         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
| Chris@4 | 9229         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
| Chris@4 | 9230       else | 
| Chris@4 | 9231 	if test "$host_cpu" = ia64; then | 
| Chris@4 | 9232 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib' | 
| Chris@4 | 9233 	  allow_undefined_flag="-z nodefs" | 
| Chris@4 | 9234 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" | 
| Chris@4 | 9235 	else | 
| Chris@4 | 9236 	 # Determine the default libpath from the value encoded in an | 
| Chris@4 | 9237 	 # empty executable. | 
| Chris@4 | 9238 	 if test "${lt_cv_aix_libpath+set}" = set; then | 
| Chris@4 | 9239   aix_libpath=$lt_cv_aix_libpath | 
| Chris@4 | 9240 else | 
| Chris@4 | 9241   if ${lt_cv_aix_libpath_+:} false; then : | 
| Chris@4 | 9242   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 9243 else | 
| Chris@4 | 9244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 9245 /* end confdefs.h.  */ | 
| Chris@4 | 9246 | 
| Chris@4 | 9247 int | 
| Chris@4 | 9248 main () | 
| Chris@4 | 9249 { | 
| Chris@4 | 9250 | 
| Chris@4 | 9251   ; | 
| Chris@4 | 9252   return 0; | 
| Chris@4 | 9253 } | 
| Chris@4 | 9254 _ACEOF | 
| Chris@4 | 9255 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 9256 | 
| Chris@4 | 9257   lt_aix_libpath_sed=' | 
| Chris@4 | 9258       /Import File Strings/,/^$/ { | 
| Chris@4 | 9259 	  /^0/ { | 
| Chris@4 | 9260 	      s/^0  *\([^ ]*\) *$/\1/ | 
| Chris@4 | 9261 	      p | 
| Chris@4 | 9262 	  } | 
| Chris@4 | 9263       }' | 
| Chris@4 | 9264   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 9265   # Check for a 64-bit object if we didn't find anything. | 
| Chris@4 | 9266   if test -z "$lt_cv_aix_libpath_"; then | 
| Chris@4 | 9267     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 9268   fi | 
| Chris@4 | 9269 fi | 
| Chris@4 | 9270 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 9271     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 9272   if test -z "$lt_cv_aix_libpath_"; then | 
| Chris@4 | 9273     lt_cv_aix_libpath_="/usr/lib:/lib" | 
| Chris@4 | 9274   fi | 
| Chris@4 | 9275 | 
| Chris@4 | 9276 fi | 
| Chris@4 | 9277 | 
| Chris@4 | 9278   aix_libpath=$lt_cv_aix_libpath_ | 
| Chris@4 | 9279 fi | 
| Chris@4 | 9280 | 
| Chris@4 | 9281 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" | 
| Chris@4 | 9282 	  # Warning - without using the other run time loading flags, | 
| Chris@4 | 9283 	  # -berok will link without error, but may produce a broken library. | 
| Chris@4 | 9284 	  no_undefined_flag=' ${wl}-bernotok' | 
| Chris@4 | 9285 	  allow_undefined_flag=' ${wl}-berok' | 
| Chris@4 | 9286 	  if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 9287 	    # We only use this code for GNU lds that support --whole-archive. | 
| Chris@4 | 9288 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 
| Chris@4 | 9289 	  else | 
| Chris@4 | 9290 	    # Exported symbols can be pulled into shared objects from archives | 
| Chris@4 | 9291 	    whole_archive_flag_spec='$convenience' | 
| Chris@4 | 9292 	  fi | 
| Chris@4 | 9293 	  archive_cmds_need_lc=yes | 
| Chris@4 | 9294 	  # This is similar to how AIX traditionally builds its shared libraries. | 
| Chris@4 | 9295 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
| Chris@4 | 9296 	fi | 
| Chris@4 | 9297       fi | 
| Chris@4 | 9298       ;; | 
| Chris@4 | 9299 | 
| Chris@4 | 9300     amigaos*) | 
| Chris@4 | 9301       case $host_cpu in | 
| Chris@4 | 9302       powerpc) | 
| Chris@4 | 9303             # see comment about AmigaOS4 .so support | 
| Chris@4 | 9304             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 9305             archive_expsym_cmds='' | 
| Chris@4 | 9306         ;; | 
| Chris@4 | 9307       m68k) | 
| Chris@4 | 9308             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)' | 
| Chris@4 | 9309             hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 9310             hardcode_minus_L=yes | 
| Chris@4 | 9311         ;; | 
| Chris@4 | 9312       esac | 
| Chris@4 | 9313       ;; | 
| Chris@4 | 9314 | 
| Chris@4 | 9315     bsdi[45]*) | 
| Chris@4 | 9316       export_dynamic_flag_spec=-rdynamic | 
| Chris@4 | 9317       ;; | 
| Chris@4 | 9318 | 
| Chris@4 | 9319     cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 9320       # When not using gcc, we currently assume that we are using | 
| Chris@4 | 9321       # Microsoft Visual C++. | 
| Chris@4 | 9322       # hardcode_libdir_flag_spec is actually meaningless, as there is | 
| Chris@4 | 9323       # no search path for DLLs. | 
| Chris@4 | 9324       case $cc_basename in | 
| Chris@4 | 9325       cl*) | 
| Chris@4 | 9326 	# Native MSVC | 
| Chris@4 | 9327 	hardcode_libdir_flag_spec=' ' | 
| Chris@4 | 9328 	allow_undefined_flag=unsupported | 
| Chris@4 | 9329 	always_export_symbols=yes | 
| Chris@4 | 9330 	file_list_spec='@' | 
| Chris@4 | 9331 	# Tell ltmain to make .lib files, not .a files. | 
| Chris@4 | 9332 	libext=lib | 
| Chris@4 | 9333 	# Tell ltmain to make .dll files, not .so files. | 
| Chris@4 | 9334 	shrext_cmds=".dll" | 
| Chris@4 | 9335 	# FIXME: Setting linknames here is a bad hack. | 
| Chris@4 | 9336 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' | 
| Chris@4 | 9337 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
| Chris@4 | 9338 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; | 
| Chris@4 | 9339 	  else | 
| Chris@4 | 9340 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; | 
| Chris@4 | 9341 	  fi~ | 
| Chris@4 | 9342 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ | 
| Chris@4 | 9343 	  linknames=' | 
| Chris@4 | 9344 	# The linker will not automatically build a static lib if we build a DLL. | 
| Chris@4 | 9345 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true' | 
| Chris@4 | 9346 	enable_shared_with_static_runtimes=yes | 
| Chris@4 | 9347 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols' | 
| Chris@4 | 9348 	# Don't use ranlib | 
| Chris@4 | 9349 	old_postinstall_cmds='chmod 644 $oldlib' | 
| Chris@4 | 9350 	postlink_cmds='lt_outputfile="@OUTPUT@"~ | 
| Chris@4 | 9351 	  lt_tool_outputfile="@TOOL_OUTPUT@"~ | 
| Chris@4 | 9352 	  case $lt_outputfile in | 
| Chris@4 | 9353 	    *.exe|*.EXE) ;; | 
| Chris@4 | 9354 	    *) | 
| Chris@4 | 9355 	      lt_outputfile="$lt_outputfile.exe" | 
| Chris@4 | 9356 	      lt_tool_outputfile="$lt_tool_outputfile.exe" | 
| Chris@4 | 9357 	      ;; | 
| Chris@4 | 9358 	  esac~ | 
| Chris@4 | 9359 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then | 
| Chris@4 | 9360 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; | 
| Chris@4 | 9361 	    $RM "$lt_outputfile.manifest"; | 
| Chris@4 | 9362 	  fi' | 
| Chris@4 | 9363 	;; | 
| Chris@4 | 9364       *) | 
| Chris@4 | 9365 	# Assume MSVC wrapper | 
| Chris@4 | 9366 	hardcode_libdir_flag_spec=' ' | 
| Chris@4 | 9367 	allow_undefined_flag=unsupported | 
| Chris@4 | 9368 	# Tell ltmain to make .lib files, not .a files. | 
| Chris@4 | 9369 	libext=lib | 
| Chris@4 | 9370 	# Tell ltmain to make .dll files, not .so files. | 
| Chris@4 | 9371 	shrext_cmds=".dll" | 
| Chris@4 | 9372 	# FIXME: Setting linknames here is a bad hack. | 
| Chris@4 | 9373 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames=' | 
| Chris@4 | 9374 	# The linker will automatically build a .lib file if we build a DLL. | 
| Chris@4 | 9375 	old_archive_from_new_cmds='true' | 
| Chris@4 | 9376 	# FIXME: Should let the user specify the lib program. | 
| Chris@4 | 9377 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs' | 
| Chris@4 | 9378 	enable_shared_with_static_runtimes=yes | 
| Chris@4 | 9379 	;; | 
| Chris@4 | 9380       esac | 
| Chris@4 | 9381       ;; | 
| Chris@4 | 9382 | 
| Chris@4 | 9383     darwin* | rhapsody*) | 
| Chris@4 | 9384 | 
| Chris@4 | 9385 | 
| Chris@4 | 9386   archive_cmds_need_lc=no | 
| Chris@4 | 9387   hardcode_direct=no | 
| Chris@4 | 9388   hardcode_automatic=yes | 
| Chris@4 | 9389   hardcode_shlibpath_var=unsupported | 
| Chris@4 | 9390   if test "$lt_cv_ld_force_load" = "yes"; then | 
| Chris@4 | 9391     whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' | 
| Chris@4 | 9392   else | 
| Chris@4 | 9393     whole_archive_flag_spec='' | 
| Chris@4 | 9394   fi | 
| Chris@4 | 9395   link_all_deplibs=yes | 
| Chris@4 | 9396   allow_undefined_flag="$_lt_dar_allow_undefined" | 
| Chris@4 | 9397   case $cc_basename in | 
| Chris@4 | 9398      ifort*) _lt_dar_can_shared=yes ;; | 
| Chris@4 | 9399      *) _lt_dar_can_shared=$GCC ;; | 
| Chris@4 | 9400   esac | 
| Chris@4 | 9401   if test "$_lt_dar_can_shared" = "yes"; then | 
| Chris@4 | 9402     output_verbose_link_cmd=func_echo_all | 
| Chris@4 | 9403     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" | 
| Chris@4 | 9404     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" | 
| Chris@4 | 9405     archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" | 
| Chris@4 | 9406     module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" | 
| Chris@4 | 9407 | 
| Chris@4 | 9408   else | 
| Chris@4 | 9409   ld_shlibs=no | 
| Chris@4 | 9410   fi | 
| Chris@4 | 9411 | 
| Chris@4 | 9412       ;; | 
| Chris@4 | 9413 | 
| Chris@4 | 9414     dgux*) | 
| Chris@4 | 9415       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9416       hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 9417       hardcode_shlibpath_var=no | 
| Chris@4 | 9418       ;; | 
| Chris@4 | 9419 | 
| Chris@4 | 9420     freebsd1*) | 
| Chris@4 | 9421       ld_shlibs=no | 
| Chris@4 | 9422       ;; | 
| Chris@4 | 9423 | 
| Chris@4 | 9424     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor | 
| Chris@4 | 9425     # support.  Future versions do this automatically, but an explicit c++rt0.o | 
| Chris@4 | 9426     # does not break anything, and helps significantly (at the cost of a little | 
| Chris@4 | 9427     # extra space). | 
| Chris@4 | 9428     freebsd2.2*) | 
| Chris@4 | 9429       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o' | 
| Chris@4 | 9430       hardcode_libdir_flag_spec='-R$libdir' | 
| Chris@4 | 9431       hardcode_direct=yes | 
| Chris@4 | 9432       hardcode_shlibpath_var=no | 
| Chris@4 | 9433       ;; | 
| Chris@4 | 9434 | 
| Chris@4 | 9435     # Unfortunately, older versions of FreeBSD 2 do not have this feature. | 
| Chris@4 | 9436     freebsd2*) | 
| Chris@4 | 9437       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9438       hardcode_direct=yes | 
| Chris@4 | 9439       hardcode_minus_L=yes | 
| Chris@4 | 9440       hardcode_shlibpath_var=no | 
| Chris@4 | 9441       ;; | 
| Chris@4 | 9442 | 
| Chris@4 | 9443     # FreeBSD 3 and greater uses gcc -shared to do shared libraries. | 
| Chris@4 | 9444     freebsd* | dragonfly*) | 
| Chris@4 | 9445       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9446       hardcode_libdir_flag_spec='-R$libdir' | 
| Chris@4 | 9447       hardcode_direct=yes | 
| Chris@4 | 9448       hardcode_shlibpath_var=no | 
| Chris@4 | 9449       ;; | 
| Chris@4 | 9450 | 
| Chris@4 | 9451     hpux9*) | 
| Chris@4 | 9452       if test "$GCC" = yes; then | 
| Chris@4 | 9453 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
| Chris@4 | 9454       else | 
| Chris@4 | 9455 	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' | 
| Chris@4 | 9456       fi | 
| Chris@4 | 9457       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
| Chris@4 | 9458       hardcode_libdir_separator=: | 
| Chris@4 | 9459       hardcode_direct=yes | 
| Chris@4 | 9460 | 
| Chris@4 | 9461       # hardcode_minus_L: Not really in the search PATH, | 
| Chris@4 | 9462       # but as the default location of the library. | 
| Chris@4 | 9463       hardcode_minus_L=yes | 
| Chris@4 | 9464       export_dynamic_flag_spec='${wl}-E' | 
| Chris@4 | 9465       ;; | 
| Chris@4 | 9466 | 
| Chris@4 | 9467     hpux10*) | 
| Chris@4 | 9468       if test "$GCC" = yes && test "$with_gnu_ld" = no; then | 
| Chris@4 | 9469 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9470       else | 
| Chris@4 | 9471 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9472       fi | 
| Chris@4 | 9473       if test "$with_gnu_ld" = no; then | 
| Chris@4 | 9474 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
| Chris@4 | 9475 	hardcode_libdir_flag_spec_ld='+b $libdir' | 
| Chris@4 | 9476 	hardcode_libdir_separator=: | 
| Chris@4 | 9477 	hardcode_direct=yes | 
| Chris@4 | 9478 	hardcode_direct_absolute=yes | 
| Chris@4 | 9479 	export_dynamic_flag_spec='${wl}-E' | 
| Chris@4 | 9480 	# hardcode_minus_L: Not really in the search PATH, | 
| Chris@4 | 9481 	# but as the default location of the library. | 
| Chris@4 | 9482 	hardcode_minus_L=yes | 
| Chris@4 | 9483       fi | 
| Chris@4 | 9484       ;; | 
| Chris@4 | 9485 | 
| Chris@4 | 9486     hpux11*) | 
| Chris@4 | 9487       if test "$GCC" = yes && test "$with_gnu_ld" = no; then | 
| Chris@4 | 9488 	case $host_cpu in | 
| Chris@4 | 9489 	hppa*64*) | 
| Chris@4 | 9490 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9491 	  ;; | 
| Chris@4 | 9492 	ia64*) | 
| Chris@4 | 9493 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9494 	  ;; | 
| Chris@4 | 9495 	*) | 
| Chris@4 | 9496 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9497 	  ;; | 
| Chris@4 | 9498 	esac | 
| Chris@4 | 9499       else | 
| Chris@4 | 9500 	case $host_cpu in | 
| Chris@4 | 9501 	hppa*64*) | 
| Chris@4 | 9502 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9503 	  ;; | 
| Chris@4 | 9504 	ia64*) | 
| Chris@4 | 9505 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9506 	  ;; | 
| Chris@4 | 9507 	*) | 
| Chris@4 | 9508 | 
| Chris@4 | 9509 	  # Older versions of the 11.00 compiler do not understand -b yet | 
| Chris@4 | 9510 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does) | 
| Chris@4 | 9511 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5 | 
| Chris@4 | 9512 $as_echo_n "checking if $CC understands -b... " >&6; } | 
| Chris@4 | 9513 if ${lt_cv_prog_compiler__b+:} false; then : | 
| Chris@4 | 9514   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 9515 else | 
| Chris@4 | 9516   lt_cv_prog_compiler__b=no | 
| Chris@4 | 9517    save_LDFLAGS="$LDFLAGS" | 
| Chris@4 | 9518    LDFLAGS="$LDFLAGS -b" | 
| Chris@4 | 9519    echo "$lt_simple_link_test_code" > conftest.$ac_ext | 
| Chris@4 | 9520    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 
| Chris@4 | 9521      # The linker can only warn and ignore the option if not recognized | 
| Chris@4 | 9522      # So say no if there are warnings | 
| Chris@4 | 9523      if test -s conftest.err; then | 
| Chris@4 | 9524        # Append any errors to the config.log. | 
| Chris@4 | 9525        cat conftest.err 1>&5 | 
| Chris@4 | 9526        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 
| Chris@4 | 9527        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 
| Chris@4 | 9528        if diff conftest.exp conftest.er2 >/dev/null; then | 
| Chris@4 | 9529          lt_cv_prog_compiler__b=yes | 
| Chris@4 | 9530        fi | 
| Chris@4 | 9531      else | 
| Chris@4 | 9532        lt_cv_prog_compiler__b=yes | 
| Chris@4 | 9533      fi | 
| Chris@4 | 9534    fi | 
| Chris@4 | 9535    $RM -r conftest* | 
| Chris@4 | 9536    LDFLAGS="$save_LDFLAGS" | 
| Chris@4 | 9537 | 
| Chris@4 | 9538 fi | 
| Chris@4 | 9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5 | 
| Chris@4 | 9540 $as_echo "$lt_cv_prog_compiler__b" >&6; } | 
| Chris@4 | 9541 | 
| Chris@4 | 9542 if test x"$lt_cv_prog_compiler__b" = xyes; then | 
| Chris@4 | 9543     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9544 else | 
| Chris@4 | 9545     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9546 fi | 
| Chris@4 | 9547 | 
| Chris@4 | 9548 	  ;; | 
| Chris@4 | 9549 	esac | 
| Chris@4 | 9550       fi | 
| Chris@4 | 9551       if test "$with_gnu_ld" = no; then | 
| Chris@4 | 9552 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir' | 
| Chris@4 | 9553 	hardcode_libdir_separator=: | 
| Chris@4 | 9554 | 
| Chris@4 | 9555 	case $host_cpu in | 
| Chris@4 | 9556 	hppa*64*|ia64*) | 
| Chris@4 | 9557 	  hardcode_direct=no | 
| Chris@4 | 9558 	  hardcode_shlibpath_var=no | 
| Chris@4 | 9559 	  ;; | 
| Chris@4 | 9560 	*) | 
| Chris@4 | 9561 	  hardcode_direct=yes | 
| Chris@4 | 9562 	  hardcode_direct_absolute=yes | 
| Chris@4 | 9563 	  export_dynamic_flag_spec='${wl}-E' | 
| Chris@4 | 9564 | 
| Chris@4 | 9565 	  # hardcode_minus_L: Not really in the search PATH, | 
| Chris@4 | 9566 	  # but as the default location of the library. | 
| Chris@4 | 9567 	  hardcode_minus_L=yes | 
| Chris@4 | 9568 	  ;; | 
| Chris@4 | 9569 	esac | 
| Chris@4 | 9570       fi | 
| Chris@4 | 9571       ;; | 
| Chris@4 | 9572 | 
| Chris@4 | 9573     irix5* | irix6* | nonstopux*) | 
| Chris@4 | 9574       if test "$GCC" = yes; then | 
| Chris@4 | 9575 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 9576 	# Try to use the -exported_symbol ld option, if it does not | 
| Chris@4 | 9577 	# work, assume that -exports_file does not work either and | 
| Chris@4 | 9578 	# implicitly export all symbols. | 
| Chris@4 | 9579 	# This should be the same for all languages, so no per-tag cache variable. | 
| Chris@4 | 9580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5 | 
| Chris@4 | 9581 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; } | 
| Chris@4 | 9582 if ${lt_cv_irix_exported_symbol+:} false; then : | 
| Chris@4 | 9583   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 9584 else | 
| Chris@4 | 9585   save_LDFLAGS="$LDFLAGS" | 
| Chris@4 | 9586 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" | 
| Chris@4 | 9587 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 9588 /* end confdefs.h.  */ | 
| Chris@4 | 9589 int foo (void) { return 0; } | 
| Chris@4 | 9590 _ACEOF | 
| Chris@4 | 9591 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 9592   lt_cv_irix_exported_symbol=yes | 
| Chris@4 | 9593 else | 
| Chris@4 | 9594   lt_cv_irix_exported_symbol=no | 
| Chris@4 | 9595 fi | 
| Chris@4 | 9596 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 9597     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 9598            LDFLAGS="$save_LDFLAGS" | 
| Chris@4 | 9599 fi | 
| Chris@4 | 9600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5 | 
| Chris@4 | 9601 $as_echo "$lt_cv_irix_exported_symbol" >&6; } | 
| Chris@4 | 9602 	if test "$lt_cv_irix_exported_symbol" = yes; then | 
| Chris@4 | 9603           archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' | 
| Chris@4 | 9604 	fi | 
| Chris@4 | 9605       else | 
| Chris@4 | 9606 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 9607 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib' | 
| Chris@4 | 9608       fi | 
| Chris@4 | 9609       archive_cmds_need_lc='no' | 
| Chris@4 | 9610       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 9611       hardcode_libdir_separator=: | 
| Chris@4 | 9612       inherit_rpath=yes | 
| Chris@4 | 9613       link_all_deplibs=yes | 
| Chris@4 | 9614       ;; | 
| Chris@4 | 9615 | 
| Chris@4 | 9616     netbsd* | netbsdelf*-gnu) | 
| Chris@4 | 9617       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 
| Chris@4 | 9618 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out | 
| Chris@4 | 9619       else | 
| Chris@4 | 9620 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF | 
| Chris@4 | 9621       fi | 
| Chris@4 | 9622       hardcode_libdir_flag_spec='-R$libdir' | 
| Chris@4 | 9623       hardcode_direct=yes | 
| Chris@4 | 9624       hardcode_shlibpath_var=no | 
| Chris@4 | 9625       ;; | 
| Chris@4 | 9626 | 
| Chris@4 | 9627     newsos6) | 
| Chris@4 | 9628       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9629       hardcode_direct=yes | 
| Chris@4 | 9630       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 9631       hardcode_libdir_separator=: | 
| Chris@4 | 9632       hardcode_shlibpath_var=no | 
| Chris@4 | 9633       ;; | 
| Chris@4 | 9634 | 
| Chris@4 | 9635     *nto* | *qnx*) | 
| Chris@4 | 9636       ;; | 
| Chris@4 | 9637 | 
| Chris@4 | 9638     openbsd*) | 
| Chris@4 | 9639       if test -f /usr/libexec/ld.so; then | 
| Chris@4 | 9640 	hardcode_direct=yes | 
| Chris@4 | 9641 	hardcode_shlibpath_var=no | 
| Chris@4 | 9642 	hardcode_direct_absolute=yes | 
| Chris@4 | 9643 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
| Chris@4 | 9644 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9645 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols' | 
| Chris@4 | 9646 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
| Chris@4 | 9647 	  export_dynamic_flag_spec='${wl}-E' | 
| Chris@4 | 9648 	else | 
| Chris@4 | 9649 	  case $host_os in | 
| Chris@4 | 9650 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*) | 
| Chris@4 | 9651 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9652 	     hardcode_libdir_flag_spec='-R$libdir' | 
| Chris@4 | 9653 	     ;; | 
| Chris@4 | 9654 	   *) | 
| Chris@4 | 9655 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9656 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir' | 
| Chris@4 | 9657 	     ;; | 
| Chris@4 | 9658 	  esac | 
| Chris@4 | 9659 	fi | 
| Chris@4 | 9660       else | 
| Chris@4 | 9661 	ld_shlibs=no | 
| Chris@4 | 9662       fi | 
| Chris@4 | 9663       ;; | 
| Chris@4 | 9664 | 
| Chris@4 | 9665     os2*) | 
| Chris@4 | 9666       hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 9667       hardcode_minus_L=yes | 
| Chris@4 | 9668       allow_undefined_flag=unsupported | 
| Chris@4 | 9669       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' | 
| Chris@4 | 9670       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def' | 
| Chris@4 | 9671       ;; | 
| Chris@4 | 9672 | 
| Chris@4 | 9673     osf3*) | 
| Chris@4 | 9674       if test "$GCC" = yes; then | 
| Chris@4 | 9675 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
| Chris@4 | 9676 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 9677       else | 
| Chris@4 | 9678 	allow_undefined_flag=' -expect_unresolved \*' | 
| Chris@4 | 9679 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 9680       fi | 
| Chris@4 | 9681       archive_cmds_need_lc='no' | 
| Chris@4 | 9682       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 9683       hardcode_libdir_separator=: | 
| Chris@4 | 9684       ;; | 
| Chris@4 | 9685 | 
| Chris@4 | 9686     osf4* | osf5*)	# as osf3* with the addition of -msym flag | 
| Chris@4 | 9687       if test "$GCC" = yes; then | 
| Chris@4 | 9688 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*' | 
| Chris@4 | 9689 	archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 9690 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 9691       else | 
| Chris@4 | 9692 	allow_undefined_flag=' -expect_unresolved \*' | 
| Chris@4 | 9693 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 9694 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~ | 
| Chris@4 | 9695 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp' | 
| Chris@4 | 9696 | 
| Chris@4 | 9697 	# Both c and cxx compiler support -rpath directly | 
| Chris@4 | 9698 	hardcode_libdir_flag_spec='-rpath $libdir' | 
| Chris@4 | 9699       fi | 
| Chris@4 | 9700       archive_cmds_need_lc='no' | 
| Chris@4 | 9701       hardcode_libdir_separator=: | 
| Chris@4 | 9702       ;; | 
| Chris@4 | 9703 | 
| Chris@4 | 9704     solaris*) | 
| Chris@4 | 9705       no_undefined_flag=' -z defs' | 
| Chris@4 | 9706       if test "$GCC" = yes; then | 
| Chris@4 | 9707 	wlarc='${wl}' | 
| Chris@4 | 9708 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9709 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 
| Chris@4 | 9710 	  $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | 
| Chris@4 | 9711       else | 
| Chris@4 | 9712 	case `$CC -V 2>&1` in | 
| Chris@4 | 9713 	*"Compilers 5.0"*) | 
| Chris@4 | 9714 	  wlarc='' | 
| Chris@4 | 9715 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9716 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 
| Chris@4 | 9717 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp' | 
| Chris@4 | 9718 	  ;; | 
| Chris@4 | 9719 	*) | 
| Chris@4 | 9720 	  wlarc='${wl}' | 
| Chris@4 | 9721 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9722 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 
| Chris@4 | 9723 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp' | 
| Chris@4 | 9724 	  ;; | 
| Chris@4 | 9725 	esac | 
| Chris@4 | 9726       fi | 
| Chris@4 | 9727       hardcode_libdir_flag_spec='-R$libdir' | 
| Chris@4 | 9728       hardcode_shlibpath_var=no | 
| Chris@4 | 9729       case $host_os in | 
| Chris@4 | 9730       solaris2.[0-5] | solaris2.[0-5].*) ;; | 
| Chris@4 | 9731       *) | 
| Chris@4 | 9732 	# The compiler driver will combine and reorder linker options, | 
| Chris@4 | 9733 	# but understands `-z linker_flag'.  GCC discards it without `$wl', | 
| Chris@4 | 9734 	# but is careful enough not to reorder. | 
| Chris@4 | 9735 	# Supported since Solaris 2.6 (maybe 2.5.1?) | 
| Chris@4 | 9736 	if test "$GCC" = yes; then | 
| Chris@4 | 9737 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 
| Chris@4 | 9738 	else | 
| Chris@4 | 9739 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract' | 
| Chris@4 | 9740 	fi | 
| Chris@4 | 9741 	;; | 
| Chris@4 | 9742       esac | 
| Chris@4 | 9743       link_all_deplibs=yes | 
| Chris@4 | 9744       ;; | 
| Chris@4 | 9745 | 
| Chris@4 | 9746     sunos4*) | 
| Chris@4 | 9747       if test "x$host_vendor" = xsequent; then | 
| Chris@4 | 9748 	# Use $CC to link under sequent, because it throws in some extra .o | 
| Chris@4 | 9749 	# files that make .init and .fini sections work. | 
| Chris@4 | 9750 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9751       else | 
| Chris@4 | 9752 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9753       fi | 
| Chris@4 | 9754       hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 9755       hardcode_direct=yes | 
| Chris@4 | 9756       hardcode_minus_L=yes | 
| Chris@4 | 9757       hardcode_shlibpath_var=no | 
| Chris@4 | 9758       ;; | 
| Chris@4 | 9759 | 
| Chris@4 | 9760     sysv4) | 
| Chris@4 | 9761       case $host_vendor in | 
| Chris@4 | 9762 	sni) | 
| Chris@4 | 9763 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9764 	  hardcode_direct=yes # is this really true??? | 
| Chris@4 | 9765 	;; | 
| Chris@4 | 9766 	siemens) | 
| Chris@4 | 9767 	  ## LD is ld it makes a PLAMLIB | 
| Chris@4 | 9768 	  ## CC just makes a GrossModule. | 
| Chris@4 | 9769 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9770 	  reload_cmds='$CC -r -o $output$reload_objs' | 
| Chris@4 | 9771 	  hardcode_direct=no | 
| Chris@4 | 9772         ;; | 
| Chris@4 | 9773 	motorola) | 
| Chris@4 | 9774 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9775 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie | 
| Chris@4 | 9776 	;; | 
| Chris@4 | 9777       esac | 
| Chris@4 | 9778       runpath_var='LD_RUN_PATH' | 
| Chris@4 | 9779       hardcode_shlibpath_var=no | 
| Chris@4 | 9780       ;; | 
| Chris@4 | 9781 | 
| Chris@4 | 9782     sysv4.3*) | 
| Chris@4 | 9783       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9784       hardcode_shlibpath_var=no | 
| Chris@4 | 9785       export_dynamic_flag_spec='-Bexport' | 
| Chris@4 | 9786       ;; | 
| Chris@4 | 9787 | 
| Chris@4 | 9788     sysv4*MP*) | 
| Chris@4 | 9789       if test -d /usr/nec; then | 
| Chris@4 | 9790 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9791 	hardcode_shlibpath_var=no | 
| Chris@4 | 9792 	runpath_var=LD_RUN_PATH | 
| Chris@4 | 9793 	hardcode_runpath_var=yes | 
| Chris@4 | 9794 	ld_shlibs=yes | 
| Chris@4 | 9795       fi | 
| Chris@4 | 9796       ;; | 
| Chris@4 | 9797 | 
| Chris@4 | 9798     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | 
| Chris@4 | 9799       no_undefined_flag='${wl}-z,text' | 
| Chris@4 | 9800       archive_cmds_need_lc=no | 
| Chris@4 | 9801       hardcode_shlibpath_var=no | 
| Chris@4 | 9802       runpath_var='LD_RUN_PATH' | 
| Chris@4 | 9803 | 
| Chris@4 | 9804       if test "$GCC" = yes; then | 
| Chris@4 | 9805 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9806 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9807       else | 
| Chris@4 | 9808 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9809 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9810       fi | 
| Chris@4 | 9811       ;; | 
| Chris@4 | 9812 | 
| Chris@4 | 9813     sysv5* | sco3.2v5* | sco5v6*) | 
| Chris@4 | 9814       # Note: We can NOT use -z defs as we might desire, because we do not | 
| Chris@4 | 9815       # link with -lc, and that would cause any symbols used from libc to | 
| Chris@4 | 9816       # always be unresolved, which means just about no library would | 
| Chris@4 | 9817       # ever link correctly.  If we're not using GNU ld we use -z text | 
| Chris@4 | 9818       # though, which does catch some bad symbols but isn't as heavy-handed | 
| Chris@4 | 9819       # as -z defs. | 
| Chris@4 | 9820       no_undefined_flag='${wl}-z,text' | 
| Chris@4 | 9821       allow_undefined_flag='${wl}-z,nodefs' | 
| Chris@4 | 9822       archive_cmds_need_lc=no | 
| Chris@4 | 9823       hardcode_shlibpath_var=no | 
| Chris@4 | 9824       hardcode_libdir_flag_spec='${wl}-R,$libdir' | 
| Chris@4 | 9825       hardcode_libdir_separator=':' | 
| Chris@4 | 9826       link_all_deplibs=yes | 
| Chris@4 | 9827       export_dynamic_flag_spec='${wl}-Bexport' | 
| Chris@4 | 9828       runpath_var='LD_RUN_PATH' | 
| Chris@4 | 9829 | 
| Chris@4 | 9830       if test "$GCC" = yes; then | 
| Chris@4 | 9831 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9832 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9833       else | 
| Chris@4 | 9834 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9835 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 9836       fi | 
| Chris@4 | 9837       ;; | 
| Chris@4 | 9838 | 
| Chris@4 | 9839     uts4*) | 
| Chris@4 | 9840       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags' | 
| Chris@4 | 9841       hardcode_libdir_flag_spec='-L$libdir' | 
| Chris@4 | 9842       hardcode_shlibpath_var=no | 
| Chris@4 | 9843       ;; | 
| Chris@4 | 9844 | 
| Chris@4 | 9845     *) | 
| Chris@4 | 9846       ld_shlibs=no | 
| Chris@4 | 9847       ;; | 
| Chris@4 | 9848     esac | 
| Chris@4 | 9849 | 
| Chris@4 | 9850     if test x$host_vendor = xsni; then | 
| Chris@4 | 9851       case $host in | 
| Chris@4 | 9852       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*) | 
| Chris@4 | 9853 	export_dynamic_flag_spec='${wl}-Blargedynsym' | 
| Chris@4 | 9854 	;; | 
| Chris@4 | 9855       esac | 
| Chris@4 | 9856     fi | 
| Chris@4 | 9857   fi | 
| Chris@4 | 9858 | 
| Chris@4 | 9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 | 
| Chris@4 | 9860 $as_echo "$ld_shlibs" >&6; } | 
| Chris@4 | 9861 test "$ld_shlibs" = no && can_build_shared=no | 
| Chris@4 | 9862 | 
| Chris@4 | 9863 with_gnu_ld=$with_gnu_ld | 
| Chris@4 | 9864 | 
| Chris@4 | 9865 | 
| Chris@4 | 9866 | 
| Chris@4 | 9867 | 
| Chris@4 | 9868 | 
| Chris@4 | 9869 | 
| Chris@4 | 9870 | 
| Chris@4 | 9871 | 
| Chris@4 | 9872 | 
| Chris@4 | 9873 | 
| Chris@4 | 9874 | 
| Chris@4 | 9875 | 
| Chris@4 | 9876 | 
| Chris@4 | 9877 | 
| Chris@4 | 9878 | 
| Chris@4 | 9879 # | 
| Chris@4 | 9880 # Do we need to explicitly link libc? | 
| Chris@4 | 9881 # | 
| Chris@4 | 9882 case "x$archive_cmds_need_lc" in | 
| Chris@4 | 9883 x|xyes) | 
| Chris@4 | 9884   # Assume -lc should be added | 
| Chris@4 | 9885   archive_cmds_need_lc=yes | 
| Chris@4 | 9886 | 
| Chris@4 | 9887   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
| Chris@4 | 9888     case $archive_cmds in | 
| Chris@4 | 9889     *'~'*) | 
| Chris@4 | 9890       # FIXME: we may have to deal with multi-command sequences. | 
| Chris@4 | 9891       ;; | 
| Chris@4 | 9892     '$CC '*) | 
| Chris@4 | 9893       # Test whether the compiler implicitly links with -lc since on some | 
| Chris@4 | 9894       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
| Chris@4 | 9895       # to ld, don't add -lc before -lgcc. | 
| Chris@4 | 9896       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 | 
| Chris@4 | 9897 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | 
| Chris@4 | 9898 if ${lt_cv_archive_cmds_need_lc+:} false; then : | 
| Chris@4 | 9899   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 9900 else | 
| Chris@4 | 9901   $RM conftest* | 
| Chris@4 | 9902 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 9903 | 
| Chris@4 | 9904 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 9905   (eval $ac_compile) 2>&5 | 
| Chris@4 | 9906   ac_status=$? | 
| Chris@4 | 9907   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 9908   test $ac_status = 0; } 2>conftest.err; then | 
| Chris@4 | 9909 	  soname=conftest | 
| Chris@4 | 9910 	  lib=conftest | 
| Chris@4 | 9911 	  libobjs=conftest.$ac_objext | 
| Chris@4 | 9912 	  deplibs= | 
| Chris@4 | 9913 	  wl=$lt_prog_compiler_wl | 
| Chris@4 | 9914 	  pic_flag=$lt_prog_compiler_pic | 
| Chris@4 | 9915 	  compiler_flags=-v | 
| Chris@4 | 9916 	  linker_flags=-v | 
| Chris@4 | 9917 	  verstring= | 
| Chris@4 | 9918 	  output_objdir=. | 
| Chris@4 | 9919 	  libname=conftest | 
| Chris@4 | 9920 	  lt_save_allow_undefined_flag=$allow_undefined_flag | 
| Chris@4 | 9921 	  allow_undefined_flag= | 
| Chris@4 | 9922 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | 
| Chris@4 | 9923   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
| Chris@4 | 9924   ac_status=$? | 
| Chris@4 | 9925   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 9926   test $ac_status = 0; } | 
| Chris@4 | 9927 	  then | 
| Chris@4 | 9928 	    lt_cv_archive_cmds_need_lc=no | 
| Chris@4 | 9929 	  else | 
| Chris@4 | 9930 	    lt_cv_archive_cmds_need_lc=yes | 
| Chris@4 | 9931 	  fi | 
| Chris@4 | 9932 	  allow_undefined_flag=$lt_save_allow_undefined_flag | 
| Chris@4 | 9933 	else | 
| Chris@4 | 9934 	  cat conftest.err 1>&5 | 
| Chris@4 | 9935 	fi | 
| Chris@4 | 9936 	$RM conftest* | 
| Chris@4 | 9937 | 
| Chris@4 | 9938 fi | 
| Chris@4 | 9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5 | 
| Chris@4 | 9940 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; } | 
| Chris@4 | 9941       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc | 
| Chris@4 | 9942       ;; | 
| Chris@4 | 9943     esac | 
| Chris@4 | 9944   fi | 
| Chris@4 | 9945   ;; | 
| Chris@4 | 9946 esac | 
| Chris@4 | 9947 | 
| Chris@4 | 9948 | 
| Chris@4 | 9949 | 
| Chris@4 | 9950 | 
| Chris@4 | 9951 | 
| Chris@4 | 9952 | 
| Chris@4 | 9953 | 
| Chris@4 | 9954 | 
| Chris@4 | 9955 | 
| Chris@4 | 9956 | 
| Chris@4 | 9957 | 
| Chris@4 | 9958 | 
| Chris@4 | 9959 | 
| Chris@4 | 9960 | 
| Chris@4 | 9961 | 
| Chris@4 | 9962 | 
| Chris@4 | 9963 | 
| Chris@4 | 9964 | 
| Chris@4 | 9965 | 
| Chris@4 | 9966 | 
| Chris@4 | 9967 | 
| Chris@4 | 9968 | 
| Chris@4 | 9969 | 
| Chris@4 | 9970 | 
| Chris@4 | 9971 | 
| Chris@4 | 9972 | 
| Chris@4 | 9973 | 
| Chris@4 | 9974 | 
| Chris@4 | 9975 | 
| Chris@4 | 9976 | 
| Chris@4 | 9977 | 
| Chris@4 | 9978 | 
| Chris@4 | 9979 | 
| Chris@4 | 9980 | 
| Chris@4 | 9981 | 
| Chris@4 | 9982 | 
| Chris@4 | 9983 | 
| Chris@4 | 9984 | 
| Chris@4 | 9985 | 
| Chris@4 | 9986 | 
| Chris@4 | 9987 | 
| Chris@4 | 9988 | 
| Chris@4 | 9989 | 
| Chris@4 | 9990 | 
| Chris@4 | 9991 | 
| Chris@4 | 9992 | 
| Chris@4 | 9993 | 
| Chris@4 | 9994 | 
| Chris@4 | 9995 | 
| Chris@4 | 9996 | 
| Chris@4 | 9997 | 
| Chris@4 | 9998 | 
| Chris@4 | 9999 | 
| Chris@4 | 10000 | 
| Chris@4 | 10001 | 
| Chris@4 | 10002 | 
| Chris@4 | 10003 | 
| Chris@4 | 10004 | 
| Chris@4 | 10005 | 
| Chris@4 | 10006 | 
| Chris@4 | 10007 | 
| Chris@4 | 10008 | 
| Chris@4 | 10009 | 
| Chris@4 | 10010 | 
| Chris@4 | 10011 | 
| Chris@4 | 10012 | 
| Chris@4 | 10013 | 
| Chris@4 | 10014 | 
| Chris@4 | 10015 | 
| Chris@4 | 10016 | 
| Chris@4 | 10017 | 
| Chris@4 | 10018 | 
| Chris@4 | 10019 | 
| Chris@4 | 10020 | 
| Chris@4 | 10021 | 
| Chris@4 | 10022 | 
| Chris@4 | 10023 | 
| Chris@4 | 10024 | 
| Chris@4 | 10025 | 
| Chris@4 | 10026 | 
| Chris@4 | 10027 | 
| Chris@4 | 10028 | 
| Chris@4 | 10029 | 
| Chris@4 | 10030 | 
| Chris@4 | 10031 | 
| Chris@4 | 10032 | 
| Chris@4 | 10033 | 
| Chris@4 | 10034 | 
| Chris@4 | 10035 | 
| Chris@4 | 10036 | 
| Chris@4 | 10037 | 
| Chris@4 | 10038 | 
| Chris@4 | 10039 | 
| Chris@4 | 10040 | 
| Chris@4 | 10041 | 
| Chris@4 | 10042 | 
| Chris@4 | 10043 | 
| Chris@4 | 10044 | 
| Chris@4 | 10045 | 
| Chris@4 | 10046 | 
| Chris@4 | 10047 | 
| Chris@4 | 10048 | 
| Chris@4 | 10049 | 
| Chris@4 | 10050 | 
| Chris@4 | 10051 | 
| Chris@4 | 10052 | 
| Chris@4 | 10053 | 
| Chris@4 | 10054 | 
| Chris@4 | 10055 | 
| Chris@4 | 10056 | 
| Chris@4 | 10057 | 
| Chris@4 | 10058 | 
| Chris@4 | 10059 | 
| Chris@4 | 10060 | 
| Chris@4 | 10061 | 
| Chris@4 | 10062 | 
| Chris@4 | 10063 | 
| Chris@4 | 10064 | 
| Chris@4 | 10065 | 
| Chris@4 | 10066 | 
| Chris@4 | 10067 | 
| Chris@4 | 10068 | 
| Chris@4 | 10069 | 
| Chris@4 | 10070 | 
| Chris@4 | 10071 | 
| Chris@4 | 10072 | 
| Chris@4 | 10073 | 
| Chris@4 | 10074 | 
| Chris@4 | 10075 | 
| Chris@4 | 10076 | 
| Chris@4 | 10077 | 
| Chris@4 | 10078 | 
| Chris@4 | 10079 | 
| Chris@4 | 10080 | 
| Chris@4 | 10081 | 
| Chris@4 | 10082 | 
| Chris@4 | 10083 | 
| Chris@4 | 10084 | 
| Chris@4 | 10085 | 
| Chris@4 | 10086 | 
| Chris@4 | 10087 | 
| Chris@4 | 10088 | 
| Chris@4 | 10089 | 
| Chris@4 | 10090 | 
| Chris@4 | 10091 | 
| Chris@4 | 10092 | 
| Chris@4 | 10093 | 
| Chris@4 | 10094 | 
| Chris@4 | 10095 | 
| Chris@4 | 10096 | 
| Chris@4 | 10097 | 
| Chris@4 | 10098 | 
| Chris@4 | 10099 | 
| Chris@4 | 10100 | 
| Chris@4 | 10101 | 
| Chris@4 | 10102 | 
| Chris@4 | 10103 | 
| Chris@4 | 10104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 | 
| Chris@4 | 10105 $as_echo_n "checking dynamic linker characteristics... " >&6; } | 
| Chris@4 | 10106 | 
| Chris@4 | 10107 if test "$GCC" = yes; then | 
| Chris@4 | 10108   case $host_os in | 
| Chris@4 | 10109     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;; | 
| Chris@4 | 10110     *) lt_awk_arg="/^libraries:/" ;; | 
| Chris@4 | 10111   esac | 
| Chris@4 | 10112   case $host_os in | 
| Chris@4 | 10113     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;; | 
| Chris@4 | 10114     *) lt_sed_strip_eq="s,=/,/,g" ;; | 
| Chris@4 | 10115   esac | 
| Chris@4 | 10116   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq` | 
| Chris@4 | 10117   case $lt_search_path_spec in | 
| Chris@4 | 10118   *\;*) | 
| Chris@4 | 10119     # if the path contains ";" then we assume it to be the separator | 
| Chris@4 | 10120     # otherwise default to the standard path separator (i.e. ":") - it is | 
| Chris@4 | 10121     # assumed that no part of a normal pathname contains ";" but that should | 
| Chris@4 | 10122     # okay in the real world where ";" in dirpaths is itself problematic. | 
| Chris@4 | 10123     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'` | 
| Chris@4 | 10124     ;; | 
| Chris@4 | 10125   *) | 
| Chris@4 | 10126     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"` | 
| Chris@4 | 10127     ;; | 
| Chris@4 | 10128   esac | 
| Chris@4 | 10129   # Ok, now we have the path, separated by spaces, we can step through it | 
| Chris@4 | 10130   # and add multilib dir if necessary. | 
| Chris@4 | 10131   lt_tmp_lt_search_path_spec= | 
| Chris@4 | 10132   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null` | 
| Chris@4 | 10133   for lt_sys_path in $lt_search_path_spec; do | 
| Chris@4 | 10134     if test -d "$lt_sys_path/$lt_multi_os_dir"; then | 
| Chris@4 | 10135       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" | 
| Chris@4 | 10136     else | 
| Chris@4 | 10137       test -d "$lt_sys_path" && \ | 
| Chris@4 | 10138 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path" | 
| Chris@4 | 10139     fi | 
| Chris@4 | 10140   done | 
| Chris@4 | 10141   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk ' | 
| Chris@4 | 10142 BEGIN {RS=" "; FS="/|\n";} { | 
| Chris@4 | 10143   lt_foo=""; | 
| Chris@4 | 10144   lt_count=0; | 
| Chris@4 | 10145   for (lt_i = NF; lt_i > 0; lt_i--) { | 
| Chris@4 | 10146     if ($lt_i != "" && $lt_i != ".") { | 
| Chris@4 | 10147       if ($lt_i == "..") { | 
| Chris@4 | 10148         lt_count++; | 
| Chris@4 | 10149       } else { | 
| Chris@4 | 10150         if (lt_count == 0) { | 
| Chris@4 | 10151           lt_foo="/" $lt_i lt_foo; | 
| Chris@4 | 10152         } else { | 
| Chris@4 | 10153           lt_count--; | 
| Chris@4 | 10154         } | 
| Chris@4 | 10155       } | 
| Chris@4 | 10156     } | 
| Chris@4 | 10157   } | 
| Chris@4 | 10158   if (lt_foo != "") { lt_freq[lt_foo]++; } | 
| Chris@4 | 10159   if (lt_freq[lt_foo] == 1) { print lt_foo; } | 
| Chris@4 | 10160 }'` | 
| Chris@4 | 10161   # AWK program above erroneously prepends '/' to C:/dos/paths | 
| Chris@4 | 10162   # for these hosts. | 
| Chris@4 | 10163   case $host_os in | 
| Chris@4 | 10164     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\ | 
| Chris@4 | 10165       $SED 's,/\([A-Za-z]:\),\1,g'` ;; | 
| Chris@4 | 10166   esac | 
| Chris@4 | 10167   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP` | 
| Chris@4 | 10168 else | 
| Chris@4 | 10169   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib" | 
| Chris@4 | 10170 fi | 
| Chris@4 | 10171 library_names_spec= | 
| Chris@4 | 10172 libname_spec='lib$name' | 
| Chris@4 | 10173 soname_spec= | 
| Chris@4 | 10174 shrext_cmds=".so" | 
| Chris@4 | 10175 postinstall_cmds= | 
| Chris@4 | 10176 postuninstall_cmds= | 
| Chris@4 | 10177 finish_cmds= | 
| Chris@4 | 10178 finish_eval= | 
| Chris@4 | 10179 shlibpath_var= | 
| Chris@4 | 10180 shlibpath_overrides_runpath=unknown | 
| Chris@4 | 10181 version_type=none | 
| Chris@4 | 10182 dynamic_linker="$host_os ld.so" | 
| Chris@4 | 10183 sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
| Chris@4 | 10184 need_lib_prefix=unknown | 
| Chris@4 | 10185 hardcode_into_libs=no | 
| Chris@4 | 10186 | 
| Chris@4 | 10187 # when you set need_version to no, make sure it does not cause -set_version | 
| Chris@4 | 10188 # flags to be left without arguments | 
| Chris@4 | 10189 need_version=unknown | 
| Chris@4 | 10190 | 
| Chris@4 | 10191 case $host_os in | 
| Chris@4 | 10192 aix3*) | 
| Chris@4 | 10193   version_type=linux | 
| Chris@4 | 10194   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
| Chris@4 | 10195   shlibpath_var=LIBPATH | 
| Chris@4 | 10196 | 
| Chris@4 | 10197   # AIX 3 has no versioning support, so we append a major version to the name. | 
| Chris@4 | 10198   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10199   ;; | 
| Chris@4 | 10200 | 
| Chris@4 | 10201 aix[4-9]*) | 
| Chris@4 | 10202   version_type=linux | 
| Chris@4 | 10203   need_lib_prefix=no | 
| Chris@4 | 10204   need_version=no | 
| Chris@4 | 10205   hardcode_into_libs=yes | 
| Chris@4 | 10206   if test "$host_cpu" = ia64; then | 
| Chris@4 | 10207     # AIX 5 supports IA64 | 
| Chris@4 | 10208     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
| Chris@4 | 10209     shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10210   else | 
| Chris@4 | 10211     # With GCC up to 2.95.x, collect2 would create an import file | 
| Chris@4 | 10212     # for dependence libraries.  The import file would start with | 
| Chris@4 | 10213     # the line `#! .'.  This would cause the generated library to | 
| Chris@4 | 10214     # depend on `.', always an invalid library.  This was fixed in | 
| Chris@4 | 10215     # development snapshots of GCC prior to 3.0. | 
| Chris@4 | 10216     case $host_os in | 
| Chris@4 | 10217       aix4 | aix4.[01] | aix4.[01].*) | 
| Chris@4 | 10218       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
| Chris@4 | 10219 	   echo ' yes ' | 
| Chris@4 | 10220 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | 
| Chris@4 | 10221 	: | 
| Chris@4 | 10222       else | 
| Chris@4 | 10223 	can_build_shared=no | 
| Chris@4 | 10224       fi | 
| Chris@4 | 10225       ;; | 
| Chris@4 | 10226     esac | 
| Chris@4 | 10227     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
| Chris@4 | 10228     # soname into executable. Probably we can add versioning support to | 
| Chris@4 | 10229     # collect2, so additional links can be useful in future. | 
| Chris@4 | 10230     if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 10231       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
| Chris@4 | 10232       # instead of lib<name>.a to let people know that these are not | 
| Chris@4 | 10233       # typical AIX shared libraries. | 
| Chris@4 | 10234       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10235     else | 
| Chris@4 | 10236       # We preserve .a as extension for shared libraries through AIX4.2 | 
| Chris@4 | 10237       # and later when we are not doing run time linking. | 
| Chris@4 | 10238       library_names_spec='${libname}${release}.a $libname.a' | 
| Chris@4 | 10239       soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10240     fi | 
| Chris@4 | 10241     shlibpath_var=LIBPATH | 
| Chris@4 | 10242   fi | 
| Chris@4 | 10243   ;; | 
| Chris@4 | 10244 | 
| Chris@4 | 10245 amigaos*) | 
| Chris@4 | 10246   case $host_cpu in | 
| Chris@4 | 10247   powerpc) | 
| Chris@4 | 10248     # Since July 2007 AmigaOS4 officially supports .so libraries. | 
| Chris@4 | 10249     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | 
| Chris@4 | 10250     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10251     ;; | 
| Chris@4 | 10252   m68k) | 
| Chris@4 | 10253     library_names_spec='$libname.ixlibrary $libname.a' | 
| Chris@4 | 10254     # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
| Chris@4 | 10255     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' | 
| Chris@4 | 10256     ;; | 
| Chris@4 | 10257   esac | 
| Chris@4 | 10258   ;; | 
| Chris@4 | 10259 | 
| Chris@4 | 10260 beos*) | 
| Chris@4 | 10261   library_names_spec='${libname}${shared_ext}' | 
| Chris@4 | 10262   dynamic_linker="$host_os ld.so" | 
| Chris@4 | 10263   shlibpath_var=LIBRARY_PATH | 
| Chris@4 | 10264   ;; | 
| Chris@4 | 10265 | 
| Chris@4 | 10266 bsdi[45]*) | 
| Chris@4 | 10267   version_type=linux | 
| Chris@4 | 10268   need_version=no | 
| Chris@4 | 10269   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10270   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10271   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
| Chris@4 | 10272   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10273   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
| Chris@4 | 10274   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
| Chris@4 | 10275   # the default ld.so.conf also contains /usr/contrib/lib and | 
| Chris@4 | 10276   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
| Chris@4 | 10277   # libtool to hard-code these into programs | 
| Chris@4 | 10278   ;; | 
| Chris@4 | 10279 | 
| Chris@4 | 10280 cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 10281   version_type=windows | 
| Chris@4 | 10282   shrext_cmds=".dll" | 
| Chris@4 | 10283   need_version=no | 
| Chris@4 | 10284   need_lib_prefix=no | 
| Chris@4 | 10285 | 
| Chris@4 | 10286   case $GCC,$cc_basename in | 
| Chris@4 | 10287   yes,*) | 
| Chris@4 | 10288     # gcc | 
| Chris@4 | 10289     library_names_spec='$libname.dll.a' | 
| Chris@4 | 10290     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
| Chris@4 | 10291     postinstall_cmds='base_file=`basename \${file}`~ | 
| Chris@4 | 10292       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 
| Chris@4 | 10293       dldir=$destdir/`dirname \$dlpath`~ | 
| Chris@4 | 10294       test -d \$dldir || mkdir -p \$dldir~ | 
| Chris@4 | 10295       $install_prog $dir/$dlname \$dldir/$dlname~ | 
| Chris@4 | 10296       chmod a+x \$dldir/$dlname~ | 
| Chris@4 | 10297       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | 
| Chris@4 | 10298         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | 
| Chris@4 | 10299       fi' | 
| Chris@4 | 10300     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
| Chris@4 | 10301       dlpath=$dir/\$dldll~ | 
| Chris@4 | 10302        $RM \$dlpath' | 
| Chris@4 | 10303     shlibpath_overrides_runpath=yes | 
| Chris@4 | 10304 | 
| Chris@4 | 10305     case $host_os in | 
| Chris@4 | 10306     cygwin*) | 
| Chris@4 | 10307       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
| Chris@4 | 10308       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 10309 | 
| Chris@4 | 10310       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api" | 
| Chris@4 | 10311       ;; | 
| Chris@4 | 10312     mingw* | cegcc*) | 
| Chris@4 | 10313       # MinGW DLLs use traditional 'lib' prefix | 
| Chris@4 | 10314       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 10315       ;; | 
| Chris@4 | 10316     pw32*) | 
| Chris@4 | 10317       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
| Chris@4 | 10318       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 10319       ;; | 
| Chris@4 | 10320     esac | 
| Chris@4 | 10321     dynamic_linker='Win32 ld.exe' | 
| Chris@4 | 10322     ;; | 
| Chris@4 | 10323 | 
| Chris@4 | 10324   *,cl*) | 
| Chris@4 | 10325     # Native MSVC | 
| Chris@4 | 10326     libname_spec='$name' | 
| Chris@4 | 10327     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 10328     library_names_spec='${libname}.dll.lib' | 
| Chris@4 | 10329 | 
| Chris@4 | 10330     case $build_os in | 
| Chris@4 | 10331     mingw*) | 
| Chris@4 | 10332       sys_lib_search_path_spec= | 
| Chris@4 | 10333       lt_save_ifs=$IFS | 
| Chris@4 | 10334       IFS=';' | 
| Chris@4 | 10335       for lt_path in $LIB | 
| Chris@4 | 10336       do | 
| Chris@4 | 10337         IFS=$lt_save_ifs | 
| Chris@4 | 10338         # Let DOS variable expansion print the short 8.3 style file name. | 
| Chris@4 | 10339         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` | 
| Chris@4 | 10340         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | 
| Chris@4 | 10341       done | 
| Chris@4 | 10342       IFS=$lt_save_ifs | 
| Chris@4 | 10343       # Convert to MSYS style. | 
| Chris@4 | 10344       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` | 
| Chris@4 | 10345       ;; | 
| Chris@4 | 10346     cygwin*) | 
| Chris@4 | 10347       # Convert to unix form, then to dos form, then back to unix form | 
| Chris@4 | 10348       # but this time dos style (no spaces!) so that the unix form looks | 
| Chris@4 | 10349       # like /cygdrive/c/PROGRA~1:/cygdr... | 
| Chris@4 | 10350       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | 
| Chris@4 | 10351       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` | 
| Chris@4 | 10352       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 
| Chris@4 | 10353       ;; | 
| Chris@4 | 10354     *) | 
| Chris@4 | 10355       sys_lib_search_path_spec="$LIB" | 
| Chris@4 | 10356       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then | 
| Chris@4 | 10357         # It is most probably a Windows format PATH. | 
| Chris@4 | 10358         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
| Chris@4 | 10359       else | 
| Chris@4 | 10360         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 
| Chris@4 | 10361       fi | 
| Chris@4 | 10362       # FIXME: find the short name or the path components, as spaces are | 
| Chris@4 | 10363       # common. (e.g. "Program Files" -> "PROGRA~1") | 
| Chris@4 | 10364       ;; | 
| Chris@4 | 10365     esac | 
| Chris@4 | 10366 | 
| Chris@4 | 10367     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
| Chris@4 | 10368     postinstall_cmds='base_file=`basename \${file}`~ | 
| Chris@4 | 10369       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 
| Chris@4 | 10370       dldir=$destdir/`dirname \$dlpath`~ | 
| Chris@4 | 10371       test -d \$dldir || mkdir -p \$dldir~ | 
| Chris@4 | 10372       $install_prog $dir/$dlname \$dldir/$dlname' | 
| Chris@4 | 10373     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
| Chris@4 | 10374       dlpath=$dir/\$dldll~ | 
| Chris@4 | 10375        $RM \$dlpath' | 
| Chris@4 | 10376     shlibpath_overrides_runpath=yes | 
| Chris@4 | 10377     dynamic_linker='Win32 link.exe' | 
| Chris@4 | 10378     ;; | 
| Chris@4 | 10379 | 
| Chris@4 | 10380   *) | 
| Chris@4 | 10381     # Assume MSVC wrapper | 
| Chris@4 | 10382     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
| Chris@4 | 10383     dynamic_linker='Win32 ld.exe' | 
| Chris@4 | 10384     ;; | 
| Chris@4 | 10385   esac | 
| Chris@4 | 10386   # FIXME: first we should search . and the directory the executable is in | 
| Chris@4 | 10387   shlibpath_var=PATH | 
| Chris@4 | 10388   ;; | 
| Chris@4 | 10389 | 
| Chris@4 | 10390 darwin* | rhapsody*) | 
| Chris@4 | 10391   dynamic_linker="$host_os dyld" | 
| Chris@4 | 10392   version_type=darwin | 
| Chris@4 | 10393   need_lib_prefix=no | 
| Chris@4 | 10394   need_version=no | 
| Chris@4 | 10395   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
| Chris@4 | 10396   soname_spec='${libname}${release}${major}$shared_ext' | 
| Chris@4 | 10397   shlibpath_overrides_runpath=yes | 
| Chris@4 | 10398   shlibpath_var=DYLD_LIBRARY_PATH | 
| Chris@4 | 10399   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | 
| Chris@4 | 10400 | 
| Chris@4 | 10401   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib" | 
| Chris@4 | 10402   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
| Chris@4 | 10403   ;; | 
| Chris@4 | 10404 | 
| Chris@4 | 10405 dgux*) | 
| Chris@4 | 10406   version_type=linux | 
| Chris@4 | 10407   need_lib_prefix=no | 
| Chris@4 | 10408   need_version=no | 
| Chris@4 | 10409   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
| Chris@4 | 10410   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10411   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10412   ;; | 
| Chris@4 | 10413 | 
| Chris@4 | 10414 freebsd1*) | 
| Chris@4 | 10415   dynamic_linker=no | 
| Chris@4 | 10416   ;; | 
| Chris@4 | 10417 | 
| Chris@4 | 10418 freebsd* | dragonfly*) | 
| Chris@4 | 10419   # DragonFly does not have aout.  When/if they implement a new | 
| Chris@4 | 10420   # versioning mechanism, adjust this. | 
| Chris@4 | 10421   if test -x /usr/bin/objformat; then | 
| Chris@4 | 10422     objformat=`/usr/bin/objformat` | 
| Chris@4 | 10423   else | 
| Chris@4 | 10424     case $host_os in | 
| Chris@4 | 10425     freebsd[123]*) objformat=aout ;; | 
| Chris@4 | 10426     *) objformat=elf ;; | 
| Chris@4 | 10427     esac | 
| Chris@4 | 10428   fi | 
| Chris@4 | 10429   version_type=freebsd-$objformat | 
| Chris@4 | 10430   case $version_type in | 
| Chris@4 | 10431     freebsd-elf*) | 
| Chris@4 | 10432       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| Chris@4 | 10433       need_version=no | 
| Chris@4 | 10434       need_lib_prefix=no | 
| Chris@4 | 10435       ;; | 
| Chris@4 | 10436     freebsd-*) | 
| Chris@4 | 10437       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
| Chris@4 | 10438       need_version=yes | 
| Chris@4 | 10439       ;; | 
| Chris@4 | 10440   esac | 
| Chris@4 | 10441   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10442   case $host_os in | 
| Chris@4 | 10443   freebsd2*) | 
| Chris@4 | 10444     shlibpath_overrides_runpath=yes | 
| Chris@4 | 10445     ;; | 
| Chris@4 | 10446   freebsd3.[01]* | freebsdelf3.[01]*) | 
| Chris@4 | 10447     shlibpath_overrides_runpath=yes | 
| Chris@4 | 10448     hardcode_into_libs=yes | 
| Chris@4 | 10449     ;; | 
| Chris@4 | 10450   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | 
| Chris@4 | 10451   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | 
| Chris@4 | 10452     shlibpath_overrides_runpath=no | 
| Chris@4 | 10453     hardcode_into_libs=yes | 
| Chris@4 | 10454     ;; | 
| Chris@4 | 10455   *) # from 4.6 on, and DragonFly | 
| Chris@4 | 10456     shlibpath_overrides_runpath=yes | 
| Chris@4 | 10457     hardcode_into_libs=yes | 
| Chris@4 | 10458     ;; | 
| Chris@4 | 10459   esac | 
| Chris@4 | 10460   ;; | 
| Chris@4 | 10461 | 
| Chris@4 | 10462 gnu*) | 
| Chris@4 | 10463   version_type=linux | 
| Chris@4 | 10464   need_lib_prefix=no | 
| Chris@4 | 10465   need_version=no | 
| Chris@4 | 10466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
| Chris@4 | 10467   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10468   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10469   shlibpath_overrides_runpath=no | 
| Chris@4 | 10470   hardcode_into_libs=yes | 
| Chris@4 | 10471   ;; | 
| Chris@4 | 10472 | 
| Chris@4 | 10473 haiku*) | 
| Chris@4 | 10474   version_type=linux | 
| Chris@4 | 10475   need_lib_prefix=no | 
| Chris@4 | 10476   need_version=no | 
| Chris@4 | 10477   dynamic_linker="$host_os runtime_loader" | 
| Chris@4 | 10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
| Chris@4 | 10479   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10480   shlibpath_var=LIBRARY_PATH | 
| Chris@4 | 10481   shlibpath_overrides_runpath=yes | 
| Chris@4 | 10482   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' | 
| Chris@4 | 10483   hardcode_into_libs=yes | 
| Chris@4 | 10484   ;; | 
| Chris@4 | 10485 | 
| Chris@4 | 10486 hpux9* | hpux10* | hpux11*) | 
| Chris@4 | 10487   # Give a soname corresponding to the major version so that dld.sl refuses to | 
| Chris@4 | 10488   # link against other versions. | 
| Chris@4 | 10489   version_type=sunos | 
| Chris@4 | 10490   need_lib_prefix=no | 
| Chris@4 | 10491   need_version=no | 
| Chris@4 | 10492   case $host_cpu in | 
| Chris@4 | 10493   ia64*) | 
| Chris@4 | 10494     shrext_cmds='.so' | 
| Chris@4 | 10495     hardcode_into_libs=yes | 
| Chris@4 | 10496     dynamic_linker="$host_os dld.so" | 
| Chris@4 | 10497     shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10498     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
| Chris@4 | 10499     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10500     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10501     if test "X$HPUX_IA64_MODE" = X32; then | 
| Chris@4 | 10502       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
| Chris@4 | 10503     else | 
| Chris@4 | 10504       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
| Chris@4 | 10505     fi | 
| Chris@4 | 10506     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
| Chris@4 | 10507     ;; | 
| Chris@4 | 10508   hppa*64*) | 
| Chris@4 | 10509     shrext_cmds='.sl' | 
| Chris@4 | 10510     hardcode_into_libs=yes | 
| Chris@4 | 10511     dynamic_linker="$host_os dld.sl" | 
| Chris@4 | 10512     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
| Chris@4 | 10513     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
| Chris@4 | 10514     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10515     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10516     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
| Chris@4 | 10517     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
| Chris@4 | 10518     ;; | 
| Chris@4 | 10519   *) | 
| Chris@4 | 10520     shrext_cmds='.sl' | 
| Chris@4 | 10521     dynamic_linker="$host_os dld.sl" | 
| Chris@4 | 10522     shlibpath_var=SHLIB_PATH | 
| Chris@4 | 10523     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
| Chris@4 | 10524     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10525     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10526     ;; | 
| Chris@4 | 10527   esac | 
| Chris@4 | 10528   # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | 
| Chris@4 | 10529   postinstall_cmds='chmod 555 $lib' | 
| Chris@4 | 10530   # or fails outright, so override atomically: | 
| Chris@4 | 10531   install_override_mode=555 | 
| Chris@4 | 10532   ;; | 
| Chris@4 | 10533 | 
| Chris@4 | 10534 interix[3-9]*) | 
| Chris@4 | 10535   version_type=linux | 
| Chris@4 | 10536   need_lib_prefix=no | 
| Chris@4 | 10537   need_version=no | 
| Chris@4 | 10538   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 
| Chris@4 | 10539   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10540   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | 
| Chris@4 | 10541   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10542   shlibpath_overrides_runpath=no | 
| Chris@4 | 10543   hardcode_into_libs=yes | 
| Chris@4 | 10544   ;; | 
| Chris@4 | 10545 | 
| Chris@4 | 10546 irix5* | irix6* | nonstopux*) | 
| Chris@4 | 10547   case $host_os in | 
| Chris@4 | 10548     nonstopux*) version_type=nonstopux ;; | 
| Chris@4 | 10549     *) | 
| Chris@4 | 10550 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
| Chris@4 | 10551 		version_type=linux | 
| Chris@4 | 10552 	else | 
| Chris@4 | 10553 		version_type=irix | 
| Chris@4 | 10554 	fi ;; | 
| Chris@4 | 10555   esac | 
| Chris@4 | 10556   need_lib_prefix=no | 
| Chris@4 | 10557   need_version=no | 
| Chris@4 | 10558   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| Chris@4 | 10560   case $host_os in | 
| Chris@4 | 10561   irix5* | nonstopux*) | 
| Chris@4 | 10562     libsuff= shlibsuff= | 
| Chris@4 | 10563     ;; | 
| Chris@4 | 10564   *) | 
| Chris@4 | 10565     case $LD in # libtool.m4 will add one of these switches to LD | 
| Chris@4 | 10566     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
| Chris@4 | 10567       libsuff= shlibsuff= libmagic=32-bit;; | 
| Chris@4 | 10568     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
| Chris@4 | 10569       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
| Chris@4 | 10570     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
| Chris@4 | 10571       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
| Chris@4 | 10572     *) libsuff= shlibsuff= libmagic=never-match;; | 
| Chris@4 | 10573     esac | 
| Chris@4 | 10574     ;; | 
| Chris@4 | 10575   esac | 
| Chris@4 | 10576   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
| Chris@4 | 10577   shlibpath_overrides_runpath=no | 
| Chris@4 | 10578   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
| Chris@4 | 10579   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
| Chris@4 | 10580   hardcode_into_libs=yes | 
| Chris@4 | 10581   ;; | 
| Chris@4 | 10582 | 
| Chris@4 | 10583 # No shared lib support for Linux oldld, aout, or coff. | 
| Chris@4 | 10584 linux*oldld* | linux*aout* | linux*coff*) | 
| Chris@4 | 10585   dynamic_linker=no | 
| Chris@4 | 10586   ;; | 
| Chris@4 | 10587 | 
| Chris@4 | 10588 # This must be Linux ELF. | 
| Chris@4 | 10589 linux* | k*bsd*-gnu | kopensolaris*-gnu) | 
| Chris@4 | 10590   version_type=linux | 
| Chris@4 | 10591   need_lib_prefix=no | 
| Chris@4 | 10592   need_version=no | 
| Chris@4 | 10593   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10594   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10595   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
| Chris@4 | 10596   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10597   shlibpath_overrides_runpath=no | 
| Chris@4 | 10598 | 
| Chris@4 | 10599   # Some binutils ld are patched to set DT_RUNPATH | 
| Chris@4 | 10600   if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | 
| Chris@4 | 10601   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 10602 else | 
| Chris@4 | 10603   lt_cv_shlibpath_overrides_runpath=no | 
| Chris@4 | 10604     save_LDFLAGS=$LDFLAGS | 
| Chris@4 | 10605     save_libdir=$libdir | 
| Chris@4 | 10606     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ | 
| Chris@4 | 10607 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" | 
| Chris@4 | 10608     cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 10609 /* end confdefs.h.  */ | 
| Chris@4 | 10610 | 
| Chris@4 | 10611 int | 
| Chris@4 | 10612 main () | 
| Chris@4 | 10613 { | 
| Chris@4 | 10614 | 
| Chris@4 | 10615   ; | 
| Chris@4 | 10616   return 0; | 
| Chris@4 | 10617 } | 
| Chris@4 | 10618 _ACEOF | 
| Chris@4 | 10619 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 10620   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : | 
| Chris@4 | 10621   lt_cv_shlibpath_overrides_runpath=yes | 
| Chris@4 | 10622 fi | 
| Chris@4 | 10623 fi | 
| Chris@4 | 10624 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 10625     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 10626     LDFLAGS=$save_LDFLAGS | 
| Chris@4 | 10627     libdir=$save_libdir | 
| Chris@4 | 10628 | 
| Chris@4 | 10629 fi | 
| Chris@4 | 10630 | 
| Chris@4 | 10631   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 
| Chris@4 | 10632 | 
| Chris@4 | 10633   # This implies no fast_install, which is unacceptable. | 
| Chris@4 | 10634   # Some rework will be needed to allow for fast_install | 
| Chris@4 | 10635   # before this can be enabled. | 
| Chris@4 | 10636   hardcode_into_libs=yes | 
| Chris@4 | 10637 | 
| Chris@4 | 10638   # Append ld.so.conf contents to the search path | 
| Chris@4 | 10639   if test -f /etc/ld.so.conf; then | 
| Chris@4 | 10640     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` | 
| Chris@4 | 10641     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | 
| Chris@4 | 10642   fi | 
| Chris@4 | 10643 | 
| Chris@4 | 10644   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
| Chris@4 | 10645   # powerpc, because MkLinux only supported shared libraries with the | 
| Chris@4 | 10646   # GNU dynamic linker.  Since this was broken with cross compilers, | 
| Chris@4 | 10647   # most powerpc-linux boxes support dynamic linking these days and | 
| Chris@4 | 10648   # people can always --disable-shared, the test was removed, and we | 
| Chris@4 | 10649   # assume the GNU/Linux dynamic linker is in use. | 
| Chris@4 | 10650   dynamic_linker='GNU/Linux ld.so' | 
| Chris@4 | 10651   ;; | 
| Chris@4 | 10652 | 
| Chris@4 | 10653 netbsdelf*-gnu) | 
| Chris@4 | 10654   version_type=linux | 
| Chris@4 | 10655   need_lib_prefix=no | 
| Chris@4 | 10656   need_version=no | 
| Chris@4 | 10657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 
| Chris@4 | 10658   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10659   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10660   shlibpath_overrides_runpath=no | 
| Chris@4 | 10661   hardcode_into_libs=yes | 
| Chris@4 | 10662   dynamic_linker='NetBSD ld.elf_so' | 
| Chris@4 | 10663   ;; | 
| Chris@4 | 10664 | 
| Chris@4 | 10665 netbsd*) | 
| Chris@4 | 10666   version_type=sunos | 
| Chris@4 | 10667   need_lib_prefix=no | 
| Chris@4 | 10668   need_version=no | 
| Chris@4 | 10669   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 
| Chris@4 | 10670     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| Chris@4 | 10671     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
| Chris@4 | 10672     dynamic_linker='NetBSD (a.out) ld.so' | 
| Chris@4 | 10673   else | 
| Chris@4 | 10674     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 
| Chris@4 | 10675     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10676     dynamic_linker='NetBSD ld.elf_so' | 
| Chris@4 | 10677   fi | 
| Chris@4 | 10678   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10679   shlibpath_overrides_runpath=yes | 
| Chris@4 | 10680   hardcode_into_libs=yes | 
| Chris@4 | 10681   ;; | 
| Chris@4 | 10682 | 
| Chris@4 | 10683 newsos6) | 
| Chris@4 | 10684   version_type=linux | 
| Chris@4 | 10685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10686   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10687   shlibpath_overrides_runpath=yes | 
| Chris@4 | 10688   ;; | 
| Chris@4 | 10689 | 
| Chris@4 | 10690 *nto* | *qnx*) | 
| Chris@4 | 10691   version_type=qnx | 
| Chris@4 | 10692   need_lib_prefix=no | 
| Chris@4 | 10693   need_version=no | 
| Chris@4 | 10694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10695   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10696   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10697   shlibpath_overrides_runpath=no | 
| Chris@4 | 10698   hardcode_into_libs=yes | 
| Chris@4 | 10699   dynamic_linker='ldqnx.so' | 
| Chris@4 | 10700   ;; | 
| Chris@4 | 10701 | 
| Chris@4 | 10702 openbsd*) | 
| Chris@4 | 10703   version_type=sunos | 
| Chris@4 | 10704   sys_lib_dlsearch_path_spec="/usr/lib" | 
| Chris@4 | 10705   need_lib_prefix=no | 
| Chris@4 | 10706   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | 
| Chris@4 | 10707   case $host_os in | 
| Chris@4 | 10708     openbsd3.3 | openbsd3.3.*)	need_version=yes ;; | 
| Chris@4 | 10709     *)				need_version=no  ;; | 
| Chris@4 | 10710   esac | 
| Chris@4 | 10711   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| Chris@4 | 10712   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
| Chris@4 | 10713   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10714   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
| Chris@4 | 10715     case $host_os in | 
| Chris@4 | 10716       openbsd2.[89] | openbsd2.[89].*) | 
| Chris@4 | 10717 	shlibpath_overrides_runpath=no | 
| Chris@4 | 10718 	;; | 
| Chris@4 | 10719       *) | 
| Chris@4 | 10720 	shlibpath_overrides_runpath=yes | 
| Chris@4 | 10721 	;; | 
| Chris@4 | 10722       esac | 
| Chris@4 | 10723   else | 
| Chris@4 | 10724     shlibpath_overrides_runpath=yes | 
| Chris@4 | 10725   fi | 
| Chris@4 | 10726   ;; | 
| Chris@4 | 10727 | 
| Chris@4 | 10728 os2*) | 
| Chris@4 | 10729   libname_spec='$name' | 
| Chris@4 | 10730   shrext_cmds=".dll" | 
| Chris@4 | 10731   need_lib_prefix=no | 
| Chris@4 | 10732   library_names_spec='$libname${shared_ext} $libname.a' | 
| Chris@4 | 10733   dynamic_linker='OS/2 ld.exe' | 
| Chris@4 | 10734   shlibpath_var=LIBPATH | 
| Chris@4 | 10735   ;; | 
| Chris@4 | 10736 | 
| Chris@4 | 10737 osf3* | osf4* | osf5*) | 
| Chris@4 | 10738   version_type=osf | 
| Chris@4 | 10739   need_lib_prefix=no | 
| Chris@4 | 10740   need_version=no | 
| Chris@4 | 10741   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10742   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10743   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10744   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
| Chris@4 | 10745   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
| Chris@4 | 10746   ;; | 
| Chris@4 | 10747 | 
| Chris@4 | 10748 rdos*) | 
| Chris@4 | 10749   dynamic_linker=no | 
| Chris@4 | 10750   ;; | 
| Chris@4 | 10751 | 
| Chris@4 | 10752 solaris*) | 
| Chris@4 | 10753   version_type=linux | 
| Chris@4 | 10754   need_lib_prefix=no | 
| Chris@4 | 10755   need_version=no | 
| Chris@4 | 10756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10757   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10758   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10759   shlibpath_overrides_runpath=yes | 
| Chris@4 | 10760   hardcode_into_libs=yes | 
| Chris@4 | 10761   # ldd complains unless libraries are executable | 
| Chris@4 | 10762   postinstall_cmds='chmod +x $lib' | 
| Chris@4 | 10763   ;; | 
| Chris@4 | 10764 | 
| Chris@4 | 10765 sunos4*) | 
| Chris@4 | 10766   version_type=sunos | 
| Chris@4 | 10767   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| Chris@4 | 10768   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
| Chris@4 | 10769   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10770   shlibpath_overrides_runpath=yes | 
| Chris@4 | 10771   if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 10772     need_lib_prefix=no | 
| Chris@4 | 10773   fi | 
| Chris@4 | 10774   need_version=yes | 
| Chris@4 | 10775   ;; | 
| Chris@4 | 10776 | 
| Chris@4 | 10777 sysv4 | sysv4.3*) | 
| Chris@4 | 10778   version_type=linux | 
| Chris@4 | 10779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10780   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10781   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10782   case $host_vendor in | 
| Chris@4 | 10783     sni) | 
| Chris@4 | 10784       shlibpath_overrides_runpath=no | 
| Chris@4 | 10785       need_lib_prefix=no | 
| Chris@4 | 10786       runpath_var=LD_RUN_PATH | 
| Chris@4 | 10787       ;; | 
| Chris@4 | 10788     siemens) | 
| Chris@4 | 10789       need_lib_prefix=no | 
| Chris@4 | 10790       ;; | 
| Chris@4 | 10791     motorola) | 
| Chris@4 | 10792       need_lib_prefix=no | 
| Chris@4 | 10793       need_version=no | 
| Chris@4 | 10794       shlibpath_overrides_runpath=no | 
| Chris@4 | 10795       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
| Chris@4 | 10796       ;; | 
| Chris@4 | 10797   esac | 
| Chris@4 | 10798   ;; | 
| Chris@4 | 10799 | 
| Chris@4 | 10800 sysv4*MP*) | 
| Chris@4 | 10801   if test -d /usr/nec ;then | 
| Chris@4 | 10802     version_type=linux | 
| Chris@4 | 10803     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
| Chris@4 | 10804     soname_spec='$libname${shared_ext}.$major' | 
| Chris@4 | 10805     shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10806   fi | 
| Chris@4 | 10807   ;; | 
| Chris@4 | 10808 | 
| Chris@4 | 10809 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 
| Chris@4 | 10810   version_type=freebsd-elf | 
| Chris@4 | 10811   need_lib_prefix=no | 
| Chris@4 | 10812   need_version=no | 
| Chris@4 | 10813   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| Chris@4 | 10814   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10815   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10816   shlibpath_overrides_runpath=yes | 
| Chris@4 | 10817   hardcode_into_libs=yes | 
| Chris@4 | 10818   if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 10819     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | 
| Chris@4 | 10820   else | 
| Chris@4 | 10821     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | 
| Chris@4 | 10822     case $host_os in | 
| Chris@4 | 10823       sco3.2v5*) | 
| Chris@4 | 10824         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | 
| Chris@4 | 10825 	;; | 
| Chris@4 | 10826     esac | 
| Chris@4 | 10827   fi | 
| Chris@4 | 10828   sys_lib_dlsearch_path_spec='/usr/lib' | 
| Chris@4 | 10829   ;; | 
| Chris@4 | 10830 | 
| Chris@4 | 10831 tpf*) | 
| Chris@4 | 10832   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux. | 
| Chris@4 | 10833   version_type=linux | 
| Chris@4 | 10834   need_lib_prefix=no | 
| Chris@4 | 10835   need_version=no | 
| Chris@4 | 10836   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10837   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10838   shlibpath_overrides_runpath=no | 
| Chris@4 | 10839   hardcode_into_libs=yes | 
| Chris@4 | 10840   ;; | 
| Chris@4 | 10841 | 
| Chris@4 | 10842 uts4*) | 
| Chris@4 | 10843   version_type=linux | 
| Chris@4 | 10844   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 10845   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 10846   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 10847   ;; | 
| Chris@4 | 10848 | 
| Chris@4 | 10849 *) | 
| Chris@4 | 10850   dynamic_linker=no | 
| Chris@4 | 10851   ;; | 
| Chris@4 | 10852 esac | 
| Chris@4 | 10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | 
| Chris@4 | 10854 $as_echo "$dynamic_linker" >&6; } | 
| Chris@4 | 10855 test "$dynamic_linker" = no && can_build_shared=no | 
| Chris@4 | 10856 | 
| Chris@4 | 10857 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
| Chris@4 | 10858 if test "$GCC" = yes; then | 
| Chris@4 | 10859   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
| Chris@4 | 10860 fi | 
| Chris@4 | 10861 | 
| Chris@4 | 10862 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | 
| Chris@4 | 10863   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | 
| Chris@4 | 10864 fi | 
| Chris@4 | 10865 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | 
| Chris@4 | 10866   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | 
| Chris@4 | 10867 fi | 
| Chris@4 | 10868 | 
| Chris@4 | 10869 | 
| Chris@4 | 10870 | 
| Chris@4 | 10871 | 
| Chris@4 | 10872 | 
| Chris@4 | 10873 | 
| Chris@4 | 10874 | 
| Chris@4 | 10875 | 
| Chris@4 | 10876 | 
| Chris@4 | 10877 | 
| Chris@4 | 10878 | 
| Chris@4 | 10879 | 
| Chris@4 | 10880 | 
| Chris@4 | 10881 | 
| Chris@4 | 10882 | 
| Chris@4 | 10883 | 
| Chris@4 | 10884 | 
| Chris@4 | 10885 | 
| Chris@4 | 10886 | 
| Chris@4 | 10887 | 
| Chris@4 | 10888 | 
| Chris@4 | 10889 | 
| Chris@4 | 10890 | 
| Chris@4 | 10891 | 
| Chris@4 | 10892 | 
| Chris@4 | 10893 | 
| Chris@4 | 10894 | 
| Chris@4 | 10895 | 
| Chris@4 | 10896 | 
| Chris@4 | 10897 | 
| Chris@4 | 10898 | 
| Chris@4 | 10899 | 
| Chris@4 | 10900 | 
| Chris@4 | 10901 | 
| Chris@4 | 10902 | 
| Chris@4 | 10903 | 
| Chris@4 | 10904 | 
| Chris@4 | 10905 | 
| Chris@4 | 10906 | 
| Chris@4 | 10907 | 
| Chris@4 | 10908 | 
| Chris@4 | 10909 | 
| Chris@4 | 10910 | 
| Chris@4 | 10911 | 
| Chris@4 | 10912 | 
| Chris@4 | 10913 | 
| Chris@4 | 10914 | 
| Chris@4 | 10915 | 
| Chris@4 | 10916 | 
| Chris@4 | 10917 | 
| Chris@4 | 10918 | 
| Chris@4 | 10919 | 
| Chris@4 | 10920 | 
| Chris@4 | 10921 | 
| Chris@4 | 10922 | 
| Chris@4 | 10923 | 
| Chris@4 | 10924 | 
| Chris@4 | 10925 | 
| Chris@4 | 10926 | 
| Chris@4 | 10927 | 
| Chris@4 | 10928 | 
| Chris@4 | 10929 | 
| Chris@4 | 10930 | 
| Chris@4 | 10931 | 
| Chris@4 | 10932 | 
| Chris@4 | 10933 | 
| Chris@4 | 10934 | 
| Chris@4 | 10935 | 
| Chris@4 | 10936 | 
| Chris@4 | 10937 | 
| Chris@4 | 10938 | 
| Chris@4 | 10939 | 
| Chris@4 | 10940 | 
| Chris@4 | 10941 | 
| Chris@4 | 10942 | 
| Chris@4 | 10943 | 
| Chris@4 | 10944 | 
| Chris@4 | 10945 | 
| Chris@4 | 10946 | 
| Chris@4 | 10947 | 
| Chris@4 | 10948 | 
| Chris@4 | 10949 | 
| Chris@4 | 10950 | 
| Chris@4 | 10951 | 
| Chris@4 | 10952 | 
| Chris@4 | 10953 | 
| Chris@4 | 10954 | 
| Chris@4 | 10955 | 
| Chris@4 | 10956 | 
| Chris@4 | 10957 | 
| Chris@4 | 10958 | 
| Chris@4 | 10959 | 
| Chris@4 | 10960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 | 
| Chris@4 | 10961 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | 
| Chris@4 | 10962 hardcode_action= | 
| Chris@4 | 10963 if test -n "$hardcode_libdir_flag_spec" || | 
| Chris@4 | 10964    test -n "$runpath_var" || | 
| Chris@4 | 10965    test "X$hardcode_automatic" = "Xyes" ; then | 
| Chris@4 | 10966 | 
| Chris@4 | 10967   # We can hardcode non-existent directories. | 
| Chris@4 | 10968   if test "$hardcode_direct" != no && | 
| Chris@4 | 10969      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
| Chris@4 | 10970      # have to relink, otherwise we might link with an installed library | 
| Chris@4 | 10971      # when we should be linking with a yet-to-be-installed one | 
| Chris@4 | 10972      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no && | 
| Chris@4 | 10973      test "$hardcode_minus_L" != no; then | 
| Chris@4 | 10974     # Linking always hardcodes the temporary library directory. | 
| Chris@4 | 10975     hardcode_action=relink | 
| Chris@4 | 10976   else | 
| Chris@4 | 10977     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
| Chris@4 | 10978     hardcode_action=immediate | 
| Chris@4 | 10979   fi | 
| Chris@4 | 10980 else | 
| Chris@4 | 10981   # We cannot hardcode anything, or else we can only hardcode existing | 
| Chris@4 | 10982   # directories. | 
| Chris@4 | 10983   hardcode_action=unsupported | 
| Chris@4 | 10984 fi | 
| Chris@4 | 10985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 | 
| Chris@4 | 10986 $as_echo "$hardcode_action" >&6; } | 
| Chris@4 | 10987 | 
| Chris@4 | 10988 if test "$hardcode_action" = relink || | 
| Chris@4 | 10989    test "$inherit_rpath" = yes; then | 
| Chris@4 | 10990   # Fast installation is not supported | 
| Chris@4 | 10991   enable_fast_install=no | 
| Chris@4 | 10992 elif test "$shlibpath_overrides_runpath" = yes || | 
| Chris@4 | 10993      test "$enable_shared" = no; then | 
| Chris@4 | 10994   # Fast installation is not necessary | 
| Chris@4 | 10995   enable_fast_install=needless | 
| Chris@4 | 10996 fi | 
| Chris@4 | 10997 | 
| Chris@4 | 10998 | 
| Chris@4 | 10999 | 
| Chris@4 | 11000 | 
| Chris@4 | 11001 | 
| Chris@4 | 11002 | 
| Chris@4 | 11003   if test "x$enable_dlopen" != xyes; then | 
| Chris@4 | 11004   enable_dlopen=unknown | 
| Chris@4 | 11005   enable_dlopen_self=unknown | 
| Chris@4 | 11006   enable_dlopen_self_static=unknown | 
| Chris@4 | 11007 else | 
| Chris@4 | 11008   lt_cv_dlopen=no | 
| Chris@4 | 11009   lt_cv_dlopen_libs= | 
| Chris@4 | 11010 | 
| Chris@4 | 11011   case $host_os in | 
| Chris@4 | 11012   beos*) | 
| Chris@4 | 11013     lt_cv_dlopen="load_add_on" | 
| Chris@4 | 11014     lt_cv_dlopen_libs= | 
| Chris@4 | 11015     lt_cv_dlopen_self=yes | 
| Chris@4 | 11016     ;; | 
| Chris@4 | 11017 | 
| Chris@4 | 11018   mingw* | pw32* | cegcc*) | 
| Chris@4 | 11019     lt_cv_dlopen="LoadLibrary" | 
| Chris@4 | 11020     lt_cv_dlopen_libs= | 
| Chris@4 | 11021     ;; | 
| Chris@4 | 11022 | 
| Chris@4 | 11023   cygwin*) | 
| Chris@4 | 11024     lt_cv_dlopen="dlopen" | 
| Chris@4 | 11025     lt_cv_dlopen_libs= | 
| Chris@4 | 11026     ;; | 
| Chris@4 | 11027 | 
| Chris@4 | 11028   darwin*) | 
| Chris@4 | 11029   # if libdl is installed we need to link against it | 
| Chris@4 | 11030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 
| Chris@4 | 11031 $as_echo_n "checking for dlopen in -ldl... " >&6; } | 
| Chris@4 | 11032 if ${ac_cv_lib_dl_dlopen+:} false; then : | 
| Chris@4 | 11033   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11034 else | 
| Chris@4 | 11035   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 11036 LIBS="-ldl  $LIBS" | 
| Chris@4 | 11037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11038 /* end confdefs.h.  */ | 
| Chris@4 | 11039 | 
| Chris@4 | 11040 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 11041    Use char because int might match the return type of a GCC | 
| Chris@4 | 11042    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 11043 #ifdef __cplusplus | 
| Chris@4 | 11044 extern "C" | 
| Chris@4 | 11045 #endif | 
| Chris@4 | 11046 char dlopen (); | 
| Chris@4 | 11047 int | 
| Chris@4 | 11048 main () | 
| Chris@4 | 11049 { | 
| Chris@4 | 11050 return dlopen (); | 
| Chris@4 | 11051   ; | 
| Chris@4 | 11052   return 0; | 
| Chris@4 | 11053 } | 
| Chris@4 | 11054 _ACEOF | 
| Chris@4 | 11055 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 11056   ac_cv_lib_dl_dlopen=yes | 
| Chris@4 | 11057 else | 
| Chris@4 | 11058   ac_cv_lib_dl_dlopen=no | 
| Chris@4 | 11059 fi | 
| Chris@4 | 11060 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 11061     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 11062 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 11063 fi | 
| Chris@4 | 11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 
| Chris@4 | 11065 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 
| Chris@4 | 11066 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 
| Chris@4 | 11067   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
| Chris@4 | 11068 else | 
| Chris@4 | 11069 | 
| Chris@4 | 11070     lt_cv_dlopen="dyld" | 
| Chris@4 | 11071     lt_cv_dlopen_libs= | 
| Chris@4 | 11072     lt_cv_dlopen_self=yes | 
| Chris@4 | 11073 | 
| Chris@4 | 11074 fi | 
| Chris@4 | 11075 | 
| Chris@4 | 11076     ;; | 
| Chris@4 | 11077 | 
| Chris@4 | 11078   *) | 
| Chris@4 | 11079     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" | 
| Chris@4 | 11080 if test "x$ac_cv_func_shl_load" = xyes; then : | 
| Chris@4 | 11081   lt_cv_dlopen="shl_load" | 
| Chris@4 | 11082 else | 
| Chris@4 | 11083   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 | 
| Chris@4 | 11084 $as_echo_n "checking for shl_load in -ldld... " >&6; } | 
| Chris@4 | 11085 if ${ac_cv_lib_dld_shl_load+:} false; then : | 
| Chris@4 | 11086   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11087 else | 
| Chris@4 | 11088   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 11089 LIBS="-ldld  $LIBS" | 
| Chris@4 | 11090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11091 /* end confdefs.h.  */ | 
| Chris@4 | 11092 | 
| Chris@4 | 11093 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 11094    Use char because int might match the return type of a GCC | 
| Chris@4 | 11095    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 11096 #ifdef __cplusplus | 
| Chris@4 | 11097 extern "C" | 
| Chris@4 | 11098 #endif | 
| Chris@4 | 11099 char shl_load (); | 
| Chris@4 | 11100 int | 
| Chris@4 | 11101 main () | 
| Chris@4 | 11102 { | 
| Chris@4 | 11103 return shl_load (); | 
| Chris@4 | 11104   ; | 
| Chris@4 | 11105   return 0; | 
| Chris@4 | 11106 } | 
| Chris@4 | 11107 _ACEOF | 
| Chris@4 | 11108 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 11109   ac_cv_lib_dld_shl_load=yes | 
| Chris@4 | 11110 else | 
| Chris@4 | 11111   ac_cv_lib_dld_shl_load=no | 
| Chris@4 | 11112 fi | 
| Chris@4 | 11113 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 11114     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 11115 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 11116 fi | 
| Chris@4 | 11117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 | 
| Chris@4 | 11118 $as_echo "$ac_cv_lib_dld_shl_load" >&6; } | 
| Chris@4 | 11119 if test "x$ac_cv_lib_dld_shl_load" = xyes; then : | 
| Chris@4 | 11120   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" | 
| Chris@4 | 11121 else | 
| Chris@4 | 11122   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" | 
| Chris@4 | 11123 if test "x$ac_cv_func_dlopen" = xyes; then : | 
| Chris@4 | 11124   lt_cv_dlopen="dlopen" | 
| Chris@4 | 11125 else | 
| Chris@4 | 11126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 | 
| Chris@4 | 11127 $as_echo_n "checking for dlopen in -ldl... " >&6; } | 
| Chris@4 | 11128 if ${ac_cv_lib_dl_dlopen+:} false; then : | 
| Chris@4 | 11129   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11130 else | 
| Chris@4 | 11131   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 11132 LIBS="-ldl  $LIBS" | 
| Chris@4 | 11133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11134 /* end confdefs.h.  */ | 
| Chris@4 | 11135 | 
| Chris@4 | 11136 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 11137    Use char because int might match the return type of a GCC | 
| Chris@4 | 11138    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 11139 #ifdef __cplusplus | 
| Chris@4 | 11140 extern "C" | 
| Chris@4 | 11141 #endif | 
| Chris@4 | 11142 char dlopen (); | 
| Chris@4 | 11143 int | 
| Chris@4 | 11144 main () | 
| Chris@4 | 11145 { | 
| Chris@4 | 11146 return dlopen (); | 
| Chris@4 | 11147   ; | 
| Chris@4 | 11148   return 0; | 
| Chris@4 | 11149 } | 
| Chris@4 | 11150 _ACEOF | 
| Chris@4 | 11151 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 11152   ac_cv_lib_dl_dlopen=yes | 
| Chris@4 | 11153 else | 
| Chris@4 | 11154   ac_cv_lib_dl_dlopen=no | 
| Chris@4 | 11155 fi | 
| Chris@4 | 11156 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 11157     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 11158 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 11159 fi | 
| Chris@4 | 11160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 | 
| Chris@4 | 11161 $as_echo "$ac_cv_lib_dl_dlopen" >&6; } | 
| Chris@4 | 11162 if test "x$ac_cv_lib_dl_dlopen" = xyes; then : | 
| Chris@4 | 11163   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" | 
| Chris@4 | 11164 else | 
| Chris@4 | 11165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 | 
| Chris@4 | 11166 $as_echo_n "checking for dlopen in -lsvld... " >&6; } | 
| Chris@4 | 11167 if ${ac_cv_lib_svld_dlopen+:} false; then : | 
| Chris@4 | 11168   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11169 else | 
| Chris@4 | 11170   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 11171 LIBS="-lsvld  $LIBS" | 
| Chris@4 | 11172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11173 /* end confdefs.h.  */ | 
| Chris@4 | 11174 | 
| Chris@4 | 11175 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 11176    Use char because int might match the return type of a GCC | 
| Chris@4 | 11177    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 11178 #ifdef __cplusplus | 
| Chris@4 | 11179 extern "C" | 
| Chris@4 | 11180 #endif | 
| Chris@4 | 11181 char dlopen (); | 
| Chris@4 | 11182 int | 
| Chris@4 | 11183 main () | 
| Chris@4 | 11184 { | 
| Chris@4 | 11185 return dlopen (); | 
| Chris@4 | 11186   ; | 
| Chris@4 | 11187   return 0; | 
| Chris@4 | 11188 } | 
| Chris@4 | 11189 _ACEOF | 
| Chris@4 | 11190 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 11191   ac_cv_lib_svld_dlopen=yes | 
| Chris@4 | 11192 else | 
| Chris@4 | 11193   ac_cv_lib_svld_dlopen=no | 
| Chris@4 | 11194 fi | 
| Chris@4 | 11195 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 11196     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 11197 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 11198 fi | 
| Chris@4 | 11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 | 
| Chris@4 | 11200 $as_echo "$ac_cv_lib_svld_dlopen" >&6; } | 
| Chris@4 | 11201 if test "x$ac_cv_lib_svld_dlopen" = xyes; then : | 
| Chris@4 | 11202   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" | 
| Chris@4 | 11203 else | 
| Chris@4 | 11204   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 | 
| Chris@4 | 11205 $as_echo_n "checking for dld_link in -ldld... " >&6; } | 
| Chris@4 | 11206 if ${ac_cv_lib_dld_dld_link+:} false; then : | 
| Chris@4 | 11207   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11208 else | 
| Chris@4 | 11209   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 11210 LIBS="-ldld  $LIBS" | 
| Chris@4 | 11211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11212 /* end confdefs.h.  */ | 
| Chris@4 | 11213 | 
| Chris@4 | 11214 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 11215    Use char because int might match the return type of a GCC | 
| Chris@4 | 11216    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 11217 #ifdef __cplusplus | 
| Chris@4 | 11218 extern "C" | 
| Chris@4 | 11219 #endif | 
| Chris@4 | 11220 char dld_link (); | 
| Chris@4 | 11221 int | 
| Chris@4 | 11222 main () | 
| Chris@4 | 11223 { | 
| Chris@4 | 11224 return dld_link (); | 
| Chris@4 | 11225   ; | 
| Chris@4 | 11226   return 0; | 
| Chris@4 | 11227 } | 
| Chris@4 | 11228 _ACEOF | 
| Chris@4 | 11229 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 11230   ac_cv_lib_dld_dld_link=yes | 
| Chris@4 | 11231 else | 
| Chris@4 | 11232   ac_cv_lib_dld_dld_link=no | 
| Chris@4 | 11233 fi | 
| Chris@4 | 11234 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 11235     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 11236 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 11237 fi | 
| Chris@4 | 11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 | 
| Chris@4 | 11239 $as_echo "$ac_cv_lib_dld_dld_link" >&6; } | 
| Chris@4 | 11240 if test "x$ac_cv_lib_dld_dld_link" = xyes; then : | 
| Chris@4 | 11241   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" | 
| Chris@4 | 11242 fi | 
| Chris@4 | 11243 | 
| Chris@4 | 11244 | 
| Chris@4 | 11245 fi | 
| Chris@4 | 11246 | 
| Chris@4 | 11247 | 
| Chris@4 | 11248 fi | 
| Chris@4 | 11249 | 
| Chris@4 | 11250 | 
| Chris@4 | 11251 fi | 
| Chris@4 | 11252 | 
| Chris@4 | 11253 | 
| Chris@4 | 11254 fi | 
| Chris@4 | 11255 | 
| Chris@4 | 11256 | 
| Chris@4 | 11257 fi | 
| Chris@4 | 11258 | 
| Chris@4 | 11259     ;; | 
| Chris@4 | 11260   esac | 
| Chris@4 | 11261 | 
| Chris@4 | 11262   if test "x$lt_cv_dlopen" != xno; then | 
| Chris@4 | 11263     enable_dlopen=yes | 
| Chris@4 | 11264   else | 
| Chris@4 | 11265     enable_dlopen=no | 
| Chris@4 | 11266   fi | 
| Chris@4 | 11267 | 
| Chris@4 | 11268   case $lt_cv_dlopen in | 
| Chris@4 | 11269   dlopen) | 
| Chris@4 | 11270     save_CPPFLAGS="$CPPFLAGS" | 
| Chris@4 | 11271     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H" | 
| Chris@4 | 11272 | 
| Chris@4 | 11273     save_LDFLAGS="$LDFLAGS" | 
| Chris@4 | 11274     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\" | 
| Chris@4 | 11275 | 
| Chris@4 | 11276     save_LIBS="$LIBS" | 
| Chris@4 | 11277     LIBS="$lt_cv_dlopen_libs $LIBS" | 
| Chris@4 | 11278 | 
| Chris@4 | 11279     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 | 
| Chris@4 | 11280 $as_echo_n "checking whether a program can dlopen itself... " >&6; } | 
| Chris@4 | 11281 if ${lt_cv_dlopen_self+:} false; then : | 
| Chris@4 | 11282   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11283 else | 
| Chris@4 | 11284   	  if test "$cross_compiling" = yes; then : | 
| Chris@4 | 11285   lt_cv_dlopen_self=cross | 
| Chris@4 | 11286 else | 
| Chris@4 | 11287   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| Chris@4 | 11288   lt_status=$lt_dlunknown | 
| Chris@4 | 11289   cat > conftest.$ac_ext <<_LT_EOF | 
| Chris@4 | 11290 #line $LINENO "configure" | 
| Chris@4 | 11291 #include "confdefs.h" | 
| Chris@4 | 11292 | 
| Chris@4 | 11293 #if HAVE_DLFCN_H | 
| Chris@4 | 11294 #include <dlfcn.h> | 
| Chris@4 | 11295 #endif | 
| Chris@4 | 11296 | 
| Chris@4 | 11297 #include <stdio.h> | 
| Chris@4 | 11298 | 
| Chris@4 | 11299 #ifdef RTLD_GLOBAL | 
| Chris@4 | 11300 #  define LT_DLGLOBAL		RTLD_GLOBAL | 
| Chris@4 | 11301 #else | 
| Chris@4 | 11302 #  ifdef DL_GLOBAL | 
| Chris@4 | 11303 #    define LT_DLGLOBAL		DL_GLOBAL | 
| Chris@4 | 11304 #  else | 
| Chris@4 | 11305 #    define LT_DLGLOBAL		0 | 
| Chris@4 | 11306 #  endif | 
| Chris@4 | 11307 #endif | 
| Chris@4 | 11308 | 
| Chris@4 | 11309 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
| Chris@4 | 11310    find out it does not work in some platform. */ | 
| Chris@4 | 11311 #ifndef LT_DLLAZY_OR_NOW | 
| Chris@4 | 11312 #  ifdef RTLD_LAZY | 
| Chris@4 | 11313 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
| Chris@4 | 11314 #  else | 
| Chris@4 | 11315 #    ifdef DL_LAZY | 
| Chris@4 | 11316 #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
| Chris@4 | 11317 #    else | 
| Chris@4 | 11318 #      ifdef RTLD_NOW | 
| Chris@4 | 11319 #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
| Chris@4 | 11320 #      else | 
| Chris@4 | 11321 #        ifdef DL_NOW | 
| Chris@4 | 11322 #          define LT_DLLAZY_OR_NOW	DL_NOW | 
| Chris@4 | 11323 #        else | 
| Chris@4 | 11324 #          define LT_DLLAZY_OR_NOW	0 | 
| Chris@4 | 11325 #        endif | 
| Chris@4 | 11326 #      endif | 
| Chris@4 | 11327 #    endif | 
| Chris@4 | 11328 #  endif | 
| Chris@4 | 11329 #endif | 
| Chris@4 | 11330 | 
| Chris@4 | 11331 /* When -fvisbility=hidden is used, assume the code has been annotated | 
| Chris@4 | 11332    correspondingly for the symbols needed.  */ | 
| Chris@4 | 11333 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | 
| Chris@4 | 11334 int fnord () __attribute__((visibility("default"))); | 
| Chris@4 | 11335 #endif | 
| Chris@4 | 11336 | 
| Chris@4 | 11337 int fnord () { return 42; } | 
| Chris@4 | 11338 int main () | 
| Chris@4 | 11339 { | 
| Chris@4 | 11340   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
| Chris@4 | 11341   int status = $lt_dlunknown; | 
| Chris@4 | 11342 | 
| Chris@4 | 11343   if (self) | 
| Chris@4 | 11344     { | 
| Chris@4 | 11345       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
| Chris@4 | 11346       else | 
| Chris@4 | 11347         { | 
| Chris@4 | 11348 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore; | 
| Chris@4 | 11349           else puts (dlerror ()); | 
| Chris@4 | 11350 	} | 
| Chris@4 | 11351       /* dlclose (self); */ | 
| Chris@4 | 11352     } | 
| Chris@4 | 11353   else | 
| Chris@4 | 11354     puts (dlerror ()); | 
| Chris@4 | 11355 | 
| Chris@4 | 11356   return status; | 
| Chris@4 | 11357 } | 
| Chris@4 | 11358 _LT_EOF | 
| Chris@4 | 11359   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 
| Chris@4 | 11360   (eval $ac_link) 2>&5 | 
| Chris@4 | 11361   ac_status=$? | 
| Chris@4 | 11362   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 11363   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | 
| Chris@4 | 11364     (./conftest; exit; ) >&5 2>/dev/null | 
| Chris@4 | 11365     lt_status=$? | 
| Chris@4 | 11366     case x$lt_status in | 
| Chris@4 | 11367       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;; | 
| Chris@4 | 11368       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;; | 
| Chris@4 | 11369       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;; | 
| Chris@4 | 11370     esac | 
| Chris@4 | 11371   else : | 
| Chris@4 | 11372     # compilation failed | 
| Chris@4 | 11373     lt_cv_dlopen_self=no | 
| Chris@4 | 11374   fi | 
| Chris@4 | 11375 fi | 
| Chris@4 | 11376 rm -fr conftest* | 
| Chris@4 | 11377 | 
| Chris@4 | 11378 | 
| Chris@4 | 11379 fi | 
| Chris@4 | 11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 | 
| Chris@4 | 11381 $as_echo "$lt_cv_dlopen_self" >&6; } | 
| Chris@4 | 11382 | 
| Chris@4 | 11383     if test "x$lt_cv_dlopen_self" = xyes; then | 
| Chris@4 | 11384       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" | 
| Chris@4 | 11385       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 | 
| Chris@4 | 11386 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } | 
| Chris@4 | 11387 if ${lt_cv_dlopen_self_static+:} false; then : | 
| Chris@4 | 11388   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11389 else | 
| Chris@4 | 11390   	  if test "$cross_compiling" = yes; then : | 
| Chris@4 | 11391   lt_cv_dlopen_self_static=cross | 
| Chris@4 | 11392 else | 
| Chris@4 | 11393   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 | 
| Chris@4 | 11394   lt_status=$lt_dlunknown | 
| Chris@4 | 11395   cat > conftest.$ac_ext <<_LT_EOF | 
| Chris@4 | 11396 #line $LINENO "configure" | 
| Chris@4 | 11397 #include "confdefs.h" | 
| Chris@4 | 11398 | 
| Chris@4 | 11399 #if HAVE_DLFCN_H | 
| Chris@4 | 11400 #include <dlfcn.h> | 
| Chris@4 | 11401 #endif | 
| Chris@4 | 11402 | 
| Chris@4 | 11403 #include <stdio.h> | 
| Chris@4 | 11404 | 
| Chris@4 | 11405 #ifdef RTLD_GLOBAL | 
| Chris@4 | 11406 #  define LT_DLGLOBAL		RTLD_GLOBAL | 
| Chris@4 | 11407 #else | 
| Chris@4 | 11408 #  ifdef DL_GLOBAL | 
| Chris@4 | 11409 #    define LT_DLGLOBAL		DL_GLOBAL | 
| Chris@4 | 11410 #  else | 
| Chris@4 | 11411 #    define LT_DLGLOBAL		0 | 
| Chris@4 | 11412 #  endif | 
| Chris@4 | 11413 #endif | 
| Chris@4 | 11414 | 
| Chris@4 | 11415 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we | 
| Chris@4 | 11416    find out it does not work in some platform. */ | 
| Chris@4 | 11417 #ifndef LT_DLLAZY_OR_NOW | 
| Chris@4 | 11418 #  ifdef RTLD_LAZY | 
| Chris@4 | 11419 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY | 
| Chris@4 | 11420 #  else | 
| Chris@4 | 11421 #    ifdef DL_LAZY | 
| Chris@4 | 11422 #      define LT_DLLAZY_OR_NOW		DL_LAZY | 
| Chris@4 | 11423 #    else | 
| Chris@4 | 11424 #      ifdef RTLD_NOW | 
| Chris@4 | 11425 #        define LT_DLLAZY_OR_NOW	RTLD_NOW | 
| Chris@4 | 11426 #      else | 
| Chris@4 | 11427 #        ifdef DL_NOW | 
| Chris@4 | 11428 #          define LT_DLLAZY_OR_NOW	DL_NOW | 
| Chris@4 | 11429 #        else | 
| Chris@4 | 11430 #          define LT_DLLAZY_OR_NOW	0 | 
| Chris@4 | 11431 #        endif | 
| Chris@4 | 11432 #      endif | 
| Chris@4 | 11433 #    endif | 
| Chris@4 | 11434 #  endif | 
| Chris@4 | 11435 #endif | 
| Chris@4 | 11436 | 
| Chris@4 | 11437 /* When -fvisbility=hidden is used, assume the code has been annotated | 
| Chris@4 | 11438    correspondingly for the symbols needed.  */ | 
| Chris@4 | 11439 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3)) | 
| Chris@4 | 11440 int fnord () __attribute__((visibility("default"))); | 
| Chris@4 | 11441 #endif | 
| Chris@4 | 11442 | 
| Chris@4 | 11443 int fnord () { return 42; } | 
| Chris@4 | 11444 int main () | 
| Chris@4 | 11445 { | 
| Chris@4 | 11446   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW); | 
| Chris@4 | 11447   int status = $lt_dlunknown; | 
| Chris@4 | 11448 | 
| Chris@4 | 11449   if (self) | 
| Chris@4 | 11450     { | 
| Chris@4 | 11451       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore; | 
| Chris@4 | 11452       else | 
| Chris@4 | 11453         { | 
| Chris@4 | 11454 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore; | 
| Chris@4 | 11455           else puts (dlerror ()); | 
| Chris@4 | 11456 	} | 
| Chris@4 | 11457       /* dlclose (self); */ | 
| Chris@4 | 11458     } | 
| Chris@4 | 11459   else | 
| Chris@4 | 11460     puts (dlerror ()); | 
| Chris@4 | 11461 | 
| Chris@4 | 11462   return status; | 
| Chris@4 | 11463 } | 
| Chris@4 | 11464 _LT_EOF | 
| Chris@4 | 11465   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 | 
| Chris@4 | 11466   (eval $ac_link) 2>&5 | 
| Chris@4 | 11467   ac_status=$? | 
| Chris@4 | 11468   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 11469   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then | 
| Chris@4 | 11470     (./conftest; exit; ) >&5 2>/dev/null | 
| Chris@4 | 11471     lt_status=$? | 
| Chris@4 | 11472     case x$lt_status in | 
| Chris@4 | 11473       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;; | 
| Chris@4 | 11474       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;; | 
| Chris@4 | 11475       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;; | 
| Chris@4 | 11476     esac | 
| Chris@4 | 11477   else : | 
| Chris@4 | 11478     # compilation failed | 
| Chris@4 | 11479     lt_cv_dlopen_self_static=no | 
| Chris@4 | 11480   fi | 
| Chris@4 | 11481 fi | 
| Chris@4 | 11482 rm -fr conftest* | 
| Chris@4 | 11483 | 
| Chris@4 | 11484 | 
| Chris@4 | 11485 fi | 
| Chris@4 | 11486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 | 
| Chris@4 | 11487 $as_echo "$lt_cv_dlopen_self_static" >&6; } | 
| Chris@4 | 11488     fi | 
| Chris@4 | 11489 | 
| Chris@4 | 11490     CPPFLAGS="$save_CPPFLAGS" | 
| Chris@4 | 11491     LDFLAGS="$save_LDFLAGS" | 
| Chris@4 | 11492     LIBS="$save_LIBS" | 
| Chris@4 | 11493     ;; | 
| Chris@4 | 11494   esac | 
| Chris@4 | 11495 | 
| Chris@4 | 11496   case $lt_cv_dlopen_self in | 
| Chris@4 | 11497   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;; | 
| Chris@4 | 11498   *) enable_dlopen_self=unknown ;; | 
| Chris@4 | 11499   esac | 
| Chris@4 | 11500 | 
| Chris@4 | 11501   case $lt_cv_dlopen_self_static in | 
| Chris@4 | 11502   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;; | 
| Chris@4 | 11503   *) enable_dlopen_self_static=unknown ;; | 
| Chris@4 | 11504   esac | 
| Chris@4 | 11505 fi | 
| Chris@4 | 11506 | 
| Chris@4 | 11507 | 
| Chris@4 | 11508 | 
| Chris@4 | 11509 | 
| Chris@4 | 11510 | 
| Chris@4 | 11511 | 
| Chris@4 | 11512 | 
| Chris@4 | 11513 | 
| Chris@4 | 11514 | 
| Chris@4 | 11515 | 
| Chris@4 | 11516 | 
| Chris@4 | 11517 | 
| Chris@4 | 11518 | 
| Chris@4 | 11519 | 
| Chris@4 | 11520 | 
| Chris@4 | 11521 | 
| Chris@4 | 11522 | 
| Chris@4 | 11523 striplib= | 
| Chris@4 | 11524 old_striplib= | 
| Chris@4 | 11525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 | 
| Chris@4 | 11526 $as_echo_n "checking whether stripping libraries is possible... " >&6; } | 
| Chris@4 | 11527 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then | 
| Chris@4 | 11528   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" | 
| Chris@4 | 11529   test -z "$striplib" && striplib="$STRIP --strip-unneeded" | 
| Chris@4 | 11530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
| Chris@4 | 11531 $as_echo "yes" >&6; } | 
| Chris@4 | 11532 else | 
| Chris@4 | 11533 # FIXME - insert some real tests, host_os isn't really good enough | 
| Chris@4 | 11534   case $host_os in | 
| Chris@4 | 11535   darwin*) | 
| Chris@4 | 11536     if test -n "$STRIP" ; then | 
| Chris@4 | 11537       striplib="$STRIP -x" | 
| Chris@4 | 11538       old_striplib="$STRIP -S" | 
| Chris@4 | 11539       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
| Chris@4 | 11540 $as_echo "yes" >&6; } | 
| Chris@4 | 11541     else | 
| Chris@4 | 11542       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 11543 $as_echo "no" >&6; } | 
| Chris@4 | 11544     fi | 
| Chris@4 | 11545     ;; | 
| Chris@4 | 11546   *) | 
| Chris@4 | 11547     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 11548 $as_echo "no" >&6; } | 
| Chris@4 | 11549     ;; | 
| Chris@4 | 11550   esac | 
| Chris@4 | 11551 fi | 
| Chris@4 | 11552 | 
| Chris@4 | 11553 | 
| Chris@4 | 11554 | 
| Chris@4 | 11555 | 
| Chris@4 | 11556 | 
| Chris@4 | 11557 | 
| Chris@4 | 11558 | 
| Chris@4 | 11559 | 
| Chris@4 | 11560 | 
| Chris@4 | 11561 | 
| Chris@4 | 11562 | 
| Chris@4 | 11563 | 
| Chris@4 | 11564   # Report which library types will actually be built | 
| Chris@4 | 11565   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 | 
| Chris@4 | 11566 $as_echo_n "checking if libtool supports shared libraries... " >&6; } | 
| Chris@4 | 11567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 | 
| Chris@4 | 11568 $as_echo "$can_build_shared" >&6; } | 
| Chris@4 | 11569 | 
| Chris@4 | 11570   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 | 
| Chris@4 | 11571 $as_echo_n "checking whether to build shared libraries... " >&6; } | 
| Chris@4 | 11572   test "$can_build_shared" = "no" && enable_shared=no | 
| Chris@4 | 11573 | 
| Chris@4 | 11574   # On AIX, shared libraries and static libraries use the same namespace, and | 
| Chris@4 | 11575   # are all built from PIC. | 
| Chris@4 | 11576   case $host_os in | 
| Chris@4 | 11577   aix3*) | 
| Chris@4 | 11578     test "$enable_shared" = yes && enable_static=no | 
| Chris@4 | 11579     if test -n "$RANLIB"; then | 
| Chris@4 | 11580       archive_cmds="$archive_cmds~\$RANLIB \$lib" | 
| Chris@4 | 11581       postinstall_cmds='$RANLIB $lib' | 
| Chris@4 | 11582     fi | 
| Chris@4 | 11583     ;; | 
| Chris@4 | 11584 | 
| Chris@4 | 11585   aix[4-9]*) | 
| Chris@4 | 11586     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 
| Chris@4 | 11587       test "$enable_shared" = yes && enable_static=no | 
| Chris@4 | 11588     fi | 
| Chris@4 | 11589     ;; | 
| Chris@4 | 11590   esac | 
| Chris@4 | 11591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 | 
| Chris@4 | 11592 $as_echo "$enable_shared" >&6; } | 
| Chris@4 | 11593 | 
| Chris@4 | 11594   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 | 
| Chris@4 | 11595 $as_echo_n "checking whether to build static libraries... " >&6; } | 
| Chris@4 | 11596   # Make sure either enable_shared or enable_static is yes. | 
| Chris@4 | 11597   test "$enable_shared" = yes || enable_static=yes | 
| Chris@4 | 11598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 | 
| Chris@4 | 11599 $as_echo "$enable_static" >&6; } | 
| Chris@4 | 11600 | 
| Chris@4 | 11601 | 
| Chris@4 | 11602 | 
| Chris@4 | 11603 | 
| Chris@4 | 11604 fi | 
| Chris@4 | 11605 ac_ext=c | 
| Chris@4 | 11606 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 11607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 11608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 11609 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 11610 | 
| Chris@4 | 11611 CC="$lt_save_CC" | 
| Chris@4 | 11612 | 
| Chris@4 | 11613       if test -n "$CXX" && ( test "X$CXX" != "Xno" && | 
| Chris@4 | 11614     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || | 
| Chris@4 | 11615     (test "X$CXX" != "Xg++"))) ; then | 
| Chris@4 | 11616   ac_ext=cpp | 
| Chris@4 | 11617 ac_cpp='$CXXCPP $CPPFLAGS' | 
| Chris@4 | 11618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 11619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 11620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| Chris@4 | 11621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 | 
| Chris@4 | 11622 $as_echo_n "checking how to run the C++ preprocessor... " >&6; } | 
| Chris@4 | 11623 if test -z "$CXXCPP"; then | 
| Chris@4 | 11624   if ${ac_cv_prog_CXXCPP+:} false; then : | 
| Chris@4 | 11625   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11626 else | 
| Chris@4 | 11627       # Double quotes because CXXCPP needs to be expanded | 
| Chris@4 | 11628     for CXXCPP in "$CXX -E" "/lib/cpp" | 
| Chris@4 | 11629     do | 
| Chris@4 | 11630       ac_preproc_ok=false | 
| Chris@4 | 11631 for ac_cxx_preproc_warn_flag in '' yes | 
| Chris@4 | 11632 do | 
| Chris@4 | 11633   # Use a header file that comes with gcc, so configuring glibc | 
| Chris@4 | 11634   # with a fresh cross-compiler works. | 
| Chris@4 | 11635   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| Chris@4 | 11636   # <limits.h> exists even on freestanding compilers. | 
| Chris@4 | 11637   # On the NeXT, cc -E runs the code through the compiler's parser, | 
| Chris@4 | 11638   # not just through cpp. "Syntax error" is here to catch this case. | 
| Chris@4 | 11639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11640 /* end confdefs.h.  */ | 
| Chris@4 | 11641 #ifdef __STDC__ | 
| Chris@4 | 11642 # include <limits.h> | 
| Chris@4 | 11643 #else | 
| Chris@4 | 11644 # include <assert.h> | 
| Chris@4 | 11645 #endif | 
| Chris@4 | 11646 		     Syntax error | 
| Chris@4 | 11647 _ACEOF | 
| Chris@4 | 11648 if ac_fn_cxx_try_cpp "$LINENO"; then : | 
| Chris@4 | 11649 | 
| Chris@4 | 11650 else | 
| Chris@4 | 11651   # Broken: fails on valid input. | 
| Chris@4 | 11652 continue | 
| Chris@4 | 11653 fi | 
| Chris@4 | 11654 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 11655 | 
| Chris@4 | 11656   # OK, works on sane cases.  Now check whether nonexistent headers | 
| Chris@4 | 11657   # can be detected and how. | 
| Chris@4 | 11658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11659 /* end confdefs.h.  */ | 
| Chris@4 | 11660 #include <ac_nonexistent.h> | 
| Chris@4 | 11661 _ACEOF | 
| Chris@4 | 11662 if ac_fn_cxx_try_cpp "$LINENO"; then : | 
| Chris@4 | 11663   # Broken: success on invalid input. | 
| Chris@4 | 11664 continue | 
| Chris@4 | 11665 else | 
| Chris@4 | 11666   # Passes both tests. | 
| Chris@4 | 11667 ac_preproc_ok=: | 
| Chris@4 | 11668 break | 
| Chris@4 | 11669 fi | 
| Chris@4 | 11670 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 11671 | 
| Chris@4 | 11672 done | 
| Chris@4 | 11673 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| Chris@4 | 11674 rm -f conftest.i conftest.err conftest.$ac_ext | 
| Chris@4 | 11675 if $ac_preproc_ok; then : | 
| Chris@4 | 11676   break | 
| Chris@4 | 11677 fi | 
| Chris@4 | 11678 | 
| Chris@4 | 11679     done | 
| Chris@4 | 11680     ac_cv_prog_CXXCPP=$CXXCPP | 
| Chris@4 | 11681 | 
| Chris@4 | 11682 fi | 
| Chris@4 | 11683   CXXCPP=$ac_cv_prog_CXXCPP | 
| Chris@4 | 11684 else | 
| Chris@4 | 11685   ac_cv_prog_CXXCPP=$CXXCPP | 
| Chris@4 | 11686 fi | 
| Chris@4 | 11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 | 
| Chris@4 | 11688 $as_echo "$CXXCPP" >&6; } | 
| Chris@4 | 11689 ac_preproc_ok=false | 
| Chris@4 | 11690 for ac_cxx_preproc_warn_flag in '' yes | 
| Chris@4 | 11691 do | 
| Chris@4 | 11692   # Use a header file that comes with gcc, so configuring glibc | 
| Chris@4 | 11693   # with a fresh cross-compiler works. | 
| Chris@4 | 11694   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since | 
| Chris@4 | 11695   # <limits.h> exists even on freestanding compilers. | 
| Chris@4 | 11696   # On the NeXT, cc -E runs the code through the compiler's parser, | 
| Chris@4 | 11697   # not just through cpp. "Syntax error" is here to catch this case. | 
| Chris@4 | 11698   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11699 /* end confdefs.h.  */ | 
| Chris@4 | 11700 #ifdef __STDC__ | 
| Chris@4 | 11701 # include <limits.h> | 
| Chris@4 | 11702 #else | 
| Chris@4 | 11703 # include <assert.h> | 
| Chris@4 | 11704 #endif | 
| Chris@4 | 11705 		     Syntax error | 
| Chris@4 | 11706 _ACEOF | 
| Chris@4 | 11707 if ac_fn_cxx_try_cpp "$LINENO"; then : | 
| Chris@4 | 11708 | 
| Chris@4 | 11709 else | 
| Chris@4 | 11710   # Broken: fails on valid input. | 
| Chris@4 | 11711 continue | 
| Chris@4 | 11712 fi | 
| Chris@4 | 11713 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 11714 | 
| Chris@4 | 11715   # OK, works on sane cases.  Now check whether nonexistent headers | 
| Chris@4 | 11716   # can be detected and how. | 
| Chris@4 | 11717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 11718 /* end confdefs.h.  */ | 
| Chris@4 | 11719 #include <ac_nonexistent.h> | 
| Chris@4 | 11720 _ACEOF | 
| Chris@4 | 11721 if ac_fn_cxx_try_cpp "$LINENO"; then : | 
| Chris@4 | 11722   # Broken: success on invalid input. | 
| Chris@4 | 11723 continue | 
| Chris@4 | 11724 else | 
| Chris@4 | 11725   # Passes both tests. | 
| Chris@4 | 11726 ac_preproc_ok=: | 
| Chris@4 | 11727 break | 
| Chris@4 | 11728 fi | 
| Chris@4 | 11729 rm -f conftest.err conftest.i conftest.$ac_ext | 
| Chris@4 | 11730 | 
| Chris@4 | 11731 done | 
| Chris@4 | 11732 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | 
| Chris@4 | 11733 rm -f conftest.i conftest.err conftest.$ac_ext | 
| Chris@4 | 11734 if $ac_preproc_ok; then : | 
| Chris@4 | 11735 | 
| Chris@4 | 11736 else | 
| Chris@4 | 11737   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 11738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 11739 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check | 
| Chris@4 | 11740 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 11741 fi | 
| Chris@4 | 11742 | 
| Chris@4 | 11743 ac_ext=c | 
| Chris@4 | 11744 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 11745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 11746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 11747 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 11748 | 
| Chris@4 | 11749 else | 
| Chris@4 | 11750   _lt_caught_CXX_error=yes | 
| Chris@4 | 11751 fi | 
| Chris@4 | 11752 | 
| Chris@4 | 11753 ac_ext=cpp | 
| Chris@4 | 11754 ac_cpp='$CXXCPP $CPPFLAGS' | 
| Chris@4 | 11755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 11756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 11757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu | 
| Chris@4 | 11758 | 
| Chris@4 | 11759 archive_cmds_need_lc_CXX=no | 
| Chris@4 | 11760 allow_undefined_flag_CXX= | 
| Chris@4 | 11761 always_export_symbols_CXX=no | 
| Chris@4 | 11762 archive_expsym_cmds_CXX= | 
| Chris@4 | 11763 compiler_needs_object_CXX=no | 
| Chris@4 | 11764 export_dynamic_flag_spec_CXX= | 
| Chris@4 | 11765 hardcode_direct_CXX=no | 
| Chris@4 | 11766 hardcode_direct_absolute_CXX=no | 
| Chris@4 | 11767 hardcode_libdir_flag_spec_CXX= | 
| Chris@4 | 11768 hardcode_libdir_flag_spec_ld_CXX= | 
| Chris@4 | 11769 hardcode_libdir_separator_CXX= | 
| Chris@4 | 11770 hardcode_minus_L_CXX=no | 
| Chris@4 | 11771 hardcode_shlibpath_var_CXX=unsupported | 
| Chris@4 | 11772 hardcode_automatic_CXX=no | 
| Chris@4 | 11773 inherit_rpath_CXX=no | 
| Chris@4 | 11774 module_cmds_CXX= | 
| Chris@4 | 11775 module_expsym_cmds_CXX= | 
| Chris@4 | 11776 link_all_deplibs_CXX=unknown | 
| Chris@4 | 11777 old_archive_cmds_CXX=$old_archive_cmds | 
| Chris@4 | 11778 reload_flag_CXX=$reload_flag | 
| Chris@4 | 11779 reload_cmds_CXX=$reload_cmds | 
| Chris@4 | 11780 no_undefined_flag_CXX= | 
| Chris@4 | 11781 whole_archive_flag_spec_CXX= | 
| Chris@4 | 11782 enable_shared_with_static_runtimes_CXX=no | 
| Chris@4 | 11783 | 
| Chris@4 | 11784 # Source file extension for C++ test sources. | 
| Chris@4 | 11785 ac_ext=cpp | 
| Chris@4 | 11786 | 
| Chris@4 | 11787 # Object file extension for compiled C++ test sources. | 
| Chris@4 | 11788 objext=o | 
| Chris@4 | 11789 objext_CXX=$objext | 
| Chris@4 | 11790 | 
| Chris@4 | 11791 # No sense in running all these tests if we already determined that | 
| Chris@4 | 11792 # the CXX compiler isn't working.  Some variables (like enable_shared) | 
| Chris@4 | 11793 # are currently assumed to apply to all compilers on this platform, | 
| Chris@4 | 11794 # and will be corrupted by setting them based on a non-working compiler. | 
| Chris@4 | 11795 if test "$_lt_caught_CXX_error" != yes; then | 
| Chris@4 | 11796   # Code to be used in simple compile tests | 
| Chris@4 | 11797   lt_simple_compile_test_code="int some_variable = 0;" | 
| Chris@4 | 11798 | 
| Chris@4 | 11799   # Code to be used in simple link tests | 
| Chris@4 | 11800   lt_simple_link_test_code='int main(int, char *[]) { return(0); }' | 
| Chris@4 | 11801 | 
| Chris@4 | 11802   # ltmain only uses $CC for tagged configurations so make sure $CC is set. | 
| Chris@4 | 11803 | 
| Chris@4 | 11804 | 
| Chris@4 | 11805 | 
| Chris@4 | 11806 | 
| Chris@4 | 11807 | 
| Chris@4 | 11808 | 
| Chris@4 | 11809 # If no C compiler was specified, use CC. | 
| Chris@4 | 11810 LTCC=${LTCC-"$CC"} | 
| Chris@4 | 11811 | 
| Chris@4 | 11812 # If no C compiler flags were specified, use CFLAGS. | 
| Chris@4 | 11813 LTCFLAGS=${LTCFLAGS-"$CFLAGS"} | 
| Chris@4 | 11814 | 
| Chris@4 | 11815 # Allow CC to be a program name with arguments. | 
| Chris@4 | 11816 compiler=$CC | 
| Chris@4 | 11817 | 
| Chris@4 | 11818 | 
| Chris@4 | 11819   # save warnings/boilerplate of simple test code | 
| Chris@4 | 11820   ac_outfile=conftest.$ac_objext | 
| Chris@4 | 11821 echo "$lt_simple_compile_test_code" >conftest.$ac_ext | 
| Chris@4 | 11822 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 
| Chris@4 | 11823 _lt_compiler_boilerplate=`cat conftest.err` | 
| Chris@4 | 11824 $RM conftest* | 
| Chris@4 | 11825 | 
| Chris@4 | 11826   ac_outfile=conftest.$ac_objext | 
| Chris@4 | 11827 echo "$lt_simple_link_test_code" >conftest.$ac_ext | 
| Chris@4 | 11828 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 
| Chris@4 | 11829 _lt_linker_boilerplate=`cat conftest.err` | 
| Chris@4 | 11830 $RM -r conftest* | 
| Chris@4 | 11831 | 
| Chris@4 | 11832 | 
| Chris@4 | 11833   # Allow CC to be a program name with arguments. | 
| Chris@4 | 11834   lt_save_CC=$CC | 
| Chris@4 | 11835   lt_save_CFLAGS=$CFLAGS | 
| Chris@4 | 11836   lt_save_LD=$LD | 
| Chris@4 | 11837   lt_save_GCC=$GCC | 
| Chris@4 | 11838   GCC=$GXX | 
| Chris@4 | 11839   lt_save_with_gnu_ld=$with_gnu_ld | 
| Chris@4 | 11840   lt_save_path_LD=$lt_cv_path_LD | 
| Chris@4 | 11841   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then | 
| Chris@4 | 11842     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx | 
| Chris@4 | 11843   else | 
| Chris@4 | 11844     $as_unset lt_cv_prog_gnu_ld | 
| Chris@4 | 11845   fi | 
| Chris@4 | 11846   if test -n "${lt_cv_path_LDCXX+set}"; then | 
| Chris@4 | 11847     lt_cv_path_LD=$lt_cv_path_LDCXX | 
| Chris@4 | 11848   else | 
| Chris@4 | 11849     $as_unset lt_cv_path_LD | 
| Chris@4 | 11850   fi | 
| Chris@4 | 11851   test -z "${LDCXX+set}" || LD=$LDCXX | 
| Chris@4 | 11852   CC=${CXX-"c++"} | 
| Chris@4 | 11853   CFLAGS=$CXXFLAGS | 
| Chris@4 | 11854   compiler=$CC | 
| Chris@4 | 11855   compiler_CXX=$CC | 
| Chris@4 | 11856   for cc_temp in $compiler""; do | 
| Chris@4 | 11857   case $cc_temp in | 
| Chris@4 | 11858     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;; | 
| Chris@4 | 11859     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;; | 
| Chris@4 | 11860     \-*) ;; | 
| Chris@4 | 11861     *) break;; | 
| Chris@4 | 11862   esac | 
| Chris@4 | 11863 done | 
| Chris@4 | 11864 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"` | 
| Chris@4 | 11865 | 
| Chris@4 | 11866 | 
| Chris@4 | 11867   if test -n "$compiler"; then | 
| Chris@4 | 11868     # We don't want -fno-exception when compiling C++ code, so set the | 
| Chris@4 | 11869     # no_builtin_flag separately | 
| Chris@4 | 11870     if test "$GXX" = yes; then | 
| Chris@4 | 11871       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin' | 
| Chris@4 | 11872     else | 
| Chris@4 | 11873       lt_prog_compiler_no_builtin_flag_CXX= | 
| Chris@4 | 11874     fi | 
| Chris@4 | 11875 | 
| Chris@4 | 11876     if test "$GXX" = yes; then | 
| Chris@4 | 11877       # Set up default GNU C++ configuration | 
| Chris@4 | 11878 | 
| Chris@4 | 11879 | 
| Chris@4 | 11880 | 
| Chris@4 | 11881 # Check whether --with-gnu-ld was given. | 
| Chris@4 | 11882 if test "${with_gnu_ld+set}" = set; then : | 
| Chris@4 | 11883   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes | 
| Chris@4 | 11884 else | 
| Chris@4 | 11885   with_gnu_ld=no | 
| Chris@4 | 11886 fi | 
| Chris@4 | 11887 | 
| Chris@4 | 11888 ac_prog=ld | 
| Chris@4 | 11889 if test "$GCC" = yes; then | 
| Chris@4 | 11890   # Check if gcc -print-prog-name=ld gives a path. | 
| Chris@4 | 11891   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 | 
| Chris@4 | 11892 $as_echo_n "checking for ld used by $CC... " >&6; } | 
| Chris@4 | 11893   case $host in | 
| Chris@4 | 11894   *-*-mingw*) | 
| Chris@4 | 11895     # gcc leaves a trailing carriage return which upsets mingw | 
| Chris@4 | 11896     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;; | 
| Chris@4 | 11897   *) | 
| Chris@4 | 11898     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;; | 
| Chris@4 | 11899   esac | 
| Chris@4 | 11900   case $ac_prog in | 
| Chris@4 | 11901     # Accept absolute paths. | 
| Chris@4 | 11902     [\\/]* | ?:[\\/]*) | 
| Chris@4 | 11903       re_direlt='/[^/][^/]*/\.\./' | 
| Chris@4 | 11904       # Canonicalize the pathname of ld | 
| Chris@4 | 11905       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'` | 
| Chris@4 | 11906       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do | 
| Chris@4 | 11907 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"` | 
| Chris@4 | 11908       done | 
| Chris@4 | 11909       test -z "$LD" && LD="$ac_prog" | 
| Chris@4 | 11910       ;; | 
| Chris@4 | 11911   "") | 
| Chris@4 | 11912     # If it fails, then pretend we aren't using GCC. | 
| Chris@4 | 11913     ac_prog=ld | 
| Chris@4 | 11914     ;; | 
| Chris@4 | 11915   *) | 
| Chris@4 | 11916     # If it is relative, then search for the first ld in PATH. | 
| Chris@4 | 11917     with_gnu_ld=unknown | 
| Chris@4 | 11918     ;; | 
| Chris@4 | 11919   esac | 
| Chris@4 | 11920 elif test "$with_gnu_ld" = yes; then | 
| Chris@4 | 11921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 | 
| Chris@4 | 11922 $as_echo_n "checking for GNU ld... " >&6; } | 
| Chris@4 | 11923 else | 
| Chris@4 | 11924   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 | 
| Chris@4 | 11925 $as_echo_n "checking for non-GNU ld... " >&6; } | 
| Chris@4 | 11926 fi | 
| Chris@4 | 11927 if ${lt_cv_path_LD+:} false; then : | 
| Chris@4 | 11928   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11929 else | 
| Chris@4 | 11930   if test -z "$LD"; then | 
| Chris@4 | 11931   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR | 
| Chris@4 | 11932   for ac_dir in $PATH; do | 
| Chris@4 | 11933     IFS="$lt_save_ifs" | 
| Chris@4 | 11934     test -z "$ac_dir" && ac_dir=. | 
| Chris@4 | 11935     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then | 
| Chris@4 | 11936       lt_cv_path_LD="$ac_dir/$ac_prog" | 
| Chris@4 | 11937       # Check to see if the program is GNU ld.  I'd rather use --version, | 
| Chris@4 | 11938       # but apparently some variants of GNU ld only accept -v. | 
| Chris@4 | 11939       # Break only if it was the GNU/non-GNU ld that we prefer. | 
| Chris@4 | 11940       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in | 
| Chris@4 | 11941       *GNU* | *'with BFD'*) | 
| Chris@4 | 11942 	test "$with_gnu_ld" != no && break | 
| Chris@4 | 11943 	;; | 
| Chris@4 | 11944       *) | 
| Chris@4 | 11945 	test "$with_gnu_ld" != yes && break | 
| Chris@4 | 11946 	;; | 
| Chris@4 | 11947       esac | 
| Chris@4 | 11948     fi | 
| Chris@4 | 11949   done | 
| Chris@4 | 11950   IFS="$lt_save_ifs" | 
| Chris@4 | 11951 else | 
| Chris@4 | 11952   lt_cv_path_LD="$LD" # Let the user override the test with a path. | 
| Chris@4 | 11953 fi | 
| Chris@4 | 11954 fi | 
| Chris@4 | 11955 | 
| Chris@4 | 11956 LD="$lt_cv_path_LD" | 
| Chris@4 | 11957 if test -n "$LD"; then | 
| Chris@4 | 11958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 | 
| Chris@4 | 11959 $as_echo "$LD" >&6; } | 
| Chris@4 | 11960 else | 
| Chris@4 | 11961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 11962 $as_echo "no" >&6; } | 
| Chris@4 | 11963 fi | 
| Chris@4 | 11964 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5 | 
| Chris@4 | 11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 | 
| Chris@4 | 11966 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } | 
| Chris@4 | 11967 if ${lt_cv_prog_gnu_ld+:} false; then : | 
| Chris@4 | 11968   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 11969 else | 
| Chris@4 | 11970   # I'd rather use --version here, but apparently some GNU lds only accept -v. | 
| Chris@4 | 11971 case `$LD -v 2>&1 </dev/null` in | 
| Chris@4 | 11972 *GNU* | *'with BFD'*) | 
| Chris@4 | 11973   lt_cv_prog_gnu_ld=yes | 
| Chris@4 | 11974   ;; | 
| Chris@4 | 11975 *) | 
| Chris@4 | 11976   lt_cv_prog_gnu_ld=no | 
| Chris@4 | 11977   ;; | 
| Chris@4 | 11978 esac | 
| Chris@4 | 11979 fi | 
| Chris@4 | 11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 | 
| Chris@4 | 11981 $as_echo "$lt_cv_prog_gnu_ld" >&6; } | 
| Chris@4 | 11982 with_gnu_ld=$lt_cv_prog_gnu_ld | 
| Chris@4 | 11983 | 
| Chris@4 | 11984 | 
| Chris@4 | 11985 | 
| Chris@4 | 11986 | 
| Chris@4 | 11987 | 
| Chris@4 | 11988 | 
| Chris@4 | 11989 | 
| Chris@4 | 11990       # Check if GNU C++ uses GNU ld as the underlying linker, since the | 
| Chris@4 | 11991       # archiving commands below assume that GNU ld is being used. | 
| Chris@4 | 11992       if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 11993         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 11994         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
| Chris@4 | 11995 | 
| Chris@4 | 11996         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 11997         export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
| Chris@4 | 11998 | 
| Chris@4 | 11999         # If archive_cmds runs LD, not CC, wlarc should be empty | 
| Chris@4 | 12000         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to | 
| Chris@4 | 12001         #     investigate it a little bit more. (MM) | 
| Chris@4 | 12002         wlarc='${wl}' | 
| Chris@4 | 12003 | 
| Chris@4 | 12004         # ancient GNU ld didn't support --whole-archive et. al. | 
| Chris@4 | 12005         if eval "`$CC -print-prog-name=ld` --help 2>&1" | | 
| Chris@4 | 12006 	  $GREP 'no-whole-archive' > /dev/null; then | 
| Chris@4 | 12007           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
| Chris@4 | 12008         else | 
| Chris@4 | 12009           whole_archive_flag_spec_CXX= | 
| Chris@4 | 12010         fi | 
| Chris@4 | 12011       else | 
| Chris@4 | 12012         with_gnu_ld=no | 
| Chris@4 | 12013         wlarc= | 
| Chris@4 | 12014 | 
| Chris@4 | 12015         # A generic and very simple default shared library creation | 
| Chris@4 | 12016         # command for GNU C++ for the case where it uses the native | 
| Chris@4 | 12017         # linker, instead of GNU ld.  If possible, this setting should | 
| Chris@4 | 12018         # overridden to take advantage of the native linker features on | 
| Chris@4 | 12019         # the platform it is being used on. | 
| Chris@4 | 12020         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | 
| Chris@4 | 12021       fi | 
| Chris@4 | 12022 | 
| Chris@4 | 12023       # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12024       # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12025       # linking a shared library. | 
| Chris@4 | 12026       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | 
| Chris@4 | 12027 | 
| Chris@4 | 12028     else | 
| Chris@4 | 12029       GXX=no | 
| Chris@4 | 12030       with_gnu_ld=no | 
| Chris@4 | 12031       wlarc= | 
| Chris@4 | 12032     fi | 
| Chris@4 | 12033 | 
| Chris@4 | 12034     # PORTME: fill in a description of your system's C++ link characteristics | 
| Chris@4 | 12035     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
| Chris@4 | 12036 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } | 
| Chris@4 | 12037     ld_shlibs_CXX=yes | 
| Chris@4 | 12038     case $host_os in | 
| Chris@4 | 12039       aix3*) | 
| Chris@4 | 12040         # FIXME: insert proper C++ library support | 
| Chris@4 | 12041         ld_shlibs_CXX=no | 
| Chris@4 | 12042         ;; | 
| Chris@4 | 12043       aix[4-9]*) | 
| Chris@4 | 12044         if test "$host_cpu" = ia64; then | 
| Chris@4 | 12045           # On IA64, the linker does run time linking by default, so we don't | 
| Chris@4 | 12046           # have to do anything special. | 
| Chris@4 | 12047           aix_use_runtimelinking=no | 
| Chris@4 | 12048           exp_sym_flag='-Bexport' | 
| Chris@4 | 12049           no_entry_flag="" | 
| Chris@4 | 12050         else | 
| Chris@4 | 12051           aix_use_runtimelinking=no | 
| Chris@4 | 12052 | 
| Chris@4 | 12053           # Test if we are trying to use run time linking or normal | 
| Chris@4 | 12054           # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 
| Chris@4 | 12055           # need to do runtime linking. | 
| Chris@4 | 12056           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*) | 
| Chris@4 | 12057 	    for ld_flag in $LDFLAGS; do | 
| Chris@4 | 12058 	      case $ld_flag in | 
| Chris@4 | 12059 	      *-brtl*) | 
| Chris@4 | 12060 	        aix_use_runtimelinking=yes | 
| Chris@4 | 12061 	        break | 
| Chris@4 | 12062 	        ;; | 
| Chris@4 | 12063 	      esac | 
| Chris@4 | 12064 	    done | 
| Chris@4 | 12065 	    ;; | 
| Chris@4 | 12066           esac | 
| Chris@4 | 12067 | 
| Chris@4 | 12068           exp_sym_flag='-bexport' | 
| Chris@4 | 12069           no_entry_flag='-bnoentry' | 
| Chris@4 | 12070         fi | 
| Chris@4 | 12071 | 
| Chris@4 | 12072         # When large executables or shared objects are built, AIX ld can | 
| Chris@4 | 12073         # have problems creating the table of contents.  If linking a library | 
| Chris@4 | 12074         # or program results in "error TOC overflow" add -mminimal-toc to | 
| Chris@4 | 12075         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not | 
| Chris@4 | 12076         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS. | 
| Chris@4 | 12077 | 
| Chris@4 | 12078         archive_cmds_CXX='' | 
| Chris@4 | 12079         hardcode_direct_CXX=yes | 
| Chris@4 | 12080         hardcode_direct_absolute_CXX=yes | 
| Chris@4 | 12081         hardcode_libdir_separator_CXX=':' | 
| Chris@4 | 12082         link_all_deplibs_CXX=yes | 
| Chris@4 | 12083         file_list_spec_CXX='${wl}-f,' | 
| Chris@4 | 12084 | 
| Chris@4 | 12085         if test "$GXX" = yes; then | 
| Chris@4 | 12086           case $host_os in aix4.[012]|aix4.[012].*) | 
| Chris@4 | 12087           # We only want to do this on AIX 4.2 and lower, the check | 
| Chris@4 | 12088           # below for broken collect2 doesn't work under 4.3+ | 
| Chris@4 | 12089 	  collect2name=`${CC} -print-prog-name=collect2` | 
| Chris@4 | 12090 	  if test -f "$collect2name" && | 
| Chris@4 | 12091 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null | 
| Chris@4 | 12092 	  then | 
| Chris@4 | 12093 	    # We have reworked collect2 | 
| Chris@4 | 12094 	    : | 
| Chris@4 | 12095 	  else | 
| Chris@4 | 12096 	    # We have old collect2 | 
| Chris@4 | 12097 	    hardcode_direct_CXX=unsupported | 
| Chris@4 | 12098 	    # It fails to find uninstalled libraries when the uninstalled | 
| Chris@4 | 12099 	    # path is not listed in the libpath.  Setting hardcode_minus_L | 
| Chris@4 | 12100 	    # to unsupported forces relinking | 
| Chris@4 | 12101 	    hardcode_minus_L_CXX=yes | 
| Chris@4 | 12102 	    hardcode_libdir_flag_spec_CXX='-L$libdir' | 
| Chris@4 | 12103 	    hardcode_libdir_separator_CXX= | 
| Chris@4 | 12104 	  fi | 
| Chris@4 | 12105           esac | 
| Chris@4 | 12106           shared_flag='-shared' | 
| Chris@4 | 12107 	  if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 12108 	    shared_flag="$shared_flag "'${wl}-G' | 
| Chris@4 | 12109 	  fi | 
| Chris@4 | 12110         else | 
| Chris@4 | 12111           # not using gcc | 
| Chris@4 | 12112           if test "$host_cpu" = ia64; then | 
| Chris@4 | 12113 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release | 
| Chris@4 | 12114 	  # chokes on -Wl,-G. The following line is correct: | 
| Chris@4 | 12115 	  shared_flag='-G' | 
| Chris@4 | 12116           else | 
| Chris@4 | 12117 	    if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 12118 	      shared_flag='${wl}-G' | 
| Chris@4 | 12119 	    else | 
| Chris@4 | 12120 	      shared_flag='${wl}-bM:SRE' | 
| Chris@4 | 12121 	    fi | 
| Chris@4 | 12122           fi | 
| Chris@4 | 12123         fi | 
| Chris@4 | 12124 | 
| Chris@4 | 12125         export_dynamic_flag_spec_CXX='${wl}-bexpall' | 
| Chris@4 | 12126         # It seems that -bexpall does not export symbols beginning with | 
| Chris@4 | 12127         # underscore (_), so it is better to generate a list of symbols to | 
| Chris@4 | 12128 	# export. | 
| Chris@4 | 12129         always_export_symbols_CXX=yes | 
| Chris@4 | 12130         if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 12131           # Warning - without using the other runtime loading flags (-brtl), | 
| Chris@4 | 12132           # -berok will link without error, but may produce a broken library. | 
| Chris@4 | 12133           allow_undefined_flag_CXX='-berok' | 
| Chris@4 | 12134           # Determine the default libpath from the value encoded in an empty | 
| Chris@4 | 12135           # executable. | 
| Chris@4 | 12136           if test "${lt_cv_aix_libpath+set}" = set; then | 
| Chris@4 | 12137   aix_libpath=$lt_cv_aix_libpath | 
| Chris@4 | 12138 else | 
| Chris@4 | 12139   if ${lt_cv_aix_libpath__CXX+:} false; then : | 
| Chris@4 | 12140   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 12141 else | 
| Chris@4 | 12142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 12143 /* end confdefs.h.  */ | 
| Chris@4 | 12144 | 
| Chris@4 | 12145 int | 
| Chris@4 | 12146 main () | 
| Chris@4 | 12147 { | 
| Chris@4 | 12148 | 
| Chris@4 | 12149   ; | 
| Chris@4 | 12150   return 0; | 
| Chris@4 | 12151 } | 
| Chris@4 | 12152 _ACEOF | 
| Chris@4 | 12153 if ac_fn_cxx_try_link "$LINENO"; then : | 
| Chris@4 | 12154 | 
| Chris@4 | 12155   lt_aix_libpath_sed=' | 
| Chris@4 | 12156       /Import File Strings/,/^$/ { | 
| Chris@4 | 12157 	  /^0/ { | 
| Chris@4 | 12158 	      s/^0  *\([^ ]*\) *$/\1/ | 
| Chris@4 | 12159 	      p | 
| Chris@4 | 12160 	  } | 
| Chris@4 | 12161       }' | 
| Chris@4 | 12162   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 12163   # Check for a 64-bit object if we didn't find anything. | 
| Chris@4 | 12164   if test -z "$lt_cv_aix_libpath__CXX"; then | 
| Chris@4 | 12165     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 12166   fi | 
| Chris@4 | 12167 fi | 
| Chris@4 | 12168 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 12169     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 12170   if test -z "$lt_cv_aix_libpath__CXX"; then | 
| Chris@4 | 12171     lt_cv_aix_libpath__CXX="/usr/lib:/lib" | 
| Chris@4 | 12172   fi | 
| Chris@4 | 12173 | 
| Chris@4 | 12174 fi | 
| Chris@4 | 12175 | 
| Chris@4 | 12176   aix_libpath=$lt_cv_aix_libpath__CXX | 
| Chris@4 | 12177 fi | 
| Chris@4 | 12178 | 
| Chris@4 | 12179           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
| Chris@4 | 12180 | 
| Chris@4 | 12181           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag" | 
| Chris@4 | 12182         else | 
| Chris@4 | 12183           if test "$host_cpu" = ia64; then | 
| Chris@4 | 12184 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib' | 
| Chris@4 | 12185 	    allow_undefined_flag_CXX="-z nodefs" | 
| Chris@4 | 12186 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols" | 
| Chris@4 | 12187           else | 
| Chris@4 | 12188 	    # Determine the default libpath from the value encoded in an | 
| Chris@4 | 12189 	    # empty executable. | 
| Chris@4 | 12190 	    if test "${lt_cv_aix_libpath+set}" = set; then | 
| Chris@4 | 12191   aix_libpath=$lt_cv_aix_libpath | 
| Chris@4 | 12192 else | 
| Chris@4 | 12193   if ${lt_cv_aix_libpath__CXX+:} false; then : | 
| Chris@4 | 12194   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 12195 else | 
| Chris@4 | 12196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 12197 /* end confdefs.h.  */ | 
| Chris@4 | 12198 | 
| Chris@4 | 12199 int | 
| Chris@4 | 12200 main () | 
| Chris@4 | 12201 { | 
| Chris@4 | 12202 | 
| Chris@4 | 12203   ; | 
| Chris@4 | 12204   return 0; | 
| Chris@4 | 12205 } | 
| Chris@4 | 12206 _ACEOF | 
| Chris@4 | 12207 if ac_fn_cxx_try_link "$LINENO"; then : | 
| Chris@4 | 12208 | 
| Chris@4 | 12209   lt_aix_libpath_sed=' | 
| Chris@4 | 12210       /Import File Strings/,/^$/ { | 
| Chris@4 | 12211 	  /^0/ { | 
| Chris@4 | 12212 	      s/^0  *\([^ ]*\) *$/\1/ | 
| Chris@4 | 12213 	      p | 
| Chris@4 | 12214 	  } | 
| Chris@4 | 12215       }' | 
| Chris@4 | 12216   lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 12217   # Check for a 64-bit object if we didn't find anything. | 
| Chris@4 | 12218   if test -z "$lt_cv_aix_libpath__CXX"; then | 
| Chris@4 | 12219     lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` | 
| Chris@4 | 12220   fi | 
| Chris@4 | 12221 fi | 
| Chris@4 | 12222 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 12223     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 12224   if test -z "$lt_cv_aix_libpath__CXX"; then | 
| Chris@4 | 12225     lt_cv_aix_libpath__CXX="/usr/lib:/lib" | 
| Chris@4 | 12226   fi | 
| Chris@4 | 12227 | 
| Chris@4 | 12228 fi | 
| Chris@4 | 12229 | 
| Chris@4 | 12230   aix_libpath=$lt_cv_aix_libpath__CXX | 
| Chris@4 | 12231 fi | 
| Chris@4 | 12232 | 
| Chris@4 | 12233 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" | 
| Chris@4 | 12234 	    # Warning - without using the other run time loading flags, | 
| Chris@4 | 12235 	    # -berok will link without error, but may produce a broken library. | 
| Chris@4 | 12236 	    no_undefined_flag_CXX=' ${wl}-bernotok' | 
| Chris@4 | 12237 	    allow_undefined_flag_CXX=' ${wl}-berok' | 
| Chris@4 | 12238 	    if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 12239 	      # We only use this code for GNU lds that support --whole-archive. | 
| Chris@4 | 12240 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 
| Chris@4 | 12241 	    else | 
| Chris@4 | 12242 	      # Exported symbols can be pulled into shared objects from archives | 
| Chris@4 | 12243 	      whole_archive_flag_spec_CXX='$convenience' | 
| Chris@4 | 12244 	    fi | 
| Chris@4 | 12245 	    archive_cmds_need_lc_CXX=yes | 
| Chris@4 | 12246 	    # This is similar to how AIX traditionally builds its shared | 
| Chris@4 | 12247 	    # libraries. | 
| Chris@4 | 12248 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname' | 
| Chris@4 | 12249           fi | 
| Chris@4 | 12250         fi | 
| Chris@4 | 12251         ;; | 
| Chris@4 | 12252 | 
| Chris@4 | 12253       beos*) | 
| Chris@4 | 12254 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then | 
| Chris@4 | 12255 	  allow_undefined_flag_CXX=unsupported | 
| Chris@4 | 12256 	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc | 
| Chris@4 | 12257 	  # support --undefined.  This deserves some investigation.  FIXME | 
| Chris@4 | 12258 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 12259 	else | 
| Chris@4 | 12260 	  ld_shlibs_CXX=no | 
| Chris@4 | 12261 	fi | 
| Chris@4 | 12262 	;; | 
| Chris@4 | 12263 | 
| Chris@4 | 12264       chorus*) | 
| Chris@4 | 12265         case $cc_basename in | 
| Chris@4 | 12266           *) | 
| Chris@4 | 12267 	  # FIXME: insert proper C++ library support | 
| Chris@4 | 12268 	  ld_shlibs_CXX=no | 
| Chris@4 | 12269 	  ;; | 
| Chris@4 | 12270         esac | 
| Chris@4 | 12271         ;; | 
| Chris@4 | 12272 | 
| Chris@4 | 12273       cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 12274 	case $GXX,$cc_basename in | 
| Chris@4 | 12275 	,cl* | no,cl*) | 
| Chris@4 | 12276 	  # Native MSVC | 
| Chris@4 | 12277 	  # hardcode_libdir_flag_spec is actually meaningless, as there is | 
| Chris@4 | 12278 	  # no search path for DLLs. | 
| Chris@4 | 12279 	  hardcode_libdir_flag_spec_CXX=' ' | 
| Chris@4 | 12280 	  allow_undefined_flag_CXX=unsupported | 
| Chris@4 | 12281 	  always_export_symbols_CXX=yes | 
| Chris@4 | 12282 	  file_list_spec_CXX='@' | 
| Chris@4 | 12283 	  # Tell ltmain to make .lib files, not .a files. | 
| Chris@4 | 12284 	  libext=lib | 
| Chris@4 | 12285 	  # Tell ltmain to make .dll files, not .so files. | 
| Chris@4 | 12286 	  shrext_cmds=".dll" | 
| Chris@4 | 12287 	  # FIXME: Setting linknames here is a bad hack. | 
| Chris@4 | 12288 	  archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames=' | 
| Chris@4 | 12289 	  archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
| Chris@4 | 12290 	      $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp; | 
| Chris@4 | 12291 	    else | 
| Chris@4 | 12292 	      $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp; | 
| Chris@4 | 12293 	    fi~ | 
| Chris@4 | 12294 	    $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~ | 
| Chris@4 | 12295 	    linknames=' | 
| Chris@4 | 12296 	  # The linker will not automatically build a static lib if we build a DLL. | 
| Chris@4 | 12297 	  # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true' | 
| Chris@4 | 12298 	  enable_shared_with_static_runtimes_CXX=yes | 
| Chris@4 | 12299 	  # Don't use ranlib | 
| Chris@4 | 12300 	  old_postinstall_cmds_CXX='chmod 644 $oldlib' | 
| Chris@4 | 12301 	  postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~ | 
| Chris@4 | 12302 	    lt_tool_outputfile="@TOOL_OUTPUT@"~ | 
| Chris@4 | 12303 	    case $lt_outputfile in | 
| Chris@4 | 12304 	      *.exe|*.EXE) ;; | 
| Chris@4 | 12305 	      *) | 
| Chris@4 | 12306 		lt_outputfile="$lt_outputfile.exe" | 
| Chris@4 | 12307 		lt_tool_outputfile="$lt_tool_outputfile.exe" | 
| Chris@4 | 12308 		;; | 
| Chris@4 | 12309 	    esac~ | 
| Chris@4 | 12310 	    func_to_tool_file "$lt_outputfile"~ | 
| Chris@4 | 12311 	    if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then | 
| Chris@4 | 12312 	      $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1; | 
| Chris@4 | 12313 	      $RM "$lt_outputfile.manifest"; | 
| Chris@4 | 12314 	    fi' | 
| Chris@4 | 12315 	  ;; | 
| Chris@4 | 12316 	*) | 
| Chris@4 | 12317 	  # g++ | 
| Chris@4 | 12318 	  # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless, | 
| Chris@4 | 12319 	  # as there is no search path for DLLs. | 
| Chris@4 | 12320 	  hardcode_libdir_flag_spec_CXX='-L$libdir' | 
| Chris@4 | 12321 	  export_dynamic_flag_spec_CXX='${wl}--export-all-symbols' | 
| Chris@4 | 12322 	  allow_undefined_flag_CXX=unsupported | 
| Chris@4 | 12323 	  always_export_symbols_CXX=no | 
| Chris@4 | 12324 	  enable_shared_with_static_runtimes_CXX=yes | 
| Chris@4 | 12325 | 
| Chris@4 | 12326 	  if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then | 
| Chris@4 | 12327 	    archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 
| Chris@4 | 12328 	    # If the export-symbols file already is a .def file (1st line | 
| Chris@4 | 12329 	    # is EXPORTS), use it as is; otherwise, prepend... | 
| Chris@4 | 12330 	    archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then | 
| Chris@4 | 12331 	      cp $export_symbols $output_objdir/$soname.def; | 
| Chris@4 | 12332 	    else | 
| Chris@4 | 12333 	      echo EXPORTS > $output_objdir/$soname.def; | 
| Chris@4 | 12334 	      cat $export_symbols >> $output_objdir/$soname.def; | 
| Chris@4 | 12335 	    fi~ | 
| Chris@4 | 12336 	    $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 
| Chris@4 | 12337 	  else | 
| Chris@4 | 12338 	    ld_shlibs_CXX=no | 
| Chris@4 | 12339 	  fi | 
| Chris@4 | 12340 	  ;; | 
| Chris@4 | 12341 	esac | 
| Chris@4 | 12342 	;; | 
| Chris@4 | 12343       darwin* | rhapsody*) | 
| Chris@4 | 12344 | 
| Chris@4 | 12345 | 
| Chris@4 | 12346   archive_cmds_need_lc_CXX=no | 
| Chris@4 | 12347   hardcode_direct_CXX=no | 
| Chris@4 | 12348   hardcode_automatic_CXX=yes | 
| Chris@4 | 12349   hardcode_shlibpath_var_CXX=unsupported | 
| Chris@4 | 12350   if test "$lt_cv_ld_force_load" = "yes"; then | 
| Chris@4 | 12351     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`' | 
| Chris@4 | 12352   else | 
| Chris@4 | 12353     whole_archive_flag_spec_CXX='' | 
| Chris@4 | 12354   fi | 
| Chris@4 | 12355   link_all_deplibs_CXX=yes | 
| Chris@4 | 12356   allow_undefined_flag_CXX="$_lt_dar_allow_undefined" | 
| Chris@4 | 12357   case $cc_basename in | 
| Chris@4 | 12358      ifort*) _lt_dar_can_shared=yes ;; | 
| Chris@4 | 12359      *) _lt_dar_can_shared=$GCC ;; | 
| Chris@4 | 12360   esac | 
| Chris@4 | 12361   if test "$_lt_dar_can_shared" = "yes"; then | 
| Chris@4 | 12362     output_verbose_link_cmd=func_echo_all | 
| Chris@4 | 12363     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}" | 
| Chris@4 | 12364     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" | 
| Chris@4 | 12365     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" | 
| Chris@4 | 12366     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" | 
| Chris@4 | 12367        if test "$lt_cv_apple_cc_single_mod" != "yes"; then | 
| Chris@4 | 12368       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}" | 
| Chris@4 | 12369       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}" | 
| Chris@4 | 12370     fi | 
| Chris@4 | 12371 | 
| Chris@4 | 12372   else | 
| Chris@4 | 12373   ld_shlibs_CXX=no | 
| Chris@4 | 12374   fi | 
| Chris@4 | 12375 | 
| Chris@4 | 12376 	;; | 
| Chris@4 | 12377 | 
| Chris@4 | 12378       dgux*) | 
| Chris@4 | 12379         case $cc_basename in | 
| Chris@4 | 12380           ec++*) | 
| Chris@4 | 12381 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12382 	    ld_shlibs_CXX=no | 
| Chris@4 | 12383 	    ;; | 
| Chris@4 | 12384           ghcx*) | 
| Chris@4 | 12385 	    # Green Hills C++ Compiler | 
| Chris@4 | 12386 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12387 	    ld_shlibs_CXX=no | 
| Chris@4 | 12388 	    ;; | 
| Chris@4 | 12389           *) | 
| Chris@4 | 12390 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12391 	    ld_shlibs_CXX=no | 
| Chris@4 | 12392 	    ;; | 
| Chris@4 | 12393         esac | 
| Chris@4 | 12394         ;; | 
| Chris@4 | 12395 | 
| Chris@4 | 12396       freebsd[12]*) | 
| Chris@4 | 12397         # C++ shared libraries reported to be fairly broken before | 
| Chris@4 | 12398 	# switch to ELF | 
| Chris@4 | 12399         ld_shlibs_CXX=no | 
| Chris@4 | 12400         ;; | 
| Chris@4 | 12401 | 
| Chris@4 | 12402       freebsd-elf*) | 
| Chris@4 | 12403         archive_cmds_need_lc_CXX=no | 
| Chris@4 | 12404         ;; | 
| Chris@4 | 12405 | 
| Chris@4 | 12406       freebsd* | dragonfly*) | 
| Chris@4 | 12407         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF | 
| Chris@4 | 12408         # conventions | 
| Chris@4 | 12409         ld_shlibs_CXX=yes | 
| Chris@4 | 12410         ;; | 
| Chris@4 | 12411 | 
| Chris@4 | 12412       gnu*) | 
| Chris@4 | 12413         ;; | 
| Chris@4 | 12414 | 
| Chris@4 | 12415       haiku*) | 
| Chris@4 | 12416         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 12417         link_all_deplibs_CXX=yes | 
| Chris@4 | 12418         ;; | 
| Chris@4 | 12419 | 
| Chris@4 | 12420       hpux9*) | 
| Chris@4 | 12421         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
| Chris@4 | 12422         hardcode_libdir_separator_CXX=: | 
| Chris@4 | 12423         export_dynamic_flag_spec_CXX='${wl}-E' | 
| Chris@4 | 12424         hardcode_direct_CXX=yes | 
| Chris@4 | 12425         hardcode_minus_L_CXX=yes # Not in the search PATH, | 
| Chris@4 | 12426 				             # but as the default | 
| Chris@4 | 12427 				             # location of the library. | 
| Chris@4 | 12428 | 
| Chris@4 | 12429         case $cc_basename in | 
| Chris@4 | 12430           CC*) | 
| Chris@4 | 12431             # FIXME: insert proper C++ library support | 
| Chris@4 | 12432             ld_shlibs_CXX=no | 
| Chris@4 | 12433             ;; | 
| Chris@4 | 12434           aCC*) | 
| Chris@4 | 12435             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
| Chris@4 | 12436             # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12437             # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12438             # linking a shared library. | 
| Chris@4 | 12439             # | 
| Chris@4 | 12440             # There doesn't appear to be a way to prevent this compiler from | 
| Chris@4 | 12441             # explicitly linking system object files so we need to strip them | 
| Chris@4 | 12442             # from the output so that they don't get included in the library | 
| Chris@4 | 12443             # dependencies. | 
| Chris@4 | 12444             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | 
| Chris@4 | 12445             ;; | 
| Chris@4 | 12446           *) | 
| Chris@4 | 12447             if test "$GXX" = yes; then | 
| Chris@4 | 12448               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib' | 
| Chris@4 | 12449             else | 
| Chris@4 | 12450               # FIXME: insert proper C++ library support | 
| Chris@4 | 12451               ld_shlibs_CXX=no | 
| Chris@4 | 12452             fi | 
| Chris@4 | 12453             ;; | 
| Chris@4 | 12454         esac | 
| Chris@4 | 12455         ;; | 
| Chris@4 | 12456 | 
| Chris@4 | 12457       hpux10*|hpux11*) | 
| Chris@4 | 12458         if test $with_gnu_ld = no; then | 
| Chris@4 | 12459 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir' | 
| Chris@4 | 12460 	  hardcode_libdir_separator_CXX=: | 
| Chris@4 | 12461 | 
| Chris@4 | 12462           case $host_cpu in | 
| Chris@4 | 12463             hppa*64*|ia64*) | 
| Chris@4 | 12464               ;; | 
| Chris@4 | 12465             *) | 
| Chris@4 | 12466 	      export_dynamic_flag_spec_CXX='${wl}-E' | 
| Chris@4 | 12467               ;; | 
| Chris@4 | 12468           esac | 
| Chris@4 | 12469         fi | 
| Chris@4 | 12470         case $host_cpu in | 
| Chris@4 | 12471           hppa*64*|ia64*) | 
| Chris@4 | 12472             hardcode_direct_CXX=no | 
| Chris@4 | 12473             hardcode_shlibpath_var_CXX=no | 
| Chris@4 | 12474             ;; | 
| Chris@4 | 12475           *) | 
| Chris@4 | 12476             hardcode_direct_CXX=yes | 
| Chris@4 | 12477             hardcode_direct_absolute_CXX=yes | 
| Chris@4 | 12478             hardcode_minus_L_CXX=yes # Not in the search PATH, | 
| Chris@4 | 12479 					         # but as the default | 
| Chris@4 | 12480 					         # location of the library. | 
| Chris@4 | 12481             ;; | 
| Chris@4 | 12482         esac | 
| Chris@4 | 12483 | 
| Chris@4 | 12484         case $cc_basename in | 
| Chris@4 | 12485           CC*) | 
| Chris@4 | 12486 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12487 	    ld_shlibs_CXX=no | 
| Chris@4 | 12488 	    ;; | 
| Chris@4 | 12489           aCC*) | 
| Chris@4 | 12490 	    case $host_cpu in | 
| Chris@4 | 12491 	      hppa*64*) | 
| Chris@4 | 12492 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12493 	        ;; | 
| Chris@4 | 12494 	      ia64*) | 
| Chris@4 | 12495 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12496 	        ;; | 
| Chris@4 | 12497 	      *) | 
| Chris@4 | 12498 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12499 	        ;; | 
| Chris@4 | 12500 	    esac | 
| Chris@4 | 12501 	    # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12502 	    # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12503 	    # linking a shared library. | 
| Chris@4 | 12504 	    # | 
| Chris@4 | 12505 	    # There doesn't appear to be a way to prevent this compiler from | 
| Chris@4 | 12506 	    # explicitly linking system object files so we need to strip them | 
| Chris@4 | 12507 	    # from the output so that they don't get included in the library | 
| Chris@4 | 12508 	    # dependencies. | 
| Chris@4 | 12509 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | 
| Chris@4 | 12510 	    ;; | 
| Chris@4 | 12511           *) | 
| Chris@4 | 12512 	    if test "$GXX" = yes; then | 
| Chris@4 | 12513 	      if test $with_gnu_ld = no; then | 
| Chris@4 | 12514 	        case $host_cpu in | 
| Chris@4 | 12515 	          hppa*64*) | 
| Chris@4 | 12516 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12517 	            ;; | 
| Chris@4 | 12518 	          ia64*) | 
| Chris@4 | 12519 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12520 	            ;; | 
| Chris@4 | 12521 	          *) | 
| Chris@4 | 12522 	            archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12523 	            ;; | 
| Chris@4 | 12524 	        esac | 
| Chris@4 | 12525 	      fi | 
| Chris@4 | 12526 	    else | 
| Chris@4 | 12527 	      # FIXME: insert proper C++ library support | 
| Chris@4 | 12528 	      ld_shlibs_CXX=no | 
| Chris@4 | 12529 	    fi | 
| Chris@4 | 12530 	    ;; | 
| Chris@4 | 12531         esac | 
| Chris@4 | 12532         ;; | 
| Chris@4 | 12533 | 
| Chris@4 | 12534       interix[3-9]*) | 
| Chris@4 | 12535 	hardcode_direct_CXX=no | 
| Chris@4 | 12536 	hardcode_shlibpath_var_CXX=no | 
| Chris@4 | 12537 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
| Chris@4 | 12538 	export_dynamic_flag_spec_CXX='${wl}-E' | 
| Chris@4 | 12539 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc. | 
| Chris@4 | 12540 	# Instead, shared libraries are loaded at an image base (0x10000000 by | 
| Chris@4 | 12541 	# default) and relocated if they conflict, which is a slow very memory | 
| Chris@4 | 12542 	# consuming and fragmenting process.  To avoid this, we pick a random, | 
| Chris@4 | 12543 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link | 
| Chris@4 | 12544 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space. | 
| Chris@4 | 12545 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 
| Chris@4 | 12546 	archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib' | 
| Chris@4 | 12547 	;; | 
| Chris@4 | 12548       irix5* | irix6*) | 
| Chris@4 | 12549         case $cc_basename in | 
| Chris@4 | 12550           CC*) | 
| Chris@4 | 12551 	    # SGI C++ | 
| Chris@4 | 12552 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 12553 | 
| Chris@4 | 12554 	    # Archives containing C++ object files must be created using | 
| Chris@4 | 12555 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is | 
| Chris@4 | 12556 	    # necessary to make sure instantiated templates are included | 
| Chris@4 | 12557 	    # in the archive. | 
| Chris@4 | 12558 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs' | 
| Chris@4 | 12559 	    ;; | 
| Chris@4 | 12560           *) | 
| Chris@4 | 12561 	    if test "$GXX" = yes; then | 
| Chris@4 | 12562 	      if test "$with_gnu_ld" = no; then | 
| Chris@4 | 12563 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 12564 	      else | 
| Chris@4 | 12565 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib' | 
| Chris@4 | 12566 	      fi | 
| Chris@4 | 12567 	    fi | 
| Chris@4 | 12568 	    link_all_deplibs_CXX=yes | 
| Chris@4 | 12569 	    ;; | 
| Chris@4 | 12570         esac | 
| Chris@4 | 12571         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 12572         hardcode_libdir_separator_CXX=: | 
| Chris@4 | 12573         inherit_rpath_CXX=yes | 
| Chris@4 | 12574         ;; | 
| Chris@4 | 12575 | 
| Chris@4 | 12576       linux* | k*bsd*-gnu | kopensolaris*-gnu) | 
| Chris@4 | 12577         case $cc_basename in | 
| Chris@4 | 12578           KCC*) | 
| Chris@4 | 12579 	    # Kuck and Associates, Inc. (KAI) C++ Compiler | 
| Chris@4 | 12580 | 
| Chris@4 | 12581 	    # KCC will only create a shared library if the output file | 
| Chris@4 | 12582 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library | 
| Chris@4 | 12583 	    # to its proper name (with version) after linking. | 
| Chris@4 | 12584 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
| Chris@4 | 12585 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib' | 
| Chris@4 | 12586 	    # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12587 	    # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12588 	    # linking a shared library. | 
| Chris@4 | 12589 	    # | 
| Chris@4 | 12590 	    # There doesn't appear to be a way to prevent this compiler from | 
| Chris@4 | 12591 	    # explicitly linking system object files so we need to strip them | 
| Chris@4 | 12592 	    # from the output so that they don't get included in the library | 
| Chris@4 | 12593 	    # dependencies. | 
| Chris@4 | 12594 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | 
| Chris@4 | 12595 | 
| Chris@4 | 12596 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
| Chris@4 | 12597 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
| Chris@4 | 12598 | 
| Chris@4 | 12599 	    # Archives containing C++ object files must be created using | 
| Chris@4 | 12600 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler. | 
| Chris@4 | 12601 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' | 
| Chris@4 | 12602 	    ;; | 
| Chris@4 | 12603 	  icpc* | ecpc* ) | 
| Chris@4 | 12604 	    # Intel C++ | 
| Chris@4 | 12605 	    with_gnu_ld=yes | 
| Chris@4 | 12606 	    # version 8.0 and above of icpc choke on multiply defined symbols | 
| Chris@4 | 12607 	    # if we add $predep_objects and $postdep_objects, however 7.1 and | 
| Chris@4 | 12608 	    # earlier do not add the objects themselves. | 
| Chris@4 | 12609 	    case `$CC -V 2>&1` in | 
| Chris@4 | 12610 	      *"Version 7."*) | 
| Chris@4 | 12611 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 12612 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
| Chris@4 | 12613 		;; | 
| Chris@4 | 12614 	      *)  # Version 8.0 or newer | 
| Chris@4 | 12615 	        tmp_idyn= | 
| Chris@4 | 12616 	        case $host_cpu in | 
| Chris@4 | 12617 		  ia64*) tmp_idyn=' -i_dynamic';; | 
| Chris@4 | 12618 		esac | 
| Chris@4 | 12619 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 12620 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' | 
| Chris@4 | 12621 		;; | 
| Chris@4 | 12622 	    esac | 
| Chris@4 | 12623 	    archive_cmds_need_lc_CXX=no | 
| Chris@4 | 12624 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
| Chris@4 | 12625 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
| Chris@4 | 12626 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive' | 
| Chris@4 | 12627 	    ;; | 
| Chris@4 | 12628           pgCC* | pgcpp*) | 
| Chris@4 | 12629             # Portland Group C++ compiler | 
| Chris@4 | 12630 	    case `$CC -V` in | 
| Chris@4 | 12631 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*) | 
| Chris@4 | 12632 	      prelink_cmds_CXX='tpldir=Template.dir~ | 
| Chris@4 | 12633 		rm -rf $tpldir~ | 
| Chris@4 | 12634 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~ | 
| Chris@4 | 12635 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"' | 
| Chris@4 | 12636 	      old_archive_cmds_CXX='tpldir=Template.dir~ | 
| Chris@4 | 12637 		rm -rf $tpldir~ | 
| Chris@4 | 12638 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~ | 
| Chris@4 | 12639 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~ | 
| Chris@4 | 12640 		$RANLIB $oldlib' | 
| Chris@4 | 12641 	      archive_cmds_CXX='tpldir=Template.dir~ | 
| Chris@4 | 12642 		rm -rf $tpldir~ | 
| Chris@4 | 12643 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ | 
| Chris@4 | 12644 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' | 
| Chris@4 | 12645 	      archive_expsym_cmds_CXX='tpldir=Template.dir~ | 
| Chris@4 | 12646 		rm -rf $tpldir~ | 
| Chris@4 | 12647 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~ | 
| Chris@4 | 12648 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | 
| Chris@4 | 12649 	      ;; | 
| Chris@4 | 12650 	    *) # Version 6 and above use weak symbols | 
| Chris@4 | 12651 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib' | 
| Chris@4 | 12652 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | 
| Chris@4 | 12653 	      ;; | 
| Chris@4 | 12654 	    esac | 
| Chris@4 | 12655 | 
| Chris@4 | 12656 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir' | 
| Chris@4 | 12657 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
| Chris@4 | 12658 	    whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 
| Chris@4 | 12659             ;; | 
| Chris@4 | 12660 	  cxx*) | 
| Chris@4 | 12661 	    # Compaq C++ | 
| Chris@4 | 12662 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 12663 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols' | 
| Chris@4 | 12664 | 
| Chris@4 | 12665 	    runpath_var=LD_RUN_PATH | 
| Chris@4 | 12666 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
| Chris@4 | 12667 	    hardcode_libdir_separator_CXX=: | 
| Chris@4 | 12668 | 
| Chris@4 | 12669 	    # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12670 	    # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12671 	    # linking a shared library. | 
| Chris@4 | 12672 	    # | 
| Chris@4 | 12673 	    # There doesn't appear to be a way to prevent this compiler from | 
| Chris@4 | 12674 	    # explicitly linking system object files so we need to strip them | 
| Chris@4 | 12675 	    # from the output so that they don't get included in the library | 
| Chris@4 | 12676 	    # dependencies. | 
| Chris@4 | 12677 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed' | 
| Chris@4 | 12678 	    ;; | 
| Chris@4 | 12679 	  xl* | mpixl* | bgxl*) | 
| Chris@4 | 12680 	    # IBM XL 8.0 on PPC, with GNU ld | 
| Chris@4 | 12681 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 12682 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic' | 
| Chris@4 | 12683 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 
| Chris@4 | 12684 	    if test "x$supports_anon_versioning" = xyes; then | 
| Chris@4 | 12685 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~ | 
| Chris@4 | 12686 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~ | 
| Chris@4 | 12687 		echo "local: *; };" >> $output_objdir/$libname.ver~ | 
| Chris@4 | 12688 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib' | 
| Chris@4 | 12689 	    fi | 
| Chris@4 | 12690 	    ;; | 
| Chris@4 | 12691 	  *) | 
| Chris@4 | 12692 	    case `$CC -V 2>&1 | sed 5q` in | 
| Chris@4 | 12693 	    *Sun\ C*) | 
| Chris@4 | 12694 	      # Sun C++ 5.9 | 
| Chris@4 | 12695 	      no_undefined_flag_CXX=' -zdefs' | 
| Chris@4 | 12696 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12697 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols' | 
| Chris@4 | 12698 	      hardcode_libdir_flag_spec_CXX='-R$libdir' | 
| Chris@4 | 12699 	      whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive' | 
| Chris@4 | 12700 	      compiler_needs_object_CXX=yes | 
| Chris@4 | 12701 | 
| Chris@4 | 12702 	      # Not sure whether something based on | 
| Chris@4 | 12703 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | 
| Chris@4 | 12704 	      # would be better. | 
| Chris@4 | 12705 	      output_verbose_link_cmd='func_echo_all' | 
| Chris@4 | 12706 | 
| Chris@4 | 12707 	      # Archives containing C++ object files must be created using | 
| Chris@4 | 12708 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is | 
| Chris@4 | 12709 	      # necessary to make sure instantiated templates are included | 
| Chris@4 | 12710 	      # in the archive. | 
| Chris@4 | 12711 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | 
| Chris@4 | 12712 	      ;; | 
| Chris@4 | 12713 	    esac | 
| Chris@4 | 12714 	    ;; | 
| Chris@4 | 12715 	esac | 
| Chris@4 | 12716 	;; | 
| Chris@4 | 12717 | 
| Chris@4 | 12718       lynxos*) | 
| Chris@4 | 12719         # FIXME: insert proper C++ library support | 
| Chris@4 | 12720 	ld_shlibs_CXX=no | 
| Chris@4 | 12721 	;; | 
| Chris@4 | 12722 | 
| Chris@4 | 12723       m88k*) | 
| Chris@4 | 12724         # FIXME: insert proper C++ library support | 
| Chris@4 | 12725         ld_shlibs_CXX=no | 
| Chris@4 | 12726 	;; | 
| Chris@4 | 12727 | 
| Chris@4 | 12728       mvs*) | 
| Chris@4 | 12729         case $cc_basename in | 
| Chris@4 | 12730           cxx*) | 
| Chris@4 | 12731 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12732 	    ld_shlibs_CXX=no | 
| Chris@4 | 12733 	    ;; | 
| Chris@4 | 12734 	  *) | 
| Chris@4 | 12735 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12736 	    ld_shlibs_CXX=no | 
| Chris@4 | 12737 	    ;; | 
| Chris@4 | 12738 	esac | 
| Chris@4 | 12739 	;; | 
| Chris@4 | 12740 | 
| Chris@4 | 12741       netbsd*) | 
| Chris@4 | 12742         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 
| Chris@4 | 12743 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags' | 
| Chris@4 | 12744 	  wlarc= | 
| Chris@4 | 12745 	  hardcode_libdir_flag_spec_CXX='-R$libdir' | 
| Chris@4 | 12746 	  hardcode_direct_CXX=yes | 
| Chris@4 | 12747 	  hardcode_shlibpath_var_CXX=no | 
| Chris@4 | 12748 	fi | 
| Chris@4 | 12749 	# Workaround some broken pre-1.5 toolchains | 
| Chris@4 | 12750 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"' | 
| Chris@4 | 12751 	;; | 
| Chris@4 | 12752 | 
| Chris@4 | 12753       *nto* | *qnx*) | 
| Chris@4 | 12754         ld_shlibs_CXX=yes | 
| Chris@4 | 12755 	;; | 
| Chris@4 | 12756 | 
| Chris@4 | 12757       openbsd2*) | 
| Chris@4 | 12758         # C++ shared libraries are fairly broken | 
| Chris@4 | 12759 	ld_shlibs_CXX=no | 
| Chris@4 | 12760 	;; | 
| Chris@4 | 12761 | 
| Chris@4 | 12762       openbsd*) | 
| Chris@4 | 12763 	if test -f /usr/libexec/ld.so; then | 
| Chris@4 | 12764 	  hardcode_direct_CXX=yes | 
| Chris@4 | 12765 	  hardcode_shlibpath_var_CXX=no | 
| Chris@4 | 12766 	  hardcode_direct_absolute_CXX=yes | 
| Chris@4 | 12767 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib' | 
| Chris@4 | 12768 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
| Chris@4 | 12769 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
| Chris@4 | 12770 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib' | 
| Chris@4 | 12771 	    export_dynamic_flag_spec_CXX='${wl}-E' | 
| Chris@4 | 12772 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive' | 
| Chris@4 | 12773 	  fi | 
| Chris@4 | 12774 	  output_verbose_link_cmd=func_echo_all | 
| Chris@4 | 12775 	else | 
| Chris@4 | 12776 	  ld_shlibs_CXX=no | 
| Chris@4 | 12777 	fi | 
| Chris@4 | 12778 	;; | 
| Chris@4 | 12779 | 
| Chris@4 | 12780       osf3* | osf4* | osf5*) | 
| Chris@4 | 12781         case $cc_basename in | 
| Chris@4 | 12782           KCC*) | 
| Chris@4 | 12783 	    # Kuck and Associates, Inc. (KAI) C++ Compiler | 
| Chris@4 | 12784 | 
| Chris@4 | 12785 	    # KCC will only create a shared library if the output file | 
| Chris@4 | 12786 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library | 
| Chris@4 | 12787 	    # to its proper name (with version) after linking. | 
| Chris@4 | 12788 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib' | 
| Chris@4 | 12789 | 
| Chris@4 | 12790 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir' | 
| Chris@4 | 12791 	    hardcode_libdir_separator_CXX=: | 
| Chris@4 | 12792 | 
| Chris@4 | 12793 	    # Archives containing C++ object files must be created using | 
| Chris@4 | 12794 	    # the KAI C++ compiler. | 
| Chris@4 | 12795 	    case $host in | 
| Chris@4 | 12796 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;; | 
| Chris@4 | 12797 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;; | 
| Chris@4 | 12798 	    esac | 
| Chris@4 | 12799 	    ;; | 
| Chris@4 | 12800           RCC*) | 
| Chris@4 | 12801 	    # Rational C++ 2.4.1 | 
| Chris@4 | 12802 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12803 	    ld_shlibs_CXX=no | 
| Chris@4 | 12804 	    ;; | 
| Chris@4 | 12805           cxx*) | 
| Chris@4 | 12806 	    case $host in | 
| Chris@4 | 12807 	      osf3*) | 
| Chris@4 | 12808 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
| Chris@4 | 12809 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 12810 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 12811 		;; | 
| Chris@4 | 12812 	      *) | 
| Chris@4 | 12813 	        allow_undefined_flag_CXX=' -expect_unresolved \*' | 
| Chris@4 | 12814 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 12815 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~ | 
| Chris@4 | 12816 	          echo "-hidden">> $lib.exp~ | 
| Chris@4 | 12817 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~ | 
| Chris@4 | 12818 	          $RM $lib.exp' | 
| Chris@4 | 12819 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir' | 
| Chris@4 | 12820 		;; | 
| Chris@4 | 12821 	    esac | 
| Chris@4 | 12822 | 
| Chris@4 | 12823 	    hardcode_libdir_separator_CXX=: | 
| Chris@4 | 12824 | 
| Chris@4 | 12825 	    # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12826 	    # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12827 	    # linking a shared library. | 
| Chris@4 | 12828 	    # | 
| Chris@4 | 12829 	    # There doesn't appear to be a way to prevent this compiler from | 
| Chris@4 | 12830 	    # explicitly linking system object files so we need to strip them | 
| Chris@4 | 12831 	    # from the output so that they don't get included in the library | 
| Chris@4 | 12832 	    # dependencies. | 
| Chris@4 | 12833 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"' | 
| Chris@4 | 12834 	    ;; | 
| Chris@4 | 12835 	  *) | 
| Chris@4 | 12836 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
| Chris@4 | 12837 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*' | 
| Chris@4 | 12838 	      case $host in | 
| Chris@4 | 12839 	        osf3*) | 
| Chris@4 | 12840 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 12841 		  ;; | 
| Chris@4 | 12842 	        *) | 
| Chris@4 | 12843 	          archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib' | 
| Chris@4 | 12844 		  ;; | 
| Chris@4 | 12845 	      esac | 
| Chris@4 | 12846 | 
| Chris@4 | 12847 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir' | 
| Chris@4 | 12848 	      hardcode_libdir_separator_CXX=: | 
| Chris@4 | 12849 | 
| Chris@4 | 12850 	      # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12851 	      # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12852 	      # linking a shared library. | 
| Chris@4 | 12853 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | 
| Chris@4 | 12854 | 
| Chris@4 | 12855 	    else | 
| Chris@4 | 12856 	      # FIXME: insert proper C++ library support | 
| Chris@4 | 12857 	      ld_shlibs_CXX=no | 
| Chris@4 | 12858 	    fi | 
| Chris@4 | 12859 	    ;; | 
| Chris@4 | 12860         esac | 
| Chris@4 | 12861         ;; | 
| Chris@4 | 12862 | 
| Chris@4 | 12863       psos*) | 
| Chris@4 | 12864         # FIXME: insert proper C++ library support | 
| Chris@4 | 12865         ld_shlibs_CXX=no | 
| Chris@4 | 12866         ;; | 
| Chris@4 | 12867 | 
| Chris@4 | 12868       sunos4*) | 
| Chris@4 | 12869         case $cc_basename in | 
| Chris@4 | 12870           CC*) | 
| Chris@4 | 12871 	    # Sun C++ 4.x | 
| Chris@4 | 12872 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12873 	    ld_shlibs_CXX=no | 
| Chris@4 | 12874 	    ;; | 
| Chris@4 | 12875           lcc*) | 
| Chris@4 | 12876 	    # Lucid | 
| Chris@4 | 12877 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12878 	    ld_shlibs_CXX=no | 
| Chris@4 | 12879 	    ;; | 
| Chris@4 | 12880           *) | 
| Chris@4 | 12881 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 12882 	    ld_shlibs_CXX=no | 
| Chris@4 | 12883 	    ;; | 
| Chris@4 | 12884         esac | 
| Chris@4 | 12885         ;; | 
| Chris@4 | 12886 | 
| Chris@4 | 12887       solaris*) | 
| Chris@4 | 12888         case $cc_basename in | 
| Chris@4 | 12889           CC* | sunCC*) | 
| Chris@4 | 12890 	    # Sun C++ 4.2, 5.x and Centerline C++ | 
| Chris@4 | 12891             archive_cmds_need_lc_CXX=yes | 
| Chris@4 | 12892 	    no_undefined_flag_CXX=' -zdefs' | 
| Chris@4 | 12893 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags' | 
| Chris@4 | 12894 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 
| Chris@4 | 12895 	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | 
| Chris@4 | 12896 | 
| Chris@4 | 12897 	    hardcode_libdir_flag_spec_CXX='-R$libdir' | 
| Chris@4 | 12898 	    hardcode_shlibpath_var_CXX=no | 
| Chris@4 | 12899 	    case $host_os in | 
| Chris@4 | 12900 	      solaris2.[0-5] | solaris2.[0-5].*) ;; | 
| Chris@4 | 12901 	      *) | 
| Chris@4 | 12902 		# The compiler driver will combine and reorder linker options, | 
| Chris@4 | 12903 		# but understands `-z linker_flag'. | 
| Chris@4 | 12904 	        # Supported since Solaris 2.6 (maybe 2.5.1?) | 
| Chris@4 | 12905 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract' | 
| Chris@4 | 12906 	        ;; | 
| Chris@4 | 12907 	    esac | 
| Chris@4 | 12908 	    link_all_deplibs_CXX=yes | 
| Chris@4 | 12909 | 
| Chris@4 | 12910 	    output_verbose_link_cmd='func_echo_all' | 
| Chris@4 | 12911 | 
| Chris@4 | 12912 	    # Archives containing C++ object files must be created using | 
| Chris@4 | 12913 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is | 
| Chris@4 | 12914 	    # necessary to make sure instantiated templates are included | 
| Chris@4 | 12915 	    # in the archive. | 
| Chris@4 | 12916 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs' | 
| Chris@4 | 12917 	    ;; | 
| Chris@4 | 12918           gcx*) | 
| Chris@4 | 12919 	    # Green Hills C++ Compiler | 
| Chris@4 | 12920 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
| Chris@4 | 12921 | 
| Chris@4 | 12922 	    # The C++ compiler must be used to create the archive. | 
| Chris@4 | 12923 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs' | 
| Chris@4 | 12924 	    ;; | 
| Chris@4 | 12925           *) | 
| Chris@4 | 12926 	    # GNU C++ compiler with Solaris linker | 
| Chris@4 | 12927 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then | 
| Chris@4 | 12928 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs' | 
| Chris@4 | 12929 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then | 
| Chris@4 | 12930 	        archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
| Chris@4 | 12931 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 
| Chris@4 | 12932 		  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | 
| Chris@4 | 12933 | 
| Chris@4 | 12934 	        # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12935 	        # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12936 	        # linking a shared library. | 
| Chris@4 | 12937 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | 
| Chris@4 | 12938 	      else | 
| Chris@4 | 12939 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this | 
| Chris@4 | 12940 	        # platform. | 
| Chris@4 | 12941 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib' | 
| Chris@4 | 12942 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~ | 
| Chris@4 | 12943 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp' | 
| Chris@4 | 12944 | 
| Chris@4 | 12945 	        # Commands to make compiler produce verbose output that lists | 
| Chris@4 | 12946 	        # what "hidden" libraries, object files and flags are used when | 
| Chris@4 | 12947 	        # linking a shared library. | 
| Chris@4 | 12948 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"' | 
| Chris@4 | 12949 	      fi | 
| Chris@4 | 12950 | 
| Chris@4 | 12951 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir' | 
| Chris@4 | 12952 	      case $host_os in | 
| Chris@4 | 12953 		solaris2.[0-5] | solaris2.[0-5].*) ;; | 
| Chris@4 | 12954 		*) | 
| Chris@4 | 12955 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract' | 
| Chris@4 | 12956 		  ;; | 
| Chris@4 | 12957 	      esac | 
| Chris@4 | 12958 	    fi | 
| Chris@4 | 12959 	    ;; | 
| Chris@4 | 12960         esac | 
| Chris@4 | 12961         ;; | 
| Chris@4 | 12962 | 
| Chris@4 | 12963     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*) | 
| Chris@4 | 12964       no_undefined_flag_CXX='${wl}-z,text' | 
| Chris@4 | 12965       archive_cmds_need_lc_CXX=no | 
| Chris@4 | 12966       hardcode_shlibpath_var_CXX=no | 
| Chris@4 | 12967       runpath_var='LD_RUN_PATH' | 
| Chris@4 | 12968 | 
| Chris@4 | 12969       case $cc_basename in | 
| Chris@4 | 12970         CC*) | 
| Chris@4 | 12971 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 12972 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 12973 	  ;; | 
| Chris@4 | 12974 	*) | 
| Chris@4 | 12975 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 12976 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 12977 	  ;; | 
| Chris@4 | 12978       esac | 
| Chris@4 | 12979       ;; | 
| Chris@4 | 12980 | 
| Chris@4 | 12981       sysv5* | sco3.2v5* | sco5v6*) | 
| Chris@4 | 12982 	# Note: We can NOT use -z defs as we might desire, because we do not | 
| Chris@4 | 12983 	# link with -lc, and that would cause any symbols used from libc to | 
| Chris@4 | 12984 	# always be unresolved, which means just about no library would | 
| Chris@4 | 12985 	# ever link correctly.  If we're not using GNU ld we use -z text | 
| Chris@4 | 12986 	# though, which does catch some bad symbols but isn't as heavy-handed | 
| Chris@4 | 12987 	# as -z defs. | 
| Chris@4 | 12988 	no_undefined_flag_CXX='${wl}-z,text' | 
| Chris@4 | 12989 	allow_undefined_flag_CXX='${wl}-z,nodefs' | 
| Chris@4 | 12990 	archive_cmds_need_lc_CXX=no | 
| Chris@4 | 12991 	hardcode_shlibpath_var_CXX=no | 
| Chris@4 | 12992 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir' | 
| Chris@4 | 12993 	hardcode_libdir_separator_CXX=':' | 
| Chris@4 | 12994 	link_all_deplibs_CXX=yes | 
| Chris@4 | 12995 	export_dynamic_flag_spec_CXX='${wl}-Bexport' | 
| Chris@4 | 12996 	runpath_var='LD_RUN_PATH' | 
| Chris@4 | 12997 | 
| Chris@4 | 12998 	case $cc_basename in | 
| Chris@4 | 12999           CC*) | 
| Chris@4 | 13000 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 13001 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 13002 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~ | 
| Chris@4 | 13003 	      '"$old_archive_cmds_CXX" | 
| Chris@4 | 13004 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~ | 
| Chris@4 | 13005 	      '"$reload_cmds_CXX" | 
| Chris@4 | 13006 	    ;; | 
| Chris@4 | 13007 	  *) | 
| Chris@4 | 13008 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 13009 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags' | 
| Chris@4 | 13010 	    ;; | 
| Chris@4 | 13011 	esac | 
| Chris@4 | 13012       ;; | 
| Chris@4 | 13013 | 
| Chris@4 | 13014       tandem*) | 
| Chris@4 | 13015         case $cc_basename in | 
| Chris@4 | 13016           NCC*) | 
| Chris@4 | 13017 	    # NonStop-UX NCC 3.20 | 
| Chris@4 | 13018 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 13019 	    ld_shlibs_CXX=no | 
| Chris@4 | 13020 	    ;; | 
| Chris@4 | 13021           *) | 
| Chris@4 | 13022 	    # FIXME: insert proper C++ library support | 
| Chris@4 | 13023 	    ld_shlibs_CXX=no | 
| Chris@4 | 13024 	    ;; | 
| Chris@4 | 13025         esac | 
| Chris@4 | 13026         ;; | 
| Chris@4 | 13027 | 
| Chris@4 | 13028       vxworks*) | 
| Chris@4 | 13029         # FIXME: insert proper C++ library support | 
| Chris@4 | 13030         ld_shlibs_CXX=no | 
| Chris@4 | 13031         ;; | 
| Chris@4 | 13032 | 
| Chris@4 | 13033       *) | 
| Chris@4 | 13034         # FIXME: insert proper C++ library support | 
| Chris@4 | 13035         ld_shlibs_CXX=no | 
| Chris@4 | 13036         ;; | 
| Chris@4 | 13037     esac | 
| Chris@4 | 13038 | 
| Chris@4 | 13039     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 | 
| Chris@4 | 13040 $as_echo "$ld_shlibs_CXX" >&6; } | 
| Chris@4 | 13041     test "$ld_shlibs_CXX" = no && can_build_shared=no | 
| Chris@4 | 13042 | 
| Chris@4 | 13043     GCC_CXX="$GXX" | 
| Chris@4 | 13044     LD_CXX="$LD" | 
| Chris@4 | 13045 | 
| Chris@4 | 13046     ## CAVEAT EMPTOR: | 
| Chris@4 | 13047     ## There is no encapsulation within the following macros, do not change | 
| Chris@4 | 13048     ## the running order or otherwise move them around unless you know exactly | 
| Chris@4 | 13049     ## what you are doing... | 
| Chris@4 | 13050     # Dependencies to place before and after the object being linked: | 
| Chris@4 | 13051 predep_objects_CXX= | 
| Chris@4 | 13052 postdep_objects_CXX= | 
| Chris@4 | 13053 predeps_CXX= | 
| Chris@4 | 13054 postdeps_CXX= | 
| Chris@4 | 13055 compiler_lib_search_path_CXX= | 
| Chris@4 | 13056 | 
| Chris@4 | 13057 cat > conftest.$ac_ext <<_LT_EOF | 
| Chris@4 | 13058 class Foo | 
| Chris@4 | 13059 { | 
| Chris@4 | 13060 public: | 
| Chris@4 | 13061   Foo (void) { a = 0; } | 
| Chris@4 | 13062 private: | 
| Chris@4 | 13063   int a; | 
| Chris@4 | 13064 }; | 
| Chris@4 | 13065 _LT_EOF | 
| Chris@4 | 13066 | 
| Chris@4 | 13067 | 
| Chris@4 | 13068 _lt_libdeps_save_CFLAGS=$CFLAGS | 
| Chris@4 | 13069 case "$CC $CFLAGS " in #( | 
| Chris@4 | 13070 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;; | 
| Chris@4 | 13071 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;; | 
| Chris@4 | 13072 esac | 
| Chris@4 | 13073 | 
| Chris@4 | 13074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 13075   (eval $ac_compile) 2>&5 | 
| Chris@4 | 13076   ac_status=$? | 
| Chris@4 | 13077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 13078   test $ac_status = 0; }; then | 
| Chris@4 | 13079   # Parse the compiler output and extract the necessary | 
| Chris@4 | 13080   # objects, libraries and library flags. | 
| Chris@4 | 13081 | 
| Chris@4 | 13082   # Sentinel used to keep track of whether or not we are before | 
| Chris@4 | 13083   # the conftest object file. | 
| Chris@4 | 13084   pre_test_object_deps_done=no | 
| Chris@4 | 13085 | 
| Chris@4 | 13086   for p in `eval "$output_verbose_link_cmd"`; do | 
| Chris@4 | 13087     case ${prev}${p} in | 
| Chris@4 | 13088 | 
| Chris@4 | 13089     -L* | -R* | -l*) | 
| Chris@4 | 13090        # Some compilers place space between "-{L,R}" and the path. | 
| Chris@4 | 13091        # Remove the space. | 
| Chris@4 | 13092        if test $p = "-L" || | 
| Chris@4 | 13093           test $p = "-R"; then | 
| Chris@4 | 13094 	 prev=$p | 
| Chris@4 | 13095 	 continue | 
| Chris@4 | 13096        fi | 
| Chris@4 | 13097 | 
| Chris@4 | 13098        # Expand the sysroot to ease extracting the directories later. | 
| Chris@4 | 13099        if test -z "$prev"; then | 
| Chris@4 | 13100          case $p in | 
| Chris@4 | 13101          -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;; | 
| Chris@4 | 13102          -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;; | 
| Chris@4 | 13103          -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;; | 
| Chris@4 | 13104          esac | 
| Chris@4 | 13105        fi | 
| Chris@4 | 13106        case $p in | 
| Chris@4 | 13107        =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;; | 
| Chris@4 | 13108        esac | 
| Chris@4 | 13109        if test "$pre_test_object_deps_done" = no; then | 
| Chris@4 | 13110 	 case ${prev} in | 
| Chris@4 | 13111 	 -L | -R) | 
| Chris@4 | 13112 	   # Internal compiler library paths should come after those | 
| Chris@4 | 13113 	   # provided the user.  The postdeps already come after the | 
| Chris@4 | 13114 	   # user supplied libs so there is no need to process them. | 
| Chris@4 | 13115 	   if test -z "$compiler_lib_search_path_CXX"; then | 
| Chris@4 | 13116 	     compiler_lib_search_path_CXX="${prev}${p}" | 
| Chris@4 | 13117 	   else | 
| Chris@4 | 13118 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}" | 
| Chris@4 | 13119 	   fi | 
| Chris@4 | 13120 	   ;; | 
| Chris@4 | 13121 	 # The "-l" case would never come before the object being | 
| Chris@4 | 13122 	 # linked, so don't bother handling this case. | 
| Chris@4 | 13123 	 esac | 
| Chris@4 | 13124        else | 
| Chris@4 | 13125 	 if test -z "$postdeps_CXX"; then | 
| Chris@4 | 13126 	   postdeps_CXX="${prev}${p}" | 
| Chris@4 | 13127 	 else | 
| Chris@4 | 13128 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}" | 
| Chris@4 | 13129 	 fi | 
| Chris@4 | 13130        fi | 
| Chris@4 | 13131        prev= | 
| Chris@4 | 13132        ;; | 
| Chris@4 | 13133 | 
| Chris@4 | 13134     *.lto.$objext) ;; # Ignore GCC LTO objects | 
| Chris@4 | 13135     *.$objext) | 
| Chris@4 | 13136        # This assumes that the test object file only shows up | 
| Chris@4 | 13137        # once in the compiler output. | 
| Chris@4 | 13138        if test "$p" = "conftest.$objext"; then | 
| Chris@4 | 13139 	 pre_test_object_deps_done=yes | 
| Chris@4 | 13140 	 continue | 
| Chris@4 | 13141        fi | 
| Chris@4 | 13142 | 
| Chris@4 | 13143        if test "$pre_test_object_deps_done" = no; then | 
| Chris@4 | 13144 	 if test -z "$predep_objects_CXX"; then | 
| Chris@4 | 13145 	   predep_objects_CXX="$p" | 
| Chris@4 | 13146 	 else | 
| Chris@4 | 13147 	   predep_objects_CXX="$predep_objects_CXX $p" | 
| Chris@4 | 13148 	 fi | 
| Chris@4 | 13149        else | 
| Chris@4 | 13150 	 if test -z "$postdep_objects_CXX"; then | 
| Chris@4 | 13151 	   postdep_objects_CXX="$p" | 
| Chris@4 | 13152 	 else | 
| Chris@4 | 13153 	   postdep_objects_CXX="$postdep_objects_CXX $p" | 
| Chris@4 | 13154 	 fi | 
| Chris@4 | 13155        fi | 
| Chris@4 | 13156        ;; | 
| Chris@4 | 13157 | 
| Chris@4 | 13158     *) ;; # Ignore the rest. | 
| Chris@4 | 13159 | 
| Chris@4 | 13160     esac | 
| Chris@4 | 13161   done | 
| Chris@4 | 13162 | 
| Chris@4 | 13163   # Clean up. | 
| Chris@4 | 13164   rm -f a.out a.exe | 
| Chris@4 | 13165 else | 
| Chris@4 | 13166   echo "libtool.m4: error: problem compiling CXX test program" | 
| Chris@4 | 13167 fi | 
| Chris@4 | 13168 | 
| Chris@4 | 13169 $RM -f confest.$objext | 
| Chris@4 | 13170 CFLAGS=$_lt_libdeps_save_CFLAGS | 
| Chris@4 | 13171 | 
| Chris@4 | 13172 # PORTME: override above test on systems where it is broken | 
| Chris@4 | 13173 case $host_os in | 
| Chris@4 | 13174 interix[3-9]*) | 
| Chris@4 | 13175   # Interix 3.5 installs completely hosed .la files for C++, so rather than | 
| Chris@4 | 13176   # hack all around it, let's just trust "g++" to DTRT. | 
| Chris@4 | 13177   predep_objects_CXX= | 
| Chris@4 | 13178   postdep_objects_CXX= | 
| Chris@4 | 13179   postdeps_CXX= | 
| Chris@4 | 13180   ;; | 
| Chris@4 | 13181 | 
| Chris@4 | 13182 linux*) | 
| Chris@4 | 13183   case `$CC -V 2>&1 | sed 5q` in | 
| Chris@4 | 13184   *Sun\ C*) | 
| Chris@4 | 13185     # Sun C++ 5.9 | 
| Chris@4 | 13186 | 
| Chris@4 | 13187     # The more standards-conforming stlport4 library is | 
| Chris@4 | 13188     # incompatible with the Cstd library. Avoid specifying | 
| Chris@4 | 13189     # it if it's in CXXFLAGS. Ignore libCrun as | 
| Chris@4 | 13190     # -library=stlport4 depends on it. | 
| Chris@4 | 13191     case " $CXX $CXXFLAGS " in | 
| Chris@4 | 13192     *" -library=stlport4 "*) | 
| Chris@4 | 13193       solaris_use_stlport4=yes | 
| Chris@4 | 13194       ;; | 
| Chris@4 | 13195     esac | 
| Chris@4 | 13196 | 
| Chris@4 | 13197     if test "$solaris_use_stlport4" != yes; then | 
| Chris@4 | 13198       postdeps_CXX='-library=Cstd -library=Crun' | 
| Chris@4 | 13199     fi | 
| Chris@4 | 13200     ;; | 
| Chris@4 | 13201   esac | 
| Chris@4 | 13202   ;; | 
| Chris@4 | 13203 | 
| Chris@4 | 13204 solaris*) | 
| Chris@4 | 13205   case $cc_basename in | 
| Chris@4 | 13206   CC* | sunCC*) | 
| Chris@4 | 13207     # The more standards-conforming stlport4 library is | 
| Chris@4 | 13208     # incompatible with the Cstd library. Avoid specifying | 
| Chris@4 | 13209     # it if it's in CXXFLAGS. Ignore libCrun as | 
| Chris@4 | 13210     # -library=stlport4 depends on it. | 
| Chris@4 | 13211     case " $CXX $CXXFLAGS " in | 
| Chris@4 | 13212     *" -library=stlport4 "*) | 
| Chris@4 | 13213       solaris_use_stlport4=yes | 
| Chris@4 | 13214       ;; | 
| Chris@4 | 13215     esac | 
| Chris@4 | 13216 | 
| Chris@4 | 13217     # Adding this requires a known-good setup of shared libraries for | 
| Chris@4 | 13218     # Sun compiler versions before 5.6, else PIC objects from an old | 
| Chris@4 | 13219     # archive will be linked into the output, leading to subtle bugs. | 
| Chris@4 | 13220     if test "$solaris_use_stlport4" != yes; then | 
| Chris@4 | 13221       postdeps_CXX='-library=Cstd -library=Crun' | 
| Chris@4 | 13222     fi | 
| Chris@4 | 13223     ;; | 
| Chris@4 | 13224   esac | 
| Chris@4 | 13225   ;; | 
| Chris@4 | 13226 esac | 
| Chris@4 | 13227 | 
| Chris@4 | 13228 | 
| Chris@4 | 13229 case " $postdeps_CXX " in | 
| Chris@4 | 13230 *" -lc "*) archive_cmds_need_lc_CXX=no ;; | 
| Chris@4 | 13231 esac | 
| Chris@4 | 13232  compiler_lib_search_dirs_CXX= | 
| Chris@4 | 13233 if test -n "${compiler_lib_search_path_CXX}"; then | 
| Chris@4 | 13234  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` | 
| Chris@4 | 13235 fi | 
| Chris@4 | 13236 | 
| Chris@4 | 13237 | 
| Chris@4 | 13238 | 
| Chris@4 | 13239 | 
| Chris@4 | 13240 | 
| Chris@4 | 13241 | 
| Chris@4 | 13242 | 
| Chris@4 | 13243 | 
| Chris@4 | 13244 | 
| Chris@4 | 13245 | 
| Chris@4 | 13246 | 
| Chris@4 | 13247 | 
| Chris@4 | 13248 | 
| Chris@4 | 13249 | 
| Chris@4 | 13250 | 
| Chris@4 | 13251 | 
| Chris@4 | 13252 | 
| Chris@4 | 13253 | 
| Chris@4 | 13254 | 
| Chris@4 | 13255 | 
| Chris@4 | 13256 | 
| Chris@4 | 13257 | 
| Chris@4 | 13258 | 
| Chris@4 | 13259 | 
| Chris@4 | 13260 | 
| Chris@4 | 13261 | 
| Chris@4 | 13262 | 
| Chris@4 | 13263 | 
| Chris@4 | 13264 | 
| Chris@4 | 13265 | 
| Chris@4 | 13266 | 
| Chris@4 | 13267     lt_prog_compiler_wl_CXX= | 
| Chris@4 | 13268 lt_prog_compiler_pic_CXX= | 
| Chris@4 | 13269 lt_prog_compiler_static_CXX= | 
| Chris@4 | 13270 | 
| Chris@4 | 13271 | 
| Chris@4 | 13272   # C++ specific cases for pic, static, wl, etc. | 
| Chris@4 | 13273   if test "$GXX" = yes; then | 
| Chris@4 | 13274     lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13275     lt_prog_compiler_static_CXX='-static' | 
| Chris@4 | 13276 | 
| Chris@4 | 13277     case $host_os in | 
| Chris@4 | 13278     aix*) | 
| Chris@4 | 13279       # All AIX code is PIC. | 
| Chris@4 | 13280       if test "$host_cpu" = ia64; then | 
| Chris@4 | 13281 	# AIX 5 now supports IA64 processor | 
| Chris@4 | 13282 	lt_prog_compiler_static_CXX='-Bstatic' | 
| Chris@4 | 13283       fi | 
| Chris@4 | 13284       ;; | 
| Chris@4 | 13285 | 
| Chris@4 | 13286     amigaos*) | 
| Chris@4 | 13287       case $host_cpu in | 
| Chris@4 | 13288       powerpc) | 
| Chris@4 | 13289             # see comment about AmigaOS4 .so support | 
| Chris@4 | 13290             lt_prog_compiler_pic_CXX='-fPIC' | 
| Chris@4 | 13291         ;; | 
| Chris@4 | 13292       m68k) | 
| Chris@4 | 13293             # FIXME: we need at least 68020 code to build shared libraries, but | 
| Chris@4 | 13294             # adding the `-m68020' flag to GCC prevents building anything better, | 
| Chris@4 | 13295             # like `-m68040'. | 
| Chris@4 | 13296             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4' | 
| Chris@4 | 13297         ;; | 
| Chris@4 | 13298       esac | 
| Chris@4 | 13299       ;; | 
| Chris@4 | 13300 | 
| Chris@4 | 13301     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 
| Chris@4 | 13302       # PIC is the default for these OSes. | 
| Chris@4 | 13303       ;; | 
| Chris@4 | 13304     mingw* | cygwin* | os2* | pw32* | cegcc*) | 
| Chris@4 | 13305       # This hack is so that the source file can tell whether it is being | 
| Chris@4 | 13306       # built for inclusion in a dll (and should export symbols for example). | 
| Chris@4 | 13307       # Although the cygwin gcc ignores -fPIC, still need this for old-style | 
| Chris@4 | 13308       # (--disable-auto-import) libraries | 
| Chris@4 | 13309       lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | 
| Chris@4 | 13310       ;; | 
| Chris@4 | 13311     darwin* | rhapsody*) | 
| Chris@4 | 13312       # PIC is the default on this platform | 
| Chris@4 | 13313       # Common symbols not allowed in MH_DYLIB files | 
| Chris@4 | 13314       lt_prog_compiler_pic_CXX='-fno-common' | 
| Chris@4 | 13315       ;; | 
| Chris@4 | 13316     *djgpp*) | 
| Chris@4 | 13317       # DJGPP does not support shared libraries at all | 
| Chris@4 | 13318       lt_prog_compiler_pic_CXX= | 
| Chris@4 | 13319       ;; | 
| Chris@4 | 13320     haiku*) | 
| Chris@4 | 13321       # PIC is the default for Haiku. | 
| Chris@4 | 13322       # The "-static" flag exists, but is broken. | 
| Chris@4 | 13323       lt_prog_compiler_static_CXX= | 
| Chris@4 | 13324       ;; | 
| Chris@4 | 13325     interix[3-9]*) | 
| Chris@4 | 13326       # Interix 3.x gcc -fpic/-fPIC options generate broken code. | 
| Chris@4 | 13327       # Instead, we relocate shared libraries at runtime. | 
| Chris@4 | 13328       ;; | 
| Chris@4 | 13329     sysv4*MP*) | 
| Chris@4 | 13330       if test -d /usr/nec; then | 
| Chris@4 | 13331 	lt_prog_compiler_pic_CXX=-Kconform_pic | 
| Chris@4 | 13332       fi | 
| Chris@4 | 13333       ;; | 
| Chris@4 | 13334     hpux*) | 
| Chris@4 | 13335       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit | 
| Chris@4 | 13336       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag | 
| Chris@4 | 13337       # sets the default TLS model and affects inlining. | 
| Chris@4 | 13338       case $host_cpu in | 
| Chris@4 | 13339       hppa*64*) | 
| Chris@4 | 13340 	;; | 
| Chris@4 | 13341       *) | 
| Chris@4 | 13342 	lt_prog_compiler_pic_CXX='-fPIC' | 
| Chris@4 | 13343 	;; | 
| Chris@4 | 13344       esac | 
| Chris@4 | 13345       ;; | 
| Chris@4 | 13346     *qnx* | *nto*) | 
| Chris@4 | 13347       # QNX uses GNU C++, but need to define -shared option too, otherwise | 
| Chris@4 | 13348       # it will coredump. | 
| Chris@4 | 13349       lt_prog_compiler_pic_CXX='-fPIC -shared' | 
| Chris@4 | 13350       ;; | 
| Chris@4 | 13351     *) | 
| Chris@4 | 13352       lt_prog_compiler_pic_CXX='-fPIC' | 
| Chris@4 | 13353       ;; | 
| Chris@4 | 13354     esac | 
| Chris@4 | 13355   else | 
| Chris@4 | 13356     case $host_os in | 
| Chris@4 | 13357       aix[4-9]*) | 
| Chris@4 | 13358 	# All AIX code is PIC. | 
| Chris@4 | 13359 	if test "$host_cpu" = ia64; then | 
| Chris@4 | 13360 	  # AIX 5 now supports IA64 processor | 
| Chris@4 | 13361 	  lt_prog_compiler_static_CXX='-Bstatic' | 
| Chris@4 | 13362 	else | 
| Chris@4 | 13363 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp' | 
| Chris@4 | 13364 	fi | 
| Chris@4 | 13365 	;; | 
| Chris@4 | 13366       chorus*) | 
| Chris@4 | 13367 	case $cc_basename in | 
| Chris@4 | 13368 	cxch68*) | 
| Chris@4 | 13369 	  # Green Hills C++ Compiler | 
| Chris@4 | 13370 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a" | 
| Chris@4 | 13371 	  ;; | 
| Chris@4 | 13372 	esac | 
| Chris@4 | 13373 	;; | 
| Chris@4 | 13374       mingw* | cygwin* | os2* | pw32* | cegcc*) | 
| Chris@4 | 13375 	# This hack is so that the source file can tell whether it is being | 
| Chris@4 | 13376 	# built for inclusion in a dll (and should export symbols for example). | 
| Chris@4 | 13377 	lt_prog_compiler_pic_CXX='-DDLL_EXPORT' | 
| Chris@4 | 13378 	;; | 
| Chris@4 | 13379       dgux*) | 
| Chris@4 | 13380 	case $cc_basename in | 
| Chris@4 | 13381 	  ec++*) | 
| Chris@4 | 13382 	    lt_prog_compiler_pic_CXX='-KPIC' | 
| Chris@4 | 13383 	    ;; | 
| Chris@4 | 13384 	  ghcx*) | 
| Chris@4 | 13385 	    # Green Hills C++ Compiler | 
| Chris@4 | 13386 	    lt_prog_compiler_pic_CXX='-pic' | 
| Chris@4 | 13387 	    ;; | 
| Chris@4 | 13388 	  *) | 
| Chris@4 | 13389 	    ;; | 
| Chris@4 | 13390 	esac | 
| Chris@4 | 13391 	;; | 
| Chris@4 | 13392       freebsd* | dragonfly*) | 
| Chris@4 | 13393 	# FreeBSD uses GNU C++ | 
| Chris@4 | 13394 	;; | 
| Chris@4 | 13395       hpux9* | hpux10* | hpux11*) | 
| Chris@4 | 13396 	case $cc_basename in | 
| Chris@4 | 13397 	  CC*) | 
| Chris@4 | 13398 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13399 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' | 
| Chris@4 | 13400 	    if test "$host_cpu" != ia64; then | 
| Chris@4 | 13401 	      lt_prog_compiler_pic_CXX='+Z' | 
| Chris@4 | 13402 	    fi | 
| Chris@4 | 13403 	    ;; | 
| Chris@4 | 13404 	  aCC*) | 
| Chris@4 | 13405 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13406 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive' | 
| Chris@4 | 13407 	    case $host_cpu in | 
| Chris@4 | 13408 	    hppa*64*|ia64*) | 
| Chris@4 | 13409 	      # +Z the default | 
| Chris@4 | 13410 	      ;; | 
| Chris@4 | 13411 	    *) | 
| Chris@4 | 13412 	      lt_prog_compiler_pic_CXX='+Z' | 
| Chris@4 | 13413 	      ;; | 
| Chris@4 | 13414 	    esac | 
| Chris@4 | 13415 	    ;; | 
| Chris@4 | 13416 	  *) | 
| Chris@4 | 13417 	    ;; | 
| Chris@4 | 13418 	esac | 
| Chris@4 | 13419 	;; | 
| Chris@4 | 13420       interix*) | 
| Chris@4 | 13421 	# This is c89, which is MS Visual C++ (no shared libs) | 
| Chris@4 | 13422 	# Anyone wants to do a port? | 
| Chris@4 | 13423 	;; | 
| Chris@4 | 13424       irix5* | irix6* | nonstopux*) | 
| Chris@4 | 13425 	case $cc_basename in | 
| Chris@4 | 13426 	  CC*) | 
| Chris@4 | 13427 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13428 	    lt_prog_compiler_static_CXX='-non_shared' | 
| Chris@4 | 13429 	    # CC pic flag -KPIC is the default. | 
| Chris@4 | 13430 	    ;; | 
| Chris@4 | 13431 	  *) | 
| Chris@4 | 13432 	    ;; | 
| Chris@4 | 13433 	esac | 
| Chris@4 | 13434 	;; | 
| Chris@4 | 13435       linux* | k*bsd*-gnu | kopensolaris*-gnu) | 
| Chris@4 | 13436 	case $cc_basename in | 
| Chris@4 | 13437 	  KCC*) | 
| Chris@4 | 13438 	    # KAI C++ Compiler | 
| Chris@4 | 13439 	    lt_prog_compiler_wl_CXX='--backend -Wl,' | 
| Chris@4 | 13440 	    lt_prog_compiler_pic_CXX='-fPIC' | 
| Chris@4 | 13441 	    ;; | 
| Chris@4 | 13442 	  ecpc* ) | 
| Chris@4 | 13443 	    # old Intel C++ for x86_64 which still supported -KPIC. | 
| Chris@4 | 13444 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13445 	    lt_prog_compiler_pic_CXX='-KPIC' | 
| Chris@4 | 13446 	    lt_prog_compiler_static_CXX='-static' | 
| Chris@4 | 13447 	    ;; | 
| Chris@4 | 13448 	  icpc* ) | 
| Chris@4 | 13449 	    # Intel C++, used to be incompatible with GCC. | 
| Chris@4 | 13450 	    # ICC 10 doesn't accept -KPIC any more. | 
| Chris@4 | 13451 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13452 	    lt_prog_compiler_pic_CXX='-fPIC' | 
| Chris@4 | 13453 	    lt_prog_compiler_static_CXX='-static' | 
| Chris@4 | 13454 	    ;; | 
| Chris@4 | 13455 	  pgCC* | pgcpp*) | 
| Chris@4 | 13456 	    # Portland Group C++ compiler | 
| Chris@4 | 13457 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13458 	    lt_prog_compiler_pic_CXX='-fpic' | 
| Chris@4 | 13459 	    lt_prog_compiler_static_CXX='-Bstatic' | 
| Chris@4 | 13460 	    ;; | 
| Chris@4 | 13461 	  cxx*) | 
| Chris@4 | 13462 	    # Compaq C++ | 
| Chris@4 | 13463 	    # Make sure the PIC flag is empty.  It appears that all Alpha | 
| Chris@4 | 13464 	    # Linux and Compaq Tru64 Unix objects are PIC. | 
| Chris@4 | 13465 	    lt_prog_compiler_pic_CXX= | 
| Chris@4 | 13466 	    lt_prog_compiler_static_CXX='-non_shared' | 
| Chris@4 | 13467 	    ;; | 
| Chris@4 | 13468 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*) | 
| Chris@4 | 13469 	    # IBM XL 8.0, 9.0 on PPC and BlueGene | 
| Chris@4 | 13470 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13471 	    lt_prog_compiler_pic_CXX='-qpic' | 
| Chris@4 | 13472 	    lt_prog_compiler_static_CXX='-qstaticlink' | 
| Chris@4 | 13473 	    ;; | 
| Chris@4 | 13474 	  *) | 
| Chris@4 | 13475 	    case `$CC -V 2>&1 | sed 5q` in | 
| Chris@4 | 13476 	    *Sun\ C*) | 
| Chris@4 | 13477 	      # Sun C++ 5.9 | 
| Chris@4 | 13478 	      lt_prog_compiler_pic_CXX='-KPIC' | 
| Chris@4 | 13479 	      lt_prog_compiler_static_CXX='-Bstatic' | 
| Chris@4 | 13480 	      lt_prog_compiler_wl_CXX='-Qoption ld ' | 
| Chris@4 | 13481 	      ;; | 
| Chris@4 | 13482 	    esac | 
| Chris@4 | 13483 	    ;; | 
| Chris@4 | 13484 	esac | 
| Chris@4 | 13485 	;; | 
| Chris@4 | 13486       lynxos*) | 
| Chris@4 | 13487 	;; | 
| Chris@4 | 13488       m88k*) | 
| Chris@4 | 13489 	;; | 
| Chris@4 | 13490       mvs*) | 
| Chris@4 | 13491 	case $cc_basename in | 
| Chris@4 | 13492 	  cxx*) | 
| Chris@4 | 13493 	    lt_prog_compiler_pic_CXX='-W c,exportall' | 
| Chris@4 | 13494 	    ;; | 
| Chris@4 | 13495 	  *) | 
| Chris@4 | 13496 	    ;; | 
| Chris@4 | 13497 	esac | 
| Chris@4 | 13498 	;; | 
| Chris@4 | 13499       netbsd* | netbsdelf*-gnu) | 
| Chris@4 | 13500 	;; | 
| Chris@4 | 13501       *qnx* | *nto*) | 
| Chris@4 | 13502         # QNX uses GNU C++, but need to define -shared option too, otherwise | 
| Chris@4 | 13503         # it will coredump. | 
| Chris@4 | 13504         lt_prog_compiler_pic_CXX='-fPIC -shared' | 
| Chris@4 | 13505         ;; | 
| Chris@4 | 13506       osf3* | osf4* | osf5*) | 
| Chris@4 | 13507 	case $cc_basename in | 
| Chris@4 | 13508 	  KCC*) | 
| Chris@4 | 13509 	    lt_prog_compiler_wl_CXX='--backend -Wl,' | 
| Chris@4 | 13510 	    ;; | 
| Chris@4 | 13511 	  RCC*) | 
| Chris@4 | 13512 	    # Rational C++ 2.4.1 | 
| Chris@4 | 13513 	    lt_prog_compiler_pic_CXX='-pic' | 
| Chris@4 | 13514 	    ;; | 
| Chris@4 | 13515 	  cxx*) | 
| Chris@4 | 13516 	    # Digital/Compaq C++ | 
| Chris@4 | 13517 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13518 	    # Make sure the PIC flag is empty.  It appears that all Alpha | 
| Chris@4 | 13519 	    # Linux and Compaq Tru64 Unix objects are PIC. | 
| Chris@4 | 13520 	    lt_prog_compiler_pic_CXX= | 
| Chris@4 | 13521 	    lt_prog_compiler_static_CXX='-non_shared' | 
| Chris@4 | 13522 	    ;; | 
| Chris@4 | 13523 	  *) | 
| Chris@4 | 13524 	    ;; | 
| Chris@4 | 13525 	esac | 
| Chris@4 | 13526 	;; | 
| Chris@4 | 13527       psos*) | 
| Chris@4 | 13528 	;; | 
| Chris@4 | 13529       solaris*) | 
| Chris@4 | 13530 	case $cc_basename in | 
| Chris@4 | 13531 	  CC* | sunCC*) | 
| Chris@4 | 13532 	    # Sun C++ 4.2, 5.x and Centerline C++ | 
| Chris@4 | 13533 	    lt_prog_compiler_pic_CXX='-KPIC' | 
| Chris@4 | 13534 	    lt_prog_compiler_static_CXX='-Bstatic' | 
| Chris@4 | 13535 	    lt_prog_compiler_wl_CXX='-Qoption ld ' | 
| Chris@4 | 13536 	    ;; | 
| Chris@4 | 13537 	  gcx*) | 
| Chris@4 | 13538 	    # Green Hills C++ Compiler | 
| Chris@4 | 13539 	    lt_prog_compiler_pic_CXX='-PIC' | 
| Chris@4 | 13540 	    ;; | 
| Chris@4 | 13541 	  *) | 
| Chris@4 | 13542 	    ;; | 
| Chris@4 | 13543 	esac | 
| Chris@4 | 13544 	;; | 
| Chris@4 | 13545       sunos4*) | 
| Chris@4 | 13546 	case $cc_basename in | 
| Chris@4 | 13547 	  CC*) | 
| Chris@4 | 13548 	    # Sun C++ 4.x | 
| Chris@4 | 13549 	    lt_prog_compiler_pic_CXX='-pic' | 
| Chris@4 | 13550 	    lt_prog_compiler_static_CXX='-Bstatic' | 
| Chris@4 | 13551 	    ;; | 
| Chris@4 | 13552 	  lcc*) | 
| Chris@4 | 13553 	    # Lucid | 
| Chris@4 | 13554 	    lt_prog_compiler_pic_CXX='-pic' | 
| Chris@4 | 13555 	    ;; | 
| Chris@4 | 13556 	  *) | 
| Chris@4 | 13557 	    ;; | 
| Chris@4 | 13558 	esac | 
| Chris@4 | 13559 	;; | 
| Chris@4 | 13560       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*) | 
| Chris@4 | 13561 	case $cc_basename in | 
| Chris@4 | 13562 	  CC*) | 
| Chris@4 | 13563 	    lt_prog_compiler_wl_CXX='-Wl,' | 
| Chris@4 | 13564 	    lt_prog_compiler_pic_CXX='-KPIC' | 
| Chris@4 | 13565 	    lt_prog_compiler_static_CXX='-Bstatic' | 
| Chris@4 | 13566 	    ;; | 
| Chris@4 | 13567 	esac | 
| Chris@4 | 13568 	;; | 
| Chris@4 | 13569       tandem*) | 
| Chris@4 | 13570 	case $cc_basename in | 
| Chris@4 | 13571 	  NCC*) | 
| Chris@4 | 13572 	    # NonStop-UX NCC 3.20 | 
| Chris@4 | 13573 	    lt_prog_compiler_pic_CXX='-KPIC' | 
| Chris@4 | 13574 	    ;; | 
| Chris@4 | 13575 	  *) | 
| Chris@4 | 13576 	    ;; | 
| Chris@4 | 13577 	esac | 
| Chris@4 | 13578 	;; | 
| Chris@4 | 13579       vxworks*) | 
| Chris@4 | 13580 	;; | 
| Chris@4 | 13581       *) | 
| Chris@4 | 13582 	lt_prog_compiler_can_build_shared_CXX=no | 
| Chris@4 | 13583 	;; | 
| Chris@4 | 13584     esac | 
| Chris@4 | 13585   fi | 
| Chris@4 | 13586 | 
| Chris@4 | 13587 case $host_os in | 
| Chris@4 | 13588   # For platforms which do not support PIC, -DPIC is meaningless: | 
| Chris@4 | 13589   *djgpp*) | 
| Chris@4 | 13590     lt_prog_compiler_pic_CXX= | 
| Chris@4 | 13591     ;; | 
| Chris@4 | 13592   *) | 
| Chris@4 | 13593     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" | 
| Chris@4 | 13594     ;; | 
| Chris@4 | 13595 esac | 
| Chris@4 | 13596 | 
| Chris@4 | 13597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 | 
| Chris@4 | 13598 $as_echo_n "checking for $compiler option to produce PIC... " >&6; } | 
| Chris@4 | 13599 if ${lt_cv_prog_compiler_pic_CXX+:} false; then : | 
| Chris@4 | 13600   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 13601 else | 
| Chris@4 | 13602   lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX | 
| Chris@4 | 13603 fi | 
| Chris@4 | 13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5 | 
| Chris@4 | 13605 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; } | 
| Chris@4 | 13606 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX | 
| Chris@4 | 13607 | 
| Chris@4 | 13608 # | 
| Chris@4 | 13609 # Check to make sure the PIC flag actually works. | 
| Chris@4 | 13610 # | 
| Chris@4 | 13611 if test -n "$lt_prog_compiler_pic_CXX"; then | 
| Chris@4 | 13612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 | 
| Chris@4 | 13613 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } | 
| Chris@4 | 13614 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then : | 
| Chris@4 | 13615   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 13616 else | 
| Chris@4 | 13617   lt_cv_prog_compiler_pic_works_CXX=no | 
| Chris@4 | 13618    ac_outfile=conftest.$ac_objext | 
| Chris@4 | 13619    echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 13620    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" | 
| Chris@4 | 13621    # Insert the option either (1) after the last *FLAGS variable, or | 
| Chris@4 | 13622    # (2) before a word containing "conftest.", or (3) at the end. | 
| Chris@4 | 13623    # Note that $ac_compile itself does not contain backslashes and begins | 
| Chris@4 | 13624    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
| Chris@4 | 13625    # The option is referenced via a variable to avoid confusing sed. | 
| Chris@4 | 13626    lt_compile=`echo "$ac_compile" | $SED \ | 
| Chris@4 | 13627    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 
| Chris@4 | 13628    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
| Chris@4 | 13629    -e 's:$: $lt_compiler_flag:'` | 
| Chris@4 | 13630    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 
| Chris@4 | 13631    (eval "$lt_compile" 2>conftest.err) | 
| Chris@4 | 13632    ac_status=$? | 
| Chris@4 | 13633    cat conftest.err >&5 | 
| Chris@4 | 13634    echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| Chris@4 | 13635    if (exit $ac_status) && test -s "$ac_outfile"; then | 
| Chris@4 | 13636      # The compiler can only warn and ignore the option if not recognized | 
| Chris@4 | 13637      # So say no if there are warnings other than the usual output. | 
| Chris@4 | 13638      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp | 
| Chris@4 | 13639      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 
| Chris@4 | 13640      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then | 
| Chris@4 | 13641        lt_cv_prog_compiler_pic_works_CXX=yes | 
| Chris@4 | 13642      fi | 
| Chris@4 | 13643    fi | 
| Chris@4 | 13644    $RM conftest* | 
| Chris@4 | 13645 | 
| Chris@4 | 13646 fi | 
| Chris@4 | 13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 | 
| Chris@4 | 13648 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } | 
| Chris@4 | 13649 | 
| Chris@4 | 13650 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then | 
| Chris@4 | 13651     case $lt_prog_compiler_pic_CXX in | 
| Chris@4 | 13652      "" | " "*) ;; | 
| Chris@4 | 13653      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;; | 
| Chris@4 | 13654      esac | 
| Chris@4 | 13655 else | 
| Chris@4 | 13656     lt_prog_compiler_pic_CXX= | 
| Chris@4 | 13657      lt_prog_compiler_can_build_shared_CXX=no | 
| Chris@4 | 13658 fi | 
| Chris@4 | 13659 | 
| Chris@4 | 13660 fi | 
| Chris@4 | 13661 | 
| Chris@4 | 13662 | 
| Chris@4 | 13663 | 
| Chris@4 | 13664 | 
| Chris@4 | 13665 | 
| Chris@4 | 13666 # | 
| Chris@4 | 13667 # Check to make sure the static flag actually works. | 
| Chris@4 | 13668 # | 
| Chris@4 | 13669 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" | 
| Chris@4 | 13670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 | 
| Chris@4 | 13671 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } | 
| Chris@4 | 13672 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then : | 
| Chris@4 | 13673   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 13674 else | 
| Chris@4 | 13675   lt_cv_prog_compiler_static_works_CXX=no | 
| Chris@4 | 13676    save_LDFLAGS="$LDFLAGS" | 
| Chris@4 | 13677    LDFLAGS="$LDFLAGS $lt_tmp_static_flag" | 
| Chris@4 | 13678    echo "$lt_simple_link_test_code" > conftest.$ac_ext | 
| Chris@4 | 13679    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then | 
| Chris@4 | 13680      # The linker can only warn and ignore the option if not recognized | 
| Chris@4 | 13681      # So say no if there are warnings | 
| Chris@4 | 13682      if test -s conftest.err; then | 
| Chris@4 | 13683        # Append any errors to the config.log. | 
| Chris@4 | 13684        cat conftest.err 1>&5 | 
| Chris@4 | 13685        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp | 
| Chris@4 | 13686        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 
| Chris@4 | 13687        if diff conftest.exp conftest.er2 >/dev/null; then | 
| Chris@4 | 13688          lt_cv_prog_compiler_static_works_CXX=yes | 
| Chris@4 | 13689        fi | 
| Chris@4 | 13690      else | 
| Chris@4 | 13691        lt_cv_prog_compiler_static_works_CXX=yes | 
| Chris@4 | 13692      fi | 
| Chris@4 | 13693    fi | 
| Chris@4 | 13694    $RM -r conftest* | 
| Chris@4 | 13695    LDFLAGS="$save_LDFLAGS" | 
| Chris@4 | 13696 | 
| Chris@4 | 13697 fi | 
| Chris@4 | 13698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 | 
| Chris@4 | 13699 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } | 
| Chris@4 | 13700 | 
| Chris@4 | 13701 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then | 
| Chris@4 | 13702     : | 
| Chris@4 | 13703 else | 
| Chris@4 | 13704     lt_prog_compiler_static_CXX= | 
| Chris@4 | 13705 fi | 
| Chris@4 | 13706 | 
| Chris@4 | 13707 | 
| Chris@4 | 13708 | 
| Chris@4 | 13709 | 
| Chris@4 | 13710     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
| Chris@4 | 13711 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | 
| Chris@4 | 13712 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : | 
| Chris@4 | 13713   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 13714 else | 
| Chris@4 | 13715   lt_cv_prog_compiler_c_o_CXX=no | 
| Chris@4 | 13716    $RM -r conftest 2>/dev/null | 
| Chris@4 | 13717    mkdir conftest | 
| Chris@4 | 13718    cd conftest | 
| Chris@4 | 13719    mkdir out | 
| Chris@4 | 13720    echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 13721 | 
| Chris@4 | 13722    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
| Chris@4 | 13723    # Insert the option either (1) after the last *FLAGS variable, or | 
| Chris@4 | 13724    # (2) before a word containing "conftest.", or (3) at the end. | 
| Chris@4 | 13725    # Note that $ac_compile itself does not contain backslashes and begins | 
| Chris@4 | 13726    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
| Chris@4 | 13727    lt_compile=`echo "$ac_compile" | $SED \ | 
| Chris@4 | 13728    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 
| Chris@4 | 13729    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
| Chris@4 | 13730    -e 's:$: $lt_compiler_flag:'` | 
| Chris@4 | 13731    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 
| Chris@4 | 13732    (eval "$lt_compile" 2>out/conftest.err) | 
| Chris@4 | 13733    ac_status=$? | 
| Chris@4 | 13734    cat out/conftest.err >&5 | 
| Chris@4 | 13735    echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| Chris@4 | 13736    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
| Chris@4 | 13737    then | 
| Chris@4 | 13738      # The compiler can only warn and ignore the option if not recognized | 
| Chris@4 | 13739      # So say no if there are warnings | 
| Chris@4 | 13740      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | 
| Chris@4 | 13741      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | 
| Chris@4 | 13742      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 
| Chris@4 | 13743        lt_cv_prog_compiler_c_o_CXX=yes | 
| Chris@4 | 13744      fi | 
| Chris@4 | 13745    fi | 
| Chris@4 | 13746    chmod u+w . 2>&5 | 
| Chris@4 | 13747    $RM conftest* | 
| Chris@4 | 13748    # SGI C++ compiler will create directory out/ii_files/ for | 
| Chris@4 | 13749    # template instantiation | 
| Chris@4 | 13750    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | 
| Chris@4 | 13751    $RM out/* && rmdir out | 
| Chris@4 | 13752    cd .. | 
| Chris@4 | 13753    $RM -r conftest | 
| Chris@4 | 13754    $RM conftest* | 
| Chris@4 | 13755 | 
| Chris@4 | 13756 fi | 
| Chris@4 | 13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | 
| Chris@4 | 13758 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } | 
| Chris@4 | 13759 | 
| Chris@4 | 13760 | 
| Chris@4 | 13761 | 
| Chris@4 | 13762     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 | 
| Chris@4 | 13763 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } | 
| Chris@4 | 13764 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then : | 
| Chris@4 | 13765   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 13766 else | 
| Chris@4 | 13767   lt_cv_prog_compiler_c_o_CXX=no | 
| Chris@4 | 13768    $RM -r conftest 2>/dev/null | 
| Chris@4 | 13769    mkdir conftest | 
| Chris@4 | 13770    cd conftest | 
| Chris@4 | 13771    mkdir out | 
| Chris@4 | 13772    echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 13773 | 
| Chris@4 | 13774    lt_compiler_flag="-o out/conftest2.$ac_objext" | 
| Chris@4 | 13775    # Insert the option either (1) after the last *FLAGS variable, or | 
| Chris@4 | 13776    # (2) before a word containing "conftest.", or (3) at the end. | 
| Chris@4 | 13777    # Note that $ac_compile itself does not contain backslashes and begins | 
| Chris@4 | 13778    # with a dollar sign (not a hyphen), so the echo should work correctly. | 
| Chris@4 | 13779    lt_compile=`echo "$ac_compile" | $SED \ | 
| Chris@4 | 13780    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ | 
| Chris@4 | 13781    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ | 
| Chris@4 | 13782    -e 's:$: $lt_compiler_flag:'` | 
| Chris@4 | 13783    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5) | 
| Chris@4 | 13784    (eval "$lt_compile" 2>out/conftest.err) | 
| Chris@4 | 13785    ac_status=$? | 
| Chris@4 | 13786    cat out/conftest.err >&5 | 
| Chris@4 | 13787    echo "$as_me:$LINENO: \$? = $ac_status" >&5 | 
| Chris@4 | 13788    if (exit $ac_status) && test -s out/conftest2.$ac_objext | 
| Chris@4 | 13789    then | 
| Chris@4 | 13790      # The compiler can only warn and ignore the option if not recognized | 
| Chris@4 | 13791      # So say no if there are warnings | 
| Chris@4 | 13792      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp | 
| Chris@4 | 13793      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2 | 
| Chris@4 | 13794      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then | 
| Chris@4 | 13795        lt_cv_prog_compiler_c_o_CXX=yes | 
| Chris@4 | 13796      fi | 
| Chris@4 | 13797    fi | 
| Chris@4 | 13798    chmod u+w . 2>&5 | 
| Chris@4 | 13799    $RM conftest* | 
| Chris@4 | 13800    # SGI C++ compiler will create directory out/ii_files/ for | 
| Chris@4 | 13801    # template instantiation | 
| Chris@4 | 13802    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files | 
| Chris@4 | 13803    $RM out/* && rmdir out | 
| Chris@4 | 13804    cd .. | 
| Chris@4 | 13805    $RM -r conftest | 
| Chris@4 | 13806    $RM conftest* | 
| Chris@4 | 13807 | 
| Chris@4 | 13808 fi | 
| Chris@4 | 13809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 | 
| Chris@4 | 13810 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } | 
| Chris@4 | 13811 | 
| Chris@4 | 13812 | 
| Chris@4 | 13813 | 
| Chris@4 | 13814 | 
| Chris@4 | 13815 hard_links="nottested" | 
| Chris@4 | 13816 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then | 
| Chris@4 | 13817   # do not overwrite the value of need_locks provided by the user | 
| Chris@4 | 13818   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 | 
| Chris@4 | 13819 $as_echo_n "checking if we can lock with hard links... " >&6; } | 
| Chris@4 | 13820   hard_links=yes | 
| Chris@4 | 13821   $RM conftest* | 
| Chris@4 | 13822   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
| Chris@4 | 13823   touch conftest.a | 
| Chris@4 | 13824   ln conftest.a conftest.b 2>&5 || hard_links=no | 
| Chris@4 | 13825   ln conftest.a conftest.b 2>/dev/null && hard_links=no | 
| Chris@4 | 13826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 | 
| Chris@4 | 13827 $as_echo "$hard_links" >&6; } | 
| Chris@4 | 13828   if test "$hard_links" = no; then | 
| Chris@4 | 13829     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 | 
| Chris@4 | 13830 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} | 
| Chris@4 | 13831     need_locks=warn | 
| Chris@4 | 13832   fi | 
| Chris@4 | 13833 else | 
| Chris@4 | 13834   need_locks=no | 
| Chris@4 | 13835 fi | 
| Chris@4 | 13836 | 
| Chris@4 | 13837 | 
| Chris@4 | 13838 | 
| Chris@4 | 13839     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 | 
| Chris@4 | 13840 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } | 
| Chris@4 | 13841 | 
| Chris@4 | 13842   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
| Chris@4 | 13843   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' | 
| Chris@4 | 13844   case $host_os in | 
| Chris@4 | 13845   aix[4-9]*) | 
| Chris@4 | 13846     # If we're using GNU nm, then we don't want the "-C" option. | 
| Chris@4 | 13847     # -C means demangle to AIX nm, but means don't demangle with GNU nm | 
| Chris@4 | 13848     # Also, AIX nm treats weak defined symbols like other global defined | 
| Chris@4 | 13849     # symbols, whereas GNU nm marks them as "W". | 
| Chris@4 | 13850     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then | 
| Chris@4 | 13851       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 
| Chris@4 | 13852     else | 
| Chris@4 | 13853       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols' | 
| Chris@4 | 13854     fi | 
| Chris@4 | 13855     ;; | 
| Chris@4 | 13856   pw32*) | 
| Chris@4 | 13857     export_symbols_cmds_CXX="$ltdll_cmds" | 
| Chris@4 | 13858     ;; | 
| Chris@4 | 13859   cygwin* | mingw* | cegcc*) | 
| Chris@4 | 13860     case $cc_basename in | 
| Chris@4 | 13861     cl*) ;; | 
| Chris@4 | 13862     *) | 
| Chris@4 | 13863       export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols' | 
| Chris@4 | 13864       exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname' | 
| Chris@4 | 13865       ;; | 
| Chris@4 | 13866     esac | 
| Chris@4 | 13867     ;; | 
| Chris@4 | 13868   linux* | k*bsd*-gnu | gnu*) | 
| Chris@4 | 13869     link_all_deplibs_CXX=no | 
| Chris@4 | 13870     ;; | 
| Chris@4 | 13871   *) | 
| Chris@4 | 13872     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 
| Chris@4 | 13873     ;; | 
| Chris@4 | 13874   esac | 
| Chris@4 | 13875 | 
| Chris@4 | 13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 | 
| Chris@4 | 13877 $as_echo "$ld_shlibs_CXX" >&6; } | 
| Chris@4 | 13878 test "$ld_shlibs_CXX" = no && can_build_shared=no | 
| Chris@4 | 13879 | 
| Chris@4 | 13880 with_gnu_ld_CXX=$with_gnu_ld | 
| Chris@4 | 13881 | 
| Chris@4 | 13882 | 
| Chris@4 | 13883 | 
| Chris@4 | 13884 | 
| Chris@4 | 13885 | 
| Chris@4 | 13886 | 
| Chris@4 | 13887 # | 
| Chris@4 | 13888 # Do we need to explicitly link libc? | 
| Chris@4 | 13889 # | 
| Chris@4 | 13890 case "x$archive_cmds_need_lc_CXX" in | 
| Chris@4 | 13891 x|xyes) | 
| Chris@4 | 13892   # Assume -lc should be added | 
| Chris@4 | 13893   archive_cmds_need_lc_CXX=yes | 
| Chris@4 | 13894 | 
| Chris@4 | 13895   if test "$enable_shared" = yes && test "$GCC" = yes; then | 
| Chris@4 | 13896     case $archive_cmds_CXX in | 
| Chris@4 | 13897     *'~'*) | 
| Chris@4 | 13898       # FIXME: we may have to deal with multi-command sequences. | 
| Chris@4 | 13899       ;; | 
| Chris@4 | 13900     '$CC '*) | 
| Chris@4 | 13901       # Test whether the compiler implicitly links with -lc since on some | 
| Chris@4 | 13902       # systems, -lgcc has to come before -lc. If gcc already passes -lc | 
| Chris@4 | 13903       # to ld, don't add -lc before -lgcc. | 
| Chris@4 | 13904       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 | 
| Chris@4 | 13905 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } | 
| Chris@4 | 13906 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then : | 
| Chris@4 | 13907   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 13908 else | 
| Chris@4 | 13909   $RM conftest* | 
| Chris@4 | 13910 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext | 
| Chris@4 | 13911 | 
| Chris@4 | 13912 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 | 
| Chris@4 | 13913   (eval $ac_compile) 2>&5 | 
| Chris@4 | 13914   ac_status=$? | 
| Chris@4 | 13915   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 13916   test $ac_status = 0; } 2>conftest.err; then | 
| Chris@4 | 13917 	  soname=conftest | 
| Chris@4 | 13918 	  lib=conftest | 
| Chris@4 | 13919 	  libobjs=conftest.$ac_objext | 
| Chris@4 | 13920 	  deplibs= | 
| Chris@4 | 13921 	  wl=$lt_prog_compiler_wl_CXX | 
| Chris@4 | 13922 	  pic_flag=$lt_prog_compiler_pic_CXX | 
| Chris@4 | 13923 	  compiler_flags=-v | 
| Chris@4 | 13924 	  linker_flags=-v | 
| Chris@4 | 13925 	  verstring= | 
| Chris@4 | 13926 	  output_objdir=. | 
| Chris@4 | 13927 	  libname=conftest | 
| Chris@4 | 13928 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX | 
| Chris@4 | 13929 	  allow_undefined_flag_CXX= | 
| Chris@4 | 13930 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 | 
| Chris@4 | 13931   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 | 
| Chris@4 | 13932   ac_status=$? | 
| Chris@4 | 13933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 13934   test $ac_status = 0; } | 
| Chris@4 | 13935 	  then | 
| Chris@4 | 13936 	    lt_cv_archive_cmds_need_lc_CXX=no | 
| Chris@4 | 13937 	  else | 
| Chris@4 | 13938 	    lt_cv_archive_cmds_need_lc_CXX=yes | 
| Chris@4 | 13939 	  fi | 
| Chris@4 | 13940 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag | 
| Chris@4 | 13941 	else | 
| Chris@4 | 13942 	  cat conftest.err 1>&5 | 
| Chris@4 | 13943 	fi | 
| Chris@4 | 13944 	$RM conftest* | 
| Chris@4 | 13945 | 
| Chris@4 | 13946 fi | 
| Chris@4 | 13947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5 | 
| Chris@4 | 13948 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; } | 
| Chris@4 | 13949       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX | 
| Chris@4 | 13950       ;; | 
| Chris@4 | 13951     esac | 
| Chris@4 | 13952   fi | 
| Chris@4 | 13953   ;; | 
| Chris@4 | 13954 esac | 
| Chris@4 | 13955 | 
| Chris@4 | 13956 | 
| Chris@4 | 13957 | 
| Chris@4 | 13958 | 
| Chris@4 | 13959 | 
| Chris@4 | 13960 | 
| Chris@4 | 13961 | 
| Chris@4 | 13962 | 
| Chris@4 | 13963 | 
| Chris@4 | 13964 | 
| Chris@4 | 13965 | 
| Chris@4 | 13966 | 
| Chris@4 | 13967 | 
| Chris@4 | 13968 | 
| Chris@4 | 13969 | 
| Chris@4 | 13970 | 
| Chris@4 | 13971 | 
| Chris@4 | 13972 | 
| Chris@4 | 13973 | 
| Chris@4 | 13974 | 
| Chris@4 | 13975 | 
| Chris@4 | 13976 | 
| Chris@4 | 13977 | 
| Chris@4 | 13978 | 
| Chris@4 | 13979 | 
| Chris@4 | 13980 | 
| Chris@4 | 13981 | 
| Chris@4 | 13982 | 
| Chris@4 | 13983 | 
| Chris@4 | 13984 | 
| Chris@4 | 13985 | 
| Chris@4 | 13986 | 
| Chris@4 | 13987 | 
| Chris@4 | 13988 | 
| Chris@4 | 13989 | 
| Chris@4 | 13990 | 
| Chris@4 | 13991 | 
| Chris@4 | 13992 | 
| Chris@4 | 13993 | 
| Chris@4 | 13994 | 
| Chris@4 | 13995 | 
| Chris@4 | 13996 | 
| Chris@4 | 13997 | 
| Chris@4 | 13998 | 
| Chris@4 | 13999 | 
| Chris@4 | 14000 | 
| Chris@4 | 14001 | 
| Chris@4 | 14002 | 
| Chris@4 | 14003 | 
| Chris@4 | 14004 | 
| Chris@4 | 14005 | 
| Chris@4 | 14006 | 
| Chris@4 | 14007 | 
| Chris@4 | 14008 | 
| Chris@4 | 14009 | 
| Chris@4 | 14010 | 
| Chris@4 | 14011 | 
| Chris@4 | 14012 | 
| Chris@4 | 14013 | 
| Chris@4 | 14014 | 
| Chris@4 | 14015 | 
| Chris@4 | 14016 | 
| Chris@4 | 14017 | 
| Chris@4 | 14018 | 
| Chris@4 | 14019     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 | 
| Chris@4 | 14020 $as_echo_n "checking dynamic linker characteristics... " >&6; } | 
| Chris@4 | 14021 | 
| Chris@4 | 14022 library_names_spec= | 
| Chris@4 | 14023 libname_spec='lib$name' | 
| Chris@4 | 14024 soname_spec= | 
| Chris@4 | 14025 shrext_cmds=".so" | 
| Chris@4 | 14026 postinstall_cmds= | 
| Chris@4 | 14027 postuninstall_cmds= | 
| Chris@4 | 14028 finish_cmds= | 
| Chris@4 | 14029 finish_eval= | 
| Chris@4 | 14030 shlibpath_var= | 
| Chris@4 | 14031 shlibpath_overrides_runpath=unknown | 
| Chris@4 | 14032 version_type=none | 
| Chris@4 | 14033 dynamic_linker="$host_os ld.so" | 
| Chris@4 | 14034 sys_lib_dlsearch_path_spec="/lib /usr/lib" | 
| Chris@4 | 14035 need_lib_prefix=unknown | 
| Chris@4 | 14036 hardcode_into_libs=no | 
| Chris@4 | 14037 | 
| Chris@4 | 14038 # when you set need_version to no, make sure it does not cause -set_version | 
| Chris@4 | 14039 # flags to be left without arguments | 
| Chris@4 | 14040 need_version=unknown | 
| Chris@4 | 14041 | 
| Chris@4 | 14042 case $host_os in | 
| Chris@4 | 14043 aix3*) | 
| Chris@4 | 14044   version_type=linux | 
| Chris@4 | 14045   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 
| Chris@4 | 14046   shlibpath_var=LIBPATH | 
| Chris@4 | 14047 | 
| Chris@4 | 14048   # AIX 3 has no versioning support, so we append a major version to the name. | 
| Chris@4 | 14049   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14050   ;; | 
| Chris@4 | 14051 | 
| Chris@4 | 14052 aix[4-9]*) | 
| Chris@4 | 14053   version_type=linux | 
| Chris@4 | 14054   need_lib_prefix=no | 
| Chris@4 | 14055   need_version=no | 
| Chris@4 | 14056   hardcode_into_libs=yes | 
| Chris@4 | 14057   if test "$host_cpu" = ia64; then | 
| Chris@4 | 14058     # AIX 5 supports IA64 | 
| Chris@4 | 14059     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' | 
| Chris@4 | 14060     shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14061   else | 
| Chris@4 | 14062     # With GCC up to 2.95.x, collect2 would create an import file | 
| Chris@4 | 14063     # for dependence libraries.  The import file would start with | 
| Chris@4 | 14064     # the line `#! .'.  This would cause the generated library to | 
| Chris@4 | 14065     # depend on `.', always an invalid library.  This was fixed in | 
| Chris@4 | 14066     # development snapshots of GCC prior to 3.0. | 
| Chris@4 | 14067     case $host_os in | 
| Chris@4 | 14068       aix4 | aix4.[01] | aix4.[01].*) | 
| Chris@4 | 14069       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)' | 
| Chris@4 | 14070 	   echo ' yes ' | 
| Chris@4 | 14071 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then | 
| Chris@4 | 14072 	: | 
| Chris@4 | 14073       else | 
| Chris@4 | 14074 	can_build_shared=no | 
| Chris@4 | 14075       fi | 
| Chris@4 | 14076       ;; | 
| Chris@4 | 14077     esac | 
| Chris@4 | 14078     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct | 
| Chris@4 | 14079     # soname into executable. Probably we can add versioning support to | 
| Chris@4 | 14080     # collect2, so additional links can be useful in future. | 
| Chris@4 | 14081     if test "$aix_use_runtimelinking" = yes; then | 
| Chris@4 | 14082       # If using run time linking (on AIX 4.2 or later) use lib<name>.so | 
| Chris@4 | 14083       # instead of lib<name>.a to let people know that these are not | 
| Chris@4 | 14084       # typical AIX shared libraries. | 
| Chris@4 | 14085       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14086     else | 
| Chris@4 | 14087       # We preserve .a as extension for shared libraries through AIX4.2 | 
| Chris@4 | 14088       # and later when we are not doing run time linking. | 
| Chris@4 | 14089       library_names_spec='${libname}${release}.a $libname.a' | 
| Chris@4 | 14090       soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14091     fi | 
| Chris@4 | 14092     shlibpath_var=LIBPATH | 
| Chris@4 | 14093   fi | 
| Chris@4 | 14094   ;; | 
| Chris@4 | 14095 | 
| Chris@4 | 14096 amigaos*) | 
| Chris@4 | 14097   case $host_cpu in | 
| Chris@4 | 14098   powerpc) | 
| Chris@4 | 14099     # Since July 2007 AmigaOS4 officially supports .so libraries. | 
| Chris@4 | 14100     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline. | 
| Chris@4 | 14101     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14102     ;; | 
| Chris@4 | 14103   m68k) | 
| Chris@4 | 14104     library_names_spec='$libname.ixlibrary $libname.a' | 
| Chris@4 | 14105     # Create ${libname}_ixlibrary.a entries in /sys/libs. | 
| Chris@4 | 14106     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' | 
| Chris@4 | 14107     ;; | 
| Chris@4 | 14108   esac | 
| Chris@4 | 14109   ;; | 
| Chris@4 | 14110 | 
| Chris@4 | 14111 beos*) | 
| Chris@4 | 14112   library_names_spec='${libname}${shared_ext}' | 
| Chris@4 | 14113   dynamic_linker="$host_os ld.so" | 
| Chris@4 | 14114   shlibpath_var=LIBRARY_PATH | 
| Chris@4 | 14115   ;; | 
| Chris@4 | 14116 | 
| Chris@4 | 14117 bsdi[45]*) | 
| Chris@4 | 14118   version_type=linux | 
| Chris@4 | 14119   need_version=no | 
| Chris@4 | 14120   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14121   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14122   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir' | 
| Chris@4 | 14123   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14124   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib" | 
| Chris@4 | 14125   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib" | 
| Chris@4 | 14126   # the default ld.so.conf also contains /usr/contrib/lib and | 
| Chris@4 | 14127   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow | 
| Chris@4 | 14128   # libtool to hard-code these into programs | 
| Chris@4 | 14129   ;; | 
| Chris@4 | 14130 | 
| Chris@4 | 14131 cygwin* | mingw* | pw32* | cegcc*) | 
| Chris@4 | 14132   version_type=windows | 
| Chris@4 | 14133   shrext_cmds=".dll" | 
| Chris@4 | 14134   need_version=no | 
| Chris@4 | 14135   need_lib_prefix=no | 
| Chris@4 | 14136 | 
| Chris@4 | 14137   case $GCC,$cc_basename in | 
| Chris@4 | 14138   yes,*) | 
| Chris@4 | 14139     # gcc | 
| Chris@4 | 14140     library_names_spec='$libname.dll.a' | 
| Chris@4 | 14141     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
| Chris@4 | 14142     postinstall_cmds='base_file=`basename \${file}`~ | 
| Chris@4 | 14143       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 
| Chris@4 | 14144       dldir=$destdir/`dirname \$dlpath`~ | 
| Chris@4 | 14145       test -d \$dldir || mkdir -p \$dldir~ | 
| Chris@4 | 14146       $install_prog $dir/$dlname \$dldir/$dlname~ | 
| Chris@4 | 14147       chmod a+x \$dldir/$dlname~ | 
| Chris@4 | 14148       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then | 
| Chris@4 | 14149         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?; | 
| Chris@4 | 14150       fi' | 
| Chris@4 | 14151     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
| Chris@4 | 14152       dlpath=$dir/\$dldll~ | 
| Chris@4 | 14153        $RM \$dlpath' | 
| Chris@4 | 14154     shlibpath_overrides_runpath=yes | 
| Chris@4 | 14155 | 
| Chris@4 | 14156     case $host_os in | 
| Chris@4 | 14157     cygwin*) | 
| Chris@4 | 14158       # Cygwin DLLs use 'cyg' prefix rather than 'lib' | 
| Chris@4 | 14159       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 14160 | 
| Chris@4 | 14161       ;; | 
| Chris@4 | 14162     mingw* | cegcc*) | 
| Chris@4 | 14163       # MinGW DLLs use traditional 'lib' prefix | 
| Chris@4 | 14164       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 14165       ;; | 
| Chris@4 | 14166     pw32*) | 
| Chris@4 | 14167       # pw32 DLLs use 'pw' prefix rather than 'lib' | 
| Chris@4 | 14168       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 14169       ;; | 
| Chris@4 | 14170     esac | 
| Chris@4 | 14171     dynamic_linker='Win32 ld.exe' | 
| Chris@4 | 14172     ;; | 
| Chris@4 | 14173 | 
| Chris@4 | 14174   *,cl*) | 
| Chris@4 | 14175     # Native MSVC | 
| Chris@4 | 14176     libname_spec='$name' | 
| Chris@4 | 14177     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}' | 
| Chris@4 | 14178     library_names_spec='${libname}.dll.lib' | 
| Chris@4 | 14179 | 
| Chris@4 | 14180     case $build_os in | 
| Chris@4 | 14181     mingw*) | 
| Chris@4 | 14182       sys_lib_search_path_spec= | 
| Chris@4 | 14183       lt_save_ifs=$IFS | 
| Chris@4 | 14184       IFS=';' | 
| Chris@4 | 14185       for lt_path in $LIB | 
| Chris@4 | 14186       do | 
| Chris@4 | 14187         IFS=$lt_save_ifs | 
| Chris@4 | 14188         # Let DOS variable expansion print the short 8.3 style file name. | 
| Chris@4 | 14189         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"` | 
| Chris@4 | 14190         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path" | 
| Chris@4 | 14191       done | 
| Chris@4 | 14192       IFS=$lt_save_ifs | 
| Chris@4 | 14193       # Convert to MSYS style. | 
| Chris@4 | 14194       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'` | 
| Chris@4 | 14195       ;; | 
| Chris@4 | 14196     cygwin*) | 
| Chris@4 | 14197       # Convert to unix form, then to dos form, then back to unix form | 
| Chris@4 | 14198       # but this time dos style (no spaces!) so that the unix form looks | 
| Chris@4 | 14199       # like /cygdrive/c/PROGRA~1:/cygdr... | 
| Chris@4 | 14200       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"` | 
| Chris@4 | 14201       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null` | 
| Chris@4 | 14202       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 
| Chris@4 | 14203       ;; | 
| Chris@4 | 14204     *) | 
| Chris@4 | 14205       sys_lib_search_path_spec="$LIB" | 
| Chris@4 | 14206       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then | 
| Chris@4 | 14207         # It is most probably a Windows format PATH. | 
| Chris@4 | 14208         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'` | 
| Chris@4 | 14209       else | 
| Chris@4 | 14210         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"` | 
| Chris@4 | 14211       fi | 
| Chris@4 | 14212       # FIXME: find the short name or the path components, as spaces are | 
| Chris@4 | 14213       # common. (e.g. "Program Files" -> "PROGRA~1") | 
| Chris@4 | 14214       ;; | 
| Chris@4 | 14215     esac | 
| Chris@4 | 14216 | 
| Chris@4 | 14217     # DLL is installed to $(libdir)/../bin by postinstall_cmds | 
| Chris@4 | 14218     postinstall_cmds='base_file=`basename \${file}`~ | 
| Chris@4 | 14219       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~ | 
| Chris@4 | 14220       dldir=$destdir/`dirname \$dlpath`~ | 
| Chris@4 | 14221       test -d \$dldir || mkdir -p \$dldir~ | 
| Chris@4 | 14222       $install_prog $dir/$dlname \$dldir/$dlname' | 
| Chris@4 | 14223     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~ | 
| Chris@4 | 14224       dlpath=$dir/\$dldll~ | 
| Chris@4 | 14225        $RM \$dlpath' | 
| Chris@4 | 14226     shlibpath_overrides_runpath=yes | 
| Chris@4 | 14227     dynamic_linker='Win32 link.exe' | 
| Chris@4 | 14228     ;; | 
| Chris@4 | 14229 | 
| Chris@4 | 14230   *) | 
| Chris@4 | 14231     # Assume MSVC wrapper | 
| Chris@4 | 14232     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib' | 
| Chris@4 | 14233     dynamic_linker='Win32 ld.exe' | 
| Chris@4 | 14234     ;; | 
| Chris@4 | 14235   esac | 
| Chris@4 | 14236   # FIXME: first we should search . and the directory the executable is in | 
| Chris@4 | 14237   shlibpath_var=PATH | 
| Chris@4 | 14238   ;; | 
| Chris@4 | 14239 | 
| Chris@4 | 14240 darwin* | rhapsody*) | 
| Chris@4 | 14241   dynamic_linker="$host_os dyld" | 
| Chris@4 | 14242   version_type=darwin | 
| Chris@4 | 14243   need_lib_prefix=no | 
| Chris@4 | 14244   need_version=no | 
| Chris@4 | 14245   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext' | 
| Chris@4 | 14246   soname_spec='${libname}${release}${major}$shared_ext' | 
| Chris@4 | 14247   shlibpath_overrides_runpath=yes | 
| Chris@4 | 14248   shlibpath_var=DYLD_LIBRARY_PATH | 
| Chris@4 | 14249   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`' | 
| Chris@4 | 14250 | 
| Chris@4 | 14251   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' | 
| Chris@4 | 14252   ;; | 
| Chris@4 | 14253 | 
| Chris@4 | 14254 dgux*) | 
| Chris@4 | 14255   version_type=linux | 
| Chris@4 | 14256   need_lib_prefix=no | 
| Chris@4 | 14257   need_version=no | 
| Chris@4 | 14258   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext' | 
| Chris@4 | 14259   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14260   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14261   ;; | 
| Chris@4 | 14262 | 
| Chris@4 | 14263 freebsd1*) | 
| Chris@4 | 14264   dynamic_linker=no | 
| Chris@4 | 14265   ;; | 
| Chris@4 | 14266 | 
| Chris@4 | 14267 freebsd* | dragonfly*) | 
| Chris@4 | 14268   # DragonFly does not have aout.  When/if they implement a new | 
| Chris@4 | 14269   # versioning mechanism, adjust this. | 
| Chris@4 | 14270   if test -x /usr/bin/objformat; then | 
| Chris@4 | 14271     objformat=`/usr/bin/objformat` | 
| Chris@4 | 14272   else | 
| Chris@4 | 14273     case $host_os in | 
| Chris@4 | 14274     freebsd[123]*) objformat=aout ;; | 
| Chris@4 | 14275     *) objformat=elf ;; | 
| Chris@4 | 14276     esac | 
| Chris@4 | 14277   fi | 
| Chris@4 | 14278   version_type=freebsd-$objformat | 
| Chris@4 | 14279   case $version_type in | 
| Chris@4 | 14280     freebsd-elf*) | 
| Chris@4 | 14281       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| Chris@4 | 14282       need_version=no | 
| Chris@4 | 14283       need_lib_prefix=no | 
| Chris@4 | 14284       ;; | 
| Chris@4 | 14285     freebsd-*) | 
| Chris@4 | 14286       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix' | 
| Chris@4 | 14287       need_version=yes | 
| Chris@4 | 14288       ;; | 
| Chris@4 | 14289   esac | 
| Chris@4 | 14290   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14291   case $host_os in | 
| Chris@4 | 14292   freebsd2*) | 
| Chris@4 | 14293     shlibpath_overrides_runpath=yes | 
| Chris@4 | 14294     ;; | 
| Chris@4 | 14295   freebsd3.[01]* | freebsdelf3.[01]*) | 
| Chris@4 | 14296     shlibpath_overrides_runpath=yes | 
| Chris@4 | 14297     hardcode_into_libs=yes | 
| Chris@4 | 14298     ;; | 
| Chris@4 | 14299   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \ | 
| Chris@4 | 14300   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1) | 
| Chris@4 | 14301     shlibpath_overrides_runpath=no | 
| Chris@4 | 14302     hardcode_into_libs=yes | 
| Chris@4 | 14303     ;; | 
| Chris@4 | 14304   *) # from 4.6 on, and DragonFly | 
| Chris@4 | 14305     shlibpath_overrides_runpath=yes | 
| Chris@4 | 14306     hardcode_into_libs=yes | 
| Chris@4 | 14307     ;; | 
| Chris@4 | 14308   esac | 
| Chris@4 | 14309   ;; | 
| Chris@4 | 14310 | 
| Chris@4 | 14311 gnu*) | 
| Chris@4 | 14312   version_type=linux | 
| Chris@4 | 14313   need_lib_prefix=no | 
| Chris@4 | 14314   need_version=no | 
| Chris@4 | 14315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
| Chris@4 | 14316   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14317   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14318   shlibpath_overrides_runpath=no | 
| Chris@4 | 14319   hardcode_into_libs=yes | 
| Chris@4 | 14320   ;; | 
| Chris@4 | 14321 | 
| Chris@4 | 14322 haiku*) | 
| Chris@4 | 14323   version_type=linux | 
| Chris@4 | 14324   need_lib_prefix=no | 
| Chris@4 | 14325   need_version=no | 
| Chris@4 | 14326   dynamic_linker="$host_os runtime_loader" | 
| Chris@4 | 14327   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}' | 
| Chris@4 | 14328   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14329   shlibpath_var=LIBRARY_PATH | 
| Chris@4 | 14330   shlibpath_overrides_runpath=yes | 
| Chris@4 | 14331   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib' | 
| Chris@4 | 14332   hardcode_into_libs=yes | 
| Chris@4 | 14333   ;; | 
| Chris@4 | 14334 | 
| Chris@4 | 14335 hpux9* | hpux10* | hpux11*) | 
| Chris@4 | 14336   # Give a soname corresponding to the major version so that dld.sl refuses to | 
| Chris@4 | 14337   # link against other versions. | 
| Chris@4 | 14338   version_type=sunos | 
| Chris@4 | 14339   need_lib_prefix=no | 
| Chris@4 | 14340   need_version=no | 
| Chris@4 | 14341   case $host_cpu in | 
| Chris@4 | 14342   ia64*) | 
| Chris@4 | 14343     shrext_cmds='.so' | 
| Chris@4 | 14344     hardcode_into_libs=yes | 
| Chris@4 | 14345     dynamic_linker="$host_os dld.so" | 
| Chris@4 | 14346     shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14347     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
| Chris@4 | 14348     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14349     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14350     if test "X$HPUX_IA64_MODE" = X32; then | 
| Chris@4 | 14351       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib" | 
| Chris@4 | 14352     else | 
| Chris@4 | 14353       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64" | 
| Chris@4 | 14354     fi | 
| Chris@4 | 14355     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
| Chris@4 | 14356     ;; | 
| Chris@4 | 14357   hppa*64*) | 
| Chris@4 | 14358     shrext_cmds='.sl' | 
| Chris@4 | 14359     hardcode_into_libs=yes | 
| Chris@4 | 14360     dynamic_linker="$host_os dld.sl" | 
| Chris@4 | 14361     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH | 
| Chris@4 | 14362     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified. | 
| Chris@4 | 14363     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14364     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14365     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64" | 
| Chris@4 | 14366     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec | 
| Chris@4 | 14367     ;; | 
| Chris@4 | 14368   *) | 
| Chris@4 | 14369     shrext_cmds='.sl' | 
| Chris@4 | 14370     dynamic_linker="$host_os dld.sl" | 
| Chris@4 | 14371     shlibpath_var=SHLIB_PATH | 
| Chris@4 | 14372     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH | 
| Chris@4 | 14373     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14374     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14375     ;; | 
| Chris@4 | 14376   esac | 
| Chris@4 | 14377   # HP-UX runs *really* slowly unless shared libraries are mode 555, ... | 
| Chris@4 | 14378   postinstall_cmds='chmod 555 $lib' | 
| Chris@4 | 14379   # or fails outright, so override atomically: | 
| Chris@4 | 14380   install_override_mode=555 | 
| Chris@4 | 14381   ;; | 
| Chris@4 | 14382 | 
| Chris@4 | 14383 interix[3-9]*) | 
| Chris@4 | 14384   version_type=linux | 
| Chris@4 | 14385   need_lib_prefix=no | 
| Chris@4 | 14386   need_version=no | 
| Chris@4 | 14387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 
| Chris@4 | 14388   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14389   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)' | 
| Chris@4 | 14390   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14391   shlibpath_overrides_runpath=no | 
| Chris@4 | 14392   hardcode_into_libs=yes | 
| Chris@4 | 14393   ;; | 
| Chris@4 | 14394 | 
| Chris@4 | 14395 irix5* | irix6* | nonstopux*) | 
| Chris@4 | 14396   case $host_os in | 
| Chris@4 | 14397     nonstopux*) version_type=nonstopux ;; | 
| Chris@4 | 14398     *) | 
| Chris@4 | 14399 	if test "$lt_cv_prog_gnu_ld" = yes; then | 
| Chris@4 | 14400 		version_type=linux | 
| Chris@4 | 14401 	else | 
| Chris@4 | 14402 		version_type=irix | 
| Chris@4 | 14403 	fi ;; | 
| Chris@4 | 14404   esac | 
| Chris@4 | 14405   need_lib_prefix=no | 
| Chris@4 | 14406   need_version=no | 
| Chris@4 | 14407   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| Chris@4 | 14409   case $host_os in | 
| Chris@4 | 14410   irix5* | nonstopux*) | 
| Chris@4 | 14411     libsuff= shlibsuff= | 
| Chris@4 | 14412     ;; | 
| Chris@4 | 14413   *) | 
| Chris@4 | 14414     case $LD in # libtool.m4 will add one of these switches to LD | 
| Chris@4 | 14415     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ") | 
| Chris@4 | 14416       libsuff= shlibsuff= libmagic=32-bit;; | 
| Chris@4 | 14417     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ") | 
| Chris@4 | 14418       libsuff=32 shlibsuff=N32 libmagic=N32;; | 
| Chris@4 | 14419     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ") | 
| Chris@4 | 14420       libsuff=64 shlibsuff=64 libmagic=64-bit;; | 
| Chris@4 | 14421     *) libsuff= shlibsuff= libmagic=never-match;; | 
| Chris@4 | 14422     esac | 
| Chris@4 | 14423     ;; | 
| Chris@4 | 14424   esac | 
| Chris@4 | 14425   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH | 
| Chris@4 | 14426   shlibpath_overrides_runpath=no | 
| Chris@4 | 14427   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}" | 
| Chris@4 | 14428   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}" | 
| Chris@4 | 14429   hardcode_into_libs=yes | 
| Chris@4 | 14430   ;; | 
| Chris@4 | 14431 | 
| Chris@4 | 14432 # No shared lib support for Linux oldld, aout, or coff. | 
| Chris@4 | 14433 linux*oldld* | linux*aout* | linux*coff*) | 
| Chris@4 | 14434   dynamic_linker=no | 
| Chris@4 | 14435   ;; | 
| Chris@4 | 14436 | 
| Chris@4 | 14437 # This must be Linux ELF. | 
| Chris@4 | 14438 linux* | k*bsd*-gnu | kopensolaris*-gnu) | 
| Chris@4 | 14439   version_type=linux | 
| Chris@4 | 14440   need_lib_prefix=no | 
| Chris@4 | 14441   need_version=no | 
| Chris@4 | 14442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14443   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14444   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' | 
| Chris@4 | 14445   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14446   shlibpath_overrides_runpath=no | 
| Chris@4 | 14447 | 
| Chris@4 | 14448   # Some binutils ld are patched to set DT_RUNPATH | 
| Chris@4 | 14449   if ${lt_cv_shlibpath_overrides_runpath+:} false; then : | 
| Chris@4 | 14450   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 14451 else | 
| Chris@4 | 14452   lt_cv_shlibpath_overrides_runpath=no | 
| Chris@4 | 14453     save_LDFLAGS=$LDFLAGS | 
| Chris@4 | 14454     save_libdir=$libdir | 
| Chris@4 | 14455     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ | 
| Chris@4 | 14456 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" | 
| Chris@4 | 14457     cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 14458 /* end confdefs.h.  */ | 
| Chris@4 | 14459 | 
| Chris@4 | 14460 int | 
| Chris@4 | 14461 main () | 
| Chris@4 | 14462 { | 
| Chris@4 | 14463 | 
| Chris@4 | 14464   ; | 
| Chris@4 | 14465   return 0; | 
| Chris@4 | 14466 } | 
| Chris@4 | 14467 _ACEOF | 
| Chris@4 | 14468 if ac_fn_cxx_try_link "$LINENO"; then : | 
| Chris@4 | 14469   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : | 
| Chris@4 | 14470   lt_cv_shlibpath_overrides_runpath=yes | 
| Chris@4 | 14471 fi | 
| Chris@4 | 14472 fi | 
| Chris@4 | 14473 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 14474     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 14475     LDFLAGS=$save_LDFLAGS | 
| Chris@4 | 14476     libdir=$save_libdir | 
| Chris@4 | 14477 | 
| Chris@4 | 14478 fi | 
| Chris@4 | 14479 | 
| Chris@4 | 14480   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath | 
| Chris@4 | 14481 | 
| Chris@4 | 14482   # This implies no fast_install, which is unacceptable. | 
| Chris@4 | 14483   # Some rework will be needed to allow for fast_install | 
| Chris@4 | 14484   # before this can be enabled. | 
| Chris@4 | 14485   hardcode_into_libs=yes | 
| Chris@4 | 14486 | 
| Chris@4 | 14487   # Append ld.so.conf contents to the search path | 
| Chris@4 | 14488   if test -f /etc/ld.so.conf; then | 
| Chris@4 | 14489     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[	 ]*hwcap[	 ]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '` | 
| Chris@4 | 14490     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" | 
| Chris@4 | 14491   fi | 
| Chris@4 | 14492 | 
| Chris@4 | 14493   # We used to test for /lib/ld.so.1 and disable shared libraries on | 
| Chris@4 | 14494   # powerpc, because MkLinux only supported shared libraries with the | 
| Chris@4 | 14495   # GNU dynamic linker.  Since this was broken with cross compilers, | 
| Chris@4 | 14496   # most powerpc-linux boxes support dynamic linking these days and | 
| Chris@4 | 14497   # people can always --disable-shared, the test was removed, and we | 
| Chris@4 | 14498   # assume the GNU/Linux dynamic linker is in use. | 
| Chris@4 | 14499   dynamic_linker='GNU/Linux ld.so' | 
| Chris@4 | 14500   ;; | 
| Chris@4 | 14501 | 
| Chris@4 | 14502 netbsdelf*-gnu) | 
| Chris@4 | 14503   version_type=linux | 
| Chris@4 | 14504   need_lib_prefix=no | 
| Chris@4 | 14505   need_version=no | 
| Chris@4 | 14506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 
| Chris@4 | 14507   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14508   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14509   shlibpath_overrides_runpath=no | 
| Chris@4 | 14510   hardcode_into_libs=yes | 
| Chris@4 | 14511   dynamic_linker='NetBSD ld.elf_so' | 
| Chris@4 | 14512   ;; | 
| Chris@4 | 14513 | 
| Chris@4 | 14514 netbsd*) | 
| Chris@4 | 14515   version_type=sunos | 
| Chris@4 | 14516   need_lib_prefix=no | 
| Chris@4 | 14517   need_version=no | 
| Chris@4 | 14518   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then | 
| Chris@4 | 14519     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| Chris@4 | 14520     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
| Chris@4 | 14521     dynamic_linker='NetBSD (a.out) ld.so' | 
| Chris@4 | 14522   else | 
| Chris@4 | 14523     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' | 
| Chris@4 | 14524     soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14525     dynamic_linker='NetBSD ld.elf_so' | 
| Chris@4 | 14526   fi | 
| Chris@4 | 14527   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14528   shlibpath_overrides_runpath=yes | 
| Chris@4 | 14529   hardcode_into_libs=yes | 
| Chris@4 | 14530   ;; | 
| Chris@4 | 14531 | 
| Chris@4 | 14532 newsos6) | 
| Chris@4 | 14533   version_type=linux | 
| Chris@4 | 14534   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14535   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14536   shlibpath_overrides_runpath=yes | 
| Chris@4 | 14537   ;; | 
| Chris@4 | 14538 | 
| Chris@4 | 14539 *nto* | *qnx*) | 
| Chris@4 | 14540   version_type=qnx | 
| Chris@4 | 14541   need_lib_prefix=no | 
| Chris@4 | 14542   need_version=no | 
| Chris@4 | 14543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14544   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14545   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14546   shlibpath_overrides_runpath=no | 
| Chris@4 | 14547   hardcode_into_libs=yes | 
| Chris@4 | 14548   dynamic_linker='ldqnx.so' | 
| Chris@4 | 14549   ;; | 
| Chris@4 | 14550 | 
| Chris@4 | 14551 openbsd*) | 
| Chris@4 | 14552   version_type=sunos | 
| Chris@4 | 14553   sys_lib_dlsearch_path_spec="/usr/lib" | 
| Chris@4 | 14554   need_lib_prefix=no | 
| Chris@4 | 14555   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs. | 
| Chris@4 | 14556   case $host_os in | 
| Chris@4 | 14557     openbsd3.3 | openbsd3.3.*)	need_version=yes ;; | 
| Chris@4 | 14558     *)				need_version=no  ;; | 
| Chris@4 | 14559   esac | 
| Chris@4 | 14560   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| Chris@4 | 14561   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' | 
| Chris@4 | 14562   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14563   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then | 
| Chris@4 | 14564     case $host_os in | 
| Chris@4 | 14565       openbsd2.[89] | openbsd2.[89].*) | 
| Chris@4 | 14566 	shlibpath_overrides_runpath=no | 
| Chris@4 | 14567 	;; | 
| Chris@4 | 14568       *) | 
| Chris@4 | 14569 	shlibpath_overrides_runpath=yes | 
| Chris@4 | 14570 	;; | 
| Chris@4 | 14571       esac | 
| Chris@4 | 14572   else | 
| Chris@4 | 14573     shlibpath_overrides_runpath=yes | 
| Chris@4 | 14574   fi | 
| Chris@4 | 14575   ;; | 
| Chris@4 | 14576 | 
| Chris@4 | 14577 os2*) | 
| Chris@4 | 14578   libname_spec='$name' | 
| Chris@4 | 14579   shrext_cmds=".dll" | 
| Chris@4 | 14580   need_lib_prefix=no | 
| Chris@4 | 14581   library_names_spec='$libname${shared_ext} $libname.a' | 
| Chris@4 | 14582   dynamic_linker='OS/2 ld.exe' | 
| Chris@4 | 14583   shlibpath_var=LIBPATH | 
| Chris@4 | 14584   ;; | 
| Chris@4 | 14585 | 
| Chris@4 | 14586 osf3* | osf4* | osf5*) | 
| Chris@4 | 14587   version_type=osf | 
| Chris@4 | 14588   need_lib_prefix=no | 
| Chris@4 | 14589   need_version=no | 
| Chris@4 | 14590   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14591   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14592   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14593   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib" | 
| Chris@4 | 14594   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec" | 
| Chris@4 | 14595   ;; | 
| Chris@4 | 14596 | 
| Chris@4 | 14597 rdos*) | 
| Chris@4 | 14598   dynamic_linker=no | 
| Chris@4 | 14599   ;; | 
| Chris@4 | 14600 | 
| Chris@4 | 14601 solaris*) | 
| Chris@4 | 14602   version_type=linux | 
| Chris@4 | 14603   need_lib_prefix=no | 
| Chris@4 | 14604   need_version=no | 
| Chris@4 | 14605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14606   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14607   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14608   shlibpath_overrides_runpath=yes | 
| Chris@4 | 14609   hardcode_into_libs=yes | 
| Chris@4 | 14610   # ldd complains unless libraries are executable | 
| Chris@4 | 14611   postinstall_cmds='chmod +x $lib' | 
| Chris@4 | 14612   ;; | 
| Chris@4 | 14613 | 
| Chris@4 | 14614 sunos4*) | 
| Chris@4 | 14615   version_type=sunos | 
| Chris@4 | 14616   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' | 
| Chris@4 | 14617   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir' | 
| Chris@4 | 14618   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14619   shlibpath_overrides_runpath=yes | 
| Chris@4 | 14620   if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 14621     need_lib_prefix=no | 
| Chris@4 | 14622   fi | 
| Chris@4 | 14623   need_version=yes | 
| Chris@4 | 14624   ;; | 
| Chris@4 | 14625 | 
| Chris@4 | 14626 sysv4 | sysv4.3*) | 
| Chris@4 | 14627   version_type=linux | 
| Chris@4 | 14628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14629   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14630   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14631   case $host_vendor in | 
| Chris@4 | 14632     sni) | 
| Chris@4 | 14633       shlibpath_overrides_runpath=no | 
| Chris@4 | 14634       need_lib_prefix=no | 
| Chris@4 | 14635       runpath_var=LD_RUN_PATH | 
| Chris@4 | 14636       ;; | 
| Chris@4 | 14637     siemens) | 
| Chris@4 | 14638       need_lib_prefix=no | 
| Chris@4 | 14639       ;; | 
| Chris@4 | 14640     motorola) | 
| Chris@4 | 14641       need_lib_prefix=no | 
| Chris@4 | 14642       need_version=no | 
| Chris@4 | 14643       shlibpath_overrides_runpath=no | 
| Chris@4 | 14644       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib' | 
| Chris@4 | 14645       ;; | 
| Chris@4 | 14646   esac | 
| Chris@4 | 14647   ;; | 
| Chris@4 | 14648 | 
| Chris@4 | 14649 sysv4*MP*) | 
| Chris@4 | 14650   if test -d /usr/nec ;then | 
| Chris@4 | 14651     version_type=linux | 
| Chris@4 | 14652     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}' | 
| Chris@4 | 14653     soname_spec='$libname${shared_ext}.$major' | 
| Chris@4 | 14654     shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14655   fi | 
| Chris@4 | 14656   ;; | 
| Chris@4 | 14657 | 
| Chris@4 | 14658 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*) | 
| Chris@4 | 14659   version_type=freebsd-elf | 
| Chris@4 | 14660   need_lib_prefix=no | 
| Chris@4 | 14661   need_version=no | 
| Chris@4 | 14662   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}' | 
| Chris@4 | 14663   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14664   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14665   shlibpath_overrides_runpath=yes | 
| Chris@4 | 14666   hardcode_into_libs=yes | 
| Chris@4 | 14667   if test "$with_gnu_ld" = yes; then | 
| Chris@4 | 14668     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib' | 
| Chris@4 | 14669   else | 
| Chris@4 | 14670     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib' | 
| Chris@4 | 14671     case $host_os in | 
| Chris@4 | 14672       sco3.2v5*) | 
| Chris@4 | 14673         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib" | 
| Chris@4 | 14674 	;; | 
| Chris@4 | 14675     esac | 
| Chris@4 | 14676   fi | 
| Chris@4 | 14677   sys_lib_dlsearch_path_spec='/usr/lib' | 
| Chris@4 | 14678   ;; | 
| Chris@4 | 14679 | 
| Chris@4 | 14680 tpf*) | 
| Chris@4 | 14681   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux. | 
| Chris@4 | 14682   version_type=linux | 
| Chris@4 | 14683   need_lib_prefix=no | 
| Chris@4 | 14684   need_version=no | 
| Chris@4 | 14685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14686   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14687   shlibpath_overrides_runpath=no | 
| Chris@4 | 14688   hardcode_into_libs=yes | 
| Chris@4 | 14689   ;; | 
| Chris@4 | 14690 | 
| Chris@4 | 14691 uts4*) | 
| Chris@4 | 14692   version_type=linux | 
| Chris@4 | 14693   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}' | 
| Chris@4 | 14694   soname_spec='${libname}${release}${shared_ext}$major' | 
| Chris@4 | 14695   shlibpath_var=LD_LIBRARY_PATH | 
| Chris@4 | 14696   ;; | 
| Chris@4 | 14697 | 
| Chris@4 | 14698 *) | 
| Chris@4 | 14699   dynamic_linker=no | 
| Chris@4 | 14700   ;; | 
| Chris@4 | 14701 esac | 
| Chris@4 | 14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 | 
| Chris@4 | 14703 $as_echo "$dynamic_linker" >&6; } | 
| Chris@4 | 14704 test "$dynamic_linker" = no && can_build_shared=no | 
| Chris@4 | 14705 | 
| Chris@4 | 14706 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 
| Chris@4 | 14707 if test "$GCC" = yes; then | 
| Chris@4 | 14708   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" | 
| Chris@4 | 14709 fi | 
| Chris@4 | 14710 | 
| Chris@4 | 14711 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then | 
| Chris@4 | 14712   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" | 
| Chris@4 | 14713 fi | 
| Chris@4 | 14714 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then | 
| Chris@4 | 14715   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" | 
| Chris@4 | 14716 fi | 
| Chris@4 | 14717 | 
| Chris@4 | 14718 | 
| Chris@4 | 14719 | 
| Chris@4 | 14720 | 
| Chris@4 | 14721 | 
| Chris@4 | 14722 | 
| Chris@4 | 14723 | 
| Chris@4 | 14724 | 
| Chris@4 | 14725 | 
| Chris@4 | 14726 | 
| Chris@4 | 14727 | 
| Chris@4 | 14728 | 
| Chris@4 | 14729 | 
| Chris@4 | 14730 | 
| Chris@4 | 14731 | 
| Chris@4 | 14732 | 
| Chris@4 | 14733 | 
| Chris@4 | 14734 | 
| Chris@4 | 14735 | 
| Chris@4 | 14736 | 
| Chris@4 | 14737 | 
| Chris@4 | 14738 | 
| Chris@4 | 14739 | 
| Chris@4 | 14740 | 
| Chris@4 | 14741 | 
| Chris@4 | 14742 | 
| Chris@4 | 14743 | 
| Chris@4 | 14744 | 
| Chris@4 | 14745 | 
| Chris@4 | 14746 | 
| Chris@4 | 14747 | 
| Chris@4 | 14748 | 
| Chris@4 | 14749 | 
| Chris@4 | 14750 | 
| Chris@4 | 14751 | 
| Chris@4 | 14752 | 
| Chris@4 | 14753 | 
| Chris@4 | 14754 | 
| Chris@4 | 14755     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 | 
| Chris@4 | 14756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; } | 
| Chris@4 | 14757 hardcode_action_CXX= | 
| Chris@4 | 14758 if test -n "$hardcode_libdir_flag_spec_CXX" || | 
| Chris@4 | 14759    test -n "$runpath_var_CXX" || | 
| Chris@4 | 14760    test "X$hardcode_automatic_CXX" = "Xyes" ; then | 
| Chris@4 | 14761 | 
| Chris@4 | 14762   # We can hardcode non-existent directories. | 
| Chris@4 | 14763   if test "$hardcode_direct_CXX" != no && | 
| Chris@4 | 14764      # If the only mechanism to avoid hardcoding is shlibpath_var, we | 
| Chris@4 | 14765      # have to relink, otherwise we might link with an installed library | 
| Chris@4 | 14766      # when we should be linking with a yet-to-be-installed one | 
| Chris@4 | 14767      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no && | 
| Chris@4 | 14768      test "$hardcode_minus_L_CXX" != no; then | 
| Chris@4 | 14769     # Linking always hardcodes the temporary library directory. | 
| Chris@4 | 14770     hardcode_action_CXX=relink | 
| Chris@4 | 14771   else | 
| Chris@4 | 14772     # We can link without hardcoding, and we can hardcode nonexisting dirs. | 
| Chris@4 | 14773     hardcode_action_CXX=immediate | 
| Chris@4 | 14774   fi | 
| Chris@4 | 14775 else | 
| Chris@4 | 14776   # We cannot hardcode anything, or else we can only hardcode existing | 
| Chris@4 | 14777   # directories. | 
| Chris@4 | 14778   hardcode_action_CXX=unsupported | 
| Chris@4 | 14779 fi | 
| Chris@4 | 14780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 | 
| Chris@4 | 14781 $as_echo "$hardcode_action_CXX" >&6; } | 
| Chris@4 | 14782 | 
| Chris@4 | 14783 if test "$hardcode_action_CXX" = relink || | 
| Chris@4 | 14784    test "$inherit_rpath_CXX" = yes; then | 
| Chris@4 | 14785   # Fast installation is not supported | 
| Chris@4 | 14786   enable_fast_install=no | 
| Chris@4 | 14787 elif test "$shlibpath_overrides_runpath" = yes || | 
| Chris@4 | 14788      test "$enable_shared" = no; then | 
| Chris@4 | 14789   # Fast installation is not necessary | 
| Chris@4 | 14790   enable_fast_install=needless | 
| Chris@4 | 14791 fi | 
| Chris@4 | 14792 | 
| Chris@4 | 14793 | 
| Chris@4 | 14794 | 
| Chris@4 | 14795 | 
| Chris@4 | 14796 | 
| Chris@4 | 14797 | 
| Chris@4 | 14798 | 
| Chris@4 | 14799   fi # test -n "$compiler" | 
| Chris@4 | 14800 | 
| Chris@4 | 14801   CC=$lt_save_CC | 
| Chris@4 | 14802   CFLAGS=$lt_save_CFLAGS | 
| Chris@4 | 14803   LDCXX=$LD | 
| Chris@4 | 14804   LD=$lt_save_LD | 
| Chris@4 | 14805   GCC=$lt_save_GCC | 
| Chris@4 | 14806   with_gnu_ld=$lt_save_with_gnu_ld | 
| Chris@4 | 14807   lt_cv_path_LDCXX=$lt_cv_path_LD | 
| Chris@4 | 14808   lt_cv_path_LD=$lt_save_path_LD | 
| Chris@4 | 14809   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld | 
| Chris@4 | 14810   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld | 
| Chris@4 | 14811 fi # test "$_lt_caught_CXX_error" != yes | 
| Chris@4 | 14812 | 
| Chris@4 | 14813 ac_ext=c | 
| Chris@4 | 14814 ac_cpp='$CPP $CPPFLAGS' | 
| Chris@4 | 14815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | 
| Chris@4 | 14816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | 
| Chris@4 | 14817 ac_compiler_gnu=$ac_cv_c_compiler_gnu | 
| Chris@4 | 14818 | 
| Chris@4 | 14819 | 
| Chris@4 | 14820 | 
| Chris@4 | 14821 | 
| Chris@4 | 14822 | 
| Chris@4 | 14823 | 
| Chris@4 | 14824 | 
| Chris@4 | 14825 | 
| Chris@4 | 14826 | 
| Chris@4 | 14827 | 
| Chris@4 | 14828 | 
| Chris@4 | 14829 | 
| Chris@4 | 14830 | 
| Chris@4 | 14831         ac_config_commands="$ac_config_commands libtool" | 
| Chris@4 | 14832 | 
| Chris@4 | 14833 | 
| Chris@4 | 14834 | 
| Chris@4 | 14835 | 
| Chris@4 | 14836 # Only expand once: | 
| Chris@4 | 14837 | 
| Chris@4 | 14838 | 
| Chris@4 | 14839 # Find a good install program.  We prefer a C program (faster), | 
| Chris@4 | 14840 # so one script is as good as another.  But avoid the broken or | 
| Chris@4 | 14841 # incompatible versions: | 
| Chris@4 | 14842 # SysV /etc/install, /usr/sbin/install | 
| Chris@4 | 14843 # SunOS /usr/etc/install | 
| Chris@4 | 14844 # IRIX /sbin/install | 
| Chris@4 | 14845 # AIX /bin/install | 
| Chris@4 | 14846 # AmigaOS /C/install, which installs bootblocks on floppy discs | 
| Chris@4 | 14847 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 
| Chris@4 | 14848 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 
| Chris@4 | 14849 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 
| Chris@4 | 14850 # OS/2's system install, which has a completely different semantic | 
| Chris@4 | 14851 # ./install, which can be erroneously created by make from ./install.sh. | 
| Chris@4 | 14852 # Reject install programs that cannot install multiple files. | 
| Chris@4 | 14853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 | 
| Chris@4 | 14854 $as_echo_n "checking for a BSD-compatible install... " >&6; } | 
| Chris@4 | 14855 if test -z "$INSTALL"; then | 
| Chris@4 | 14856 if ${ac_cv_path_install+:} false; then : | 
| Chris@4 | 14857   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 14858 else | 
| Chris@4 | 14859   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 14860 for as_dir in $PATH | 
| Chris@4 | 14861 do | 
| Chris@4 | 14862   IFS=$as_save_IFS | 
| Chris@4 | 14863   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 14864     # Account for people who put trailing slashes in PATH elements. | 
| Chris@4 | 14865 case $as_dir/ in #(( | 
| Chris@4 | 14866   ./ | .// | /[cC]/* | \ | 
| Chris@4 | 14867   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ | 
| Chris@4 | 14868   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ | 
| Chris@4 | 14869   /usr/ucb/* ) ;; | 
| Chris@4 | 14870   *) | 
| Chris@4 | 14871     # OSF1 and SCO ODT 3.0 have their own names for install. | 
| Chris@4 | 14872     # Don't use installbsd from OSF since it installs stuff as root | 
| Chris@4 | 14873     # by default. | 
| Chris@4 | 14874     for ac_prog in ginstall scoinst install; do | 
| Chris@4 | 14875       for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 14876 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then | 
| Chris@4 | 14877 	  if test $ac_prog = install && | 
| Chris@4 | 14878 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
| Chris@4 | 14879 	    # AIX install.  It has an incompatible calling convention. | 
| Chris@4 | 14880 	    : | 
| Chris@4 | 14881 	  elif test $ac_prog = install && | 
| Chris@4 | 14882 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then | 
| Chris@4 | 14883 	    # program-specific install script used by HP pwplus--don't use. | 
| Chris@4 | 14884 	    : | 
| Chris@4 | 14885 	  else | 
| Chris@4 | 14886 	    rm -rf conftest.one conftest.two conftest.dir | 
| Chris@4 | 14887 	    echo one > conftest.one | 
| Chris@4 | 14888 	    echo two > conftest.two | 
| Chris@4 | 14889 	    mkdir conftest.dir | 
| Chris@4 | 14890 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && | 
| Chris@4 | 14891 	      test -s conftest.one && test -s conftest.two && | 
| Chris@4 | 14892 	      test -s conftest.dir/conftest.one && | 
| Chris@4 | 14893 	      test -s conftest.dir/conftest.two | 
| Chris@4 | 14894 	    then | 
| Chris@4 | 14895 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" | 
| Chris@4 | 14896 	      break 3 | 
| Chris@4 | 14897 	    fi | 
| Chris@4 | 14898 	  fi | 
| Chris@4 | 14899 	fi | 
| Chris@4 | 14900       done | 
| Chris@4 | 14901     done | 
| Chris@4 | 14902     ;; | 
| Chris@4 | 14903 esac | 
| Chris@4 | 14904 | 
| Chris@4 | 14905   done | 
| Chris@4 | 14906 IFS=$as_save_IFS | 
| Chris@4 | 14907 | 
| Chris@4 | 14908 rm -rf conftest.one conftest.two conftest.dir | 
| Chris@4 | 14909 | 
| Chris@4 | 14910 fi | 
| Chris@4 | 14911   if test "${ac_cv_path_install+set}" = set; then | 
| Chris@4 | 14912     INSTALL=$ac_cv_path_install | 
| Chris@4 | 14913   else | 
| Chris@4 | 14914     # As a last resort, use the slow shell script.  Don't cache a | 
| Chris@4 | 14915     # value for INSTALL within a source directory, because that will | 
| Chris@4 | 14916     # break other packages using the cache if that directory is | 
| Chris@4 | 14917     # removed, or if the value is a relative name. | 
| Chris@4 | 14918     INSTALL=$ac_install_sh | 
| Chris@4 | 14919   fi | 
| Chris@4 | 14920 fi | 
| Chris@4 | 14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 | 
| Chris@4 | 14922 $as_echo "$INSTALL" >&6; } | 
| Chris@4 | 14923 | 
| Chris@4 | 14924 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. | 
| Chris@4 | 14925 # It thinks the first close brace ends the variable substitution. | 
| Chris@4 | 14926 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' | 
| Chris@4 | 14927 | 
| Chris@4 | 14928 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' | 
| Chris@4 | 14929 | 
| Chris@4 | 14930 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 
| Chris@4 | 14931 | 
| Chris@4 | 14932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 | 
| Chris@4 | 14933 $as_echo_n "checking whether ln -s works... " >&6; } | 
| Chris@4 | 14934 LN_S=$as_ln_s | 
| Chris@4 | 14935 if test "$LN_S" = "ln -s"; then | 
| Chris@4 | 14936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
| Chris@4 | 14937 $as_echo "yes" >&6; } | 
| Chris@4 | 14938 else | 
| Chris@4 | 14939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 | 
| Chris@4 | 14940 $as_echo "no, using $LN_S" >&6; } | 
| Chris@4 | 14941 fi | 
| Chris@4 | 14942 | 
| Chris@4 | 14943 # Extract the first word of "ar", so it can be a program name with args. | 
| Chris@4 | 14944 set dummy ar; ac_word=$2 | 
| Chris@4 | 14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 14946 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 14947 if ${ac_cv_path_AR+:} false; then : | 
| Chris@4 | 14948   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 14949 else | 
| Chris@4 | 14950   case $AR in | 
| Chris@4 | 14951   [\\/]* | ?:[\\/]*) | 
| Chris@4 | 14952   ac_cv_path_AR="$AR" # Let the user override the test with a path. | 
| Chris@4 | 14953   ;; | 
| Chris@4 | 14954   *) | 
| Chris@4 | 14955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 14956 for as_dir in $PATH | 
| Chris@4 | 14957 do | 
| Chris@4 | 14958   IFS=$as_save_IFS | 
| Chris@4 | 14959   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 14960     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 14961   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 14962     ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext" | 
| Chris@4 | 14963     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 14964     break 2 | 
| Chris@4 | 14965   fi | 
| Chris@4 | 14966 done | 
| Chris@4 | 14967   done | 
| Chris@4 | 14968 IFS=$as_save_IFS | 
| Chris@4 | 14969 | 
| Chris@4 | 14970   test -z "$ac_cv_path_AR" && ac_cv_path_AR="no" | 
| Chris@4 | 14971   ;; | 
| Chris@4 | 14972 esac | 
| Chris@4 | 14973 fi | 
| Chris@4 | 14974 AR=$ac_cv_path_AR | 
| Chris@4 | 14975 if test -n "$AR"; then | 
| Chris@4 | 14976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 | 
| Chris@4 | 14977 $as_echo "$AR" >&6; } | 
| Chris@4 | 14978 else | 
| Chris@4 | 14979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 14980 $as_echo "no" >&6; } | 
| Chris@4 | 14981 fi | 
| Chris@4 | 14982 | 
| Chris@4 | 14983 | 
| Chris@4 | 14984 if [ $AR = "no" ] ; then | 
| Chris@4 | 14985     as_fn_error $? "\"Could not find ar - needed to create a library\"" "$LINENO" 5 | 
| Chris@4 | 14986 fi | 
| Chris@4 | 14987 | 
| Chris@4 | 14988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 | 
| Chris@4 | 14989 $as_echo_n "checking whether byte ordering is bigendian... " >&6; } | 
| Chris@4 | 14990 if ${ac_cv_c_bigendian+:} false; then : | 
| Chris@4 | 14991   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 14992 else | 
| Chris@4 | 14993   ac_cv_c_bigendian=unknown | 
| Chris@4 | 14994     # See if we're dealing with a universal compiler. | 
| Chris@4 | 14995     cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 14996 /* end confdefs.h.  */ | 
| Chris@4 | 14997 #ifndef __APPLE_CC__ | 
| Chris@4 | 14998 	       not a universal capable compiler | 
| Chris@4 | 14999 	     #endif | 
| Chris@4 | 15000 	     typedef int dummy; | 
| Chris@4 | 15001 | 
| Chris@4 | 15002 _ACEOF | 
| Chris@4 | 15003 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 15004 | 
| Chris@4 | 15005 	# Check for potential -arch flags.  It is not universal unless | 
| Chris@4 | 15006 	# there are at least two -arch flags with different values. | 
| Chris@4 | 15007 	ac_arch= | 
| Chris@4 | 15008 	ac_prev= | 
| Chris@4 | 15009 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do | 
| Chris@4 | 15010 	 if test -n "$ac_prev"; then | 
| Chris@4 | 15011 	   case $ac_word in | 
| Chris@4 | 15012 	     i?86 | x86_64 | ppc | ppc64) | 
| Chris@4 | 15013 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then | 
| Chris@4 | 15014 		 ac_arch=$ac_word | 
| Chris@4 | 15015 	       else | 
| Chris@4 | 15016 		 ac_cv_c_bigendian=universal | 
| Chris@4 | 15017 		 break | 
| Chris@4 | 15018 	       fi | 
| Chris@4 | 15019 	       ;; | 
| Chris@4 | 15020 	   esac | 
| Chris@4 | 15021 	   ac_prev= | 
| Chris@4 | 15022 	 elif test "x$ac_word" = "x-arch"; then | 
| Chris@4 | 15023 	   ac_prev=arch | 
| Chris@4 | 15024 	 fi | 
| Chris@4 | 15025        done | 
| Chris@4 | 15026 fi | 
| Chris@4 | 15027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 15028     if test $ac_cv_c_bigendian = unknown; then | 
| Chris@4 | 15029       # See if sys/param.h defines the BYTE_ORDER macro. | 
| Chris@4 | 15030       cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15031 /* end confdefs.h.  */ | 
| Chris@4 | 15032 #include <sys/types.h> | 
| Chris@4 | 15033 	     #include <sys/param.h> | 
| Chris@4 | 15034 | 
| Chris@4 | 15035 int | 
| Chris@4 | 15036 main () | 
| Chris@4 | 15037 { | 
| Chris@4 | 15038 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \ | 
| Chris@4 | 15039 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \ | 
| Chris@4 | 15040 		     && LITTLE_ENDIAN) | 
| Chris@4 | 15041 	      bogus endian macros | 
| Chris@4 | 15042 	     #endif | 
| Chris@4 | 15043 | 
| Chris@4 | 15044   ; | 
| Chris@4 | 15045   return 0; | 
| Chris@4 | 15046 } | 
| Chris@4 | 15047 _ACEOF | 
| Chris@4 | 15048 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 15049   # It does; now see whether it defined to BIG_ENDIAN or not. | 
| Chris@4 | 15050 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15051 /* end confdefs.h.  */ | 
| Chris@4 | 15052 #include <sys/types.h> | 
| Chris@4 | 15053 		#include <sys/param.h> | 
| Chris@4 | 15054 | 
| Chris@4 | 15055 int | 
| Chris@4 | 15056 main () | 
| Chris@4 | 15057 { | 
| Chris@4 | 15058 #if BYTE_ORDER != BIG_ENDIAN | 
| Chris@4 | 15059 		 not big endian | 
| Chris@4 | 15060 		#endif | 
| Chris@4 | 15061 | 
| Chris@4 | 15062   ; | 
| Chris@4 | 15063   return 0; | 
| Chris@4 | 15064 } | 
| Chris@4 | 15065 _ACEOF | 
| Chris@4 | 15066 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 15067   ac_cv_c_bigendian=yes | 
| Chris@4 | 15068 else | 
| Chris@4 | 15069   ac_cv_c_bigendian=no | 
| Chris@4 | 15070 fi | 
| Chris@4 | 15071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 15072 fi | 
| Chris@4 | 15073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 15074     fi | 
| Chris@4 | 15075     if test $ac_cv_c_bigendian = unknown; then | 
| Chris@4 | 15076       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). | 
| Chris@4 | 15077       cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15078 /* end confdefs.h.  */ | 
| Chris@4 | 15079 #include <limits.h> | 
| Chris@4 | 15080 | 
| Chris@4 | 15081 int | 
| Chris@4 | 15082 main () | 
| Chris@4 | 15083 { | 
| Chris@4 | 15084 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN) | 
| Chris@4 | 15085 	      bogus endian macros | 
| Chris@4 | 15086 	     #endif | 
| Chris@4 | 15087 | 
| Chris@4 | 15088   ; | 
| Chris@4 | 15089   return 0; | 
| Chris@4 | 15090 } | 
| Chris@4 | 15091 _ACEOF | 
| Chris@4 | 15092 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 15093   # It does; now see whether it defined to _BIG_ENDIAN or not. | 
| Chris@4 | 15094 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15095 /* end confdefs.h.  */ | 
| Chris@4 | 15096 #include <limits.h> | 
| Chris@4 | 15097 | 
| Chris@4 | 15098 int | 
| Chris@4 | 15099 main () | 
| Chris@4 | 15100 { | 
| Chris@4 | 15101 #ifndef _BIG_ENDIAN | 
| Chris@4 | 15102 		 not big endian | 
| Chris@4 | 15103 		#endif | 
| Chris@4 | 15104 | 
| Chris@4 | 15105   ; | 
| Chris@4 | 15106   return 0; | 
| Chris@4 | 15107 } | 
| Chris@4 | 15108 _ACEOF | 
| Chris@4 | 15109 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 15110   ac_cv_c_bigendian=yes | 
| Chris@4 | 15111 else | 
| Chris@4 | 15112   ac_cv_c_bigendian=no | 
| Chris@4 | 15113 fi | 
| Chris@4 | 15114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 15115 fi | 
| Chris@4 | 15116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 15117     fi | 
| Chris@4 | 15118     if test $ac_cv_c_bigendian = unknown; then | 
| Chris@4 | 15119       # Compile a test program. | 
| Chris@4 | 15120       if test "$cross_compiling" = yes; then : | 
| Chris@4 | 15121   # Try to guess by grepping values from an object file. | 
| Chris@4 | 15122 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15123 /* end confdefs.h.  */ | 
| Chris@4 | 15124 short int ascii_mm[] = | 
| Chris@4 | 15125 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; | 
| Chris@4 | 15126 		short int ascii_ii[] = | 
| Chris@4 | 15127 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; | 
| Chris@4 | 15128 		int use_ascii (int i) { | 
| Chris@4 | 15129 		  return ascii_mm[i] + ascii_ii[i]; | 
| Chris@4 | 15130 		} | 
| Chris@4 | 15131 		short int ebcdic_ii[] = | 
| Chris@4 | 15132 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; | 
| Chris@4 | 15133 		short int ebcdic_mm[] = | 
| Chris@4 | 15134 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; | 
| Chris@4 | 15135 		int use_ebcdic (int i) { | 
| Chris@4 | 15136 		  return ebcdic_mm[i] + ebcdic_ii[i]; | 
| Chris@4 | 15137 		} | 
| Chris@4 | 15138 		extern int foo; | 
| Chris@4 | 15139 | 
| Chris@4 | 15140 int | 
| Chris@4 | 15141 main () | 
| Chris@4 | 15142 { | 
| Chris@4 | 15143 return use_ascii (foo) == use_ebcdic (foo); | 
| Chris@4 | 15144   ; | 
| Chris@4 | 15145   return 0; | 
| Chris@4 | 15146 } | 
| Chris@4 | 15147 _ACEOF | 
| Chris@4 | 15148 if ac_fn_c_try_compile "$LINENO"; then : | 
| Chris@4 | 15149   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then | 
| Chris@4 | 15150 	      ac_cv_c_bigendian=yes | 
| Chris@4 | 15151 	    fi | 
| Chris@4 | 15152 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then | 
| Chris@4 | 15153 	      if test "$ac_cv_c_bigendian" = unknown; then | 
| Chris@4 | 15154 		ac_cv_c_bigendian=no | 
| Chris@4 | 15155 	      else | 
| Chris@4 | 15156 		# finding both strings is unlikely to happen, but who knows? | 
| Chris@4 | 15157 		ac_cv_c_bigendian=unknown | 
| Chris@4 | 15158 	      fi | 
| Chris@4 | 15159 	    fi | 
| Chris@4 | 15160 fi | 
| Chris@4 | 15161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | 
| Chris@4 | 15162 else | 
| Chris@4 | 15163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15164 /* end confdefs.h.  */ | 
| Chris@4 | 15165 $ac_includes_default | 
| Chris@4 | 15166 int | 
| Chris@4 | 15167 main () | 
| Chris@4 | 15168 { | 
| Chris@4 | 15169 | 
| Chris@4 | 15170 	     /* Are we little or big endian?  From Harbison&Steele.  */ | 
| Chris@4 | 15171 	     union | 
| Chris@4 | 15172 	     { | 
| Chris@4 | 15173 	       long int l; | 
| Chris@4 | 15174 	       char c[sizeof (long int)]; | 
| Chris@4 | 15175 	     } u; | 
| Chris@4 | 15176 	     u.l = 1; | 
| Chris@4 | 15177 	     return u.c[sizeof (long int) - 1] == 1; | 
| Chris@4 | 15178 | 
| Chris@4 | 15179   ; | 
| Chris@4 | 15180   return 0; | 
| Chris@4 | 15181 } | 
| Chris@4 | 15182 _ACEOF | 
| Chris@4 | 15183 if ac_fn_c_try_run "$LINENO"; then : | 
| Chris@4 | 15184   ac_cv_c_bigendian=no | 
| Chris@4 | 15185 else | 
| Chris@4 | 15186   ac_cv_c_bigendian=yes | 
| Chris@4 | 15187 fi | 
| Chris@4 | 15188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ | 
| Chris@4 | 15189   conftest.$ac_objext conftest.beam conftest.$ac_ext | 
| Chris@4 | 15190 fi | 
| Chris@4 | 15191 | 
| Chris@4 | 15192     fi | 
| Chris@4 | 15193 fi | 
| Chris@4 | 15194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 | 
| Chris@4 | 15195 $as_echo "$ac_cv_c_bigendian" >&6; } | 
| Chris@4 | 15196  case $ac_cv_c_bigendian in #( | 
| Chris@4 | 15197    yes) | 
| Chris@4 | 15198      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h | 
| Chris@4 | 15199 ;; #( | 
| Chris@4 | 15200    no) | 
| Chris@4 | 15201       ;; #( | 
| Chris@4 | 15202    universal) | 
| Chris@4 | 15203 | 
| Chris@4 | 15204 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h | 
| Chris@4 | 15205 | 
| Chris@4 | 15206      ;; #( | 
| Chris@4 | 15207    *) | 
| Chris@4 | 15208      as_fn_error $? "unknown endianness | 
| Chris@4 | 15209  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; | 
| Chris@4 | 15210  esac | 
| Chris@4 | 15211 | 
| Chris@4 | 15212 | 
| Chris@4 | 15213 | 
| Chris@4 | 15214 have_alsa=no | 
| Chris@4 | 15215 if test "x$with_alsa" != "xno"; then | 
| Chris@4 | 15216     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_open in -lasound" >&5 | 
| Chris@4 | 15217 $as_echo_n "checking for snd_pcm_open in -lasound... " >&6; } | 
| Chris@4 | 15218 if ${ac_cv_lib_asound_snd_pcm_open+:} false; then : | 
| Chris@4 | 15219   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15220 else | 
| Chris@4 | 15221   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 15222 LIBS="-lasound  $LIBS" | 
| Chris@4 | 15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15224 /* end confdefs.h.  */ | 
| Chris@4 | 15225 | 
| Chris@4 | 15226 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 15227    Use char because int might match the return type of a GCC | 
| Chris@4 | 15228    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 15229 #ifdef __cplusplus | 
| Chris@4 | 15230 extern "C" | 
| Chris@4 | 15231 #endif | 
| Chris@4 | 15232 char snd_pcm_open (); | 
| Chris@4 | 15233 int | 
| Chris@4 | 15234 main () | 
| Chris@4 | 15235 { | 
| Chris@4 | 15236 return snd_pcm_open (); | 
| Chris@4 | 15237   ; | 
| Chris@4 | 15238   return 0; | 
| Chris@4 | 15239 } | 
| Chris@4 | 15240 _ACEOF | 
| Chris@4 | 15241 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 15242   ac_cv_lib_asound_snd_pcm_open=yes | 
| Chris@4 | 15243 else | 
| Chris@4 | 15244   ac_cv_lib_asound_snd_pcm_open=no | 
| Chris@4 | 15245 fi | 
| Chris@4 | 15246 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 15247     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 15248 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 15249 fi | 
| Chris@4 | 15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_open" >&5 | 
| Chris@4 | 15251 $as_echo "$ac_cv_lib_asound_snd_pcm_open" >&6; } | 
| Chris@4 | 15252 if test "x$ac_cv_lib_asound_snd_pcm_open" = xyes; then : | 
| Chris@4 | 15253   have_alsa=yes | 
| Chris@4 | 15254 else | 
| Chris@4 | 15255   have_alsa=no | 
| Chris@4 | 15256 fi | 
| Chris@4 | 15257 | 
| Chris@4 | 15258 fi | 
| Chris@4 | 15259 have_asihpi=no | 
| Chris@4 | 15260 if test "x$with_asihpi" != "xno"; then | 
| Chris@4 | 15261     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HPI_SubSysCreate in -lhpi" >&5 | 
| Chris@4 | 15262 $as_echo_n "checking for HPI_SubSysCreate in -lhpi... " >&6; } | 
| Chris@4 | 15263 if ${ac_cv_lib_hpi_HPI_SubSysCreate+:} false; then : | 
| Chris@4 | 15264   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15265 else | 
| Chris@4 | 15266   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 15267 LIBS="-lhpi -lm $LIBS" | 
| Chris@4 | 15268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15269 /* end confdefs.h.  */ | 
| Chris@4 | 15270 | 
| Chris@4 | 15271 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 15272    Use char because int might match the return type of a GCC | 
| Chris@4 | 15273    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 15274 #ifdef __cplusplus | 
| Chris@4 | 15275 extern "C" | 
| Chris@4 | 15276 #endif | 
| Chris@4 | 15277 char HPI_SubSysCreate (); | 
| Chris@4 | 15278 int | 
| Chris@4 | 15279 main () | 
| Chris@4 | 15280 { | 
| Chris@4 | 15281 return HPI_SubSysCreate (); | 
| Chris@4 | 15282   ; | 
| Chris@4 | 15283   return 0; | 
| Chris@4 | 15284 } | 
| Chris@4 | 15285 _ACEOF | 
| Chris@4 | 15286 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 15287   ac_cv_lib_hpi_HPI_SubSysCreate=yes | 
| Chris@4 | 15288 else | 
| Chris@4 | 15289   ac_cv_lib_hpi_HPI_SubSysCreate=no | 
| Chris@4 | 15290 fi | 
| Chris@4 | 15291 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 15292     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 15293 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 15294 fi | 
| Chris@4 | 15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_hpi_HPI_SubSysCreate" >&5 | 
| Chris@4 | 15296 $as_echo "$ac_cv_lib_hpi_HPI_SubSysCreate" >&6; } | 
| Chris@4 | 15297 if test "x$ac_cv_lib_hpi_HPI_SubSysCreate" = xyes; then : | 
| Chris@4 | 15298   have_asihpi=yes | 
| Chris@4 | 15299 else | 
| Chris@4 | 15300   have_asihpi=no | 
| Chris@4 | 15301 fi | 
| Chris@4 | 15302 | 
| Chris@4 | 15303 fi | 
| Chris@4 | 15304 have_libossaudio=no | 
| Chris@4 | 15305 have_oss=no | 
| Chris@4 | 15306 if test "x$with_oss" != "xno"; then | 
| Chris@4 | 15307     for ac_header in sys/soundcard.h linux/soundcard.h machine/soundcard.h | 
| Chris@4 | 15308 do : | 
| Chris@4 | 15309   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` | 
| Chris@4 | 15310 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" | 
| Chris@4 | 15311 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then : | 
| Chris@4 | 15312   cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 | 
| Chris@4 | 15314 _ACEOF | 
| Chris@4 | 15315  have_oss=yes | 
| Chris@4 | 15316 fi | 
| Chris@4 | 15317 | 
| Chris@4 | 15318 done | 
| Chris@4 | 15319 | 
| Chris@4 | 15320     if test "x$have_oss" = "xyes"; then | 
| Chris@4 | 15321         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5 | 
| Chris@4 | 15322 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; } | 
| Chris@4 | 15323 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then : | 
| Chris@4 | 15324   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15325 else | 
| Chris@4 | 15326   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 15327 LIBS="-lossaudio  $LIBS" | 
| Chris@4 | 15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15329 /* end confdefs.h.  */ | 
| Chris@4 | 15330 | 
| Chris@4 | 15331 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 15332    Use char because int might match the return type of a GCC | 
| Chris@4 | 15333    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 15334 #ifdef __cplusplus | 
| Chris@4 | 15335 extern "C" | 
| Chris@4 | 15336 #endif | 
| Chris@4 | 15337 char _oss_ioctl (); | 
| Chris@4 | 15338 int | 
| Chris@4 | 15339 main () | 
| Chris@4 | 15340 { | 
| Chris@4 | 15341 return _oss_ioctl (); | 
| Chris@4 | 15342   ; | 
| Chris@4 | 15343   return 0; | 
| Chris@4 | 15344 } | 
| Chris@4 | 15345 _ACEOF | 
| Chris@4 | 15346 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 15347   ac_cv_lib_ossaudio__oss_ioctl=yes | 
| Chris@4 | 15348 else | 
| Chris@4 | 15349   ac_cv_lib_ossaudio__oss_ioctl=no | 
| Chris@4 | 15350 fi | 
| Chris@4 | 15351 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 15352     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 15353 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 15354 fi | 
| Chris@4 | 15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5 | 
| Chris@4 | 15356 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; } | 
| Chris@4 | 15357 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then : | 
| Chris@4 | 15358   have_libossaudio=yes | 
| Chris@4 | 15359 else | 
| Chris@4 | 15360   have_libossaudio=no | 
| Chris@4 | 15361 fi | 
| Chris@4 | 15362 | 
| Chris@4 | 15363     fi | 
| Chris@4 | 15364 fi | 
| Chris@4 | 15365 have_jack=no | 
| Chris@4 | 15366 if test "x$with_jack" != "xno"; then | 
| Chris@4 | 15367 | 
| Chris@4 | 15368 | 
| Chris@4 | 15369 | 
| Chris@4 | 15370 | 
| Chris@4 | 15371 | 
| Chris@4 | 15372 | 
| Chris@4 | 15373 | 
| Chris@4 | 15374 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then | 
| Chris@4 | 15375 	if test -n "$ac_tool_prefix"; then | 
| Chris@4 | 15376   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. | 
| Chris@4 | 15377 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 | 
| Chris@4 | 15378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 15379 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 15380 if ${ac_cv_path_PKG_CONFIG+:} false; then : | 
| Chris@4 | 15381   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15382 else | 
| Chris@4 | 15383   case $PKG_CONFIG in | 
| Chris@4 | 15384   [\\/]* | ?:[\\/]*) | 
| Chris@4 | 15385   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path. | 
| Chris@4 | 15386   ;; | 
| Chris@4 | 15387   *) | 
| Chris@4 | 15388   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 15389 for as_dir in $PATH | 
| Chris@4 | 15390 do | 
| Chris@4 | 15391   IFS=$as_save_IFS | 
| Chris@4 | 15392   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 15393     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 15394   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 15395     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 
| Chris@4 | 15396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 15397     break 2 | 
| Chris@4 | 15398   fi | 
| Chris@4 | 15399 done | 
| Chris@4 | 15400   done | 
| Chris@4 | 15401 IFS=$as_save_IFS | 
| Chris@4 | 15402 | 
| Chris@4 | 15403   ;; | 
| Chris@4 | 15404 esac | 
| Chris@4 | 15405 fi | 
| Chris@4 | 15406 PKG_CONFIG=$ac_cv_path_PKG_CONFIG | 
| Chris@4 | 15407 if test -n "$PKG_CONFIG"; then | 
| Chris@4 | 15408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 | 
| Chris@4 | 15409 $as_echo "$PKG_CONFIG" >&6; } | 
| Chris@4 | 15410 else | 
| Chris@4 | 15411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 15412 $as_echo "no" >&6; } | 
| Chris@4 | 15413 fi | 
| Chris@4 | 15414 | 
| Chris@4 | 15415 | 
| Chris@4 | 15416 fi | 
| Chris@4 | 15417 if test -z "$ac_cv_path_PKG_CONFIG"; then | 
| Chris@4 | 15418   ac_pt_PKG_CONFIG=$PKG_CONFIG | 
| Chris@4 | 15419   # Extract the first word of "pkg-config", so it can be a program name with args. | 
| Chris@4 | 15420 set dummy pkg-config; ac_word=$2 | 
| Chris@4 | 15421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 | 
| Chris@4 | 15422 $as_echo_n "checking for $ac_word... " >&6; } | 
| Chris@4 | 15423 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then : | 
| Chris@4 | 15424   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15425 else | 
| Chris@4 | 15426   case $ac_pt_PKG_CONFIG in | 
| Chris@4 | 15427   [\\/]* | ?:[\\/]*) | 
| Chris@4 | 15428   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path. | 
| Chris@4 | 15429   ;; | 
| Chris@4 | 15430   *) | 
| Chris@4 | 15431   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 15432 for as_dir in $PATH | 
| Chris@4 | 15433 do | 
| Chris@4 | 15434   IFS=$as_save_IFS | 
| Chris@4 | 15435   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 15436     for ac_exec_ext in '' $ac_executable_extensions; do | 
| Chris@4 | 15437   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then | 
| Chris@4 | 15438     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" | 
| Chris@4 | 15439     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 | 
| Chris@4 | 15440     break 2 | 
| Chris@4 | 15441   fi | 
| Chris@4 | 15442 done | 
| Chris@4 | 15443   done | 
| Chris@4 | 15444 IFS=$as_save_IFS | 
| Chris@4 | 15445 | 
| Chris@4 | 15446   ;; | 
| Chris@4 | 15447 esac | 
| Chris@4 | 15448 fi | 
| Chris@4 | 15449 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG | 
| Chris@4 | 15450 if test -n "$ac_pt_PKG_CONFIG"; then | 
| Chris@4 | 15451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 | 
| Chris@4 | 15452 $as_echo "$ac_pt_PKG_CONFIG" >&6; } | 
| Chris@4 | 15453 else | 
| Chris@4 | 15454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 15455 $as_echo "no" >&6; } | 
| Chris@4 | 15456 fi | 
| Chris@4 | 15457 | 
| Chris@4 | 15458   if test "x$ac_pt_PKG_CONFIG" = x; then | 
| Chris@4 | 15459     PKG_CONFIG="" | 
| Chris@4 | 15460   else | 
| Chris@4 | 15461     case $cross_compiling:$ac_tool_warned in | 
| Chris@4 | 15462 yes:) | 
| Chris@4 | 15463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 | 
| Chris@4 | 15464 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} | 
| Chris@4 | 15465 ac_tool_warned=yes ;; | 
| Chris@4 | 15466 esac | 
| Chris@4 | 15467     PKG_CONFIG=$ac_pt_PKG_CONFIG | 
| Chris@4 | 15468   fi | 
| Chris@4 | 15469 else | 
| Chris@4 | 15470   PKG_CONFIG="$ac_cv_path_PKG_CONFIG" | 
| Chris@4 | 15471 fi | 
| Chris@4 | 15472 | 
| Chris@4 | 15473 fi | 
| Chris@4 | 15474 if test -n "$PKG_CONFIG"; then | 
| Chris@4 | 15475 	_pkg_min_version=0.9.0 | 
| Chris@4 | 15476 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 | 
| Chris@4 | 15477 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } | 
| Chris@4 | 15478 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then | 
| Chris@4 | 15479 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
| Chris@4 | 15480 $as_echo "yes" >&6; } | 
| Chris@4 | 15481 	else | 
| Chris@4 | 15482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 15483 $as_echo "no" >&6; } | 
| Chris@4 | 15484 		PKG_CONFIG="" | 
| Chris@4 | 15485 	fi | 
| Chris@4 | 15486 fi | 
| Chris@4 | 15487 | 
| Chris@4 | 15488 pkg_failed=no | 
| Chris@4 | 15489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 | 
| Chris@4 | 15490 $as_echo_n "checking for JACK... " >&6; } | 
| Chris@4 | 15491 | 
| Chris@4 | 15492 if test -n "$JACK_CFLAGS"; then | 
| Chris@4 | 15493     pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" | 
| Chris@4 | 15494  elif test -n "$PKG_CONFIG"; then | 
| Chris@4 | 15495     if test -n "$PKG_CONFIG" && \ | 
| Chris@4 | 15496     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5 | 
| Chris@4 | 15497   ($PKG_CONFIG --exists --print-errors "jack") 2>&5 | 
| Chris@4 | 15498   ac_status=$? | 
| Chris@4 | 15499   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 15500   test $ac_status = 0; }; then | 
| Chris@4 | 15501   pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack" 2>/dev/null` | 
| Chris@4 | 15502 		      test "x$?" != "x0" && pkg_failed=yes | 
| Chris@4 | 15503 else | 
| Chris@4 | 15504   pkg_failed=yes | 
| Chris@4 | 15505 fi | 
| Chris@4 | 15506  else | 
| Chris@4 | 15507     pkg_failed=untried | 
| Chris@4 | 15508 fi | 
| Chris@4 | 15509 if test -n "$JACK_LIBS"; then | 
| Chris@4 | 15510     pkg_cv_JACK_LIBS="$JACK_LIBS" | 
| Chris@4 | 15511  elif test -n "$PKG_CONFIG"; then | 
| Chris@4 | 15512     if test -n "$PKG_CONFIG" && \ | 
| Chris@4 | 15513     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack\""; } >&5 | 
| Chris@4 | 15514   ($PKG_CONFIG --exists --print-errors "jack") 2>&5 | 
| Chris@4 | 15515   ac_status=$? | 
| Chris@4 | 15516   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 | 
| Chris@4 | 15517   test $ac_status = 0; }; then | 
| Chris@4 | 15518   pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack" 2>/dev/null` | 
| Chris@4 | 15519 		      test "x$?" != "x0" && pkg_failed=yes | 
| Chris@4 | 15520 else | 
| Chris@4 | 15521   pkg_failed=yes | 
| Chris@4 | 15522 fi | 
| Chris@4 | 15523  else | 
| Chris@4 | 15524     pkg_failed=untried | 
| Chris@4 | 15525 fi | 
| Chris@4 | 15526 | 
| Chris@4 | 15527 | 
| Chris@4 | 15528 | 
| Chris@4 | 15529 if test $pkg_failed = yes; then | 
| Chris@4 | 15530    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 15531 $as_echo "no" >&6; } | 
| Chris@4 | 15532 | 
| Chris@4 | 15533 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then | 
| Chris@4 | 15534         _pkg_short_errors_supported=yes | 
| Chris@4 | 15535 else | 
| Chris@4 | 15536         _pkg_short_errors_supported=no | 
| Chris@4 | 15537 fi | 
| Chris@4 | 15538         if test $_pkg_short_errors_supported = yes; then | 
| Chris@4 | 15539 	        JACK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jack" 2>&1` | 
| Chris@4 | 15540         else | 
| Chris@4 | 15541 	        JACK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jack" 2>&1` | 
| Chris@4 | 15542         fi | 
| Chris@4 | 15543 	# Put the nasty error message in config.log where it belongs | 
| Chris@4 | 15544 	echo "$JACK_PKG_ERRORS" >&5 | 
| Chris@4 | 15545 | 
| Chris@4 | 15546 	have_jack=no | 
| Chris@4 | 15547 elif test $pkg_failed = untried; then | 
| Chris@4 | 15548      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | 
| Chris@4 | 15549 $as_echo "no" >&6; } | 
| Chris@4 | 15550 	have_jack=no | 
| Chris@4 | 15551 else | 
| Chris@4 | 15552 	JACK_CFLAGS=$pkg_cv_JACK_CFLAGS | 
| Chris@4 | 15553 	JACK_LIBS=$pkg_cv_JACK_LIBS | 
| Chris@4 | 15554         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | 
| Chris@4 | 15555 $as_echo "yes" >&6; } | 
| Chris@4 | 15556 	have_jack=yes | 
| Chris@4 | 15557 fi | 
| Chris@4 | 15558 fi | 
| Chris@4 | 15559 | 
| Chris@4 | 15560 | 
| Chris@4 | 15561 | 
| Chris@4 | 15562 # The cast to long int works around a bug in the HP C Compiler | 
| Chris@4 | 15563 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 
| Chris@4 | 15564 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 
| Chris@4 | 15565 # This bug is HP SR number 8606223364. | 
| Chris@4 | 15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 | 
| Chris@4 | 15567 $as_echo_n "checking size of short... " >&6; } | 
| Chris@4 | 15568 if ${ac_cv_sizeof_short+:} false; then : | 
| Chris@4 | 15569   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15570 else | 
| Chris@4 | 15571   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short"        "$ac_includes_default"; then : | 
| Chris@4 | 15572 | 
| Chris@4 | 15573 else | 
| Chris@4 | 15574   if test "$ac_cv_type_short" = yes; then | 
| Chris@4 | 15575      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 15576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 15577 as_fn_error 77 "cannot compute sizeof (short) | 
| Chris@4 | 15578 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 15579    else | 
| Chris@4 | 15580      ac_cv_sizeof_short=0 | 
| Chris@4 | 15581    fi | 
| Chris@4 | 15582 fi | 
| Chris@4 | 15583 | 
| Chris@4 | 15584 fi | 
| Chris@4 | 15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 | 
| Chris@4 | 15586 $as_echo "$ac_cv_sizeof_short" >&6; } | 
| Chris@4 | 15587 | 
| Chris@4 | 15588 | 
| Chris@4 | 15589 | 
| Chris@4 | 15590 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15591 #define SIZEOF_SHORT $ac_cv_sizeof_short | 
| Chris@4 | 15592 _ACEOF | 
| Chris@4 | 15593 | 
| Chris@4 | 15594 | 
| Chris@4 | 15595 # The cast to long int works around a bug in the HP C Compiler | 
| Chris@4 | 15596 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 
| Chris@4 | 15597 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 
| Chris@4 | 15598 # This bug is HP SR number 8606223364. | 
| Chris@4 | 15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 | 
| Chris@4 | 15600 $as_echo_n "checking size of int... " >&6; } | 
| Chris@4 | 15601 if ${ac_cv_sizeof_int+:} false; then : | 
| Chris@4 | 15602   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15603 else | 
| Chris@4 | 15604   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then : | 
| Chris@4 | 15605 | 
| Chris@4 | 15606 else | 
| Chris@4 | 15607   if test "$ac_cv_type_int" = yes; then | 
| Chris@4 | 15608      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 15609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 15610 as_fn_error 77 "cannot compute sizeof (int) | 
| Chris@4 | 15611 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 15612    else | 
| Chris@4 | 15613      ac_cv_sizeof_int=0 | 
| Chris@4 | 15614    fi | 
| Chris@4 | 15615 fi | 
| Chris@4 | 15616 | 
| Chris@4 | 15617 fi | 
| Chris@4 | 15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 | 
| Chris@4 | 15619 $as_echo "$ac_cv_sizeof_int" >&6; } | 
| Chris@4 | 15620 | 
| Chris@4 | 15621 | 
| Chris@4 | 15622 | 
| Chris@4 | 15623 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15624 #define SIZEOF_INT $ac_cv_sizeof_int | 
| Chris@4 | 15625 _ACEOF | 
| Chris@4 | 15626 | 
| Chris@4 | 15627 | 
| Chris@4 | 15628 # The cast to long int works around a bug in the HP C Compiler | 
| Chris@4 | 15629 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects | 
| Chris@4 | 15630 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. | 
| Chris@4 | 15631 # This bug is HP SR number 8606223364. | 
| Chris@4 | 15632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 | 
| Chris@4 | 15633 $as_echo_n "checking size of long... " >&6; } | 
| Chris@4 | 15634 if ${ac_cv_sizeof_long+:} false; then : | 
| Chris@4 | 15635   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15636 else | 
| Chris@4 | 15637   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then : | 
| Chris@4 | 15638 | 
| Chris@4 | 15639 else | 
| Chris@4 | 15640   if test "$ac_cv_type_long" = yes; then | 
| Chris@4 | 15641      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 | 
| Chris@4 | 15642 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} | 
| Chris@4 | 15643 as_fn_error 77 "cannot compute sizeof (long) | 
| Chris@4 | 15644 See \`config.log' for more details" "$LINENO" 5; } | 
| Chris@4 | 15645    else | 
| Chris@4 | 15646      ac_cv_sizeof_long=0 | 
| Chris@4 | 15647    fi | 
| Chris@4 | 15648 fi | 
| Chris@4 | 15649 | 
| Chris@4 | 15650 fi | 
| Chris@4 | 15651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 | 
| Chris@4 | 15652 $as_echo "$ac_cv_sizeof_long" >&6; } | 
| Chris@4 | 15653 | 
| Chris@4 | 15654 | 
| Chris@4 | 15655 | 
| Chris@4 | 15656 cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15657 #define SIZEOF_LONG $ac_cv_sizeof_long | 
| Chris@4 | 15658 _ACEOF | 
| Chris@4 | 15659 | 
| Chris@4 | 15660 | 
| Chris@4 | 15661 | 
| Chris@4 | 15662 save_LIBS="${LIBS}" | 
| Chris@4 | 15663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5 | 
| Chris@4 | 15664 $as_echo_n "checking for clock_gettime in -lrt... " >&6; } | 
| Chris@4 | 15665 if ${ac_cv_lib_rt_clock_gettime+:} false; then : | 
| Chris@4 | 15666   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15667 else | 
| Chris@4 | 15668   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 15669 LIBS="-lrt  $LIBS" | 
| Chris@4 | 15670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15671 /* end confdefs.h.  */ | 
| Chris@4 | 15672 | 
| Chris@4 | 15673 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 15674    Use char because int might match the return type of a GCC | 
| Chris@4 | 15675    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 15676 #ifdef __cplusplus | 
| Chris@4 | 15677 extern "C" | 
| Chris@4 | 15678 #endif | 
| Chris@4 | 15679 char clock_gettime (); | 
| Chris@4 | 15680 int | 
| Chris@4 | 15681 main () | 
| Chris@4 | 15682 { | 
| Chris@4 | 15683 return clock_gettime (); | 
| Chris@4 | 15684   ; | 
| Chris@4 | 15685   return 0; | 
| Chris@4 | 15686 } | 
| Chris@4 | 15687 _ACEOF | 
| Chris@4 | 15688 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 15689   ac_cv_lib_rt_clock_gettime=yes | 
| Chris@4 | 15690 else | 
| Chris@4 | 15691   ac_cv_lib_rt_clock_gettime=no | 
| Chris@4 | 15692 fi | 
| Chris@4 | 15693 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 15694     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 15695 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 15696 fi | 
| Chris@4 | 15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5 | 
| Chris@4 | 15698 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; } | 
| Chris@4 | 15699 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then : | 
| Chris@4 | 15700   rt_libs=" -lrt" | 
| Chris@4 | 15701 fi | 
| Chris@4 | 15702 | 
| Chris@4 | 15703 LIBS="${LIBS}${rt_libs}" | 
| Chris@4 | 15704 DLL_LIBS="${DLL_LIBS}${rt_libs}" | 
| Chris@4 | 15705 for ac_func in clock_gettime nanosleep | 
| Chris@4 | 15706 do : | 
| Chris@4 | 15707   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` | 
| Chris@4 | 15708 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var" | 
| Chris@4 | 15709 if eval test \"x\$"$as_ac_var"\" = x"yes"; then : | 
| Chris@4 | 15710   cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15711 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 | 
| Chris@4 | 15712 _ACEOF | 
| Chris@4 | 15713 | 
| Chris@4 | 15714 fi | 
| Chris@4 | 15715 done | 
| Chris@4 | 15716 | 
| Chris@4 | 15717 LIBS="${save_LIBS}" | 
| Chris@4 | 15718 | 
| Chris@4 | 15719 LT_CURRENT=2 | 
| Chris@4 | 15720 LT_REVISION=0 | 
| Chris@4 | 15721 LT_AGE=0 | 
| Chris@4 | 15722 | 
| Chris@4 | 15723 | 
| Chris@4 | 15724 | 
| Chris@4 | 15725 | 
| Chris@4 | 15726 | 
| Chris@4 | 15727 | 
| Chris@4 | 15728 | 
| Chris@4 | 15729 | 
| Chris@4 | 15730 | 
| Chris@4 | 15731 | 
| Chris@4 | 15732 | 
| Chris@4 | 15733 | 
| Chris@4 | 15734 | 
| Chris@4 | 15735 | 
| Chris@4 | 15736 | 
| Chris@4 | 15737 if ( echo "${host_os}" | grep ^darwin >> /dev/null ) && | 
| Chris@4 | 15738       [ "$enable_mac_universal" = "yes" ] && | 
| Chris@4 | 15739        [ "$enable_mac_debug" != "yes" ] ; then | 
| Chris@4 | 15740    CFLAGS="-O2 -Wall -pedantic -pipe -fPIC -DNDEBUG" | 
| Chris@4 | 15741 else | 
| Chris@4 | 15742    CFLAGS=${CFLAGS:-"-g -O2 -Wall -pedantic -pipe -fPIC"} | 
| Chris@4 | 15743 fi | 
| Chris@4 | 15744 | 
| Chris@4 | 15745 if [ $ac_cv_c_bigendian = "yes" ] ; then | 
| Chris@4 | 15746    CFLAGS="$CFLAGS -DPA_BIG_ENDIAN" | 
| Chris@4 | 15747 else | 
| Chris@4 | 15748    CFLAGS="$CFLAGS -DPA_LITTLE_ENDIAN" | 
| Chris@4 | 15749 fi | 
| Chris@4 | 15750 | 
| Chris@4 | 15751 add_objects() | 
| Chris@4 | 15752 { | 
| Chris@4 | 15753     for o in $@; do | 
| Chris@4 | 15754         test "${OTHER_OBJS#*${o}*}" = "${OTHER_OBJS}" && OTHER_OBJS="$OTHER_OBJS $o" | 
| Chris@4 | 15755     done | 
| Chris@4 | 15756 } | 
| Chris@4 | 15757 | 
| Chris@4 | 15758 INCLUDES=portaudio.h | 
| Chris@4 | 15759 | 
| Chris@4 | 15760 CFLAGS="$CFLAGS -I\$(top_srcdir)/include -I\$(top_srcdir)/src/common" | 
| Chris@4 | 15761 | 
| Chris@4 | 15762 case "${host_os}" in | 
| Chris@4 | 15763   darwin* ) | 
| Chris@4 | 15764 | 
| Chris@4 | 15765         $as_echo "#define PA_USE_COREAUDIO 1" >>confdefs.h | 
| Chris@4 | 15766 | 
| Chris@4 | 15767 | 
| Chris@4 | 15768         CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix -Werror" | 
| Chris@4 | 15769         LIBS="-framework CoreAudio -framework AudioToolbox -framework AudioUnit -framework Carbon" | 
| Chris@4 | 15770 | 
| Chris@4 | 15771         if test "x$enable_mac_universal" = "xyes" ; then | 
| Chris@4 | 15772            if [ -d /Developer/SDKs/MacOSX10.5.sdk ] ; then | 
| Chris@4 | 15773               mac_version_min="-mmacosx-version-min=10.3" | 
| Chris@4 | 15774               mac_arches="-arch i386 -arch ppc -arch x86_64 -arch ppc64" | 
| Chris@4 | 15775               mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.5.sdk" | 
| Chris@4 | 15776            elif [ -d /Developer/SDKs/MacOSX10.6.sdk ] ; then | 
| Chris@4 | 15777               mac_version_min="-mmacosx-version-min=10.4" | 
| Chris@4 | 15778               mac_arches="-arch i386 -arch x86_64" | 
| Chris@4 | 15779               mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.6.sdk" | 
| Chris@4 | 15780            elif [ -d /Developer/SDKs/MacOSX10.7.sdk ] ; then | 
| Chris@4 | 15781               mac_version_min="-mmacosx-version-min=10.4" | 
| Chris@4 | 15782               mac_arches="-arch i386 -arch x86_64" | 
| Chris@4 | 15783               mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.7.sdk" | 
| Chris@4 | 15784            else | 
| Chris@4 | 15785               mac_version_min="-mmacosx-version-min=10.3" | 
| Chris@4 | 15786               mac_arches="-arch i386 -arch ppc" | 
| Chris@4 | 15787               mac_sysroot="-isysroot /Developer/SDKs/MacOSX10.4u.sdk" | 
| Chris@4 | 15788            fi | 
| Chris@4 | 15789         else | 
| Chris@4 | 15790            mac_arches="" | 
| Chris@4 | 15791            mac_sysroot="" | 
| Chris@4 | 15792            mac_version="" | 
| Chris@4 | 15793         fi | 
| Chris@4 | 15794         SHARED_FLAGS="$LIBS -dynamiclib $mac_arches $mac_sysroot $mac_version_min" | 
| Chris@4 | 15795         CFLAGS="-std=c99 $CFLAGS $mac_arches $mac_sysroot $mac_version_min" | 
| Chris@4 | 15796         OTHER_OBJS="src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o src/hostapi/coreaudio/pa_mac_core.o src/hostapi/coreaudio/pa_mac_core_utilities.o src/hostapi/coreaudio/pa_mac_core_blocking.o src/common/pa_ringbuffer.o" | 
| Chris@4 | 15797         PADLL="libportaudio.dylib" | 
| Chris@4 | 15798         ;; | 
| Chris@4 | 15799 | 
| Chris@4 | 15800   mingw* ) | 
| Chris@4 | 15801 | 
| Chris@4 | 15802         PADLL="portaudio.dll" | 
| Chris@4 | 15803         THREAD_CFLAGS="-mthreads" | 
| Chris@4 | 15804         SHARED_FLAGS="-shared" | 
| Chris@4 | 15805         CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/win -DPA_USE_WMME=0 -DPA_USE_ASIO=0 -DPA_USE_WDMKS=0 -DPA_USE_DS=0 -DPA_USE_WASAPI=0" | 
| Chris@4 | 15806 | 
| Chris@4 | 15807         if [ "x$with_directx" = "xyes" ]; then | 
| Chris@4 | 15808             DXDIR="$with_dxdir" | 
| Chris@4 | 15809             add_objects src/hostapi/dsound/pa_win_ds.o src/hostapi/dsound/pa_win_ds_dynlink.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/os/win/pa_win_waveformat.o | 
| Chris@4 | 15810             LIBS="-lwinmm -lm -ldsound -lole32" | 
| Chris@4 | 15811             DLL_LIBS="${DLL_LIBS} -lwinmm -lm -L$DXDIR/lib -ldsound -lole32" | 
| Chris@4 | 15812             #VC98="\"/c/Program Files/Microsoft Visual Studio/VC98/Include\"" | 
| Chris@4 | 15813             #CFLAGS="$CFLAGS -I$VC98 -DPA_NO_WMME -DPA_NO_ASIO" | 
| Chris@4 | 15814             CFLAGS="$CFLAGS -I$DXDIR/include -UPA_USE_DS -DPA_USE_DS=1" | 
| Chris@4 | 15815         fi | 
| Chris@4 | 15816 | 
| Chris@4 | 15817         if [ "x$with_asio" = "xyes" ]; then | 
| Chris@4 | 15818             ASIODIR="$with_asiodir" | 
| Chris@4 | 15819             add_objects src/hostapi/asio/pa_asio.o src/common/pa_ringbuffer.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/hostapi/asio/iasiothiscallresolver.o $ASIODIR/common/asio.o $ASIODIR/host/asiodrivers.o $ASIODIR/host/pc/asiolist.o | 
| Chris@4 | 15820             LIBS="-lwinmm -lm -lole32 -luuid" | 
| Chris@4 | 15821             DLL_LIBS="${DLL_LIBS} -lwinmm -lm -lole32 -luuid" | 
| Chris@4 | 15822             CFLAGS="$CFLAGS -ffast-math -fomit-frame-pointer -I\$(top_srcdir)/src/hostapi/asio -I$ASIODIR/host/pc -I$ASIODIR/common -I$ASIODIR/host -UPA_USE_ASIO -DPA_USE_ASIO=1 -DWINDOWS" | 
| Chris@4 | 15823 | 
| Chris@4 | 15824                                                             CFLAGS="$CFLAGS -D_WIN32_WINNT=0x0501 -DWINVER=0x0501" | 
| Chris@4 | 15825 | 
| Chris@4 | 15826             CXXFLAGS="$CFLAGS" | 
| Chris@4 | 15827         fi | 
| Chris@4 | 15828 | 
| Chris@4 | 15829         if [ "x$with_wdmks" = "xyes" ]; then | 
| Chris@4 | 15830             DXDIR="$with_dxdir" | 
| Chris@4 | 15831             add_objects src/hostapi/wdmks/pa_win_wdmks.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o | 
| Chris@4 | 15832             LIBS="-lwinmm -lm -luuid -lsetupapi -lole32" | 
| Chris@4 | 15833             DLL_LIBS="${DLL_LIBS} -lwinmm -lm -L$DXDIR/lib -luuid -lsetupapi -lole32" | 
| Chris@4 | 15834             #VC98="\"/c/Program Files/Microsoft Visual Studio/VC98/Include\"" | 
| Chris@4 | 15835             #CFLAGS="$CFLAGS -I$VC98 -DPA_NO_WMME -DPA_NO_ASIO" | 
| Chris@4 | 15836             CFLAGS="$CFLAGS -I$DXDIR/include -UPA_USE_WDMKS -DPA_USE_WDMKS=1" | 
| Chris@4 | 15837         fi | 
| Chris@4 | 15838 | 
| Chris@4 | 15839         if [ "x$with_wmme" = "xyes" ]; then | 
| Chris@4 | 15840             add_objects src/hostapi/wmme/pa_win_wmme.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_waveformat.o | 
| Chris@4 | 15841             LIBS="-lwinmm -lm -lole32 -luuid" | 
| Chris@4 | 15842             DLL_LIBS="${DLL_LIBS} -lwinmm" | 
| Chris@4 | 15843             CFLAGS="$CFLAGS -UPA_USE_WMME -DPA_USE_WMME=1" | 
| Chris@4 | 15844         fi | 
| Chris@4 | 15845 | 
| Chris@4 | 15846         if [ "x$with_wasapi" = "xyes" ]; then | 
| Chris@4 | 15847             add_objects src/hostapi/wasapi/pa_win_wasapi.o src/common/pa_ringbuffer.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_coinitialize.o src/os/win/pa_win_waveformat.o | 
| Chris@4 | 15848             LIBS="-lwinmm -lm -lole32 -luuid" | 
| Chris@4 | 15849             DLL_LIBS="${DLL_LIBS} -lwinmm -lole32" | 
| Chris@4 | 15850             CFLAGS="$CFLAGS -I\$(top_srcdir)/src/hostapi/wasapi/mingw-include -UPA_USE_WASAPI -DPA_USE_WASAPI=1" | 
| Chris@4 | 15851         fi | 
| Chris@4 | 15852         ;; | 
| Chris@4 | 15853 | 
| Chris@4 | 15854   cygwin* ) | 
| Chris@4 | 15855 | 
| Chris@4 | 15856         OTHER_OBJS="src/hostapi/wmme/pa_win_wmme.o src/os/win/pa_win_hostapis.o src/os/win/pa_win_util.o src/os/win/pa_win_waveformat.o" | 
| Chris@4 | 15857         CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/win -DPA_USE_DS=0 -DPA_USE_WDMKS=0 -DPA_USE_ASIO=0 -DPA_USE_WASAPI=0 -DPA_USE_WMME=1" | 
| Chris@4 | 15858         LIBS="-lwinmm -lm" | 
| Chris@4 | 15859         PADLL="portaudio.dll" | 
| Chris@4 | 15860         THREAD_CFLAGS="-mthreads" | 
| Chris@4 | 15861         SHARED_FLAGS="-shared" | 
| Chris@4 | 15862         DLL_LIBS="${DLL_LIBS} -lwinmm" | 
| Chris@4 | 15863         ;; | 
| Chris@4 | 15864 | 
| Chris@4 | 15865   irix* ) | 
| Chris@4 | 15866                                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 | 
| Chris@4 | 15867 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | 
| Chris@4 | 15868 if ${ac_cv_lib_pthread_pthread_create+:} false; then : | 
| Chris@4 | 15869   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15870 else | 
| Chris@4 | 15871   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 15872 LIBS="-lpthread  $LIBS" | 
| Chris@4 | 15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15874 /* end confdefs.h.  */ | 
| Chris@4 | 15875 | 
| Chris@4 | 15876 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 15877    Use char because int might match the return type of a GCC | 
| Chris@4 | 15878    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 15879 #ifdef __cplusplus | 
| Chris@4 | 15880 extern "C" | 
| Chris@4 | 15881 #endif | 
| Chris@4 | 15882 char pthread_create (); | 
| Chris@4 | 15883 int | 
| Chris@4 | 15884 main () | 
| Chris@4 | 15885 { | 
| Chris@4 | 15886 return pthread_create (); | 
| Chris@4 | 15887   ; | 
| Chris@4 | 15888   return 0; | 
| Chris@4 | 15889 } | 
| Chris@4 | 15890 _ACEOF | 
| Chris@4 | 15891 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 15892   ac_cv_lib_pthread_pthread_create=yes | 
| Chris@4 | 15893 else | 
| Chris@4 | 15894   ac_cv_lib_pthread_pthread_create=no | 
| Chris@4 | 15895 fi | 
| Chris@4 | 15896 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 15897     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 15898 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 15899 fi | 
| Chris@4 | 15900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 | 
| Chris@4 | 15901 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | 
| Chris@4 | 15902 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : | 
| Chris@4 | 15903   cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15904 #define HAVE_LIBPTHREAD 1 | 
| Chris@4 | 15905 _ACEOF | 
| Chris@4 | 15906 | 
| Chris@4 | 15907   LIBS="-lpthread $LIBS" | 
| Chris@4 | 15908 | 
| Chris@4 | 15909 else | 
| Chris@4 | 15910   as_fn_error $? "IRIX posix thread library not found!" "$LINENO" 5 | 
| Chris@4 | 15911 fi | 
| Chris@4 | 15912 | 
| Chris@4 | 15913         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alOpenPort in -laudio" >&5 | 
| Chris@4 | 15914 $as_echo_n "checking for alOpenPort in -laudio... " >&6; } | 
| Chris@4 | 15915 if ${ac_cv_lib_audio_alOpenPort+:} false; then : | 
| Chris@4 | 15916   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15917 else | 
| Chris@4 | 15918   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 15919 LIBS="-laudio  $LIBS" | 
| Chris@4 | 15920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15921 /* end confdefs.h.  */ | 
| Chris@4 | 15922 | 
| Chris@4 | 15923 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 15924    Use char because int might match the return type of a GCC | 
| Chris@4 | 15925    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 15926 #ifdef __cplusplus | 
| Chris@4 | 15927 extern "C" | 
| Chris@4 | 15928 #endif | 
| Chris@4 | 15929 char alOpenPort (); | 
| Chris@4 | 15930 int | 
| Chris@4 | 15931 main () | 
| Chris@4 | 15932 { | 
| Chris@4 | 15933 return alOpenPort (); | 
| Chris@4 | 15934   ; | 
| Chris@4 | 15935   return 0; | 
| Chris@4 | 15936 } | 
| Chris@4 | 15937 _ACEOF | 
| Chris@4 | 15938 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 15939   ac_cv_lib_audio_alOpenPort=yes | 
| Chris@4 | 15940 else | 
| Chris@4 | 15941   ac_cv_lib_audio_alOpenPort=no | 
| Chris@4 | 15942 fi | 
| Chris@4 | 15943 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 15944     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 15945 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 15946 fi | 
| Chris@4 | 15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_alOpenPort" >&5 | 
| Chris@4 | 15948 $as_echo "$ac_cv_lib_audio_alOpenPort" >&6; } | 
| Chris@4 | 15949 if test "x$ac_cv_lib_audio_alOpenPort" = xyes; then : | 
| Chris@4 | 15950   cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15951 #define HAVE_LIBAUDIO 1 | 
| Chris@4 | 15952 _ACEOF | 
| Chris@4 | 15953 | 
| Chris@4 | 15954   LIBS="-laudio $LIBS" | 
| Chris@4 | 15955 | 
| Chris@4 | 15956 else | 
| Chris@4 | 15957   as_fn_error $? "IRIX audio library not found!" "$LINENO" 5 | 
| Chris@4 | 15958 fi | 
| Chris@4 | 15959 | 
| Chris@4 | 15960         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dmGetUST in -ldmedia" >&5 | 
| Chris@4 | 15961 $as_echo_n "checking for dmGetUST in -ldmedia... " >&6; } | 
| Chris@4 | 15962 if ${ac_cv_lib_dmedia_dmGetUST+:} false; then : | 
| Chris@4 | 15963   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 15964 else | 
| Chris@4 | 15965   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 15966 LIBS="-ldmedia  $LIBS" | 
| Chris@4 | 15967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 15968 /* end confdefs.h.  */ | 
| Chris@4 | 15969 | 
| Chris@4 | 15970 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 15971    Use char because int might match the return type of a GCC | 
| Chris@4 | 15972    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 15973 #ifdef __cplusplus | 
| Chris@4 | 15974 extern "C" | 
| Chris@4 | 15975 #endif | 
| Chris@4 | 15976 char dmGetUST (); | 
| Chris@4 | 15977 int | 
| Chris@4 | 15978 main () | 
| Chris@4 | 15979 { | 
| Chris@4 | 15980 return dmGetUST (); | 
| Chris@4 | 15981   ; | 
| Chris@4 | 15982   return 0; | 
| Chris@4 | 15983 } | 
| Chris@4 | 15984 _ACEOF | 
| Chris@4 | 15985 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 15986   ac_cv_lib_dmedia_dmGetUST=yes | 
| Chris@4 | 15987 else | 
| Chris@4 | 15988   ac_cv_lib_dmedia_dmGetUST=no | 
| Chris@4 | 15989 fi | 
| Chris@4 | 15990 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 15991     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 15992 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 15993 fi | 
| Chris@4 | 15994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dmedia_dmGetUST" >&5 | 
| Chris@4 | 15995 $as_echo "$ac_cv_lib_dmedia_dmGetUST" >&6; } | 
| Chris@4 | 15996 if test "x$ac_cv_lib_dmedia_dmGetUST" = xyes; then : | 
| Chris@4 | 15997   cat >>confdefs.h <<_ACEOF | 
| Chris@4 | 15998 #define HAVE_LIBDMEDIA 1 | 
| Chris@4 | 15999 _ACEOF | 
| Chris@4 | 16000 | 
| Chris@4 | 16001   LIBS="-ldmedia $LIBS" | 
| Chris@4 | 16002 | 
| Chris@4 | 16003 else | 
| Chris@4 | 16004   as_fn_error $? "IRIX digital media library not found!" "$LINENO" 5 | 
| Chris@4 | 16005 fi | 
| Chris@4 | 16006 | 
| Chris@4 | 16007 | 
| Chris@4 | 16008                                 $as_echo "#define PA_USE_SGI 1" >>confdefs.h | 
| Chris@4 | 16009 | 
| Chris@4 | 16010 | 
| Chris@4 | 16011         CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix" | 
| Chris@4 | 16012 | 
| Chris@4 | 16013                         THREAD_CFLAGS="-D_REENTRANT" | 
| Chris@4 | 16014 | 
| Chris@4 | 16015         OTHER_OBJS="pa_sgi/pa_sgi.o src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o" | 
| Chris@4 | 16016 | 
| Chris@4 | 16017                         LIBS="-lm -ldmedia -laudio -lpthread" | 
| Chris@4 | 16018         PADLL="libportaudio.so" | 
| Chris@4 | 16019         SHARED_FLAGS="" | 
| Chris@4 | 16020         ;; | 
| Chris@4 | 16021 | 
| Chris@4 | 16022   *) | 
| Chris@4 | 16023 | 
| Chris@4 | 16024         CFLAGS="$CFLAGS -I\$(top_srcdir)/src/os/unix" | 
| Chris@4 | 16025 | 
| Chris@4 | 16026         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5 | 
| Chris@4 | 16027 $as_echo_n "checking for pthread_create in -lpthread... " >&6; } | 
| Chris@4 | 16028 if ${ac_cv_lib_pthread_pthread_create+:} false; then : | 
| Chris@4 | 16029   $as_echo_n "(cached) " >&6 | 
| Chris@4 | 16030 else | 
| Chris@4 | 16031   ac_check_lib_save_LIBS=$LIBS | 
| Chris@4 | 16032 LIBS="-lpthread  $LIBS" | 
| Chris@4 | 16033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext | 
| Chris@4 | 16034 /* end confdefs.h.  */ | 
| Chris@4 | 16035 | 
| Chris@4 | 16036 /* Override any GCC internal prototype to avoid an error. | 
| Chris@4 | 16037    Use char because int might match the return type of a GCC | 
| Chris@4 | 16038    builtin and then its argument prototype would still apply.  */ | 
| Chris@4 | 16039 #ifdef __cplusplus | 
| Chris@4 | 16040 extern "C" | 
| Chris@4 | 16041 #endif | 
| Chris@4 | 16042 char pthread_create (); | 
| Chris@4 | 16043 int | 
| Chris@4 | 16044 main () | 
| Chris@4 | 16045 { | 
| Chris@4 | 16046 return pthread_create (); | 
| Chris@4 | 16047   ; | 
| Chris@4 | 16048   return 0; | 
| Chris@4 | 16049 } | 
| Chris@4 | 16050 _ACEOF | 
| Chris@4 | 16051 if ac_fn_c_try_link "$LINENO"; then : | 
| Chris@4 | 16052   ac_cv_lib_pthread_pthread_create=yes | 
| Chris@4 | 16053 else | 
| Chris@4 | 16054   ac_cv_lib_pthread_pthread_create=no | 
| Chris@4 | 16055 fi | 
| Chris@4 | 16056 rm -f core conftest.err conftest.$ac_objext \ | 
| Chris@4 | 16057     conftest$ac_exeext conftest.$ac_ext | 
| Chris@4 | 16058 LIBS=$ac_check_lib_save_LIBS | 
| Chris@4 | 16059 fi | 
| Chris@4 | 16060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5 | 
| Chris@4 | 16061 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; } | 
| Chris@4 | 16062 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then : | 
| Chris@4 | 16063   have_pthread="yes" | 
| Chris@4 | 16064 else | 
| Chris@4 | 16065   as_fn_error $? "libpthread not found!" "$LINENO" 5 | 
| Chris@4 | 16066 fi | 
| Chris@4 | 16067 | 
| Chris@4 | 16068 | 
| Chris@4 | 16069         if [ "$have_alsa" = "yes" ] && [ "$with_alsa" != "no" ] ; then | 
| Chris@4 | 16070            DLL_LIBS="$DLL_LIBS -lasound" | 
| Chris@4 | 16071            LIBS="$LIBS -lasound" | 
| Chris@4 | 16072            OTHER_OBJS="$OTHER_OBJS src/hostapi/alsa/pa_linux_alsa.o" | 
| Chris@4 | 16073            INCLUDES="$INCLUDES pa_linux_alsa.h" | 
| Chris@4 | 16074            $as_echo "#define PA_USE_ALSA 1" >>confdefs.h | 
| Chris@4 | 16075 | 
| Chris@4 | 16076         fi | 
| Chris@4 | 16077 | 
| Chris@4 | 16078         if [ "$have_jack" = "yes" ] && [ "$with_jack" != "no" ] ; then | 
| Chris@4 | 16079            DLL_LIBS="$DLL_LIBS $JACK_LIBS" | 
| Chris@4 | 16080            CFLAGS="$CFLAGS $JACK_CFLAGS" | 
| Chris@4 | 16081            OTHER_OBJS="$OTHER_OBJS src/hostapi/jack/pa_jack.o src/common/pa_ringbuffer.o" | 
| Chris@4 | 16082            INCLUDES="$INCLUDES pa_jack.h" | 
| Chris@4 | 16083            $as_echo "#define PA_USE_JACK 1" >>confdefs.h | 
| Chris@4 | 16084 | 
| Chris@4 | 16085         fi | 
| Chris@4 | 16086 | 
| Chris@4 | 16087         if [ "$with_oss" != "no" ] ; then | 
| Chris@4 | 16088            OTHER_OBJS="$OTHER_OBJS src/hostapi/oss/pa_unix_oss.o" | 
| Chris@4 | 16089            if [ "$have_libossaudio" = "yes" ] ; then | 
| Chris@4 | 16090                    DLL_LIBS="$DLL_LIBS -lossaudio" | 
| Chris@4 | 16091                    LIBS="$LIBS -lossaudio" | 
| Chris@4 | 16092            fi | 
| Chris@4 | 16093            $as_echo "#define PA_USE_OSS 1" >>confdefs.h | 
| Chris@4 | 16094 | 
| Chris@4 | 16095         fi | 
| Chris@4 | 16096 | 
| Chris@4 | 16097         if [ "$have_asihpi" = "yes" ] && [ "$with_asihpi" != "no" ] ; then | 
| Chris@4 | 16098            LIBS="$LIBS -lhpi" | 
| Chris@4 | 16099            DLL_LIBS="$DLL_LIBS -lhpi" | 
| Chris@4 | 16100            OTHER_OBJS="$OTHER_OBJS src/hostapi/asihpi/pa_linux_asihpi.o" | 
| Chris@4 | 16101            $as_echo "#define PA_USE_ASIHPI 1" >>confdefs.h | 
| Chris@4 | 16102 | 
| Chris@4 | 16103         fi | 
| Chris@4 | 16104 | 
| Chris@4 | 16105         DLL_LIBS="$DLL_LIBS -lm -lpthread" | 
| Chris@4 | 16106         LIBS="$LIBS -lm -lpthread" | 
| Chris@4 | 16107         PADLL="libportaudio.so" | 
| Chris@4 | 16108 | 
| Chris@4 | 16109         ## support sun cc compiler flags | 
| Chris@4 | 16110         case "${host_os}" in | 
| Chris@4 | 16111            solaris*) | 
| Chris@4 | 16112               SHARED_FLAGS="-G" | 
| Chris@4 | 16113               THREAD_CFLAGS="-mt" | 
| Chris@4 | 16114               ;; | 
| Chris@4 | 16115            *) | 
| Chris@4 | 16116               SHARED_FLAGS="-fPIC" | 
| Chris@4 | 16117               THREAD_CFLAGS="-pthread" | 
| Chris@4 | 16118               ;; | 
| Chris@4 | 16119         esac | 
| Chris@4 | 16120 | 
| Chris@4 | 16121         OTHER_OBJS="$OTHER_OBJS src/os/unix/pa_unix_hostapis.o src/os/unix/pa_unix_util.o" | 
| Chris@4 | 16122 esac | 
| Chris@4 | 16123 CFLAGS="$CFLAGS $THREAD_CFLAGS" | 
| Chris@4 | 16124 | 
| Chris@4 | 16125 test "$enable_shared" != "yes" && SHARED_FLAGS="" | 
| Chris@4 | 16126 | 
| Chris@4 | 16127 if test "$enable_cxx" = "yes"; then | 
| Chris@4 | 16128 | 
| Chris@4 | 16129 | 
| Chris@4 | 16130 subdirs="$subdirs bindings/cpp" | 
| Chris@4 | 16131 | 
| Chris@4 | 16132    ENABLE_CXX_TRUE="" | 
| Chris@4 | 16133    ENABLE_CXX_FALSE="#" | 
| Chris@4 | 16134 else | 
| Chris@4 | 16135    ENABLE_CXX_TRUE="#" | 
| Chris@4 | 16136    ENABLE_CXX_FALSE="" | 
| Chris@4 | 16137 fi | 
| Chris@4 | 16138 | 
| Chris@4 | 16139 | 
| Chris@4 | 16140 | 
| Chris@4 | 16141 if test "x$with_asio" = "xyes"; then | 
| Chris@4 | 16142    WITH_ASIO_TRUE="" | 
| Chris@4 | 16143    WITH_ASIO_FALSE="@ #" | 
| Chris@4 | 16144 else | 
| Chris@4 | 16145    WITH_ASIO_TRUE="@ #" | 
| Chris@4 | 16146    WITH_ASIO_FALSE="" | 
| Chris@4 | 16147 fi | 
| Chris@4 | 16148 | 
| Chris@4 | 16149 | 
| Chris@4 | 16150 | 
| Chris@4 | 16151 ac_config_files="$ac_config_files Makefile portaudio-2.0.pc" | 
| Chris@4 | 16152 | 
| Chris@4 | 16153 cat >confcache <<\_ACEOF | 
| Chris@4 | 16154 # This file is a shell script that caches the results of configure | 
| Chris@4 | 16155 # tests run on this system so they can be shared between configure | 
| Chris@4 | 16156 # scripts and configure runs, see configure's option --config-cache. | 
| Chris@4 | 16157 # It is not useful on other systems.  If it contains results you don't | 
| Chris@4 | 16158 # want to keep, you may remove or edit it. | 
| Chris@4 | 16159 # | 
| Chris@4 | 16160 # config.status only pays attention to the cache file if you give it | 
| Chris@4 | 16161 # the --recheck option to rerun configure. | 
| Chris@4 | 16162 # | 
| Chris@4 | 16163 # `ac_cv_env_foo' variables (set or unset) will be overridden when | 
| Chris@4 | 16164 # loading this file, other *unset* `ac_cv_foo' will be assigned the | 
| Chris@4 | 16165 # following values. | 
| Chris@4 | 16166 | 
| Chris@4 | 16167 _ACEOF | 
| Chris@4 | 16168 | 
| Chris@4 | 16169 # The following way of writing the cache mishandles newlines in values, | 
| Chris@4 | 16170 # but we know of no workaround that is simple, portable, and efficient. | 
| Chris@4 | 16171 # So, we kill variables containing newlines. | 
| Chris@4 | 16172 # Ultrix sh set writes to stderr and can't be redirected directly, | 
| Chris@4 | 16173 # and sets the high bit in the cache file unless we assign to the vars. | 
| Chris@4 | 16174 ( | 
| Chris@4 | 16175   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do | 
| Chris@4 | 16176     eval ac_val=\$$ac_var | 
| Chris@4 | 16177     case $ac_val in #( | 
| Chris@4 | 16178     *${as_nl}*) | 
| Chris@4 | 16179       case $ac_var in #( | 
| Chris@4 | 16180       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 | 
| Chris@4 | 16181 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; | 
| Chris@4 | 16182       esac | 
| Chris@4 | 16183       case $ac_var in #( | 
| Chris@4 | 16184       _ | IFS | as_nl) ;; #( | 
| Chris@4 | 16185       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( | 
| Chris@4 | 16186       *) { eval $ac_var=; unset $ac_var;} ;; | 
| Chris@4 | 16187       esac ;; | 
| Chris@4 | 16188     esac | 
| Chris@4 | 16189   done | 
| Chris@4 | 16190 | 
| Chris@4 | 16191   (set) 2>&1 | | 
| Chris@4 | 16192     case $as_nl`(ac_space=' '; set) 2>&1` in #( | 
| Chris@4 | 16193     *${as_nl}ac_space=\ *) | 
| Chris@4 | 16194       # `set' does not quote correctly, so add quotes: double-quote | 
| Chris@4 | 16195       # substitution turns \\\\ into \\, and sed turns \\ into \. | 
| Chris@4 | 16196       sed -n \ | 
| Chris@4 | 16197 	"s/'/'\\\\''/g; | 
| Chris@4 | 16198 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | 
| Chris@4 | 16199       ;; #( | 
| Chris@4 | 16200     *) | 
| Chris@4 | 16201       # `set' quotes correctly as required by POSIX, so do not add quotes. | 
| Chris@4 | 16202       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" | 
| Chris@4 | 16203       ;; | 
| Chris@4 | 16204     esac | | 
| Chris@4 | 16205     sort | 
| Chris@4 | 16206 ) | | 
| Chris@4 | 16207   sed ' | 
| Chris@4 | 16208      /^ac_cv_env_/b end | 
| Chris@4 | 16209      t clear | 
| Chris@4 | 16210      :clear | 
| Chris@4 | 16211      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | 
| Chris@4 | 16212      t end | 
| Chris@4 | 16213      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | 
| Chris@4 | 16214      :end' >>confcache | 
| Chris@4 | 16215 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else | 
| Chris@4 | 16216   if test -w "$cache_file"; then | 
| Chris@4 | 16217     if test "x$cache_file" != "x/dev/null"; then | 
| Chris@4 | 16218       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 | 
| Chris@4 | 16219 $as_echo "$as_me: updating cache $cache_file" >&6;} | 
| Chris@4 | 16220       if test ! -f "$cache_file" || test -h "$cache_file"; then | 
| Chris@4 | 16221 	cat confcache >"$cache_file" | 
| Chris@4 | 16222       else | 
| Chris@4 | 16223         case $cache_file in #( | 
| Chris@4 | 16224         */* | ?:*) | 
| Chris@4 | 16225 	  mv -f confcache "$cache_file"$$ && | 
| Chris@4 | 16226 	  mv -f "$cache_file"$$ "$cache_file" ;; #( | 
| Chris@4 | 16227         *) | 
| Chris@4 | 16228 	  mv -f confcache "$cache_file" ;; | 
| Chris@4 | 16229 	esac | 
| Chris@4 | 16230       fi | 
| Chris@4 | 16231     fi | 
| Chris@4 | 16232   else | 
| Chris@4 | 16233     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 | 
| Chris@4 | 16234 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} | 
| Chris@4 | 16235   fi | 
| Chris@4 | 16236 fi | 
| Chris@4 | 16237 rm -f confcache | 
| Chris@4 | 16238 | 
| Chris@4 | 16239 test "x$prefix" = xNONE && prefix=$ac_default_prefix | 
| Chris@4 | 16240 # Let make expand exec_prefix. | 
| Chris@4 | 16241 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | 
| Chris@4 | 16242 | 
| Chris@4 | 16243 # Transform confdefs.h into DEFS. | 
| Chris@4 | 16244 # Protect against shell expansion while executing Makefile rules. | 
| Chris@4 | 16245 # Protect against Makefile macro expansion. | 
| Chris@4 | 16246 # | 
| Chris@4 | 16247 # If the first sed substitution is executed (which looks for macros that | 
| Chris@4 | 16248 # take arguments), then branch to the quote section.  Otherwise, | 
| Chris@4 | 16249 # look for a macro that doesn't take arguments. | 
| Chris@4 | 16250 ac_script=' | 
| Chris@4 | 16251 :mline | 
| Chris@4 | 16252 /\\$/{ | 
| Chris@4 | 16253  N | 
| Chris@4 | 16254  s,\\\n,, | 
| Chris@4 | 16255  b mline | 
| Chris@4 | 16256 } | 
| Chris@4 | 16257 t clear | 
| Chris@4 | 16258 :clear | 
| Chris@4 | 16259 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g | 
| Chris@4 | 16260 t quote | 
| Chris@4 | 16261 s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g | 
| Chris@4 | 16262 t quote | 
| Chris@4 | 16263 b any | 
| Chris@4 | 16264 :quote | 
| Chris@4 | 16265 s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g | 
| Chris@4 | 16266 s/\[/\\&/g | 
| Chris@4 | 16267 s/\]/\\&/g | 
| Chris@4 | 16268 s/\$/$$/g | 
| Chris@4 | 16269 H | 
| Chris@4 | 16270 :any | 
| Chris@4 | 16271 ${ | 
| Chris@4 | 16272 	g | 
| Chris@4 | 16273 	s/^\n// | 
| Chris@4 | 16274 	s/\n/ /g | 
| Chris@4 | 16275 	p | 
| Chris@4 | 16276 } | 
| Chris@4 | 16277 ' | 
| Chris@4 | 16278 DEFS=`sed -n "$ac_script" confdefs.h` | 
| Chris@4 | 16279 | 
| Chris@4 | 16280 | 
| Chris@4 | 16281 ac_libobjs= | 
| Chris@4 | 16282 ac_ltlibobjs= | 
| Chris@4 | 16283 U= | 
| Chris@4 | 16284 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue | 
| Chris@4 | 16285   # 1. Remove the extension, and $U if already installed. | 
| Chris@4 | 16286   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' | 
| Chris@4 | 16287   ac_i=`$as_echo "$ac_i" | sed "$ac_script"` | 
| Chris@4 | 16288   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR | 
| Chris@4 | 16289   #    will be set to the directory where LIBOBJS objects are built. | 
| Chris@4 | 16290   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" | 
| Chris@4 | 16291   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' | 
| Chris@4 | 16292 done | 
| Chris@4 | 16293 LIBOBJS=$ac_libobjs | 
| Chris@4 | 16294 | 
| Chris@4 | 16295 LTLIBOBJS=$ac_ltlibobjs | 
| Chris@4 | 16296 | 
| Chris@4 | 16297 | 
| Chris@4 | 16298 | 
| Chris@4 | 16299 | 
| Chris@4 | 16300 : "${CONFIG_STATUS=./config.status}" | 
| Chris@4 | 16301 ac_write_fail=0 | 
| Chris@4 | 16302 ac_clean_files_save=$ac_clean_files | 
| Chris@4 | 16303 ac_clean_files="$ac_clean_files $CONFIG_STATUS" | 
| Chris@4 | 16304 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 | 
| Chris@4 | 16305 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} | 
| Chris@4 | 16306 as_write_fail=0 | 
| Chris@4 | 16307 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 | 
| Chris@4 | 16308 #! $SHELL | 
| Chris@4 | 16309 # Generated by $as_me. | 
| Chris@4 | 16310 # Run this file to recreate the current configuration. | 
| Chris@4 | 16311 # Compiler output produced by configure, useful for debugging | 
| Chris@4 | 16312 # configure, is in config.log if it exists. | 
| Chris@4 | 16313 | 
| Chris@4 | 16314 debug=false | 
| Chris@4 | 16315 ac_cs_recheck=false | 
| Chris@4 | 16316 ac_cs_silent=false | 
| Chris@4 | 16317 | 
| Chris@4 | 16318 SHELL=\${CONFIG_SHELL-$SHELL} | 
| Chris@4 | 16319 export SHELL | 
| Chris@4 | 16320 _ASEOF | 
| Chris@4 | 16321 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 | 
| Chris@4 | 16322 ## -------------------- ## | 
| Chris@4 | 16323 ## M4sh Initialization. ## | 
| Chris@4 | 16324 ## -------------------- ## | 
| Chris@4 | 16325 | 
| Chris@4 | 16326 # Be more Bourne compatible | 
| Chris@4 | 16327 DUALCASE=1; export DUALCASE # for MKS sh | 
| Chris@4 | 16328 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : | 
| Chris@4 | 16329   emulate sh | 
| Chris@4 | 16330   NULLCMD=: | 
| Chris@4 | 16331   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which | 
| Chris@4 | 16332   # is contrary to our usage.  Disable this feature. | 
| Chris@4 | 16333   alias -g '${1+"$@"}'='"$@"' | 
| Chris@4 | 16334   setopt NO_GLOB_SUBST | 
| Chris@4 | 16335 else | 
| Chris@4 | 16336   case `(set -o) 2>/dev/null` in #( | 
| Chris@4 | 16337   *posix*) : | 
| Chris@4 | 16338     set -o posix ;; #( | 
| Chris@4 | 16339   *) : | 
| Chris@4 | 16340      ;; | 
| Chris@4 | 16341 esac | 
| Chris@4 | 16342 fi | 
| Chris@4 | 16343 | 
| Chris@4 | 16344 | 
| Chris@4 | 16345 as_nl=' | 
| Chris@4 | 16346 ' | 
| Chris@4 | 16347 export as_nl | 
| Chris@4 | 16348 # Printing a long string crashes Solaris 7 /usr/bin/printf. | 
| Chris@4 | 16349 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' | 
| Chris@4 | 16350 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo | 
| Chris@4 | 16351 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo | 
| Chris@4 | 16352 # Prefer a ksh shell builtin over an external printf program on Solaris, | 
| Chris@4 | 16353 # but without wasting forks for bash or zsh. | 
| Chris@4 | 16354 if test -z "$BASH_VERSION$ZSH_VERSION" \ | 
| Chris@4 | 16355     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then | 
| Chris@4 | 16356   as_echo='print -r --' | 
| Chris@4 | 16357   as_echo_n='print -rn --' | 
| Chris@4 | 16358 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then | 
| Chris@4 | 16359   as_echo='printf %s\n' | 
| Chris@4 | 16360   as_echo_n='printf %s' | 
| Chris@4 | 16361 else | 
| Chris@4 | 16362   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then | 
| Chris@4 | 16363     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' | 
| Chris@4 | 16364     as_echo_n='/usr/ucb/echo -n' | 
| Chris@4 | 16365   else | 
| Chris@4 | 16366     as_echo_body='eval expr "X$1" : "X\\(.*\\)"' | 
| Chris@4 | 16367     as_echo_n_body='eval | 
| Chris@4 | 16368       arg=$1; | 
| Chris@4 | 16369       case $arg in #( | 
| Chris@4 | 16370       *"$as_nl"*) | 
| Chris@4 | 16371 	expr "X$arg" : "X\\(.*\\)$as_nl"; | 
| Chris@4 | 16372 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; | 
| Chris@4 | 16373       esac; | 
| Chris@4 | 16374       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" | 
| Chris@4 | 16375     ' | 
| Chris@4 | 16376     export as_echo_n_body | 
| Chris@4 | 16377     as_echo_n='sh -c $as_echo_n_body as_echo' | 
| Chris@4 | 16378   fi | 
| Chris@4 | 16379   export as_echo_body | 
| Chris@4 | 16380   as_echo='sh -c $as_echo_body as_echo' | 
| Chris@4 | 16381 fi | 
| Chris@4 | 16382 | 
| Chris@4 | 16383 # The user is always right. | 
| Chris@4 | 16384 if test "${PATH_SEPARATOR+set}" != set; then | 
| Chris@4 | 16385   PATH_SEPARATOR=: | 
| Chris@4 | 16386   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { | 
| Chris@4 | 16387     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || | 
| Chris@4 | 16388       PATH_SEPARATOR=';' | 
| Chris@4 | 16389   } | 
| Chris@4 | 16390 fi | 
| Chris@4 | 16391 | 
| Chris@4 | 16392 | 
| Chris@4 | 16393 # IFS | 
| Chris@4 | 16394 # We need space, tab and new line, in precisely that order.  Quoting is | 
| Chris@4 | 16395 # there to prevent editors from complaining about space-tab. | 
| Chris@4 | 16396 # (If _AS_PATH_WALK were called with IFS unset, it would disable word | 
| Chris@4 | 16397 # splitting by setting IFS to empty value.) | 
| Chris@4 | 16398 IFS=" ""	$as_nl" | 
| Chris@4 | 16399 | 
| Chris@4 | 16400 # Find who we are.  Look in the path if we contain no directory separator. | 
| Chris@4 | 16401 as_myself= | 
| Chris@4 | 16402 case $0 in #(( | 
| Chris@4 | 16403   *[\\/]* ) as_myself=$0 ;; | 
| Chris@4 | 16404   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR | 
| Chris@4 | 16405 for as_dir in $PATH | 
| Chris@4 | 16406 do | 
| Chris@4 | 16407   IFS=$as_save_IFS | 
| Chris@4 | 16408   test -z "$as_dir" && as_dir=. | 
| Chris@4 | 16409     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break | 
| Chris@4 | 16410   done | 
| Chris@4 | 16411 IFS=$as_save_IFS | 
| Chris@4 | 16412 | 
| Chris@4 | 16413      ;; | 
| Chris@4 | 16414 esac | 
| Chris@4 | 16415 # We did not find ourselves, most probably we were run as `sh COMMAND' | 
| Chris@4 | 16416 # in which case we are not to be found in the path. | 
| Chris@4 | 16417 if test "x$as_myself" = x; then | 
| Chris@4 | 16418   as_myself=$0 | 
| Chris@4 | 16419 fi | 
| Chris@4 | 16420 if test ! -f "$as_myself"; then | 
| Chris@4 | 16421   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 | 
| Chris@4 | 16422   exit 1 | 
| Chris@4 | 16423 fi | 
| Chris@4 | 16424 | 
| Chris@4 | 16425 # Unset variables that we do not need and which cause bugs (e.g. in | 
| Chris@4 | 16426 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1" | 
| Chris@4 | 16427 # suppresses any "Segmentation fault" message there.  '((' could | 
| Chris@4 | 16428 # trigger a bug in pdksh 5.2.14. | 
| Chris@4 | 16429 for as_var in BASH_ENV ENV MAIL MAILPATH | 
| Chris@4 | 16430 do eval test x\${$as_var+set} = xset \ | 
| Chris@4 | 16431   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : | 
| Chris@4 | 16432 done | 
| Chris@4 | 16433 PS1='$ ' | 
| Chris@4 | 16434 PS2='> ' | 
| Chris@4 | 16435 PS4='+ ' | 
| Chris@4 | 16436 | 
| Chris@4 | 16437 # NLS nuisances. | 
| Chris@4 | 16438 LC_ALL=C | 
| Chris@4 | 16439 export LC_ALL | 
| Chris@4 | 16440 LANGUAGE=C | 
| Chris@4 | 16441 export LANGUAGE | 
| Chris@4 | 16442 | 
| Chris@4 | 16443 # CDPATH. | 
| Chris@4 | 16444 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
| Chris@4 | 16445 | 
| Chris@4 | 16446 | 
| Chris@4 | 16447 # as_fn_error STATUS ERROR [LINENO LOG_FD] | 
| Chris@4 | 16448 # ---------------------------------------- | 
| Chris@4 | 16449 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are | 
| Chris@4 | 16450 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the | 
| Chris@4 | 16451 # script with STATUS, using 1 if that was 0. | 
| Chris@4 | 16452 as_fn_error () | 
| Chris@4 | 16453 { | 
| Chris@4 | 16454   as_status=$1; test $as_status -eq 0 && as_status=1 | 
| Chris@4 | 16455   if test "$4"; then | 
| Chris@4 | 16456     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack | 
| Chris@4 | 16457     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 | 
| Chris@4 | 16458   fi | 
| Chris@4 | 16459   $as_echo "$as_me: error: $2" >&2 | 
| Chris@4 | 16460   as_fn_exit $as_status | 
| Chris@4 | 16461 } # as_fn_error | 
| Chris@4 | 16462 | 
| Chris@4 | 16463 | 
| Chris@4 | 16464 # as_fn_set_status STATUS | 
| Chris@4 | 16465 # ----------------------- | 
| Chris@4 | 16466 # Set $? to STATUS, without forking. | 
| Chris@4 | 16467 as_fn_set_status () | 
| Chris@4 | 16468 { | 
| Chris@4 | 16469   return $1 | 
| Chris@4 | 16470 } # as_fn_set_status | 
| Chris@4 | 16471 | 
| Chris@4 | 16472 # as_fn_exit STATUS | 
| Chris@4 | 16473 # ----------------- | 
| Chris@4 | 16474 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. | 
| Chris@4 | 16475 as_fn_exit () | 
| Chris@4 | 16476 { | 
| Chris@4 | 16477   set +e | 
| Chris@4 | 16478   as_fn_set_status $1 | 
| Chris@4 | 16479   exit $1 | 
| Chris@4 | 16480 } # as_fn_exit | 
| Chris@4 | 16481 | 
| Chris@4 | 16482 # as_fn_unset VAR | 
| Chris@4 | 16483 # --------------- | 
| Chris@4 | 16484 # Portably unset VAR. | 
| Chris@4 | 16485 as_fn_unset () | 
| Chris@4 | 16486 { | 
| Chris@4 | 16487   { eval $1=; unset $1;} | 
| Chris@4 | 16488 } | 
| Chris@4 | 16489 as_unset=as_fn_unset | 
| Chris@4 | 16490 # as_fn_append VAR VALUE | 
| Chris@4 | 16491 # ---------------------- | 
| Chris@4 | 16492 # Append the text in VALUE to the end of the definition contained in VAR. Take | 
| Chris@4 | 16493 # advantage of any shell optimizations that allow amortized linear growth over | 
| Chris@4 | 16494 # repeated appends, instead of the typical quadratic growth present in naive | 
| Chris@4 | 16495 # implementations. | 
| Chris@4 | 16496 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : | 
| Chris@4 | 16497   eval 'as_fn_append () | 
| Chris@4 | 16498   { | 
| Chris@4 | 16499     eval $1+=\$2 | 
| Chris@4 | 16500   }' | 
| Chris@4 | 16501 else | 
| Chris@4 | 16502   as_fn_append () | 
| Chris@4 | 16503   { | 
| Chris@4 | 16504     eval $1=\$$1\$2 | 
| Chris@4 | 16505   } | 
| Chris@4 | 16506 fi # as_fn_append | 
| Chris@4 | 16507 | 
| Chris@4 | 16508 # as_fn_arith ARG... | 
| Chris@4 | 16509 # ------------------ | 
| Chris@4 | 16510 # Perform arithmetic evaluation on the ARGs, and store the result in the | 
| Chris@4 | 16511 # global $as_val. Take advantage of shells that can avoid forks. The arguments | 
| Chris@4 | 16512 # must be portable across $(()) and expr. | 
| Chris@4 | 16513 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : | 
| Chris@4 | 16514   eval 'as_fn_arith () | 
| Chris@4 | 16515   { | 
| Chris@4 | 16516     as_val=$(( $* )) | 
| Chris@4 | 16517   }' | 
| Chris@4 | 16518 else | 
| Chris@4 | 16519   as_fn_arith () | 
| Chris@4 | 16520   { | 
| Chris@4 | 16521     as_val=`expr "$@" || test $? -eq 1` | 
| Chris@4 | 16522   } | 
| Chris@4 | 16523 fi # as_fn_arith | 
| Chris@4 | 16524 | 
| Chris@4 | 16525 | 
| Chris@4 | 16526 if expr a : '\(a\)' >/dev/null 2>&1 && | 
| Chris@4 | 16527    test "X`expr 00001 : '.*\(...\)'`" = X001; then | 
| Chris@4 | 16528   as_expr=expr | 
| Chris@4 | 16529 else | 
| Chris@4 | 16530   as_expr=false | 
| Chris@4 | 16531 fi | 
| Chris@4 | 16532 | 
| Chris@4 | 16533 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then | 
| Chris@4 | 16534   as_basename=basename | 
| Chris@4 | 16535 else | 
| Chris@4 | 16536   as_basename=false | 
| Chris@4 | 16537 fi | 
| Chris@4 | 16538 | 
| Chris@4 | 16539 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then | 
| Chris@4 | 16540   as_dirname=dirname | 
| Chris@4 | 16541 else | 
| Chris@4 | 16542   as_dirname=false | 
| Chris@4 | 16543 fi | 
| Chris@4 | 16544 | 
| Chris@4 | 16545 as_me=`$as_basename -- "$0" || | 
| Chris@4 | 16546 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ | 
| Chris@4 | 16547 	 X"$0" : 'X\(//\)$' \| \ | 
| Chris@4 | 16548 	 X"$0" : 'X\(/\)' \| . 2>/dev/null || | 
| Chris@4 | 16549 $as_echo X/"$0" | | 
| Chris@4 | 16550     sed '/^.*\/\([^/][^/]*\)\/*$/{ | 
| Chris@4 | 16551 	    s//\1/ | 
| Chris@4 | 16552 	    q | 
| Chris@4 | 16553 	  } | 
| Chris@4 | 16554 	  /^X\/\(\/\/\)$/{ | 
| Chris@4 | 16555 	    s//\1/ | 
| Chris@4 | 16556 	    q | 
| Chris@4 | 16557 	  } | 
| Chris@4 | 16558 	  /^X\/\(\/\).*/{ | 
| Chris@4 | 16559 	    s//\1/ | 
| Chris@4 | 16560 	    q | 
| Chris@4 | 16561 	  } | 
| Chris@4 | 16562 	  s/.*/./; q'` | 
| Chris@4 | 16563 | 
| Chris@4 | 16564 # Avoid depending upon Character Ranges. | 
| Chris@4 | 16565 as_cr_letters='abcdefghijklmnopqrstuvwxyz' | 
| Chris@4 | 16566 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | 
| Chris@4 | 16567 as_cr_Letters=$as_cr_letters$as_cr_LETTERS | 
| Chris@4 | 16568 as_cr_digits='0123456789' | 
| Chris@4 | 16569 as_cr_alnum=$as_cr_Letters$as_cr_digits | 
| Chris@4 | 16570 | 
| Chris@4 | 16571 ECHO_C= ECHO_N= ECHO_T= | 
| Chris@4 | 16572 case `echo -n x` in #((((( | 
| Chris@4 | 16573 -n*) | 
| Chris@4 | 16574   case `echo 'xy\c'` in | 
| Chris@4 | 16575   *c*) ECHO_T='	';;	# ECHO_T is single tab character. | 
| Chris@4 | 16576   xy)  ECHO_C='\c';; | 
| Chris@4 | 16577   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null | 
| Chris@4 | 16578        ECHO_T='	';; | 
| Chris@4 | 16579   esac;; | 
| Chris@4 | 16580 *) | 
| Chris@4 | 16581   ECHO_N='-n';; | 
| Chris@4 | 16582 esac | 
| Chris@4 | 16583 | 
| Chris@4 | 16584 rm -f conf$$ conf$$.exe conf$$.file | 
| Chris@4 | 16585 if test -d conf$$.dir; then | 
| Chris@4 | 16586   rm -f conf$$.dir/conf$$.file | 
| Chris@4 | 16587 else | 
| Chris@4 | 16588   rm -f conf$$.dir | 
| Chris@4 | 16589   mkdir conf$$.dir 2>/dev/null | 
| Chris@4 | 16590 fi | 
| Chris@4 | 16591 if (echo >conf$$.file) 2>/dev/null; then | 
| Chris@4 | 16592   if ln -s conf$$.file conf$$ 2>/dev/null; then | 
| Chris@4 | 16593     as_ln_s='ln -s' | 
| Chris@4 | 16594     # ... but there are two gotchas: | 
| Chris@4 | 16595     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. | 
| Chris@4 | 16596     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. | 
| Chris@4 | 16597     # In both cases, we have to default to `cp -p'. | 
| Chris@4 | 16598     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || | 
| Chris@4 | 16599       as_ln_s='cp -p' | 
| Chris@4 | 16600   elif ln conf$$.file conf$$ 2>/dev/null; then | 
| Chris@4 | 16601     as_ln_s=ln | 
| Chris@4 | 16602   else | 
| Chris@4 | 16603     as_ln_s='cp -p' | 
| Chris@4 | 16604   fi | 
| Chris@4 | 16605 else | 
| Chris@4 | 16606   as_ln_s='cp -p' | 
| Chris@4 | 16607 fi | 
| Chris@4 | 16608 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file | 
| Chris@4 | 16609 rmdir conf$$.dir 2>/dev/null | 
| Chris@4 | 16610 | 
| Chris@4 | 16611 | 
| Chris@4 | 16612 # as_fn_mkdir_p | 
| Chris@4 | 16613 # ------------- | 
| Chris@4 | 16614 # Create "$as_dir" as a directory, including parents if necessary. | 
| Chris@4 | 16615 as_fn_mkdir_p () | 
| Chris@4 | 16616 { | 
| Chris@4 | 16617 | 
| Chris@4 | 16618   case $as_dir in #( | 
| Chris@4 | 16619   -*) as_dir=./$as_dir;; | 
| Chris@4 | 16620   esac | 
| Chris@4 | 16621   test -d "$as_dir" || eval $as_mkdir_p || { | 
| Chris@4 | 16622     as_dirs= | 
| Chris@4 | 16623     while :; do | 
| Chris@4 | 16624       case $as_dir in #( | 
| Chris@4 | 16625       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( | 
| Chris@4 | 16626       *) as_qdir=$as_dir;; | 
| Chris@4 | 16627       esac | 
| Chris@4 | 16628       as_dirs="'$as_qdir' $as_dirs" | 
| Chris@4 | 16629       as_dir=`$as_dirname -- "$as_dir" || | 
| Chris@4 | 16630 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| Chris@4 | 16631 	 X"$as_dir" : 'X\(//\)[^/]' \| \ | 
| Chris@4 | 16632 	 X"$as_dir" : 'X\(//\)$' \| \ | 
| Chris@4 | 16633 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || | 
| Chris@4 | 16634 $as_echo X"$as_dir" | | 
| Chris@4 | 16635     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
| Chris@4 | 16636 	    s//\1/ | 
| Chris@4 | 16637 	    q | 
| Chris@4 | 16638 	  } | 
| Chris@4 | 16639 	  /^X\(\/\/\)[^/].*/{ | 
| Chris@4 | 16640 	    s//\1/ | 
| Chris@4 | 16641 	    q | 
| Chris@4 | 16642 	  } | 
| Chris@4 | 16643 	  /^X\(\/\/\)$/{ | 
| Chris@4 | 16644 	    s//\1/ | 
| Chris@4 | 16645 	    q | 
| Chris@4 | 16646 	  } | 
| Chris@4 | 16647 	  /^X\(\/\).*/{ | 
| Chris@4 | 16648 	    s//\1/ | 
| Chris@4 | 16649 	    q | 
| Chris@4 | 16650 	  } | 
| Chris@4 | 16651 	  s/.*/./; q'` | 
| Chris@4 | 16652       test -d "$as_dir" && break | 
| Chris@4 | 16653     done | 
| Chris@4 | 16654     test -z "$as_dirs" || eval "mkdir $as_dirs" | 
| Chris@4 | 16655   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" | 
| Chris@4 | 16656 | 
| Chris@4 | 16657 | 
| Chris@4 | 16658 } # as_fn_mkdir_p | 
| Chris@4 | 16659 if mkdir -p . 2>/dev/null; then | 
| Chris@4 | 16660   as_mkdir_p='mkdir -p "$as_dir"' | 
| Chris@4 | 16661 else | 
| Chris@4 | 16662   test -d ./-p && rmdir ./-p | 
| Chris@4 | 16663   as_mkdir_p=false | 
| Chris@4 | 16664 fi | 
| Chris@4 | 16665 | 
| Chris@4 | 16666 if test -x / >/dev/null 2>&1; then | 
| Chris@4 | 16667   as_test_x='test -x' | 
| Chris@4 | 16668 else | 
| Chris@4 | 16669   if ls -dL / >/dev/null 2>&1; then | 
| Chris@4 | 16670     as_ls_L_option=L | 
| Chris@4 | 16671   else | 
| Chris@4 | 16672     as_ls_L_option= | 
| Chris@4 | 16673   fi | 
| Chris@4 | 16674   as_test_x=' | 
| Chris@4 | 16675     eval sh -c '\'' | 
| Chris@4 | 16676       if test -d "$1"; then | 
| Chris@4 | 16677 	test -d "$1/."; | 
| Chris@4 | 16678       else | 
| Chris@4 | 16679 	case $1 in #( | 
| Chris@4 | 16680 	-*)set "./$1";; | 
| Chris@4 | 16681 	esac; | 
| Chris@4 | 16682 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( | 
| Chris@4 | 16683 	???[sx]*):;;*)false;;esac;fi | 
| Chris@4 | 16684     '\'' sh | 
| Chris@4 | 16685   ' | 
| Chris@4 | 16686 fi | 
| Chris@4 | 16687 as_executable_p=$as_test_x | 
| Chris@4 | 16688 | 
| Chris@4 | 16689 # Sed expression to map a string onto a valid CPP name. | 
| Chris@4 | 16690 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" | 
| Chris@4 | 16691 | 
| Chris@4 | 16692 # Sed expression to map a string onto a valid variable name. | 
| Chris@4 | 16693 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" | 
| Chris@4 | 16694 | 
| Chris@4 | 16695 | 
| Chris@4 | 16696 exec 6>&1 | 
| Chris@4 | 16697 ## ----------------------------------- ## | 
| Chris@4 | 16698 ## Main body of $CONFIG_STATUS script. ## | 
| Chris@4 | 16699 ## ----------------------------------- ## | 
| Chris@4 | 16700 _ASEOF | 
| Chris@4 | 16701 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 | 
| Chris@4 | 16702 | 
| Chris@4 | 16703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16704 # Save the log message, to keep $0 and so on meaningful, and to | 
| Chris@4 | 16705 # report actual input values of CONFIG_FILES etc. instead of their | 
| Chris@4 | 16706 # values after options handling. | 
| Chris@4 | 16707 ac_log=" | 
| Chris@4 | 16708 This file was extended by $as_me, which was | 
| Chris@4 | 16709 generated by GNU Autoconf 2.68.  Invocation command line was | 
| Chris@4 | 16710 | 
| Chris@4 | 16711   CONFIG_FILES    = $CONFIG_FILES | 
| Chris@4 | 16712   CONFIG_HEADERS  = $CONFIG_HEADERS | 
| Chris@4 | 16713   CONFIG_LINKS    = $CONFIG_LINKS | 
| Chris@4 | 16714   CONFIG_COMMANDS = $CONFIG_COMMANDS | 
| Chris@4 | 16715   $ $0 $@ | 
| Chris@4 | 16716 | 
| Chris@4 | 16717 on `(hostname || uname -n) 2>/dev/null | sed 1q` | 
| Chris@4 | 16718 " | 
| Chris@4 | 16719 | 
| Chris@4 | 16720 _ACEOF | 
| Chris@4 | 16721 | 
| Chris@4 | 16722 case $ac_config_files in *" | 
| Chris@4 | 16723 "*) set x $ac_config_files; shift; ac_config_files=$*;; | 
| Chris@4 | 16724 esac | 
| Chris@4 | 16725 | 
| Chris@4 | 16726 | 
| Chris@4 | 16727 | 
| Chris@4 | 16728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16729 # Files that config.status was made for. | 
| Chris@4 | 16730 config_files="$ac_config_files" | 
| Chris@4 | 16731 config_commands="$ac_config_commands" | 
| Chris@4 | 16732 | 
| Chris@4 | 16733 _ACEOF | 
| Chris@4 | 16734 | 
| Chris@4 | 16735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16736 ac_cs_usage="\ | 
| Chris@4 | 16737 \`$as_me' instantiates files and other configuration actions | 
| Chris@4 | 16738 from templates according to the current configuration.  Unless the files | 
| Chris@4 | 16739 and actions are specified as TAGs, all are instantiated by default. | 
| Chris@4 | 16740 | 
| Chris@4 | 16741 Usage: $0 [OPTION]... [TAG]... | 
| Chris@4 | 16742 | 
| Chris@4 | 16743   -h, --help       print this help, then exit | 
| Chris@4 | 16744   -V, --version    print version number and configuration settings, then exit | 
| Chris@4 | 16745       --config     print configuration, then exit | 
| Chris@4 | 16746   -q, --quiet, --silent | 
| Chris@4 | 16747                    do not print progress messages | 
| Chris@4 | 16748   -d, --debug      don't remove temporary files | 
| Chris@4 | 16749       --recheck    update $as_me by reconfiguring in the same conditions | 
| Chris@4 | 16750       --file=FILE[:TEMPLATE] | 
| Chris@4 | 16751                    instantiate the configuration file FILE | 
| Chris@4 | 16752 | 
| Chris@4 | 16753 Configuration files: | 
| Chris@4 | 16754 $config_files | 
| Chris@4 | 16755 | 
| Chris@4 | 16756 Configuration commands: | 
| Chris@4 | 16757 $config_commands | 
| Chris@4 | 16758 | 
| Chris@4 | 16759 Report bugs to the package provider." | 
| Chris@4 | 16760 | 
| Chris@4 | 16761 _ACEOF | 
| Chris@4 | 16762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16763 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | 
| Chris@4 | 16764 ac_cs_version="\\ | 
| Chris@4 | 16765 config.status | 
| Chris@4 | 16766 configured by $0, generated by GNU Autoconf 2.68, | 
| Chris@4 | 16767   with options \\"\$ac_cs_config\\" | 
| Chris@4 | 16768 | 
| Chris@4 | 16769 Copyright (C) 2010 Free Software Foundation, Inc. | 
| Chris@4 | 16770 This config.status script is free software; the Free Software Foundation | 
| Chris@4 | 16771 gives unlimited permission to copy, distribute and modify it." | 
| Chris@4 | 16772 | 
| Chris@4 | 16773 ac_pwd='$ac_pwd' | 
| Chris@4 | 16774 srcdir='$srcdir' | 
| Chris@4 | 16775 INSTALL='$INSTALL' | 
| Chris@4 | 16776 AWK='$AWK' | 
| Chris@4 | 16777 test -n "\$AWK" || AWK=awk | 
| Chris@4 | 16778 _ACEOF | 
| Chris@4 | 16779 | 
| Chris@4 | 16780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16781 # The default lists apply if the user does not specify any file. | 
| Chris@4 | 16782 ac_need_defaults=: | 
| Chris@4 | 16783 while test $# != 0 | 
| Chris@4 | 16784 do | 
| Chris@4 | 16785   case $1 in | 
| Chris@4 | 16786   --*=?*) | 
| Chris@4 | 16787     ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
| Chris@4 | 16788     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` | 
| Chris@4 | 16789     ac_shift=: | 
| Chris@4 | 16790     ;; | 
| Chris@4 | 16791   --*=) | 
| Chris@4 | 16792     ac_option=`expr "X$1" : 'X\([^=]*\)='` | 
| Chris@4 | 16793     ac_optarg= | 
| Chris@4 | 16794     ac_shift=: | 
| Chris@4 | 16795     ;; | 
| Chris@4 | 16796   *) | 
| Chris@4 | 16797     ac_option=$1 | 
| Chris@4 | 16798     ac_optarg=$2 | 
| Chris@4 | 16799     ac_shift=shift | 
| Chris@4 | 16800     ;; | 
| Chris@4 | 16801   esac | 
| Chris@4 | 16802 | 
| Chris@4 | 16803   case $ac_option in | 
| Chris@4 | 16804   # Handling of the options. | 
| Chris@4 | 16805   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) | 
| Chris@4 | 16806     ac_cs_recheck=: ;; | 
| Chris@4 | 16807   --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) | 
| Chris@4 | 16808     $as_echo "$ac_cs_version"; exit ;; | 
| Chris@4 | 16809   --config | --confi | --conf | --con | --co | --c ) | 
| Chris@4 | 16810     $as_echo "$ac_cs_config"; exit ;; | 
| Chris@4 | 16811   --debug | --debu | --deb | --de | --d | -d ) | 
| Chris@4 | 16812     debug=: ;; | 
| Chris@4 | 16813   --file | --fil | --fi | --f ) | 
| Chris@4 | 16814     $ac_shift | 
| Chris@4 | 16815     case $ac_optarg in | 
| Chris@4 | 16816     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
| Chris@4 | 16817     '') as_fn_error $? "missing file argument" ;; | 
| Chris@4 | 16818     esac | 
| Chris@4 | 16819     as_fn_append CONFIG_FILES " '$ac_optarg'" | 
| Chris@4 | 16820     ac_need_defaults=false;; | 
| Chris@4 | 16821   --he | --h |  --help | --hel | -h ) | 
| Chris@4 | 16822     $as_echo "$ac_cs_usage"; exit ;; | 
| Chris@4 | 16823   -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | 
| Chris@4 | 16824   | -silent | --silent | --silen | --sile | --sil | --si | --s) | 
| Chris@4 | 16825     ac_cs_silent=: ;; | 
| Chris@4 | 16826 | 
| Chris@4 | 16827   # This is an error. | 
| Chris@4 | 16828   -*) as_fn_error $? "unrecognized option: \`$1' | 
| Chris@4 | 16829 Try \`$0 --help' for more information." ;; | 
| Chris@4 | 16830 | 
| Chris@4 | 16831   *) as_fn_append ac_config_targets " $1" | 
| Chris@4 | 16832      ac_need_defaults=false ;; | 
| Chris@4 | 16833 | 
| Chris@4 | 16834   esac | 
| Chris@4 | 16835   shift | 
| Chris@4 | 16836 done | 
| Chris@4 | 16837 | 
| Chris@4 | 16838 ac_configure_extra_args= | 
| Chris@4 | 16839 | 
| Chris@4 | 16840 if $ac_cs_silent; then | 
| Chris@4 | 16841   exec 6>/dev/null | 
| Chris@4 | 16842   ac_configure_extra_args="$ac_configure_extra_args --silent" | 
| Chris@4 | 16843 fi | 
| Chris@4 | 16844 | 
| Chris@4 | 16845 _ACEOF | 
| Chris@4 | 16846 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16847 if \$ac_cs_recheck; then | 
| Chris@4 | 16848   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion | 
| Chris@4 | 16849   shift | 
| Chris@4 | 16850   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 | 
| Chris@4 | 16851   CONFIG_SHELL='$SHELL' | 
| Chris@4 | 16852   export CONFIG_SHELL | 
| Chris@4 | 16853   exec "\$@" | 
| Chris@4 | 16854 fi | 
| Chris@4 | 16855 | 
| Chris@4 | 16856 _ACEOF | 
| Chris@4 | 16857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16858 exec 5>>config.log | 
| Chris@4 | 16859 { | 
| Chris@4 | 16860   echo | 
| Chris@4 | 16861   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX | 
| Chris@4 | 16862 ## Running $as_me. ## | 
| Chris@4 | 16863 _ASBOX | 
| Chris@4 | 16864   $as_echo "$ac_log" | 
| Chris@4 | 16865 } >&5 | 
| Chris@4 | 16866 | 
| Chris@4 | 16867 _ACEOF | 
| Chris@4 | 16868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 16869 # | 
| Chris@4 | 16870 # INIT-COMMANDS | 
| Chris@4 | 16871 # | 
| Chris@4 | 16872 | 
| Chris@4 | 16873 | 
| Chris@4 | 16874 # The HP-UX ksh and POSIX shell print the target directory to stdout | 
| Chris@4 | 16875 # if CDPATH is set. | 
| Chris@4 | 16876 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH | 
| Chris@4 | 16877 | 
| Chris@4 | 16878 sed_quote_subst='$sed_quote_subst' | 
| Chris@4 | 16879 double_quote_subst='$double_quote_subst' | 
| Chris@4 | 16880 delay_variable_subst='$delay_variable_subst' | 
| Chris@4 | 16881 AS='`$ECHO "$AS" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16882 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16883 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16884 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16885 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16886 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16887 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16888 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16889 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16890 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16891 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16892 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16893 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16894 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16895 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16896 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16897 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16898 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16899 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16900 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16901 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16902 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16903 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16904 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16905 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16906 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16907 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16908 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16909 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16910 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16911 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16912 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16913 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16914 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16915 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16916 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16917 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16918 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16919 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16920 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16921 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16922 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16923 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16924 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16925 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16926 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16927 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16928 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16929 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16930 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16931 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16932 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16933 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16934 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16935 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16936 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16937 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16938 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16939 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16940 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16941 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16942 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16943 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16944 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16945 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16946 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16947 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16948 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16949 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16950 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16951 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16952 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16953 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16954 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16955 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16956 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16957 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16958 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16959 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16960 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16961 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16962 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16963 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16964 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16965 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16966 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16967 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16968 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16969 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16970 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16971 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16972 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16973 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16974 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16975 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16976 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16977 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16978 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16979 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16980 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16981 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16982 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16983 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16984 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16985 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16986 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16987 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16988 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16989 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16990 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16991 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16992 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16993 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16994 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16995 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16996 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16997 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16998 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 16999 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17000 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17001 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17002 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17003 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17004 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17005 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17006 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17007 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17008 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17009 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17010 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17011 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17012 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17013 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17014 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17015 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17016 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17017 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17018 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17019 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17020 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17021 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17022 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17023 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17024 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17025 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17026 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17027 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17028 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17029 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17030 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17031 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17032 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17033 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17034 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17035 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17036 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17037 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17038 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17039 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17040 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17041 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17042 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17043 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17044 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17045 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17046 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17047 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17048 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17049 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17050 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17051 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17052 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17053 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17054 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17055 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17056 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17057 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17058 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17059 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17060 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17061 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17062 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17063 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17064 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17065 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17066 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`' | 
| Chris@4 | 17067 | 
| Chris@4 | 17068 LTCC='$LTCC' | 
| Chris@4 | 17069 LTCFLAGS='$LTCFLAGS' | 
| Chris@4 | 17070 compiler='$compiler_DEFAULT' | 
| Chris@4 | 17071 | 
| Chris@4 | 17072 # A function that is used when there is no print builtin or printf. | 
| Chris@4 | 17073 func_fallback_echo () | 
| Chris@4 | 17074 { | 
| Chris@4 | 17075   eval 'cat <<_LTECHO_EOF | 
| Chris@4 | 17076 \$1 | 
| Chris@4 | 17077 _LTECHO_EOF' | 
| Chris@4 | 17078 } | 
| Chris@4 | 17079 | 
| Chris@4 | 17080 # Quote evaled strings. | 
| Chris@4 | 17081 for var in AS \ | 
| Chris@4 | 17082 DLLTOOL \ | 
| Chris@4 | 17083 OBJDUMP \ | 
| Chris@4 | 17084 SHELL \ | 
| Chris@4 | 17085 ECHO \ | 
| Chris@4 | 17086 SED \ | 
| Chris@4 | 17087 GREP \ | 
| Chris@4 | 17088 EGREP \ | 
| Chris@4 | 17089 FGREP \ | 
| Chris@4 | 17090 LD \ | 
| Chris@4 | 17091 NM \ | 
| Chris@4 | 17092 LN_S \ | 
| Chris@4 | 17093 lt_SP2NL \ | 
| Chris@4 | 17094 lt_NL2SP \ | 
| Chris@4 | 17095 reload_flag \ | 
| Chris@4 | 17096 deplibs_check_method \ | 
| Chris@4 | 17097 file_magic_cmd \ | 
| Chris@4 | 17098 file_magic_glob \ | 
| Chris@4 | 17099 want_nocaseglob \ | 
| Chris@4 | 17100 sharedlib_from_linklib_cmd \ | 
| Chris@4 | 17101 AR \ | 
| Chris@4 | 17102 AR_FLAGS \ | 
| Chris@4 | 17103 archiver_list_spec \ | 
| Chris@4 | 17104 STRIP \ | 
| Chris@4 | 17105 RANLIB \ | 
| Chris@4 | 17106 CC \ | 
| Chris@4 | 17107 CFLAGS \ | 
| Chris@4 | 17108 compiler \ | 
| Chris@4 | 17109 lt_cv_sys_global_symbol_pipe \ | 
| Chris@4 | 17110 lt_cv_sys_global_symbol_to_cdecl \ | 
| Chris@4 | 17111 lt_cv_sys_global_symbol_to_c_name_address \ | 
| Chris@4 | 17112 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \ | 
| Chris@4 | 17113 nm_file_list_spec \ | 
| Chris@4 | 17114 lt_prog_compiler_no_builtin_flag \ | 
| Chris@4 | 17115 lt_prog_compiler_pic \ | 
| Chris@4 | 17116 lt_prog_compiler_wl \ | 
| Chris@4 | 17117 lt_prog_compiler_static \ | 
| Chris@4 | 17118 lt_cv_prog_compiler_c_o \ | 
| Chris@4 | 17119 need_locks \ | 
| Chris@4 | 17120 MANIFEST_TOOL \ | 
| Chris@4 | 17121 DSYMUTIL \ | 
| Chris@4 | 17122 NMEDIT \ | 
| Chris@4 | 17123 LIPO \ | 
| Chris@4 | 17124 OTOOL \ | 
| Chris@4 | 17125 OTOOL64 \ | 
| Chris@4 | 17126 shrext_cmds \ | 
| Chris@4 | 17127 export_dynamic_flag_spec \ | 
| Chris@4 | 17128 whole_archive_flag_spec \ | 
| Chris@4 | 17129 compiler_needs_object \ | 
| Chris@4 | 17130 with_gnu_ld \ | 
| Chris@4 | 17131 allow_undefined_flag \ | 
| Chris@4 | 17132 no_undefined_flag \ | 
| Chris@4 | 17133 hardcode_libdir_flag_spec \ | 
| Chris@4 | 17134 hardcode_libdir_flag_spec_ld \ | 
| Chris@4 | 17135 hardcode_libdir_separator \ | 
| Chris@4 | 17136 exclude_expsyms \ | 
| Chris@4 | 17137 include_expsyms \ | 
| Chris@4 | 17138 file_list_spec \ | 
| Chris@4 | 17139 variables_saved_for_relink \ | 
| Chris@4 | 17140 libname_spec \ | 
| Chris@4 | 17141 library_names_spec \ | 
| Chris@4 | 17142 soname_spec \ | 
| Chris@4 | 17143 install_override_mode \ | 
| Chris@4 | 17144 finish_eval \ | 
| Chris@4 | 17145 old_striplib \ | 
| Chris@4 | 17146 striplib \ | 
| Chris@4 | 17147 compiler_lib_search_dirs \ | 
| Chris@4 | 17148 predep_objects \ | 
| Chris@4 | 17149 postdep_objects \ | 
| Chris@4 | 17150 predeps \ | 
| Chris@4 | 17151 postdeps \ | 
| Chris@4 | 17152 compiler_lib_search_path \ | 
| Chris@4 | 17153 LD_CXX \ | 
| Chris@4 | 17154 reload_flag_CXX \ | 
| Chris@4 | 17155 compiler_CXX \ | 
| Chris@4 | 17156 lt_prog_compiler_no_builtin_flag_CXX \ | 
| Chris@4 | 17157 lt_prog_compiler_pic_CXX \ | 
| Chris@4 | 17158 lt_prog_compiler_wl_CXX \ | 
| Chris@4 | 17159 lt_prog_compiler_static_CXX \ | 
| Chris@4 | 17160 lt_cv_prog_compiler_c_o_CXX \ | 
| Chris@4 | 17161 export_dynamic_flag_spec_CXX \ | 
| Chris@4 | 17162 whole_archive_flag_spec_CXX \ | 
| Chris@4 | 17163 compiler_needs_object_CXX \ | 
| Chris@4 | 17164 with_gnu_ld_CXX \ | 
| Chris@4 | 17165 allow_undefined_flag_CXX \ | 
| Chris@4 | 17166 no_undefined_flag_CXX \ | 
| Chris@4 | 17167 hardcode_libdir_flag_spec_CXX \ | 
| Chris@4 | 17168 hardcode_libdir_flag_spec_ld_CXX \ | 
| Chris@4 | 17169 hardcode_libdir_separator_CXX \ | 
| Chris@4 | 17170 exclude_expsyms_CXX \ | 
| Chris@4 | 17171 include_expsyms_CXX \ | 
| Chris@4 | 17172 file_list_spec_CXX \ | 
| Chris@4 | 17173 compiler_lib_search_dirs_CXX \ | 
| Chris@4 | 17174 predep_objects_CXX \ | 
| Chris@4 | 17175 postdep_objects_CXX \ | 
| Chris@4 | 17176 predeps_CXX \ | 
| Chris@4 | 17177 postdeps_CXX \ | 
| Chris@4 | 17178 compiler_lib_search_path_CXX; do | 
| Chris@4 | 17179     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 
| Chris@4 | 17180     *[\\\\\\\`\\"\\\$]*) | 
| Chris@4 | 17181       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" | 
| Chris@4 | 17182       ;; | 
| Chris@4 | 17183     *) | 
| Chris@4 | 17184       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 
| Chris@4 | 17185       ;; | 
| Chris@4 | 17186     esac | 
| Chris@4 | 17187 done | 
| Chris@4 | 17188 | 
| Chris@4 | 17189 # Double-quote double-evaled strings. | 
| Chris@4 | 17190 for var in reload_cmds \ | 
| Chris@4 | 17191 old_postinstall_cmds \ | 
| Chris@4 | 17192 old_postuninstall_cmds \ | 
| Chris@4 | 17193 old_archive_cmds \ | 
| Chris@4 | 17194 extract_expsyms_cmds \ | 
| Chris@4 | 17195 old_archive_from_new_cmds \ | 
| Chris@4 | 17196 old_archive_from_expsyms_cmds \ | 
| Chris@4 | 17197 archive_cmds \ | 
| Chris@4 | 17198 archive_expsym_cmds \ | 
| Chris@4 | 17199 module_cmds \ | 
| Chris@4 | 17200 module_expsym_cmds \ | 
| Chris@4 | 17201 export_symbols_cmds \ | 
| Chris@4 | 17202 prelink_cmds \ | 
| Chris@4 | 17203 postlink_cmds \ | 
| Chris@4 | 17204 postinstall_cmds \ | 
| Chris@4 | 17205 postuninstall_cmds \ | 
| Chris@4 | 17206 finish_cmds \ | 
| Chris@4 | 17207 sys_lib_search_path_spec \ | 
| Chris@4 | 17208 sys_lib_dlsearch_path_spec \ | 
| Chris@4 | 17209 reload_cmds_CXX \ | 
| Chris@4 | 17210 old_archive_cmds_CXX \ | 
| Chris@4 | 17211 old_archive_from_new_cmds_CXX \ | 
| Chris@4 | 17212 old_archive_from_expsyms_cmds_CXX \ | 
| Chris@4 | 17213 archive_cmds_CXX \ | 
| Chris@4 | 17214 archive_expsym_cmds_CXX \ | 
| Chris@4 | 17215 module_cmds_CXX \ | 
| Chris@4 | 17216 module_expsym_cmds_CXX \ | 
| Chris@4 | 17217 export_symbols_cmds_CXX \ | 
| Chris@4 | 17218 prelink_cmds_CXX \ | 
| Chris@4 | 17219 postlink_cmds_CXX; do | 
| Chris@4 | 17220     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in | 
| Chris@4 | 17221     *[\\\\\\\`\\"\\\$]*) | 
| Chris@4 | 17222       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" | 
| Chris@4 | 17223       ;; | 
| Chris@4 | 17224     *) | 
| Chris@4 | 17225       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\"" | 
| Chris@4 | 17226       ;; | 
| Chris@4 | 17227     esac | 
| Chris@4 | 17228 done | 
| Chris@4 | 17229 | 
| Chris@4 | 17230 ac_aux_dir='$ac_aux_dir' | 
| Chris@4 | 17231 xsi_shell='$xsi_shell' | 
| Chris@4 | 17232 lt_shell_append='$lt_shell_append' | 
| Chris@4 | 17233 | 
| Chris@4 | 17234 # See if we are running on zsh, and set the options which allow our | 
| Chris@4 | 17235 # commands through without removal of \ escapes INIT. | 
| Chris@4 | 17236 if test -n "\${ZSH_VERSION+set}" ; then | 
| Chris@4 | 17237    setopt NO_GLOB_SUBST | 
| Chris@4 | 17238 fi | 
| Chris@4 | 17239 | 
| Chris@4 | 17240 | 
| Chris@4 | 17241     PACKAGE='$PACKAGE' | 
| Chris@4 | 17242     VERSION='$VERSION' | 
| Chris@4 | 17243     TIMESTAMP='$TIMESTAMP' | 
| Chris@4 | 17244     RM='$RM' | 
| Chris@4 | 17245     ofile='$ofile' | 
| Chris@4 | 17246 | 
| Chris@4 | 17247 | 
| Chris@4 | 17248 | 
| Chris@4 | 17249 | 
| Chris@4 | 17250 | 
| Chris@4 | 17251 | 
| Chris@4 | 17252 _ACEOF | 
| Chris@4 | 17253 | 
| Chris@4 | 17254 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17255 | 
| Chris@4 | 17256 # Handling of arguments. | 
| Chris@4 | 17257 for ac_config_target in $ac_config_targets | 
| Chris@4 | 17258 do | 
| Chris@4 | 17259   case $ac_config_target in | 
| Chris@4 | 17260     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; | 
| Chris@4 | 17261     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; | 
| Chris@4 | 17262     "portaudio-2.0.pc") CONFIG_FILES="$CONFIG_FILES portaudio-2.0.pc" ;; | 
| Chris@4 | 17263 | 
| Chris@4 | 17264   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; | 
| Chris@4 | 17265   esac | 
| Chris@4 | 17266 done | 
| Chris@4 | 17267 | 
| Chris@4 | 17268 | 
| Chris@4 | 17269 # If the user did not use the arguments to specify the items to instantiate, | 
| Chris@4 | 17270 # then the envvar interface is used.  Set only those that are not. | 
| Chris@4 | 17271 # We use the long form for the default assignment because of an extremely | 
| Chris@4 | 17272 # bizarre bug on SunOS 4.1.3. | 
| Chris@4 | 17273 if $ac_need_defaults; then | 
| Chris@4 | 17274   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | 
| Chris@4 | 17275   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands | 
| Chris@4 | 17276 fi | 
| Chris@4 | 17277 | 
| Chris@4 | 17278 # Have a temporary directory for convenience.  Make it in the build tree | 
| Chris@4 | 17279 # simply because there is no reason against having it here, and in addition, | 
| Chris@4 | 17280 # creating and moving files from /tmp can sometimes cause problems. | 
| Chris@4 | 17281 # Hook for its removal unless debugging. | 
| Chris@4 | 17282 # Note that there is a small window in which the directory will not be cleaned: | 
| Chris@4 | 17283 # after its creation but before its name has been assigned to `$tmp'. | 
| Chris@4 | 17284 $debug || | 
| Chris@4 | 17285 { | 
| Chris@4 | 17286   tmp= ac_tmp= | 
| Chris@4 | 17287   trap 'exit_status=$? | 
| Chris@4 | 17288   : "${ac_tmp:=$tmp}" | 
| Chris@4 | 17289   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status | 
| Chris@4 | 17290 ' 0 | 
| Chris@4 | 17291   trap 'as_fn_exit 1' 1 2 13 15 | 
| Chris@4 | 17292 } | 
| Chris@4 | 17293 # Create a (secure) tmp directory for tmp files. | 
| Chris@4 | 17294 | 
| Chris@4 | 17295 { | 
| Chris@4 | 17296   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && | 
| Chris@4 | 17297   test -d "$tmp" | 
| Chris@4 | 17298 }  || | 
| Chris@4 | 17299 { | 
| Chris@4 | 17300   tmp=./conf$$-$RANDOM | 
| Chris@4 | 17301   (umask 077 && mkdir "$tmp") | 
| Chris@4 | 17302 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 | 
| Chris@4 | 17303 ac_tmp=$tmp | 
| Chris@4 | 17304 | 
| Chris@4 | 17305 # Set up the scripts for CONFIG_FILES section. | 
| Chris@4 | 17306 # No need to generate them if there are no CONFIG_FILES. | 
| Chris@4 | 17307 # This happens for instance with `./config.status config.h'. | 
| Chris@4 | 17308 if test -n "$CONFIG_FILES"; then | 
| Chris@4 | 17309 | 
| Chris@4 | 17310 | 
| Chris@4 | 17311 ac_cr=`echo X | tr X '\015'` | 
| Chris@4 | 17312 # On cygwin, bash can eat \r inside `` if the user requested igncr. | 
| Chris@4 | 17313 # But we know of no other shell where ac_cr would be empty at this | 
| Chris@4 | 17314 # point, so we can use a bashism as a fallback. | 
| Chris@4 | 17315 if test "x$ac_cr" = x; then | 
| Chris@4 | 17316   eval ac_cr=\$\'\\r\' | 
| Chris@4 | 17317 fi | 
| Chris@4 | 17318 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` | 
| Chris@4 | 17319 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then | 
| Chris@4 | 17320   ac_cs_awk_cr='\\r' | 
| Chris@4 | 17321 else | 
| Chris@4 | 17322   ac_cs_awk_cr=$ac_cr | 
| Chris@4 | 17323 fi | 
| Chris@4 | 17324 | 
| Chris@4 | 17325 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && | 
| Chris@4 | 17326 _ACEOF | 
| Chris@4 | 17327 | 
| Chris@4 | 17328 | 
| Chris@4 | 17329 { | 
| Chris@4 | 17330   echo "cat >conf$$subs.awk <<_ACEOF" && | 
| Chris@4 | 17331   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && | 
| Chris@4 | 17332   echo "_ACEOF" | 
| Chris@4 | 17333 } >conf$$subs.sh || | 
| Chris@4 | 17334   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
| Chris@4 | 17335 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` | 
| Chris@4 | 17336 ac_delim='%!_!# ' | 
| Chris@4 | 17337 for ac_last_try in false false false false false :; do | 
| Chris@4 | 17338   . ./conf$$subs.sh || | 
| Chris@4 | 17339     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
| Chris@4 | 17340 | 
| Chris@4 | 17341   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` | 
| Chris@4 | 17342   if test $ac_delim_n = $ac_delim_num; then | 
| Chris@4 | 17343     break | 
| Chris@4 | 17344   elif $ac_last_try; then | 
| Chris@4 | 17345     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 | 
| Chris@4 | 17346   else | 
| Chris@4 | 17347     ac_delim="$ac_delim!$ac_delim _$ac_delim!! " | 
| Chris@4 | 17348   fi | 
| Chris@4 | 17349 done | 
| Chris@4 | 17350 rm -f conf$$subs.sh | 
| Chris@4 | 17351 | 
| Chris@4 | 17352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17353 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && | 
| Chris@4 | 17354 _ACEOF | 
| Chris@4 | 17355 sed -n ' | 
| Chris@4 | 17356 h | 
| Chris@4 | 17357 s/^/S["/; s/!.*/"]=/ | 
| Chris@4 | 17358 p | 
| Chris@4 | 17359 g | 
| Chris@4 | 17360 s/^[^!]*!// | 
| Chris@4 | 17361 :repl | 
| Chris@4 | 17362 t repl | 
| Chris@4 | 17363 s/'"$ac_delim"'$// | 
| Chris@4 | 17364 t delim | 
| Chris@4 | 17365 :nl | 
| Chris@4 | 17366 h | 
| Chris@4 | 17367 s/\(.\{148\}\)..*/\1/ | 
| Chris@4 | 17368 t more1 | 
| Chris@4 | 17369 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ | 
| Chris@4 | 17370 p | 
| Chris@4 | 17371 n | 
| Chris@4 | 17372 b repl | 
| Chris@4 | 17373 :more1 | 
| Chris@4 | 17374 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
| Chris@4 | 17375 p | 
| Chris@4 | 17376 g | 
| Chris@4 | 17377 s/.\{148\}// | 
| Chris@4 | 17378 t nl | 
| Chris@4 | 17379 :delim | 
| Chris@4 | 17380 h | 
| Chris@4 | 17381 s/\(.\{148\}\)..*/\1/ | 
| Chris@4 | 17382 t more2 | 
| Chris@4 | 17383 s/["\\]/\\&/g; s/^/"/; s/$/"/ | 
| Chris@4 | 17384 p | 
| Chris@4 | 17385 b | 
| Chris@4 | 17386 :more2 | 
| Chris@4 | 17387 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ | 
| Chris@4 | 17388 p | 
| Chris@4 | 17389 g | 
| Chris@4 | 17390 s/.\{148\}// | 
| Chris@4 | 17391 t delim | 
| Chris@4 | 17392 ' <conf$$subs.awk | sed ' | 
| Chris@4 | 17393 /^[^""]/{ | 
| Chris@4 | 17394   N | 
| Chris@4 | 17395   s/\n// | 
| Chris@4 | 17396 } | 
| Chris@4 | 17397 ' >>$CONFIG_STATUS || ac_write_fail=1 | 
| Chris@4 | 17398 rm -f conf$$subs.awk | 
| Chris@4 | 17399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17400 _ACAWK | 
| Chris@4 | 17401 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && | 
| Chris@4 | 17402   for (key in S) S_is_set[key] = 1 | 
| Chris@4 | 17403   FS = "" | 
| Chris@4 | 17404 | 
| Chris@4 | 17405 } | 
| Chris@4 | 17406 { | 
| Chris@4 | 17407   line = $ 0 | 
| Chris@4 | 17408   nfields = split(line, field, "@") | 
| Chris@4 | 17409   substed = 0 | 
| Chris@4 | 17410   len = length(field[1]) | 
| Chris@4 | 17411   for (i = 2; i < nfields; i++) { | 
| Chris@4 | 17412     key = field[i] | 
| Chris@4 | 17413     keylen = length(key) | 
| Chris@4 | 17414     if (S_is_set[key]) { | 
| Chris@4 | 17415       value = S[key] | 
| Chris@4 | 17416       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) | 
| Chris@4 | 17417       len += length(value) + length(field[++i]) | 
| Chris@4 | 17418       substed = 1 | 
| Chris@4 | 17419     } else | 
| Chris@4 | 17420       len += 1 + keylen | 
| Chris@4 | 17421   } | 
| Chris@4 | 17422 | 
| Chris@4 | 17423   print line | 
| Chris@4 | 17424 } | 
| Chris@4 | 17425 | 
| Chris@4 | 17426 _ACAWK | 
| Chris@4 | 17427 _ACEOF | 
| Chris@4 | 17428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17429 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then | 
| Chris@4 | 17430   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" | 
| Chris@4 | 17431 else | 
| Chris@4 | 17432   cat | 
| Chris@4 | 17433 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ | 
| Chris@4 | 17434   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 | 
| Chris@4 | 17435 _ACEOF | 
| Chris@4 | 17436 | 
| Chris@4 | 17437 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), | 
| Chris@4 | 17438 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and | 
| Chris@4 | 17439 # trailing colons and then remove the whole line if VPATH becomes empty | 
| Chris@4 | 17440 # (actually we leave an empty line to preserve line numbers). | 
| Chris@4 | 17441 if test "x$srcdir" = x.; then | 
| Chris@4 | 17442   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{ | 
| Chris@4 | 17443 h | 
| Chris@4 | 17444 s/// | 
| Chris@4 | 17445 s/^/:/ | 
| Chris@4 | 17446 s/[	 ]*$/:/ | 
| Chris@4 | 17447 s/:\$(srcdir):/:/g | 
| Chris@4 | 17448 s/:\${srcdir}:/:/g | 
| Chris@4 | 17449 s/:@srcdir@:/:/g | 
| Chris@4 | 17450 s/^:*// | 
| Chris@4 | 17451 s/:*$// | 
| Chris@4 | 17452 x | 
| Chris@4 | 17453 s/\(=[	 ]*\).*/\1/ | 
| Chris@4 | 17454 G | 
| Chris@4 | 17455 s/\n// | 
| Chris@4 | 17456 s/^[^=]*=[	 ]*$// | 
| Chris@4 | 17457 }' | 
| Chris@4 | 17458 fi | 
| Chris@4 | 17459 | 
| Chris@4 | 17460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17461 fi # test -n "$CONFIG_FILES" | 
| Chris@4 | 17462 | 
| Chris@4 | 17463 | 
| Chris@4 | 17464 eval set X "  :F $CONFIG_FILES      :C $CONFIG_COMMANDS" | 
| Chris@4 | 17465 shift | 
| Chris@4 | 17466 for ac_tag | 
| Chris@4 | 17467 do | 
| Chris@4 | 17468   case $ac_tag in | 
| Chris@4 | 17469   :[FHLC]) ac_mode=$ac_tag; continue;; | 
| Chris@4 | 17470   esac | 
| Chris@4 | 17471   case $ac_mode$ac_tag in | 
| Chris@4 | 17472   :[FHL]*:*);; | 
| Chris@4 | 17473   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; | 
| Chris@4 | 17474   :[FH]-) ac_tag=-:-;; | 
| Chris@4 | 17475   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; | 
| Chris@4 | 17476   esac | 
| Chris@4 | 17477   ac_save_IFS=$IFS | 
| Chris@4 | 17478   IFS=: | 
| Chris@4 | 17479   set x $ac_tag | 
| Chris@4 | 17480   IFS=$ac_save_IFS | 
| Chris@4 | 17481   shift | 
| Chris@4 | 17482   ac_file=$1 | 
| Chris@4 | 17483   shift | 
| Chris@4 | 17484 | 
| Chris@4 | 17485   case $ac_mode in | 
| Chris@4 | 17486   :L) ac_source=$1;; | 
| Chris@4 | 17487   :[FH]) | 
| Chris@4 | 17488     ac_file_inputs= | 
| Chris@4 | 17489     for ac_f | 
| Chris@4 | 17490     do | 
| Chris@4 | 17491       case $ac_f in | 
| Chris@4 | 17492       -) ac_f="$ac_tmp/stdin";; | 
| Chris@4 | 17493       *) # Look for the file first in the build tree, then in the source tree | 
| Chris@4 | 17494 	 # (if the path is not absolute).  The absolute path cannot be DOS-style, | 
| Chris@4 | 17495 	 # because $ac_f cannot contain `:'. | 
| Chris@4 | 17496 	 test -f "$ac_f" || | 
| Chris@4 | 17497 	   case $ac_f in | 
| Chris@4 | 17498 	   [\\/$]*) false;; | 
| Chris@4 | 17499 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; | 
| Chris@4 | 17500 	   esac || | 
| Chris@4 | 17501 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; | 
| Chris@4 | 17502       esac | 
| Chris@4 | 17503       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac | 
| Chris@4 | 17504       as_fn_append ac_file_inputs " '$ac_f'" | 
| Chris@4 | 17505     done | 
| Chris@4 | 17506 | 
| Chris@4 | 17507     # Let's still pretend it is `configure' which instantiates (i.e., don't | 
| Chris@4 | 17508     # use $as_me), people would be surprised to read: | 
| Chris@4 | 17509     #    /* config.h.  Generated by config.status.  */ | 
| Chris@4 | 17510     configure_input='Generated from '` | 
| Chris@4 | 17511 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' | 
| Chris@4 | 17512 	`' by configure.' | 
| Chris@4 | 17513     if test x"$ac_file" != x-; then | 
| Chris@4 | 17514       configure_input="$ac_file.  $configure_input" | 
| Chris@4 | 17515       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 | 
| Chris@4 | 17516 $as_echo "$as_me: creating $ac_file" >&6;} | 
| Chris@4 | 17517     fi | 
| Chris@4 | 17518     # Neutralize special characters interpreted by sed in replacement strings. | 
| Chris@4 | 17519     case $configure_input in #( | 
| Chris@4 | 17520     *\&* | *\|* | *\\* ) | 
| Chris@4 | 17521        ac_sed_conf_input=`$as_echo "$configure_input" | | 
| Chris@4 | 17522        sed 's/[\\\\&|]/\\\\&/g'`;; #( | 
| Chris@4 | 17523     *) ac_sed_conf_input=$configure_input;; | 
| Chris@4 | 17524     esac | 
| Chris@4 | 17525 | 
| Chris@4 | 17526     case $ac_tag in | 
| Chris@4 | 17527     *:-:* | *:-) cat >"$ac_tmp/stdin" \ | 
| Chris@4 | 17528       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; | 
| Chris@4 | 17529     esac | 
| Chris@4 | 17530     ;; | 
| Chris@4 | 17531   esac | 
| Chris@4 | 17532 | 
| Chris@4 | 17533   ac_dir=`$as_dirname -- "$ac_file" || | 
| Chris@4 | 17534 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ | 
| Chris@4 | 17535 	 X"$ac_file" : 'X\(//\)[^/]' \| \ | 
| Chris@4 | 17536 	 X"$ac_file" : 'X\(//\)$' \| \ | 
| Chris@4 | 17537 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || | 
| Chris@4 | 17538 $as_echo X"$ac_file" | | 
| Chris@4 | 17539     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ | 
| Chris@4 | 17540 	    s//\1/ | 
| Chris@4 | 17541 	    q | 
| Chris@4 | 17542 	  } | 
| Chris@4 | 17543 	  /^X\(\/\/\)[^/].*/{ | 
| Chris@4 | 17544 	    s//\1/ | 
| Chris@4 | 17545 	    q | 
| Chris@4 | 17546 	  } | 
| Chris@4 | 17547 	  /^X\(\/\/\)$/{ | 
| Chris@4 | 17548 	    s//\1/ | 
| Chris@4 | 17549 	    q | 
| Chris@4 | 17550 	  } | 
| Chris@4 | 17551 	  /^X\(\/\).*/{ | 
| Chris@4 | 17552 	    s//\1/ | 
| Chris@4 | 17553 	    q | 
| Chris@4 | 17554 	  } | 
| Chris@4 | 17555 	  s/.*/./; q'` | 
| Chris@4 | 17556   as_dir="$ac_dir"; as_fn_mkdir_p | 
| Chris@4 | 17557   ac_builddir=. | 
| Chris@4 | 17558 | 
| Chris@4 | 17559 case "$ac_dir" in | 
| Chris@4 | 17560 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
| Chris@4 | 17561 *) | 
| Chris@4 | 17562   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
| Chris@4 | 17563   # A ".." for each directory in $ac_dir_suffix. | 
| Chris@4 | 17564   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
| Chris@4 | 17565   case $ac_top_builddir_sub in | 
| Chris@4 | 17566   "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
| Chris@4 | 17567   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
| Chris@4 | 17568   esac ;; | 
| Chris@4 | 17569 esac | 
| Chris@4 | 17570 ac_abs_top_builddir=$ac_pwd | 
| Chris@4 | 17571 ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
| Chris@4 | 17572 # for backward compatibility: | 
| Chris@4 | 17573 ac_top_builddir=$ac_top_build_prefix | 
| Chris@4 | 17574 | 
| Chris@4 | 17575 case $srcdir in | 
| Chris@4 | 17576   .)  # We are building in place. | 
| Chris@4 | 17577     ac_srcdir=. | 
| Chris@4 | 17578     ac_top_srcdir=$ac_top_builddir_sub | 
| Chris@4 | 17579     ac_abs_top_srcdir=$ac_pwd ;; | 
| Chris@4 | 17580   [\\/]* | ?:[\\/]* )  # Absolute name. | 
| Chris@4 | 17581     ac_srcdir=$srcdir$ac_dir_suffix; | 
| Chris@4 | 17582     ac_top_srcdir=$srcdir | 
| Chris@4 | 17583     ac_abs_top_srcdir=$srcdir ;; | 
| Chris@4 | 17584   *) # Relative name. | 
| Chris@4 | 17585     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
| Chris@4 | 17586     ac_top_srcdir=$ac_top_build_prefix$srcdir | 
| Chris@4 | 17587     ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
| Chris@4 | 17588 esac | 
| Chris@4 | 17589 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
| Chris@4 | 17590 | 
| Chris@4 | 17591 | 
| Chris@4 | 17592   case $ac_mode in | 
| Chris@4 | 17593   :F) | 
| Chris@4 | 17594   # | 
| Chris@4 | 17595   # CONFIG_FILE | 
| Chris@4 | 17596   # | 
| Chris@4 | 17597 | 
| Chris@4 | 17598   case $INSTALL in | 
| Chris@4 | 17599   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; | 
| Chris@4 | 17600   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; | 
| Chris@4 | 17601   esac | 
| Chris@4 | 17602 _ACEOF | 
| Chris@4 | 17603 | 
| Chris@4 | 17604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17605 # If the template does not know about datarootdir, expand it. | 
| Chris@4 | 17606 # FIXME: This hack should be removed a few years after 2.60. | 
| Chris@4 | 17607 ac_datarootdir_hack=; ac_datarootdir_seen= | 
| Chris@4 | 17608 ac_sed_dataroot=' | 
| Chris@4 | 17609 /datarootdir/ { | 
| Chris@4 | 17610   p | 
| Chris@4 | 17611   q | 
| Chris@4 | 17612 } | 
| Chris@4 | 17613 /@datadir@/p | 
| Chris@4 | 17614 /@docdir@/p | 
| Chris@4 | 17615 /@infodir@/p | 
| Chris@4 | 17616 /@localedir@/p | 
| Chris@4 | 17617 /@mandir@/p' | 
| Chris@4 | 17618 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in | 
| Chris@4 | 17619 *datarootdir*) ac_datarootdir_seen=yes;; | 
| Chris@4 | 17620 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) | 
| Chris@4 | 17621   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 | 
| Chris@4 | 17622 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} | 
| Chris@4 | 17623 _ACEOF | 
| Chris@4 | 17624 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17625   ac_datarootdir_hack=' | 
| Chris@4 | 17626   s&@datadir@&$datadir&g | 
| Chris@4 | 17627   s&@docdir@&$docdir&g | 
| Chris@4 | 17628   s&@infodir@&$infodir&g | 
| Chris@4 | 17629   s&@localedir@&$localedir&g | 
| Chris@4 | 17630   s&@mandir@&$mandir&g | 
| Chris@4 | 17631   s&\\\${datarootdir}&$datarootdir&g' ;; | 
| Chris@4 | 17632 esac | 
| Chris@4 | 17633 _ACEOF | 
| Chris@4 | 17634 | 
| Chris@4 | 17635 # Neutralize VPATH when `$srcdir' = `.'. | 
| Chris@4 | 17636 # Shell code in configure.ac might set extrasub. | 
| Chris@4 | 17637 # FIXME: do we really want to maintain this feature? | 
| Chris@4 | 17638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17639 ac_sed_extra="$ac_vpsub | 
| Chris@4 | 17640 $extrasub | 
| Chris@4 | 17641 _ACEOF | 
| Chris@4 | 17642 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | 
| Chris@4 | 17643 :t | 
| Chris@4 | 17644 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | 
| Chris@4 | 17645 s|@configure_input@|$ac_sed_conf_input|;t t | 
| Chris@4 | 17646 s&@top_builddir@&$ac_top_builddir_sub&;t t | 
| Chris@4 | 17647 s&@top_build_prefix@&$ac_top_build_prefix&;t t | 
| Chris@4 | 17648 s&@srcdir@&$ac_srcdir&;t t | 
| Chris@4 | 17649 s&@abs_srcdir@&$ac_abs_srcdir&;t t | 
| Chris@4 | 17650 s&@top_srcdir@&$ac_top_srcdir&;t t | 
| Chris@4 | 17651 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t | 
| Chris@4 | 17652 s&@builddir@&$ac_builddir&;t t | 
| Chris@4 | 17653 s&@abs_builddir@&$ac_abs_builddir&;t t | 
| Chris@4 | 17654 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t | 
| Chris@4 | 17655 s&@INSTALL@&$ac_INSTALL&;t t | 
| Chris@4 | 17656 $ac_datarootdir_hack | 
| Chris@4 | 17657 " | 
| Chris@4 | 17658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ | 
| Chris@4 | 17659   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
| Chris@4 | 17660 | 
| Chris@4 | 17661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && | 
| Chris@4 | 17662   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && | 
| Chris@4 | 17663   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \ | 
| Chris@4 | 17664       "$ac_tmp/out"`; test -z "$ac_out"; } && | 
| Chris@4 | 17665   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
| Chris@4 | 17666 which seems to be undefined.  Please make sure it is defined" >&5 | 
| Chris@4 | 17667 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' | 
| Chris@4 | 17668 which seems to be undefined.  Please make sure it is defined" >&2;} | 
| Chris@4 | 17669 | 
| Chris@4 | 17670   rm -f "$ac_tmp/stdin" | 
| Chris@4 | 17671   case $ac_file in | 
| Chris@4 | 17672   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; | 
| Chris@4 | 17673   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; | 
| Chris@4 | 17674   esac \ | 
| Chris@4 | 17675   || as_fn_error $? "could not create $ac_file" "$LINENO" 5 | 
| Chris@4 | 17676  ;; | 
| Chris@4 | 17677 | 
| Chris@4 | 17678 | 
| Chris@4 | 17679   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5 | 
| Chris@4 | 17680 $as_echo "$as_me: executing $ac_file commands" >&6;} | 
| Chris@4 | 17681  ;; | 
| Chris@4 | 17682   esac | 
| Chris@4 | 17683 | 
| Chris@4 | 17684 | 
| Chris@4 | 17685   case $ac_file$ac_mode in | 
| Chris@4 | 17686     "libtool":C) | 
| Chris@4 | 17687 | 
| Chris@4 | 17688     # See if we are running on zsh, and set the options which allow our | 
| Chris@4 | 17689     # commands through without removal of \ escapes. | 
| Chris@4 | 17690     if test -n "${ZSH_VERSION+set}" ; then | 
| Chris@4 | 17691       setopt NO_GLOB_SUBST | 
| Chris@4 | 17692     fi | 
| Chris@4 | 17693 | 
| Chris@4 | 17694     cfgfile="${ofile}T" | 
| Chris@4 | 17695     trap "$RM \"$cfgfile\"; exit 1" 1 2 15 | 
| Chris@4 | 17696     $RM "$cfgfile" | 
| Chris@4 | 17697 | 
| Chris@4 | 17698     cat <<_LT_EOF >> "$cfgfile" | 
| Chris@4 | 17699 #! $SHELL | 
| Chris@4 | 17700 | 
| Chris@4 | 17701 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services. | 
| Chris@4 | 17702 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION | 
| Chris@4 | 17703 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`: | 
| Chris@4 | 17704 # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 
| Chris@4 | 17705 # | 
| Chris@4 | 17706 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, | 
| Chris@4 | 17707 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation, | 
| Chris@4 | 17708 #                 Inc. | 
| Chris@4 | 17709 #   Written by Gordon Matzigkeit, 1996 | 
| Chris@4 | 17710 # | 
| Chris@4 | 17711 #   This file is part of GNU Libtool. | 
| Chris@4 | 17712 # | 
| Chris@4 | 17713 # GNU Libtool is free software; you can redistribute it and/or | 
| Chris@4 | 17714 # modify it under the terms of the GNU General Public License as | 
| Chris@4 | 17715 # published by the Free Software Foundation; either version 2 of | 
| Chris@4 | 17716 # the License, or (at your option) any later version. | 
| Chris@4 | 17717 # | 
| Chris@4 | 17718 # As a special exception to the GNU General Public License, | 
| Chris@4 | 17719 # if you distribute this file as part of a program or library that | 
| Chris@4 | 17720 # is built using GNU Libtool, you may include this file under the | 
| Chris@4 | 17721 # same distribution terms that you use for the rest of that program. | 
| Chris@4 | 17722 # | 
| Chris@4 | 17723 # GNU Libtool is distributed in the hope that it will be useful, | 
| Chris@4 | 17724 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| Chris@4 | 17725 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
| Chris@4 | 17726 # GNU General Public License for more details. | 
| Chris@4 | 17727 # | 
| Chris@4 | 17728 # You should have received a copy of the GNU General Public License | 
| Chris@4 | 17729 # along with GNU Libtool; see the file COPYING.  If not, a copy | 
| Chris@4 | 17730 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or | 
| Chris@4 | 17731 # obtained by writing to the Free Software Foundation, Inc., | 
| Chris@4 | 17732 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 
| Chris@4 | 17733 | 
| Chris@4 | 17734 | 
| Chris@4 | 17735 # The names of the tagged configurations supported by this script. | 
| Chris@4 | 17736 available_tags="CXX " | 
| Chris@4 | 17737 | 
| Chris@4 | 17738 # ### BEGIN LIBTOOL CONFIG | 
| Chris@4 | 17739 | 
| Chris@4 | 17740 # Assembler program. | 
| Chris@4 | 17741 AS=$lt_AS | 
| Chris@4 | 17742 | 
| Chris@4 | 17743 # DLL creation program. | 
| Chris@4 | 17744 DLLTOOL=$lt_DLLTOOL | 
| Chris@4 | 17745 | 
| Chris@4 | 17746 # Object dumper program. | 
| Chris@4 | 17747 OBJDUMP=$lt_OBJDUMP | 
| Chris@4 | 17748 | 
| Chris@4 | 17749 # Which release of libtool.m4 was used? | 
| Chris@4 | 17750 macro_version=$macro_version | 
| Chris@4 | 17751 macro_revision=$macro_revision | 
| Chris@4 | 17752 | 
| Chris@4 | 17753 # Whether or not to build shared libraries. | 
| Chris@4 | 17754 build_libtool_libs=$enable_shared | 
| Chris@4 | 17755 | 
| Chris@4 | 17756 # Whether or not to build static libraries. | 
| Chris@4 | 17757 build_old_libs=$enable_static | 
| Chris@4 | 17758 | 
| Chris@4 | 17759 # What type of objects to build. | 
| Chris@4 | 17760 pic_mode=$pic_mode | 
| Chris@4 | 17761 | 
| Chris@4 | 17762 # Whether or not to optimize for fast installation. | 
| Chris@4 | 17763 fast_install=$enable_fast_install | 
| Chris@4 | 17764 | 
| Chris@4 | 17765 # Shell to use when invoking shell scripts. | 
| Chris@4 | 17766 SHELL=$lt_SHELL | 
| Chris@4 | 17767 | 
| Chris@4 | 17768 # An echo program that protects backslashes. | 
| Chris@4 | 17769 ECHO=$lt_ECHO | 
| Chris@4 | 17770 | 
| Chris@4 | 17771 # The host system. | 
| Chris@4 | 17772 host_alias=$host_alias | 
| Chris@4 | 17773 host=$host | 
| Chris@4 | 17774 host_os=$host_os | 
| Chris@4 | 17775 | 
| Chris@4 | 17776 # The build system. | 
| Chris@4 | 17777 build_alias=$build_alias | 
| Chris@4 | 17778 build=$build | 
| Chris@4 | 17779 build_os=$build_os | 
| Chris@4 | 17780 | 
| Chris@4 | 17781 # A sed program that does not truncate output. | 
| Chris@4 | 17782 SED=$lt_SED | 
| Chris@4 | 17783 | 
| Chris@4 | 17784 # Sed that helps us avoid accidentally triggering echo(1) options like -n. | 
| Chris@4 | 17785 Xsed="\$SED -e 1s/^X//" | 
| Chris@4 | 17786 | 
| Chris@4 | 17787 # A grep program that handles long lines. | 
| Chris@4 | 17788 GREP=$lt_GREP | 
| Chris@4 | 17789 | 
| Chris@4 | 17790 # An ERE matcher. | 
| Chris@4 | 17791 EGREP=$lt_EGREP | 
| Chris@4 | 17792 | 
| Chris@4 | 17793 # A literal string matcher. | 
| Chris@4 | 17794 FGREP=$lt_FGREP | 
| Chris@4 | 17795 | 
| Chris@4 | 17796 # A BSD- or MS-compatible name lister. | 
| Chris@4 | 17797 NM=$lt_NM | 
| Chris@4 | 17798 | 
| Chris@4 | 17799 # Whether we need soft or hard links. | 
| Chris@4 | 17800 LN_S=$lt_LN_S | 
| Chris@4 | 17801 | 
| Chris@4 | 17802 # What is the maximum length of a command? | 
| Chris@4 | 17803 max_cmd_len=$max_cmd_len | 
| Chris@4 | 17804 | 
| Chris@4 | 17805 # Object file suffix (normally "o"). | 
| Chris@4 | 17806 objext=$ac_objext | 
| Chris@4 | 17807 | 
| Chris@4 | 17808 # Executable file suffix (normally ""). | 
| Chris@4 | 17809 exeext=$exeext | 
| Chris@4 | 17810 | 
| Chris@4 | 17811 # whether the shell understands "unset". | 
| Chris@4 | 17812 lt_unset=$lt_unset | 
| Chris@4 | 17813 | 
| Chris@4 | 17814 # turn spaces into newlines. | 
| Chris@4 | 17815 SP2NL=$lt_lt_SP2NL | 
| Chris@4 | 17816 | 
| Chris@4 | 17817 # turn newlines into spaces. | 
| Chris@4 | 17818 NL2SP=$lt_lt_NL2SP | 
| Chris@4 | 17819 | 
| Chris@4 | 17820 # convert \$build file names to \$host format. | 
| Chris@4 | 17821 to_host_file_cmd=$lt_cv_to_host_file_cmd | 
| Chris@4 | 17822 | 
| Chris@4 | 17823 # convert \$build files to toolchain format. | 
| Chris@4 | 17824 to_tool_file_cmd=$lt_cv_to_tool_file_cmd | 
| Chris@4 | 17825 | 
| Chris@4 | 17826 # Method to check whether dependent libraries are shared objects. | 
| Chris@4 | 17827 deplibs_check_method=$lt_deplibs_check_method | 
| Chris@4 | 17828 | 
| Chris@4 | 17829 # Command to use when deplibs_check_method = "file_magic". | 
| Chris@4 | 17830 file_magic_cmd=$lt_file_magic_cmd | 
| Chris@4 | 17831 | 
| Chris@4 | 17832 # How to find potential files when deplibs_check_method = "file_magic". | 
| Chris@4 | 17833 file_magic_glob=$lt_file_magic_glob | 
| Chris@4 | 17834 | 
| Chris@4 | 17835 # Find potential files using nocaseglob when deplibs_check_method = "file_magic". | 
| Chris@4 | 17836 want_nocaseglob=$lt_want_nocaseglob | 
| Chris@4 | 17837 | 
| Chris@4 | 17838 # Command to associate shared and link libraries. | 
| Chris@4 | 17839 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd | 
| Chris@4 | 17840 | 
| Chris@4 | 17841 # The archiver. | 
| Chris@4 | 17842 AR=$lt_AR | 
| Chris@4 | 17843 | 
| Chris@4 | 17844 # Flags to create an archive. | 
| Chris@4 | 17845 AR_FLAGS=$lt_AR_FLAGS | 
| Chris@4 | 17846 | 
| Chris@4 | 17847 # How to feed a file listing to the archiver. | 
| Chris@4 | 17848 archiver_list_spec=$lt_archiver_list_spec | 
| Chris@4 | 17849 | 
| Chris@4 | 17850 # A symbol stripping program. | 
| Chris@4 | 17851 STRIP=$lt_STRIP | 
| Chris@4 | 17852 | 
| Chris@4 | 17853 # Commands used to install an old-style archive. | 
| Chris@4 | 17854 RANLIB=$lt_RANLIB | 
| Chris@4 | 17855 old_postinstall_cmds=$lt_old_postinstall_cmds | 
| Chris@4 | 17856 old_postuninstall_cmds=$lt_old_postuninstall_cmds | 
| Chris@4 | 17857 | 
| Chris@4 | 17858 # Whether to use a lock for old archive extraction. | 
| Chris@4 | 17859 lock_old_archive_extraction=$lock_old_archive_extraction | 
| Chris@4 | 17860 | 
| Chris@4 | 17861 # A C compiler. | 
| Chris@4 | 17862 LTCC=$lt_CC | 
| Chris@4 | 17863 | 
| Chris@4 | 17864 # LTCC compiler flags. | 
| Chris@4 | 17865 LTCFLAGS=$lt_CFLAGS | 
| Chris@4 | 17866 | 
| Chris@4 | 17867 # Take the output of nm and produce a listing of raw symbols and C names. | 
| Chris@4 | 17868 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe | 
| Chris@4 | 17869 | 
| Chris@4 | 17870 # Transform the output of nm in a proper C declaration. | 
| Chris@4 | 17871 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl | 
| Chris@4 | 17872 | 
| Chris@4 | 17873 # Transform the output of nm in a C name address pair. | 
| Chris@4 | 17874 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address | 
| Chris@4 | 17875 | 
| Chris@4 | 17876 # Transform the output of nm in a C name address pair when lib prefix is needed. | 
| Chris@4 | 17877 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix | 
| Chris@4 | 17878 | 
| Chris@4 | 17879 # Specify filename containing input files for \$NM. | 
| Chris@4 | 17880 nm_file_list_spec=$lt_nm_file_list_spec | 
| Chris@4 | 17881 | 
| Chris@4 | 17882 # The root where to search for dependent libraries,and in which our libraries should be installed. | 
| Chris@4 | 17883 lt_sysroot=$lt_sysroot | 
| Chris@4 | 17884 | 
| Chris@4 | 17885 # The name of the directory that contains temporary libtool files. | 
| Chris@4 | 17886 objdir=$objdir | 
| Chris@4 | 17887 | 
| Chris@4 | 17888 # Used to examine libraries when file_magic_cmd begins with "file". | 
| Chris@4 | 17889 MAGIC_CMD=$MAGIC_CMD | 
| Chris@4 | 17890 | 
| Chris@4 | 17891 # Must we lock files when doing compilation? | 
| Chris@4 | 17892 need_locks=$lt_need_locks | 
| Chris@4 | 17893 | 
| Chris@4 | 17894 # Manifest tool. | 
| Chris@4 | 17895 MANIFEST_TOOL=$lt_MANIFEST_TOOL | 
| Chris@4 | 17896 | 
| Chris@4 | 17897 # Tool to manipulate archived DWARF debug symbol files on Mac OS X. | 
| Chris@4 | 17898 DSYMUTIL=$lt_DSYMUTIL | 
| Chris@4 | 17899 | 
| Chris@4 | 17900 # Tool to change global to local symbols on Mac OS X. | 
| Chris@4 | 17901 NMEDIT=$lt_NMEDIT | 
| Chris@4 | 17902 | 
| Chris@4 | 17903 # Tool to manipulate fat objects and archives on Mac OS X. | 
| Chris@4 | 17904 LIPO=$lt_LIPO | 
| Chris@4 | 17905 | 
| Chris@4 | 17906 # ldd/readelf like tool for Mach-O binaries on Mac OS X. | 
| Chris@4 | 17907 OTOOL=$lt_OTOOL | 
| Chris@4 | 17908 | 
| Chris@4 | 17909 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4. | 
| Chris@4 | 17910 OTOOL64=$lt_OTOOL64 | 
| Chris@4 | 17911 | 
| Chris@4 | 17912 # Old archive suffix (normally "a"). | 
| Chris@4 | 17913 libext=$libext | 
| Chris@4 | 17914 | 
| Chris@4 | 17915 # Shared library suffix (normally ".so"). | 
| Chris@4 | 17916 shrext_cmds=$lt_shrext_cmds | 
| Chris@4 | 17917 | 
| Chris@4 | 17918 # The commands to extract the exported symbol list from a shared archive. | 
| Chris@4 | 17919 extract_expsyms_cmds=$lt_extract_expsyms_cmds | 
| Chris@4 | 17920 | 
| Chris@4 | 17921 # Variables whose values should be saved in libtool wrapper scripts and | 
| Chris@4 | 17922 # restored at link time. | 
| Chris@4 | 17923 variables_saved_for_relink=$lt_variables_saved_for_relink | 
| Chris@4 | 17924 | 
| Chris@4 | 17925 # Do we need the "lib" prefix for modules? | 
| Chris@4 | 17926 need_lib_prefix=$need_lib_prefix | 
| Chris@4 | 17927 | 
| Chris@4 | 17928 # Do we need a version for libraries? | 
| Chris@4 | 17929 need_version=$need_version | 
| Chris@4 | 17930 | 
| Chris@4 | 17931 # Library versioning type. | 
| Chris@4 | 17932 version_type=$version_type | 
| Chris@4 | 17933 | 
| Chris@4 | 17934 # Shared library runtime path variable. | 
| Chris@4 | 17935 runpath_var=$runpath_var | 
| Chris@4 | 17936 | 
| Chris@4 | 17937 # Shared library path variable. | 
| Chris@4 | 17938 shlibpath_var=$shlibpath_var | 
| Chris@4 | 17939 | 
| Chris@4 | 17940 # Is shlibpath searched before the hard-coded library search path? | 
| Chris@4 | 17941 shlibpath_overrides_runpath=$shlibpath_overrides_runpath | 
| Chris@4 | 17942 | 
| Chris@4 | 17943 # Format of library name prefix. | 
| Chris@4 | 17944 libname_spec=$lt_libname_spec | 
| Chris@4 | 17945 | 
| Chris@4 | 17946 # List of archive names.  First name is the real one, the rest are links. | 
| Chris@4 | 17947 # The last name is the one that the linker finds with -lNAME | 
| Chris@4 | 17948 library_names_spec=$lt_library_names_spec | 
| Chris@4 | 17949 | 
| Chris@4 | 17950 # The coded name of the library, if different from the real name. | 
| Chris@4 | 17951 soname_spec=$lt_soname_spec | 
| Chris@4 | 17952 | 
| Chris@4 | 17953 # Permission mode override for installation of shared libraries. | 
| Chris@4 | 17954 install_override_mode=$lt_install_override_mode | 
| Chris@4 | 17955 | 
| Chris@4 | 17956 # Command to use after installation of a shared archive. | 
| Chris@4 | 17957 postinstall_cmds=$lt_postinstall_cmds | 
| Chris@4 | 17958 | 
| Chris@4 | 17959 # Command to use after uninstallation of a shared archive. | 
| Chris@4 | 17960 postuninstall_cmds=$lt_postuninstall_cmds | 
| Chris@4 | 17961 | 
| Chris@4 | 17962 # Commands used to finish a libtool library installation in a directory. | 
| Chris@4 | 17963 finish_cmds=$lt_finish_cmds | 
| Chris@4 | 17964 | 
| Chris@4 | 17965 # As "finish_cmds", except a single script fragment to be evaled but | 
| Chris@4 | 17966 # not shown. | 
| Chris@4 | 17967 finish_eval=$lt_finish_eval | 
| Chris@4 | 17968 | 
| Chris@4 | 17969 # Whether we should hardcode library paths into libraries. | 
| Chris@4 | 17970 hardcode_into_libs=$hardcode_into_libs | 
| Chris@4 | 17971 | 
| Chris@4 | 17972 # Compile-time system search path for libraries. | 
| Chris@4 | 17973 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec | 
| Chris@4 | 17974 | 
| Chris@4 | 17975 # Run-time system search path for libraries. | 
| Chris@4 | 17976 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec | 
| Chris@4 | 17977 | 
| Chris@4 | 17978 # Whether dlopen is supported. | 
| Chris@4 | 17979 dlopen_support=$enable_dlopen | 
| Chris@4 | 17980 | 
| Chris@4 | 17981 # Whether dlopen of programs is supported. | 
| Chris@4 | 17982 dlopen_self=$enable_dlopen_self | 
| Chris@4 | 17983 | 
| Chris@4 | 17984 # Whether dlopen of statically linked programs is supported. | 
| Chris@4 | 17985 dlopen_self_static=$enable_dlopen_self_static | 
| Chris@4 | 17986 | 
| Chris@4 | 17987 # Commands to strip libraries. | 
| Chris@4 | 17988 old_striplib=$lt_old_striplib | 
| Chris@4 | 17989 striplib=$lt_striplib | 
| Chris@4 | 17990 | 
| Chris@4 | 17991 | 
| Chris@4 | 17992 # The linker used to build libraries. | 
| Chris@4 | 17993 LD=$lt_LD | 
| Chris@4 | 17994 | 
| Chris@4 | 17995 # How to create reloadable object files. | 
| Chris@4 | 17996 reload_flag=$lt_reload_flag | 
| Chris@4 | 17997 reload_cmds=$lt_reload_cmds | 
| Chris@4 | 17998 | 
| Chris@4 | 17999 # Commands used to build an old-style archive. | 
| Chris@4 | 18000 old_archive_cmds=$lt_old_archive_cmds | 
| Chris@4 | 18001 | 
| Chris@4 | 18002 # A language specific compiler. | 
| Chris@4 | 18003 CC=$lt_compiler | 
| Chris@4 | 18004 | 
| Chris@4 | 18005 # Is the compiler the GNU compiler? | 
| Chris@4 | 18006 with_gcc=$GCC | 
| Chris@4 | 18007 | 
| Chris@4 | 18008 # Compiler flag to turn off builtin functions. | 
| Chris@4 | 18009 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag | 
| Chris@4 | 18010 | 
| Chris@4 | 18011 # Additional compiler flags for building library objects. | 
| Chris@4 | 18012 pic_flag=$lt_lt_prog_compiler_pic | 
| Chris@4 | 18013 | 
| Chris@4 | 18014 # How to pass a linker flag through the compiler. | 
| Chris@4 | 18015 wl=$lt_lt_prog_compiler_wl | 
| Chris@4 | 18016 | 
| Chris@4 | 18017 # Compiler flag to prevent dynamic linking. | 
| Chris@4 | 18018 link_static_flag=$lt_lt_prog_compiler_static | 
| Chris@4 | 18019 | 
| Chris@4 | 18020 # Does compiler simultaneously support -c and -o options? | 
| Chris@4 | 18021 compiler_c_o=$lt_lt_cv_prog_compiler_c_o | 
| Chris@4 | 18022 | 
| Chris@4 | 18023 # Whether or not to add -lc for building shared libraries. | 
| Chris@4 | 18024 build_libtool_need_lc=$archive_cmds_need_lc | 
| Chris@4 | 18025 | 
| Chris@4 | 18026 # Whether or not to disallow shared libs when runtime libs are static. | 
| Chris@4 | 18027 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes | 
| Chris@4 | 18028 | 
| Chris@4 | 18029 # Compiler flag to allow reflexive dlopens. | 
| Chris@4 | 18030 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec | 
| Chris@4 | 18031 | 
| Chris@4 | 18032 # Compiler flag to generate shared objects directly from archives. | 
| Chris@4 | 18033 whole_archive_flag_spec=$lt_whole_archive_flag_spec | 
| Chris@4 | 18034 | 
| Chris@4 | 18035 # Whether the compiler copes with passing no objects directly. | 
| Chris@4 | 18036 compiler_needs_object=$lt_compiler_needs_object | 
| Chris@4 | 18037 | 
| Chris@4 | 18038 # Create an old-style archive from a shared archive. | 
| Chris@4 | 18039 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds | 
| Chris@4 | 18040 | 
| Chris@4 | 18041 # Create a temporary old-style archive to link instead of a shared archive. | 
| Chris@4 | 18042 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds | 
| Chris@4 | 18043 | 
| Chris@4 | 18044 # Commands used to build a shared archive. | 
| Chris@4 | 18045 archive_cmds=$lt_archive_cmds | 
| Chris@4 | 18046 archive_expsym_cmds=$lt_archive_expsym_cmds | 
| Chris@4 | 18047 | 
| Chris@4 | 18048 # Commands used to build a loadable module if different from building | 
| Chris@4 | 18049 # a shared archive. | 
| Chris@4 | 18050 module_cmds=$lt_module_cmds | 
| Chris@4 | 18051 module_expsym_cmds=$lt_module_expsym_cmds | 
| Chris@4 | 18052 | 
| Chris@4 | 18053 # Whether we are building with GNU ld or not. | 
| Chris@4 | 18054 with_gnu_ld=$lt_with_gnu_ld | 
| Chris@4 | 18055 | 
| Chris@4 | 18056 # Flag that allows shared libraries with undefined symbols to be built. | 
| Chris@4 | 18057 allow_undefined_flag=$lt_allow_undefined_flag | 
| Chris@4 | 18058 | 
| Chris@4 | 18059 # Flag that enforces no undefined symbols. | 
| Chris@4 | 18060 no_undefined_flag=$lt_no_undefined_flag | 
| Chris@4 | 18061 | 
| Chris@4 | 18062 # Flag to hardcode \$libdir into a binary during linking. | 
| Chris@4 | 18063 # This must work even if \$libdir does not exist | 
| Chris@4 | 18064 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec | 
| Chris@4 | 18065 | 
| Chris@4 | 18066 # If ld is used when linking, flag to hardcode \$libdir into a binary | 
| Chris@4 | 18067 # during linking.  This must work even if \$libdir does not exist. | 
| Chris@4 | 18068 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld | 
| Chris@4 | 18069 | 
| Chris@4 | 18070 # Whether we need a single "-rpath" flag with a separated argument. | 
| Chris@4 | 18071 hardcode_libdir_separator=$lt_hardcode_libdir_separator | 
| Chris@4 | 18072 | 
| Chris@4 | 18073 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 
| Chris@4 | 18074 # DIR into the resulting binary. | 
| Chris@4 | 18075 hardcode_direct=$hardcode_direct | 
| Chris@4 | 18076 | 
| Chris@4 | 18077 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 
| Chris@4 | 18078 # DIR into the resulting binary and the resulting library dependency is | 
| Chris@4 | 18079 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the | 
| Chris@4 | 18080 # library is relocated. | 
| Chris@4 | 18081 hardcode_direct_absolute=$hardcode_direct_absolute | 
| Chris@4 | 18082 | 
| Chris@4 | 18083 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | 
| Chris@4 | 18084 # into the resulting binary. | 
| Chris@4 | 18085 hardcode_minus_L=$hardcode_minus_L | 
| Chris@4 | 18086 | 
| Chris@4 | 18087 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | 
| Chris@4 | 18088 # into the resulting binary. | 
| Chris@4 | 18089 hardcode_shlibpath_var=$hardcode_shlibpath_var | 
| Chris@4 | 18090 | 
| Chris@4 | 18091 # Set to "yes" if building a shared library automatically hardcodes DIR | 
| Chris@4 | 18092 # into the library and all subsequent libraries and executables linked | 
| Chris@4 | 18093 # against it. | 
| Chris@4 | 18094 hardcode_automatic=$hardcode_automatic | 
| Chris@4 | 18095 | 
| Chris@4 | 18096 # Set to yes if linker adds runtime paths of dependent libraries | 
| Chris@4 | 18097 # to runtime path list. | 
| Chris@4 | 18098 inherit_rpath=$inherit_rpath | 
| Chris@4 | 18099 | 
| Chris@4 | 18100 # Whether libtool must link a program against all its dependency libraries. | 
| Chris@4 | 18101 link_all_deplibs=$link_all_deplibs | 
| Chris@4 | 18102 | 
| Chris@4 | 18103 # Set to "yes" if exported symbols are required. | 
| Chris@4 | 18104 always_export_symbols=$always_export_symbols | 
| Chris@4 | 18105 | 
| Chris@4 | 18106 # The commands to list exported symbols. | 
| Chris@4 | 18107 export_symbols_cmds=$lt_export_symbols_cmds | 
| Chris@4 | 18108 | 
| Chris@4 | 18109 # Symbols that should not be listed in the preloaded symbols. | 
| Chris@4 | 18110 exclude_expsyms=$lt_exclude_expsyms | 
| Chris@4 | 18111 | 
| Chris@4 | 18112 # Symbols that must always be exported. | 
| Chris@4 | 18113 include_expsyms=$lt_include_expsyms | 
| Chris@4 | 18114 | 
| Chris@4 | 18115 # Commands necessary for linking programs (against libraries) with templates. | 
| Chris@4 | 18116 prelink_cmds=$lt_prelink_cmds | 
| Chris@4 | 18117 | 
| Chris@4 | 18118 # Commands necessary for finishing linking programs. | 
| Chris@4 | 18119 postlink_cmds=$lt_postlink_cmds | 
| Chris@4 | 18120 | 
| Chris@4 | 18121 # Specify filename containing input files. | 
| Chris@4 | 18122 file_list_spec=$lt_file_list_spec | 
| Chris@4 | 18123 | 
| Chris@4 | 18124 # How to hardcode a shared library path into an executable. | 
| Chris@4 | 18125 hardcode_action=$hardcode_action | 
| Chris@4 | 18126 | 
| Chris@4 | 18127 # The directories searched by this compiler when creating a shared library. | 
| Chris@4 | 18128 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs | 
| Chris@4 | 18129 | 
| Chris@4 | 18130 # Dependencies to place before and after the objects being linked to | 
| Chris@4 | 18131 # create a shared library. | 
| Chris@4 | 18132 predep_objects=$lt_predep_objects | 
| Chris@4 | 18133 postdep_objects=$lt_postdep_objects | 
| Chris@4 | 18134 predeps=$lt_predeps | 
| Chris@4 | 18135 postdeps=$lt_postdeps | 
| Chris@4 | 18136 | 
| Chris@4 | 18137 # The library search path used internally by the compiler when linking | 
| Chris@4 | 18138 # a shared library. | 
| Chris@4 | 18139 compiler_lib_search_path=$lt_compiler_lib_search_path | 
| Chris@4 | 18140 | 
| Chris@4 | 18141 # ### END LIBTOOL CONFIG | 
| Chris@4 | 18142 | 
| Chris@4 | 18143 _LT_EOF | 
| Chris@4 | 18144 | 
| Chris@4 | 18145   case $host_os in | 
| Chris@4 | 18146   aix3*) | 
| Chris@4 | 18147     cat <<\_LT_EOF >> "$cfgfile" | 
| Chris@4 | 18148 # AIX sometimes has problems with the GCC collect2 program.  For some | 
| Chris@4 | 18149 # reason, if we set the COLLECT_NAMES environment variable, the problems | 
| Chris@4 | 18150 # vanish in a puff of smoke. | 
| Chris@4 | 18151 if test "X${COLLECT_NAMES+set}" != Xset; then | 
| Chris@4 | 18152   COLLECT_NAMES= | 
| Chris@4 | 18153   export COLLECT_NAMES | 
| Chris@4 | 18154 fi | 
| Chris@4 | 18155 _LT_EOF | 
| Chris@4 | 18156     ;; | 
| Chris@4 | 18157   esac | 
| Chris@4 | 18158 | 
| Chris@4 | 18159 | 
| Chris@4 | 18160 ltmain="$ac_aux_dir/ltmain.sh" | 
| Chris@4 | 18161 | 
| Chris@4 | 18162 | 
| Chris@4 | 18163   # We use sed instead of cat because bash on DJGPP gets confused if | 
| Chris@4 | 18164   # if finds mixed CR/LF and LF-only lines.  Since sed operates in | 
| Chris@4 | 18165   # text mode, it properly converts lines to CR/LF.  This bash problem | 
| Chris@4 | 18166   # is reportedly fixed, but why not run on old versions too? | 
| Chris@4 | 18167   sed '$q' "$ltmain" >> "$cfgfile" \ | 
| Chris@4 | 18168      || (rm -f "$cfgfile"; exit 1) | 
| Chris@4 | 18169 | 
| Chris@4 | 18170   if test x"$xsi_shell" = xyes; then | 
| Chris@4 | 18171   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\ | 
| Chris@4 | 18172 func_dirname ()\ | 
| Chris@4 | 18173 {\ | 
| Chris@4 | 18174 \    case ${1} in\ | 
| Chris@4 | 18175 \      */*) func_dirname_result="${1%/*}${2}" ;;\ | 
| Chris@4 | 18176 \      *  ) func_dirname_result="${3}" ;;\ | 
| Chris@4 | 18177 \    esac\ | 
| Chris@4 | 18178 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18179   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18180     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18181 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18182 | 
| Chris@4 | 18183 | 
| Chris@4 | 18184   sed -e '/^func_basename ()$/,/^} # func_basename /c\ | 
| Chris@4 | 18185 func_basename ()\ | 
| Chris@4 | 18186 {\ | 
| Chris@4 | 18187 \    func_basename_result="${1##*/}"\ | 
| Chris@4 | 18188 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18189   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18190     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18191 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18192 | 
| Chris@4 | 18193 | 
| Chris@4 | 18194   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\ | 
| Chris@4 | 18195 func_dirname_and_basename ()\ | 
| Chris@4 | 18196 {\ | 
| Chris@4 | 18197 \    case ${1} in\ | 
| Chris@4 | 18198 \      */*) func_dirname_result="${1%/*}${2}" ;;\ | 
| Chris@4 | 18199 \      *  ) func_dirname_result="${3}" ;;\ | 
| Chris@4 | 18200 \    esac\ | 
| Chris@4 | 18201 \    func_basename_result="${1##*/}"\ | 
| Chris@4 | 18202 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18203   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18204     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18205 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18206 | 
| Chris@4 | 18207 | 
| Chris@4 | 18208   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\ | 
| Chris@4 | 18209 func_stripname ()\ | 
| Chris@4 | 18210 {\ | 
| Chris@4 | 18211 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\ | 
| Chris@4 | 18212 \    # positional parameters, so assign one to ordinary parameter first.\ | 
| Chris@4 | 18213 \    func_stripname_result=${3}\ | 
| Chris@4 | 18214 \    func_stripname_result=${func_stripname_result#"${1}"}\ | 
| Chris@4 | 18215 \    func_stripname_result=${func_stripname_result%"${2}"}\ | 
| Chris@4 | 18216 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18217   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18218     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18219 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18220 | 
| Chris@4 | 18221 | 
| Chris@4 | 18222   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\ | 
| Chris@4 | 18223 func_split_long_opt ()\ | 
| Chris@4 | 18224 {\ | 
| Chris@4 | 18225 \    func_split_long_opt_name=${1%%=*}\ | 
| Chris@4 | 18226 \    func_split_long_opt_arg=${1#*=}\ | 
| Chris@4 | 18227 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18228   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18229     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18230 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18231 | 
| Chris@4 | 18232 | 
| Chris@4 | 18233   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\ | 
| Chris@4 | 18234 func_split_short_opt ()\ | 
| Chris@4 | 18235 {\ | 
| Chris@4 | 18236 \    func_split_short_opt_arg=${1#??}\ | 
| Chris@4 | 18237 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\ | 
| Chris@4 | 18238 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18239   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18240     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18241 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18242 | 
| Chris@4 | 18243 | 
| Chris@4 | 18244   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\ | 
| Chris@4 | 18245 func_lo2o ()\ | 
| Chris@4 | 18246 {\ | 
| Chris@4 | 18247 \    case ${1} in\ | 
| Chris@4 | 18248 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\ | 
| Chris@4 | 18249 \      *)    func_lo2o_result=${1} ;;\ | 
| Chris@4 | 18250 \    esac\ | 
| Chris@4 | 18251 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18252   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18253     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18254 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18255 | 
| Chris@4 | 18256 | 
| Chris@4 | 18257   sed -e '/^func_xform ()$/,/^} # func_xform /c\ | 
| Chris@4 | 18258 func_xform ()\ | 
| Chris@4 | 18259 {\ | 
| Chris@4 | 18260     func_xform_result=${1%.*}.lo\ | 
| Chris@4 | 18261 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18262   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18263     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18264 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18265 | 
| Chris@4 | 18266 | 
| Chris@4 | 18267   sed -e '/^func_arith ()$/,/^} # func_arith /c\ | 
| Chris@4 | 18268 func_arith ()\ | 
| Chris@4 | 18269 {\ | 
| Chris@4 | 18270     func_arith_result=$(( $* ))\ | 
| Chris@4 | 18271 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18272   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18273     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18274 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18275 | 
| Chris@4 | 18276 | 
| Chris@4 | 18277   sed -e '/^func_len ()$/,/^} # func_len /c\ | 
| Chris@4 | 18278 func_len ()\ | 
| Chris@4 | 18279 {\ | 
| Chris@4 | 18280     func_len_result=${#1}\ | 
| Chris@4 | 18281 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18282   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18283     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18284 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18285 | 
| Chris@4 | 18286 fi | 
| Chris@4 | 18287 | 
| Chris@4 | 18288 if test x"$lt_shell_append" = xyes; then | 
| Chris@4 | 18289   sed -e '/^func_append ()$/,/^} # func_append /c\ | 
| Chris@4 | 18290 func_append ()\ | 
| Chris@4 | 18291 {\ | 
| Chris@4 | 18292     eval "${1}+=\\${2}"\ | 
| Chris@4 | 18293 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18294   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18295     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18296 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18297 | 
| Chris@4 | 18298 | 
| Chris@4 | 18299   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\ | 
| Chris@4 | 18300 func_append_quoted ()\ | 
| Chris@4 | 18301 {\ | 
| Chris@4 | 18302 \    func_quote_for_eval "${2}"\ | 
| Chris@4 | 18303 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\ | 
| Chris@4 | 18304 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \ | 
| Chris@4 | 18305   && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18306     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18307 test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18308 | 
| Chris@4 | 18309 | 
| Chris@4 | 18310   # Save a `func_append' function call where possible by direct use of '+=' | 
| Chris@4 | 18311   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \ | 
| Chris@4 | 18312     && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18313       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18314   test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18315 else | 
| Chris@4 | 18316   # Save a `func_append' function call even when '+=' is not available | 
| Chris@4 | 18317   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \ | 
| Chris@4 | 18318     && mv -f "$cfgfile.tmp" "$cfgfile" \ | 
| Chris@4 | 18319       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp") | 
| Chris@4 | 18320   test 0 -eq $? || _lt_function_replace_fail=: | 
| Chris@4 | 18321 fi | 
| Chris@4 | 18322 | 
| Chris@4 | 18323 if test x"$_lt_function_replace_fail" = x":"; then | 
| Chris@4 | 18324   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5 | 
| Chris@4 | 18325 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;} | 
| Chris@4 | 18326 fi | 
| Chris@4 | 18327 | 
| Chris@4 | 18328 | 
| Chris@4 | 18329    mv -f "$cfgfile" "$ofile" || | 
| Chris@4 | 18330     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile") | 
| Chris@4 | 18331   chmod +x "$ofile" | 
| Chris@4 | 18332 | 
| Chris@4 | 18333 | 
| Chris@4 | 18334     cat <<_LT_EOF >> "$ofile" | 
| Chris@4 | 18335 | 
| Chris@4 | 18336 # ### BEGIN LIBTOOL TAG CONFIG: CXX | 
| Chris@4 | 18337 | 
| Chris@4 | 18338 # The linker used to build libraries. | 
| Chris@4 | 18339 LD=$lt_LD_CXX | 
| Chris@4 | 18340 | 
| Chris@4 | 18341 # How to create reloadable object files. | 
| Chris@4 | 18342 reload_flag=$lt_reload_flag_CXX | 
| Chris@4 | 18343 reload_cmds=$lt_reload_cmds_CXX | 
| Chris@4 | 18344 | 
| Chris@4 | 18345 # Commands used to build an old-style archive. | 
| Chris@4 | 18346 old_archive_cmds=$lt_old_archive_cmds_CXX | 
| Chris@4 | 18347 | 
| Chris@4 | 18348 # A language specific compiler. | 
| Chris@4 | 18349 CC=$lt_compiler_CXX | 
| Chris@4 | 18350 | 
| Chris@4 | 18351 # Is the compiler the GNU compiler? | 
| Chris@4 | 18352 with_gcc=$GCC_CXX | 
| Chris@4 | 18353 | 
| Chris@4 | 18354 # Compiler flag to turn off builtin functions. | 
| Chris@4 | 18355 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX | 
| Chris@4 | 18356 | 
| Chris@4 | 18357 # Additional compiler flags for building library objects. | 
| Chris@4 | 18358 pic_flag=$lt_lt_prog_compiler_pic_CXX | 
| Chris@4 | 18359 | 
| Chris@4 | 18360 # How to pass a linker flag through the compiler. | 
| Chris@4 | 18361 wl=$lt_lt_prog_compiler_wl_CXX | 
| Chris@4 | 18362 | 
| Chris@4 | 18363 # Compiler flag to prevent dynamic linking. | 
| Chris@4 | 18364 link_static_flag=$lt_lt_prog_compiler_static_CXX | 
| Chris@4 | 18365 | 
| Chris@4 | 18366 # Does compiler simultaneously support -c and -o options? | 
| Chris@4 | 18367 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX | 
| Chris@4 | 18368 | 
| Chris@4 | 18369 # Whether or not to add -lc for building shared libraries. | 
| Chris@4 | 18370 build_libtool_need_lc=$archive_cmds_need_lc_CXX | 
| Chris@4 | 18371 | 
| Chris@4 | 18372 # Whether or not to disallow shared libs when runtime libs are static. | 
| Chris@4 | 18373 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX | 
| Chris@4 | 18374 | 
| Chris@4 | 18375 # Compiler flag to allow reflexive dlopens. | 
| Chris@4 | 18376 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX | 
| Chris@4 | 18377 | 
| Chris@4 | 18378 # Compiler flag to generate shared objects directly from archives. | 
| Chris@4 | 18379 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX | 
| Chris@4 | 18380 | 
| Chris@4 | 18381 # Whether the compiler copes with passing no objects directly. | 
| Chris@4 | 18382 compiler_needs_object=$lt_compiler_needs_object_CXX | 
| Chris@4 | 18383 | 
| Chris@4 | 18384 # Create an old-style archive from a shared archive. | 
| Chris@4 | 18385 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX | 
| Chris@4 | 18386 | 
| Chris@4 | 18387 # Create a temporary old-style archive to link instead of a shared archive. | 
| Chris@4 | 18388 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX | 
| Chris@4 | 18389 | 
| Chris@4 | 18390 # Commands used to build a shared archive. | 
| Chris@4 | 18391 archive_cmds=$lt_archive_cmds_CXX | 
| Chris@4 | 18392 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX | 
| Chris@4 | 18393 | 
| Chris@4 | 18394 # Commands used to build a loadable module if different from building | 
| Chris@4 | 18395 # a shared archive. | 
| Chris@4 | 18396 module_cmds=$lt_module_cmds_CXX | 
| Chris@4 | 18397 module_expsym_cmds=$lt_module_expsym_cmds_CXX | 
| Chris@4 | 18398 | 
| Chris@4 | 18399 # Whether we are building with GNU ld or not. | 
| Chris@4 | 18400 with_gnu_ld=$lt_with_gnu_ld_CXX | 
| Chris@4 | 18401 | 
| Chris@4 | 18402 # Flag that allows shared libraries with undefined symbols to be built. | 
| Chris@4 | 18403 allow_undefined_flag=$lt_allow_undefined_flag_CXX | 
| Chris@4 | 18404 | 
| Chris@4 | 18405 # Flag that enforces no undefined symbols. | 
| Chris@4 | 18406 no_undefined_flag=$lt_no_undefined_flag_CXX | 
| Chris@4 | 18407 | 
| Chris@4 | 18408 # Flag to hardcode \$libdir into a binary during linking. | 
| Chris@4 | 18409 # This must work even if \$libdir does not exist | 
| Chris@4 | 18410 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX | 
| Chris@4 | 18411 | 
| Chris@4 | 18412 # If ld is used when linking, flag to hardcode \$libdir into a binary | 
| Chris@4 | 18413 # during linking.  This must work even if \$libdir does not exist. | 
| Chris@4 | 18414 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX | 
| Chris@4 | 18415 | 
| Chris@4 | 18416 # Whether we need a single "-rpath" flag with a separated argument. | 
| Chris@4 | 18417 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX | 
| Chris@4 | 18418 | 
| Chris@4 | 18419 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 
| Chris@4 | 18420 # DIR into the resulting binary. | 
| Chris@4 | 18421 hardcode_direct=$hardcode_direct_CXX | 
| Chris@4 | 18422 | 
| Chris@4 | 18423 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes | 
| Chris@4 | 18424 # DIR into the resulting binary and the resulting library dependency is | 
| Chris@4 | 18425 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the | 
| Chris@4 | 18426 # library is relocated. | 
| Chris@4 | 18427 hardcode_direct_absolute=$hardcode_direct_absolute_CXX | 
| Chris@4 | 18428 | 
| Chris@4 | 18429 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR | 
| Chris@4 | 18430 # into the resulting binary. | 
| Chris@4 | 18431 hardcode_minus_L=$hardcode_minus_L_CXX | 
| Chris@4 | 18432 | 
| Chris@4 | 18433 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR | 
| Chris@4 | 18434 # into the resulting binary. | 
| Chris@4 | 18435 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX | 
| Chris@4 | 18436 | 
| Chris@4 | 18437 # Set to "yes" if building a shared library automatically hardcodes DIR | 
| Chris@4 | 18438 # into the library and all subsequent libraries and executables linked | 
| Chris@4 | 18439 # against it. | 
| Chris@4 | 18440 hardcode_automatic=$hardcode_automatic_CXX | 
| Chris@4 | 18441 | 
| Chris@4 | 18442 # Set to yes if linker adds runtime paths of dependent libraries | 
| Chris@4 | 18443 # to runtime path list. | 
| Chris@4 | 18444 inherit_rpath=$inherit_rpath_CXX | 
| Chris@4 | 18445 | 
| Chris@4 | 18446 # Whether libtool must link a program against all its dependency libraries. | 
| Chris@4 | 18447 link_all_deplibs=$link_all_deplibs_CXX | 
| Chris@4 | 18448 | 
| Chris@4 | 18449 # Set to "yes" if exported symbols are required. | 
| Chris@4 | 18450 always_export_symbols=$always_export_symbols_CXX | 
| Chris@4 | 18451 | 
| Chris@4 | 18452 # The commands to list exported symbols. | 
| Chris@4 | 18453 export_symbols_cmds=$lt_export_symbols_cmds_CXX | 
| Chris@4 | 18454 | 
| Chris@4 | 18455 # Symbols that should not be listed in the preloaded symbols. | 
| Chris@4 | 18456 exclude_expsyms=$lt_exclude_expsyms_CXX | 
| Chris@4 | 18457 | 
| Chris@4 | 18458 # Symbols that must always be exported. | 
| Chris@4 | 18459 include_expsyms=$lt_include_expsyms_CXX | 
| Chris@4 | 18460 | 
| Chris@4 | 18461 # Commands necessary for linking programs (against libraries) with templates. | 
| Chris@4 | 18462 prelink_cmds=$lt_prelink_cmds_CXX | 
| Chris@4 | 18463 | 
| Chris@4 | 18464 # Commands necessary for finishing linking programs. | 
| Chris@4 | 18465 postlink_cmds=$lt_postlink_cmds_CXX | 
| Chris@4 | 18466 | 
| Chris@4 | 18467 # Specify filename containing input files. | 
| Chris@4 | 18468 file_list_spec=$lt_file_list_spec_CXX | 
| Chris@4 | 18469 | 
| Chris@4 | 18470 # How to hardcode a shared library path into an executable. | 
| Chris@4 | 18471 hardcode_action=$hardcode_action_CXX | 
| Chris@4 | 18472 | 
| Chris@4 | 18473 # The directories searched by this compiler when creating a shared library. | 
| Chris@4 | 18474 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX | 
| Chris@4 | 18475 | 
| Chris@4 | 18476 # Dependencies to place before and after the objects being linked to | 
| Chris@4 | 18477 # create a shared library. | 
| Chris@4 | 18478 predep_objects=$lt_predep_objects_CXX | 
| Chris@4 | 18479 postdep_objects=$lt_postdep_objects_CXX | 
| Chris@4 | 18480 predeps=$lt_predeps_CXX | 
| Chris@4 | 18481 postdeps=$lt_postdeps_CXX | 
| Chris@4 | 18482 | 
| Chris@4 | 18483 # The library search path used internally by the compiler when linking | 
| Chris@4 | 18484 # a shared library. | 
| Chris@4 | 18485 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX | 
| Chris@4 | 18486 | 
| Chris@4 | 18487 # ### END LIBTOOL TAG CONFIG: CXX | 
| Chris@4 | 18488 _LT_EOF | 
| Chris@4 | 18489 | 
| Chris@4 | 18490  ;; | 
| Chris@4 | 18491 | 
| Chris@4 | 18492   esac | 
| Chris@4 | 18493 done # for ac_tag | 
| Chris@4 | 18494 | 
| Chris@4 | 18495 | 
| Chris@4 | 18496 as_fn_exit 0 | 
| Chris@4 | 18497 _ACEOF | 
| Chris@4 | 18498 ac_clean_files=$ac_clean_files_save | 
| Chris@4 | 18499 | 
| Chris@4 | 18500 test $ac_write_fail = 0 || | 
| Chris@4 | 18501   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 | 
| Chris@4 | 18502 | 
| Chris@4 | 18503 | 
| Chris@4 | 18504 # configure is writing to config.log, and then calls config.status. | 
| Chris@4 | 18505 # config.status does its own redirection, appending to config.log. | 
| Chris@4 | 18506 # Unfortunately, on DOS this fails, as config.log is still kept open | 
| Chris@4 | 18507 # by configure, so config.status won't be able to write to it; its | 
| Chris@4 | 18508 # output is simply discarded.  So we exec the FD to /dev/null, | 
| Chris@4 | 18509 # effectively closing config.log, so it can be properly (re)opened and | 
| Chris@4 | 18510 # appended to by config.status.  When coming back to configure, we | 
| Chris@4 | 18511 # need to make the FD available again. | 
| Chris@4 | 18512 if test "$no_create" != yes; then | 
| Chris@4 | 18513   ac_cs_success=: | 
| Chris@4 | 18514   ac_config_status_args= | 
| Chris@4 | 18515   test "$silent" = yes && | 
| Chris@4 | 18516     ac_config_status_args="$ac_config_status_args --quiet" | 
| Chris@4 | 18517   exec 5>/dev/null | 
| Chris@4 | 18518   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false | 
| Chris@4 | 18519   exec 5>>config.log | 
| Chris@4 | 18520   # Use ||, not &&, to avoid exiting from the if with $? = 1, which | 
| Chris@4 | 18521   # would make configure fail if this is the last instruction. | 
| Chris@4 | 18522   $ac_cs_success || as_fn_exit 1 | 
| Chris@4 | 18523 fi | 
| Chris@4 | 18524 | 
| Chris@4 | 18525 # | 
| Chris@4 | 18526 # CONFIG_SUBDIRS section. | 
| Chris@4 | 18527 # | 
| Chris@4 | 18528 if test "$no_recursion" != yes; then | 
| Chris@4 | 18529 | 
| Chris@4 | 18530   # Remove --cache-file, --srcdir, and --disable-option-checking arguments | 
| Chris@4 | 18531   # so they do not pile up. | 
| Chris@4 | 18532   ac_sub_configure_args= | 
| Chris@4 | 18533   ac_prev= | 
| Chris@4 | 18534   eval "set x $ac_configure_args" | 
| Chris@4 | 18535   shift | 
| Chris@4 | 18536   for ac_arg | 
| Chris@4 | 18537   do | 
| Chris@4 | 18538     if test -n "$ac_prev"; then | 
| Chris@4 | 18539       ac_prev= | 
| Chris@4 | 18540       continue | 
| Chris@4 | 18541     fi | 
| Chris@4 | 18542     case $ac_arg in | 
| Chris@4 | 18543     -cache-file | --cache-file | --cache-fil | --cache-fi \ | 
| Chris@4 | 18544     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | 
| Chris@4 | 18545       ac_prev=cache_file ;; | 
| Chris@4 | 18546     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | 
| Chris@4 | 18547     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ | 
| Chris@4 | 18548     | --c=*) | 
| Chris@4 | 18549       ;; | 
| Chris@4 | 18550     --config-cache | -C) | 
| Chris@4 | 18551       ;; | 
| Chris@4 | 18552     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | 
| Chris@4 | 18553       ac_prev=srcdir ;; | 
| Chris@4 | 18554     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | 
| Chris@4 | 18555       ;; | 
| Chris@4 | 18556     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | 
| Chris@4 | 18557       ac_prev=prefix ;; | 
| Chris@4 | 18558     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | 
| Chris@4 | 18559       ;; | 
| Chris@4 | 18560     --disable-option-checking) | 
| Chris@4 | 18561       ;; | 
| Chris@4 | 18562     *) | 
| Chris@4 | 18563       case $ac_arg in | 
| Chris@4 | 18564       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
| Chris@4 | 18565       esac | 
| Chris@4 | 18566       as_fn_append ac_sub_configure_args " '$ac_arg'" ;; | 
| Chris@4 | 18567     esac | 
| Chris@4 | 18568   done | 
| Chris@4 | 18569 | 
| Chris@4 | 18570   # Always prepend --prefix to ensure using the same prefix | 
| Chris@4 | 18571   # in subdir configurations. | 
| Chris@4 | 18572   ac_arg="--prefix=$prefix" | 
| Chris@4 | 18573   case $ac_arg in | 
| Chris@4 | 18574   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; | 
| Chris@4 | 18575   esac | 
| Chris@4 | 18576   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args" | 
| Chris@4 | 18577 | 
| Chris@4 | 18578   # Pass --silent | 
| Chris@4 | 18579   if test "$silent" = yes; then | 
| Chris@4 | 18580     ac_sub_configure_args="--silent $ac_sub_configure_args" | 
| Chris@4 | 18581   fi | 
| Chris@4 | 18582 | 
| Chris@4 | 18583   # Always prepend --disable-option-checking to silence warnings, since | 
| Chris@4 | 18584   # different subdirs can have different --enable and --with options. | 
| Chris@4 | 18585   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args" | 
| Chris@4 | 18586 | 
| Chris@4 | 18587   ac_popdir=`pwd` | 
| Chris@4 | 18588   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue | 
| Chris@4 | 18589 | 
| Chris@4 | 18590     # Do not complain, so a configure script can configure whichever | 
| Chris@4 | 18591     # parts of a large source tree are present. | 
| Chris@4 | 18592     test -d "$srcdir/$ac_dir" || continue | 
| Chris@4 | 18593 | 
| Chris@4 | 18594     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)" | 
| Chris@4 | 18595     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5 | 
| Chris@4 | 18596     $as_echo "$ac_msg" >&6 | 
| Chris@4 | 18597     as_dir="$ac_dir"; as_fn_mkdir_p | 
| Chris@4 | 18598     ac_builddir=. | 
| Chris@4 | 18599 | 
| Chris@4 | 18600 case "$ac_dir" in | 
| Chris@4 | 18601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
| Chris@4 | 18602 *) | 
| Chris@4 | 18603   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` | 
| Chris@4 | 18604   # A ".." for each directory in $ac_dir_suffix. | 
| Chris@4 | 18605   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` | 
| Chris@4 | 18606   case $ac_top_builddir_sub in | 
| Chris@4 | 18607   "") ac_top_builddir_sub=. ac_top_build_prefix= ;; | 
| Chris@4 | 18608   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;; | 
| Chris@4 | 18609   esac ;; | 
| Chris@4 | 18610 esac | 
| Chris@4 | 18611 ac_abs_top_builddir=$ac_pwd | 
| Chris@4 | 18612 ac_abs_builddir=$ac_pwd$ac_dir_suffix | 
| Chris@4 | 18613 # for backward compatibility: | 
| Chris@4 | 18614 ac_top_builddir=$ac_top_build_prefix | 
| Chris@4 | 18615 | 
| Chris@4 | 18616 case $srcdir in | 
| Chris@4 | 18617   .)  # We are building in place. | 
| Chris@4 | 18618     ac_srcdir=. | 
| Chris@4 | 18619     ac_top_srcdir=$ac_top_builddir_sub | 
| Chris@4 | 18620     ac_abs_top_srcdir=$ac_pwd ;; | 
| Chris@4 | 18621   [\\/]* | ?:[\\/]* )  # Absolute name. | 
| Chris@4 | 18622     ac_srcdir=$srcdir$ac_dir_suffix; | 
| Chris@4 | 18623     ac_top_srcdir=$srcdir | 
| Chris@4 | 18624     ac_abs_top_srcdir=$srcdir ;; | 
| Chris@4 | 18625   *) # Relative name. | 
| Chris@4 | 18626     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix | 
| Chris@4 | 18627     ac_top_srcdir=$ac_top_build_prefix$srcdir | 
| Chris@4 | 18628     ac_abs_top_srcdir=$ac_pwd/$srcdir ;; | 
| Chris@4 | 18629 esac | 
| Chris@4 | 18630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix | 
| Chris@4 | 18631 | 
| Chris@4 | 18632 | 
| Chris@4 | 18633     cd "$ac_dir" | 
| Chris@4 | 18634 | 
| Chris@4 | 18635     # Check for guested configure; otherwise get Cygnus style configure. | 
| Chris@4 | 18636     if test -f "$ac_srcdir/configure.gnu"; then | 
| Chris@4 | 18637       ac_sub_configure=$ac_srcdir/configure.gnu | 
| Chris@4 | 18638     elif test -f "$ac_srcdir/configure"; then | 
| Chris@4 | 18639       ac_sub_configure=$ac_srcdir/configure | 
| Chris@4 | 18640     elif test -f "$ac_srcdir/configure.in"; then | 
| Chris@4 | 18641       # This should be Cygnus configure. | 
| Chris@4 | 18642       ac_sub_configure=$ac_aux_dir/configure | 
| Chris@4 | 18643     else | 
| Chris@4 | 18644       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5 | 
| Chris@4 | 18645 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} | 
| Chris@4 | 18646       ac_sub_configure= | 
| Chris@4 | 18647     fi | 
| Chris@4 | 18648 | 
| Chris@4 | 18649     # The recursion is here. | 
| Chris@4 | 18650     if test -n "$ac_sub_configure"; then | 
| Chris@4 | 18651       # Make the cache file name correct relative to the subdirectory. | 
| Chris@4 | 18652       case $cache_file in | 
| Chris@4 | 18653       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;; | 
| Chris@4 | 18654       *) # Relative name. | 
| Chris@4 | 18655 	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;; | 
| Chris@4 | 18656       esac | 
| Chris@4 | 18657 | 
| Chris@4 | 18658       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 | 
| Chris@4 | 18659 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} | 
| Chris@4 | 18660       # The eval makes quoting arguments work. | 
| Chris@4 | 18661       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \ | 
| Chris@4 | 18662 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" || | 
| Chris@4 | 18663 	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5 | 
| Chris@4 | 18664     fi | 
| Chris@4 | 18665 | 
| Chris@4 | 18666     cd "$ac_popdir" | 
| Chris@4 | 18667   done | 
| Chris@4 | 18668 fi | 
| Chris@4 | 18669 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then | 
| Chris@4 | 18670   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 | 
| Chris@4 | 18671 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} | 
| Chris@4 | 18672 fi | 
| Chris@4 | 18673 | 
| Chris@4 | 18674 | 
| Chris@4 | 18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: | 
| Chris@4 | 18676 Configuration summary: | 
| Chris@4 | 18677 | 
| Chris@4 | 18678   Target ...................... $target | 
| Chris@4 | 18679   C++ bindings ................ $enable_cxx | 
| Chris@4 | 18680   Debug output ................ $debug_output" >&5 | 
| Chris@4 | 18681 $as_echo " | 
| Chris@4 | 18682 Configuration summary: | 
| Chris@4 | 18683 | 
| Chris@4 | 18684   Target ...................... $target | 
| Chris@4 | 18685   C++ bindings ................ $enable_cxx | 
| Chris@4 | 18686   Debug output ................ $debug_output" >&6; } | 
| Chris@4 | 18687 | 
| Chris@4 | 18688 case "$target_os" in *linux*) | 
| Chris@4 | 18689     { $as_echo "$as_me:${as_lineno-$LINENO}: result: | 
| Chris@4 | 18690   ALSA ........................ $have_alsa | 
| Chris@4 | 18691   ASIHPI ...................... $have_asihpi" >&5 | 
| Chris@4 | 18692 $as_echo " | 
| Chris@4 | 18693   ALSA ........................ $have_alsa | 
| Chris@4 | 18694   ASIHPI ...................... $have_asihpi" >&6; } | 
| Chris@4 | 18695     ;; | 
| Chris@4 | 18696 esac | 
| Chris@4 | 18697 case "$target_os" in | 
| Chris@4 | 18698     *mingw* | *cygwin*) | 
| Chris@4 | 18699         test "x$with_directx" = "xyes" && with_directx="$with_directx (${with_dxdir})" | 
| Chris@4 | 18700         test "x$with_wdmks" = "xyes" && with_wdmks="$with_wdmks (${with_dxdir})" | 
| Chris@4 | 18701         test "x$with_asio" = "xyes" && with_asio="$with_asio (${with_asiodir})" | 
| Chris@4 | 18702         test "x$with_wasapi" = "xyes" | 
| Chris@4 | 18703         { $as_echo "$as_me:${as_lineno-$LINENO}: result: | 
| Chris@4 | 18704   WMME ........................ $with_wmme | 
| Chris@4 | 18705   DSound ...................... $with_directx | 
| Chris@4 | 18706   ASIO ........................ $with_asio | 
| Chris@4 | 18707   WASAPI ...................... $with_wasapi | 
| Chris@4 | 18708   WDMKS ....................... $with_wdmks | 
| Chris@4 | 18709 " >&5 | 
| Chris@4 | 18710 $as_echo " | 
| Chris@4 | 18711   WMME ........................ $with_wmme | 
| Chris@4 | 18712   DSound ...................... $with_directx | 
| Chris@4 | 18713   ASIO ........................ $with_asio | 
| Chris@4 | 18714   WASAPI ...................... $with_wasapi | 
| Chris@4 | 18715   WDMKS ....................... $with_wdmks | 
| Chris@4 | 18716 " >&6; } | 
| Chris@4 | 18717         ;; | 
| Chris@4 | 18718     *darwin*) | 
| Chris@4 | 18719         { $as_echo "$as_me:${as_lineno-$LINENO}: result: | 
| Chris@4 | 18720   Mac debug flags ............. $enable_mac_debug | 
| Chris@4 | 18721 " >&5 | 
| Chris@4 | 18722 $as_echo " | 
| Chris@4 | 18723   Mac debug flags ............. $enable_mac_debug | 
| Chris@4 | 18724 " >&6; } | 
| Chris@4 | 18725         ;; | 
| Chris@4 | 18726      *) | 
| Chris@4 | 18727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: | 
| Chris@4 | 18728   OSS ......................... $have_oss | 
| Chris@4 | 18729   JACK ........................ $have_jack | 
| Chris@4 | 18730 " >&5 | 
| Chris@4 | 18731 $as_echo " | 
| Chris@4 | 18732   OSS ......................... $have_oss | 
| Chris@4 | 18733   JACK ........................ $have_jack | 
| Chris@4 | 18734 " >&6; } | 
| Chris@4 | 18735         ;; | 
| Chris@4 | 18736 esac |