Changeset 300 for trunk/configure
- Timestamp:
- 01/17/14 14:01:25 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r236 r300 1 1 #! /bin/sh 2 2 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.6 1.3 # Generated by GNU Autoconf 2.69. 4 4 # 5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 5 # 6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. 7 # 8 # 7 9 # This configure script is free software; the Free Software Foundation 8 10 # gives unlimited permission to copy, distribute and modify it. 9 ## -------------------- -##10 ## M4sh Initialization. 11 ## -------------------- -##11 ## -------------------- ## 12 ## M4sh Initialization. ## 13 ## -------------------- ## 12 14 13 15 # Be more Bourne compatible 14 16 DUALCASE=1; export DUALCASE # for MKS sh 15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 16 18 emulate sh 17 19 NULLCMD=: 18 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 19 21 # is contrary to our usage. Disable this feature. 20 22 alias -g '${1+"$@"}'='"$@"' 21 23 setopt NO_GLOB_SUBST 22 24 else 23 case `(set -o) 2>/dev/null` in 24 *posix*) set -o posix ;; 25 case `(set -o) 2>/dev/null` in #( 26 *posix*) : 27 set -o posix ;; #( 28 *) : 29 ;; 25 30 esac 26 27 fi 28 29 30 31 32 # PATH needs CR 33 # Avoid depending upon Character Ranges. 34 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 37 as_cr_digits='0123456789' 38 as_cr_alnum=$as_cr_Letters$as_cr_digits 31 fi 32 33 34 as_nl=' 35 ' 36 export as_nl 37 # Printing a long string crashes Solaris 7 /usr/bin/printf. 38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 41 # Prefer a ksh shell builtin over an external printf program on Solaris, 42 # but without wasting forks for bash or zsh. 43 if test -z "$BASH_VERSION$ZSH_VERSION" \ 44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 45 as_echo='print -r --' 46 as_echo_n='print -rn --' 47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 48 as_echo='printf %s\n' 49 as_echo_n='printf %s' 50 else 51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 53 as_echo_n='/usr/ucb/echo -n' 54 else 55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 56 as_echo_n_body='eval 57 arg=$1; 58 case $arg in #( 59 *"$as_nl"*) 60 expr "X$arg" : "X\\(.*\\)$as_nl"; 61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 62 esac; 63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 64 ' 65 export as_echo_n_body 66 as_echo_n='sh -c $as_echo_n_body as_echo' 67 fi 68 export as_echo_body 69 as_echo='sh -c $as_echo_body as_echo' 70 fi 39 71 40 72 # The user is always right. 41 73 if test "${PATH_SEPARATOR+set}" != set; then 42 echo "#! /bin/sh" >conf$$.sh 43 echo "exit 0" >>conf$$.sh 44 chmod +x conf$$.sh 45 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 46 PATH_SEPARATOR=';' 47 else 48 PATH_SEPARATOR=: 49 fi 50 rm -f conf$$.sh 51 fi 52 53 # Support unset when possible. 54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 55 as_unset=unset 56 else 57 as_unset=false 74 PATH_SEPARATOR=: 75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 77 PATH_SEPARATOR=';' 78 } 58 79 fi 59 80 … … 64 85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 65 86 # splitting by setting IFS to empty value.) 66 as_nl='67 '68 87 IFS=" "" $as_nl" 69 88 70 89 # Find who we are. Look in the path if we contain no directory separator. 71 case $0 in 90 as_myself= 91 case $0 in #(( 72 92 *[\\/]* ) as_myself=$0 ;; 73 93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 76 96 IFS=$as_save_IFS 77 97 test -z "$as_dir" && as_dir=. 78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break79 done98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 99 done 80 100 IFS=$as_save_IFS 81 101 … … 88 108 fi 89 109 if test ! -f "$as_myself"; then 90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 91 { (exit 1); exit 1; } 92 fi 93 94 # Work around bugs in pre-3.0 UWIN ksh. 95 for as_var in ENV MAIL MAILPATH 96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 111 exit 1 112 fi 113 114 # Unset variables that we do not need and which cause bugs (e.g. in 115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 116 # suppresses any "Segmentation fault" message there. '((' could 117 # trigger a bug in pdksh 5.2.14. 118 for as_var in BASH_ENV ENV MAIL MAILPATH 119 do eval test x\${$as_var+set} = xset \ 120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 97 121 done 98 122 PS1='$ ' … … 101 125 102 126 # NLS nuisances. 103 for as_var in \ 104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 106 LC_TELEPHONE LC_TIME 127 LC_ALL=C 128 export LC_ALL 129 LANGUAGE=C 130 export LANGUAGE 131 132 # CDPATH. 133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 134 135 # Use a proper internal environment variable to ensure we don't fall 136 # into an infinite loop, continuously re-executing ourselves. 137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then 138 _as_can_reexec=no; export _as_can_reexec; 139 # We cannot yet assume a decent shell, so we have to provide a 140 # neutralization value for shells without unset; and this also 141 # works around shells that cannot unset nonexistent variables. 142 # Preserve -v and -x to the replacement shell. 143 BASH_ENV=/dev/null 144 ENV=/dev/null 145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 146 case $- in # (((( 147 *v*x* | *x*v* ) as_opts=-vx ;; 148 *v* ) as_opts=-v ;; 149 *x* ) as_opts=-x ;; 150 * ) as_opts= ;; 151 esac 152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 153 # Admittedly, this is quite paranoid, since all the known shells bail 154 # out after a failed `exec'. 155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 156 as_fn_exit 255 157 fi 158 # We don't want this to propagate to other subprocesses. 159 { _as_can_reexec=; unset _as_can_reexec;} 160 if test "x$CONFIG_SHELL" = x; then 161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : 162 emulate sh 163 NULLCMD=: 164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which 165 # is contrary to our usage. Disable this feature. 166 alias -g '\${1+\"\$@\"}'='\"\$@\"' 167 setopt NO_GLOB_SUBST 168 else 169 case \`(set -o) 2>/dev/null\` in #( 170 *posix*) : 171 set -o posix ;; #( 172 *) : 173 ;; 174 esac 175 fi 176 " 177 as_required="as_fn_return () { (exit \$1); } 178 as_fn_success () { as_fn_return 0; } 179 as_fn_failure () { as_fn_return 1; } 180 as_fn_ret_success () { return 0; } 181 as_fn_ret_failure () { return 1; } 182 183 exitcode=0 184 as_fn_success || { exitcode=1; echo as_fn_success failed.; } 185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } 186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } 187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } 188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : 189 190 else 191 exitcode=1; echo positional parameters were not saved. 192 fi 193 test x\$exitcode = x0 || exit 1 194 test -x / || exit 1" 195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO 196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO 197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && 198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1" 199 if (eval "$as_required") 2>/dev/null; then : 200 as_have_required=yes 201 else 202 as_have_required=no 203 fi 204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : 205 206 else 207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 208 as_found=false 209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 107 210 do 108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 109 eval $as_var=C; export $as_var 211 IFS=$as_save_IFS 212 test -z "$as_dir" && as_dir=. 213 as_found=: 214 case $as_dir in #( 215 /*) 216 for as_base in sh bash ksh sh5; do 217 # Try only shells that exist, to save several forks. 218 as_shell=$as_dir/$as_base 219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : 221 CONFIG_SHELL=$as_shell as_have_required=yes 222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : 223 break 2 224 fi 225 fi 226 done;; 227 esac 228 as_found=false 229 done 230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && 231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : 232 CONFIG_SHELL=$SHELL as_have_required=yes 233 fi; } 234 IFS=$as_save_IFS 235 236 237 if test "x$CONFIG_SHELL" != x; then : 238 export CONFIG_SHELL 239 # We cannot yet assume a decent shell, so we have to provide a 240 # neutralization value for shells without unset; and this also 241 # works around shells that cannot unset nonexistent variables. 242 # Preserve -v and -x to the replacement shell. 243 BASH_ENV=/dev/null 244 ENV=/dev/null 245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV 246 case $- in # (((( 247 *v*x* | *x*v* ) as_opts=-vx ;; 248 *v* ) as_opts=-v ;; 249 *x* ) as_opts=-x ;; 250 * ) as_opts= ;; 251 esac 252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"} 253 # Admittedly, this is quite paranoid, since all the known shells bail 254 # out after a failed `exec'. 255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2 256 exit 255 257 fi 258 259 if test x$as_have_required = xno; then : 260 $as_echo "$0: This script requires a shell more modern than all" 261 $as_echo "$0: the shells that I found on your system." 262 if test x${ZSH_VERSION+set} = xset ; then 263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" 264 $as_echo "$0: be upgraded to zsh 4.3.4 or later." 110 265 else 111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system, 267 $0: including any error possibly output before this 268 $0: message. Then install a modern shell, or manually run 269 $0: the script under such a shell if you do have one." 112 270 fi 113 done 114 115 # Required to use basename. 271 exit 1 272 fi 273 fi 274 fi 275 SHELL=${CONFIG_SHELL-/bin/sh} 276 export SHELL 277 # Unset more variables known to interfere with behavior of common tools. 278 CLICOLOR_FORCE= GREP_OPTIONS= 279 unset CLICOLOR_FORCE GREP_OPTIONS 280 281 ## --------------------- ## 282 ## M4sh Shell Functions. ## 283 ## --------------------- ## 284 # as_fn_unset VAR 285 # --------------- 286 # Portably unset VAR. 287 as_fn_unset () 288 { 289 { eval $1=; unset $1;} 290 } 291 as_unset=as_fn_unset 292 293 # as_fn_set_status STATUS 294 # ----------------------- 295 # Set $? to STATUS, without forking. 296 as_fn_set_status () 297 { 298 return $1 299 } # as_fn_set_status 300 301 # as_fn_exit STATUS 302 # ----------------- 303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 304 as_fn_exit () 305 { 306 set +e 307 as_fn_set_status $1 308 exit $1 309 } # as_fn_exit 310 311 # as_fn_mkdir_p 312 # ------------- 313 # Create "$as_dir" as a directory, including parents if necessary. 314 as_fn_mkdir_p () 315 { 316 317 case $as_dir in #( 318 -*) as_dir=./$as_dir;; 319 esac 320 test -d "$as_dir" || eval $as_mkdir_p || { 321 as_dirs= 322 while :; do 323 case $as_dir in #( 324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 325 *) as_qdir=$as_dir;; 326 esac 327 as_dirs="'$as_qdir' $as_dirs" 328 as_dir=`$as_dirname -- "$as_dir" || 329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 330 X"$as_dir" : 'X\(//\)[^/]' \| \ 331 X"$as_dir" : 'X\(//\)$' \| \ 332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 333 $as_echo X"$as_dir" | 334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 335 s//\1/ 336 q 337 } 338 /^X\(\/\/\)[^/].*/{ 339 s//\1/ 340 q 341 } 342 /^X\(\/\/\)$/{ 343 s//\1/ 344 q 345 } 346 /^X\(\/\).*/{ 347 s//\1/ 348 q 349 } 350 s/.*/./; q'` 351 test -d "$as_dir" && break 352 done 353 test -z "$as_dirs" || eval "mkdir $as_dirs" 354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 355 356 357 } # as_fn_mkdir_p 358 359 # as_fn_executable_p FILE 360 # ----------------------- 361 # Test if FILE is an executable regular file. 362 as_fn_executable_p () 363 { 364 test -f "$1" && test -x "$1" 365 } # as_fn_executable_p 366 # as_fn_append VAR VALUE 367 # ---------------------- 368 # Append the text in VALUE to the end of the definition contained in VAR. Take 369 # advantage of any shell optimizations that allow amortized linear growth over 370 # repeated appends, instead of the typical quadratic growth present in naive 371 # implementations. 372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 373 eval 'as_fn_append () 374 { 375 eval $1+=\$2 376 }' 377 else 378 as_fn_append () 379 { 380 eval $1=\$$1\$2 381 } 382 fi # as_fn_append 383 384 # as_fn_arith ARG... 385 # ------------------ 386 # Perform arithmetic evaluation on the ARGs, and store the result in the 387 # global $as_val. Take advantage of shells that can avoid forks. The arguments 388 # must be portable across $(()) and expr. 389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 390 eval 'as_fn_arith () 391 { 392 as_val=$(( $* )) 393 }' 394 else 395 as_fn_arith () 396 { 397 as_val=`expr "$@" || test $? -eq 1` 398 } 399 fi # as_fn_arith 400 401 402 # as_fn_error STATUS ERROR [LINENO LOG_FD] 403 # ---------------------------------------- 404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 406 # script with STATUS, using 1 if that was 0. 407 as_fn_error () 408 { 409 as_status=$1; test $as_status -eq 0 && as_status=1 410 if test "$4"; then 411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 413 fi 414 $as_echo "$as_me: error: $2" >&2 415 as_fn_exit $as_status 416 } # as_fn_error 417 116 418 if expr a : '\(a\)' >/dev/null 2>&1 && 117 419 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 127 429 fi 128 430 129 130 # Name of the executable. 431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 432 as_dirname=dirname 433 else 434 as_dirname=false 435 fi 436 131 437 as_me=`$as_basename -- "$0" || 132 438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 133 439 X"$0" : 'X\(//\)$' \| \ 134 440 X"$0" : 'X\(/\)' \| . 2>/dev/null || 135 echo X/"$0" |441 $as_echo X/"$0" | 136 442 sed '/^.*\/\([^/][^/]*\)\/*$/{ 137 443 s//\1/ … … 148 454 s/.*/./; q'` 149 455 150 # CDPATH. 151 $as_unset CDPATH 152 153 154 if test "x$CONFIG_SHELL" = x; then 155 if (eval ":") 2>/dev/null; then 156 as_have_required=yes 157 else 158 as_have_required=no 159 fi 160 161 if test $as_have_required = yes && (eval ": 162 (as_func_return () { 163 (exit \$1) 164 } 165 as_func_success () { 166 as_func_return 0 167 } 168 as_func_failure () { 169 as_func_return 1 170 } 171 as_func_ret_success () { 172 return 0 173 } 174 as_func_ret_failure () { 175 return 1 176 } 177 178 exitcode=0 179 if as_func_success; then 180 : 181 else 182 exitcode=1 183 echo as_func_success failed. 184 fi 185 186 if as_func_failure; then 187 exitcode=1 188 echo as_func_failure succeeded. 189 fi 190 191 if as_func_ret_success; then 192 : 193 else 194 exitcode=1 195 echo as_func_ret_success failed. 196 fi 197 198 if as_func_ret_failure; then 199 exitcode=1 200 echo as_func_ret_failure succeeded. 201 fi 202 203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 204 : 205 else 206 exitcode=1 207 echo positional parameters were not saved. 208 fi 209 210 test \$exitcode = 0) || { (exit 1); exit 1; } 211 212 ( 213 as_lineno_1=\$LINENO 214 as_lineno_2=\$LINENO 215 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && 216 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } 217 ") 2> /dev/null; then 218 : 219 else 220 as_candidate_shells= 221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 223 do 224 IFS=$as_save_IFS 225 test -z "$as_dir" && as_dir=. 226 case $as_dir in 227 /*) 228 for as_base in sh bash ksh sh5; do 229 as_candidate_shells="$as_candidate_shells $as_dir/$as_base" 230 done;; 231 esac 232 done 233 IFS=$as_save_IFS 234 235 236 for as_shell in $as_candidate_shells $SHELL; do 237 # Try only shells that exist, to save several forks. 238 if { test -f "$as_shell" || test -f "$as_shell.exe"; } && 239 { ("$as_shell") 2> /dev/null <<\_ASEOF 240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 241 emulate sh 242 NULLCMD=: 243 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 244 # is contrary to our usage. Disable this feature. 245 alias -g '${1+"$@"}'='"$@"' 246 setopt NO_GLOB_SUBST 247 else 248 case `(set -o) 2>/dev/null` in 249 *posix*) set -o posix ;; 250 esac 251 252 fi 253 254 255 : 256 _ASEOF 257 }; then 258 CONFIG_SHELL=$as_shell 259 as_have_required=yes 260 if { "$as_shell" 2> /dev/null <<\_ASEOF 261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 262 emulate sh 263 NULLCMD=: 264 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 265 # is contrary to our usage. Disable this feature. 266 alias -g '${1+"$@"}'='"$@"' 267 setopt NO_GLOB_SUBST 268 else 269 case `(set -o) 2>/dev/null` in 270 *posix*) set -o posix ;; 271 esac 272 273 fi 274 275 276 : 277 (as_func_return () { 278 (exit $1) 279 } 280 as_func_success () { 281 as_func_return 0 282 } 283 as_func_failure () { 284 as_func_return 1 285 } 286 as_func_ret_success () { 287 return 0 288 } 289 as_func_ret_failure () { 290 return 1 291 } 292 293 exitcode=0 294 if as_func_success; then 295 : 296 else 297 exitcode=1 298 echo as_func_success failed. 299 fi 300 301 if as_func_failure; then 302 exitcode=1 303 echo as_func_failure succeeded. 304 fi 305 306 if as_func_ret_success; then 307 : 308 else 309 exitcode=1 310 echo as_func_ret_success failed. 311 fi 312 313 if as_func_ret_failure; then 314 exitcode=1 315 echo as_func_ret_failure succeeded. 316 fi 317 318 if ( set x; as_func_ret_success y && test x = "$1" ); then 319 : 320 else 321 exitcode=1 322 echo positional parameters were not saved. 323 fi 324 325 test $exitcode = 0) || { (exit 1); exit 1; } 326 327 ( 328 as_lineno_1=$LINENO 329 as_lineno_2=$LINENO 330 test "x$as_lineno_1" != "x$as_lineno_2" && 331 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } 332 333 _ASEOF 334 }; then 335 break 336 fi 337 338 fi 339 340 done 341 342 if test "x$CONFIG_SHELL" != x; then 343 for as_var in BASH_ENV ENV 344 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 345 done 346 export CONFIG_SHELL 347 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} 348 fi 349 350 351 if test $as_have_required = no; then 352 echo This script requires a shell more modern than all the 353 echo shells that I found on your system. Please install a 354 echo modern shell, or manually run the script under such a 355 echo shell if you do have one. 356 { (exit 1); exit 1; } 357 fi 358 359 360 fi 361 362 fi 363 364 365 366 (eval "as_func_return () { 367 (exit \$1) 368 } 369 as_func_success () { 370 as_func_return 0 371 } 372 as_func_failure () { 373 as_func_return 1 374 } 375 as_func_ret_success () { 376 return 0 377 } 378 as_func_ret_failure () { 379 return 1 380 } 381 382 exitcode=0 383 if as_func_success; then 384 : 385 else 386 exitcode=1 387 echo as_func_success failed. 388 fi 389 390 if as_func_failure; then 391 exitcode=1 392 echo as_func_failure succeeded. 393 fi 394 395 if as_func_ret_success; then 396 : 397 else 398 exitcode=1 399 echo as_func_ret_success failed. 400 fi 401 402 if as_func_ret_failure; then 403 exitcode=1 404 echo as_func_ret_failure succeeded. 405 fi 406 407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then 408 : 409 else 410 exitcode=1 411 echo positional parameters were not saved. 412 fi 413 414 test \$exitcode = 0") || { 415 echo No shell found that supports shell functions. 416 echo Please tell autoconf@gnu.org about your system, 417 echo including any error possibly output before this 418 echo message 419 } 420 421 422 423 as_lineno_1=$LINENO 424 as_lineno_2=$LINENO 425 test "x$as_lineno_1" != "x$as_lineno_2" && 426 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 427 428 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 429 # uniformly replaced by the line number. The first 'sed' inserts a 430 # line-number line after each line using $LINENO; the second 'sed' 431 # does the real work. The second script uses 'N' to pair each 432 # line-number line with the line containing $LINENO, and appends 433 # trailing '-' during substitution so that $LINENO is not a special 434 # case at line end. 435 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 436 # scripts with optimization help from Paolo Bonzini. Blame Lee 437 # E. McMahon (1931-1989) for sed's syntax. :-) 456 # Avoid depending upon Character Ranges. 457 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 460 as_cr_digits='0123456789' 461 as_cr_alnum=$as_cr_Letters$as_cr_digits 462 463 464 as_lineno_1=$LINENO as_lineno_1a=$LINENO 465 as_lineno_2=$LINENO as_lineno_2a=$LINENO 466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && 467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { 468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) 438 469 sed -n ' 439 470 p … … 452 483 ' >$as_me.lineno && 453 484 chmod +x "$as_me.lineno" || 454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 455 { (exit 1); exit 1; }; } 456 485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } 486 487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have 488 # already done that, so ensure we don't try to do so again and fall 489 # in an infinite loop. This has already happened in practice. 490 _as_can_reexec=no; export _as_can_reexec 457 491 # Don't try to exec as it changes $[0], causing all sort of problems 458 492 # (the dirname of $[0] is not the place where we might find the … … 463 497 } 464 498 465 466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then467 as_dirname=dirname468 else469 as_dirname=false470 fi471 472 499 ECHO_C= ECHO_N= ECHO_T= 473 case `echo -n x` in 500 case `echo -n x` in #((((( 474 501 -n*) 475 case `echo 'x \c'` in502 case `echo 'xy\c'` in 476 503 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 477 *) ECHO_C='\c';; 504 xy) ECHO_C='\c';; 505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 506 ECHO_T=' ';; 478 507 esac;; 479 508 *) … … 481 510 esac 482 511 483 if expr a : '\(a\)' >/dev/null 2>&1 &&484 test "X`expr 00001 : '.*\(...\)'`" = X001; then485 as_expr=expr486 else487 as_expr=false488 fi489 490 512 rm -f conf$$ conf$$.exe conf$$.file 491 513 if test -d conf$$.dir; then … … 493 515 else 494 516 rm -f conf$$.dir 495 mkdir conf$$.dir 496 fi 497 echo >conf$$.file 498 if ln -s conf$$.file conf$$ 2>/dev/null; then 499 as_ln_s='ln -s' 500 # ... but there are two gotchas: 501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 502 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 503 # In both cases, we have to default to `cp -p'. 504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 505 as_ln_s='cp -p' 506 elif ln conf$$.file conf$$ 2>/dev/null; then 507 as_ln_s=ln 508 else 509 as_ln_s='cp -p' 517 mkdir conf$$.dir 2>/dev/null 518 fi 519 if (echo >conf$$.file) 2>/dev/null; then 520 if ln -s conf$$.file conf$$ 2>/dev/null; then 521 as_ln_s='ln -s' 522 # ... but there are two gotchas: 523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 525 # In both cases, we have to default to `cp -pR'. 526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 527 as_ln_s='cp -pR' 528 elif ln conf$$.file conf$$ 2>/dev/null; then 529 as_ln_s=ln 530 else 531 as_ln_s='cp -pR' 532 fi 533 else 534 as_ln_s='cp -pR' 510 535 fi 511 536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file … … 513 538 514 539 if mkdir -p . 2>/dev/null; then 515 as_mkdir_p= :540 as_mkdir_p='mkdir -p "$as_dir"' 516 541 else 517 542 test -d ./-p && rmdir ./-p … … 519 544 fi 520 545 521 if test -x / >/dev/null 2>&1; then 522 as_test_x='test -x' 523 else 524 if ls -dL / >/dev/null 2>&1; then 525 as_ls_L_option=L 526 else 527 as_ls_L_option= 528 fi 529 as_test_x=' 530 eval sh -c '\'' 531 if test -d "$1"; then 532 test -d "$1/."; 533 else 534 case $1 in 535 -*)set "./$1";; 536 esac; 537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 538 ???[sx]*):;;*)false;;esac;fi 539 '\'' sh 540 ' 541 fi 542 as_executable_p=$as_test_x 546 as_test_x='test -x' 547 as_executable_p=as_fn_executable_p 543 548 544 549 # Sed expression to map a string onto a valid CPP name. … … 549 554 550 555 551 552 exec 7<&0 </dev/null6>&1556 test -n "$DJDIR" || exec 7<&0 </dev/null 557 exec 6>&1 553 558 554 559 # Name of the host. 555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status, 556 561 # so uname gets run too. 557 562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` … … 568 573 MFLAGS= 569 574 MAKEFLAGS= 570 SHELL=${CONFIG_SHELL-/bin/sh}571 575 572 576 # Identity of this package. … … 576 580 PACKAGE_STRING= 577 581 PACKAGE_BUGREPORT= 578 579 ac_unique_file="src/pbs_2.4.py" 580 ac_subst_vars='SHELL 582 PACKAGE_URL= 583 584 ac_unique_file="src/PBSQuery.py" 585 ac_subst_vars='LTLIBOBJS 586 LIBOBJS 587 pkgpyexecdir 588 pkgpythondir 589 pythondir 590 PYTHON_PLATFORM 591 PYTHON_EXEC_PREFIX 592 PYTHON_PREFIX 593 PYTHON_VERSION 594 PYTHON 595 pbs_version 596 pbs_library_dir 597 pbs_library_compile_line 598 PBSCONFIG 599 pbsdir 600 pyexecdir 601 target_alias 602 host_alias 603 build_alias 604 LIBS 605 ECHO_T 606 ECHO_N 607 ECHO_C 608 DEFS 609 mandir 610 localedir 611 libdir 612 psdir 613 pdfdir 614 dvidir 615 htmldir 616 infodir 617 docdir 618 oldincludedir 619 includedir 620 localstatedir 621 sharedstatedir 622 sysconfdir 623 datadir 624 datarootdir 625 libexecdir 626 sbindir 627 bindir 628 program_transform_name 629 prefix 630 exec_prefix 631 PACKAGE_URL 632 PACKAGE_BUGREPORT 633 PACKAGE_STRING 634 PACKAGE_VERSION 635 PACKAGE_TARNAME 636 PACKAGE_NAME 581 637 PATH_SEPARATOR 582 PACKAGE_NAME 583 PACKAGE_TARNAME 584 PACKAGE_VERSION 585 PACKAGE_STRING 586 PACKAGE_BUGREPORT 587 exec_prefix 588 prefix 589 program_transform_name 590 bindir 591 sbindir 592 libexecdir 593 datarootdir 594 datadir 595 sysconfdir 596 sharedstatedir 597 localstatedir 598 includedir 599 oldincludedir 600 docdir 601 infodir 602 htmldir 603 dvidir 604 pdfdir 605 psdir 606 libdir 607 localedir 608 mandir 609 DEFS 610 ECHO_C 611 ECHO_N 612 ECHO_T 613 LIBS 614 build_alias 615 host_alias 616 target_alias 617 pyexecdir 618 pbsdir 619 PBSCONFIG 620 pbs_library_compile_line 621 pbs_library_dir 622 pbs_version 623 PYTHON 624 PYTHON_VERSION 625 PYTHON_PREFIX 626 PYTHON_EXEC_PREFIX 627 PYTHON_PLATFORM 628 pythondir 629 pkgpythondir 630 pkgpyexecdir 631 LIBOBJS 632 LTLIBOBJS' 638 SHELL' 633 639 ac_subst_files='' 640 ac_user_opts=' 641 enable_option_checking 642 with_pbsdir 643 ' 634 644 ac_precious_vars='build_alias 635 645 host_alias … … 640 650 ac_init_help= 641 651 ac_init_version=false 652 ac_unrecognized_opts= 653 ac_unrecognized_sep= 642 654 # The variables have the same names as the options, with 643 655 # dashes changed to underlines. … … 695 707 696 708 case $ac_option in 697 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 698 *) ac_optarg=yes ;; 709 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;; 710 *=) ac_optarg= ;; 711 *) ac_optarg=yes ;; 699 712 esac 700 713 … … 738 751 739 752 -disable-* | --disable-*) 740 ac_ feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`753 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 741 754 # Reject names that are not valid shell variable names. 742 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 743 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 744 { (exit 1); exit 1; }; } 745 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 746 eval enable_$ac_feature=no ;; 755 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 756 as_fn_error $? "invalid feature name: $ac_useropt" 757 ac_useropt_orig=$ac_useropt 758 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 759 case $ac_user_opts in 760 *" 761 "enable_$ac_useropt" 762 "*) ;; 763 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig" 764 ac_unrecognized_sep=', ';; 765 esac 766 eval enable_$ac_useropt=no ;; 747 767 748 768 -docdir | --docdir | --docdi | --doc | --do) … … 757 777 758 778 -enable-* | --enable-*) 759 ac_ feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`779 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 760 780 # Reject names that are not valid shell variable names. 761 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 762 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 763 { (exit 1); exit 1; }; } 764 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 765 eval enable_$ac_feature=\$ac_optarg ;; 781 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 782 as_fn_error $? "invalid feature name: $ac_useropt" 783 ac_useropt_orig=$ac_useropt 784 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 785 case $ac_user_opts in 786 *" 787 "enable_$ac_useropt" 788 "*) ;; 789 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig" 790 ac_unrecognized_sep=', ';; 791 esac 792 eval enable_$ac_useropt=\$ac_optarg ;; 766 793 767 794 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 954 981 955 982 -with-* | --with-*) 956 ac_ package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`983 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 957 984 # Reject names that are not valid shell variable names. 958 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 959 { echo "$as_me: error: invalid package name: $ac_package" >&2 960 { (exit 1); exit 1; }; } 961 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 962 eval with_$ac_package=\$ac_optarg ;; 985 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 986 as_fn_error $? "invalid package name: $ac_useropt" 987 ac_useropt_orig=$ac_useropt 988 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 989 case $ac_user_opts in 990 *" 991 "with_$ac_useropt" 992 "*) ;; 993 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig" 994 ac_unrecognized_sep=', ';; 995 esac 996 eval with_$ac_useropt=\$ac_optarg ;; 963 997 964 998 -without-* | --without-*) 965 ac_ package=`expr "x$ac_option" : 'x-*without-\(.*\)'`999 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` 966 1000 # Reject names that are not valid shell variable names. 967 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 968 { echo "$as_me: error: invalid package name: $ac_package" >&2 969 { (exit 1); exit 1; }; } 970 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 971 eval with_$ac_package=no ;; 1001 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && 1002 as_fn_error $? "invalid package name: $ac_useropt" 1003 ac_useropt_orig=$ac_useropt 1004 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` 1005 case $ac_user_opts in 1006 *" 1007 "with_$ac_useropt" 1008 "*) ;; 1009 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig" 1010 ac_unrecognized_sep=', ';; 1011 esac 1012 eval with_$ac_useropt=no ;; 972 1013 973 1014 --x) … … 989 1030 x_libraries=$ac_optarg ;; 990 1031 991 -*) { echo "$as_me: error: unrecognized option: $ac_option 992 Try \`$0 --help' for more information." >&2 993 { (exit 1); exit 1; }; } 1032 -*) as_fn_error $? "unrecognized option: \`$ac_option' 1033 Try \`$0 --help' for more information" 994 1034 ;; 995 1035 … … 997 1037 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 998 1038 # Reject names that are not valid shell variable names. 999 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1000 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1001 { (exit 1); exit 1; }; } 1039 case $ac_envvar in #( 1040 '' | [0-9]* | *[!_$as_cr_alnum]* ) 1041 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;; 1042 esac 1002 1043 eval $ac_envvar=\$ac_optarg 1003 1044 export $ac_envvar ;; … … 1005 1046 *) 1006 1047 # FIXME: should be removed in autoconf 3.0. 1007 echo "$as_me: WARNING: you should use --build, --host, --target" >&21048 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1008 1049 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1009 echo "$as_me: WARNING: invalid host type: $ac_option" >&21010 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}1050 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1051 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}" 1011 1052 ;; 1012 1053 … … 1016 1057 if test -n "$ac_prev"; then 1017 1058 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1018 { echo "$as_me: error: missing argument to $ac_option" >&2 1019 { (exit 1); exit 1; }; } 1020 fi 1021 1022 # Be sure to have absolute directory names. 1059 as_fn_error $? "missing argument to $ac_option" 1060 fi 1061 1062 if test -n "$ac_unrecognized_opts"; then 1063 case $enable_option_checking in 1064 no) ;; 1065 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;; 1066 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; 1067 esac 1068 fi 1069 1070 # Check all directory arguments for consistency. 1023 1071 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1024 1072 datadir sysconfdir sharedstatedir localstatedir includedir \ … … 1027 1075 do 1028 1076 eval ac_val=\$$ac_var 1077 # Remove trailing slashes. 1078 case $ac_val in 1079 */ ) 1080 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'` 1081 eval $ac_var=\$ac_val;; 1082 esac 1083 # Be sure to have absolute directory names. 1029 1084 case $ac_val in 1030 1085 [\\/$]* | ?:[\\/]* ) continue;; 1031 1086 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1032 1087 esac 1033 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1034 { (exit 1); exit 1; }; } 1088 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val" 1035 1089 done 1036 1090 … … 1046 1100 if test "x$build_alias" = x; then 1047 1101 cross_compiling=maybe 1048 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.1049 If a cross compiler is detected then cross compile mode will be used." >&21050 1102 elif test "x$build_alias" != "x$host_alias"; then 1051 1103 cross_compiling=yes … … 1062 1114 ac_ls_di=`ls -di .` && 1063 1115 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1064 { echo "$as_me: error: Working directory cannot be determined" >&2 1065 { (exit 1); exit 1; }; } 1116 as_fn_error $? "working directory cannot be determined" 1066 1117 test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1067 { echo "$as_me: error: pwd does not report name of working directory" >&2 1068 { (exit 1); exit 1; }; } 1118 as_fn_error $? "pwd does not report name of working directory" 1069 1119 1070 1120 … … 1073 1123 ac_srcdir_defaulted=yes 1074 1124 # Try the directory containing this script, then the parent directory. 1075 ac_confdir=`$as_dirname -- "$ 0" ||1076 $as_expr X"$ 0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \1077 X"$ 0" : 'X\(//\)[^/]' \| \1078 X"$ 0" : 'X\(//\)$' \| \1079 X"$ 0" : 'X\(/\)' \| . 2>/dev/null ||1080 echo X"$0" |1125 ac_confdir=`$as_dirname -- "$as_myself" || 1126 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1127 X"$as_myself" : 'X\(//\)[^/]' \| \ 1128 X"$as_myself" : 'X\(//\)$' \| \ 1129 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null || 1130 $as_echo X"$as_myself" | 1081 1131 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1082 1132 s//\1/ … … 1105 1155 if test ! -r "$srcdir/$ac_unique_file"; then 1106 1156 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1107 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1108 { (exit 1); exit 1; }; } 1157 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir" 1109 1158 fi 1110 1159 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1111 1160 ac_abs_confdir=`( 1112 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1113 { (exit 1); exit 1; }; } 1161 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg" 1114 1162 pwd)` 1115 1163 # When building in place, set srcdir=. … … 1151 1199 --help=recursive display the short help of all the included packages 1152 1200 -V, --version display version information and exit 1153 -q, --quiet, --silent do not print \`checking ...' messages1201 -q, --quiet, --silent do not print \`checking ...' messages 1154 1202 --cache-file=FILE cache test results in FILE [disabled] 1155 1203 -C, --config-cache alias for \`--cache-file=config.cache' … … 1159 1207 Installation directories: 1160 1208 --prefix=PREFIX install architecture-independent files in PREFIX 1161 1209 [$ac_default_prefix] 1162 1210 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1163 1211 [PREFIX] 1164 1212 1165 1213 By default, \`make install' will install all the files in … … 1171 1219 1172 1220 Fine tuning of the installation directories: 1173 --bindir=DIR user executables [EPREFIX/bin]1174 --sbindir=DIR system admin executables [EPREFIX/sbin]1175 --libexecdir=DIR program executables [EPREFIX/libexec]1176 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]1177 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]1178 --localstatedir=DIR modifiable single-machine data [PREFIX/var]1179 --libdir=DIR object code libraries [EPREFIX/lib]1180 --includedir=DIR C header files [PREFIX/include]1181 --oldincludedir=DIR C header files for non-gcc [/usr/include]1182 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]1183 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]1184 --infodir=DIR info documentation [DATAROOTDIR/info]1185 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]1186 --mandir=DIR man documentation [DATAROOTDIR/man]1187 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]1188 --htmldir=DIR html documentation [DOCDIR]1189 --dvidir=DIR dvi documentation [DOCDIR]1190 --pdfdir=DIR pdf documentation [DOCDIR]1191 --psdir=DIR ps documentation [DOCDIR]1221 --bindir=DIR user executables [EPREFIX/bin] 1222 --sbindir=DIR system admin executables [EPREFIX/sbin] 1223 --libexecdir=DIR program executables [EPREFIX/libexec] 1224 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1225 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1226 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1227 --libdir=DIR object code libraries [EPREFIX/lib] 1228 --includedir=DIR C header files [PREFIX/include] 1229 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1230 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1231 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1232 --infodir=DIR info documentation [DATAROOTDIR/info] 1233 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1234 --mandir=DIR man documentation [DATAROOTDIR/man] 1235 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1236 --htmldir=DIR html documentation [DOCDIR] 1237 --dvidir=DIR dvi documentation [DOCDIR] 1238 --pdfdir=DIR pdf documentation [DOCDIR] 1239 --psdir=DIR ps documentation [DOCDIR] 1192 1240 _ACEOF 1193 1241 … … 1205 1253 --with-pbsdir=PATH The torque/pbs install directory 1206 1254 1255 Report bugs to the package provider. 1207 1256 _ACEOF 1208 1257 ac_status=$? … … 1212 1261 # If there are subdirs, report their specific --help. 1213 1262 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1214 test -d "$ac_dir" || continue 1263 test -d "$ac_dir" || 1264 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } || 1265 continue 1215 1266 ac_builddir=. 1216 1267 … … 1218 1269 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1219 1270 *) 1220 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`1271 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 1221 1272 # A ".." for each directory in $ac_dir_suffix. 1222 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`1273 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 1223 1274 case $ac_top_builddir_sub in 1224 1275 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 1256 1307 $SHELL "$ac_srcdir/configure" --help=recursive 1257 1308 else 1258 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&21309 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1259 1310 fi || ac_status=$? 1260 1311 cd "$ac_pwd" || { ac_status=$?; break; } … … 1266 1317 cat <<\_ACEOF 1267 1318 configure 1268 generated by GNU Autoconf 2.61 1269 1270 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1271 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 1319 generated by GNU Autoconf 2.69 1320 1321 Copyright (C) 2012 Free Software Foundation, Inc. 1272 1322 This configure script is free software; the Free Software Foundation 1273 1323 gives unlimited permission to copy, distribute and modify it. … … 1275 1325 exit 1276 1326 fi 1327 1328 ## ------------------------ ## 1329 ## Autoconf initialization. ## 1330 ## ------------------------ ## 1277 1331 cat >config.log <<_ACEOF 1278 1332 This file contains any messages produced by compilers while … … 1280 1334 1281 1335 It was created by $as_me, which was 1282 generated by GNU Autoconf 2.6 1. Invocation command line was1336 generated by GNU Autoconf 2.69. Invocation command line was 1283 1337 1284 1338 $ $0 $@ … … 1316 1370 IFS=$as_save_IFS 1317 1371 test -z "$as_dir" && as_dir=. 1318 echo "PATH: $as_dir"1319 done1372 $as_echo "PATH: $as_dir" 1373 done 1320 1374 IFS=$as_save_IFS 1321 1375 … … 1351 1405 continue ;; 1352 1406 *\'*) 1353 ac_arg=` echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;1407 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1354 1408 esac 1355 1409 case $ac_pass in 1356 1) a c_configure_args0="$ac_configure_args0'$ac_arg'" ;;1410 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; 1357 1411 2) 1358 a c_configure_args1="$ac_configure_args1'$ac_arg'"1412 as_fn_append ac_configure_args1 " '$ac_arg'" 1359 1413 if test $ac_must_keep_next = true; then 1360 1414 ac_must_keep_next=false # Got value, back to normal. … … 1372 1426 esac 1373 1427 fi 1374 a c_configure_args="$ac_configure_args'$ac_arg'"1428 as_fn_append ac_configure_args " '$ac_arg'" 1375 1429 ;; 1376 1430 esac 1377 1431 done 1378 1432 done 1379 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0;}1380 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1;}1433 { ac_configure_args0=; unset ac_configure_args0;} 1434 { ac_configure_args1=; unset ac_configure_args1;} 1381 1435 1382 1436 # When interrupted or exit'd, cleanup temporary files, and complete … … 1390 1444 echo 1391 1445 1392 cat <<\_ASBOX 1393 ## ---------------- ## 1446 $as_echo "## ---------------- ## 1394 1447 ## Cache variables. ## 1395 ## ---------------- ## 1396 _ASBOX 1448 ## ---------------- ##" 1397 1449 echo 1398 1450 # The following way of writing the cache mishandles newlines in values, … … 1403 1455 *${as_nl}*) 1404 1456 case $ac_var in #( 1405 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51406 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1457 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1458 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1407 1459 esac 1408 1460 case $ac_var in #( 1409 1461 _ | IFS | as_nl) ;; #( 1410 *) $as_unset $ac_var ;; 1462 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1463 *) { eval $ac_var=; unset $ac_var;} ;; 1411 1464 esac ;; 1412 1465 esac … … 1427 1480 echo 1428 1481 1429 cat <<\_ASBOX 1430 ## ----------------- ## 1482 $as_echo "## ----------------- ## 1431 1483 ## Output variables. ## 1432 ## ----------------- ## 1433 _ASBOX 1484 ## ----------------- ##" 1434 1485 echo 1435 1486 for ac_var in $ac_subst_vars … … 1437 1488 eval ac_val=\$$ac_var 1438 1489 case $ac_val in 1439 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1490 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1440 1491 esac 1441 echo "$ac_var='\''$ac_val'\''"1492 $as_echo "$ac_var='\''$ac_val'\''" 1442 1493 done | sort 1443 1494 echo 1444 1495 1445 1496 if test -n "$ac_subst_files"; then 1446 cat <<\_ASBOX 1447 ## ------------------- ## 1497 $as_echo "## ------------------- ## 1448 1498 ## File substitutions. ## 1449 ## ------------------- ## 1450 _ASBOX 1499 ## ------------------- ##" 1451 1500 echo 1452 1501 for ac_var in $ac_subst_files … … 1454 1503 eval ac_val=\$$ac_var 1455 1504 case $ac_val in 1456 *\'\''*) ac_val=` echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;1505 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1457 1506 esac 1458 echo "$ac_var='\''$ac_val'\''"1507 $as_echo "$ac_var='\''$ac_val'\''" 1459 1508 done | sort 1460 1509 echo … … 1462 1511 1463 1512 if test -s confdefs.h; then 1464 cat <<\_ASBOX 1465 ## ----------- ## 1513 $as_echo "## ----------- ## 1466 1514 ## confdefs.h. ## 1467 ## ----------- ## 1468 _ASBOX 1515 ## ----------- ##" 1469 1516 echo 1470 1517 cat confdefs.h … … 1472 1519 fi 1473 1520 test "$ac_signal" != 0 && 1474 echo "$as_me: caught signal $ac_signal"1475 echo "$as_me: exit $exit_status"1521 $as_echo "$as_me: caught signal $ac_signal" 1522 $as_echo "$as_me: exit $exit_status" 1476 1523 } >&5 1477 1524 rm -f core *.core core.conftest.* && … … 1480 1527 ' 0 1481 1528 for ac_signal in 1 2 13 15; do 1482 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal1529 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal 1483 1530 done 1484 1531 ac_signal=0 … … 1486 1533 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1487 1534 rm -f -r conftest* confdefs.h 1535 1536 $as_echo "/* confdefs.h */" > confdefs.h 1488 1537 1489 1538 # Predefined preprocessor variables. … … 1493 1542 _ACEOF 1494 1543 1495 1496 1544 cat >>confdefs.h <<_ACEOF 1497 1545 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1498 1546 _ACEOF 1499 1547 1500 1501 1548 cat >>confdefs.h <<_ACEOF 1502 1549 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1503 1550 _ACEOF 1504 1551 1505 1506 1552 cat >>confdefs.h <<_ACEOF 1507 1553 #define PACKAGE_STRING "$PACKAGE_STRING" 1508 1554 _ACEOF 1509 1555 1510 1511 1556 cat >>confdefs.h <<_ACEOF 1512 1557 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1513 1558 _ACEOF 1514 1559 1560 cat >>confdefs.h <<_ACEOF 1561 #define PACKAGE_URL "$PACKAGE_URL" 1562 _ACEOF 1563 1515 1564 1516 1565 # Let the site file select an alternate cache file if it wants to. 1517 # Prefer explicitly selected file to automatically selected ones. 1566 # Prefer an explicitly selected file to automatically selected ones. 1567 ac_site_file1=NONE 1568 ac_site_file2=NONE 1518 1569 if test -n "$CONFIG_SITE"; then 1519 set x "$CONFIG_SITE" 1570 # We do not want a PATH search for config.site. 1571 case $CONFIG_SITE in #(( 1572 -*) ac_site_file1=./$CONFIG_SITE;; 1573 */*) ac_site_file1=$CONFIG_SITE;; 1574 *) ac_site_file1=./$CONFIG_SITE;; 1575 esac 1520 1576 elif test "x$prefix" != xNONE; then 1521 set x "$prefix/share/config.site" "$prefix/etc/config.site"1522 else1523 set x "$ac_default_prefix/share/config.site" \ 1524 "$ac_default_prefix/etc/config.site" 1525 fi 1526 shift 1527 for ac_site_file 1577 ac_site_file1=$prefix/share/config.site 1578 ac_site_file2=$prefix/etc/config.site 1579 else 1580 ac_site_file1=$ac_default_prefix/share/config.site 1581 ac_site_file2=$ac_default_prefix/etc/config.site 1582 fi 1583 for ac_site_file in "$ac_site_file1" "$ac_site_file2" 1528 1584 do 1529 if test -r "$ac_site_file"; then 1530 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1531 echo "$as_me: loading site script $ac_site_file" >&6;} 1585 test "x$ac_site_file" = xNONE && continue 1586 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then 1587 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 1588 $as_echo "$as_me: loading site script $ac_site_file" >&6;} 1532 1589 sed 's/^/| /' "$ac_site_file" >&5 1533 . "$ac_site_file" 1590 . "$ac_site_file" \ 1591 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1593 as_fn_error $? "failed to load site script $ac_site_file 1594 See \`config.log' for more details" "$LINENO" 5; } 1534 1595 fi 1535 1596 done 1536 1597 1537 1598 if test -r "$cache_file"; then 1538 # Some versions of bash will fail to source /dev/null (special 1539 # files actually), so we avoid doing that.1540 if test -f "$cache_file"; then1541 { echo "$as_me:$LINENO: loading cache $cache_file" >&51542 echo "$as_me: loading cache $cache_file" >&6;}1599 # Some versions of bash will fail to source /dev/null (special files 1600 # actually), so we avoid doing that. DJGPP emulates it as a regular file. 1601 if test /dev/null != "$cache_file" && test -f "$cache_file"; then 1602 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 1603 $as_echo "$as_me: loading cache $cache_file" >&6;} 1543 1604 case $cache_file in 1544 1605 [\\/]* | ?:[\\/]* ) . "$cache_file";; … … 1547 1608 fi 1548 1609 else 1549 { echo "$as_me:$LINENO: creating cache $cache_file" >&51550 echo "$as_me: creating cache $cache_file" >&6;}1610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 1611 $as_echo "$as_me: creating cache $cache_file" >&6;} 1551 1612 >$cache_file 1552 1613 fi … … 1562 1623 case $ac_old_set,$ac_new_set in 1563 1624 set,) 1564 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&51565 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}1625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1626 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1566 1627 ac_cache_corrupted=: ;; 1567 1628 ,set) 1568 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&51569 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}1629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 1630 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1570 1631 ac_cache_corrupted=: ;; 1571 1632 ,);; 1572 1633 *) 1573 1634 if test "x$ac_old_val" != "x$ac_new_val"; then 1574 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1575 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1576 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1577 echo "$as_me: former value: $ac_old_val" >&2;} 1578 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1579 echo "$as_me: current value: $ac_new_val" >&2;} 1580 ac_cache_corrupted=: 1635 # differences in whitespace do not lead to failure. 1636 ac_old_val_w=`echo x $ac_old_val` 1637 ac_new_val_w=`echo x $ac_new_val` 1638 if test "$ac_old_val_w" != "$ac_new_val_w"; then 1639 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 1640 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1641 ac_cache_corrupted=: 1642 else 1643 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 1644 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} 1645 eval $ac_var=\$ac_old_val 1646 fi 1647 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 1648 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} 1649 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 1650 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} 1581 1651 fi;; 1582 1652 esac … … 1584 1654 if test "$ac_new_set" = set; then 1585 1655 case $ac_new_val in 1586 *\'*) ac_arg=$ac_var=` echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;1656 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1587 1657 *) ac_arg=$ac_var=$ac_new_val ;; 1588 1658 esac 1589 1659 case " $ac_configure_args " in 1590 1660 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1591 *) a c_configure_args="$ac_configure_args'$ac_arg'" ;;1661 *) as_fn_append ac_configure_args " '$ac_arg'" ;; 1592 1662 esac 1593 1663 fi 1594 1664 done 1595 1665 if $ac_cache_corrupted; then 1596 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1597 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1598 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1599 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1600 { (exit 1); exit 1; }; } 1601 fi 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1666 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 1667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} 1668 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 1669 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1670 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 1671 fi 1672 ## -------------------- ## 1673 ## Main body of script. ## 1674 ## -------------------- ## 1618 1675 1619 1676 ac_ext=c … … 1632 1689 1633 1690 # Check whether --with-pbsdir was given. 1634 if test "${with_pbsdir+set}" = set; then 1691 if test "${with_pbsdir+set}" = set; then : 1635 1692 withval=$with_pbsdir; pbsdir=$withval 1636 1693 else … … 1646 1703 # Extract the first word of "pbs-config", so it can be a program name with args. 1647 1704 set dummy pbs-config; ac_word=$2 1648 { echo "$as_me:$LINENO: checking for $ac_word" >&51649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1650 if test "${ac_cv_path_PBSCONFIG+set}" = set; then1651 echo $ECHO_N "(cached) $ECHO_C" >&61705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1706 $as_echo_n "checking for $ac_word... " >&6; } 1707 if ${ac_cv_path_PBSCONFIG+:} false; then : 1708 $as_echo_n "(cached) " >&6 1652 1709 else 1653 1710 case $PBSCONFIG in … … 1662 1719 IFS=$as_save_IFS 1663 1720 test -z "$as_dir" && as_dir=. 1664 for ac_exec_ext in '' $ac_executable_extensions; do1665 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1721 for ac_exec_ext in '' $ac_executable_extensions; do 1722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1666 1723 ac_cv_path_PBSCONFIG="$as_dir/$ac_word$ac_exec_ext" 1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1668 1725 break 2 1669 1726 fi 1670 1727 done 1671 done1728 done 1672 1729 IFS=$as_save_IFS 1673 1730 … … 1678 1735 PBSCONFIG=$ac_cv_path_PBSCONFIG 1679 1736 if test -n "$PBSCONFIG"; then 1680 { echo "$as_me:$LINENO: result: $PBSCONFIG" >&51681 echo "${ECHO_T}$PBSCONFIG" >&6; }1682 else 1683 { echo "$as_me:$LINENO: result: no" >&51684 echo "${ECHO_T}no" >&6; }1737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PBSCONFIG" >&5 1738 $as_echo "$PBSCONFIG" >&6; } 1739 else 1740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1741 $as_echo "no" >&6; } 1685 1742 fi 1686 1743 … … 1690 1747 pbs_library_dir="`$PBSCONFIG --libdir`" 1691 1748 pbs_version="`$PBSCONFIG --version`" 1692 { echo "$as_me:$LINENO: result: Found torque version: $pbs_version" >&5 1693 echo "${ECHO_T}Found torque version: $pbs_version" >&6; } 1694 else 1695 { { echo "$as_me:$LINENO: error: Failed to find program pbs-config" >&5 1696 echo "$as_me: error: Failed to find program pbs-config" >&2;} 1697 { (exit 1); exit 1; }; } 1749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found torque version: $pbs_version" >&5 1750 $as_echo "Found torque version: $pbs_version" >&6; } 1751 else 1752 as_fn_error $? "Failed to find program pbs-config" "$LINENO" 5 1698 1753 fi 1699 1754 … … 1711 1766 # Extract the first word of "$ac_prog", so it can be a program name with args. 1712 1767 set dummy $ac_prog; ac_word=$2 1713 { echo "$as_me:$LINENO: checking for $ac_word" >&51714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }1715 if test "${ac_cv_path_PYTHON+set}" = set; then1716 echo $ECHO_N "(cached) $ECHO_C" >&61768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 1769 $as_echo_n "checking for $ac_word... " >&6; } 1770 if ${ac_cv_path_PYTHON+:} false; then : 1771 $as_echo_n "(cached) " >&6 1717 1772 else 1718 1773 case $PYTHON in … … 1726 1781 IFS=$as_save_IFS 1727 1782 test -z "$as_dir" && as_dir=. 1728 for ac_exec_ext in '' $ac_executable_extensions; do1729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then1783 for ac_exec_ext in '' $ac_executable_extensions; do 1784 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1730 1785 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" 1731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&51786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 1732 1787 break 2 1733 1788 fi 1734 1789 done 1735 done1790 done 1736 1791 IFS=$as_save_IFS 1737 1792 … … 1741 1796 PYTHON=$ac_cv_path_PYTHON 1742 1797 if test -n "$PYTHON"; then 1743 { echo "$as_me:$LINENO: result: $PYTHON" >&51744 echo "${ECHO_T}$PYTHON" >&6; }1745 else 1746 { echo "$as_me:$LINENO: result: no" >&51747 echo "${ECHO_T}no" >&6; }1798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 1799 $as_echo "$PYTHON" >&6; } 1800 else 1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 1802 $as_echo "no" >&6; } 1748 1803 fi 1749 1804 … … 1756 1811 1757 1812 1758 { echo "$as_me:$LINENO: checking for $am_display_PYTHON version" >&51759 echo $ECHO_N "checking for $am_display_PYTHON version... $ECHO_C" >&6; }1760 if test "${am_cv_python_version+set}" = set; then1761 echo $ECHO_N "(cached) $ECHO_C" >&61813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5 1814 $as_echo_n "checking for $am_display_PYTHON version... " >&6; } 1815 if ${am_cv_python_version+:} false; then : 1816 $as_echo_n "(cached) " >&6 1762 1817 else 1763 1818 am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"` 1764 1819 fi 1765 { echo "$as_me:$LINENO: result: $am_cv_python_version" >&51766 echo "${ECHO_T}$am_cv_python_version" >&6; }1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5 1821 $as_echo "$am_cv_python_version" >&6; } 1767 1822 PYTHON_VERSION=$am_cv_python_version 1768 1823 … … 1775 1830 1776 1831 1777 { echo "$as_me:$LINENO: checking for $am_display_PYTHON platform" >&51778 echo $ECHO_N "checking for $am_display_PYTHON platform... $ECHO_C" >&6; }1779 if test "${am_cv_python_platform+set}" = set; then1780 echo $ECHO_N "(cached) $ECHO_C" >&61832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5 1833 $as_echo_n "checking for $am_display_PYTHON platform... " >&6; } 1834 if ${am_cv_python_platform+:} false; then : 1835 $as_echo_n "(cached) " >&6 1781 1836 else 1782 1837 am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"` 1783 1838 fi 1784 { echo "$as_me:$LINENO: result: $am_cv_python_platform" >&51785 echo "${ECHO_T}$am_cv_python_platform" >&6; }1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5 1840 $as_echo "$am_cv_python_platform" >&6; } 1786 1841 PYTHON_PLATFORM=$am_cv_python_platform 1787 1842 … … 1789 1844 1790 1845 1791 { echo "$as_me:$LINENO: checking for $am_display_PYTHON script directory" >&51792 echo $ECHO_N "checking for $am_display_PYTHON script directory... $ECHO_C" >&6; }1793 if test "${am_cv_python_pythondir+set}" = set; then1794 echo $ECHO_N "(cached) $ECHO_C" >&61846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5 1847 $as_echo_n "checking for $am_display_PYTHON script directory... " >&6; } 1848 if ${am_cv_python_pythondir+:} false; then : 1849 $as_echo_n "(cached) " >&6 1795 1850 else 1796 1851 am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null || 1797 1852 echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"` 1798 1853 fi 1799 { echo "$as_me:$LINENO: result: $am_cv_python_pythondir" >&51800 echo "${ECHO_T}$am_cv_python_pythondir" >&6; }1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5 1855 $as_echo "$am_cv_python_pythondir" >&6; } 1801 1856 pythondir=$am_cv_python_pythondir 1802 1857 … … 1806 1861 1807 1862 1808 { echo "$as_me:$LINENO: checking for $am_display_PYTHON extension module directory" >&51809 echo $ECHO_N "checking for $am_display_PYTHON extension module directory... $ECHO_C" >&6; }1810 if test "${am_cv_python_pyexecdir+set}" = set; then1811 echo $ECHO_N "(cached) $ECHO_C" >&61863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5 1864 $as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; } 1865 if ${am_cv_python_pyexecdir+:} false; then : 1866 $as_echo_n "(cached) " >&6 1812 1867 else 1813 1868 am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null || 1814 1869 echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"` 1815 1870 fi 1816 { echo "$as_me:$LINENO: result: $am_cv_python_pyexecdir" >&51817 echo "${ECHO_T}$am_cv_python_pyexecdir" >&6; }1871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5 1872 $as_echo "$am_cv_python_pyexecdir" >&6; } 1818 1873 pyexecdir=$am_cv_python_pyexecdir 1819 1874 … … 1853 1908 *${as_nl}*) 1854 1909 case $ac_var in #( 1855 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&51856 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;1910 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 1911 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; 1857 1912 esac 1858 1913 case $ac_var in #( 1859 1914 _ | IFS | as_nl) ;; #( 1860 *) $as_unset $ac_var ;; 1915 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( 1916 *) { eval $ac_var=; unset $ac_var;} ;; 1861 1917 esac ;; 1862 1918 esac … … 1866 1922 case $as_nl`(ac_space=' '; set) 2>&1` in #( 1867 1923 *${as_nl}ac_space=\ *) 1868 # `set' does not quote correctly, so add quotes (double-quote1869 # substitution turns \\\\ into \\, and sed turns \\ into \ ).1924 # `set' does not quote correctly, so add quotes: double-quote 1925 # substitution turns \\\\ into \\, and sed turns \\ into \. 1870 1926 sed -n \ 1871 1927 "s/'/'\\\\''/g; … … 1889 1945 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 1890 1946 if test -w "$cache_file"; then 1891 test "x$cache_file" != "x/dev/null" && 1892 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 1893 echo "$as_me: updating cache $cache_file" >&6;} 1894 cat confcache >$cache_file 1947 if test "x$cache_file" != "x/dev/null"; then 1948 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5 1949 $as_echo "$as_me: updating cache $cache_file" >&6;} 1950 if test ! -f "$cache_file" || test -h "$cache_file"; then 1951 cat confcache >"$cache_file" 1952 else 1953 case $cache_file in #( 1954 */* | ?:*) 1955 mv -f confcache "$cache_file"$$ && 1956 mv -f "$cache_file"$$ "$cache_file" ;; #( 1957 *) 1958 mv -f confcache "$cache_file" ;; 1959 esac 1960 fi 1961 fi 1895 1962 else 1896 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&51897 echo "$as_me: not updating unwritable cache $cache_file" >&6;}1963 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5 1964 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;} 1898 1965 fi 1899 1966 fi … … 1912 1979 # look for a macro that doesn't take arguments. 1913 1980 ac_script=' 1981 :mline 1982 /\\$/{ 1983 N 1984 s,\\\n,, 1985 b mline 1986 } 1914 1987 t clear 1915 1988 :clear … … 1938 2011 ac_libobjs= 1939 2012 ac_ltlibobjs= 2013 U= 1940 2014 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 1941 2015 # 1. Remove the extension, and $U if already installed. 1942 2016 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 1943 ac_i=` echo "$ac_i" | sed "$ac_script"`2017 ac_i=`$as_echo "$ac_i" | sed "$ac_script"` 1944 2018 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 1945 2019 # will be set to the directory where LIBOBJS objects are built. 1946 a c_libobjs="$ac_libobjs\${LIBOBJDIR}$ac_i\$U.$ac_objext"1947 a c_ltlibobjs="$ac_ltlibobjs\${LIBOBJDIR}$ac_i"'$U.lo'2020 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2021 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo' 1948 2022 done 1949 2023 LIBOBJS=$ac_libobjs … … 1953 2027 1954 2028 1955 : ${CONFIG_STATUS=./config.status} 2029 : "${CONFIG_STATUS=./config.status}" 2030 ac_write_fail=0 1956 2031 ac_clean_files_save=$ac_clean_files 1957 2032 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 1958 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 1959 echo "$as_me: creating $CONFIG_STATUS" >&6;} 1960 cat >$CONFIG_STATUS <<_ACEOF 2033 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5 2034 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;} 2035 as_write_fail=0 2036 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1 1961 2037 #! $SHELL 1962 2038 # Generated by $as_me. … … 1968 2044 ac_cs_recheck=false 1969 2045 ac_cs_silent=false 2046 1970 2047 SHELL=\${CONFIG_SHELL-$SHELL} 1971 _ACEOF 1972 1973 cat >>$CONFIG_STATUS <<\_A CEOF1974 ## -------------------- -##1975 ## M4sh Initialization. 1976 ## -------------------- -##2048 export SHELL 2049 _ASEOF 2050 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1 2051 ## -------------------- ## 2052 ## M4sh Initialization. ## 2053 ## -------------------- ## 1977 2054 1978 2055 # Be more Bourne compatible 1979 2056 DUALCASE=1; export DUALCASE # for MKS sh 1980 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2057 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : 1981 2058 emulate sh 1982 2059 NULLCMD=: 1983 # Zsh 3.x and 4.x performsword splitting on ${1+"$@"}, which2060 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which 1984 2061 # is contrary to our usage. Disable this feature. 1985 2062 alias -g '${1+"$@"}'='"$@"' 1986 2063 setopt NO_GLOB_SUBST 1987 2064 else 1988 case `(set -o) 2>/dev/null` in 1989 *posix*) set -o posix ;; 2065 case `(set -o) 2>/dev/null` in #( 2066 *posix*) : 2067 set -o posix ;; #( 2068 *) : 2069 ;; 1990 2070 esac 1991 1992 fi 1993 1994 1995 1996 1997 # PATH needs CR 1998 # Avoid depending upon Character Ranges. 1999 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2000 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2001 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2002 as_cr_digits='0123456789' 2003 as_cr_alnum=$as_cr_Letters$as_cr_digits 2071 fi 2072 2073 2074 as_nl=' 2075 ' 2076 export as_nl 2077 # Printing a long string crashes Solaris 7 /usr/bin/printf. 2078 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' 2079 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo 2080 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo 2081 # Prefer a ksh shell builtin over an external printf program on Solaris, 2082 # but without wasting forks for bash or zsh. 2083 if test -z "$BASH_VERSION$ZSH_VERSION" \ 2084 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then 2085 as_echo='print -r --' 2086 as_echo_n='print -rn --' 2087 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then 2088 as_echo='printf %s\n' 2089 as_echo_n='printf %s' 2090 else 2091 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then 2092 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"' 2093 as_echo_n='/usr/ucb/echo -n' 2094 else 2095 as_echo_body='eval expr "X$1" : "X\\(.*\\)"' 2096 as_echo_n_body='eval 2097 arg=$1; 2098 case $arg in #( 2099 *"$as_nl"*) 2100 expr "X$arg" : "X\\(.*\\)$as_nl"; 2101 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; 2102 esac; 2103 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl" 2104 ' 2105 export as_echo_n_body 2106 as_echo_n='sh -c $as_echo_n_body as_echo' 2107 fi 2108 export as_echo_body 2109 as_echo='sh -c $as_echo_body as_echo' 2110 fi 2004 2111 2005 2112 # The user is always right. 2006 2113 if test "${PATH_SEPARATOR+set}" != set; then 2007 echo "#! /bin/sh" >conf$$.sh 2008 echo "exit 0" >>conf$$.sh 2009 chmod +x conf$$.sh 2010 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 2011 PATH_SEPARATOR=';' 2012 else 2013 PATH_SEPARATOR=: 2014 fi 2015 rm -f conf$$.sh 2016 fi 2017 2018 # Support unset when possible. 2019 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 2020 as_unset=unset 2021 else 2022 as_unset=false 2114 PATH_SEPARATOR=: 2115 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && { 2116 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 || 2117 PATH_SEPARATOR=';' 2118 } 2023 2119 fi 2024 2120 … … 2029 2125 # (If _AS_PATH_WALK were called with IFS unset, it would disable word 2030 2126 # splitting by setting IFS to empty value.) 2031 as_nl='2032 '2033 2127 IFS=" "" $as_nl" 2034 2128 2035 2129 # Find who we are. Look in the path if we contain no directory separator. 2036 case $0 in 2130 as_myself= 2131 case $0 in #(( 2037 2132 *[\\/]* ) as_myself=$0 ;; 2038 2133 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR … … 2041 2136 IFS=$as_save_IFS 2042 2137 test -z "$as_dir" && as_dir=. 2043 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break2044 done2138 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 2139 done 2045 2140 IFS=$as_save_IFS 2046 2141 … … 2053 2148 fi 2054 2149 if test ! -f "$as_myself"; then 2055 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2056 { (exit 1); exit 1; } 2057 fi 2058 2059 # Work around bugs in pre-3.0 UWIN ksh. 2060 for as_var in ENV MAIL MAILPATH 2061 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2150 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 2151 exit 1 2152 fi 2153 2154 # Unset variables that we do not need and which cause bugs (e.g. in 2155 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" 2156 # suppresses any "Segmentation fault" message there. '((' could 2157 # trigger a bug in pdksh 5.2.14. 2158 for as_var in BASH_ENV ENV MAIL MAILPATH 2159 do eval test x\${$as_var+set} = xset \ 2160 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : 2062 2161 done 2063 2162 PS1='$ ' … … 2066 2165 2067 2166 # NLS nuisances. 2068 for as_var in \ 2069 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 2070 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 2071 LC_TELEPHONE LC_TIME 2072 do 2073 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 2074 eval $as_var=C; export $as_var 2075 else 2076 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 2167 LC_ALL=C 2168 export LC_ALL 2169 LANGUAGE=C 2170 export LANGUAGE 2171 2172 # CDPATH. 2173 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 2174 2175 2176 # as_fn_error STATUS ERROR [LINENO LOG_FD] 2177 # ---------------------------------------- 2178 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are 2179 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the 2180 # script with STATUS, using 1 if that was 0. 2181 as_fn_error () 2182 { 2183 as_status=$1; test $as_status -eq 0 && as_status=1 2184 if test "$4"; then 2185 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack 2186 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4 2077 2187 fi 2078 done 2079 2080 # Required to use basename. 2188 $as_echo "$as_me: error: $2" >&2 2189 as_fn_exit $as_status 2190 } # as_fn_error 2191 2192 2193 # as_fn_set_status STATUS 2194 # ----------------------- 2195 # Set $? to STATUS, without forking. 2196 as_fn_set_status () 2197 { 2198 return $1 2199 } # as_fn_set_status 2200 2201 # as_fn_exit STATUS 2202 # ----------------- 2203 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context. 2204 as_fn_exit () 2205 { 2206 set +e 2207 as_fn_set_status $1 2208 exit $1 2209 } # as_fn_exit 2210 2211 # as_fn_unset VAR 2212 # --------------- 2213 # Portably unset VAR. 2214 as_fn_unset () 2215 { 2216 { eval $1=; unset $1;} 2217 } 2218 as_unset=as_fn_unset 2219 # as_fn_append VAR VALUE 2220 # ---------------------- 2221 # Append the text in VALUE to the end of the definition contained in VAR. Take 2222 # advantage of any shell optimizations that allow amortized linear growth over 2223 # repeated appends, instead of the typical quadratic growth present in naive 2224 # implementations. 2225 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : 2226 eval 'as_fn_append () 2227 { 2228 eval $1+=\$2 2229 }' 2230 else 2231 as_fn_append () 2232 { 2233 eval $1=\$$1\$2 2234 } 2235 fi # as_fn_append 2236 2237 # as_fn_arith ARG... 2238 # ------------------ 2239 # Perform arithmetic evaluation on the ARGs, and store the result in the 2240 # global $as_val. Take advantage of shells that can avoid forks. The arguments 2241 # must be portable across $(()) and expr. 2242 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : 2243 eval 'as_fn_arith () 2244 { 2245 as_val=$(( $* )) 2246 }' 2247 else 2248 as_fn_arith () 2249 { 2250 as_val=`expr "$@" || test $? -eq 1` 2251 } 2252 fi # as_fn_arith 2253 2254 2081 2255 if expr a : '\(a\)' >/dev/null 2>&1 && 2082 2256 test "X`expr 00001 : '.*\(...\)'`" = X001; then … … 2092 2266 fi 2093 2267 2094 2095 # Name of the executable. 2268 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2269 as_dirname=dirname 2270 else 2271 as_dirname=false 2272 fi 2273 2096 2274 as_me=`$as_basename -- "$0" || 2097 2275 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 2098 2276 X"$0" : 'X\(//\)$' \| \ 2099 2277 X"$0" : 'X\(/\)' \| . 2>/dev/null || 2100 echo X/"$0" |2278 $as_echo X/"$0" | 2101 2279 sed '/^.*\/\([^/][^/]*\)\/*$/{ 2102 2280 s//\1/ … … 2113 2291 s/.*/./; q'` 2114 2292 2115 # CDPATH. 2116 $as_unset CDPATH 2117 2118 2119 2120 as_lineno_1=$LINENO 2121 as_lineno_2=$LINENO 2122 test "x$as_lineno_1" != "x$as_lineno_2" && 2123 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { 2124 2125 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 2126 # uniformly replaced by the line number. The first 'sed' inserts a 2127 # line-number line after each line using $LINENO; the second 'sed' 2128 # does the real work. The second script uses 'N' to pair each 2129 # line-number line with the line containing $LINENO, and appends 2130 # trailing '-' during substitution so that $LINENO is not a special 2131 # case at line end. 2132 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 2133 # scripts with optimization help from Paolo Bonzini. Blame Lee 2134 # E. McMahon (1931-1989) for sed's syntax. :-) 2135 sed -n ' 2136 p 2137 /[$]LINENO/= 2138 ' <$as_myself | 2139 sed ' 2140 s/[$]LINENO.*/&-/ 2141 t lineno 2142 b 2143 :lineno 2144 N 2145 :loop 2146 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 2147 t loop 2148 s/-\n.*// 2149 ' >$as_me.lineno && 2150 chmod +x "$as_me.lineno" || 2151 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 2152 { (exit 1); exit 1; }; } 2153 2154 # Don't try to exec as it changes $[0], causing all sort of problems 2155 # (the dirname of $[0] is not the place where we might find the 2156 # original and so on. Autoconf is especially sensitive to this). 2157 . "./$as_me.lineno" 2158 # Exit status is that of the last command. 2159 exit 2160 } 2161 2162 2163 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then 2164 as_dirname=dirname 2165 else 2166 as_dirname=false 2167 fi 2293 # Avoid depending upon Character Ranges. 2294 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2295 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2296 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2297 as_cr_digits='0123456789' 2298 as_cr_alnum=$as_cr_Letters$as_cr_digits 2168 2299 2169 2300 ECHO_C= ECHO_N= ECHO_T= 2170 case `echo -n x` in 2301 case `echo -n x` in #((((( 2171 2302 -n*) 2172 case `echo 'x \c'` in2303 case `echo 'xy\c'` in 2173 2304 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 2174 *) ECHO_C='\c';; 2305 xy) ECHO_C='\c';; 2306 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null 2307 ECHO_T=' ';; 2175 2308 esac;; 2176 2309 *) … … 2178 2311 esac 2179 2312 2180 if expr a : '\(a\)' >/dev/null 2>&1 &&2181 test "X`expr 00001 : '.*\(...\)'`" = X001; then2182 as_expr=expr2183 else2184 as_expr=false2185 fi2186 2187 2313 rm -f conf$$ conf$$.exe conf$$.file 2188 2314 if test -d conf$$.dir; then … … 2190 2316 else 2191 2317 rm -f conf$$.dir 2192 mkdir conf$$.dir 2193 fi 2194 echo >conf$$.file 2195 if ln -s conf$$.file conf$$ 2>/dev/null; then 2196 as_ln_s='ln -s' 2197 # ... but there are two gotchas: 2198 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2199 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2200 # In both cases, we have to default to `cp -p'. 2201 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2202 as_ln_s='cp -p' 2203 elif ln conf$$.file conf$$ 2>/dev/null; then 2204 as_ln_s=ln 2205 else 2206 as_ln_s='cp -p' 2318 mkdir conf$$.dir 2>/dev/null 2319 fi 2320 if (echo >conf$$.file) 2>/dev/null; then 2321 if ln -s conf$$.file conf$$ 2>/dev/null; then 2322 as_ln_s='ln -s' 2323 # ... but there are two gotchas: 2324 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 2325 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 2326 # In both cases, we have to default to `cp -pR'. 2327 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 2328 as_ln_s='cp -pR' 2329 elif ln conf$$.file conf$$ 2>/dev/null; then 2330 as_ln_s=ln 2331 else 2332 as_ln_s='cp -pR' 2333 fi 2334 else 2335 as_ln_s='cp -pR' 2207 2336 fi 2208 2337 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 2209 2338 rmdir conf$$.dir 2>/dev/null 2210 2339 2211 if mkdir -p . 2>/dev/null; then 2212 as_mkdir_p=: 2213 else 2214 test -d ./-p && rmdir ./-p 2215 as_mkdir_p=false 2216 fi 2217 2218 if test -x / >/dev/null 2>&1; then 2219 as_test_x='test -x' 2220 else 2221 if ls -dL / >/dev/null 2>&1; then 2222 as_ls_L_option=L 2223 else 2224 as_ls_L_option= 2225 fi 2226 as_test_x=' 2227 eval sh -c '\'' 2228 if test -d "$1"; then 2229 test -d "$1/."; 2230 else 2231 case $1 in 2232 -*)set "./$1";; 2233 esac; 2234 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 2235 ???[sx]*):;;*)false;;esac;fi 2236 '\'' sh 2237 ' 2238 fi 2239 as_executable_p=$as_test_x 2240 2241 # Sed expression to map a string onto a valid CPP name. 2242 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2243 2244 # Sed expression to map a string onto a valid variable name. 2245 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2246 2247 2248 exec 6>&1 2249 2250 # Save the log message, to keep $[0] and so on meaningful, and to 2251 # report actual input values of CONFIG_FILES etc. instead of their 2252 # values after options handling. 2253 ac_log=" 2254 This file was extended by $as_me, which was 2255 generated by GNU Autoconf 2.61. Invocation command line was 2256 2257 CONFIG_FILES = $CONFIG_FILES 2258 CONFIG_HEADERS = $CONFIG_HEADERS 2259 CONFIG_LINKS = $CONFIG_LINKS 2260 CONFIG_COMMANDS = $CONFIG_COMMANDS 2261 $ $0 $@ 2262 2263 on `(hostname || uname -n) 2>/dev/null | sed 1q` 2264 " 2265 2266 _ACEOF 2267 2268 cat >>$CONFIG_STATUS <<_ACEOF 2269 # Files that config.status was made for. 2270 config_files="$ac_config_files" 2271 2272 _ACEOF 2273 2274 cat >>$CONFIG_STATUS <<\_ACEOF 2275 ac_cs_usage="\ 2276 \`$as_me' instantiates files from templates according to the 2277 current configuration. 2278 2279 Usage: $0 [OPTIONS] [FILE]... 2280 2281 -h, --help print this help, then exit 2282 -V, --version print version number and configuration settings, then exit 2283 -q, --quiet do not print progress messages 2284 -d, --debug don't remove temporary files 2285 --recheck update $as_me by reconfiguring in the same conditions 2286 --file=FILE[:TEMPLATE] 2287 instantiate the configuration file FILE 2288 2289 Configuration files: 2290 $config_files 2291 2292 Report bugs to <bug-autoconf@gnu.org>." 2293 2294 _ACEOF 2295 cat >>$CONFIG_STATUS <<_ACEOF 2296 ac_cs_version="\\ 2297 config.status 2298 configured by $0, generated by GNU Autoconf 2.61, 2299 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 2300 2301 Copyright (C) 2006 Free Software Foundation, Inc. 2302 This config.status script is free software; the Free Software Foundation 2303 gives unlimited permission to copy, distribute and modify it." 2304 2305 ac_pwd='$ac_pwd' 2306 srcdir='$srcdir' 2307 _ACEOF 2308 2309 cat >>$CONFIG_STATUS <<\_ACEOF 2310 # If no file are specified by the user, then we need to provide default 2311 # value. By we need to know if files were specified by the user. 2312 ac_need_defaults=: 2313 while test $# != 0 2314 do 2315 case $1 in 2316 --*=*) 2317 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2318 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2319 ac_shift=: 2320 ;; 2321 *) 2322 ac_option=$1 2323 ac_optarg=$2 2324 ac_shift=shift 2325 ;; 2326 esac 2327 2328 case $ac_option in 2329 # Handling of the options. 2330 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2331 ac_cs_recheck=: ;; 2332 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2333 echo "$ac_cs_version"; exit ;; 2334 --debug | --debu | --deb | --de | --d | -d ) 2335 debug=: ;; 2336 --file | --fil | --fi | --f ) 2337 $ac_shift 2338 CONFIG_FILES="$CONFIG_FILES $ac_optarg" 2339 ac_need_defaults=false;; 2340 --he | --h | --help | --hel | -h ) 2341 echo "$ac_cs_usage"; exit ;; 2342 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2343 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2344 ac_cs_silent=: ;; 2345 2346 # This is an error. 2347 -*) { echo "$as_me: error: unrecognized option: $1 2348 Try \`$0 --help' for more information." >&2 2349 { (exit 1); exit 1; }; } ;; 2350 2351 *) ac_config_targets="$ac_config_targets $1" 2352 ac_need_defaults=false ;; 2353 2354 esac 2355 shift 2356 done 2357 2358 ac_configure_extra_args= 2359 2360 if $ac_cs_silent; then 2361 exec 6>/dev/null 2362 ac_configure_extra_args="$ac_configure_extra_args --silent" 2363 fi 2364 2365 _ACEOF 2366 cat >>$CONFIG_STATUS <<_ACEOF 2367 if \$ac_cs_recheck; then 2368 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6 2369 CONFIG_SHELL=$SHELL 2370 export CONFIG_SHELL 2371 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2372 fi 2373 2374 _ACEOF 2375 cat >>$CONFIG_STATUS <<\_ACEOF 2376 exec 5>>config.log 2340 2341 # as_fn_mkdir_p 2342 # ------------- 2343 # Create "$as_dir" as a directory, including parents if necessary. 2344 as_fn_mkdir_p () 2377 2345 { 2378 echo 2379 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2380 ## Running $as_me. ## 2381 _ASBOX 2382 echo "$ac_log" 2383 } >&5 2384 2385 _ACEOF 2386 cat >>$CONFIG_STATUS <<_ACEOF 2387 _ACEOF 2388 2389 cat >>$CONFIG_STATUS <<\_ACEOF 2390 2391 # Handling of arguments. 2392 for ac_config_target in $ac_config_targets 2393 do 2394 case $ac_config_target in 2395 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2396 "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;; 2397 2398 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 2399 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 2400 { (exit 1); exit 1; }; };; 2401 esac 2402 done 2403 2404 2405 # If the user did not use the arguments to specify the items to instantiate, 2406 # then the envvar interface is used. Set only those that are not. 2407 # We use the long form for the default assignment because of an extremely 2408 # bizarre bug on SunOS 4.1.3. 2409 if $ac_need_defaults; then 2410 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2411 fi 2412 2413 # Have a temporary directory for convenience. Make it in the build tree 2414 # simply because there is no reason against having it here, and in addition, 2415 # creating and moving files from /tmp can sometimes cause problems. 2416 # Hook for its removal unless debugging. 2417 # Note that there is a small window in which the directory will not be cleaned: 2418 # after its creation but before its name has been assigned to `$tmp'. 2419 $debug || 2420 { 2421 tmp= 2422 trap 'exit_status=$? 2423 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status 2424 ' 0 2425 trap '{ (exit 1); exit 1; }' 1 2 13 15 2426 } 2427 # Create a (secure) tmp directory for tmp files. 2428 2429 { 2430 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 2431 test -n "$tmp" && test -d "$tmp" 2432 } || 2433 { 2434 tmp=./conf$$-$RANDOM 2435 (umask 077 && mkdir "$tmp") 2436 } || 2437 { 2438 echo "$me: cannot create a temporary directory in ." >&2 2439 { (exit 1); exit 1; } 2440 } 2441 2442 # 2443 # Set up the sed scripts for CONFIG_FILES section. 2444 # 2445 2446 # No need to generate the scripts if there are no CONFIG_FILES. 2447 # This happens for instance when ./config.status config.h 2448 if test -n "$CONFIG_FILES"; then 2449 2450 _ACEOF 2451 2452 2453 2454 ac_delim='%!_!# ' 2455 for ac_last_try in false false false false false :; do 2456 cat >conf$$subs.sed <<_ACEOF 2457 SHELL!$SHELL$ac_delim 2458 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim 2459 PACKAGE_NAME!$PACKAGE_NAME$ac_delim 2460 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim 2461 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim 2462 PACKAGE_STRING!$PACKAGE_STRING$ac_delim 2463 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim 2464 exec_prefix!$exec_prefix$ac_delim 2465 prefix!$prefix$ac_delim 2466 program_transform_name!$program_transform_name$ac_delim 2467 bindir!$bindir$ac_delim 2468 sbindir!$sbindir$ac_delim 2469 libexecdir!$libexecdir$ac_delim 2470 datarootdir!$datarootdir$ac_delim 2471 datadir!$datadir$ac_delim 2472 sysconfdir!$sysconfdir$ac_delim 2473 sharedstatedir!$sharedstatedir$ac_delim 2474 localstatedir!$localstatedir$ac_delim 2475 includedir!$includedir$ac_delim 2476 oldincludedir!$oldincludedir$ac_delim 2477 docdir!$docdir$ac_delim 2478 infodir!$infodir$ac_delim 2479 htmldir!$htmldir$ac_delim 2480 dvidir!$dvidir$ac_delim 2481 pdfdir!$pdfdir$ac_delim 2482 psdir!$psdir$ac_delim 2483 libdir!$libdir$ac_delim 2484 localedir!$localedir$ac_delim 2485 mandir!$mandir$ac_delim 2486 DEFS!$DEFS$ac_delim 2487 ECHO_C!$ECHO_C$ac_delim 2488 ECHO_N!$ECHO_N$ac_delim 2489 ECHO_T!$ECHO_T$ac_delim 2490 LIBS!$LIBS$ac_delim 2491 build_alias!$build_alias$ac_delim 2492 host_alias!$host_alias$ac_delim 2493 target_alias!$target_alias$ac_delim 2494 pyexecdir!$pyexecdir$ac_delim 2495 pbsdir!$pbsdir$ac_delim 2496 PBSCONFIG!$PBSCONFIG$ac_delim 2497 pbs_library_compile_line!$pbs_library_compile_line$ac_delim 2498 pbs_library_dir!$pbs_library_dir$ac_delim 2499 pbs_version!$pbs_version$ac_delim 2500 PYTHON!$PYTHON$ac_delim 2501 PYTHON_VERSION!$PYTHON_VERSION$ac_delim 2502 PYTHON_PREFIX!$PYTHON_PREFIX$ac_delim 2503 PYTHON_EXEC_PREFIX!$PYTHON_EXEC_PREFIX$ac_delim 2504 PYTHON_PLATFORM!$PYTHON_PLATFORM$ac_delim 2505 pythondir!$pythondir$ac_delim 2506 pkgpythondir!$pkgpythondir$ac_delim 2507 pkgpyexecdir!$pkgpyexecdir$ac_delim 2508 LIBOBJS!$LIBOBJS$ac_delim 2509 LTLIBOBJS!$LTLIBOBJS$ac_delim 2510 _ACEOF 2511 2512 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 53; then 2513 break 2514 elif $ac_last_try; then 2515 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 2516 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 2517 { (exit 1); exit 1; }; } 2518 else 2519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 2520 fi 2521 done 2522 2523 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` 2524 if test -n "$ac_eof"; then 2525 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` 2526 ac_eof=`expr $ac_eof + 1` 2527 fi 2528 2529 cat >>$CONFIG_STATUS <<_ACEOF 2530 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof 2531 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end 2532 _ACEOF 2533 sed ' 2534 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g 2535 s/^/s,@/; s/!/@,|#_!!_#|/ 2536 :n 2537 t n 2538 s/'"$ac_delim"'$/,g/; t 2539 s/$/\\/; p 2540 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n 2541 ' >>$CONFIG_STATUS <conf$$subs.sed 2542 rm -f conf$$subs.sed 2543 cat >>$CONFIG_STATUS <<_ACEOF 2544 :end 2545 s/|#_!!_#|//g 2546 CEOF$ac_eof 2547 _ACEOF 2548 2549 2550 # VPATH may cause trouble with some makes, so we remove $(srcdir), 2551 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 2552 # trailing colons and then remove the whole line if VPATH becomes empty 2553 # (actually we leave an empty line to preserve line numbers). 2554 if test "x$srcdir" = x.; then 2555 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 2556 s/:*\$(srcdir):*/:/ 2557 s/:*\${srcdir}:*/:/ 2558 s/:*@srcdir@:*/:/ 2559 s/^\([^=]*=[ ]*\):*/\1/ 2560 s/:*$// 2561 s/^[^=]*=[ ]*$// 2562 }' 2563 fi 2564 2565 cat >>$CONFIG_STATUS <<\_ACEOF 2566 fi # test -n "$CONFIG_FILES" 2567 2568 2569 for ac_tag in :F $CONFIG_FILES 2570 do 2571 case $ac_tag in 2572 :[FHLC]) ac_mode=$ac_tag; continue;; 2573 esac 2574 case $ac_mode$ac_tag in 2575 :[FHL]*:*);; 2576 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5 2577 echo "$as_me: error: Invalid tag $ac_tag." >&2;} 2578 { (exit 1); exit 1; }; };; 2579 :[FH]-) ac_tag=-:-;; 2580 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 2581 esac 2582 ac_save_IFS=$IFS 2583 IFS=: 2584 set x $ac_tag 2585 IFS=$ac_save_IFS 2586 shift 2587 ac_file=$1 2588 shift 2589 2590 case $ac_mode in 2591 :L) ac_source=$1;; 2592 :[FH]) 2593 ac_file_inputs= 2594 for ac_f 2595 do 2596 case $ac_f in 2597 -) ac_f="$tmp/stdin";; 2598 *) # Look for the file first in the build tree, then in the source tree 2599 # (if the path is not absolute). The absolute path cannot be DOS-style, 2600 # because $ac_f cannot contain `:'. 2601 test -f "$ac_f" || 2602 case $ac_f in 2603 [\\/$]*) false;; 2604 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 2605 esac || 2606 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5 2607 echo "$as_me: error: cannot find input file: $ac_f" >&2;} 2608 { (exit 1); exit 1; }; };; 2609 esac 2610 ac_file_inputs="$ac_file_inputs $ac_f" 2611 done 2612 2613 # Let's still pretend it is `configure' which instantiates (i.e., don't 2614 # use $as_me), people would be surprised to read: 2615 # /* config.h. Generated by config.status. */ 2616 configure_input="Generated from "`IFS=: 2617 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure." 2618 if test x"$ac_file" != x-; then 2619 configure_input="$ac_file. $configure_input" 2620 { echo "$as_me:$LINENO: creating $ac_file" >&5 2621 echo "$as_me: creating $ac_file" >&6;} 2622 fi 2623 2624 case $ac_tag in 2625 *:-:* | *:-) cat >"$tmp/stdin";; 2626 esac 2627 ;; 2628 esac 2629 2630 ac_dir=`$as_dirname -- "$ac_file" || 2631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2632 X"$ac_file" : 'X\(//\)[^/]' \| \ 2633 X"$ac_file" : 'X\(//\)$' \| \ 2634 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 2635 echo X"$ac_file" | 2636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2637 s//\1/ 2638 q 2639 } 2640 /^X\(\/\/\)[^/].*/{ 2641 s//\1/ 2642 q 2643 } 2644 /^X\(\/\/\)$/{ 2645 s//\1/ 2646 q 2647 } 2648 /^X\(\/\).*/{ 2649 s//\1/ 2650 q 2651 } 2652 s/.*/./; q'` 2653 { as_dir="$ac_dir" 2346 2654 2347 case $as_dir in #( 2655 2348 -*) as_dir=./$as_dir;; 2656 2349 esac 2657 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; }|| {2350 test -d "$as_dir" || eval $as_mkdir_p || { 2658 2351 as_dirs= 2659 2352 while :; do 2660 2353 case $as_dir in #( 2661 *\'*) as_qdir=` echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(2354 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( 2662 2355 *) as_qdir=$as_dir;; 2663 2356 esac … … 2668 2361 X"$as_dir" : 'X\(//\)$' \| \ 2669 2362 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 2670 echo X"$as_dir" |2363 $as_echo X"$as_dir" | 2671 2364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2672 2365 s//\1/ … … 2689 2382 done 2690 2383 test -z "$as_dirs" || eval "mkdir $as_dirs" 2691 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 2692 echo "$as_me: error: cannot create directory $as_dir" >&2;} 2693 { (exit 1); exit 1; }; }; } 2384 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir" 2385 2386 2387 } # as_fn_mkdir_p 2388 if mkdir -p . 2>/dev/null; then 2389 as_mkdir_p='mkdir -p "$as_dir"' 2390 else 2391 test -d ./-p && rmdir ./-p 2392 as_mkdir_p=false 2393 fi 2394 2395 2396 # as_fn_executable_p FILE 2397 # ----------------------- 2398 # Test if FILE is an executable regular file. 2399 as_fn_executable_p () 2400 { 2401 test -f "$1" && test -x "$1" 2402 } # as_fn_executable_p 2403 as_test_x='test -x' 2404 as_executable_p=as_fn_executable_p 2405 2406 # Sed expression to map a string onto a valid CPP name. 2407 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 2408 2409 # Sed expression to map a string onto a valid variable name. 2410 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 2411 2412 2413 exec 6>&1 2414 ## ----------------------------------- ## 2415 ## Main body of $CONFIG_STATUS script. ## 2416 ## ----------------------------------- ## 2417 _ASEOF 2418 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1 2419 2420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2421 # Save the log message, to keep $0 and so on meaningful, and to 2422 # report actual input values of CONFIG_FILES etc. instead of their 2423 # values after options handling. 2424 ac_log=" 2425 This file was extended by $as_me, which was 2426 generated by GNU Autoconf 2.69. Invocation command line was 2427 2428 CONFIG_FILES = $CONFIG_FILES 2429 CONFIG_HEADERS = $CONFIG_HEADERS 2430 CONFIG_LINKS = $CONFIG_LINKS 2431 CONFIG_COMMANDS = $CONFIG_COMMANDS 2432 $ $0 $@ 2433 2434 on `(hostname || uname -n) 2>/dev/null | sed 1q` 2435 " 2436 2437 _ACEOF 2438 2439 case $ac_config_files in *" 2440 "*) set x $ac_config_files; shift; ac_config_files=$*;; 2441 esac 2442 2443 2444 2445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2446 # Files that config.status was made for. 2447 config_files="$ac_config_files" 2448 2449 _ACEOF 2450 2451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2452 ac_cs_usage="\ 2453 \`$as_me' instantiates files and other configuration actions 2454 from templates according to the current configuration. Unless the files 2455 and actions are specified as TAGs, all are instantiated by default. 2456 2457 Usage: $0 [OPTION]... [TAG]... 2458 2459 -h, --help print this help, then exit 2460 -V, --version print version number and configuration settings, then exit 2461 --config print configuration, then exit 2462 -q, --quiet, --silent 2463 do not print progress messages 2464 -d, --debug don't remove temporary files 2465 --recheck update $as_me by reconfiguring in the same conditions 2466 --file=FILE[:TEMPLATE] 2467 instantiate the configuration file FILE 2468 2469 Configuration files: 2470 $config_files 2471 2472 Report bugs to the package provider." 2473 2474 _ACEOF 2475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2476 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" 2477 ac_cs_version="\\ 2478 config.status 2479 configured by $0, generated by GNU Autoconf 2.69, 2480 with options \\"\$ac_cs_config\\" 2481 2482 Copyright (C) 2012 Free Software Foundation, Inc. 2483 This config.status script is free software; the Free Software Foundation 2484 gives unlimited permission to copy, distribute and modify it." 2485 2486 ac_pwd='$ac_pwd' 2487 srcdir='$srcdir' 2488 test -n "\$AWK" || AWK=awk 2489 _ACEOF 2490 2491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2492 # The default lists apply if the user does not specify any file. 2493 ac_need_defaults=: 2494 while test $# != 0 2495 do 2496 case $1 in 2497 --*=?*) 2498 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2499 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'` 2500 ac_shift=: 2501 ;; 2502 --*=) 2503 ac_option=`expr "X$1" : 'X\([^=]*\)='` 2504 ac_optarg= 2505 ac_shift=: 2506 ;; 2507 *) 2508 ac_option=$1 2509 ac_optarg=$2 2510 ac_shift=shift 2511 ;; 2512 esac 2513 2514 case $ac_option in 2515 # Handling of the options. 2516 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 2517 ac_cs_recheck=: ;; 2518 --version | --versio | --versi | --vers | --ver | --ve | --v | -V ) 2519 $as_echo "$ac_cs_version"; exit ;; 2520 --config | --confi | --conf | --con | --co | --c ) 2521 $as_echo "$ac_cs_config"; exit ;; 2522 --debug | --debu | --deb | --de | --d | -d ) 2523 debug=: ;; 2524 --file | --fil | --fi | --f ) 2525 $ac_shift 2526 case $ac_optarg in 2527 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;; 2528 '') as_fn_error $? "missing file argument" ;; 2529 esac 2530 as_fn_append CONFIG_FILES " '$ac_optarg'" 2531 ac_need_defaults=false;; 2532 --he | --h | --help | --hel | -h ) 2533 $as_echo "$ac_cs_usage"; exit ;; 2534 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 2535 | -silent | --silent | --silen | --sile | --sil | --si | --s) 2536 ac_cs_silent=: ;; 2537 2538 # This is an error. 2539 -*) as_fn_error $? "unrecognized option: \`$1' 2540 Try \`$0 --help' for more information." ;; 2541 2542 *) as_fn_append ac_config_targets " $1" 2543 ac_need_defaults=false ;; 2544 2545 esac 2546 shift 2547 done 2548 2549 ac_configure_extra_args= 2550 2551 if $ac_cs_silent; then 2552 exec 6>/dev/null 2553 ac_configure_extra_args="$ac_configure_extra_args --silent" 2554 fi 2555 2556 _ACEOF 2557 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2558 if \$ac_cs_recheck; then 2559 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion 2560 shift 2561 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6 2562 CONFIG_SHELL='$SHELL' 2563 export CONFIG_SHELL 2564 exec "\$@" 2565 fi 2566 2567 _ACEOF 2568 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2569 exec 5>>config.log 2570 { 2571 echo 2572 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 2573 ## Running $as_me. ## 2574 _ASBOX 2575 $as_echo "$ac_log" 2576 } >&5 2577 2578 _ACEOF 2579 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2580 _ACEOF 2581 2582 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2583 2584 # Handling of arguments. 2585 for ac_config_target in $ac_config_targets 2586 do 2587 case $ac_config_target in 2588 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 2589 "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;; 2590 2591 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; 2592 esac 2593 done 2594 2595 2596 # If the user did not use the arguments to specify the items to instantiate, 2597 # then the envvar interface is used. Set only those that are not. 2598 # We use the long form for the default assignment because of an extremely 2599 # bizarre bug on SunOS 4.1.3. 2600 if $ac_need_defaults; then 2601 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 2602 fi 2603 2604 # Have a temporary directory for convenience. Make it in the build tree 2605 # simply because there is no reason against having it here, and in addition, 2606 # creating and moving files from /tmp can sometimes cause problems. 2607 # Hook for its removal unless debugging. 2608 # Note that there is a small window in which the directory will not be cleaned: 2609 # after its creation but before its name has been assigned to `$tmp'. 2610 $debug || 2611 { 2612 tmp= ac_tmp= 2613 trap 'exit_status=$? 2614 : "${ac_tmp:=$tmp}" 2615 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status 2616 ' 0 2617 trap 'as_fn_exit 1' 1 2 13 15 2618 } 2619 # Create a (secure) tmp directory for tmp files. 2620 2621 { 2622 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` && 2623 test -d "$tmp" 2624 } || 2625 { 2626 tmp=./conf$$-$RANDOM 2627 (umask 077 && mkdir "$tmp") 2628 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5 2629 ac_tmp=$tmp 2630 2631 # Set up the scripts for CONFIG_FILES section. 2632 # No need to generate them if there are no CONFIG_FILES. 2633 # This happens for instance with `./config.status config.h'. 2634 if test -n "$CONFIG_FILES"; then 2635 2636 2637 ac_cr=`echo X | tr X '\015'` 2638 # On cygwin, bash can eat \r inside `` if the user requested igncr. 2639 # But we know of no other shell where ac_cr would be empty at this 2640 # point, so we can use a bashism as a fallback. 2641 if test "x$ac_cr" = x; then 2642 eval ac_cr=\$\'\\r\' 2643 fi 2644 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null` 2645 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then 2646 ac_cs_awk_cr='\\r' 2647 else 2648 ac_cs_awk_cr=$ac_cr 2649 fi 2650 2651 echo 'BEGIN {' >"$ac_tmp/subs1.awk" && 2652 _ACEOF 2653 2654 2655 { 2656 echo "cat >conf$$subs.awk <<_ACEOF" && 2657 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' && 2658 echo "_ACEOF" 2659 } >conf$$subs.sh || 2660 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2661 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'` 2662 ac_delim='%!_!# ' 2663 for ac_last_try in false false false false false :; do 2664 . ./conf$$subs.sh || 2665 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2666 2667 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` 2668 if test $ac_delim_n = $ac_delim_num; then 2669 break 2670 elif $ac_last_try; then 2671 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5 2672 else 2673 ac_delim="$ac_delim!$ac_delim _$ac_delim!! " 2674 fi 2675 done 2676 rm -f conf$$subs.sh 2677 2678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2679 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK && 2680 _ACEOF 2681 sed -n ' 2682 h 2683 s/^/S["/; s/!.*/"]=/ 2684 p 2685 g 2686 s/^[^!]*!// 2687 :repl 2688 t repl 2689 s/'"$ac_delim"'$// 2690 t delim 2691 :nl 2692 h 2693 s/\(.\{148\}\)..*/\1/ 2694 t more1 2695 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ 2696 p 2697 n 2698 b repl 2699 :more1 2700 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2701 p 2702 g 2703 s/.\{148\}// 2704 t nl 2705 :delim 2706 h 2707 s/\(.\{148\}\)..*/\1/ 2708 t more2 2709 s/["\\]/\\&/g; s/^/"/; s/$/"/ 2710 p 2711 b 2712 :more2 2713 s/["\\]/\\&/g; s/^/"/; s/$/"\\/ 2714 p 2715 g 2716 s/.\{148\}// 2717 t delim 2718 ' <conf$$subs.awk | sed ' 2719 /^[^""]/{ 2720 N 2721 s/\n// 2722 } 2723 ' >>$CONFIG_STATUS || ac_write_fail=1 2724 rm -f conf$$subs.awk 2725 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2726 _ACAWK 2727 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK && 2728 for (key in S) S_is_set[key] = 1 2729 FS = "" 2730 2731 } 2732 { 2733 line = $ 0 2734 nfields = split(line, field, "@") 2735 substed = 0 2736 len = length(field[1]) 2737 for (i = 2; i < nfields; i++) { 2738 key = field[i] 2739 keylen = length(key) 2740 if (S_is_set[key]) { 2741 value = S[key] 2742 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3) 2743 len += length(value) + length(field[++i]) 2744 substed = 1 2745 } else 2746 len += 1 + keylen 2747 } 2748 2749 print line 2750 } 2751 2752 _ACAWK 2753 _ACEOF 2754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2755 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then 2756 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g" 2757 else 2758 cat 2759 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \ 2760 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5 2761 _ACEOF 2762 2763 # VPATH may cause trouble with some makes, so we remove sole $(srcdir), 2764 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and 2765 # trailing colons and then remove the whole line if VPATH becomes empty 2766 # (actually we leave an empty line to preserve line numbers). 2767 if test "x$srcdir" = x.; then 2768 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{ 2769 h 2770 s/// 2771 s/^/:/ 2772 s/[ ]*$/:/ 2773 s/:\$(srcdir):/:/g 2774 s/:\${srcdir}:/:/g 2775 s/:@srcdir@:/:/g 2776 s/^:*// 2777 s/:*$// 2778 x 2779 s/\(=[ ]*\).*/\1/ 2780 G 2781 s/\n// 2782 s/^[^=]*=[ ]*$// 2783 }' 2784 fi 2785 2786 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2787 fi # test -n "$CONFIG_FILES" 2788 2789 2790 eval set X " :F $CONFIG_FILES " 2791 shift 2792 for ac_tag 2793 do 2794 case $ac_tag in 2795 :[FHLC]) ac_mode=$ac_tag; continue;; 2796 esac 2797 case $ac_mode$ac_tag in 2798 :[FHL]*:*);; 2799 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;; 2800 :[FH]-) ac_tag=-:-;; 2801 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;; 2802 esac 2803 ac_save_IFS=$IFS 2804 IFS=: 2805 set x $ac_tag 2806 IFS=$ac_save_IFS 2807 shift 2808 ac_file=$1 2809 shift 2810 2811 case $ac_mode in 2812 :L) ac_source=$1;; 2813 :[FH]) 2814 ac_file_inputs= 2815 for ac_f 2816 do 2817 case $ac_f in 2818 -) ac_f="$ac_tmp/stdin";; 2819 *) # Look for the file first in the build tree, then in the source tree 2820 # (if the path is not absolute). The absolute path cannot be DOS-style, 2821 # because $ac_f cannot contain `:'. 2822 test -f "$ac_f" || 2823 case $ac_f in 2824 [\\/$]*) false;; 2825 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";; 2826 esac || 2827 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;; 2828 esac 2829 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac 2830 as_fn_append ac_file_inputs " '$ac_f'" 2831 done 2832 2833 # Let's still pretend it is `configure' which instantiates (i.e., don't 2834 # use $as_me), people would be surprised to read: 2835 # /* config.h. Generated by config.status. */ 2836 configure_input='Generated from '` 2837 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g' 2838 `' by configure.' 2839 if test x"$ac_file" != x-; then 2840 configure_input="$ac_file. $configure_input" 2841 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5 2842 $as_echo "$as_me: creating $ac_file" >&6;} 2843 fi 2844 # Neutralize special characters interpreted by sed in replacement strings. 2845 case $configure_input in #( 2846 *\&* | *\|* | *\\* ) 2847 ac_sed_conf_input=`$as_echo "$configure_input" | 2848 sed 's/[\\\\&|]/\\\\&/g'`;; #( 2849 *) ac_sed_conf_input=$configure_input;; 2850 esac 2851 2852 case $ac_tag in 2853 *:-:* | *:-) cat >"$ac_tmp/stdin" \ 2854 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;; 2855 esac 2856 ;; 2857 esac 2858 2859 ac_dir=`$as_dirname -- "$ac_file" || 2860 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 2861 X"$ac_file" : 'X\(//\)[^/]' \| \ 2862 X"$ac_file" : 'X\(//\)$' \| \ 2863 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null || 2864 $as_echo X"$ac_file" | 2865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 2866 s//\1/ 2867 q 2868 } 2869 /^X\(\/\/\)[^/].*/{ 2870 s//\1/ 2871 q 2872 } 2873 /^X\(\/\/\)$/{ 2874 s//\1/ 2875 q 2876 } 2877 /^X\(\/\).*/{ 2878 s//\1/ 2879 q 2880 } 2881 s/.*/./; q'` 2882 as_dir="$ac_dir"; as_fn_mkdir_p 2694 2883 ac_builddir=. 2695 2884 … … 2697 2886 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 2698 2887 *) 2699 ac_dir_suffix=/` echo "$ac_dir" | sed 's,^\.[\\/],,'`2888 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'` 2700 2889 # A ".." for each directory in $ac_dir_suffix. 2701 ac_top_builddir_sub=` echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`2890 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'` 2702 2891 case $ac_top_builddir_sub in 2703 2892 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; … … 2735 2924 _ACEOF 2736 2925 2737 cat >>$CONFIG_STATUS <<\_ACEOF 2926 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2738 2927 # If the template does not know about datarootdir, expand it. 2739 2928 # FIXME: This hack should be removed a few years after 2.60. 2740 2929 ac_datarootdir_hack=; ac_datarootdir_seen= 2741 2742 case `sed -n '/datarootdir/ {2930 ac_sed_dataroot=' 2931 /datarootdir/ { 2743 2932 p 2744 2933 q … … 2748 2937 /@infodir@/p 2749 2938 /@localedir@/p 2750 /@mandir@/p 2751 ' $ac_file_inputs` in2939 /@mandir@/p' 2940 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in 2752 2941 *datarootdir*) ac_datarootdir_seen=yes;; 2753 2942 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*) 2754 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&52755 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}2943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5 2944 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;} 2756 2945 _ACEOF 2757 cat >>$CONFIG_STATUS <<_ACEOF 2946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2758 2947 ac_datarootdir_hack=' 2759 2948 s&@datadir@&$datadir&g … … 2762 2951 s&@localedir@&$localedir&g 2763 2952 s&@mandir@&$mandir&g 2764 2953 s&\\\${datarootdir}&$datarootdir&g' ;; 2765 2954 esac 2766 2955 _ACEOF … … 2769 2958 # Shell code in configure.ac might set extrasub. 2770 2959 # FIXME: do we really want to maintain this feature? 2771 cat >>$CONFIG_STATUS <<_ACEOF 2772 sed"$ac_vpsub2960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 2961 ac_sed_extra="$ac_vpsub 2773 2962 $extrasub 2774 2963 _ACEOF 2775 cat >>$CONFIG_STATUS <<\_ACEOF 2964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 2776 2965 :t 2777 2966 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 2778 s &@configure_input@&$configure_input&;t t2967 s|@configure_input@|$ac_sed_conf_input|;t t 2779 2968 s&@top_builddir@&$ac_top_builddir_sub&;t t 2969 s&@top_build_prefix@&$ac_top_build_prefix&;t t 2780 2970 s&@srcdir@&$ac_srcdir&;t t 2781 2971 s&@abs_srcdir@&$ac_abs_srcdir&;t t … … 2786 2976 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t 2787 2977 $ac_datarootdir_hack 2788 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out 2978 " 2979 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \ 2980 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2789 2981 2790 2982 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && 2791 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && 2792 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && 2793 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2794 which seems to be undefined. Please make sure it is defined." >&5 2795 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2796 which seems to be undefined. Please make sure it is defined." >&2;} 2797 2798 rm -f "$tmp/stdin" 2983 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } && 2984 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \ 2985 "$ac_tmp/out"`; test -z "$ac_out"; } && 2986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2987 which seems to be undefined. Please make sure it is defined" >&5 2988 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir' 2989 which seems to be undefined. Please make sure it is defined" >&2;} 2990 2991 rm -f "$ac_tmp/stdin" 2799 2992 case $ac_file in 2800 -) cat "$tmp/out"; rm -f "$tmp/out";; 2801 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;; 2993 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";; 2994 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";; 2995 esac \ 2996 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 2997 ;; 2998 2999 3000 2802 3001 esac 2803 ;;2804 2805 2806 2807 esac2808 3002 2809 3003 done # for ac_tag 2810 3004 2811 3005 2812 { (exit 0); exit 0; } 3006 as_fn_exit 0 2813 3007 _ACEOF 2814 chmod +x $CONFIG_STATUS2815 3008 ac_clean_files=$ac_clean_files_save 3009 3010 test $ac_write_fail = 0 || 3011 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5 2816 3012 2817 3013 … … 2834 3030 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 2835 3031 # would make configure fail if this is the last instruction. 2836 $ac_cs_success || { (exit 1); exit 1; } 2837 fi 2838 3032 $ac_cs_success || as_fn_exit 1 3033 fi 3034 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then 3035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5 3036 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;} 3037 fi 3038
Note: See TracChangeset
for help on using the changeset viewer.