1 1.1 lukem #! /bin/sh 2 1.1.1.4 christos # From configure.ac Id: 16b135293616700c63077e9a1a601681d4442fdd . 3 1.1 lukem # Guess values for system-dependent variables and create Makefiles. 4 1.1.1.4 christos # Generated by GNU Autoconf 2.69. 5 1.1.1.3 tron # 6 1.1.1.3 tron # 7 1.1.1.4 christos # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 8 1.1.1.3 tron # 9 1.1 lukem # 10 1.1 lukem # This configure script is free software; the Free Software Foundation 11 1.1 lukem # gives unlimited permission to copy, distribute and modify it. 12 1.1.1.3 tron ## -------------------- ## 13 1.1.1.3 tron ## M4sh Initialization. ## 14 1.1.1.3 tron ## -------------------- ## 15 1.1.1.3 tron 16 1.1.1.3 tron # Be more Bourne compatible 17 1.1.1.3 tron DUALCASE=1; export DUALCASE # for MKS sh 18 1.1.1.3 tron if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 19 1.1.1.3 tron emulate sh 20 1.1.1.3 tron NULLCMD=: 21 1.1.1.3 tron # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 22 1.1.1.3 tron # is contrary to our usage. Disable this feature. 23 1.1.1.3 tron alias -g '${1+"$@"}'='"$@"' 24 1.1.1.3 tron setopt NO_GLOB_SUBST 25 1.1.1.3 tron else 26 1.1.1.3 tron case `(set -o) 2>/dev/null` in #( 27 1.1.1.3 tron *posix*) : 28 1.1.1.3 tron set -o posix ;; #( 29 1.1.1.3 tron *) : 30 1.1.1.3 tron ;; 31 1.1.1.3 tron esac 32 1.1.1.3 tron fi 33 1.1.1.3 tron 34 1.1.1.3 tron 35 1.1.1.3 tron as_nl=' 36 1.1.1.3 tron ' 37 1.1.1.3 tron export as_nl 38 1.1.1.3 tron # Printing a long string crashes Solaris 7 /usr/bin/printf. 39 1.1.1.3 tron as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 40 1.1.1.3 tron as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 41 1.1.1.3 tron as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 42 1.1.1.3 tron # Prefer a ksh shell builtin over an external printf program on Solaris, 43 1.1.1.3 tron # but without wasting forks for bash or zsh. 44 1.1.1.3 tron if test -z "$BASH_VERSION$ZSH_VERSION" \ 45 1.1.1.3 tron && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 46 1.1.1.3 tron as_echo='print -r --' 47 1.1.1.3 tron as_echo_n='print -rn --' 48 1.1.1.3 tron elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 49 1.1.1.3 tron as_echo='printf %s\n' 50 1.1.1.3 tron as_echo_n='printf %s' 51 1.1.1.3 tron else 52 1.1.1.3 tron if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 53 1.1.1.3 tron as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 54 1.1.1.3 tron as_echo_n='/usr/ucb/echo -n' 55 1.1.1.3 tron else 56 1.1.1.3 tron as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 57 1.1.1.3 tron as_echo_n_body='eval 58 1.1.1.3 tron arg=$1; 59 1.1.1.3 tron case $arg in #( 60 1.1.1.3 tron *"$as_nl"*) 61 1.1.1.3 tron expr "X$arg" : "X\\(.*\\)$as_nl"; 62 1.1.1.3 tron arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 63 1.1.1.3 tron esac; 64 1.1.1.3 tron expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 65 1.1.1.3 tron ' 66 1.1.1.3 tron export as_echo_n_body 67 1.1.1.3 tron as_echo_n='sh -c $as_echo_n_body as_echo' 68 1.1.1.3 tron fi 69 1.1.1.3 tron export as_echo_body 70 1.1.1.3 tron as_echo='sh -c $as_echo_body as_echo' 71 1.1.1.3 tron fi 72 1.1.1.3 tron 73 1.1.1.3 tron # The user is always right. 74 1.1.1.3 tron if test "${PATH_SEPARATOR+set}" != set; then 75 1.1.1.3 tron PATH_SEPARATOR=: 76 1.1.1.3 tron (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 77 1.1.1.3 tron (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 78 1.1.1.3 tron PATH_SEPARATOR=';' 79 1.1.1.3 tron } 80 1.1.1.3 tron fi 81 1.1.1.3 tron 82 1.1.1.3 tron 83 1.1.1.3 tron # IFS 84 1.1.1.3 tron # We need space, tab and new line, in precisely that order. Quoting is 85 1.1.1.3 tron # there to prevent editors from complaining about space-tab. 86 1.1.1.3 tron # (If _AS_PATH_WALK were called with IFS unset, it would disable word 87 1.1.1.3 tron # splitting by setting IFS to empty value.) 88 1.1.1.3 tron IFS=" "" $as_nl" 89 1.1.1.3 tron 90 1.1.1.3 tron # Find who we are. Look in the path if we contain no directory separator. 91 1.1.1.4 christos as_myself= 92 1.1.1.3 tron case $0 in #(( 93 1.1.1.3 tron *[\\/]* ) as_myself=$0 ;; 94 1.1.1.3 tron *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 95 1.1.1.3 tron for as_dir in $PATH 96 1.1.1.3 tron do 97 1.1.1.3 tron IFS=$as_save_IFS 98 1.1.1.3 tron test -z "$as_dir" && as_dir=. 99 1.1.1.3 tron test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 100 1.1.1.3 tron done 101 1.1.1.3 tron IFS=$as_save_IFS 102 1.1.1.3 tron 103 1.1.1.3 tron ;; 104 1.1.1.3 tron esac 105 1.1.1.3 tron # We did not find ourselves, most probably we were run as `sh COMMAND' 106 1.1.1.3 tron # in which case we are not to be found in the path. 107 1.1.1.3 tron if test "x$as_myself" = x; then 108 1.1.1.3 tron as_myself=$0 109 1.1.1.3 tron fi 110 1.1.1.3 tron if test ! -f "$as_myself"; then 111 1.1.1.3 tron $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 112 1.1.1.3 tron exit 1 113 1.1.1.3 tron fi 114 1.1.1.3 tron 115 1.1.1.3 tron # Unset variables that we do not need and which cause bugs (e.g. in 116 1.1.1.3 tron # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 117 1.1.1.3 tron # suppresses any "Segmentation fault" message there. '((' could 118 1.1.1.3 tron # trigger a bug in pdksh 5.2.14. 119 1.1.1.3 tron for as_var in BASH_ENV ENV MAIL MAILPATH 120 1.1.1.3 tron do eval test x\${$as_var+set} = xset \ 121 1.1.1.3 tron && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 122 1.1.1.3 tron done 123 1.1.1.3 tron PS1='$ ' 124 1.1.1.3 tron PS2='> ' 125 1.1.1.3 tron PS4='+ ' 126 1.1 lukem 127 1.1.1.3 tron # NLS nuisances. 128 1.1.1.3 tron LC_ALL=C 129 1.1.1.3 tron export LC_ALL 130 1.1.1.3 tron LANGUAGE=C 131 1.1.1.3 tron export LANGUAGE 132 1.1.1.3 tron 133 1.1.1.3 tron # CDPATH. 134 1.1.1.3 tron (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 135 1.1.1.3 tron 136 1.1.1.4 christos # Use a proper internal environment variable to ensure we don't fall 137 1.1.1.4 christos # into an infinite loop, continuously re-executing ourselves. 138 1.1.1.4 christos if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 139 1.1.1.4 christos _as_can_reexec=no; export _as_can_reexec; 140 1.1.1.4 christos # We cannot yet assume a decent shell, so we have to provide a 141 1.1.1.4 christos # neutralization value for shells without unset; and this also 142 1.1.1.4 christos # works around shells that cannot unset nonexistent variables. 143 1.1.1.4 christos # Preserve -v and -x to the replacement shell. 144 1.1.1.4 christos BASH_ENV=/dev/null 145 1.1.1.4 christos ENV=/dev/null 146 1.1.1.4 christos (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 147 1.1.1.4 christos case $- in # (((( 148 1.1.1.4 christos *v*x* | *x*v* ) as_opts=-vx ;; 149 1.1.1.4 christos *v* ) as_opts=-v ;; 150 1.1.1.4 christos *x* ) as_opts=-x ;; 151 1.1.1.4 christos * ) as_opts= ;; 152 1.1.1.4 christos esac 153 1.1.1.4 christos exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 154 1.1.1.4 christos # Admittedly, this is quite paranoid, since all the known shells bail 155 1.1.1.4 christos # out after a failed `exec'. 156 1.1.1.4 christos $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 157 1.1.1.4 christos as_fn_exit 255 158 1.1.1.4 christos fi 159 1.1.1.4 christos # We don't want this to propagate to other subprocesses. 160 1.1.1.4 christos { _as_can_reexec=; unset _as_can_reexec;} 161 1.1.1.3 tron if test "x$CONFIG_SHELL" = x; then 162 1.1.1.3 tron as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 163 1.1.1.3 tron emulate sh 164 1.1.1.3 tron NULLCMD=: 165 1.1.1.3 tron # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 166 1.1.1.3 tron # is contrary to our usage. Disable this feature. 167 1.1.1.3 tron alias -g '\${1+\"\$@\"}'='\"\$@\"' 168 1.1.1.3 tron setopt NO_GLOB_SUBST 169 1.1.1.3 tron else 170 1.1.1.3 tron case \`(set -o) 2>/dev/null\` in #( 171 1.1.1.3 tron *posix*) : 172 1.1.1.3 tron set -o posix ;; #( 173 1.1.1.3 tron *) : 174 1.1.1.3 tron ;; 175 1.1.1.3 tron esac 176 1.1.1.3 tron fi 177 1.1.1.3 tron " 178 1.1.1.3 tron as_required="as_fn_return () { (exit \$1); } 179 1.1.1.3 tron as_fn_success () { as_fn_return 0; } 180 1.1.1.3 tron as_fn_failure () { as_fn_return 1; } 181 1.1.1.3 tron as_fn_ret_success () { return 0; } 182 1.1.1.3 tron as_fn_ret_failure () { return 1; } 183 1.1.1.3 tron 184 1.1.1.3 tron exitcode=0 185 1.1.1.3 tron as_fn_success || { exitcode=1; echo as_fn_success failed.; } 186 1.1.1.3 tron as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 187 1.1.1.3 tron as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 188 1.1.1.3 tron as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 189 1.1.1.3 tron if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 190 1.1.1.3 tron 191 1.1.1.3 tron else 192 1.1.1.3 tron exitcode=1; echo positional parameters were not saved. 193 1.1.1.3 tron fi 194 1.1.1.4 christos test x\$exitcode = x0 || exit 1 195 1.1.1.4 christos test -x / || exit 1" 196 1.1.1.3 tron as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 197 1.1.1.3 tron as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 198 1.1.1.3 tron eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 199 1.1.1.3 tron test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 200 1.1.1.3 tron if (eval "$as_required") 2>/dev/null; then : 201 1.1.1.3 tron as_have_required=yes 202 1.1.1.3 tron else 203 1.1.1.3 tron as_have_required=no 204 1.1.1.3 tron fi 205 1.1.1.3 tron if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 206 1.1.1.3 tron 207 1.1.1.3 tron else 208 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 209 1.1.1.3 tron as_found=false 210 1.1.1.3 tron for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 211 1.1.1.3 tron do 212 1.1.1.3 tron IFS=$as_save_IFS 213 1.1.1.3 tron test -z "$as_dir" && as_dir=. 214 1.1.1.3 tron as_found=: 215 1.1.1.3 tron case $as_dir in #( 216 1.1.1.3 tron /*) 217 1.1.1.3 tron for as_base in sh bash ksh sh5; do 218 1.1.1.3 tron # Try only shells that exist, to save several forks. 219 1.1.1.3 tron as_shell=$as_dir/$as_base 220 1.1.1.3 tron if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 221 1.1.1.3 tron { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 222 1.1.1.3 tron CONFIG_SHELL=$as_shell as_have_required=yes 223 1.1.1.3 tron if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 224 1.1.1.3 tron break 2 225 1.1.1.3 tron fi 226 1.1.1.3 tron fi 227 1.1.1.3 tron done;; 228 1.1.1.3 tron esac 229 1.1.1.3 tron as_found=false 230 1.1.1.3 tron done 231 1.1.1.3 tron $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 232 1.1.1.3 tron { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 233 1.1.1.3 tron CONFIG_SHELL=$SHELL as_have_required=yes 234 1.1.1.3 tron fi; } 235 1.1.1.3 tron IFS=$as_save_IFS 236 1.1.1.3 tron 237 1.1.1.3 tron 238 1.1.1.3 tron if test "x$CONFIG_SHELL" != x; then : 239 1.1.1.4 christos export CONFIG_SHELL 240 1.1.1.4 christos # We cannot yet assume a decent shell, so we have to provide a 241 1.1.1.4 christos # neutralization value for shells without unset; and this also 242 1.1.1.4 christos # works around shells that cannot unset nonexistent variables. 243 1.1.1.4 christos # Preserve -v and -x to the replacement shell. 244 1.1.1.4 christos BASH_ENV=/dev/null 245 1.1.1.4 christos ENV=/dev/null 246 1.1.1.4 christos (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 247 1.1.1.4 christos case $- in # (((( 248 1.1.1.4 christos *v*x* | *x*v* ) as_opts=-vx ;; 249 1.1.1.4 christos *v* ) as_opts=-v ;; 250 1.1.1.4 christos *x* ) as_opts=-x ;; 251 1.1.1.4 christos * ) as_opts= ;; 252 1.1.1.4 christos esac 253 1.1.1.4 christos exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 254 1.1.1.4 christos # Admittedly, this is quite paranoid, since all the known shells bail 255 1.1.1.4 christos # out after a failed `exec'. 256 1.1.1.4 christos $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 257 1.1.1.4 christos exit 255 258 1.1.1.3 tron fi 259 1.1.1.3 tron 260 1.1.1.3 tron if test x$as_have_required = xno; then : 261 1.1.1.3 tron $as_echo "$0: This script requires a shell more modern than all" 262 1.1.1.3 tron $as_echo "$0: the shells that I found on your system." 263 1.1.1.3 tron if test x${ZSH_VERSION+set} = xset ; then 264 1.1.1.3 tron $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 265 1.1.1.3 tron $as_echo "$0: be upgraded to zsh 4.3.4 or later." 266 1.1.1.3 tron else 267 1.1.1.3 tron $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system, 268 1.1.1.3 tron $0: including any error possibly output before this 269 1.1.1.3 tron $0: message. Then install a modern shell, or manually run 270 1.1.1.3 tron $0: the script under such a shell if you do have one." 271 1.1.1.3 tron fi 272 1.1.1.3 tron exit 1 273 1.1.1.3 tron fi 274 1.1.1.3 tron fi 275 1.1.1.3 tron fi 276 1.1.1.3 tron SHELL=${CONFIG_SHELL-/bin/sh} 277 1.1.1.3 tron export SHELL 278 1.1.1.3 tron # Unset more variables known to interfere with behavior of common tools. 279 1.1.1.3 tron CLICOLOR_FORCE= GREP_OPTIONS= 280 1.1.1.3 tron unset CLICOLOR_FORCE GREP_OPTIONS 281 1.1.1.3 tron 282 1.1.1.3 tron ## --------------------- ## 283 1.1.1.3 tron ## M4sh Shell Functions. ## 284 1.1.1.3 tron ## --------------------- ## 285 1.1.1.3 tron # as_fn_unset VAR 286 1.1.1.3 tron # --------------- 287 1.1.1.3 tron # Portably unset VAR. 288 1.1.1.3 tron as_fn_unset () 289 1.1.1.3 tron { 290 1.1.1.3 tron { eval $1=; unset $1;} 291 1.1.1.3 tron } 292 1.1.1.3 tron as_unset=as_fn_unset 293 1.1.1.3 tron 294 1.1.1.3 tron # as_fn_set_status STATUS 295 1.1.1.3 tron # ----------------------- 296 1.1.1.3 tron # Set $? to STATUS, without forking. 297 1.1.1.3 tron as_fn_set_status () 298 1.1.1.3 tron { 299 1.1.1.3 tron return $1 300 1.1.1.3 tron } # as_fn_set_status 301 1.1.1.3 tron 302 1.1.1.3 tron # as_fn_exit STATUS 303 1.1.1.3 tron # ----------------- 304 1.1.1.3 tron # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 305 1.1.1.3 tron as_fn_exit () 306 1.1.1.3 tron { 307 1.1.1.3 tron set +e 308 1.1.1.3 tron as_fn_set_status $1 309 1.1.1.3 tron exit $1 310 1.1.1.3 tron } # as_fn_exit 311 1.1.1.3 tron 312 1.1.1.3 tron # as_fn_mkdir_p 313 1.1.1.3 tron # ------------- 314 1.1.1.3 tron # Create "$as_dir" as a directory, including parents if necessary. 315 1.1.1.3 tron as_fn_mkdir_p () 316 1.1.1.3 tron { 317 1.1.1.3 tron 318 1.1.1.3 tron case $as_dir in #( 319 1.1.1.3 tron -*) as_dir=./$as_dir;; 320 1.1.1.3 tron esac 321 1.1.1.3 tron test -d "$as_dir" || eval $as_mkdir_p || { 322 1.1.1.3 tron as_dirs= 323 1.1.1.3 tron while :; do 324 1.1.1.3 tron case $as_dir in #( 325 1.1.1.3 tron *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 326 1.1.1.3 tron *) as_qdir=$as_dir;; 327 1.1.1.3 tron esac 328 1.1.1.3 tron as_dirs="'$as_qdir' $as_dirs" 329 1.1.1.3 tron as_dir=`$as_dirname -- "$as_dir" || 330 1.1.1.3 tron $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 331 1.1.1.3 tron X"$as_dir" : 'X\(//\)[^/]' \| \ 332 1.1.1.3 tron X"$as_dir" : 'X\(//\)$' \| \ 333 1.1.1.3 tron X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 334 1.1.1.3 tron $as_echo X"$as_dir" | 335 1.1.1.3 tron sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 336 1.1.1.3 tron s//\1/ 337 1.1.1.3 tron q 338 1.1.1.3 tron } 339 1.1.1.3 tron /^X\(\/\/\)[^/].*/{ 340 1.1.1.3 tron s//\1/ 341 1.1.1.3 tron q 342 1.1.1.3 tron } 343 1.1.1.3 tron /^X\(\/\/\)$/{ 344 1.1.1.3 tron s//\1/ 345 1.1.1.3 tron q 346 1.1.1.3 tron } 347 1.1.1.3 tron /^X\(\/\).*/{ 348 1.1.1.3 tron s//\1/ 349 1.1.1.3 tron q 350 1.1.1.3 tron } 351 1.1.1.3 tron s/.*/./; q'` 352 1.1.1.3 tron test -d "$as_dir" && break 353 1.1.1.3 tron done 354 1.1.1.3 tron test -z "$as_dirs" || eval "mkdir $as_dirs" 355 1.1.1.4 christos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 356 1.1.1.3 tron 357 1.1.1.3 tron 358 1.1.1.3 tron } # as_fn_mkdir_p 359 1.1.1.4 christos 360 1.1.1.4 christos # as_fn_executable_p FILE 361 1.1.1.4 christos # ----------------------- 362 1.1.1.4 christos # Test if FILE is an executable regular file. 363 1.1.1.4 christos as_fn_executable_p () 364 1.1.1.4 christos { 365 1.1.1.4 christos test -f "$1" && test -x "$1" 366 1.1.1.4 christos } # as_fn_executable_p 367 1.1.1.3 tron # as_fn_append VAR VALUE 368 1.1.1.3 tron # ---------------------- 369 1.1.1.3 tron # Append the text in VALUE to the end of the definition contained in VAR. Take 370 1.1.1.3 tron # advantage of any shell optimizations that allow amortized linear growth over 371 1.1.1.3 tron # repeated appends, instead of the typical quadratic growth present in naive 372 1.1.1.3 tron # implementations. 373 1.1.1.3 tron if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 374 1.1.1.3 tron eval 'as_fn_append () 375 1.1.1.3 tron { 376 1.1.1.3 tron eval $1+=\$2 377 1.1.1.3 tron }' 378 1.1.1.3 tron else 379 1.1.1.3 tron as_fn_append () 380 1.1.1.3 tron { 381 1.1.1.3 tron eval $1=\$$1\$2 382 1.1.1.3 tron } 383 1.1.1.3 tron fi # as_fn_append 384 1.1.1.3 tron 385 1.1.1.3 tron # as_fn_arith ARG... 386 1.1.1.3 tron # ------------------ 387 1.1.1.3 tron # Perform arithmetic evaluation on the ARGs, and store the result in the 388 1.1.1.3 tron # global $as_val. Take advantage of shells that can avoid forks. The arguments 389 1.1.1.3 tron # must be portable across $(()) and expr. 390 1.1.1.3 tron if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 391 1.1.1.3 tron eval 'as_fn_arith () 392 1.1.1.3 tron { 393 1.1.1.3 tron as_val=$(( $* )) 394 1.1.1.3 tron }' 395 1.1.1.3 tron else 396 1.1.1.3 tron as_fn_arith () 397 1.1.1.3 tron { 398 1.1.1.3 tron as_val=`expr "$@" || test $? -eq 1` 399 1.1.1.3 tron } 400 1.1.1.3 tron fi # as_fn_arith 401 1.1.1.3 tron 402 1.1.1.3 tron 403 1.1.1.4 christos # as_fn_error STATUS ERROR [LINENO LOG_FD] 404 1.1.1.4 christos # ---------------------------------------- 405 1.1.1.3 tron # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 406 1.1.1.3 tron # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 407 1.1.1.4 christos # script with STATUS, using 1 if that was 0. 408 1.1.1.3 tron as_fn_error () 409 1.1.1.3 tron { 410 1.1.1.4 christos as_status=$1; test $as_status -eq 0 && as_status=1 411 1.1.1.4 christos if test "$4"; then 412 1.1.1.4 christos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 413 1.1.1.4 christos $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 414 1.1.1.3 tron fi 415 1.1.1.4 christos $as_echo "$as_me: error: $2" >&2 416 1.1.1.3 tron as_fn_exit $as_status 417 1.1.1.3 tron } # as_fn_error 418 1.1.1.3 tron 419 1.1.1.3 tron if expr a : '\(a\)' >/dev/null 2>&1 && 420 1.1.1.3 tron test "X`expr 00001 : '.*\(...\)'`" = X001; then 421 1.1.1.3 tron as_expr=expr 422 1.1.1.3 tron else 423 1.1.1.3 tron as_expr=false 424 1.1.1.3 tron fi 425 1.1.1.3 tron 426 1.1.1.3 tron if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 427 1.1.1.3 tron as_basename=basename 428 1.1.1.3 tron else 429 1.1.1.3 tron as_basename=false 430 1.1.1.3 tron fi 431 1.1.1.3 tron 432 1.1.1.3 tron if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 433 1.1.1.3 tron as_dirname=dirname 434 1.1.1.3 tron else 435 1.1.1.3 tron as_dirname=false 436 1.1.1.3 tron fi 437 1.1.1.3 tron 438 1.1.1.3 tron as_me=`$as_basename -- "$0" || 439 1.1.1.3 tron $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 440 1.1.1.3 tron X"$0" : 'X\(//\)$' \| \ 441 1.1.1.3 tron X"$0" : 'X\(/\)' \| . 2>/dev/null || 442 1.1.1.3 tron $as_echo X/"$0" | 443 1.1.1.3 tron sed '/^.*\/\([^/][^/]*\)\/*$/{ 444 1.1.1.3 tron s//\1/ 445 1.1.1.3 tron q 446 1.1.1.3 tron } 447 1.1.1.3 tron /^X\/\(\/\/\)$/{ 448 1.1.1.3 tron s//\1/ 449 1.1.1.3 tron q 450 1.1.1.3 tron } 451 1.1.1.3 tron /^X\/\(\/\).*/{ 452 1.1.1.3 tron s//\1/ 453 1.1.1.3 tron q 454 1.1.1.3 tron } 455 1.1.1.3 tron s/.*/./; q'` 456 1.1.1.3 tron 457 1.1.1.3 tron # Avoid depending upon Character Ranges. 458 1.1.1.3 tron as_cr_letters='abcdefghijklmnopqrstuvwxyz' 459 1.1.1.3 tron as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 460 1.1.1.3 tron as_cr_Letters=$as_cr_letters$as_cr_LETTERS 461 1.1.1.3 tron as_cr_digits='0123456789' 462 1.1.1.3 tron as_cr_alnum=$as_cr_Letters$as_cr_digits 463 1.1.1.3 tron 464 1.1.1.3 tron 465 1.1.1.3 tron as_lineno_1=$LINENO as_lineno_1a=$LINENO 466 1.1.1.3 tron as_lineno_2=$LINENO as_lineno_2a=$LINENO 467 1.1.1.3 tron eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 468 1.1.1.3 tron test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 469 1.1.1.3 tron # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 470 1.1.1.3 tron sed -n ' 471 1.1.1.3 tron p 472 1.1.1.3 tron /[$]LINENO/= 473 1.1.1.3 tron ' <$as_myself | 474 1.1.1.3 tron sed ' 475 1.1.1.3 tron s/[$]LINENO.*/&-/ 476 1.1.1.3 tron t lineno 477 1.1.1.3 tron b 478 1.1.1.3 tron :lineno 479 1.1.1.3 tron N 480 1.1.1.3 tron :loop 481 1.1.1.3 tron s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 482 1.1.1.3 tron t loop 483 1.1.1.3 tron s/-\n.*// 484 1.1.1.3 tron ' >$as_me.lineno && 485 1.1.1.3 tron chmod +x "$as_me.lineno" || 486 1.1.1.3 tron { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 487 1.1.1.3 tron 488 1.1.1.4 christos # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 489 1.1.1.4 christos # already done that, so ensure we don't try to do so again and fall 490 1.1.1.4 christos # in an infinite loop. This has already happened in practice. 491 1.1.1.4 christos _as_can_reexec=no; export _as_can_reexec 492 1.1.1.3 tron # Don't try to exec as it changes $[0], causing all sort of problems 493 1.1.1.3 tron # (the dirname of $[0] is not the place where we might find the 494 1.1.1.3 tron # original and so on. Autoconf is especially sensitive to this). 495 1.1.1.3 tron . "./$as_me.lineno" 496 1.1.1.3 tron # Exit status is that of the last command. 497 1.1.1.3 tron exit 498 1.1.1.3 tron } 499 1.1.1.3 tron 500 1.1.1.3 tron ECHO_C= ECHO_N= ECHO_T= 501 1.1.1.3 tron case `echo -n x` in #((((( 502 1.1.1.3 tron -n*) 503 1.1.1.3 tron case `echo 'xy\c'` in 504 1.1.1.3 tron *c*) ECHO_T=' ';; # ECHO_T is single tab character. 505 1.1.1.3 tron xy) ECHO_C='\c';; 506 1.1.1.3 tron *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 507 1.1.1.3 tron ECHO_T=' ';; 508 1.1.1.3 tron esac;; 509 1.1.1.3 tron *) 510 1.1.1.3 tron ECHO_N='-n';; 511 1.1.1.3 tron esac 512 1.1.1.3 tron 513 1.1.1.3 tron rm -f conf$$ conf$$.exe conf$$.file 514 1.1.1.3 tron if test -d conf$$.dir; then 515 1.1.1.3 tron rm -f conf$$.dir/conf$$.file 516 1.1.1.3 tron else 517 1.1.1.3 tron rm -f conf$$.dir 518 1.1.1.3 tron mkdir conf$$.dir 2>/dev/null 519 1.1.1.3 tron fi 520 1.1.1.3 tron if (echo >conf$$.file) 2>/dev/null; then 521 1.1.1.3 tron if ln -s conf$$.file conf$$ 2>/dev/null; then 522 1.1.1.3 tron as_ln_s='ln -s' 523 1.1.1.3 tron # ... but there are two gotchas: 524 1.1.1.3 tron # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 525 1.1.1.3 tron # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 526 1.1.1.4 christos # In both cases, we have to default to `cp -pR'. 527 1.1.1.3 tron ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 528 1.1.1.4 christos as_ln_s='cp -pR' 529 1.1.1.3 tron elif ln conf$$.file conf$$ 2>/dev/null; then 530 1.1.1.3 tron as_ln_s=ln 531 1.1.1.3 tron else 532 1.1.1.4 christos as_ln_s='cp -pR' 533 1.1.1.3 tron fi 534 1.1.1.3 tron else 535 1.1.1.4 christos as_ln_s='cp -pR' 536 1.1.1.3 tron fi 537 1.1.1.3 tron rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 538 1.1.1.3 tron rmdir conf$$.dir 2>/dev/null 539 1.1.1.3 tron 540 1.1.1.3 tron if mkdir -p . 2>/dev/null; then 541 1.1.1.3 tron as_mkdir_p='mkdir -p "$as_dir"' 542 1.1.1.3 tron else 543 1.1.1.3 tron test -d ./-p && rmdir ./-p 544 1.1.1.3 tron as_mkdir_p=false 545 1.1.1.3 tron fi 546 1.1.1.3 tron 547 1.1.1.4 christos as_test_x='test -x' 548 1.1.1.4 christos as_executable_p=as_fn_executable_p 549 1.1.1.3 tron 550 1.1.1.3 tron # Sed expression to map a string onto a valid CPP name. 551 1.1.1.3 tron as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 552 1.1.1.3 tron 553 1.1.1.3 tron # Sed expression to map a string onto a valid variable name. 554 1.1.1.3 tron as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 555 1.1.1.3 tron 556 1.1.1.3 tron 557 1.1.1.3 tron test -n "$DJDIR" || exec 7<&0 </dev/null 558 1.1.1.3 tron exec 6>&1 559 1.1.1.3 tron 560 1.1.1.3 tron # Name of the host. 561 1.1.1.4 christos # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 562 1.1.1.3 tron # so uname gets run too. 563 1.1.1.3 tron ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 564 1.1.1.3 tron 565 1.1.1.3 tron # 566 1.1.1.3 tron # Initializations. 567 1.1.1.3 tron # 568 1.1 lukem ac_default_prefix=/usr/local 569 1.1.1.3 tron ac_clean_files= 570 1.1.1.3 tron ac_config_libobj_dir=. 571 1.1.1.3 tron LIBOBJS= 572 1.1.1.3 tron cross_compiling=no 573 1.1.1.3 tron subdirs= 574 1.1.1.3 tron MFLAGS= 575 1.1.1.3 tron MAKEFLAGS= 576 1.1.1.3 tron 577 1.1.1.3 tron # Identity of this package. 578 1.1.1.3 tron PACKAGE_NAME= 579 1.1.1.3 tron PACKAGE_TARNAME= 580 1.1.1.3 tron PACKAGE_VERSION= 581 1.1.1.3 tron PACKAGE_STRING= 582 1.1.1.3 tron PACKAGE_BUGREPORT= 583 1.1.1.3 tron PACKAGE_URL= 584 1.1.1.3 tron 585 1.1.1.3 tron ac_unique_file="neoXldap.c" 586 1.1.1.3 tron ac_subst_vars='LTLIBOBJS 587 1.1.1.3 tron LIBOBJS 588 1.1.1.3 tron NEO_VERSION 589 1.1.1.3 tron NEO_SHLIB_CFLAGS 590 1.1.1.3 tron NEO_MINOR_VERSION 591 1.1.1.3 tron NEO_MAJOR_VERSION 592 1.1.1.3 tron NEO_LIB_SPEC 593 1.1.1.3 tron NEO_LIB_FILE 594 1.1.1.3 tron NEO_UNSHARED_LIB_FILE 595 1.1.1.3 tron NEO_SHARED_LIB_FILE 596 1.1.1.3 tron NEO_LD_SEARCH_FLAGS 597 1.1.1.3 tron NEO_BUILD_LIB_SPEC 598 1.1.1.3 tron TCL_VERSION 599 1.1.1.3 tron TCL_LIB_HNAME 600 1.1.1.3 tron TCL_LD_SEARCH_FLAGS 601 1.1.1.3 tron TCL_LIB_SPEC 602 1.1.1.3 tron TCL_BIN_DIR 603 1.1.1.3 tron TCL_SRC_DIR 604 1.1.1.3 tron TCL_LIBS 605 1.1.1.3 tron ITCL_LIB_SPEC 606 1.1.1.3 tron TCLX_LIB_SPEC 607 1.1.1.3 tron TCLX_TCL_DIR 608 1.1.1.3 tron TCLX_TOP_DIR 609 1.1.1.3 tron SHLIB_VERSION 610 1.1.1.3 tron SHLIB_SUFFIX 611 1.1.1.3 tron SHLIB_LD_LIBS 612 1.1.1.3 tron SHLIB_LD 613 1.1.1.3 tron SHLIB_CFLAGS 614 1.1.1.3 tron MAKE_LIB 615 1.1.1.3 tron MATH_LIBS 616 1.1.1.3 tron LD_FLAGS 617 1.1.1.3 tron DL_LIBS 618 1.1.1.3 tron ldapincdir 619 1.1.1.3 tron ldapdir 620 1.1.1.3 tron ldapbuild 621 1.1.1.3 tron ldapinclude 622 1.1.1.3 tron ldaplibflags 623 1.1.1.3 tron LDAPWISH 624 1.1.1.3 tron TKX_LIB_SPEC 625 1.1.1.3 tron TK_VERSION 626 1.1.1.3 tron TK_XINCLUDES 627 1.1.1.3 tron TK_LIB_SPEC 628 1.1.1.3 tron TK_LIBS 629 1.1.1.3 tron RANLIB 630 1.1.1.3 tron INSTALL_DATA 631 1.1.1.3 tron INSTALL_SCRIPT 632 1.1.1.3 tron INSTALL_PROGRAM 633 1.1.1.3 tron OBJEXT 634 1.1.1.3 tron EXEEXT 635 1.1.1.3 tron ac_ct_CC 636 1.1.1.3 tron CPPFLAGS 637 1.1.1.3 tron LDFLAGS 638 1.1.1.3 tron CFLAGS 639 1.1.1.3 tron CC 640 1.1.1.3 tron target_alias 641 1.1.1.3 tron host_alias 642 1.1.1.3 tron build_alias 643 1.1.1.3 tron LIBS 644 1.1.1.3 tron ECHO_T 645 1.1.1.3 tron ECHO_N 646 1.1.1.3 tron ECHO_C 647 1.1.1.3 tron DEFS 648 1.1.1.3 tron mandir 649 1.1.1.3 tron localedir 650 1.1.1.3 tron libdir 651 1.1.1.3 tron psdir 652 1.1.1.3 tron pdfdir 653 1.1.1.3 tron dvidir 654 1.1.1.3 tron htmldir 655 1.1.1.3 tron infodir 656 1.1.1.3 tron docdir 657 1.1.1.3 tron oldincludedir 658 1.1.1.3 tron includedir 659 1.1.1.4 christos runstatedir 660 1.1.1.3 tron localstatedir 661 1.1.1.3 tron sharedstatedir 662 1.1.1.3 tron sysconfdir 663 1.1.1.3 tron datadir 664 1.1.1.3 tron datarootdir 665 1.1.1.3 tron libexecdir 666 1.1.1.3 tron sbindir 667 1.1.1.3 tron bindir 668 1.1.1.3 tron program_transform_name 669 1.1.1.3 tron prefix 670 1.1.1.3 tron exec_prefix 671 1.1.1.3 tron PACKAGE_URL 672 1.1.1.3 tron PACKAGE_BUGREPORT 673 1.1.1.3 tron PACKAGE_STRING 674 1.1.1.3 tron PACKAGE_VERSION 675 1.1.1.3 tron PACKAGE_TARNAME 676 1.1.1.3 tron PACKAGE_NAME 677 1.1.1.3 tron PATH_SEPARATOR 678 1.1.1.3 tron SHELL' 679 1.1.1.3 tron ac_subst_files='' 680 1.1.1.3 tron ac_user_opts=' 681 1.1.1.3 tron enable_option_checking 682 1.1.1.3 tron enable_gcc 683 1.1.1.3 tron with_tk 684 1.1.1.3 tron with_x 685 1.1.1.3 tron enable_shared 686 1.1.1.3 tron with_ldap 687 1.1.1.3 tron with_ldap_incdir 688 1.1.1.3 tron with_ldap_libdir 689 1.1.1.3 tron with_ldap_libraries 690 1.1.1.3 tron ' 691 1.1.1.3 tron ac_precious_vars='build_alias 692 1.1.1.3 tron host_alias 693 1.1.1.3 tron target_alias 694 1.1.1.3 tron CC 695 1.1.1.3 tron CFLAGS 696 1.1.1.3 tron LDFLAGS 697 1.1.1.3 tron LIBS 698 1.1.1.3 tron CPPFLAGS' 699 1.1.1.3 tron 700 1.1 lukem 701 1.1 lukem # Initialize some variables set by options. 702 1.1.1.3 tron ac_init_help= 703 1.1.1.3 tron ac_init_version=false 704 1.1.1.3 tron ac_unrecognized_opts= 705 1.1.1.3 tron ac_unrecognized_sep= 706 1.1 lukem # The variables have the same names as the options, with 707 1.1 lukem # dashes changed to underlines. 708 1.1.1.3 tron cache_file=/dev/null 709 1.1 lukem exec_prefix=NONE 710 1.1 lukem no_create= 711 1.1 lukem no_recursion= 712 1.1 lukem prefix=NONE 713 1.1 lukem program_prefix=NONE 714 1.1 lukem program_suffix=NONE 715 1.1 lukem program_transform_name=s,x,x, 716 1.1 lukem silent= 717 1.1 lukem site= 718 1.1 lukem srcdir= 719 1.1 lukem verbose= 720 1.1 lukem x_includes=NONE 721 1.1 lukem x_libraries=NONE 722 1.1.1.3 tron 723 1.1.1.3 tron # Installation directory options. 724 1.1.1.3 tron # These are left unexpanded so users can "make install exec_prefix=/foo" 725 1.1.1.3 tron # and all the variables that are supposed to be based on exec_prefix 726 1.1.1.3 tron # by default will actually change. 727 1.1.1.3 tron # Use braces instead of parens because sh, perl, etc. also accept them. 728 1.1.1.3 tron # (The list follows the same order as the GNU Coding Standards.) 729 1.1 lukem bindir='${exec_prefix}/bin' 730 1.1 lukem sbindir='${exec_prefix}/sbin' 731 1.1 lukem libexecdir='${exec_prefix}/libexec' 732 1.1.1.3 tron datarootdir='${prefix}/share' 733 1.1.1.3 tron datadir='${datarootdir}' 734 1.1 lukem sysconfdir='${prefix}/etc' 735 1.1 lukem sharedstatedir='${prefix}/com' 736 1.1 lukem localstatedir='${prefix}/var' 737 1.1.1.4 christos runstatedir='${localstatedir}/run' 738 1.1 lukem includedir='${prefix}/include' 739 1.1 lukem oldincludedir='/usr/include' 740 1.1.1.3 tron docdir='${datarootdir}/doc/${PACKAGE}' 741 1.1.1.3 tron infodir='${datarootdir}/info' 742 1.1.1.3 tron htmldir='${docdir}' 743 1.1.1.3 tron dvidir='${docdir}' 744 1.1.1.3 tron pdfdir='${docdir}' 745 1.1.1.3 tron psdir='${docdir}' 746 1.1.1.3 tron libdir='${exec_prefix}/lib' 747 1.1.1.3 tron localedir='${datarootdir}/locale' 748 1.1.1.3 tron mandir='${datarootdir}/man' 749 1.1 lukem 750 1.1 lukem ac_prev= 751 1.1.1.3 tron ac_dashdash= 752 1.1 lukem for ac_option 753 1.1 lukem do 754 1.1 lukem # If the previous option needs an argument, assign it. 755 1.1 lukem if test -n "$ac_prev"; then 756 1.1.1.3 tron eval $ac_prev=\$ac_option 757 1.1 lukem ac_prev= 758 1.1 lukem continue 759 1.1 lukem fi 760 1.1 lukem 761 1.1.1.3 tron case $ac_option in 762 1.1.1.4 christos *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 763 1.1.1.4 christos *=) ac_optarg= ;; 764 1.1.1.4 christos *) ac_optarg=yes ;; 765 1.1 lukem esac 766 1.1 lukem 767 1.1 lukem # Accept the important Cygnus configure options, so we can diagnose typos. 768 1.1 lukem 769 1.1.1.3 tron case $ac_dashdash$ac_option in 770 1.1.1.3 tron --) 771 1.1.1.3 tron ac_dashdash=yes ;; 772 1.1 lukem 773 1.1 lukem -bindir | --bindir | --bindi | --bind | --bin | --bi) 774 1.1 lukem ac_prev=bindir ;; 775 1.1 lukem -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 776 1.1.1.3 tron bindir=$ac_optarg ;; 777 1.1 lukem 778 1.1 lukem -build | --build | --buil | --bui | --bu) 779 1.1.1.3 tron ac_prev=build_alias ;; 780 1.1 lukem -build=* | --build=* | --buil=* | --bui=* | --bu=*) 781 1.1.1.3 tron build_alias=$ac_optarg ;; 782 1.1 lukem 783 1.1 lukem -cache-file | --cache-file | --cache-fil | --cache-fi \ 784 1.1 lukem | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 785 1.1 lukem ac_prev=cache_file ;; 786 1.1 lukem -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 787 1.1 lukem | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 788 1.1.1.3 tron cache_file=$ac_optarg ;; 789 1.1 lukem 790 1.1.1.3 tron --config-cache | -C) 791 1.1.1.3 tron cache_file=config.cache ;; 792 1.1.1.3 tron 793 1.1.1.3 tron -datadir | --datadir | --datadi | --datad) 794 1.1 lukem ac_prev=datadir ;; 795 1.1.1.3 tron -datadir=* | --datadir=* | --datadi=* | --datad=*) 796 1.1.1.3 tron datadir=$ac_optarg ;; 797 1.1.1.3 tron 798 1.1.1.3 tron -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \ 799 1.1.1.3 tron | --dataroo | --dataro | --datar) 800 1.1.1.3 tron ac_prev=datarootdir ;; 801 1.1.1.3 tron -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 802 1.1.1.3 tron | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 803 1.1.1.3 tron datarootdir=$ac_optarg ;; 804 1.1 lukem 805 1.1 lukem -disable-* | --disable-*) 806 1.1.1.3 tron ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 807 1.1 lukem # Reject names that are not valid shell variable names. 808 1.1.1.3 tron expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 809 1.1.1.4 christos as_fn_error $? "invalid feature name: $ac_useropt" 810 1.1.1.3 tron ac_useropt_orig=$ac_useropt 811 1.1.1.3 tron ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 812 1.1.1.3 tron case $ac_user_opts in 813 1.1.1.3 tron *" 814 1.1.1.3 tron "enable_$ac_useropt" 815 1.1.1.3 tron "*) ;; 816 1.1.1.3 tron *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 817 1.1.1.3 tron ac_unrecognized_sep=', ';; 818 1.1.1.3 tron esac 819 1.1.1.3 tron eval enable_$ac_useropt=no ;; 820 1.1.1.3 tron 821 1.1.1.3 tron -docdir | --docdir | --docdi | --doc | --do) 822 1.1.1.3 tron ac_prev=docdir ;; 823 1.1.1.3 tron -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 824 1.1.1.3 tron docdir=$ac_optarg ;; 825 1.1.1.3 tron 826 1.1.1.3 tron -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv) 827 1.1.1.3 tron ac_prev=dvidir ;; 828 1.1.1.3 tron -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 829 1.1.1.3 tron dvidir=$ac_optarg ;; 830 1.1 lukem 831 1.1 lukem -enable-* | --enable-*) 832 1.1.1.3 tron ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 833 1.1 lukem # Reject names that are not valid shell variable names. 834 1.1.1.3 tron expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 835 1.1.1.4 christos as_fn_error $? "invalid feature name: $ac_useropt" 836 1.1.1.3 tron ac_useropt_orig=$ac_useropt 837 1.1.1.3 tron ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 838 1.1.1.3 tron case $ac_user_opts in 839 1.1.1.3 tron *" 840 1.1.1.3 tron "enable_$ac_useropt" 841 1.1.1.3 tron "*) ;; 842 1.1.1.3 tron *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 843 1.1.1.3 tron ac_unrecognized_sep=', ';; 844 1.1 lukem esac 845 1.1.1.3 tron eval enable_$ac_useropt=\$ac_optarg ;; 846 1.1 lukem 847 1.1 lukem -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 848 1.1 lukem | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 849 1.1 lukem | --exec | --exe | --ex) 850 1.1 lukem ac_prev=exec_prefix ;; 851 1.1 lukem -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ 852 1.1 lukem | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 853 1.1 lukem | --exec=* | --exe=* | --ex=*) 854 1.1.1.3 tron exec_prefix=$ac_optarg ;; 855 1.1 lukem 856 1.1 lukem -gas | --gas | --ga | --g) 857 1.1 lukem # Obsolete; use --with-gas. 858 1.1 lukem with_gas=yes ;; 859 1.1 lukem 860 1.1.1.3 tron -help | --help | --hel | --he | -h) 861 1.1.1.3 tron ac_init_help=long ;; 862 1.1.1.3 tron -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 863 1.1.1.3 tron ac_init_help=recursive ;; 864 1.1.1.3 tron -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 865 1.1.1.3 tron ac_init_help=short ;; 866 1.1 lukem 867 1.1 lukem -host | --host | --hos | --ho) 868 1.1.1.3 tron ac_prev=host_alias ;; 869 1.1 lukem -host=* | --host=* | --hos=* | --ho=*) 870 1.1.1.3 tron host_alias=$ac_optarg ;; 871 1.1.1.3 tron 872 1.1.1.3 tron -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht) 873 1.1.1.3 tron ac_prev=htmldir ;; 874 1.1.1.3 tron -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \ 875 1.1.1.3 tron | --ht=*) 876 1.1.1.3 tron htmldir=$ac_optarg ;; 877 1.1 lukem 878 1.1 lukem -includedir | --includedir | --includedi | --included | --include \ 879 1.1 lukem | --includ | --inclu | --incl | --inc) 880 1.1 lukem ac_prev=includedir ;; 881 1.1 lukem -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 882 1.1 lukem | --includ=* | --inclu=* | --incl=* | --inc=*) 883 1.1.1.3 tron includedir=$ac_optarg ;; 884 1.1 lukem 885 1.1 lukem -infodir | --infodir | --infodi | --infod | --info | --inf) 886 1.1 lukem ac_prev=infodir ;; 887 1.1 lukem -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 888 1.1.1.3 tron infodir=$ac_optarg ;; 889 1.1 lukem 890 1.1 lukem -libdir | --libdir | --libdi | --libd) 891 1.1 lukem ac_prev=libdir ;; 892 1.1 lukem -libdir=* | --libdir=* | --libdi=* | --libd=*) 893 1.1.1.3 tron libdir=$ac_optarg ;; 894 1.1 lukem 895 1.1 lukem -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ 896 1.1 lukem | --libexe | --libex | --libe) 897 1.1 lukem ac_prev=libexecdir ;; 898 1.1 lukem -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 899 1.1 lukem | --libexe=* | --libex=* | --libe=*) 900 1.1.1.3 tron libexecdir=$ac_optarg ;; 901 1.1.1.3 tron 902 1.1.1.3 tron -localedir | --localedir | --localedi | --localed | --locale) 903 1.1.1.3 tron ac_prev=localedir ;; 904 1.1.1.3 tron -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*) 905 1.1.1.3 tron localedir=$ac_optarg ;; 906 1.1 lukem 907 1.1 lukem -localstatedir | --localstatedir | --localstatedi | --localstated \ 908 1.1.1.3 tron | --localstate | --localstat | --localsta | --localst | --locals) 909 1.1 lukem ac_prev=localstatedir ;; 910 1.1 lukem -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ 911 1.1.1.3 tron | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*) 912 1.1.1.3 tron localstatedir=$ac_optarg ;; 913 1.1 lukem 914 1.1 lukem -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 915 1.1 lukem ac_prev=mandir ;; 916 1.1 lukem -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 917 1.1.1.3 tron mandir=$ac_optarg ;; 918 1.1 lukem 919 1.1 lukem -nfp | --nfp | --nf) 920 1.1 lukem # Obsolete; use --without-fp. 921 1.1 lukem with_fp=no ;; 922 1.1 lukem 923 1.1 lukem -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 924 1.1.1.3 tron | --no-cr | --no-c | -n) 925 1.1 lukem no_create=yes ;; 926 1.1 lukem 927 1.1 lukem -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 928 1.1 lukem | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 929 1.1 lukem no_recursion=yes ;; 930 1.1 lukem 931 1.1 lukem -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ 932 1.1 lukem | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ 933 1.1 lukem | --oldin | --oldi | --old | --ol | --o) 934 1.1 lukem ac_prev=oldincludedir ;; 935 1.1 lukem -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ 936 1.1 lukem | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 937 1.1 lukem | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 938 1.1.1.3 tron oldincludedir=$ac_optarg ;; 939 1.1 lukem 940 1.1 lukem -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 941 1.1 lukem ac_prev=prefix ;; 942 1.1 lukem -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 943 1.1.1.3 tron prefix=$ac_optarg ;; 944 1.1 lukem 945 1.1 lukem -program-prefix | --program-prefix | --program-prefi | --program-pref \ 946 1.1 lukem | --program-pre | --program-pr | --program-p) 947 1.1 lukem ac_prev=program_prefix ;; 948 1.1 lukem -program-prefix=* | --program-prefix=* | --program-prefi=* \ 949 1.1 lukem | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 950 1.1.1.3 tron program_prefix=$ac_optarg ;; 951 1.1 lukem 952 1.1 lukem -program-suffix | --program-suffix | --program-suffi | --program-suff \ 953 1.1 lukem | --program-suf | --program-su | --program-s) 954 1.1 lukem ac_prev=program_suffix ;; 955 1.1 lukem -program-suffix=* | --program-suffix=* | --program-suffi=* \ 956 1.1 lukem | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 957 1.1.1.3 tron program_suffix=$ac_optarg ;; 958 1.1 lukem 959 1.1 lukem -program-transform-name | --program-transform-name \ 960 1.1 lukem | --program-transform-nam | --program-transform-na \ 961 1.1 lukem | --program-transform-n | --program-transform- \ 962 1.1 lukem | --program-transform | --program-transfor \ 963 1.1 lukem | --program-transfo | --program-transf \ 964 1.1 lukem | --program-trans | --program-tran \ 965 1.1 lukem | --progr-tra | --program-tr | --program-t) 966 1.1 lukem ac_prev=program_transform_name ;; 967 1.1 lukem -program-transform-name=* | --program-transform-name=* \ 968 1.1 lukem | --program-transform-nam=* | --program-transform-na=* \ 969 1.1 lukem | --program-transform-n=* | --program-transform-=* \ 970 1.1 lukem | --program-transform=* | --program-transfor=* \ 971 1.1 lukem | --program-transfo=* | --program-transf=* \ 972 1.1 lukem | --program-trans=* | --program-tran=* \ 973 1.1 lukem | --progr-tra=* | --program-tr=* | --program-t=*) 974 1.1.1.3 tron program_transform_name=$ac_optarg ;; 975 1.1.1.3 tron 976 1.1.1.3 tron -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd) 977 1.1.1.3 tron ac_prev=pdfdir ;; 978 1.1.1.3 tron -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*) 979 1.1.1.3 tron pdfdir=$ac_optarg ;; 980 1.1.1.3 tron 981 1.1.1.3 tron -psdir | --psdir | --psdi | --psd | --ps) 982 1.1.1.3 tron ac_prev=psdir ;; 983 1.1.1.3 tron -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*) 984 1.1.1.3 tron psdir=$ac_optarg ;; 985 1.1 lukem 986 1.1 lukem -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 987 1.1 lukem | -silent | --silent | --silen | --sile | --sil) 988 1.1 lukem silent=yes ;; 989 1.1 lukem 990 1.1.1.4 christos -runstatedir | --runstatedir | --runstatedi | --runstated \ 991 1.1.1.4 christos | --runstate | --runstat | --runsta | --runst | --runs \ 992 1.1.1.4 christos | --run | --ru | --r) 993 1.1.1.4 christos ac_prev=runstatedir ;; 994 1.1.1.4 christos -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \ 995 1.1.1.4 christos | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \ 996 1.1.1.4 christos | --run=* | --ru=* | --r=*) 997 1.1.1.4 christos runstatedir=$ac_optarg ;; 998 1.1.1.4 christos 999 1.1 lukem -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) 1000 1.1 lukem ac_prev=sbindir ;; 1001 1.1 lukem -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 1002 1.1 lukem | --sbi=* | --sb=*) 1003 1.1.1.3 tron sbindir=$ac_optarg ;; 1004 1.1 lukem 1005 1.1 lukem -sharedstatedir | --sharedstatedir | --sharedstatedi \ 1006 1.1 lukem | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ 1007 1.1 lukem | --sharedst | --shareds | --shared | --share | --shar \ 1008 1.1 lukem | --sha | --sh) 1009 1.1 lukem ac_prev=sharedstatedir ;; 1010 1.1 lukem -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ 1011 1.1 lukem | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ 1012 1.1 lukem | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 1013 1.1 lukem | --sha=* | --sh=*) 1014 1.1.1.3 tron sharedstatedir=$ac_optarg ;; 1015 1.1 lukem 1016 1.1 lukem -site | --site | --sit) 1017 1.1 lukem ac_prev=site ;; 1018 1.1 lukem -site=* | --site=* | --sit=*) 1019 1.1.1.3 tron site=$ac_optarg ;; 1020 1.1 lukem 1021 1.1 lukem -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 1022 1.1 lukem ac_prev=srcdir ;; 1023 1.1 lukem -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 1024 1.1.1.3 tron srcdir=$ac_optarg ;; 1025 1.1 lukem 1026 1.1 lukem -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ 1027 1.1 lukem | --syscon | --sysco | --sysc | --sys | --sy) 1028 1.1 lukem ac_prev=sysconfdir ;; 1029 1.1 lukem -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 1030 1.1 lukem | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 1031 1.1.1.3 tron sysconfdir=$ac_optarg ;; 1032 1.1 lukem 1033 1.1 lukem -target | --target | --targe | --targ | --tar | --ta | --t) 1034 1.1.1.3 tron ac_prev=target_alias ;; 1035 1.1 lukem -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 1036 1.1.1.3 tron target_alias=$ac_optarg ;; 1037 1.1 lukem 1038 1.1 lukem -v | -verbose | --verbose | --verbos | --verbo | --verb) 1039 1.1 lukem verbose=yes ;; 1040 1.1 lukem 1041 1.1.1.3 tron -version | --version | --versio | --versi | --vers | -V) 1042 1.1.1.3 tron ac_init_version=: ;; 1043 1.1 lukem 1044 1.1 lukem -with-* | --with-*) 1045 1.1.1.3 tron ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 1046 1.1 lukem # Reject names that are not valid shell variable names. 1047 1.1.1.3 tron expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1048 1.1.1.4 christos as_fn_error $? "invalid package name: $ac_useropt" 1049 1.1.1.3 tron ac_useropt_orig=$ac_useropt 1050 1.1.1.3 tron ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1051 1.1.1.3 tron case $ac_user_opts in 1052 1.1.1.3 tron *" 1053 1.1.1.3 tron "with_$ac_useropt" 1054 1.1.1.3 tron "*) ;; 1055 1.1.1.3 tron *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 1056 1.1.1.3 tron ac_unrecognized_sep=', ';; 1057 1.1 lukem esac 1058 1.1.1.3 tron eval with_$ac_useropt=\$ac_optarg ;; 1059 1.1 lukem 1060 1.1 lukem -without-* | --without-*) 1061 1.1.1.3 tron ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 1062 1.1 lukem # Reject names that are not valid shell variable names. 1063 1.1.1.3 tron expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1064 1.1.1.4 christos as_fn_error $? "invalid package name: $ac_useropt" 1065 1.1.1.3 tron ac_useropt_orig=$ac_useropt 1066 1.1.1.3 tron ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1067 1.1.1.3 tron case $ac_user_opts in 1068 1.1.1.3 tron *" 1069 1.1.1.3 tron "with_$ac_useropt" 1070 1.1.1.3 tron "*) ;; 1071 1.1.1.3 tron *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1072 1.1.1.3 tron ac_unrecognized_sep=', ';; 1073 1.1.1.3 tron esac 1074 1.1.1.3 tron eval with_$ac_useropt=no ;; 1075 1.1 lukem 1076 1.1 lukem --x) 1077 1.1 lukem # Obsolete; use --with-x. 1078 1.1 lukem with_x=yes ;; 1079 1.1 lukem 1080 1.1 lukem -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ 1081 1.1 lukem | --x-incl | --x-inc | --x-in | --x-i) 1082 1.1 lukem ac_prev=x_includes ;; 1083 1.1 lukem -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 1084 1.1 lukem | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 1085 1.1.1.3 tron x_includes=$ac_optarg ;; 1086 1.1 lukem 1087 1.1 lukem -x-libraries | --x-libraries | --x-librarie | --x-librari \ 1088 1.1 lukem | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) 1089 1.1 lukem ac_prev=x_libraries ;; 1090 1.1 lukem -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 1091 1.1 lukem | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 1092 1.1.1.3 tron x_libraries=$ac_optarg ;; 1093 1.1 lukem 1094 1.1.1.4 christos -*) as_fn_error $? "unrecognized option: \`$ac_option' 1095 1.1.1.4 christos Try \`$0 --help' for more information" 1096 1.1 lukem ;; 1097 1.1 lukem 1098 1.1.1.3 tron *=*) 1099 1.1.1.3 tron ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1100 1.1.1.3 tron # Reject names that are not valid shell variable names. 1101 1.1.1.3 tron case $ac_envvar in #( 1102 1.1.1.3 tron '' | [0-9]* | *[!_$as_cr_alnum]* ) 1103 1.1.1.4 christos as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1104 1.1.1.3 tron esac 1105 1.1.1.3 tron eval $ac_envvar=\$ac_optarg 1106 1.1.1.3 tron export $ac_envvar ;; 1107 1.1.1.3 tron 1108 1.1 lukem *) 1109 1.1.1.3 tron # FIXME: should be removed in autoconf 3.0. 1110 1.1.1.3 tron $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1111 1.1.1.3 tron expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1112 1.1.1.3 tron $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1113 1.1.1.4 christos : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1114 1.1 lukem ;; 1115 1.1 lukem 1116 1.1 lukem esac 1117 1.1 lukem done 1118 1.1 lukem 1119 1.1 lukem if test -n "$ac_prev"; then 1120 1.1.1.3 tron ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1121 1.1.1.4 christos as_fn_error $? "missing argument to $ac_option" 1122 1.1 lukem fi 1123 1.1 lukem 1124 1.1.1.3 tron if test -n "$ac_unrecognized_opts"; then 1125 1.1.1.3 tron case $enable_option_checking in 1126 1.1.1.3 tron no) ;; 1127 1.1.1.4 christos fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1128 1.1.1.3 tron *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1129 1.1.1.3 tron esac 1130 1.1 lukem fi 1131 1.1 lukem 1132 1.1.1.3 tron # Check all directory arguments for consistency. 1133 1.1.1.3 tron for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1134 1.1.1.3 tron datadir sysconfdir sharedstatedir localstatedir includedir \ 1135 1.1.1.3 tron oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1136 1.1.1.4 christos libdir localedir mandir runstatedir 1137 1.1 lukem do 1138 1.1.1.3 tron eval ac_val=\$$ac_var 1139 1.1.1.3 tron # Remove trailing slashes. 1140 1.1.1.3 tron case $ac_val in 1141 1.1.1.3 tron */ ) 1142 1.1.1.3 tron ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1143 1.1.1.3 tron eval $ac_var=\$ac_val;; 1144 1.1 lukem esac 1145 1.1.1.3 tron # Be sure to have absolute directory names. 1146 1.1.1.3 tron case $ac_val in 1147 1.1.1.3 tron [\\/$]* | ?:[\\/]* ) continue;; 1148 1.1.1.3 tron NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1149 1.1.1.3 tron esac 1150 1.1.1.4 christos as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1151 1.1 lukem done 1152 1.1 lukem 1153 1.1.1.3 tron # There might be people who depend on the old broken behavior: `$host' 1154 1.1.1.3 tron # used to hold the argument of --host etc. 1155 1.1.1.3 tron # FIXME: To remove some day. 1156 1.1.1.3 tron build=$build_alias 1157 1.1.1.3 tron host=$host_alias 1158 1.1.1.3 tron target=$target_alias 1159 1.1.1.3 tron 1160 1.1.1.3 tron # FIXME: To remove some day. 1161 1.1.1.3 tron if test "x$host_alias" != x; then 1162 1.1.1.3 tron if test "x$build_alias" = x; then 1163 1.1.1.3 tron cross_compiling=maybe 1164 1.1.1.3 tron elif test "x$build_alias" != "x$host_alias"; then 1165 1.1.1.3 tron cross_compiling=yes 1166 1.1.1.3 tron fi 1167 1.1.1.3 tron fi 1168 1.1.1.3 tron 1169 1.1.1.3 tron ac_tool_prefix= 1170 1.1.1.3 tron test -n "$host_alias" && ac_tool_prefix=$host_alias- 1171 1.1.1.3 tron 1172 1.1.1.3 tron test "$silent" = yes && exec 6>/dev/null 1173 1.1.1.3 tron 1174 1.1.1.3 tron 1175 1.1.1.3 tron ac_pwd=`pwd` && test -n "$ac_pwd" && 1176 1.1.1.3 tron ac_ls_di=`ls -di .` && 1177 1.1.1.3 tron ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1178 1.1.1.4 christos as_fn_error $? "working directory cannot be determined" 1179 1.1.1.3 tron test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1180 1.1.1.4 christos as_fn_error $? "pwd does not report name of working directory" 1181 1.1 lukem 1182 1.1 lukem 1183 1.1 lukem # Find the source files, if location was not specified. 1184 1.1 lukem if test -z "$srcdir"; then 1185 1.1 lukem ac_srcdir_defaulted=yes 1186 1.1.1.3 tron # Try the directory containing this script, then the parent directory. 1187 1.1.1.3 tron ac_confdir=`$as_dirname -- "$as_myself" || 1188 1.1.1.3 tron $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1189 1.1.1.3 tron X"$as_myself" : 'X\(//\)[^/]' \| \ 1190 1.1.1.3 tron X"$as_myself" : 'X\(//\)$' \| \ 1191 1.1.1.3 tron X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1192 1.1.1.3 tron $as_echo X"$as_myself" | 1193 1.1.1.3 tron sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1194 1.1.1.3 tron s//\1/ 1195 1.1.1.3 tron q 1196 1.1.1.3 tron } 1197 1.1.1.3 tron /^X\(\/\/\)[^/].*/{ 1198 1.1.1.3 tron s//\1/ 1199 1.1.1.3 tron q 1200 1.1.1.3 tron } 1201 1.1.1.3 tron /^X\(\/\/\)$/{ 1202 1.1.1.3 tron s//\1/ 1203 1.1.1.3 tron q 1204 1.1.1.3 tron } 1205 1.1.1.3 tron /^X\(\/\).*/{ 1206 1.1.1.3 tron s//\1/ 1207 1.1.1.3 tron q 1208 1.1.1.3 tron } 1209 1.1.1.3 tron s/.*/./; q'` 1210 1.1 lukem srcdir=$ac_confdir 1211 1.1.1.3 tron if test ! -r "$srcdir/$ac_unique_file"; then 1212 1.1 lukem srcdir=.. 1213 1.1 lukem fi 1214 1.1 lukem else 1215 1.1 lukem ac_srcdir_defaulted=no 1216 1.1 lukem fi 1217 1.1.1.3 tron if test ! -r "$srcdir/$ac_unique_file"; then 1218 1.1.1.3 tron test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1219 1.1.1.4 christos as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1220 1.1.1.3 tron fi 1221 1.1.1.3 tron ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1222 1.1.1.3 tron ac_abs_confdir=`( 1223 1.1.1.4 christos cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1224 1.1.1.3 tron pwd)` 1225 1.1.1.3 tron # When building in place, set srcdir=. 1226 1.1.1.3 tron if test "$ac_abs_confdir" = "$ac_pwd"; then 1227 1.1.1.3 tron srcdir=. 1228 1.1.1.3 tron fi 1229 1.1.1.3 tron # Remove unnecessary trailing slashes from srcdir. 1230 1.1.1.3 tron # Double slashes in file names in object file debugging info 1231 1.1.1.3 tron # mess up M-x gdb in Emacs. 1232 1.1.1.3 tron case $srcdir in 1233 1.1.1.3 tron */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;; 1234 1.1.1.3 tron esac 1235 1.1.1.3 tron for ac_var in $ac_precious_vars; do 1236 1.1.1.3 tron eval ac_env_${ac_var}_set=\${${ac_var}+set} 1237 1.1.1.3 tron eval ac_env_${ac_var}_value=\$${ac_var} 1238 1.1.1.3 tron eval ac_cv_env_${ac_var}_set=\${${ac_var}+set} 1239 1.1.1.3 tron eval ac_cv_env_${ac_var}_value=\$${ac_var} 1240 1.1.1.3 tron done 1241 1.1.1.3 tron 1242 1.1.1.3 tron # 1243 1.1.1.3 tron # Report the --help message. 1244 1.1.1.3 tron # 1245 1.1.1.3 tron if test "$ac_init_help" = "long"; then 1246 1.1.1.3 tron # Omit some internal or obsolete options to make the list less imposing. 1247 1.1.1.3 tron # This message is too long to be a string in the A/UX 3.1 sh. 1248 1.1.1.3 tron cat <<_ACEOF 1249 1.1.1.3 tron \`configure' configures this package to adapt to many kinds of systems. 1250 1.1.1.3 tron 1251 1.1.1.3 tron Usage: $0 [OPTION]... [VAR=VALUE]... 1252 1.1.1.3 tron 1253 1.1.1.3 tron To assign environment variables (e.g., CC, CFLAGS...), specify them as 1254 1.1.1.3 tron VAR=VALUE. See below for descriptions of some of the useful variables. 1255 1.1.1.3 tron 1256 1.1.1.3 tron Defaults for the options are specified in brackets. 1257 1.1.1.3 tron 1258 1.1.1.3 tron Configuration: 1259 1.1.1.3 tron -h, --help display this help and exit 1260 1.1.1.3 tron --help=short display options specific to this package 1261 1.1.1.3 tron --help=recursive display the short help of all the included packages 1262 1.1.1.3 tron -V, --version display version information and exit 1263 1.1.1.4 christos -q, --quiet, --silent do not print \`checking ...' messages 1264 1.1.1.3 tron --cache-file=FILE cache test results in FILE [disabled] 1265 1.1.1.3 tron -C, --config-cache alias for \`--cache-file=config.cache' 1266 1.1.1.3 tron -n, --no-create do not create output files 1267 1.1.1.3 tron --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1268 1.1.1.3 tron 1269 1.1.1.3 tron Installation directories: 1270 1.1.1.3 tron --prefix=PREFIX install architecture-independent files in PREFIX 1271 1.1.1.3 tron [$ac_default_prefix] 1272 1.1.1.3 tron --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1273 1.1.1.3 tron [PREFIX] 1274 1.1.1.3 tron 1275 1.1.1.3 tron By default, \`make install' will install all the files in 1276 1.1.1.3 tron \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1277 1.1.1.3 tron an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1278 1.1.1.3 tron for instance \`--prefix=\$HOME'. 1279 1.1.1.3 tron 1280 1.1.1.3 tron For better control, use the options below. 1281 1.1.1.3 tron 1282 1.1.1.3 tron Fine tuning of the installation directories: 1283 1.1.1.3 tron --bindir=DIR user executables [EPREFIX/bin] 1284 1.1.1.3 tron --sbindir=DIR system admin executables [EPREFIX/sbin] 1285 1.1.1.3 tron --libexecdir=DIR program executables [EPREFIX/libexec] 1286 1.1.1.3 tron --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1287 1.1.1.3 tron --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1288 1.1.1.3 tron --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1289 1.1.1.4 christos --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run] 1290 1.1.1.3 tron --libdir=DIR object code libraries [EPREFIX/lib] 1291 1.1.1.3 tron --includedir=DIR C header files [PREFIX/include] 1292 1.1.1.3 tron --oldincludedir=DIR C header files for non-gcc [/usr/include] 1293 1.1.1.3 tron --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1294 1.1.1.3 tron --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1295 1.1.1.3 tron --infodir=DIR info documentation [DATAROOTDIR/info] 1296 1.1.1.3 tron --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1297 1.1.1.3 tron --mandir=DIR man documentation [DATAROOTDIR/man] 1298 1.1.1.3 tron --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1299 1.1.1.3 tron --htmldir=DIR html documentation [DOCDIR] 1300 1.1.1.3 tron --dvidir=DIR dvi documentation [DOCDIR] 1301 1.1.1.3 tron --pdfdir=DIR pdf documentation [DOCDIR] 1302 1.1.1.3 tron --psdir=DIR ps documentation [DOCDIR] 1303 1.1.1.3 tron _ACEOF 1304 1.1.1.3 tron 1305 1.1.1.3 tron cat <<\_ACEOF 1306 1.1.1.3 tron _ACEOF 1307 1.1 lukem fi 1308 1.1 lukem 1309 1.1.1.3 tron if test -n "$ac_init_help"; then 1310 1.1.1.3 tron 1311 1.1.1.3 tron cat <<\_ACEOF 1312 1.1.1.3 tron 1313 1.1.1.3 tron Optional Features: 1314 1.1.1.3 tron --disable-option-checking ignore unrecognized --enable/--with options 1315 1.1.1.3 tron --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1316 1.1.1.3 tron --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1317 1.1.1.3 tron --enable-gcc allow use of gcc if available 1318 1.1.1.3 tron --enable-shared build libldaptcl as a shared library 1319 1.1.1.3 tron 1320 1.1.1.3 tron Optional Packages: 1321 1.1.1.3 tron --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 1322 1.1.1.3 tron --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 1323 1.1.1.3 tron --with-tk=DIR use Tk 8.0 binaries from DIR 1324 1.1.1.3 tron --without-x do not build/install ldapwish 1325 1.1.1.3 tron --with-ldap=<dir> common parent of ldap include and lib dirs 1326 1.1.1.3 tron --with-ldap-incdir=<dir> path to ldap.h 1327 1.1.1.3 tron --with-ldap-libdir=<dir> path to ldap and lber libs 1328 1.1.1.3 tron --with-ldap-libflags=<libnames> -l flags for ldap libraries 1329 1.1.1.3 tron 1330 1.1.1.3 tron Some influential environment variables: 1331 1.1.1.3 tron CC C compiler command 1332 1.1.1.3 tron CFLAGS C compiler flags 1333 1.1.1.3 tron LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 1334 1.1.1.3 tron nonstandard directory <lib dir> 1335 1.1.1.3 tron LIBS libraries to pass to the linker, e.g. -l<library> 1336 1.1.1.3 tron CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if 1337 1.1.1.3 tron you have headers in a nonstandard directory <include dir> 1338 1.1.1.3 tron 1339 1.1.1.3 tron Use these variables to override the choices made by `configure' or to help 1340 1.1.1.3 tron it to find libraries and programs with nonstandard names/locations. 1341 1.1.1.3 tron 1342 1.1.1.3 tron Report bugs to the package provider. 1343 1.1.1.3 tron _ACEOF 1344 1.1.1.3 tron ac_status=$? 1345 1.1.1.3 tron fi 1346 1.1.1.3 tron 1347 1.1.1.3 tron if test "$ac_init_help" = "recursive"; then 1348 1.1.1.3 tron # If there are subdirs, report their specific --help. 1349 1.1.1.3 tron for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1350 1.1.1.3 tron test -d "$ac_dir" || 1351 1.1.1.3 tron { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1352 1.1.1.3 tron continue 1353 1.1.1.3 tron ac_builddir=. 1354 1.1.1.3 tron 1355 1.1.1.3 tron case "$ac_dir" in 1356 1.1.1.3 tron .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1357 1.1.1.3 tron *) 1358 1.1.1.3 tron ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1359 1.1.1.3 tron # A ".." for each directory in $ac_dir_suffix. 1360 1.1.1.3 tron ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1361 1.1.1.3 tron case $ac_top_builddir_sub in 1362 1.1.1.3 tron "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1363 1.1.1.3 tron *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1364 1.1.1.3 tron esac ;; 1365 1.1.1.3 tron esac 1366 1.1.1.3 tron ac_abs_top_builddir=$ac_pwd 1367 1.1.1.3 tron ac_abs_builddir=$ac_pwd$ac_dir_suffix 1368 1.1.1.3 tron # for backward compatibility: 1369 1.1.1.3 tron ac_top_builddir=$ac_top_build_prefix 1370 1.1.1.3 tron 1371 1.1.1.3 tron case $srcdir in 1372 1.1.1.3 tron .) # We are building in place. 1373 1.1.1.3 tron ac_srcdir=. 1374 1.1.1.3 tron ac_top_srcdir=$ac_top_builddir_sub 1375 1.1.1.3 tron ac_abs_top_srcdir=$ac_pwd ;; 1376 1.1.1.3 tron [\\/]* | ?:[\\/]* ) # Absolute name. 1377 1.1.1.3 tron ac_srcdir=$srcdir$ac_dir_suffix; 1378 1.1.1.3 tron ac_top_srcdir=$srcdir 1379 1.1.1.3 tron ac_abs_top_srcdir=$srcdir ;; 1380 1.1.1.3 tron *) # Relative name. 1381 1.1.1.3 tron ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 1382 1.1.1.3 tron ac_top_srcdir=$ac_top_build_prefix$srcdir 1383 1.1.1.3 tron ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 1384 1.1.1.3 tron esac 1385 1.1.1.3 tron ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 1386 1.1.1.3 tron 1387 1.1.1.3 tron cd "$ac_dir" || { ac_status=$?; continue; } 1388 1.1.1.3 tron # Check for guested configure. 1389 1.1.1.3 tron if test -f "$ac_srcdir/configure.gnu"; then 1390 1.1.1.3 tron echo && 1391 1.1.1.3 tron $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1392 1.1.1.3 tron elif test -f "$ac_srcdir/configure"; then 1393 1.1.1.3 tron echo && 1394 1.1.1.3 tron $SHELL "$ac_srcdir/configure" --help=recursive 1395 1.1.1.3 tron else 1396 1.1.1.3 tron $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1397 1.1.1.3 tron fi || ac_status=$? 1398 1.1.1.3 tron cd "$ac_pwd" || { ac_status=$?; break; } 1399 1.1.1.3 tron done 1400 1.1.1.3 tron fi 1401 1.1.1.3 tron 1402 1.1.1.3 tron test -n "$ac_init_help" && exit $ac_status 1403 1.1.1.3 tron if $ac_init_version; then 1404 1.1.1.3 tron cat <<\_ACEOF 1405 1.1.1.3 tron configure 1406 1.1.1.4 christos generated by GNU Autoconf 2.69 1407 1.1.1.3 tron 1408 1.1.1.4 christos Copyright (C) 2012 Free Software Foundation, Inc. 1409 1.1.1.3 tron This configure script is free software; the Free Software Foundation 1410 1.1.1.3 tron gives unlimited permission to copy, distribute and modify it. 1411 1.1.1.3 tron _ACEOF 1412 1.1.1.3 tron exit 1413 1.1.1.3 tron fi 1414 1.1.1.3 tron 1415 1.1.1.3 tron ## ------------------------ ## 1416 1.1.1.3 tron ## Autoconf initialization. ## 1417 1.1.1.3 tron ## ------------------------ ## 1418 1.1.1.3 tron 1419 1.1.1.3 tron # ac_fn_c_try_compile LINENO 1420 1.1.1.3 tron # -------------------------- 1421 1.1.1.3 tron # Try to compile conftest.$ac_ext, and return whether this succeeded. 1422 1.1.1.3 tron ac_fn_c_try_compile () 1423 1.1.1.3 tron { 1424 1.1.1.3 tron as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 1425 1.1.1.3 tron rm -f conftest.$ac_objext 1426 1.1.1.3 tron if { { ac_try="$ac_compile" 1427 1.1.1.3 tron case "(($ac_try" in 1428 1.1.1.3 tron *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 1429 1.1.1.3 tron *) ac_try_echo=$ac_try;; 1430 1.1.1.3 tron esac 1431 1.1.1.3 tron eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 1432 1.1.1.3 tron $as_echo "$ac_try_echo"; } >&5 1433 1.1.1.3 tron (eval "$ac_compile") 2>conftest.err 1434 1.1.1.3 tron ac_status=$? 1435 1.1.1.3 tron if test -s conftest.err; then 1436 1.1.1.3 tron grep -v '^ *+' conftest.err >conftest.er1 1437 1.1.1.3 tron cat conftest.er1 >&5 1438 1.1.1.3 tron mv -f conftest.er1 conftest.err 1439 1.1 lukem fi 1440 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 1441 1.1.1.3 tron test $ac_status = 0; } && { 1442 1.1.1.3 tron test -z "$ac_c_werror_flag" || 1443 1.1.1.3 tron test ! -s conftest.err 1444 1.1.1.3 tron } && test -s conftest.$ac_objext; then : 1445 1.1.1.3 tron ac_retval=0 1446 1.1.1.3 tron else 1447 1.1.1.3 tron $as_echo "$as_me: failed program was:" >&5 1448 1.1.1.3 tron sed 's/^/| /' conftest.$ac_ext >&5 1449 1.1.1.3 tron 1450 1.1.1.3 tron ac_retval=1 1451 1.1.1.3 tron fi 1452 1.1.1.4 christos eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno 1453 1.1.1.3 tron as_fn_set_status $ac_retval 1454 1.1.1.3 tron 1455 1.1.1.3 tron } # ac_fn_c_try_compile 1456 1.1.1.3 tron cat >config.log <<_ACEOF 1457 1.1.1.3 tron This file contains any messages produced by compilers while 1458 1.1.1.3 tron running configure, to aid debugging if configure makes a mistake. 1459 1.1.1.3 tron 1460 1.1.1.3 tron It was created by $as_me, which was 1461 1.1.1.4 christos generated by GNU Autoconf 2.69. Invocation command line was 1462 1.1.1.3 tron 1463 1.1.1.3 tron $ $0 $@ 1464 1.1.1.3 tron 1465 1.1.1.3 tron _ACEOF 1466 1.1.1.3 tron exec 5>>config.log 1467 1.1.1.3 tron { 1468 1.1.1.3 tron cat <<_ASUNAME 1469 1.1.1.3 tron ## --------- ## 1470 1.1.1.3 tron ## Platform. ## 1471 1.1.1.3 tron ## --------- ## 1472 1.1.1.3 tron 1473 1.1.1.3 tron hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1474 1.1.1.3 tron uname -m = `(uname -m) 2>/dev/null || echo unknown` 1475 1.1.1.3 tron uname -r = `(uname -r) 2>/dev/null || echo unknown` 1476 1.1.1.3 tron uname -s = `(uname -s) 2>/dev/null || echo unknown` 1477 1.1.1.3 tron uname -v = `(uname -v) 2>/dev/null || echo unknown` 1478 1.1.1.3 tron 1479 1.1.1.3 tron /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1480 1.1.1.3 tron /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1481 1.1.1.3 tron 1482 1.1.1.3 tron /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1483 1.1.1.3 tron /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1484 1.1.1.3 tron /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1485 1.1.1.3 tron /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` 1486 1.1.1.3 tron /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1487 1.1.1.3 tron /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1488 1.1.1.3 tron /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1489 1.1.1.3 tron 1490 1.1.1.3 tron _ASUNAME 1491 1.1.1.3 tron 1492 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1493 1.1.1.3 tron for as_dir in $PATH 1494 1.1.1.3 tron do 1495 1.1.1.3 tron IFS=$as_save_IFS 1496 1.1.1.3 tron test -z "$as_dir" && as_dir=. 1497 1.1.1.3 tron $as_echo "PATH: $as_dir" 1498 1.1.1.3 tron done 1499 1.1.1.3 tron IFS=$as_save_IFS 1500 1.1.1.3 tron 1501 1.1.1.3 tron } >&5 1502 1.1.1.3 tron 1503 1.1.1.3 tron cat >&5 <<_ACEOF 1504 1.1.1.3 tron 1505 1.1.1.3 tron 1506 1.1.1.3 tron ## ----------- ## 1507 1.1.1.3 tron ## Core tests. ## 1508 1.1.1.3 tron ## ----------- ## 1509 1.1.1.3 tron 1510 1.1.1.3 tron _ACEOF 1511 1.1.1.3 tron 1512 1.1.1.3 tron 1513 1.1.1.3 tron # Keep a trace of the command line. 1514 1.1.1.3 tron # Strip out --no-create and --no-recursion so they do not pile up. 1515 1.1.1.3 tron # Strip out --silent because we don't want to record it for future runs. 1516 1.1.1.3 tron # Also quote any args containing shell meta-characters. 1517 1.1.1.3 tron # Make two passes to allow for proper duplicate-argument suppression. 1518 1.1.1.3 tron ac_configure_args= 1519 1.1.1.3 tron ac_configure_args0= 1520 1.1.1.3 tron ac_configure_args1= 1521 1.1.1.3 tron ac_must_keep_next=false 1522 1.1.1.3 tron for ac_pass in 1 2 1523 1.1.1.3 tron do 1524 1.1.1.3 tron for ac_arg 1525 1.1.1.3 tron do 1526 1.1.1.3 tron case $ac_arg in 1527 1.1.1.3 tron -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1528 1.1.1.3 tron -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1529 1.1.1.3 tron | -silent | --silent | --silen | --sile | --sil) 1530 1.1.1.3 tron continue ;; 1531 1.1.1.3 tron *\'*) 1532 1.1.1.3 tron ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1533 1.1.1.3 tron esac 1534 1.1.1.3 tron case $ac_pass in 1535 1.1.1.3 tron 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1536 1.1.1.3 tron 2) 1537 1.1.1.3 tron as_fn_append ac_configure_args1 " '$ac_arg'" 1538 1.1.1.3 tron if test $ac_must_keep_next = true; then 1539 1.1.1.3 tron ac_must_keep_next=false # Got value, back to normal. 1540 1.1.1.3 tron else 1541 1.1.1.3 tron case $ac_arg in 1542 1.1.1.3 tron *=* | --config-cache | -C | -disable-* | --disable-* \ 1543 1.1.1.3 tron | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1544 1.1.1.3 tron | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1545 1.1.1.3 tron | -with-* | --with-* | -without-* | --without-* | --x) 1546 1.1.1.3 tron case "$ac_configure_args0 " in 1547 1.1.1.3 tron "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1548 1.1.1.3 tron esac 1549 1.1.1.3 tron ;; 1550 1.1.1.3 tron -* ) ac_must_keep_next=true ;; 1551 1.1.1.3 tron esac 1552 1.1.1.3 tron fi 1553 1.1.1.3 tron as_fn_append ac_configure_args " '$ac_arg'" 1554 1.1.1.3 tron ;; 1555 1.1.1.3 tron esac 1556 1.1.1.3 tron done 1557 1.1.1.3 tron done 1558 1.1.1.3 tron { ac_configure_args0=; unset ac_configure_args0;} 1559 1.1.1.3 tron { ac_configure_args1=; unset ac_configure_args1;} 1560 1.1.1.3 tron 1561 1.1.1.3 tron # When interrupted or exit'd, cleanup temporary files, and complete 1562 1.1.1.3 tron # config.log. We remove comments because anyway the quotes in there 1563 1.1.1.3 tron # would cause problems or look ugly. 1564 1.1.1.3 tron # WARNING: Use '\'' to represent an apostrophe within the trap. 1565 1.1.1.3 tron # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. 1566 1.1.1.3 tron trap 'exit_status=$? 1567 1.1.1.3 tron # Save into config.log some information that might help in debugging. 1568 1.1.1.3 tron { 1569 1.1.1.3 tron echo 1570 1.1.1.3 tron 1571 1.1.1.4 christos $as_echo "## ---------------- ## 1572 1.1.1.3 tron ## Cache variables. ## 1573 1.1.1.4 christos ## ---------------- ##" 1574 1.1.1.3 tron echo 1575 1.1.1.3 tron # The following way of writing the cache mishandles newlines in values, 1576 1.1.1.3 tron ( 1577 1.1.1.3 tron for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1578 1.1.1.3 tron eval ac_val=\$$ac_var 1579 1.1.1.3 tron case $ac_val in #( 1580 1.1.1.3 tron *${as_nl}*) 1581 1.1.1.3 tron case $ac_var in #( 1582 1.1.1.3 tron *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1583 1.1.1.3 tron $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1584 1.1.1.3 tron esac 1585 1.1.1.3 tron case $ac_var in #( 1586 1.1.1.3 tron _ | IFS | as_nl) ;; #( 1587 1.1.1.3 tron BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1588 1.1.1.3 tron *) { eval $ac_var=; unset $ac_var;} ;; 1589 1.1.1.3 tron esac ;; 1590 1.1.1.3 tron esac 1591 1.1.1.3 tron done 1592 1.1.1.3 tron (set) 2>&1 | 1593 1.1.1.3 tron case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1594 1.1.1.3 tron *${as_nl}ac_space=\ *) 1595 1.1.1.3 tron sed -n \ 1596 1.1.1.3 tron "s/'\''/'\''\\\\'\'''\''/g; 1597 1.1.1.3 tron s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p" 1598 1.1.1.3 tron ;; #( 1599 1.1.1.3 tron *) 1600 1.1.1.3 tron sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 1601 1.1.1.3 tron ;; 1602 1.1.1.3 tron esac | 1603 1.1.1.3 tron sort 1604 1.1.1.3 tron ) 1605 1.1.1.3 tron echo 1606 1.1.1.3 tron 1607 1.1.1.4 christos $as_echo "## ----------------- ## 1608 1.1.1.3 tron ## Output variables. ## 1609 1.1.1.4 christos ## ----------------- ##" 1610 1.1.1.3 tron echo 1611 1.1.1.3 tron for ac_var in $ac_subst_vars 1612 1.1.1.3 tron do 1613 1.1.1.3 tron eval ac_val=\$$ac_var 1614 1.1.1.3 tron case $ac_val in 1615 1.1.1.3 tron *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1616 1.1.1.3 tron esac 1617 1.1.1.3 tron $as_echo "$ac_var='\''$ac_val'\''" 1618 1.1.1.3 tron done | sort 1619 1.1.1.3 tron echo 1620 1.1.1.3 tron 1621 1.1.1.3 tron if test -n "$ac_subst_files"; then 1622 1.1.1.4 christos $as_echo "## ------------------- ## 1623 1.1.1.3 tron ## File substitutions. ## 1624 1.1.1.4 christos ## ------------------- ##" 1625 1.1.1.3 tron echo 1626 1.1.1.3 tron for ac_var in $ac_subst_files 1627 1.1.1.3 tron do 1628 1.1.1.3 tron eval ac_val=\$$ac_var 1629 1.1.1.3 tron case $ac_val in 1630 1.1.1.3 tron *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1631 1.1.1.3 tron esac 1632 1.1.1.3 tron $as_echo "$ac_var='\''$ac_val'\''" 1633 1.1.1.3 tron done | sort 1634 1.1.1.3 tron echo 1635 1.1.1.3 tron fi 1636 1.1.1.3 tron 1637 1.1.1.3 tron if test -s confdefs.h; then 1638 1.1.1.4 christos $as_echo "## ----------- ## 1639 1.1.1.3 tron ## confdefs.h. ## 1640 1.1.1.4 christos ## ----------- ##" 1641 1.1.1.3 tron echo 1642 1.1.1.3 tron cat confdefs.h 1643 1.1.1.3 tron echo 1644 1.1.1.3 tron fi 1645 1.1.1.3 tron test "$ac_signal" != 0 && 1646 1.1.1.3 tron $as_echo "$as_me: caught signal $ac_signal" 1647 1.1.1.3 tron $as_echo "$as_me: exit $exit_status" 1648 1.1.1.3 tron } >&5 1649 1.1.1.3 tron rm -f core *.core core.conftest.* && 1650 1.1.1.3 tron rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1651 1.1.1.3 tron exit $exit_status 1652 1.1.1.3 tron ' 0 1653 1.1.1.3 tron for ac_signal in 1 2 13 15; do 1654 1.1.1.3 tron trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1655 1.1.1.3 tron done 1656 1.1.1.3 tron ac_signal=0 1657 1.1.1.3 tron 1658 1.1.1.3 tron # confdefs.h avoids OS command line length limits that DEFS can exceed. 1659 1.1.1.3 tron rm -f -r conftest* confdefs.h 1660 1.1.1.3 tron 1661 1.1.1.3 tron $as_echo "/* confdefs.h */" > confdefs.h 1662 1.1.1.3 tron 1663 1.1.1.3 tron # Predefined preprocessor variables. 1664 1.1.1.3 tron 1665 1.1.1.3 tron cat >>confdefs.h <<_ACEOF 1666 1.1.1.3 tron #define PACKAGE_NAME "$PACKAGE_NAME" 1667 1.1.1.3 tron _ACEOF 1668 1.1.1.3 tron 1669 1.1.1.3 tron cat >>confdefs.h <<_ACEOF 1670 1.1.1.3 tron #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1671 1.1.1.3 tron _ACEOF 1672 1.1.1.3 tron 1673 1.1.1.3 tron cat >>confdefs.h <<_ACEOF 1674 1.1.1.3 tron #define PACKAGE_VERSION "$PACKAGE_VERSION" 1675 1.1.1.3 tron _ACEOF 1676 1.1.1.3 tron 1677 1.1.1.3 tron cat >>confdefs.h <<_ACEOF 1678 1.1.1.3 tron #define PACKAGE_STRING "$PACKAGE_STRING" 1679 1.1.1.3 tron _ACEOF 1680 1.1.1.3 tron 1681 1.1.1.3 tron cat >>confdefs.h <<_ACEOF 1682 1.1.1.3 tron #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1683 1.1.1.3 tron _ACEOF 1684 1.1.1.3 tron 1685 1.1.1.3 tron cat >>confdefs.h <<_ACEOF 1686 1.1.1.3 tron #define PACKAGE_URL "$PACKAGE_URL" 1687 1.1.1.3 tron _ACEOF 1688 1.1.1.3 tron 1689 1.1.1.3 tron 1690 1.1.1.3 tron # Let the site file select an alternate cache file if it wants to. 1691 1.1.1.3 tron # Prefer an explicitly selected file to automatically selected ones. 1692 1.1.1.3 tron ac_site_file1=NONE 1693 1.1.1.3 tron ac_site_file2=NONE 1694 1.1.1.3 tron if test -n "$CONFIG_SITE"; then 1695 1.1.1.4 christos # We do not want a PATH search for config.site. 1696 1.1.1.4 christos case $CONFIG_SITE in #(( 1697 1.1.1.4 christos -*) ac_site_file1=./$CONFIG_SITE;; 1698 1.1.1.4 christos */*) ac_site_file1=$CONFIG_SITE;; 1699 1.1.1.4 christos *) ac_site_file1=./$CONFIG_SITE;; 1700 1.1.1.4 christos esac 1701 1.1.1.3 tron elif test "x$prefix" != xNONE; then 1702 1.1.1.3 tron ac_site_file1=$prefix/share/config.site 1703 1.1.1.3 tron ac_site_file2=$prefix/etc/config.site 1704 1.1.1.3 tron else 1705 1.1.1.3 tron ac_site_file1=$ac_default_prefix/share/config.site 1706 1.1.1.3 tron ac_site_file2=$ac_default_prefix/etc/config.site 1707 1.1 lukem fi 1708 1.1.1.3 tron for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1709 1.1.1.3 tron do 1710 1.1.1.3 tron test "x$ac_site_file" = xNONE && continue 1711 1.1.1.3 tron if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1712 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1713 1.1.1.3 tron $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1714 1.1.1.3 tron sed 's/^/| /' "$ac_site_file" >&5 1715 1.1.1.4 christos . "$ac_site_file" \ 1716 1.1.1.4 christos || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1717 1.1.1.4 christos $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1718 1.1.1.4 christos as_fn_error $? "failed to load site script $ac_site_file 1719 1.1.1.4 christos See \`config.log' for more details" "$LINENO" 5; } 1720 1.1 lukem fi 1721 1.1 lukem done 1722 1.1 lukem 1723 1.1 lukem if test -r "$cache_file"; then 1724 1.1.1.3 tron # Some versions of bash will fail to source /dev/null (special files 1725 1.1.1.3 tron # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1726 1.1.1.3 tron if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1727 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1728 1.1.1.3 tron $as_echo "$as_me: loading cache $cache_file" >&6;} 1729 1.1.1.3 tron case $cache_file in 1730 1.1.1.3 tron [\\/]* | ?:[\\/]* ) . "$cache_file";; 1731 1.1.1.3 tron *) . "./$cache_file";; 1732 1.1.1.3 tron esac 1733 1.1.1.3 tron fi 1734 1.1 lukem else 1735 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1736 1.1.1.3 tron $as_echo "$as_me: creating cache $cache_file" >&6;} 1737 1.1.1.3 tron >$cache_file 1738 1.1.1.3 tron fi 1739 1.1.1.3 tron 1740 1.1.1.3 tron # Check that the precious variables saved in the cache have kept the same 1741 1.1.1.3 tron # value. 1742 1.1.1.3 tron ac_cache_corrupted=false 1743 1.1.1.3 tron for ac_var in $ac_precious_vars; do 1744 1.1.1.3 tron eval ac_old_set=\$ac_cv_env_${ac_var}_set 1745 1.1.1.3 tron eval ac_new_set=\$ac_env_${ac_var}_set 1746 1.1.1.3 tron eval ac_old_val=\$ac_cv_env_${ac_var}_value 1747 1.1.1.3 tron eval ac_new_val=\$ac_env_${ac_var}_value 1748 1.1.1.3 tron case $ac_old_set,$ac_new_set in 1749 1.1.1.3 tron set,) 1750 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1751 1.1.1.3 tron $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1752 1.1.1.3 tron ac_cache_corrupted=: ;; 1753 1.1.1.3 tron ,set) 1754 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1755 1.1.1.3 tron $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1756 1.1.1.3 tron ac_cache_corrupted=: ;; 1757 1.1.1.3 tron ,);; 1758 1.1.1.3 tron *) 1759 1.1.1.3 tron if test "x$ac_old_val" != "x$ac_new_val"; then 1760 1.1.1.3 tron # differences in whitespace do not lead to failure. 1761 1.1.1.3 tron ac_old_val_w=`echo x $ac_old_val` 1762 1.1.1.3 tron ac_new_val_w=`echo x $ac_new_val` 1763 1.1.1.3 tron if test "$ac_old_val_w" != "$ac_new_val_w"; then 1764 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1765 1.1.1.3 tron $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1766 1.1.1.3 tron ac_cache_corrupted=: 1767 1.1.1.3 tron else 1768 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1769 1.1.1.3 tron $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1770 1.1.1.3 tron eval $ac_var=\$ac_old_val 1771 1.1.1.3 tron fi 1772 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1773 1.1.1.3 tron $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1774 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1775 1.1.1.3 tron $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1776 1.1.1.3 tron fi;; 1777 1.1.1.3 tron esac 1778 1.1.1.3 tron # Pass precious variables to config.status. 1779 1.1.1.3 tron if test "$ac_new_set" = set; then 1780 1.1.1.3 tron case $ac_new_val in 1781 1.1.1.3 tron *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1782 1.1.1.3 tron *) ac_arg=$ac_var=$ac_new_val ;; 1783 1.1.1.3 tron esac 1784 1.1.1.3 tron case " $ac_configure_args " in 1785 1.1.1.3 tron *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1786 1.1.1.3 tron *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1787 1.1.1.3 tron esac 1788 1.1.1.3 tron fi 1789 1.1.1.3 tron done 1790 1.1.1.3 tron if $ac_cache_corrupted; then 1791 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1792 1.1.1.3 tron $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1793 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1794 1.1.1.3 tron $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1795 1.1.1.4 christos as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1796 1.1.1.3 tron fi 1797 1.1.1.3 tron ## -------------------- ## 1798 1.1.1.3 tron ## Main body of script. ## 1799 1.1.1.3 tron ## -------------------- ## 1800 1.1 lukem 1801 1.1 lukem ac_ext=c 1802 1.1 lukem ac_cpp='$CPP $CPPFLAGS' 1803 1.1.1.3 tron ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1804 1.1.1.3 tron ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1805 1.1.1.3 tron ac_compiler_gnu=$ac_cv_c_compiler_gnu 1806 1.1.1.3 tron 1807 1.1.1.3 tron 1808 1.1.1.3 tron # $OpenLDAP$ 1809 1.1 lukem 1810 1.1 lukem 1811 1.1 lukem 1812 1.1 lukem NEO_VERSION=2.0 1813 1.1 lukem NEO_MAJOR_VERSION=2 1814 1.1 lukem NEO_MINOR_VERSION=0 1815 1.1 lukem VERSION=${NEO_VERSION} 1816 1.1 lukem 1817 1.1 lukem if test "${prefix}" = "NONE"; then 1818 1.1 lukem prefix=/usr/local 1819 1.1 lukem fi 1820 1.1 lukem if test "${exec_prefix}" = "NONE"; then 1821 1.1 lukem exec_prefix=$prefix 1822 1.1 lukem fi 1823 1.1 lukem 1824 1.1.1.3 tron # Check whether --enable-gcc was given. 1825 1.1.1.3 tron if test "${enable_gcc+set}" = set; then : 1826 1.1.1.3 tron enableval=$enable_gcc; neo_ok=$enableval 1827 1.1 lukem else 1828 1.1 lukem neo_ok=no 1829 1.1 lukem fi 1830 1.1 lukem 1831 1.1 lukem if test "$neo_ok" = "yes"; then 1832 1.1.1.3 tron ac_ext=c 1833 1.1.1.3 tron ac_cpp='$CPP $CPPFLAGS' 1834 1.1.1.3 tron ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1835 1.1.1.3 tron ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1836 1.1.1.3 tron ac_compiler_gnu=$ac_cv_c_compiler_gnu 1837 1.1.1.3 tron if test -n "$ac_tool_prefix"; then 1838 1.1.1.3 tron # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1839 1.1.1.3 tron set dummy ${ac_tool_prefix}gcc; ac_word=$2 1840 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1841 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 1842 1.1.1.4 christos if ${ac_cv_prog_CC+:} false; then : 1843 1.1.1.3 tron $as_echo_n "(cached) " >&6 1844 1.1.1.3 tron else 1845 1.1.1.3 tron if test -n "$CC"; then 1846 1.1.1.3 tron ac_cv_prog_CC="$CC" # Let the user override the test. 1847 1.1.1.3 tron else 1848 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1849 1.1.1.3 tron for as_dir in $PATH 1850 1.1.1.3 tron do 1851 1.1.1.3 tron IFS=$as_save_IFS 1852 1.1.1.3 tron test -z "$as_dir" && as_dir=. 1853 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 1854 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1855 1.1.1.3 tron ac_cv_prog_CC="${ac_tool_prefix}gcc" 1856 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1857 1.1.1.3 tron break 2 1858 1.1.1.3 tron fi 1859 1.1.1.3 tron done 1860 1.1.1.3 tron done 1861 1.1.1.3 tron IFS=$as_save_IFS 1862 1.1.1.3 tron 1863 1.1.1.3 tron fi 1864 1.1.1.3 tron fi 1865 1.1.1.3 tron CC=$ac_cv_prog_CC 1866 1.1.1.3 tron if test -n "$CC"; then 1867 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1868 1.1.1.3 tron $as_echo "$CC" >&6; } 1869 1.1.1.3 tron else 1870 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1871 1.1.1.3 tron $as_echo "no" >&6; } 1872 1.1.1.3 tron fi 1873 1.1.1.3 tron 1874 1.1.1.3 tron 1875 1.1.1.3 tron fi 1876 1.1.1.3 tron if test -z "$ac_cv_prog_CC"; then 1877 1.1.1.3 tron ac_ct_CC=$CC 1878 1.1.1.3 tron # Extract the first word of "gcc", so it can be a program name with args. 1879 1.1 lukem set dummy gcc; ac_word=$2 1880 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1881 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 1882 1.1.1.4 christos if ${ac_cv_prog_ac_ct_CC+:} false; then : 1883 1.1.1.3 tron $as_echo_n "(cached) " >&6 1884 1.1.1.3 tron else 1885 1.1.1.3 tron if test -n "$ac_ct_CC"; then 1886 1.1.1.3 tron ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1887 1.1.1.3 tron else 1888 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1889 1.1.1.3 tron for as_dir in $PATH 1890 1.1.1.3 tron do 1891 1.1.1.3 tron IFS=$as_save_IFS 1892 1.1.1.3 tron test -z "$as_dir" && as_dir=. 1893 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 1894 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1895 1.1.1.3 tron ac_cv_prog_ac_ct_CC="gcc" 1896 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1897 1.1.1.3 tron break 2 1898 1.1.1.3 tron fi 1899 1.1.1.3 tron done 1900 1.1.1.3 tron done 1901 1.1.1.3 tron IFS=$as_save_IFS 1902 1.1.1.3 tron 1903 1.1.1.3 tron fi 1904 1.1.1.3 tron fi 1905 1.1.1.3 tron ac_ct_CC=$ac_cv_prog_ac_ct_CC 1906 1.1.1.3 tron if test -n "$ac_ct_CC"; then 1907 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 1908 1.1.1.3 tron $as_echo "$ac_ct_CC" >&6; } 1909 1.1.1.3 tron else 1910 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1911 1.1.1.3 tron $as_echo "no" >&6; } 1912 1.1.1.3 tron fi 1913 1.1.1.3 tron 1914 1.1.1.3 tron if test "x$ac_ct_CC" = x; then 1915 1.1.1.3 tron CC="" 1916 1.1.1.3 tron else 1917 1.1.1.3 tron case $cross_compiling:$ac_tool_warned in 1918 1.1.1.3 tron yes:) 1919 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 1920 1.1.1.3 tron $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 1921 1.1.1.3 tron ac_tool_warned=yes ;; 1922 1.1.1.3 tron esac 1923 1.1.1.3 tron CC=$ac_ct_CC 1924 1.1.1.3 tron fi 1925 1.1.1.3 tron else 1926 1.1.1.3 tron CC="$ac_cv_prog_CC" 1927 1.1.1.3 tron fi 1928 1.1.1.3 tron 1929 1.1.1.3 tron if test -z "$CC"; then 1930 1.1.1.3 tron if test -n "$ac_tool_prefix"; then 1931 1.1.1.3 tron # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1932 1.1.1.3 tron set dummy ${ac_tool_prefix}cc; ac_word=$2 1933 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1934 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 1935 1.1.1.4 christos if ${ac_cv_prog_CC+:} false; then : 1936 1.1.1.3 tron $as_echo_n "(cached) " >&6 1937 1.1 lukem else 1938 1.1 lukem if test -n "$CC"; then 1939 1.1 lukem ac_cv_prog_CC="$CC" # Let the user override the test. 1940 1.1 lukem else 1941 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1942 1.1.1.3 tron for as_dir in $PATH 1943 1.1.1.3 tron do 1944 1.1.1.3 tron IFS=$as_save_IFS 1945 1.1.1.3 tron test -z "$as_dir" && as_dir=. 1946 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 1947 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1948 1.1.1.3 tron ac_cv_prog_CC="${ac_tool_prefix}cc" 1949 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1950 1.1.1.3 tron break 2 1951 1.1.1.3 tron fi 1952 1.1.1.3 tron done 1953 1.1 lukem done 1954 1.1.1.3 tron IFS=$as_save_IFS 1955 1.1.1.3 tron 1956 1.1 lukem fi 1957 1.1 lukem fi 1958 1.1.1.3 tron CC=$ac_cv_prog_CC 1959 1.1 lukem if test -n "$CC"; then 1960 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 1961 1.1.1.3 tron $as_echo "$CC" >&6; } 1962 1.1 lukem else 1963 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1964 1.1.1.3 tron $as_echo "no" >&6; } 1965 1.1 lukem fi 1966 1.1 lukem 1967 1.1.1.3 tron 1968 1.1.1.3 tron fi 1969 1.1.1.3 tron fi 1970 1.1 lukem if test -z "$CC"; then 1971 1.1 lukem # Extract the first word of "cc", so it can be a program name with args. 1972 1.1 lukem set dummy cc; ac_word=$2 1973 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1974 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 1975 1.1.1.4 christos if ${ac_cv_prog_CC+:} false; then : 1976 1.1.1.3 tron $as_echo_n "(cached) " >&6 1977 1.1 lukem else 1978 1.1 lukem if test -n "$CC"; then 1979 1.1 lukem ac_cv_prog_CC="$CC" # Let the user override the test. 1980 1.1 lukem else 1981 1.1 lukem ac_prog_rejected=no 1982 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1983 1.1.1.3 tron for as_dir in $PATH 1984 1.1.1.3 tron do 1985 1.1.1.3 tron IFS=$as_save_IFS 1986 1.1.1.3 tron test -z "$as_dir" && as_dir=. 1987 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 1988 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1989 1.1.1.3 tron if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1990 1.1.1.3 tron ac_prog_rejected=yes 1991 1.1.1.3 tron continue 1992 1.1.1.3 tron fi 1993 1.1.1.3 tron ac_cv_prog_CC="cc" 1994 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1995 1.1.1.3 tron break 2 1996 1.1.1.3 tron fi 1997 1.1.1.3 tron done 1998 1.1 lukem done 1999 1.1.1.3 tron IFS=$as_save_IFS 2000 1.1.1.3 tron 2001 1.1 lukem if test $ac_prog_rejected = yes; then 2002 1.1 lukem # We found a bogon in the path, so make sure we never use it. 2003 1.1 lukem set dummy $ac_cv_prog_CC 2004 1.1 lukem shift 2005 1.1.1.3 tron if test $# != 0; then 2006 1.1 lukem # We chose a different compiler from the bogus one. 2007 1.1 lukem # However, it has the same basename, so the bogon will be chosen 2008 1.1 lukem # first if we set CC to just the basename; use the full file name. 2009 1.1 lukem shift 2010 1.1.1.3 tron ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 2011 1.1 lukem fi 2012 1.1 lukem fi 2013 1.1 lukem fi 2014 1.1 lukem fi 2015 1.1.1.3 tron CC=$ac_cv_prog_CC 2016 1.1 lukem if test -n "$CC"; then 2017 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2018 1.1.1.3 tron $as_echo "$CC" >&6; } 2019 1.1 lukem else 2020 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2021 1.1.1.3 tron $as_echo "no" >&6; } 2022 1.1.1.3 tron fi 2023 1.1.1.3 tron 2024 1.1.1.3 tron 2025 1.1 lukem fi 2026 1.1.1.3 tron if test -z "$CC"; then 2027 1.1.1.3 tron if test -n "$ac_tool_prefix"; then 2028 1.1.1.3 tron for ac_prog in cl.exe 2029 1.1.1.3 tron do 2030 1.1.1.3 tron # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2031 1.1.1.3 tron set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2032 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2033 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 2034 1.1.1.4 christos if ${ac_cv_prog_CC+:} false; then : 2035 1.1.1.3 tron $as_echo_n "(cached) " >&6 2036 1.1.1.3 tron else 2037 1.1.1.3 tron if test -n "$CC"; then 2038 1.1.1.3 tron ac_cv_prog_CC="$CC" # Let the user override the test. 2039 1.1.1.3 tron else 2040 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2041 1.1.1.3 tron for as_dir in $PATH 2042 1.1.1.3 tron do 2043 1.1.1.3 tron IFS=$as_save_IFS 2044 1.1.1.3 tron test -z "$as_dir" && as_dir=. 2045 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 2046 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2047 1.1.1.3 tron ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 2048 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2049 1.1.1.3 tron break 2 2050 1.1.1.3 tron fi 2051 1.1.1.3 tron done 2052 1.1.1.3 tron done 2053 1.1.1.3 tron IFS=$as_save_IFS 2054 1.1.1.3 tron 2055 1.1.1.3 tron fi 2056 1.1.1.3 tron fi 2057 1.1.1.3 tron CC=$ac_cv_prog_CC 2058 1.1.1.3 tron if test -n "$CC"; then 2059 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 2060 1.1.1.3 tron $as_echo "$CC" >&6; } 2061 1.1.1.3 tron else 2062 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2063 1.1.1.3 tron $as_echo "no" >&6; } 2064 1.1.1.3 tron fi 2065 1.1.1.3 tron 2066 1.1.1.3 tron 2067 1.1.1.3 tron test -n "$CC" && break 2068 1.1.1.3 tron done 2069 1.1.1.3 tron fi 2070 1.1.1.3 tron if test -z "$CC"; then 2071 1.1.1.3 tron ac_ct_CC=$CC 2072 1.1.1.3 tron for ac_prog in cl.exe 2073 1.1.1.3 tron do 2074 1.1.1.3 tron # Extract the first word of "$ac_prog", so it can be a program name with args. 2075 1.1.1.3 tron set dummy $ac_prog; ac_word=$2 2076 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2077 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 2078 1.1.1.4 christos if ${ac_cv_prog_ac_ct_CC+:} false; then : 2079 1.1.1.3 tron $as_echo_n "(cached) " >&6 2080 1.1.1.3 tron else 2081 1.1.1.3 tron if test -n "$ac_ct_CC"; then 2082 1.1.1.3 tron ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 2083 1.1.1.3 tron else 2084 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2085 1.1.1.3 tron for as_dir in $PATH 2086 1.1.1.3 tron do 2087 1.1.1.3 tron IFS=$as_save_IFS 2088 1.1.1.3 tron test -z "$as_dir" && as_dir=. 2089 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 2090 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2091 1.1.1.3 tron ac_cv_prog_ac_ct_CC="$ac_prog" 2092 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2093 1.1.1.3 tron break 2 2094 1.1.1.3 tron fi 2095 1.1.1.3 tron done 2096 1.1.1.3 tron done 2097 1.1.1.3 tron IFS=$as_save_IFS 2098 1.1.1.3 tron 2099 1.1.1.3 tron fi 2100 1.1.1.3 tron fi 2101 1.1.1.3 tron ac_ct_CC=$ac_cv_prog_ac_ct_CC 2102 1.1.1.3 tron if test -n "$ac_ct_CC"; then 2103 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 2104 1.1.1.3 tron $as_echo "$ac_ct_CC" >&6; } 2105 1.1.1.3 tron else 2106 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2107 1.1.1.3 tron $as_echo "no" >&6; } 2108 1.1.1.3 tron fi 2109 1.1.1.3 tron 2110 1.1.1.3 tron 2111 1.1.1.3 tron test -n "$ac_ct_CC" && break 2112 1.1.1.3 tron done 2113 1.1.1.3 tron 2114 1.1.1.3 tron if test "x$ac_ct_CC" = x; then 2115 1.1.1.3 tron CC="" 2116 1.1.1.3 tron else 2117 1.1.1.3 tron case $cross_compiling:$ac_tool_warned in 2118 1.1.1.3 tron yes:) 2119 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2120 1.1.1.3 tron $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2121 1.1.1.3 tron ac_tool_warned=yes ;; 2122 1.1.1.3 tron esac 2123 1.1.1.3 tron CC=$ac_ct_CC 2124 1.1.1.3 tron fi 2125 1.1.1.3 tron fi 2126 1.1.1.3 tron 2127 1.1.1.3 tron fi 2128 1.1.1.3 tron 2129 1.1.1.3 tron 2130 1.1.1.3 tron test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2131 1.1.1.3 tron $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2132 1.1.1.4 christos as_fn_error $? "no acceptable C compiler found in \$PATH 2133 1.1.1.4 christos See \`config.log' for more details" "$LINENO" 5; } 2134 1.1.1.3 tron 2135 1.1.1.3 tron # Provide some information about the compiler. 2136 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 2137 1.1.1.3 tron set X $ac_compile 2138 1.1.1.3 tron ac_compiler=$2 2139 1.1.1.3 tron for ac_option in --version -v -V -qversion; do 2140 1.1.1.3 tron { { ac_try="$ac_compiler $ac_option >&5" 2141 1.1.1.3 tron case "(($ac_try" in 2142 1.1.1.3 tron *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2143 1.1.1.3 tron *) ac_try_echo=$ac_try;; 2144 1.1.1.3 tron esac 2145 1.1.1.3 tron eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2146 1.1.1.3 tron $as_echo "$ac_try_echo"; } >&5 2147 1.1.1.3 tron (eval "$ac_compiler $ac_option >&5") 2>conftest.err 2148 1.1.1.3 tron ac_status=$? 2149 1.1.1.3 tron if test -s conftest.err; then 2150 1.1.1.3 tron sed '10a\ 2151 1.1.1.3 tron ... rest of stderr output deleted ... 2152 1.1.1.3 tron 10q' conftest.err >conftest.er1 2153 1.1.1.3 tron cat conftest.er1 >&5 2154 1.1.1.3 tron fi 2155 1.1.1.3 tron rm -f conftest.er1 conftest.err 2156 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2157 1.1.1.3 tron test $ac_status = 0; } 2158 1.1.1.3 tron done 2159 1.1.1.3 tron 2160 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2161 1.1.1.3 tron /* end confdefs.h. */ 2162 1.1.1.3 tron 2163 1.1.1.3 tron int 2164 1.1.1.3 tron main () 2165 1.1.1.3 tron { 2166 1.1.1.3 tron 2167 1.1.1.3 tron ; 2168 1.1.1.3 tron return 0; 2169 1.1.1.3 tron } 2170 1.1.1.3 tron _ACEOF 2171 1.1.1.3 tron ac_clean_files_save=$ac_clean_files 2172 1.1.1.3 tron ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" 2173 1.1.1.3 tron # Try to create an executable without -o first, disregard a.out. 2174 1.1.1.3 tron # It will help us diagnose broken compilers, and finding out an intuition 2175 1.1.1.3 tron # of exeext. 2176 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 2177 1.1.1.3 tron $as_echo_n "checking whether the C compiler works... " >&6; } 2178 1.1.1.3 tron ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2179 1.1.1.3 tron 2180 1.1.1.3 tron # The possible output files: 2181 1.1.1.3 tron ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*" 2182 1.1.1.3 tron 2183 1.1.1.3 tron ac_rmfiles= 2184 1.1.1.3 tron for ac_file in $ac_files 2185 1.1.1.3 tron do 2186 1.1.1.3 tron case $ac_file in 2187 1.1.1.3 tron *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2188 1.1.1.3 tron * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2189 1.1.1.3 tron esac 2190 1.1.1.3 tron done 2191 1.1.1.3 tron rm -f $ac_rmfiles 2192 1.1.1.3 tron 2193 1.1.1.3 tron if { { ac_try="$ac_link_default" 2194 1.1.1.3 tron case "(($ac_try" in 2195 1.1.1.3 tron *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2196 1.1.1.3 tron *) ac_try_echo=$ac_try;; 2197 1.1.1.3 tron esac 2198 1.1.1.3 tron eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2199 1.1.1.3 tron $as_echo "$ac_try_echo"; } >&5 2200 1.1.1.3 tron (eval "$ac_link_default") 2>&5 2201 1.1.1.3 tron ac_status=$? 2202 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2203 1.1.1.3 tron test $ac_status = 0; }; then : 2204 1.1.1.3 tron # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2205 1.1.1.3 tron # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' 2206 1.1.1.3 tron # in a Makefile. We should not override ac_cv_exeext if it was cached, 2207 1.1.1.3 tron # so that the user can short-circuit this test for compilers unknown to 2208 1.1.1.3 tron # Autoconf. 2209 1.1.1.3 tron for ac_file in $ac_files '' 2210 1.1.1.3 tron do 2211 1.1.1.3 tron test -f "$ac_file" || continue 2212 1.1.1.3 tron case $ac_file in 2213 1.1.1.3 tron *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) 2214 1.1.1.3 tron ;; 2215 1.1.1.3 tron [ab].out ) 2216 1.1.1.3 tron # We found the default executable, but exeext='' is most 2217 1.1.1.3 tron # certainly right. 2218 1.1.1.3 tron break;; 2219 1.1.1.3 tron *.* ) 2220 1.1.1.3 tron if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2221 1.1.1.3 tron then :; else 2222 1.1.1.3 tron ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2223 1.1.1.3 tron fi 2224 1.1.1.3 tron # We set ac_cv_exeext here because the later test for it is not 2225 1.1.1.3 tron # safe: cross compilers may not add the suffix if given an `-o' 2226 1.1.1.3 tron # argument, so we may need to know it at that point already. 2227 1.1.1.3 tron # Even if this section looks crufty: it has the advantage of 2228 1.1.1.3 tron # actually working. 2229 1.1.1.3 tron break;; 2230 1.1.1.3 tron * ) 2231 1.1.1.3 tron break;; 2232 1.1.1.3 tron esac 2233 1.1.1.3 tron done 2234 1.1.1.3 tron test "$ac_cv_exeext" = no && ac_cv_exeext= 2235 1.1 lukem 2236 1.1 lukem else 2237 1.1.1.3 tron ac_file='' 2238 1.1 lukem fi 2239 1.1.1.3 tron if test -z "$ac_file"; then : 2240 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2241 1.1.1.3 tron $as_echo "no" >&6; } 2242 1.1.1.3 tron $as_echo "$as_me: failed program was:" >&5 2243 1.1.1.3 tron sed 's/^/| /' conftest.$ac_ext >&5 2244 1.1.1.3 tron 2245 1.1.1.3 tron { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2246 1.1.1.3 tron $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2247 1.1.1.4 christos as_fn_error 77 "C compiler cannot create executables 2248 1.1.1.4 christos See \`config.log' for more details" "$LINENO" 5; } 2249 1.1 lukem else 2250 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 2251 1.1.1.3 tron $as_echo "yes" >&6; } 2252 1.1 lukem fi 2253 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 2254 1.1.1.3 tron $as_echo_n "checking for C compiler default output file name... " >&6; } 2255 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 2256 1.1.1.3 tron $as_echo "$ac_file" >&6; } 2257 1.1.1.3 tron ac_exeext=$ac_cv_exeext 2258 1.1.1.3 tron 2259 1.1.1.3 tron rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out 2260 1.1.1.3 tron ac_clean_files=$ac_clean_files_save 2261 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 2262 1.1.1.3 tron $as_echo_n "checking for suffix of executables... " >&6; } 2263 1.1.1.3 tron if { { ac_try="$ac_link" 2264 1.1.1.3 tron case "(($ac_try" in 2265 1.1.1.3 tron *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2266 1.1.1.3 tron *) ac_try_echo=$ac_try;; 2267 1.1.1.3 tron esac 2268 1.1.1.3 tron eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2269 1.1.1.3 tron $as_echo "$ac_try_echo"; } >&5 2270 1.1.1.3 tron (eval "$ac_link") 2>&5 2271 1.1.1.3 tron ac_status=$? 2272 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2273 1.1.1.3 tron test $ac_status = 0; }; then : 2274 1.1.1.3 tron # If both `conftest.exe' and `conftest' are `present' (well, observable) 2275 1.1.1.3 tron # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2276 1.1.1.3 tron # work properly (i.e., refer to `conftest.exe'), while it won't with 2277 1.1.1.3 tron # `rm'. 2278 1.1.1.3 tron for ac_file in conftest.exe conftest conftest.*; do 2279 1.1.1.3 tron test -f "$ac_file" || continue 2280 1.1.1.3 tron case $ac_file in 2281 1.1.1.3 tron *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;; 2282 1.1.1.3 tron *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2283 1.1.1.3 tron break;; 2284 1.1.1.3 tron * ) break;; 2285 1.1.1.3 tron esac 2286 1.1.1.3 tron done 2287 1.1.1.3 tron else 2288 1.1.1.3 tron { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2289 1.1.1.3 tron $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2290 1.1.1.4 christos as_fn_error $? "cannot compute suffix of executables: cannot compile and link 2291 1.1.1.4 christos See \`config.log' for more details" "$LINENO" 5; } 2292 1.1.1.3 tron fi 2293 1.1.1.3 tron rm -f conftest conftest$ac_cv_exeext 2294 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 2295 1.1.1.3 tron $as_echo "$ac_cv_exeext" >&6; } 2296 1.1.1.3 tron 2297 1.1.1.3 tron rm -f conftest.$ac_ext 2298 1.1.1.3 tron EXEEXT=$ac_cv_exeext 2299 1.1.1.3 tron ac_exeext=$EXEEXT 2300 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2301 1.1.1.3 tron /* end confdefs.h. */ 2302 1.1.1.3 tron #include <stdio.h> 2303 1.1.1.3 tron int 2304 1.1.1.3 tron main () 2305 1.1.1.3 tron { 2306 1.1.1.3 tron FILE *f = fopen ("conftest.out", "w"); 2307 1.1.1.3 tron return ferror (f) || fclose (f) != 0; 2308 1.1.1.3 tron 2309 1.1.1.3 tron ; 2310 1.1.1.3 tron return 0; 2311 1.1.1.3 tron } 2312 1.1.1.3 tron _ACEOF 2313 1.1.1.3 tron ac_clean_files="$ac_clean_files conftest.out" 2314 1.1.1.3 tron # Check that the compiler produces executables we can run. If not, either 2315 1.1.1.3 tron # the compiler is broken, or we cross compile. 2316 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 2317 1.1.1.3 tron $as_echo_n "checking whether we are cross compiling... " >&6; } 2318 1.1.1.3 tron if test "$cross_compiling" != yes; then 2319 1.1.1.3 tron { { ac_try="$ac_link" 2320 1.1.1.3 tron case "(($ac_try" in 2321 1.1.1.3 tron *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2322 1.1.1.3 tron *) ac_try_echo=$ac_try;; 2323 1.1.1.3 tron esac 2324 1.1.1.3 tron eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2325 1.1.1.3 tron $as_echo "$ac_try_echo"; } >&5 2326 1.1.1.3 tron (eval "$ac_link") 2>&5 2327 1.1.1.3 tron ac_status=$? 2328 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2329 1.1.1.3 tron test $ac_status = 0; } 2330 1.1.1.3 tron if { ac_try='./conftest$ac_cv_exeext' 2331 1.1.1.3 tron { { case "(($ac_try" in 2332 1.1.1.3 tron *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2333 1.1.1.3 tron *) ac_try_echo=$ac_try;; 2334 1.1.1.3 tron esac 2335 1.1.1.3 tron eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2336 1.1.1.3 tron $as_echo "$ac_try_echo"; } >&5 2337 1.1.1.3 tron (eval "$ac_try") 2>&5 2338 1.1.1.3 tron ac_status=$? 2339 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2340 1.1.1.3 tron test $ac_status = 0; }; }; then 2341 1.1.1.3 tron cross_compiling=no 2342 1.1.1.3 tron else 2343 1.1.1.3 tron if test "$cross_compiling" = maybe; then 2344 1.1.1.3 tron cross_compiling=yes 2345 1.1.1.3 tron else 2346 1.1.1.3 tron { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2347 1.1.1.3 tron $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2348 1.1.1.4 christos as_fn_error $? "cannot run C compiled programs. 2349 1.1.1.3 tron If you meant to cross compile, use \`--host'. 2350 1.1.1.4 christos See \`config.log' for more details" "$LINENO" 5; } 2351 1.1.1.3 tron fi 2352 1.1 lukem fi 2353 1.1 lukem fi 2354 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 2355 1.1.1.3 tron $as_echo "$cross_compiling" >&6; } 2356 1.1 lukem 2357 1.1.1.3 tron rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out 2358 1.1.1.3 tron ac_clean_files=$ac_clean_files_save 2359 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 2360 1.1.1.3 tron $as_echo_n "checking for suffix of object files... " >&6; } 2361 1.1.1.4 christos if ${ac_cv_objext+:} false; then : 2362 1.1.1.3 tron $as_echo_n "(cached) " >&6 2363 1.1.1.3 tron else 2364 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2365 1.1.1.3 tron /* end confdefs.h. */ 2366 1.1 lukem 2367 1.1.1.3 tron int 2368 1.1.1.3 tron main () 2369 1.1.1.3 tron { 2370 1.1.1.3 tron 2371 1.1.1.3 tron ; 2372 1.1.1.3 tron return 0; 2373 1.1.1.3 tron } 2374 1.1.1.3 tron _ACEOF 2375 1.1.1.3 tron rm -f conftest.o conftest.obj 2376 1.1.1.3 tron if { { ac_try="$ac_compile" 2377 1.1.1.3 tron case "(($ac_try" in 2378 1.1.1.3 tron *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2379 1.1.1.3 tron *) ac_try_echo=$ac_try;; 2380 1.1.1.3 tron esac 2381 1.1.1.3 tron eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" 2382 1.1.1.3 tron $as_echo "$ac_try_echo"; } >&5 2383 1.1.1.3 tron (eval "$ac_compile") 2>&5 2384 1.1.1.3 tron ac_status=$? 2385 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 2386 1.1.1.3 tron test $ac_status = 0; }; then : 2387 1.1.1.3 tron for ac_file in conftest.o conftest.obj conftest.*; do 2388 1.1.1.3 tron test -f "$ac_file" || continue; 2389 1.1.1.3 tron case $ac_file in 2390 1.1.1.3 tron *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;; 2391 1.1.1.3 tron *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2392 1.1.1.3 tron break;; 2393 1.1.1.3 tron esac 2394 1.1.1.3 tron done 2395 1.1 lukem else 2396 1.1.1.3 tron $as_echo "$as_me: failed program was:" >&5 2397 1.1.1.3 tron sed 's/^/| /' conftest.$ac_ext >&5 2398 1.1.1.3 tron 2399 1.1.1.3 tron { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 2400 1.1.1.3 tron $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 2401 1.1.1.4 christos as_fn_error $? "cannot compute suffix of object files: cannot compile 2402 1.1.1.4 christos See \`config.log' for more details" "$LINENO" 5; } 2403 1.1.1.3 tron fi 2404 1.1.1.3 tron rm -f conftest.$ac_cv_objext conftest.$ac_ext 2405 1.1.1.3 tron fi 2406 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 2407 1.1.1.3 tron $as_echo "$ac_cv_objext" >&6; } 2408 1.1.1.3 tron OBJEXT=$ac_cv_objext 2409 1.1.1.3 tron ac_objext=$OBJEXT 2410 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 2411 1.1.1.3 tron $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } 2412 1.1.1.4 christos if ${ac_cv_c_compiler_gnu+:} false; then : 2413 1.1.1.3 tron $as_echo_n "(cached) " >&6 2414 1.1.1.3 tron else 2415 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2416 1.1.1.3 tron /* end confdefs.h. */ 2417 1.1.1.3 tron 2418 1.1.1.3 tron int 2419 1.1.1.3 tron main () 2420 1.1.1.3 tron { 2421 1.1.1.3 tron #ifndef __GNUC__ 2422 1.1.1.3 tron choke me 2423 1.1 lukem #endif 2424 1.1.1.3 tron 2425 1.1.1.3 tron ; 2426 1.1.1.3 tron return 0; 2427 1.1.1.3 tron } 2428 1.1.1.3 tron _ACEOF 2429 1.1.1.3 tron if ac_fn_c_try_compile "$LINENO"; then : 2430 1.1.1.3 tron ac_compiler_gnu=yes 2431 1.1 lukem else 2432 1.1.1.3 tron ac_compiler_gnu=no 2433 1.1 lukem fi 2434 1.1.1.3 tron rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2435 1.1.1.3 tron ac_cv_c_compiler_gnu=$ac_compiler_gnu 2436 1.1 lukem 2437 1.1.1.3 tron fi 2438 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 2439 1.1.1.3 tron $as_echo "$ac_cv_c_compiler_gnu" >&6; } 2440 1.1.1.3 tron if test $ac_compiler_gnu = yes; then 2441 1.1 lukem GCC=yes 2442 1.1 lukem else 2443 1.1 lukem GCC= 2444 1.1 lukem fi 2445 1.1.1.3 tron ac_test_CFLAGS=${CFLAGS+set} 2446 1.1.1.3 tron ac_save_CFLAGS=$CFLAGS 2447 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 2448 1.1.1.3 tron $as_echo_n "checking whether $CC accepts -g... " >&6; } 2449 1.1.1.4 christos if ${ac_cv_prog_cc_g+:} false; then : 2450 1.1.1.3 tron $as_echo_n "(cached) " >&6 2451 1.1 lukem else 2452 1.1.1.3 tron ac_save_c_werror_flag=$ac_c_werror_flag 2453 1.1.1.3 tron ac_c_werror_flag=yes 2454 1.1.1.3 tron ac_cv_prog_cc_g=no 2455 1.1.1.3 tron CFLAGS="-g" 2456 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2457 1.1.1.3 tron /* end confdefs.h. */ 2458 1.1.1.3 tron 2459 1.1.1.3 tron int 2460 1.1.1.3 tron main () 2461 1.1.1.3 tron { 2462 1.1.1.3 tron 2463 1.1.1.3 tron ; 2464 1.1.1.3 tron return 0; 2465 1.1.1.3 tron } 2466 1.1.1.3 tron _ACEOF 2467 1.1.1.3 tron if ac_fn_c_try_compile "$LINENO"; then : 2468 1.1 lukem ac_cv_prog_cc_g=yes 2469 1.1 lukem else 2470 1.1.1.3 tron CFLAGS="" 2471 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2472 1.1.1.3 tron /* end confdefs.h. */ 2473 1.1.1.3 tron 2474 1.1.1.3 tron int 2475 1.1.1.3 tron main () 2476 1.1.1.3 tron { 2477 1.1.1.3 tron 2478 1.1.1.3 tron ; 2479 1.1.1.3 tron return 0; 2480 1.1.1.3 tron } 2481 1.1.1.3 tron _ACEOF 2482 1.1.1.3 tron if ac_fn_c_try_compile "$LINENO"; then : 2483 1.1 lukem 2484 1.1.1.3 tron else 2485 1.1.1.3 tron ac_c_werror_flag=$ac_save_c_werror_flag 2486 1.1.1.3 tron CFLAGS="-g" 2487 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2488 1.1.1.3 tron /* end confdefs.h. */ 2489 1.1.1.3 tron 2490 1.1.1.3 tron int 2491 1.1.1.3 tron main () 2492 1.1.1.3 tron { 2493 1.1.1.3 tron 2494 1.1.1.3 tron ; 2495 1.1.1.3 tron return 0; 2496 1.1.1.3 tron } 2497 1.1.1.3 tron _ACEOF 2498 1.1.1.3 tron if ac_fn_c_try_compile "$LINENO"; then : 2499 1.1.1.3 tron ac_cv_prog_cc_g=yes 2500 1.1 lukem fi 2501 1.1.1.3 tron rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2502 1.1.1.3 tron fi 2503 1.1.1.3 tron rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2504 1.1.1.3 tron fi 2505 1.1.1.3 tron rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2506 1.1.1.3 tron ac_c_werror_flag=$ac_save_c_werror_flag 2507 1.1.1.3 tron fi 2508 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 2509 1.1.1.3 tron $as_echo "$ac_cv_prog_cc_g" >&6; } 2510 1.1 lukem if test "$ac_test_CFLAGS" = set; then 2511 1.1.1.3 tron CFLAGS=$ac_save_CFLAGS 2512 1.1 lukem elif test $ac_cv_prog_cc_g = yes; then 2513 1.1 lukem if test "$GCC" = yes; then 2514 1.1 lukem CFLAGS="-g -O2" 2515 1.1 lukem else 2516 1.1 lukem CFLAGS="-g" 2517 1.1 lukem fi 2518 1.1 lukem else 2519 1.1 lukem if test "$GCC" = yes; then 2520 1.1 lukem CFLAGS="-O2" 2521 1.1 lukem else 2522 1.1 lukem CFLAGS= 2523 1.1 lukem fi 2524 1.1 lukem fi 2525 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 2526 1.1.1.3 tron $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } 2527 1.1.1.4 christos if ${ac_cv_prog_cc_c89+:} false; then : 2528 1.1.1.3 tron $as_echo_n "(cached) " >&6 2529 1.1.1.3 tron else 2530 1.1.1.3 tron ac_cv_prog_cc_c89=no 2531 1.1.1.3 tron ac_save_CC=$CC 2532 1.1.1.3 tron cat confdefs.h - <<_ACEOF >conftest.$ac_ext 2533 1.1.1.3 tron /* end confdefs.h. */ 2534 1.1.1.3 tron #include <stdarg.h> 2535 1.1.1.3 tron #include <stdio.h> 2536 1.1.1.4 christos struct stat; 2537 1.1.1.3 tron /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2538 1.1.1.3 tron struct buf { int x; }; 2539 1.1.1.3 tron FILE * (*rcsopen) (struct buf *, struct stat *, int); 2540 1.1.1.3 tron static char *e (p, i) 2541 1.1.1.3 tron char **p; 2542 1.1.1.3 tron int i; 2543 1.1.1.3 tron { 2544 1.1.1.3 tron return p[i]; 2545 1.1.1.3 tron } 2546 1.1.1.3 tron static char *f (char * (*g) (char **, int), char **p, ...) 2547 1.1.1.3 tron { 2548 1.1.1.3 tron char *s; 2549 1.1.1.3 tron va_list v; 2550 1.1.1.3 tron va_start (v,p); 2551 1.1.1.3 tron s = g (p, va_arg (v,int)); 2552 1.1.1.3 tron va_end (v); 2553 1.1.1.3 tron return s; 2554 1.1.1.3 tron } 2555 1.1.1.3 tron 2556 1.1.1.3 tron /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2557 1.1.1.3 tron function prototypes and stuff, but not '\xHH' hex character constants. 2558 1.1.1.3 tron These don't provoke an error unfortunately, instead are silently treated 2559 1.1.1.3 tron as 'x'. The following induces an error, until -std is added to get 2560 1.1.1.3 tron proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2561 1.1.1.3 tron array size at least. It's necessary to write '\x00'==0 to get something 2562 1.1.1.3 tron that's true only with -std. */ 2563 1.1.1.3 tron int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2564 1.1.1.3 tron 2565 1.1.1.3 tron /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters 2566 1.1.1.3 tron inside strings and character constants. */ 2567 1.1.1.3 tron #define FOO(x) 'x' 2568 1.1.1.3 tron int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; 2569 1.1.1.3 tron 2570 1.1.1.3 tron int test (int i, double x); 2571 1.1.1.3 tron struct s1 {int (*f) (int a);}; 2572 1.1.1.3 tron struct s2 {int (*f) (double a);}; 2573 1.1.1.3 tron int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2574 1.1.1.3 tron int argc; 2575 1.1.1.3 tron char **argv; 2576 1.1.1.3 tron int 2577 1.1.1.3 tron main () 2578 1.1.1.3 tron { 2579 1.1.1.3 tron return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2580 1.1.1.3 tron ; 2581 1.1.1.3 tron return 0; 2582 1.1.1.3 tron } 2583 1.1.1.3 tron _ACEOF 2584 1.1.1.3 tron for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2585 1.1.1.3 tron -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2586 1.1.1.3 tron do 2587 1.1.1.3 tron CC="$ac_save_CC $ac_arg" 2588 1.1.1.3 tron if ac_fn_c_try_compile "$LINENO"; then : 2589 1.1.1.3 tron ac_cv_prog_cc_c89=$ac_arg 2590 1.1.1.3 tron fi 2591 1.1.1.3 tron rm -f core conftest.err conftest.$ac_objext 2592 1.1.1.3 tron test "x$ac_cv_prog_cc_c89" != "xno" && break 2593 1.1.1.3 tron done 2594 1.1.1.3 tron rm -f conftest.$ac_ext 2595 1.1.1.3 tron CC=$ac_save_CC 2596 1.1.1.3 tron 2597 1.1.1.3 tron fi 2598 1.1.1.3 tron # AC_CACHE_VAL 2599 1.1.1.3 tron case "x$ac_cv_prog_cc_c89" in 2600 1.1.1.3 tron x) 2601 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 2602 1.1.1.3 tron $as_echo "none needed" >&6; } ;; 2603 1.1.1.3 tron xno) 2604 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 2605 1.1.1.3 tron $as_echo "unsupported" >&6; } ;; 2606 1.1.1.3 tron *) 2607 1.1.1.3 tron CC="$CC $ac_cv_prog_cc_c89" 2608 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 2609 1.1.1.3 tron $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; 2610 1.1.1.3 tron esac 2611 1.1.1.3 tron if test "x$ac_cv_prog_cc_c89" != xno; then : 2612 1.1.1.3 tron 2613 1.1.1.3 tron fi 2614 1.1.1.3 tron 2615 1.1.1.3 tron ac_ext=c 2616 1.1.1.3 tron ac_cpp='$CPP $CPPFLAGS' 2617 1.1.1.3 tron ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2618 1.1.1.3 tron ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2619 1.1.1.3 tron ac_compiler_gnu=$ac_cv_c_compiler_gnu 2620 1.1 lukem 2621 1.1 lukem else 2622 1.1 lukem CC=${CC-cc} 2623 1.1 lukem 2624 1.1 lukem fi 2625 1.1 lukem 2626 1.1 lukem ac_aux_dir= 2627 1.1.1.3 tron for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do 2628 1.1.1.4 christos if test -f "$ac_dir/install-sh"; then 2629 1.1.1.4 christos ac_aux_dir=$ac_dir 2630 1.1.1.4 christos ac_install_sh="$ac_aux_dir/install-sh -c" 2631 1.1.1.4 christos break 2632 1.1.1.4 christos elif test -f "$ac_dir/install.sh"; then 2633 1.1.1.4 christos ac_aux_dir=$ac_dir 2634 1.1.1.4 christos ac_install_sh="$ac_aux_dir/install.sh -c" 2635 1.1.1.4 christos break 2636 1.1.1.4 christos elif test -f "$ac_dir/shtool"; then 2637 1.1.1.4 christos ac_aux_dir=$ac_dir 2638 1.1.1.4 christos ac_install_sh="$ac_aux_dir/shtool install -c" 2639 1.1.1.4 christos break 2640 1.1.1.4 christos fi 2641 1.1 lukem done 2642 1.1 lukem if test -z "$ac_aux_dir"; then 2643 1.1.1.4 christos as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 2644 1.1 lukem fi 2645 1.1.1.3 tron 2646 1.1.1.3 tron # These three variables are undocumented and unsupported, 2647 1.1.1.3 tron # and are intended to be withdrawn in a future Autoconf release. 2648 1.1.1.3 tron # They can cause serious problems if a builder's source tree is in a directory 2649 1.1.1.3 tron # whose full name contains unusual characters. 2650 1.1.1.3 tron ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var. 2651 1.1.1.3 tron ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var. 2652 1.1.1.3 tron ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var. 2653 1.1.1.3 tron 2654 1.1 lukem 2655 1.1 lukem # Find a good install program. We prefer a C program (faster), 2656 1.1 lukem # so one script is as good as another. But avoid the broken or 2657 1.1 lukem # incompatible versions: 2658 1.1 lukem # SysV /etc/install, /usr/sbin/install 2659 1.1 lukem # SunOS /usr/etc/install 2660 1.1 lukem # IRIX /sbin/install 2661 1.1 lukem # AIX /bin/install 2662 1.1.1.3 tron # AmigaOS /C/install, which installs bootblocks on floppy discs 2663 1.1 lukem # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2664 1.1 lukem # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2665 1.1 lukem # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2666 1.1.1.3 tron # OS/2's system install, which has a completely different semantic 2667 1.1 lukem # ./install, which can be erroneously created by make from ./install.sh. 2668 1.1.1.3 tron # Reject install programs that cannot install multiple files. 2669 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 2670 1.1.1.3 tron $as_echo_n "checking for a BSD-compatible install... " >&6; } 2671 1.1 lukem if test -z "$INSTALL"; then 2672 1.1.1.4 christos if ${ac_cv_path_install+:} false; then : 2673 1.1.1.3 tron $as_echo_n "(cached) " >&6 2674 1.1 lukem else 2675 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2676 1.1.1.3 tron for as_dir in $PATH 2677 1.1.1.3 tron do 2678 1.1.1.3 tron IFS=$as_save_IFS 2679 1.1.1.3 tron test -z "$as_dir" && as_dir=. 2680 1.1 lukem # Account for people who put trailing slashes in PATH elements. 2681 1.1.1.3 tron case $as_dir/ in #(( 2682 1.1.1.3 tron ./ | .// | /[cC]/* | \ 2683 1.1.1.3 tron /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2684 1.1.1.3 tron ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ 2685 1.1.1.3 tron /usr/ucb/* ) ;; 2686 1.1.1.3 tron *) 2687 1.1.1.3 tron # OSF1 and SCO ODT 3.0 have their own names for install. 2688 1.1.1.3 tron # Don't use installbsd from OSF since it installs stuff as root 2689 1.1.1.3 tron # by default. 2690 1.1.1.3 tron for ac_prog in ginstall scoinst install; do 2691 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 2692 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2693 1.1 lukem if test $ac_prog = install && 2694 1.1.1.3 tron grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2695 1.1 lukem # AIX install. It has an incompatible calling convention. 2696 1.1 lukem : 2697 1.1.1.3 tron elif test $ac_prog = install && 2698 1.1.1.3 tron grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2699 1.1.1.3 tron # program-specific install script used by HP pwplus--don't use. 2700 1.1.1.3 tron : 2701 1.1 lukem else 2702 1.1.1.3 tron rm -rf conftest.one conftest.two conftest.dir 2703 1.1.1.3 tron echo one > conftest.one 2704 1.1.1.3 tron echo two > conftest.two 2705 1.1.1.3 tron mkdir conftest.dir 2706 1.1.1.3 tron if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" && 2707 1.1.1.3 tron test -s conftest.one && test -s conftest.two && 2708 1.1.1.3 tron test -s conftest.dir/conftest.one && 2709 1.1.1.3 tron test -s conftest.dir/conftest.two 2710 1.1.1.3 tron then 2711 1.1.1.3 tron ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2712 1.1.1.3 tron break 3 2713 1.1.1.3 tron fi 2714 1.1 lukem fi 2715 1.1 lukem fi 2716 1.1 lukem done 2717 1.1.1.3 tron done 2718 1.1.1.3 tron ;; 2719 1.1.1.3 tron esac 2720 1.1.1.3 tron 2721 1.1 lukem done 2722 1.1.1.3 tron IFS=$as_save_IFS 2723 1.1.1.3 tron 2724 1.1.1.3 tron rm -rf conftest.one conftest.two conftest.dir 2725 1.1 lukem 2726 1.1 lukem fi 2727 1.1 lukem if test "${ac_cv_path_install+set}" = set; then 2728 1.1.1.3 tron INSTALL=$ac_cv_path_install 2729 1.1 lukem else 2730 1.1.1.3 tron # As a last resort, use the slow shell script. Don't cache a 2731 1.1.1.3 tron # value for INSTALL within a source directory, because that will 2732 1.1 lukem # break other packages using the cache if that directory is 2733 1.1.1.3 tron # removed, or if the value is a relative name. 2734 1.1.1.3 tron INSTALL=$ac_install_sh 2735 1.1 lukem fi 2736 1.1 lukem fi 2737 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 2738 1.1.1.3 tron $as_echo "$INSTALL" >&6; } 2739 1.1 lukem 2740 1.1 lukem # Use test -z because SunOS4 sh mishandles braces in ${var-val}. 2741 1.1 lukem # It thinks the first close brace ends the variable substitution. 2742 1.1 lukem test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2743 1.1 lukem 2744 1.1.1.3 tron test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 2745 1.1 lukem 2746 1.1 lukem test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2747 1.1 lukem 2748 1.1.1.3 tron if test -n "$ac_tool_prefix"; then 2749 1.1.1.3 tron # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. 2750 1.1.1.3 tron set dummy ${ac_tool_prefix}ranlib; ac_word=$2 2751 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2752 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 2753 1.1.1.4 christos if ${ac_cv_prog_RANLIB+:} false; then : 2754 1.1.1.3 tron $as_echo_n "(cached) " >&6 2755 1.1 lukem else 2756 1.1 lukem if test -n "$RANLIB"; then 2757 1.1 lukem ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. 2758 1.1 lukem else 2759 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2760 1.1.1.3 tron for as_dir in $PATH 2761 1.1.1.3 tron do 2762 1.1.1.3 tron IFS=$as_save_IFS 2763 1.1.1.3 tron test -z "$as_dir" && as_dir=. 2764 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 2765 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2766 1.1.1.3 tron ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" 2767 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2768 1.1.1.3 tron break 2 2769 1.1.1.3 tron fi 2770 1.1.1.3 tron done 2771 1.1 lukem done 2772 1.1.1.3 tron IFS=$as_save_IFS 2773 1.1.1.3 tron 2774 1.1 lukem fi 2775 1.1 lukem fi 2776 1.1.1.3 tron RANLIB=$ac_cv_prog_RANLIB 2777 1.1 lukem if test -n "$RANLIB"; then 2778 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 2779 1.1.1.3 tron $as_echo "$RANLIB" >&6; } 2780 1.1.1.3 tron else 2781 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2782 1.1.1.3 tron $as_echo "no" >&6; } 2783 1.1.1.3 tron fi 2784 1.1.1.3 tron 2785 1.1.1.3 tron 2786 1.1.1.3 tron fi 2787 1.1.1.3 tron if test -z "$ac_cv_prog_RANLIB"; then 2788 1.1.1.3 tron ac_ct_RANLIB=$RANLIB 2789 1.1.1.3 tron # Extract the first word of "ranlib", so it can be a program name with args. 2790 1.1.1.3 tron set dummy ranlib; ac_word=$2 2791 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 2792 1.1.1.3 tron $as_echo_n "checking for $ac_word... " >&6; } 2793 1.1.1.4 christos if ${ac_cv_prog_ac_ct_RANLIB+:} false; then : 2794 1.1.1.3 tron $as_echo_n "(cached) " >&6 2795 1.1.1.3 tron else 2796 1.1.1.3 tron if test -n "$ac_ct_RANLIB"; then 2797 1.1.1.3 tron ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test. 2798 1.1.1.3 tron else 2799 1.1.1.3 tron as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2800 1.1.1.3 tron for as_dir in $PATH 2801 1.1.1.3 tron do 2802 1.1.1.3 tron IFS=$as_save_IFS 2803 1.1.1.3 tron test -z "$as_dir" && as_dir=. 2804 1.1.1.3 tron for ac_exec_ext in '' $ac_executable_extensions; do 2805 1.1.1.4 christos if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2806 1.1.1.3 tron ac_cv_prog_ac_ct_RANLIB="ranlib" 2807 1.1.1.3 tron $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 2808 1.1.1.3 tron break 2 2809 1.1.1.3 tron fi 2810 1.1.1.3 tron done 2811 1.1.1.3 tron done 2812 1.1.1.3 tron IFS=$as_save_IFS 2813 1.1.1.3 tron 2814 1.1.1.3 tron fi 2815 1.1.1.3 tron fi 2816 1.1.1.3 tron ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB 2817 1.1.1.3 tron if test -n "$ac_ct_RANLIB"; then 2818 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 2819 1.1.1.3 tron $as_echo "$ac_ct_RANLIB" >&6; } 2820 1.1.1.3 tron else 2821 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 2822 1.1.1.3 tron $as_echo "no" >&6; } 2823 1.1.1.3 tron fi 2824 1.1.1.3 tron 2825 1.1.1.3 tron if test "x$ac_ct_RANLIB" = x; then 2826 1.1.1.3 tron RANLIB=":" 2827 1.1.1.3 tron else 2828 1.1.1.3 tron case $cross_compiling:$ac_tool_warned in 2829 1.1.1.3 tron yes:) 2830 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 2831 1.1.1.3 tron $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} 2832 1.1.1.3 tron ac_tool_warned=yes ;; 2833 1.1.1.3 tron esac 2834 1.1.1.3 tron RANLIB=$ac_ct_RANLIB 2835 1.1.1.3 tron fi 2836 1.1 lukem else 2837 1.1.1.3 tron RANLIB="$ac_cv_prog_RANLIB" 2838 1.1 lukem fi 2839 1.1 lukem 2840 1.1 lukem 2841 1.1 lukem if test ! -f $exec_prefix/lib/tclConfig.sh 2842 1.1 lukem then 2843 1.1.1.4 christos as_fn_error $? "Tcl must be installed first" "$LINENO" 5 2844 1.1 lukem fi 2845 1.1 lukem 2846 1.1 lukem . $exec_prefix/lib/tclConfig.sh 2847 1.1 lukem 2848 1.1 lukem if test ! -f $exec_prefix/lib/tclxConfig.sh 2849 1.1 lukem then 2850 1.1.1.4 christos as_fn_error $? "Extended Tcl must be installed first" "$LINENO" 5 2851 1.1 lukem fi 2852 1.1 lukem . $exec_prefix/lib/tclxConfig.sh 2853 1.1 lukem 2854 1.1 lukem 2855 1.1 lukem #-------------------------------------------------------------------- 2856 1.1 lukem # See if there was a command-line option for where Tk is; if 2857 1.1 lukem # not, assume that its top-level directory is a sibling of ours. 2858 1.1 lukem #-------------------------------------------------------------------- 2859 1.1 lukem 2860 1.1.1.3 tron 2861 1.1.1.3 tron # Check whether --with-tk was given. 2862 1.1.1.3 tron if test "${with_tk+set}" = set; then : 2863 1.1.1.3 tron withval=$with_tk; 2864 1.1 lukem else 2865 1.1 lukem with_tk=yes 2866 1.1 lukem fi 2867 1.1 lukem 2868 1.1 lukem 2869 1.1 lukem case "$with_tk" in 2870 1.1 lukem yes) 2871 1.1 lukem if test -f $exec_prefix/lib/tkConfig.sh && 2872 1.1 lukem test -f $exec_prefix/lib/tkxConfig.sh 2873 1.1 lukem then 2874 1.1 lukem : 2875 1.1 lukem else 2876 1.1.1.4 christos as_fn_error $? "Tk does not appear to be installed at $exec_prefix" "$LINENO" 5 2877 1.1 lukem fi 2878 1.1 lukem ;; 2879 1.1 lukem no) ;; 2880 1.1.1.4 christos *) as_fn_error $? "Tk cannot be specified and must be in $exec_prefix" "$LINENO" 5 2881 1.1 lukem ;; 2882 1.1 lukem esac 2883 1.1 lukem 2884 1.1.1.3 tron 2885 1.1.1.3 tron # Check whether --with-x was given. 2886 1.1.1.3 tron if test "${with_x+set}" = set; then : 2887 1.1.1.3 tron withval=$with_x; 2888 1.1 lukem fi 2889 1.1 lukem 2890 1.1 lukem if test "$with_x" = "no" 2891 1.1 lukem then 2892 1.1 lukem with_tk=no 2893 1.1 lukem fi 2894 1.1 lukem 2895 1.1 lukem if test "$with_tk" != "no" 2896 1.1 lukem then 2897 1.1 lukem LDAPWISH=ldapwish 2898 1.1 lukem . $exec_prefix/lib/tkConfig.sh 2899 1.1 lukem . $exec_prefix/lib/tkxConfig.sh 2900 1.1 lukem fi 2901 1.1 lukem 2902 1.1 lukem 2903 1.1 lukem 2904 1.1 lukem 2905 1.1 lukem 2906 1.1 lukem 2907 1.1 lukem 2908 1.1 lukem #-------------------------------------------------------------------- 2909 1.1 lukem # Read in configuration information generated by Tcl for shared 2910 1.1 lukem # libraries, and arrange for it to be substituted into our 2911 1.1 lukem # Makefile. 2912 1.1 lukem #-------------------------------------------------------------------- 2913 1.1 lukem 2914 1.1 lukem CC=$TCL_CC 2915 1.1 lukem SHLIB_CFLAGS=$TCL_SHLIB_CFLAGS 2916 1.1 lukem SHLIB_LD=$TCL_SHLIB_LD 2917 1.1 lukem SHLIB_LD_LIBS=$TCL_SHLIB_LD_LIBS 2918 1.1 lukem SHLIB_SUFFIX=$TCL_SHLIB_SUFFIX 2919 1.1 lukem SHLIB_VERSION=$TCL_SHLIB_VERSION 2920 1.1 lukem DL_LIBS=$TCL_DL_LIBS 2921 1.1 lukem LD_FLAGS=$TCL_LD_FLAGS 2922 1.1 lukem NEO_LD_SEARCH_FLAGS=$TCL_LD_SEARCH_FLAGS 2923 1.1 lukem 2924 1.1 lukem eval "NEO_SHARED_LIB_FILE=libldaptcl${TCL_SHARED_LIB_SUFFIX}" 2925 1.1 lukem eval "NEO_UNSHARED_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}" 2926 1.1 lukem 2927 1.1 lukem #-------------------------------------------------------------------- 2928 1.1 lukem # The statements below define a collection of symbols related to 2929 1.1 lukem # building libldap as a shared library instead of a static library. 2930 1.1 lukem #-------------------------------------------------------------------- 2931 1.1 lukem 2932 1.1 lukem # Warning: in order to use the following code for libldap and libdb versions, 2933 1.1 lukem # the VERSION shell variable is modified, and then is restored after. 2934 1.1 lukem 2935 1.1.1.3 tron # Check whether --enable-shared was given. 2936 1.1.1.3 tron if test "${enable_shared+set}" = set; then : 2937 1.1.1.3 tron enableval=$enable_shared; ok=$enableval 2938 1.1 lukem else 2939 1.1 lukem ok=no 2940 1.1 lukem fi 2941 1.1 lukem 2942 1.1 lukem if test "$ok" = "yes" && test "${SHLIB_SUFFIX}" != ""; then 2943 1.1 lukem NEO_SHLIB_CFLAGS="${SHLIB_CFLAGS}" 2944 1.1 lukem eval "NEO_LIB_FILE=libldaptcl${TCL_SHARED_LIB_SUFFIX}" 2945 1.1 lukem MAKE_LIB="\${SHLIB_LD} $TCL_LIB_HNAME -o ${NEO_LIB_FILE} \${OBJS} \${LDAP_LIBFLAGS}" 2946 1.1 lukem RANLIB=":" 2947 1.1 lukem else 2948 1.1 lukem NEO_SHLIB_CFLAGS="" 2949 1.1 lukem eval "NEO_LIB_FILE=libldaptcl${TCL_UNSHARED_LIB_SUFFIX}" 2950 1.1 lukem MAKE_LIB="ar cr ${NEO_LIB_FILE} \${OBJS}" 2951 1.1 lukem fi 2952 1.1 lukem 2953 1.1.1.3 tron 2954 1.1.1.3 tron # Check whether --with-ldap was given. 2955 1.1.1.3 tron if test "${with_ldap+set}" = set; then : 2956 1.1.1.3 tron withval=$with_ldap; neo_ldap=$withval 2957 1.1 lukem case $withval in 2958 1.1 lukem yes) ldapdir=/usr/local 2959 1.1 lukem ;; 2960 1.1 lukem no) ;; 2961 1.1 lukem *) ldapdir=$withval 2962 1.1 lukem neo_ldap=yes 2963 1.1 lukem ;; 2964 1.1 lukem esac 2965 1.1.1.3 tron 2966 1.1 lukem else 2967 1.1.1.3 tron 2968 1.1 lukem neo_ldap=yes 2969 1.1 lukem ldapdir=/usr/local 2970 1.1.1.3 tron 2971 1.1 lukem fi 2972 1.1 lukem 2973 1.1 lukem 2974 1.1 lukem ldapincdir=$ldapdir/include 2975 1.1.1.3 tron 2976 1.1.1.3 tron # Check whether --with-ldap-incdir was given. 2977 1.1.1.3 tron if test "${with_ldap_incdir+set}" = set; then : 2978 1.1.1.3 tron withval=$with_ldap_incdir; ldapincdir=$withval 2979 1.1 lukem fi 2980 1.1 lukem 2981 1.1 lukem 2982 1.1 lukem ldaplibdir=$ldapdir/lib 2983 1.1.1.3 tron 2984 1.1.1.3 tron # Check whether --with-ldap-libdir was given. 2985 1.1.1.3 tron if test "${with_ldap_libdir+set}" = set; then : 2986 1.1.1.3 tron withval=$with_ldap_libdir; ldaplibdir=$withval 2987 1.1 lukem fi 2988 1.1 lukem 2989 1.1 lukem 2990 1.1.1.3 tron 2991 1.1.1.3 tron # Check whether --with-ldap-libraries was given. 2992 1.1.1.3 tron if test "${with_ldap_libraries+set}" = set; then : 2993 1.1.1.3 tron withval=$with_ldap_libraries; ldaplibflags="-L$ldaplibdir $withval" 2994 1.1 lukem else 2995 1.1 lukem ldaplibflags="-L$ldaplibdir -lldap -llber" 2996 1.1 lukem fi 2997 1.1 lukem 2998 1.1 lukem 2999 1.1 lukem ldapinclude="-I$ldapincdir" 3000 1.1 lukem 3001 1.1 lukem ldapbuild=yes 3002 1.1 lukem 3003 1.1 lukem 3004 1.1 lukem 3005 1.1 lukem 3006 1.1 lukem 3007 1.1 lukem 3008 1.1 lukem 3009 1.1 lukem 3010 1.1 lukem VERSION=${NEO_VERSION} 3011 1.1 lukem # Note: in the following variable, it's important to use the absolute 3012 1.1 lukem # path name of the Tcl directory rather than "..": this is because 3013 1.1 lukem # AIX remembers this path and will attempt to use it at run-time to look 3014 1.1 lukem # up the Tcl library. 3015 1.1 lukem 3016 1.1 lukem if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then 3017 1.1 lukem NEO_BUILD_LIB_SPEC="-L`pwd` -lldaptcl${VERSION}" 3018 1.1 lukem NEO_LIB_SPEC="-L${exec_prefix}/lib -lldaptcl${VERSION}" 3019 1.1 lukem else 3020 1.1 lukem NEO_BUILD_LIB_SPEC="-L`pwd` -lldaptcl`echo ${VERSION} | tr -d .`" 3021 1.1 lukem NEO_LIB_SPEC="-L${exec_prefix}/lib -lldaptcl`echo ${VERSION} | tr -d .`" 3022 1.1 lukem fi 3023 1.1 lukem 3024 1.1 lukem 3025 1.1 lukem 3026 1.1 lukem 3027 1.1 lukem 3028 1.1 lukem 3029 1.1 lukem 3030 1.1 lukem 3031 1.1 lukem 3032 1.1 lukem 3033 1.1 lukem 3034 1.1 lukem 3035 1.1 lukem 3036 1.1 lukem 3037 1.1 lukem 3038 1.1 lukem 3039 1.1 lukem 3040 1.1 lukem 3041 1.1 lukem 3042 1.1 lukem 3043 1.1 lukem 3044 1.1 lukem 3045 1.1 lukem 3046 1.1 lukem 3047 1.1 lukem 3048 1.1 lukem 3049 1.1 lukem 3050 1.1 lukem 3051 1.1 lukem 3052 1.1 lukem 3053 1.1 lukem 3054 1.1 lukem 3055 1.1 lukem 3056 1.1 lukem 3057 1.1 lukem 3058 1.1.1.3 tron ac_config_files="$ac_config_files Makefile pkgIndex.tcl" 3059 1.1.1.3 tron 3060 1.1.1.3 tron cat >confcache <<\_ACEOF 3061 1.1 lukem # This file is a shell script that caches the results of configure 3062 1.1 lukem # tests run on this system so they can be shared between configure 3063 1.1.1.3 tron # scripts and configure runs, see configure's option --config-cache. 3064 1.1.1.3 tron # It is not useful on other systems. If it contains results you don't 3065 1.1.1.3 tron # want to keep, you may remove or edit it. 3066 1.1 lukem # 3067 1.1.1.3 tron # config.status only pays attention to the cache file if you give it 3068 1.1.1.3 tron # the --recheck option to rerun configure. 3069 1.1 lukem # 3070 1.1.1.3 tron # `ac_cv_env_foo' variables (set or unset) will be overridden when 3071 1.1.1.3 tron # loading this file, other *unset* `ac_cv_foo' will be assigned the 3072 1.1.1.3 tron # following values. 3073 1.1.1.3 tron 3074 1.1.1.3 tron _ACEOF 3075 1.1.1.3 tron 3076 1.1 lukem # The following way of writing the cache mishandles newlines in values, 3077 1.1 lukem # but we know of no workaround that is simple, portable, and efficient. 3078 1.1.1.3 tron # So, we kill variables containing newlines. 3079 1.1 lukem # Ultrix sh set writes to stderr and can't be redirected directly, 3080 1.1 lukem # and sets the high bit in the cache file unless we assign to the vars. 3081 1.1.1.3 tron ( 3082 1.1.1.3 tron for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 3083 1.1.1.3 tron eval ac_val=\$$ac_var 3084 1.1.1.3 tron case $ac_val in #( 3085 1.1.1.3 tron *${as_nl}*) 3086 1.1.1.3 tron case $ac_var in #( 3087 1.1.1.3 tron *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 3088 1.1.1.3 tron $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 3089 1.1.1.3 tron esac 3090 1.1.1.3 tron case $ac_var in #( 3091 1.1.1.3 tron _ | IFS | as_nl) ;; #( 3092 1.1.1.3 tron BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 3093 1.1.1.3 tron *) { eval $ac_var=; unset $ac_var;} ;; 3094 1.1.1.3 tron esac ;; 3095 1.1.1.3 tron esac 3096 1.1.1.3 tron done 3097 1.1.1.3 tron 3098 1.1.1.3 tron (set) 2>&1 | 3099 1.1.1.3 tron case $as_nl`(ac_space=' '; set) 2>&1` in #( 3100 1.1.1.3 tron *${as_nl}ac_space=\ *) 3101 1.1.1.3 tron # `set' does not quote correctly, so add quotes: double-quote 3102 1.1.1.3 tron # substitution turns \\\\ into \\, and sed turns \\ into \. 3103 1.1.1.3 tron sed -n \ 3104 1.1.1.3 tron "s/'/'\\\\''/g; 3105 1.1.1.3 tron s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 3106 1.1.1.3 tron ;; #( 3107 1.1.1.3 tron *) 3108 1.1.1.3 tron # `set' quotes correctly as required by POSIX, so do not add quotes. 3109 1.1.1.3 tron sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p" 3110 1.1.1.3 tron ;; 3111 1.1.1.3 tron esac | 3112 1.1.1.3 tron sort 3113 1.1.1.3 tron ) | 3114 1.1.1.3 tron sed ' 3115 1.1.1.3 tron /^ac_cv_env_/b end 3116 1.1.1.3 tron t clear 3117 1.1.1.3 tron :clear 3118 1.1.1.3 tron s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 3119 1.1.1.3 tron t end 3120 1.1.1.3 tron s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 3121 1.1.1.3 tron :end' >>confcache 3122 1.1.1.3 tron if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 3123 1.1.1.3 tron if test -w "$cache_file"; then 3124 1.1.1.4 christos if test "x$cache_file" != "x/dev/null"; then 3125 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 3126 1.1.1.3 tron $as_echo "$as_me: updating cache $cache_file" >&6;} 3127 1.1.1.4 christos if test ! -f "$cache_file" || test -h "$cache_file"; then 3128 1.1.1.4 christos cat confcache >"$cache_file" 3129 1.1.1.4 christos else 3130 1.1.1.4 christos case $cache_file in #( 3131 1.1.1.4 christos */* | ?:*) 3132 1.1.1.4 christos mv -f confcache "$cache_file"$$ && 3133 1.1.1.4 christos mv -f "$cache_file"$$ "$cache_file" ;; #( 3134 1.1.1.4 christos *) 3135 1.1.1.4 christos mv -f confcache "$cache_file" ;; 3136 1.1.1.4 christos esac 3137 1.1.1.4 christos fi 3138 1.1.1.4 christos fi 3139 1.1 lukem else 3140 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 3141 1.1.1.3 tron $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 3142 1.1 lukem fi 3143 1.1 lukem fi 3144 1.1 lukem rm -f confcache 3145 1.1 lukem 3146 1.1 lukem test "x$prefix" = xNONE && prefix=$ac_default_prefix 3147 1.1 lukem # Let make expand exec_prefix. 3148 1.1 lukem test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 3149 1.1 lukem 3150 1.1 lukem # Transform confdefs.h into DEFS. 3151 1.1 lukem # Protect against shell expansion while executing Makefile rules. 3152 1.1 lukem # Protect against Makefile macro expansion. 3153 1.1.1.3 tron # 3154 1.1.1.3 tron # If the first sed substitution is executed (which looks for macros that 3155 1.1.1.3 tron # take arguments), then branch to the quote section. Otherwise, 3156 1.1.1.3 tron # look for a macro that doesn't take arguments. 3157 1.1.1.3 tron ac_script=' 3158 1.1.1.3 tron :mline 3159 1.1.1.3 tron /\\$/{ 3160 1.1.1.3 tron N 3161 1.1.1.3 tron s,\\\n,, 3162 1.1.1.3 tron b mline 3163 1.1.1.3 tron } 3164 1.1.1.3 tron t clear 3165 1.1.1.3 tron :clear 3166 1.1.1.3 tron s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g 3167 1.1.1.3 tron t quote 3168 1.1.1.3 tron s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g 3169 1.1.1.3 tron t quote 3170 1.1.1.3 tron b any 3171 1.1.1.3 tron :quote 3172 1.1.1.3 tron s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g 3173 1.1.1.3 tron s/\[/\\&/g 3174 1.1.1.3 tron s/\]/\\&/g 3175 1.1.1.3 tron s/\$/$$/g 3176 1.1.1.3 tron H 3177 1.1.1.3 tron :any 3178 1.1.1.3 tron ${ 3179 1.1.1.3 tron g 3180 1.1.1.3 tron s/^\n// 3181 1.1.1.3 tron s/\n/ /g 3182 1.1.1.3 tron p 3183 1.1.1.3 tron } 3184 1.1.1.3 tron ' 3185 1.1.1.3 tron DEFS=`sed -n "$ac_script" confdefs.h` 3186 1.1.1.3 tron 3187 1.1.1.3 tron 3188 1.1.1.3 tron ac_libobjs= 3189 1.1.1.3 tron ac_ltlibobjs= 3190 1.1.1.4 christos U= 3191 1.1.1.3 tron for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 3192 1.1.1.3 tron # 1. Remove the extension, and $U if already installed. 3193 1.1.1.3 tron ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 3194 1.1.1.3 tron ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 3195 1.1.1.3 tron # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 3196 1.1.1.3 tron # will be set to the directory where LIBOBJS objects are built. 3197 1.1.1.3 tron as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 3198 1.1.1.3 tron as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 3199 1.1.1.3 tron done 3200 1.1.1.3 tron LIBOBJS=$ac_libobjs 3201 1.1.1.3 tron 3202 1.1.1.3 tron LTLIBOBJS=$ac_ltlibobjs 3203 1.1 lukem 3204 1.1 lukem 3205 1.1 lukem 3206 1.1.1.4 christos : "${CONFIG_STATUS=./config.status}" 3207 1.1.1.3 tron ac_write_fail=0 3208 1.1.1.3 tron ac_clean_files_save=$ac_clean_files 3209 1.1.1.3 tron ac_clean_files="$ac_clean_files $CONFIG_STATUS" 3210 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 3211 1.1.1.3 tron $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 3212 1.1.1.3 tron as_write_fail=0 3213 1.1.1.3 tron cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 3214 1.1.1.3 tron #! $SHELL 3215 1.1.1.3 tron # Generated by $as_me. 3216 1.1 lukem # Run this file to recreate the current configuration. 3217 1.1 lukem # Compiler output produced by configure, useful for debugging 3218 1.1.1.3 tron # configure, is in config.log if it exists. 3219 1.1 lukem 3220 1.1.1.3 tron debug=false 3221 1.1.1.3 tron ac_cs_recheck=false 3222 1.1.1.3 tron ac_cs_silent=false 3223 1.1.1.3 tron 3224 1.1.1.3 tron SHELL=\${CONFIG_SHELL-$SHELL} 3225 1.1.1.3 tron export SHELL 3226 1.1.1.3 tron _ASEOF 3227 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 3228 1.1.1.3 tron ## -------------------- ## 3229 1.1.1.3 tron ## M4sh Initialization. ## 3230 1.1.1.3 tron ## -------------------- ## 3231 1.1.1.3 tron 3232 1.1.1.3 tron # Be more Bourne compatible 3233 1.1.1.3 tron DUALCASE=1; export DUALCASE # for MKS sh 3234 1.1.1.3 tron if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 3235 1.1.1.3 tron emulate sh 3236 1.1.1.3 tron NULLCMD=: 3237 1.1.1.3 tron # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 3238 1.1.1.3 tron # is contrary to our usage. Disable this feature. 3239 1.1.1.3 tron alias -g '${1+"$@"}'='"$@"' 3240 1.1.1.3 tron setopt NO_GLOB_SUBST 3241 1.1.1.3 tron else 3242 1.1.1.3 tron case `(set -o) 2>/dev/null` in #( 3243 1.1.1.3 tron *posix*) : 3244 1.1.1.3 tron set -o posix ;; #( 3245 1.1.1.3 tron *) : 3246 1.1.1.3 tron ;; 3247 1.1.1.3 tron esac 3248 1.1.1.3 tron fi 3249 1.1.1.3 tron 3250 1.1.1.3 tron 3251 1.1.1.3 tron as_nl=' 3252 1.1.1.3 tron ' 3253 1.1.1.3 tron export as_nl 3254 1.1.1.3 tron # Printing a long string crashes Solaris 7 /usr/bin/printf. 3255 1.1.1.3 tron as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 3256 1.1.1.3 tron as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 3257 1.1.1.3 tron as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 3258 1.1.1.3 tron # Prefer a ksh shell builtin over an external printf program on Solaris, 3259 1.1.1.3 tron # but without wasting forks for bash or zsh. 3260 1.1.1.3 tron if test -z "$BASH_VERSION$ZSH_VERSION" \ 3261 1.1.1.3 tron && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 3262 1.1.1.3 tron as_echo='print -r --' 3263 1.1.1.3 tron as_echo_n='print -rn --' 3264 1.1.1.3 tron elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 3265 1.1.1.3 tron as_echo='printf %s\n' 3266 1.1.1.3 tron as_echo_n='printf %s' 3267 1.1.1.3 tron else 3268 1.1.1.3 tron if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 3269 1.1.1.3 tron as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 3270 1.1.1.3 tron as_echo_n='/usr/ucb/echo -n' 3271 1.1.1.3 tron else 3272 1.1.1.3 tron as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 3273 1.1.1.3 tron as_echo_n_body='eval 3274 1.1.1.3 tron arg=$1; 3275 1.1.1.3 tron case $arg in #( 3276 1.1.1.3 tron *"$as_nl"*) 3277 1.1.1.3 tron expr "X$arg" : "X\\(.*\\)$as_nl"; 3278 1.1.1.3 tron arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 3279 1.1.1.3 tron esac; 3280 1.1.1.3 tron expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 3281 1.1.1.3 tron ' 3282 1.1.1.3 tron export as_echo_n_body 3283 1.1.1.3 tron as_echo_n='sh -c $as_echo_n_body as_echo' 3284 1.1.1.3 tron fi 3285 1.1.1.3 tron export as_echo_body 3286 1.1.1.3 tron as_echo='sh -c $as_echo_body as_echo' 3287 1.1.1.3 tron fi 3288 1.1.1.3 tron 3289 1.1.1.3 tron # The user is always right. 3290 1.1.1.3 tron if test "${PATH_SEPARATOR+set}" != set; then 3291 1.1.1.3 tron PATH_SEPARATOR=: 3292 1.1.1.3 tron (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 3293 1.1.1.3 tron (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 3294 1.1.1.3 tron PATH_SEPARATOR=';' 3295 1.1.1.3 tron } 3296 1.1.1.3 tron fi 3297 1.1.1.3 tron 3298 1.1.1.3 tron 3299 1.1.1.3 tron # IFS 3300 1.1.1.3 tron # We need space, tab and new line, in precisely that order. Quoting is 3301 1.1.1.3 tron # there to prevent editors from complaining about space-tab. 3302 1.1.1.3 tron # (If _AS_PATH_WALK were called with IFS unset, it would disable word 3303 1.1.1.3 tron # splitting by setting IFS to empty value.) 3304 1.1.1.3 tron IFS=" "" $as_nl" 3305 1.1.1.3 tron 3306 1.1.1.3 tron # Find who we are. Look in the path if we contain no directory separator. 3307 1.1.1.4 christos as_myself= 3308 1.1.1.3 tron case $0 in #(( 3309 1.1.1.3 tron *[\\/]* ) as_myself=$0 ;; 3310 1.1.1.3 tron *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3311 1.1.1.3 tron for as_dir in $PATH 3312 1.1 lukem do 3313 1.1.1.3 tron IFS=$as_save_IFS 3314 1.1.1.3 tron test -z "$as_dir" && as_dir=. 3315 1.1.1.3 tron test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3316 1.1.1.3 tron done 3317 1.1.1.3 tron IFS=$as_save_IFS 3318 1.1.1.3 tron 3319 1.1.1.3 tron ;; 3320 1.1.1.3 tron esac 3321 1.1.1.3 tron # We did not find ourselves, most probably we were run as `sh COMMAND' 3322 1.1.1.3 tron # in which case we are not to be found in the path. 3323 1.1.1.3 tron if test "x$as_myself" = x; then 3324 1.1.1.3 tron as_myself=$0 3325 1.1.1.3 tron fi 3326 1.1.1.3 tron if test ! -f "$as_myself"; then 3327 1.1.1.3 tron $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3328 1.1.1.3 tron exit 1 3329 1.1.1.3 tron fi 3330 1.1.1.3 tron 3331 1.1.1.3 tron # Unset variables that we do not need and which cause bugs (e.g. in 3332 1.1.1.3 tron # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 3333 1.1.1.3 tron # suppresses any "Segmentation fault" message there. '((' could 3334 1.1.1.3 tron # trigger a bug in pdksh 5.2.14. 3335 1.1.1.3 tron for as_var in BASH_ENV ENV MAIL MAILPATH 3336 1.1.1.3 tron do eval test x\${$as_var+set} = xset \ 3337 1.1.1.3 tron && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 3338 1.1 lukem done 3339 1.1.1.3 tron PS1='$ ' 3340 1.1.1.3 tron PS2='> ' 3341 1.1.1.3 tron PS4='+ ' 3342 1.1.1.3 tron 3343 1.1.1.3 tron # NLS nuisances. 3344 1.1.1.3 tron LC_ALL=C 3345 1.1.1.3 tron export LC_ALL 3346 1.1.1.3 tron LANGUAGE=C 3347 1.1.1.3 tron export LANGUAGE 3348 1.1.1.3 tron 3349 1.1.1.3 tron # CDPATH. 3350 1.1.1.3 tron (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 3351 1.1.1.3 tron 3352 1.1.1.3 tron 3353 1.1.1.4 christos # as_fn_error STATUS ERROR [LINENO LOG_FD] 3354 1.1.1.4 christos # ---------------------------------------- 3355 1.1.1.3 tron # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 3356 1.1.1.3 tron # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 3357 1.1.1.4 christos # script with STATUS, using 1 if that was 0. 3358 1.1.1.3 tron as_fn_error () 3359 1.1.1.3 tron { 3360 1.1.1.4 christos as_status=$1; test $as_status -eq 0 && as_status=1 3361 1.1.1.4 christos if test "$4"; then 3362 1.1.1.4 christos as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 3363 1.1.1.4 christos $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 3364 1.1.1.3 tron fi 3365 1.1.1.4 christos $as_echo "$as_me: error: $2" >&2 3366 1.1.1.3 tron as_fn_exit $as_status 3367 1.1.1.3 tron } # as_fn_error 3368 1.1.1.3 tron 3369 1.1.1.3 tron 3370 1.1.1.3 tron # as_fn_set_status STATUS 3371 1.1.1.3 tron # ----------------------- 3372 1.1.1.3 tron # Set $? to STATUS, without forking. 3373 1.1.1.3 tron as_fn_set_status () 3374 1.1.1.3 tron { 3375 1.1.1.3 tron return $1 3376 1.1.1.3 tron } # as_fn_set_status 3377 1.1.1.3 tron 3378 1.1.1.3 tron # as_fn_exit STATUS 3379 1.1.1.3 tron # ----------------- 3380 1.1.1.3 tron # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 3381 1.1.1.3 tron as_fn_exit () 3382 1.1.1.3 tron { 3383 1.1.1.3 tron set +e 3384 1.1.1.3 tron as_fn_set_status $1 3385 1.1.1.3 tron exit $1 3386 1.1.1.3 tron } # as_fn_exit 3387 1.1.1.3 tron 3388 1.1.1.3 tron # as_fn_unset VAR 3389 1.1.1.3 tron # --------------- 3390 1.1.1.3 tron # Portably unset VAR. 3391 1.1.1.3 tron as_fn_unset () 3392 1.1.1.3 tron { 3393 1.1.1.3 tron { eval $1=; unset $1;} 3394 1.1.1.3 tron } 3395 1.1.1.3 tron as_unset=as_fn_unset 3396 1.1.1.3 tron # as_fn_append VAR VALUE 3397 1.1.1.3 tron # ---------------------- 3398 1.1.1.3 tron # Append the text in VALUE to the end of the definition contained in VAR. Take 3399 1.1.1.3 tron # advantage of any shell optimizations that allow amortized linear growth over 3400 1.1.1.3 tron # repeated appends, instead of the typical quadratic growth present in naive 3401 1.1.1.3 tron # implementations. 3402 1.1.1.3 tron if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 3403 1.1.1.3 tron eval 'as_fn_append () 3404 1.1.1.3 tron { 3405 1.1.1.3 tron eval $1+=\$2 3406 1.1.1.3 tron }' 3407 1.1.1.3 tron else 3408 1.1.1.3 tron as_fn_append () 3409 1.1.1.3 tron { 3410 1.1.1.3 tron eval $1=\$$1\$2 3411 1.1.1.3 tron } 3412 1.1.1.3 tron fi # as_fn_append 3413 1.1.1.3 tron 3414 1.1.1.3 tron # as_fn_arith ARG... 3415 1.1.1.3 tron # ------------------ 3416 1.1.1.3 tron # Perform arithmetic evaluation on the ARGs, and store the result in the 3417 1.1.1.3 tron # global $as_val. Take advantage of shells that can avoid forks. The arguments 3418 1.1.1.3 tron # must be portable across $(()) and expr. 3419 1.1.1.3 tron if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 3420 1.1.1.3 tron eval 'as_fn_arith () 3421 1.1.1.3 tron { 3422 1.1.1.3 tron as_val=$(( $* )) 3423 1.1.1.3 tron }' 3424 1.1.1.3 tron else 3425 1.1.1.3 tron as_fn_arith () 3426 1.1.1.3 tron { 3427 1.1.1.3 tron as_val=`expr "$@" || test $? -eq 1` 3428 1.1.1.3 tron } 3429 1.1.1.3 tron fi # as_fn_arith 3430 1.1 lukem 3431 1.1 lukem 3432 1.1.1.3 tron if expr a : '\(a\)' >/dev/null 2>&1 && 3433 1.1.1.3 tron test "X`expr 00001 : '.*\(...\)'`" = X001; then 3434 1.1.1.3 tron as_expr=expr 3435 1.1.1.3 tron else 3436 1.1.1.3 tron as_expr=false 3437 1.1.1.3 tron fi 3438 1.1.1.3 tron 3439 1.1.1.3 tron if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then 3440 1.1.1.3 tron as_basename=basename 3441 1.1.1.3 tron else 3442 1.1.1.3 tron as_basename=false 3443 1.1.1.3 tron fi 3444 1.1.1.3 tron 3445 1.1.1.3 tron if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 3446 1.1.1.3 tron as_dirname=dirname 3447 1.1.1.3 tron else 3448 1.1.1.3 tron as_dirname=false 3449 1.1.1.3 tron fi 3450 1.1.1.3 tron 3451 1.1.1.3 tron as_me=`$as_basename -- "$0" || 3452 1.1.1.3 tron $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3453 1.1.1.3 tron X"$0" : 'X\(//\)$' \| \ 3454 1.1.1.3 tron X"$0" : 'X\(/\)' \| . 2>/dev/null || 3455 1.1.1.3 tron $as_echo X/"$0" | 3456 1.1.1.3 tron sed '/^.*\/\([^/][^/]*\)\/*$/{ 3457 1.1.1.3 tron s//\1/ 3458 1.1.1.3 tron q 3459 1.1.1.3 tron } 3460 1.1.1.3 tron /^X\/\(\/\/\)$/{ 3461 1.1.1.3 tron s//\1/ 3462 1.1.1.3 tron q 3463 1.1.1.3 tron } 3464 1.1.1.3 tron /^X\/\(\/\).*/{ 3465 1.1.1.3 tron s//\1/ 3466 1.1.1.3 tron q 3467 1.1.1.3 tron } 3468 1.1.1.3 tron s/.*/./; q'` 3469 1.1.1.3 tron 3470 1.1.1.3 tron # Avoid depending upon Character Ranges. 3471 1.1.1.3 tron as_cr_letters='abcdefghijklmnopqrstuvwxyz' 3472 1.1.1.3 tron as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 3473 1.1.1.3 tron as_cr_Letters=$as_cr_letters$as_cr_LETTERS 3474 1.1.1.3 tron as_cr_digits='0123456789' 3475 1.1.1.3 tron as_cr_alnum=$as_cr_Letters$as_cr_digits 3476 1.1.1.3 tron 3477 1.1.1.3 tron ECHO_C= ECHO_N= ECHO_T= 3478 1.1.1.3 tron case `echo -n x` in #((((( 3479 1.1.1.3 tron -n*) 3480 1.1.1.3 tron case `echo 'xy\c'` in 3481 1.1.1.3 tron *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3482 1.1.1.3 tron xy) ECHO_C='\c';; 3483 1.1.1.3 tron *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 3484 1.1.1.3 tron ECHO_T=' ';; 3485 1.1.1.3 tron esac;; 3486 1.1.1.3 tron *) 3487 1.1.1.3 tron ECHO_N='-n';; 3488 1.1.1.3 tron esac 3489 1.1.1.3 tron 3490 1.1.1.3 tron rm -f conf$$ conf$$.exe conf$$.file 3491 1.1.1.3 tron if test -d conf$$.dir; then 3492 1.1.1.3 tron rm -f conf$$.dir/conf$$.file 3493 1.1.1.3 tron else 3494 1.1.1.3 tron rm -f conf$$.dir 3495 1.1.1.3 tron mkdir conf$$.dir 2>/dev/null 3496 1.1.1.3 tron fi 3497 1.1.1.3 tron if (echo >conf$$.file) 2>/dev/null; then 3498 1.1.1.3 tron if ln -s conf$$.file conf$$ 2>/dev/null; then 3499 1.1.1.3 tron as_ln_s='ln -s' 3500 1.1.1.3 tron # ... but there are two gotchas: 3501 1.1.1.3 tron # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3502 1.1.1.3 tron # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3503 1.1.1.4 christos # In both cases, we have to default to `cp -pR'. 3504 1.1.1.3 tron ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3505 1.1.1.4 christos as_ln_s='cp -pR' 3506 1.1.1.3 tron elif ln conf$$.file conf$$ 2>/dev/null; then 3507 1.1.1.3 tron as_ln_s=ln 3508 1.1 lukem else 3509 1.1.1.4 christos as_ln_s='cp -pR' 3510 1.1 lukem fi 3511 1.1.1.3 tron else 3512 1.1.1.4 christos as_ln_s='cp -pR' 3513 1.1.1.3 tron fi 3514 1.1.1.3 tron rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3515 1.1.1.3 tron rmdir conf$$.dir 2>/dev/null 3516 1.1.1.3 tron 3517 1.1.1.3 tron 3518 1.1.1.3 tron # as_fn_mkdir_p 3519 1.1.1.3 tron # ------------- 3520 1.1.1.3 tron # Create "$as_dir" as a directory, including parents if necessary. 3521 1.1.1.3 tron as_fn_mkdir_p () 3522 1.1.1.3 tron { 3523 1.1.1.3 tron 3524 1.1.1.3 tron case $as_dir in #( 3525 1.1.1.3 tron -*) as_dir=./$as_dir;; 3526 1.1.1.3 tron esac 3527 1.1.1.3 tron test -d "$as_dir" || eval $as_mkdir_p || { 3528 1.1.1.3 tron as_dirs= 3529 1.1.1.3 tron while :; do 3530 1.1.1.3 tron case $as_dir in #( 3531 1.1.1.3 tron *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 3532 1.1.1.3 tron *) as_qdir=$as_dir;; 3533 1.1.1.3 tron esac 3534 1.1.1.3 tron as_dirs="'$as_qdir' $as_dirs" 3535 1.1.1.3 tron as_dir=`$as_dirname -- "$as_dir" || 3536 1.1.1.3 tron $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3537 1.1.1.3 tron X"$as_dir" : 'X\(//\)[^/]' \| \ 3538 1.1.1.3 tron X"$as_dir" : 'X\(//\)$' \| \ 3539 1.1.1.3 tron X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3540 1.1.1.3 tron $as_echo X"$as_dir" | 3541 1.1.1.3 tron sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3542 1.1.1.3 tron s//\1/ 3543 1.1.1.3 tron q 3544 1.1.1.3 tron } 3545 1.1.1.3 tron /^X\(\/\/\)[^/].*/{ 3546 1.1.1.3 tron s//\1/ 3547 1.1.1.3 tron q 3548 1.1.1.3 tron } 3549 1.1.1.3 tron /^X\(\/\/\)$/{ 3550 1.1.1.3 tron s//\1/ 3551 1.1.1.3 tron q 3552 1.1.1.3 tron } 3553 1.1.1.3 tron /^X\(\/\).*/{ 3554 1.1.1.3 tron s//\1/ 3555 1.1.1.3 tron q 3556 1.1.1.3 tron } 3557 1.1.1.3 tron s/.*/./; q'` 3558 1.1.1.3 tron test -d "$as_dir" && break 3559 1.1.1.3 tron done 3560 1.1.1.3 tron test -z "$as_dirs" || eval "mkdir $as_dirs" 3561 1.1.1.4 christos } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 3562 1.1.1.3 tron 3563 1.1.1.3 tron 3564 1.1.1.3 tron } # as_fn_mkdir_p 3565 1.1.1.3 tron if mkdir -p . 2>/dev/null; then 3566 1.1.1.3 tron as_mkdir_p='mkdir -p "$as_dir"' 3567 1.1.1.3 tron else 3568 1.1.1.3 tron test -d ./-p && rmdir ./-p 3569 1.1.1.3 tron as_mkdir_p=false 3570 1.1.1.3 tron fi 3571 1.1.1.3 tron 3572 1.1.1.4 christos 3573 1.1.1.4 christos # as_fn_executable_p FILE 3574 1.1.1.4 christos # ----------------------- 3575 1.1.1.4 christos # Test if FILE is an executable regular file. 3576 1.1.1.4 christos as_fn_executable_p () 3577 1.1.1.4 christos { 3578 1.1.1.4 christos test -f "$1" && test -x "$1" 3579 1.1.1.4 christos } # as_fn_executable_p 3580 1.1.1.4 christos as_test_x='test -x' 3581 1.1.1.4 christos as_executable_p=as_fn_executable_p 3582 1.1.1.3 tron 3583 1.1.1.3 tron # Sed expression to map a string onto a valid CPP name. 3584 1.1.1.3 tron as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 3585 1.1.1.3 tron 3586 1.1.1.3 tron # Sed expression to map a string onto a valid variable name. 3587 1.1.1.3 tron as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 3588 1.1.1.3 tron 3589 1.1.1.3 tron 3590 1.1.1.3 tron exec 6>&1 3591 1.1.1.3 tron ## ----------------------------------- ## 3592 1.1.1.3 tron ## Main body of $CONFIG_STATUS script. ## 3593 1.1.1.3 tron ## ----------------------------------- ## 3594 1.1.1.3 tron _ASEOF 3595 1.1.1.3 tron test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 3596 1.1.1.3 tron 3597 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3598 1.1.1.3 tron # Save the log message, to keep $0 and so on meaningful, and to 3599 1.1.1.3 tron # report actual input values of CONFIG_FILES etc. instead of their 3600 1.1.1.3 tron # values after options handling. 3601 1.1.1.3 tron ac_log=" 3602 1.1.1.3 tron This file was extended by $as_me, which was 3603 1.1.1.4 christos generated by GNU Autoconf 2.69. Invocation command line was 3604 1.1.1.3 tron 3605 1.1.1.3 tron CONFIG_FILES = $CONFIG_FILES 3606 1.1.1.3 tron CONFIG_HEADERS = $CONFIG_HEADERS 3607 1.1.1.3 tron CONFIG_LINKS = $CONFIG_LINKS 3608 1.1.1.3 tron CONFIG_COMMANDS = $CONFIG_COMMANDS 3609 1.1.1.3 tron $ $0 $@ 3610 1.1.1.3 tron 3611 1.1.1.3 tron on `(hostname || uname -n) 2>/dev/null | sed 1q` 3612 1.1.1.3 tron " 3613 1.1.1.3 tron 3614 1.1.1.3 tron _ACEOF 3615 1.1.1.3 tron 3616 1.1.1.3 tron case $ac_config_files in *" 3617 1.1.1.3 tron "*) set x $ac_config_files; shift; ac_config_files=$*;; 3618 1.1.1.3 tron esac 3619 1.1.1.3 tron 3620 1.1.1.3 tron 3621 1.1.1.3 tron 3622 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3623 1.1.1.3 tron # Files that config.status was made for. 3624 1.1.1.3 tron config_files="$ac_config_files" 3625 1.1.1.3 tron 3626 1.1.1.3 tron _ACEOF 3627 1.1.1.3 tron 3628 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3629 1.1.1.3 tron ac_cs_usage="\ 3630 1.1.1.3 tron \`$as_me' instantiates files and other configuration actions 3631 1.1.1.3 tron from templates according to the current configuration. Unless the files 3632 1.1.1.3 tron and actions are specified as TAGs, all are instantiated by default. 3633 1.1.1.3 tron 3634 1.1.1.3 tron Usage: $0 [OPTION]... [TAG]... 3635 1.1.1.3 tron 3636 1.1.1.3 tron -h, --help print this help, then exit 3637 1.1.1.3 tron -V, --version print version number and configuration settings, then exit 3638 1.1.1.3 tron --config print configuration, then exit 3639 1.1.1.3 tron -q, --quiet, --silent 3640 1.1.1.3 tron do not print progress messages 3641 1.1.1.3 tron -d, --debug don't remove temporary files 3642 1.1.1.3 tron --recheck update $as_me by reconfiguring in the same conditions 3643 1.1.1.3 tron --file=FILE[:TEMPLATE] 3644 1.1.1.3 tron instantiate the configuration file FILE 3645 1.1.1.3 tron 3646 1.1.1.3 tron Configuration files: 3647 1.1.1.3 tron $config_files 3648 1.1.1.3 tron 3649 1.1.1.3 tron Report bugs to the package provider." 3650 1.1.1.3 tron 3651 1.1.1.3 tron _ACEOF 3652 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3653 1.1.1.3 tron ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 3654 1.1.1.3 tron ac_cs_version="\\ 3655 1.1.1.3 tron config.status 3656 1.1.1.4 christos configured by $0, generated by GNU Autoconf 2.69, 3657 1.1.1.3 tron with options \\"\$ac_cs_config\\" 3658 1.1.1.3 tron 3659 1.1.1.4 christos Copyright (C) 2012 Free Software Foundation, Inc. 3660 1.1.1.3 tron This config.status script is free software; the Free Software Foundation 3661 1.1.1.3 tron gives unlimited permission to copy, distribute and modify it." 3662 1.1.1.3 tron 3663 1.1.1.3 tron ac_pwd='$ac_pwd' 3664 1.1.1.3 tron srcdir='$srcdir' 3665 1.1.1.3 tron INSTALL='$INSTALL' 3666 1.1.1.3 tron test -n "\$AWK" || AWK=awk 3667 1.1.1.3 tron _ACEOF 3668 1.1.1.3 tron 3669 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3670 1.1.1.3 tron # The default lists apply if the user does not specify any file. 3671 1.1.1.3 tron ac_need_defaults=: 3672 1.1.1.3 tron while test $# != 0 3673 1.1.1.3 tron do 3674 1.1.1.3 tron case $1 in 3675 1.1.1.4 christos --*=?*) 3676 1.1.1.3 tron ac_option=`expr "X$1" : 'X\([^=]*\)='` 3677 1.1.1.3 tron ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 3678 1.1.1.3 tron ac_shift=: 3679 1.1.1.3 tron ;; 3680 1.1.1.4 christos --*=) 3681 1.1.1.4 christos ac_option=`expr "X$1" : 'X\([^=]*\)='` 3682 1.1.1.4 christos ac_optarg= 3683 1.1.1.4 christos ac_shift=: 3684 1.1.1.4 christos ;; 3685 1.1.1.3 tron *) 3686 1.1.1.3 tron ac_option=$1 3687 1.1.1.3 tron ac_optarg=$2 3688 1.1.1.3 tron ac_shift=shift 3689 1.1.1.3 tron ;; 3690 1.1.1.3 tron esac 3691 1.1.1.3 tron 3692 1.1.1.3 tron case $ac_option in 3693 1.1.1.3 tron # Handling of the options. 3694 1.1.1.3 tron -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 3695 1.1.1.3 tron ac_cs_recheck=: ;; 3696 1.1.1.3 tron --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 3697 1.1.1.3 tron $as_echo "$ac_cs_version"; exit ;; 3698 1.1.1.3 tron --config | --confi | --conf | --con | --co | --c ) 3699 1.1.1.3 tron $as_echo "$ac_cs_config"; exit ;; 3700 1.1.1.3 tron --debug | --debu | --deb | --de | --d | -d ) 3701 1.1.1.3 tron debug=: ;; 3702 1.1.1.3 tron --file | --fil | --fi | --f ) 3703 1.1.1.3 tron $ac_shift 3704 1.1.1.3 tron case $ac_optarg in 3705 1.1.1.3 tron *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 3706 1.1.1.4 christos '') as_fn_error $? "missing file argument" ;; 3707 1.1.1.3 tron esac 3708 1.1.1.3 tron as_fn_append CONFIG_FILES " '$ac_optarg'" 3709 1.1.1.3 tron ac_need_defaults=false;; 3710 1.1.1.3 tron --he | --h | --help | --hel | -h ) 3711 1.1.1.3 tron $as_echo "$ac_cs_usage"; exit ;; 3712 1.1.1.3 tron -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 3713 1.1.1.3 tron | -silent | --silent | --silen | --sile | --sil | --si | --s) 3714 1.1.1.3 tron ac_cs_silent=: ;; 3715 1.1.1.3 tron 3716 1.1.1.3 tron # This is an error. 3717 1.1.1.4 christos -*) as_fn_error $? "unrecognized option: \`$1' 3718 1.1.1.3 tron Try \`$0 --help' for more information." ;; 3719 1.1.1.3 tron 3720 1.1.1.3 tron *) as_fn_append ac_config_targets " $1" 3721 1.1.1.3 tron ac_need_defaults=false ;; 3722 1.1.1.3 tron 3723 1.1.1.3 tron esac 3724 1.1.1.3 tron shift 3725 1.1.1.3 tron done 3726 1.1.1.3 tron 3727 1.1.1.3 tron ac_configure_extra_args= 3728 1.1.1.3 tron 3729 1.1.1.3 tron if $ac_cs_silent; then 3730 1.1.1.3 tron exec 6>/dev/null 3731 1.1.1.3 tron ac_configure_extra_args="$ac_configure_extra_args --silent" 3732 1.1.1.3 tron fi 3733 1.1.1.3 tron 3734 1.1.1.3 tron _ACEOF 3735 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3736 1.1.1.3 tron if \$ac_cs_recheck; then 3737 1.1.1.4 christos set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 3738 1.1.1.3 tron shift 3739 1.1.1.3 tron \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 3740 1.1.1.3 tron CONFIG_SHELL='$SHELL' 3741 1.1.1.3 tron export CONFIG_SHELL 3742 1.1.1.3 tron exec "\$@" 3743 1.1.1.3 tron fi 3744 1.1.1.3 tron 3745 1.1.1.3 tron _ACEOF 3746 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3747 1.1.1.3 tron exec 5>>config.log 3748 1.1.1.3 tron { 3749 1.1.1.3 tron echo 3750 1.1.1.3 tron sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 3751 1.1.1.3 tron ## Running $as_me. ## 3752 1.1.1.3 tron _ASBOX 3753 1.1.1.3 tron $as_echo "$ac_log" 3754 1.1.1.3 tron } >&5 3755 1.1.1.3 tron 3756 1.1.1.3 tron _ACEOF 3757 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3758 1.1.1.3 tron _ACEOF 3759 1.1.1.3 tron 3760 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3761 1.1.1.3 tron 3762 1.1.1.3 tron # Handling of arguments. 3763 1.1.1.3 tron for ac_config_target in $ac_config_targets 3764 1.1.1.3 tron do 3765 1.1.1.3 tron case $ac_config_target in 3766 1.1.1.3 tron "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 3767 1.1.1.3 tron "pkgIndex.tcl") CONFIG_FILES="$CONFIG_FILES pkgIndex.tcl" ;; 3768 1.1.1.3 tron 3769 1.1.1.4 christos *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 3770 1.1 lukem esac 3771 1.1.1.3 tron done 3772 1.1.1.3 tron 3773 1.1.1.3 tron 3774 1.1.1.3 tron # If the user did not use the arguments to specify the items to instantiate, 3775 1.1.1.3 tron # then the envvar interface is used. Set only those that are not. 3776 1.1.1.3 tron # We use the long form for the default assignment because of an extremely 3777 1.1.1.3 tron # bizarre bug on SunOS 4.1.3. 3778 1.1.1.3 tron if $ac_need_defaults; then 3779 1.1.1.3 tron test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 3780 1.1.1.3 tron fi 3781 1.1.1.3 tron 3782 1.1.1.3 tron # Have a temporary directory for convenience. Make it in the build tree 3783 1.1.1.3 tron # simply because there is no reason against having it here, and in addition, 3784 1.1.1.3 tron # creating and moving files from /tmp can sometimes cause problems. 3785 1.1.1.3 tron # Hook for its removal unless debugging. 3786 1.1.1.3 tron # Note that there is a small window in which the directory will not be cleaned: 3787 1.1.1.3 tron # after its creation but before its name has been assigned to `$tmp'. 3788 1.1.1.3 tron $debug || 3789 1.1.1.3 tron { 3790 1.1.1.4 christos tmp= ac_tmp= 3791 1.1.1.3 tron trap 'exit_status=$? 3792 1.1.1.4 christos : "${ac_tmp:=$tmp}" 3793 1.1.1.4 christos { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 3794 1.1.1.3 tron ' 0 3795 1.1.1.3 tron trap 'as_fn_exit 1' 1 2 13 15 3796 1.1.1.3 tron } 3797 1.1.1.3 tron # Create a (secure) tmp directory for tmp files. 3798 1.1.1.3 tron 3799 1.1.1.3 tron { 3800 1.1.1.3 tron tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 3801 1.1.1.4 christos test -d "$tmp" 3802 1.1.1.3 tron } || 3803 1.1.1.3 tron { 3804 1.1.1.3 tron tmp=./conf$$-$RANDOM 3805 1.1.1.3 tron (umask 077 && mkdir "$tmp") 3806 1.1.1.4 christos } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 3807 1.1.1.4 christos ac_tmp=$tmp 3808 1.1.1.3 tron 3809 1.1.1.3 tron # Set up the scripts for CONFIG_FILES section. 3810 1.1.1.3 tron # No need to generate them if there are no CONFIG_FILES. 3811 1.1.1.3 tron # This happens for instance with `./config.status config.h'. 3812 1.1.1.3 tron if test -n "$CONFIG_FILES"; then 3813 1.1.1.3 tron 3814 1.1.1.3 tron 3815 1.1.1.3 tron ac_cr=`echo X | tr X '\015'` 3816 1.1.1.3 tron # On cygwin, bash can eat \r inside `` if the user requested igncr. 3817 1.1.1.3 tron # But we know of no other shell where ac_cr would be empty at this 3818 1.1.1.3 tron # point, so we can use a bashism as a fallback. 3819 1.1.1.3 tron if test "x$ac_cr" = x; then 3820 1.1.1.3 tron eval ac_cr=\$\'\\r\' 3821 1.1.1.3 tron fi 3822 1.1.1.3 tron ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 3823 1.1.1.3 tron if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 3824 1.1.1.4 christos ac_cs_awk_cr='\\r' 3825 1.1.1.3 tron else 3826 1.1.1.3 tron ac_cs_awk_cr=$ac_cr 3827 1.1.1.3 tron fi 3828 1.1.1.3 tron 3829 1.1.1.4 christos echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 3830 1.1.1.3 tron _ACEOF 3831 1.1 lukem 3832 1.1 lukem 3833 1.1.1.3 tron { 3834 1.1.1.3 tron echo "cat >conf$$subs.awk <<_ACEOF" && 3835 1.1.1.3 tron echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 3836 1.1.1.3 tron echo "_ACEOF" 3837 1.1.1.3 tron } >conf$$subs.sh || 3838 1.1.1.4 christos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3839 1.1.1.4 christos ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 3840 1.1.1.3 tron ac_delim='%!_!# ' 3841 1.1.1.3 tron for ac_last_try in false false false false false :; do 3842 1.1.1.3 tron . ./conf$$subs.sh || 3843 1.1.1.4 christos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3844 1.1.1.3 tron 3845 1.1.1.3 tron ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 3846 1.1.1.3 tron if test $ac_delim_n = $ac_delim_num; then 3847 1.1.1.3 tron break 3848 1.1.1.3 tron elif $ac_last_try; then 3849 1.1.1.4 christos as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 3850 1.1 lukem else 3851 1.1.1.3 tron ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 3852 1.1 lukem fi 3853 1.1.1.3 tron done 3854 1.1.1.3 tron rm -f conf$$subs.sh 3855 1.1.1.3 tron 3856 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3857 1.1.1.4 christos cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 3858 1.1.1.3 tron _ACEOF 3859 1.1.1.3 tron sed -n ' 3860 1.1.1.3 tron h 3861 1.1.1.3 tron s/^/S["/; s/!.*/"]=/ 3862 1.1.1.3 tron p 3863 1.1.1.3 tron g 3864 1.1.1.3 tron s/^[^!]*!// 3865 1.1.1.3 tron :repl 3866 1.1.1.3 tron t repl 3867 1.1.1.3 tron s/'"$ac_delim"'$// 3868 1.1.1.3 tron t delim 3869 1.1.1.3 tron :nl 3870 1.1.1.3 tron h 3871 1.1.1.3 tron s/\(.\{148\}\)..*/\1/ 3872 1.1.1.3 tron t more1 3873 1.1.1.3 tron s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 3874 1.1.1.3 tron p 3875 1.1.1.3 tron n 3876 1.1.1.3 tron b repl 3877 1.1.1.3 tron :more1 3878 1.1.1.3 tron s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3879 1.1.1.3 tron p 3880 1.1.1.3 tron g 3881 1.1.1.3 tron s/.\{148\}// 3882 1.1.1.3 tron t nl 3883 1.1.1.3 tron :delim 3884 1.1.1.3 tron h 3885 1.1.1.3 tron s/\(.\{148\}\)..*/\1/ 3886 1.1.1.3 tron t more2 3887 1.1.1.3 tron s/["\\]/\\&/g; s/^/"/; s/$/"/ 3888 1.1.1.3 tron p 3889 1.1.1.3 tron b 3890 1.1.1.3 tron :more2 3891 1.1.1.3 tron s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 3892 1.1.1.3 tron p 3893 1.1.1.3 tron g 3894 1.1.1.3 tron s/.\{148\}// 3895 1.1.1.3 tron t delim 3896 1.1.1.3 tron ' <conf$$subs.awk | sed ' 3897 1.1.1.3 tron /^[^""]/{ 3898 1.1.1.3 tron N 3899 1.1.1.3 tron s/\n// 3900 1.1.1.3 tron } 3901 1.1.1.3 tron ' >>$CONFIG_STATUS || ac_write_fail=1 3902 1.1.1.3 tron rm -f conf$$subs.awk 3903 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 3904 1.1.1.3 tron _ACAWK 3905 1.1.1.4 christos cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 3906 1.1.1.3 tron for (key in S) S_is_set[key] = 1 3907 1.1.1.3 tron FS = "" 3908 1.1.1.3 tron 3909 1.1.1.3 tron } 3910 1.1.1.3 tron { 3911 1.1.1.3 tron line = $ 0 3912 1.1.1.3 tron nfields = split(line, field, "@") 3913 1.1.1.3 tron substed = 0 3914 1.1.1.3 tron len = length(field[1]) 3915 1.1.1.3 tron for (i = 2; i < nfields; i++) { 3916 1.1.1.3 tron key = field[i] 3917 1.1.1.3 tron keylen = length(key) 3918 1.1.1.3 tron if (S_is_set[key]) { 3919 1.1.1.3 tron value = S[key] 3920 1.1.1.3 tron line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 3921 1.1.1.3 tron len += length(value) + length(field[++i]) 3922 1.1.1.3 tron substed = 1 3923 1.1.1.3 tron } else 3924 1.1.1.3 tron len += 1 + keylen 3925 1.1.1.3 tron } 3926 1.1.1.3 tron 3927 1.1.1.3 tron print line 3928 1.1.1.3 tron } 3929 1.1.1.3 tron 3930 1.1.1.3 tron _ACAWK 3931 1.1.1.3 tron _ACEOF 3932 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3933 1.1.1.3 tron if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 3934 1.1.1.3 tron sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 3935 1.1.1.3 tron else 3936 1.1.1.3 tron cat 3937 1.1.1.4 christos fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 3938 1.1.1.4 christos || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 3939 1.1.1.3 tron _ACEOF 3940 1.1.1.3 tron 3941 1.1.1.4 christos # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 3942 1.1.1.4 christos # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 3943 1.1.1.3 tron # trailing colons and then remove the whole line if VPATH becomes empty 3944 1.1.1.3 tron # (actually we leave an empty line to preserve line numbers). 3945 1.1.1.3 tron if test "x$srcdir" = x.; then 3946 1.1.1.4 christos ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 3947 1.1.1.4 christos h 3948 1.1.1.4 christos s/// 3949 1.1.1.4 christos s/^/:/ 3950 1.1.1.4 christos s/[ ]*$/:/ 3951 1.1.1.4 christos s/:\$(srcdir):/:/g 3952 1.1.1.4 christos s/:\${srcdir}:/:/g 3953 1.1.1.4 christos s/:@srcdir@:/:/g 3954 1.1.1.4 christos s/^:*// 3955 1.1.1.3 tron s/:*$// 3956 1.1.1.4 christos x 3957 1.1.1.4 christos s/\(=[ ]*\).*/\1/ 3958 1.1.1.4 christos G 3959 1.1.1.4 christos s/\n// 3960 1.1.1.3 tron s/^[^=]*=[ ]*$// 3961 1.1.1.3 tron }' 3962 1.1.1.3 tron fi 3963 1.1.1.3 tron 3964 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 3965 1.1.1.3 tron fi # test -n "$CONFIG_FILES" 3966 1.1.1.3 tron 3967 1.1.1.3 tron 3968 1.1.1.3 tron eval set X " :F $CONFIG_FILES " 3969 1.1.1.3 tron shift 3970 1.1.1.3 tron for ac_tag 3971 1.1.1.3 tron do 3972 1.1.1.3 tron case $ac_tag in 3973 1.1.1.3 tron :[FHLC]) ac_mode=$ac_tag; continue;; 3974 1.1.1.3 tron esac 3975 1.1.1.3 tron case $ac_mode$ac_tag in 3976 1.1.1.3 tron :[FHL]*:*);; 3977 1.1.1.4 christos :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 3978 1.1.1.3 tron :[FH]-) ac_tag=-:-;; 3979 1.1.1.3 tron :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 3980 1.1.1.3 tron esac 3981 1.1.1.3 tron ac_save_IFS=$IFS 3982 1.1.1.3 tron IFS=: 3983 1.1.1.3 tron set x $ac_tag 3984 1.1.1.3 tron IFS=$ac_save_IFS 3985 1.1.1.3 tron shift 3986 1.1.1.3 tron ac_file=$1 3987 1.1.1.3 tron shift 3988 1.1.1.3 tron 3989 1.1.1.3 tron case $ac_mode in 3990 1.1.1.3 tron :L) ac_source=$1;; 3991 1.1.1.3 tron :[FH]) 3992 1.1.1.3 tron ac_file_inputs= 3993 1.1.1.3 tron for ac_f 3994 1.1.1.3 tron do 3995 1.1.1.3 tron case $ac_f in 3996 1.1.1.4 christos -) ac_f="$ac_tmp/stdin";; 3997 1.1.1.3 tron *) # Look for the file first in the build tree, then in the source tree 3998 1.1.1.3 tron # (if the path is not absolute). The absolute path cannot be DOS-style, 3999 1.1.1.3 tron # because $ac_f cannot contain `:'. 4000 1.1.1.3 tron test -f "$ac_f" || 4001 1.1.1.3 tron case $ac_f in 4002 1.1.1.3 tron [\\/$]*) false;; 4003 1.1.1.3 tron *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 4004 1.1.1.3 tron esac || 4005 1.1.1.4 christos as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 4006 1.1.1.3 tron esac 4007 1.1.1.3 tron case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 4008 1.1.1.3 tron as_fn_append ac_file_inputs " '$ac_f'" 4009 1.1.1.3 tron done 4010 1.1.1.3 tron 4011 1.1.1.3 tron # Let's still pretend it is `configure' which instantiates (i.e., don't 4012 1.1.1.3 tron # use $as_me), people would be surprised to read: 4013 1.1.1.3 tron # /* config.h. Generated by config.status. */ 4014 1.1.1.3 tron configure_input='Generated from '` 4015 1.1.1.3 tron $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 4016 1.1.1.3 tron `' by configure.' 4017 1.1.1.3 tron if test x"$ac_file" != x-; then 4018 1.1.1.3 tron configure_input="$ac_file. $configure_input" 4019 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 4020 1.1.1.3 tron $as_echo "$as_me: creating $ac_file" >&6;} 4021 1.1.1.3 tron fi 4022 1.1.1.3 tron # Neutralize special characters interpreted by sed in replacement strings. 4023 1.1.1.3 tron case $configure_input in #( 4024 1.1.1.3 tron *\&* | *\|* | *\\* ) 4025 1.1.1.3 tron ac_sed_conf_input=`$as_echo "$configure_input" | 4026 1.1.1.3 tron sed 's/[\\\\&|]/\\\\&/g'`;; #( 4027 1.1.1.3 tron *) ac_sed_conf_input=$configure_input;; 4028 1.1.1.3 tron esac 4029 1.1 lukem 4030 1.1.1.3 tron case $ac_tag in 4031 1.1.1.4 christos *:-:* | *:-) cat >"$ac_tmp/stdin" \ 4032 1.1.1.4 christos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 4033 1.1.1.3 tron esac 4034 1.1.1.3 tron ;; 4035 1.1 lukem esac 4036 1.1 lukem 4037 1.1.1.3 tron ac_dir=`$as_dirname -- "$ac_file" || 4038 1.1.1.3 tron $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 4039 1.1.1.3 tron X"$ac_file" : 'X\(//\)[^/]' \| \ 4040 1.1.1.3 tron X"$ac_file" : 'X\(//\)$' \| \ 4041 1.1.1.3 tron X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 4042 1.1.1.3 tron $as_echo X"$ac_file" | 4043 1.1.1.3 tron sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 4044 1.1.1.3 tron s//\1/ 4045 1.1.1.3 tron q 4046 1.1.1.3 tron } 4047 1.1.1.3 tron /^X\(\/\/\)[^/].*/{ 4048 1.1.1.3 tron s//\1/ 4049 1.1.1.3 tron q 4050 1.1.1.3 tron } 4051 1.1.1.3 tron /^X\(\/\/\)$/{ 4052 1.1.1.3 tron s//\1/ 4053 1.1.1.3 tron q 4054 1.1.1.3 tron } 4055 1.1.1.3 tron /^X\(\/\).*/{ 4056 1.1.1.3 tron s//\1/ 4057 1.1.1.3 tron q 4058 1.1.1.3 tron } 4059 1.1.1.3 tron s/.*/./; q'` 4060 1.1.1.3 tron as_dir="$ac_dir"; as_fn_mkdir_p 4061 1.1.1.3 tron ac_builddir=. 4062 1.1.1.3 tron 4063 1.1.1.3 tron case "$ac_dir" in 4064 1.1.1.3 tron .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 4065 1.1.1.3 tron *) 4066 1.1.1.3 tron ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 4067 1.1.1.3 tron # A ".." for each directory in $ac_dir_suffix. 4068 1.1.1.3 tron ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 4069 1.1.1.3 tron case $ac_top_builddir_sub in 4070 1.1.1.3 tron "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 4071 1.1.1.3 tron *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 4072 1.1.1.3 tron esac ;; 4073 1.1.1.3 tron esac 4074 1.1.1.3 tron ac_abs_top_builddir=$ac_pwd 4075 1.1.1.3 tron ac_abs_builddir=$ac_pwd$ac_dir_suffix 4076 1.1.1.3 tron # for backward compatibility: 4077 1.1.1.3 tron ac_top_builddir=$ac_top_build_prefix 4078 1.1.1.3 tron 4079 1.1.1.3 tron case $srcdir in 4080 1.1.1.3 tron .) # We are building in place. 4081 1.1.1.3 tron ac_srcdir=. 4082 1.1.1.3 tron ac_top_srcdir=$ac_top_builddir_sub 4083 1.1.1.3 tron ac_abs_top_srcdir=$ac_pwd ;; 4084 1.1.1.3 tron [\\/]* | ?:[\\/]* ) # Absolute name. 4085 1.1.1.3 tron ac_srcdir=$srcdir$ac_dir_suffix; 4086 1.1.1.3 tron ac_top_srcdir=$srcdir 4087 1.1.1.3 tron ac_abs_top_srcdir=$srcdir ;; 4088 1.1.1.3 tron *) # Relative name. 4089 1.1.1.3 tron ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix 4090 1.1.1.3 tron ac_top_srcdir=$ac_top_build_prefix$srcdir 4091 1.1.1.3 tron ac_abs_top_srcdir=$ac_pwd/$srcdir ;; 4092 1.1.1.3 tron esac 4093 1.1.1.3 tron ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix 4094 1.1.1.3 tron 4095 1.1.1.3 tron 4096 1.1.1.3 tron case $ac_mode in 4097 1.1.1.3 tron :F) 4098 1.1.1.3 tron # 4099 1.1.1.3 tron # CONFIG_FILE 4100 1.1.1.3 tron # 4101 1.1.1.3 tron 4102 1.1.1.3 tron case $INSTALL in 4103 1.1.1.3 tron [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 4104 1.1.1.3 tron *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;; 4105 1.1 lukem esac 4106 1.1.1.3 tron _ACEOF 4107 1.1.1.3 tron 4108 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4109 1.1.1.3 tron # If the template does not know about datarootdir, expand it. 4110 1.1.1.3 tron # FIXME: This hack should be removed a few years after 2.60. 4111 1.1.1.3 tron ac_datarootdir_hack=; ac_datarootdir_seen= 4112 1.1.1.3 tron ac_sed_dataroot=' 4113 1.1.1.3 tron /datarootdir/ { 4114 1.1.1.3 tron p 4115 1.1.1.3 tron q 4116 1.1.1.3 tron } 4117 1.1.1.3 tron /@datadir@/p 4118 1.1.1.3 tron /@docdir@/p 4119 1.1.1.3 tron /@infodir@/p 4120 1.1.1.3 tron /@localedir@/p 4121 1.1.1.3 tron /@mandir@/p' 4122 1.1.1.3 tron case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 4123 1.1.1.3 tron *datarootdir*) ac_datarootdir_seen=yes;; 4124 1.1.1.3 tron *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 4125 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 4126 1.1.1.3 tron $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 4127 1.1.1.3 tron _ACEOF 4128 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4129 1.1.1.3 tron ac_datarootdir_hack=' 4130 1.1.1.3 tron s&@datadir@&$datadir&g 4131 1.1.1.3 tron s&@docdir@&$docdir&g 4132 1.1.1.3 tron s&@infodir@&$infodir&g 4133 1.1.1.3 tron s&@localedir@&$localedir&g 4134 1.1.1.3 tron s&@mandir@&$mandir&g 4135 1.1.1.3 tron s&\\\${datarootdir}&$datarootdir&g' ;; 4136 1.1.1.3 tron esac 4137 1.1.1.3 tron _ACEOF 4138 1.1.1.3 tron 4139 1.1.1.3 tron # Neutralize VPATH when `$srcdir' = `.'. 4140 1.1.1.3 tron # Shell code in configure.ac might set extrasub. 4141 1.1.1.3 tron # FIXME: do we really want to maintain this feature? 4142 1.1.1.3 tron cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 4143 1.1.1.3 tron ac_sed_extra="$ac_vpsub 4144 1.1.1.3 tron $extrasub 4145 1.1.1.3 tron _ACEOF 4146 1.1.1.3 tron cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 4147 1.1.1.3 tron :t 4148 1.1.1.3 tron /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 4149 1.1.1.3 tron s|@configure_input@|$ac_sed_conf_input|;t t 4150 1.1.1.3 tron s&@top_builddir@&$ac_top_builddir_sub&;t t 4151 1.1.1.3 tron s&@top_build_prefix@&$ac_top_build_prefix&;t t 4152 1.1.1.3 tron s&@srcdir@&$ac_srcdir&;t t 4153 1.1.1.3 tron s&@abs_srcdir@&$ac_abs_srcdir&;t t 4154 1.1.1.3 tron s&@top_srcdir@&$ac_top_srcdir&;t t 4155 1.1.1.3 tron s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t 4156 1.1.1.3 tron s&@builddir@&$ac_builddir&;t t 4157 1.1.1.3 tron s&@abs_builddir@&$ac_abs_builddir&;t t 4158 1.1.1.3 tron s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 4159 1.1.1.3 tron s&@INSTALL@&$ac_INSTALL&;t t 4160 1.1.1.3 tron $ac_datarootdir_hack 4161 1.1.1.3 tron " 4162 1.1.1.4 christos eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 4163 1.1.1.4 christos >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4164 1.1.1.3 tron 4165 1.1.1.3 tron test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 4166 1.1.1.4 christos { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 4167 1.1.1.4 christos { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 4168 1.1.1.4 christos "$ac_tmp/out"`; test -z "$ac_out"; } && 4169 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4170 1.1.1.4 christos which seems to be undefined. Please make sure it is defined" >&5 4171 1.1.1.3 tron $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 4172 1.1.1.4 christos which seems to be undefined. Please make sure it is defined" >&2;} 4173 1.1.1.3 tron 4174 1.1.1.4 christos rm -f "$ac_tmp/stdin" 4175 1.1.1.3 tron case $ac_file in 4176 1.1.1.4 christos -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 4177 1.1.1.4 christos *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 4178 1.1.1.3 tron esac \ 4179 1.1.1.4 christos || as_fn_error $? "could not create $ac_file" "$LINENO" 5 4180 1.1.1.3 tron ;; 4181 1.1.1.3 tron 4182 1.1.1.3 tron 4183 1.1 lukem 4184 1.1 lukem esac 4185 1.1 lukem 4186 1.1.1.3 tron done # for ac_tag 4187 1.1.1.3 tron 4188 1.1.1.3 tron 4189 1.1.1.3 tron as_fn_exit 0 4190 1.1.1.3 tron _ACEOF 4191 1.1.1.3 tron ac_clean_files=$ac_clean_files_save 4192 1.1.1.3 tron 4193 1.1.1.3 tron test $ac_write_fail = 0 || 4194 1.1.1.4 christos as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 4195 1.1.1.3 tron 4196 1.1.1.3 tron 4197 1.1.1.3 tron # configure is writing to config.log, and then calls config.status. 4198 1.1.1.3 tron # config.status does its own redirection, appending to config.log. 4199 1.1.1.3 tron # Unfortunately, on DOS this fails, as config.log is still kept open 4200 1.1.1.3 tron # by configure, so config.status won't be able to write to it; its 4201 1.1.1.3 tron # output is simply discarded. So we exec the FD to /dev/null, 4202 1.1.1.3 tron # effectively closing config.log, so it can be properly (re)opened and 4203 1.1.1.3 tron # appended to by config.status. When coming back to configure, we 4204 1.1.1.3 tron # need to make the FD available again. 4205 1.1.1.3 tron if test "$no_create" != yes; then 4206 1.1.1.3 tron ac_cs_success=: 4207 1.1.1.3 tron ac_config_status_args= 4208 1.1.1.3 tron test "$silent" = yes && 4209 1.1.1.3 tron ac_config_status_args="$ac_config_status_args --quiet" 4210 1.1.1.3 tron exec 5>/dev/null 4211 1.1.1.3 tron $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 4212 1.1.1.3 tron exec 5>>config.log 4213 1.1.1.3 tron # Use ||, not &&, to avoid exiting from the if with $? = 1, which 4214 1.1.1.3 tron # would make configure fail if this is the last instruction. 4215 1.1.1.4 christos $ac_cs_success || as_fn_exit 1 4216 1.1.1.3 tron fi 4217 1.1.1.3 tron if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 4218 1.1.1.3 tron { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 4219 1.1.1.3 tron $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 4220 1.1.1.3 tron fi 4221 1.1 lukem 4222