source: trunk/configure @ 329

Last change on this file since 329 was 316, checked in by bas, 10 years ago

Dennis Stam:

  • fixed docdir error, closes #39
  • added a new option to examples/new_rack_pbsmon.py -p/--property
  • improved the autoconf setup
  • Property svn:executable set to *
File size: 87.5 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for pbs-python 4.4.1.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_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.
43if 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 --'
47elif (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'
50else
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'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
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  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""        $as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
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.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export 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.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $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
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if 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
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -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
201else
202  as_have_required=no
203fi
204  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
205
206else
207  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
208as_found=false
209for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
210do
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
224fi
225fi
226           done;;
227       esac
228  as_found=false
229done
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
233fi; }
234IFS=$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.
243BASH_ENV=/dev/null
244ENV=/dev/null
245(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246case $- in # ((((
247  *v*x* | *x*v* ) as_opts=-vx ;;
248  *v* ) as_opts=-v ;;
249  *x* ) as_opts=-x ;;
250  * ) as_opts= ;;
251esac
252exec $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
256exit 255
257fi
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."
265  else
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."
270  fi
271  exit 1
272fi
273fi
274fi
275SHELL=${CONFIG_SHELL-/bin/sh}
276export SHELL
277# Unset more variables known to interfere with behavior of common tools.
278CLICOLOR_FORCE= GREP_OPTIONS=
279unset CLICOLOR_FORCE GREP_OPTIONS
280
281## --------------------- ##
282## M4sh Shell Functions. ##
283## --------------------- ##
284# as_fn_unset VAR
285# ---------------
286# Portably unset VAR.
287as_fn_unset ()
288{
289  { eval $1=; unset $1;}
290}
291as_unset=as_fn_unset
292
293# as_fn_set_status STATUS
294# -----------------------
295# Set $? to STATUS, without forking.
296as_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.
304as_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.
314as_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.
362as_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.
372if (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  }'
377else
378  as_fn_append ()
379  {
380    eval $1=\$$1\$2
381  }
382fi # 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.
389if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
390  eval 'as_fn_arith ()
391  {
392    as_val=$(( $* ))
393  }'
394else
395  as_fn_arith ()
396  {
397    as_val=`expr "$@" || test $? -eq 1`
398  }
399fi # 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.
407as_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
418if expr a : '\(a\)' >/dev/null 2>&1 &&
419   test "X`expr 00001 : '.*\(...\)'`" = X001; then
420  as_expr=expr
421else
422  as_expr=false
423fi
424
425if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
426  as_basename=basename
427else
428  as_basename=false
429fi
430
431if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
432  as_dirname=dirname
433else
434  as_dirname=false
435fi
436
437as_me=`$as_basename -- "$0" ||
438$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439         X"$0" : 'X\(//\)$' \| \
440         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
441$as_echo X/"$0" |
442    sed '/^.*\/\([^/][^/]*\)\/*$/{
443            s//\1/
444            q
445          }
446          /^X\/\(\/\/\)$/{
447            s//\1/
448            q
449          }
450          /^X\/\(\/\).*/{
451            s//\1/
452            q
453          }
454          s/.*/./; q'`
455
456# Avoid depending upon Character Ranges.
457as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460as_cr_digits='0123456789'
461as_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.  :-)
469  sed -n '
470    p
471    /[$]LINENO/=
472  ' <$as_myself |
473    sed '
474      s/[$]LINENO.*/&-/
475      t lineno
476      b
477      :lineno
478      N
479      :loop
480      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
481      t loop
482      s/-\n.*//
483    ' >$as_me.lineno &&
484  chmod +x "$as_me.lineno" ||
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
491  # Don't try to exec as it changes $[0], causing all sort of problems
492  # (the dirname of $[0] is not the place where we might find the
493  # original and so on.  Autoconf is especially sensitive to this).
494  . "./$as_me.lineno"
495  # Exit status is that of the last command.
496  exit
497}
498
499ECHO_C= ECHO_N= ECHO_T=
500case `echo -n x` in #(((((
501-n*)
502  case `echo 'xy\c'` in
503  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
504  xy)  ECHO_C='\c';;
505  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
506       ECHO_T=' ';;
507  esac;;
508*)
509  ECHO_N='-n';;
510esac
511
512rm -f conf$$ conf$$.exe conf$$.file
513if test -d conf$$.dir; then
514  rm -f conf$$.dir/conf$$.file
515else
516  rm -f conf$$.dir
517  mkdir conf$$.dir 2>/dev/null
518fi
519if (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
533else
534  as_ln_s='cp -pR'
535fi
536rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537rmdir conf$$.dir 2>/dev/null
538
539if mkdir -p . 2>/dev/null; then
540  as_mkdir_p='mkdir -p "$as_dir"'
541else
542  test -d ./-p && rmdir ./-p
543  as_mkdir_p=false
544fi
545
546as_test_x='test -x'
547as_executable_p=as_fn_executable_p
548
549# Sed expression to map a string onto a valid CPP name.
550as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
551
552# Sed expression to map a string onto a valid variable name.
553as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554
555
556test -n "$DJDIR" || exec 7<&0 </dev/null
557exec 6>&1
558
559# Name of the host.
560# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561# so uname gets run too.
562ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563
564#
565# Initializations.
566#
567ac_default_prefix=/usr/local
568ac_clean_files=
569ac_config_libobj_dir=.
570LIBOBJS=
571cross_compiling=no
572subdirs=
573MFLAGS=
574MAKEFLAGS=
575
576# Identity of this package.
577PACKAGE_NAME='pbs-python'
578PACKAGE_TARNAME='pbs-python'
579PACKAGE_VERSION='4.4.1'
580PACKAGE_STRING='pbs-python 4.4.1'
581PACKAGE_BUGREPORT=''
582PACKAGE_URL=''
583
584ac_unique_file="src/C++/pbs_wrap.cxx"
585ac_subst_vars='LTLIBOBJS
586LIBOBJS
587pkgpyexecdir
588pkgpythondir
589pythondir
590PYTHON_PLATFORM
591PYTHON_EXEC_PREFIX
592PYTHON_PREFIX
593PYTHON_VERSION
594PYTHON
595pbs_version
596pbs_library_dir
597pbs_library_compile_line
598PBSCONFIG
599pbsdir
600pyexecdir
601target_alias
602host_alias
603build_alias
604LIBS
605ECHO_T
606ECHO_N
607ECHO_C
608DEFS
609mandir
610localedir
611libdir
612psdir
613pdfdir
614dvidir
615htmldir
616infodir
617docdir
618oldincludedir
619includedir
620localstatedir
621sharedstatedir
622sysconfdir
623datadir
624datarootdir
625libexecdir
626sbindir
627bindir
628program_transform_name
629prefix
630exec_prefix
631PACKAGE_URL
632PACKAGE_BUGREPORT
633PACKAGE_STRING
634PACKAGE_VERSION
635PACKAGE_TARNAME
636PACKAGE_NAME
637PATH_SEPARATOR
638SHELL'
639ac_subst_files=''
640ac_user_opts='
641enable_option_checking
642with_pbsdir
643'
644      ac_precious_vars='build_alias
645host_alias
646target_alias'
647
648
649# Initialize some variables set by options.
650ac_init_help=
651ac_init_version=false
652ac_unrecognized_opts=
653ac_unrecognized_sep=
654# The variables have the same names as the options, with
655# dashes changed to underlines.
656cache_file=/dev/null
657exec_prefix=NONE
658no_create=
659no_recursion=
660prefix=NONE
661program_prefix=NONE
662program_suffix=NONE
663program_transform_name=s,x,x,
664silent=
665site=
666srcdir=
667verbose=
668x_includes=NONE
669x_libraries=NONE
670
671# Installation directory options.
672# These are left unexpanded so users can "make install exec_prefix=/foo"
673# and all the variables that are supposed to be based on exec_prefix
674# by default will actually change.
675# Use braces instead of parens because sh, perl, etc. also accept them.
676# (The list follows the same order as the GNU Coding Standards.)
677bindir='${exec_prefix}/bin'
678sbindir='${exec_prefix}/sbin'
679libexecdir='${exec_prefix}/libexec'
680datarootdir='${prefix}/share'
681datadir='${datarootdir}'
682sysconfdir='${prefix}/etc'
683sharedstatedir='${prefix}/com'
684localstatedir='${prefix}/var'
685includedir='${prefix}/include'
686oldincludedir='/usr/include'
687docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
688infodir='${datarootdir}/info'
689htmldir='${docdir}'
690dvidir='${docdir}'
691pdfdir='${docdir}'
692psdir='${docdir}'
693libdir='${exec_prefix}/lib'
694localedir='${datarootdir}/locale'
695mandir='${datarootdir}/man'
696
697ac_prev=
698ac_dashdash=
699for ac_option
700do
701  # If the previous option needs an argument, assign it.
702  if test -n "$ac_prev"; then
703    eval $ac_prev=\$ac_option
704    ac_prev=
705    continue
706  fi
707
708  case $ac_option in
709  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
710  *=)   ac_optarg= ;;
711  *)    ac_optarg=yes ;;
712  esac
713
714  # Accept the important Cygnus configure options, so we can diagnose typos.
715
716  case $ac_dashdash$ac_option in
717  --)
718    ac_dashdash=yes ;;
719
720  -bindir | --bindir | --bindi | --bind | --bin | --bi)
721    ac_prev=bindir ;;
722  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
723    bindir=$ac_optarg ;;
724
725  -build | --build | --buil | --bui | --bu)
726    ac_prev=build_alias ;;
727  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
728    build_alias=$ac_optarg ;;
729
730  -cache-file | --cache-file | --cache-fil | --cache-fi \
731  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
732    ac_prev=cache_file ;;
733  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
734  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
735    cache_file=$ac_optarg ;;
736
737  --config-cache | -C)
738    cache_file=config.cache ;;
739
740  -datadir | --datadir | --datadi | --datad)
741    ac_prev=datadir ;;
742  -datadir=* | --datadir=* | --datadi=* | --datad=*)
743    datadir=$ac_optarg ;;
744
745  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
746  | --dataroo | --dataro | --datar)
747    ac_prev=datarootdir ;;
748  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
749  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
750    datarootdir=$ac_optarg ;;
751
752  -disable-* | --disable-*)
753    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
754    # Reject names that are not valid shell variable names.
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 ;;
767
768  -docdir | --docdir | --docdi | --doc | --do)
769    ac_prev=docdir ;;
770  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
771    docdir=$ac_optarg ;;
772
773  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
774    ac_prev=dvidir ;;
775  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
776    dvidir=$ac_optarg ;;
777
778  -enable-* | --enable-*)
779    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
780    # Reject names that are not valid shell variable names.
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 ;;
793
794  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
795  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
796  | --exec | --exe | --ex)
797    ac_prev=exec_prefix ;;
798  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
799  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
800  | --exec=* | --exe=* | --ex=*)
801    exec_prefix=$ac_optarg ;;
802
803  -gas | --gas | --ga | --g)
804    # Obsolete; use --with-gas.
805    with_gas=yes ;;
806
807  -help | --help | --hel | --he | -h)
808    ac_init_help=long ;;
809  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
810    ac_init_help=recursive ;;
811  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
812    ac_init_help=short ;;
813
814  -host | --host | --hos | --ho)
815    ac_prev=host_alias ;;
816  -host=* | --host=* | --hos=* | --ho=*)
817    host_alias=$ac_optarg ;;
818
819  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
820    ac_prev=htmldir ;;
821  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
822  | --ht=*)
823    htmldir=$ac_optarg ;;
824
825  -includedir | --includedir | --includedi | --included | --include \
826  | --includ | --inclu | --incl | --inc)
827    ac_prev=includedir ;;
828  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
829  | --includ=* | --inclu=* | --incl=* | --inc=*)
830    includedir=$ac_optarg ;;
831
832  -infodir | --infodir | --infodi | --infod | --info | --inf)
833    ac_prev=infodir ;;
834  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
835    infodir=$ac_optarg ;;
836
837  -libdir | --libdir | --libdi | --libd)
838    ac_prev=libdir ;;
839  -libdir=* | --libdir=* | --libdi=* | --libd=*)
840    libdir=$ac_optarg ;;
841
842  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
843  | --libexe | --libex | --libe)
844    ac_prev=libexecdir ;;
845  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
846  | --libexe=* | --libex=* | --libe=*)
847    libexecdir=$ac_optarg ;;
848
849  -localedir | --localedir | --localedi | --localed | --locale)
850    ac_prev=localedir ;;
851  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
852    localedir=$ac_optarg ;;
853
854  -localstatedir | --localstatedir | --localstatedi | --localstated \
855  | --localstate | --localstat | --localsta | --localst | --locals)
856    ac_prev=localstatedir ;;
857  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
858  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
859    localstatedir=$ac_optarg ;;
860
861  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
862    ac_prev=mandir ;;
863  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
864    mandir=$ac_optarg ;;
865
866  -nfp | --nfp | --nf)
867    # Obsolete; use --without-fp.
868    with_fp=no ;;
869
870  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
871  | --no-cr | --no-c | -n)
872    no_create=yes ;;
873
874  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
875  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
876    no_recursion=yes ;;
877
878  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
879  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
880  | --oldin | --oldi | --old | --ol | --o)
881    ac_prev=oldincludedir ;;
882  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
883  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
884  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
885    oldincludedir=$ac_optarg ;;
886
887  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
888    ac_prev=prefix ;;
889  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
890    prefix=$ac_optarg ;;
891
892  -program-prefix | --program-prefix | --program-prefi | --program-pref \
893  | --program-pre | --program-pr | --program-p)
894    ac_prev=program_prefix ;;
895  -program-prefix=* | --program-prefix=* | --program-prefi=* \
896  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
897    program_prefix=$ac_optarg ;;
898
899  -program-suffix | --program-suffix | --program-suffi | --program-suff \
900  | --program-suf | --program-su | --program-s)
901    ac_prev=program_suffix ;;
902  -program-suffix=* | --program-suffix=* | --program-suffi=* \
903  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
904    program_suffix=$ac_optarg ;;
905
906  -program-transform-name | --program-transform-name \
907  | --program-transform-nam | --program-transform-na \
908  | --program-transform-n | --program-transform- \
909  | --program-transform | --program-transfor \
910  | --program-transfo | --program-transf \
911  | --program-trans | --program-tran \
912  | --progr-tra | --program-tr | --program-t)
913    ac_prev=program_transform_name ;;
914  -program-transform-name=* | --program-transform-name=* \
915  | --program-transform-nam=* | --program-transform-na=* \
916  | --program-transform-n=* | --program-transform-=* \
917  | --program-transform=* | --program-transfor=* \
918  | --program-transfo=* | --program-transf=* \
919  | --program-trans=* | --program-tran=* \
920  | --progr-tra=* | --program-tr=* | --program-t=*)
921    program_transform_name=$ac_optarg ;;
922
923  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
924    ac_prev=pdfdir ;;
925  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
926    pdfdir=$ac_optarg ;;
927
928  -psdir | --psdir | --psdi | --psd | --ps)
929    ac_prev=psdir ;;
930  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
931    psdir=$ac_optarg ;;
932
933  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
934  | -silent | --silent | --silen | --sile | --sil)
935    silent=yes ;;
936
937  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
938    ac_prev=sbindir ;;
939  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
940  | --sbi=* | --sb=*)
941    sbindir=$ac_optarg ;;
942
943  -sharedstatedir | --sharedstatedir | --sharedstatedi \
944  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
945  | --sharedst | --shareds | --shared | --share | --shar \
946  | --sha | --sh)
947    ac_prev=sharedstatedir ;;
948  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
949  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
950  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
951  | --sha=* | --sh=*)
952    sharedstatedir=$ac_optarg ;;
953
954  -site | --site | --sit)
955    ac_prev=site ;;
956  -site=* | --site=* | --sit=*)
957    site=$ac_optarg ;;
958
959  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
960    ac_prev=srcdir ;;
961  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
962    srcdir=$ac_optarg ;;
963
964  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
965  | --syscon | --sysco | --sysc | --sys | --sy)
966    ac_prev=sysconfdir ;;
967  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
968  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
969    sysconfdir=$ac_optarg ;;
970
971  -target | --target | --targe | --targ | --tar | --ta | --t)
972    ac_prev=target_alias ;;
973  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
974    target_alias=$ac_optarg ;;
975
976  -v | -verbose | --verbose | --verbos | --verbo | --verb)
977    verbose=yes ;;
978
979  -version | --version | --versio | --versi | --vers | -V)
980    ac_init_version=: ;;
981
982  -with-* | --with-*)
983    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
984    # Reject names that are not valid shell variable names.
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 ;;
997
998  -without-* | --without-*)
999    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1000    # Reject names that are not valid shell variable names.
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 ;;
1013
1014  --x)
1015    # Obsolete; use --with-x.
1016    with_x=yes ;;
1017
1018  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1019  | --x-incl | --x-inc | --x-in | --x-i)
1020    ac_prev=x_includes ;;
1021  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1022  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1023    x_includes=$ac_optarg ;;
1024
1025  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1026  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1027    ac_prev=x_libraries ;;
1028  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1029  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1030    x_libraries=$ac_optarg ;;
1031
1032  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1033Try \`$0 --help' for more information"
1034    ;;
1035
1036  *=*)
1037    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1038    # Reject names that are not valid shell variable names.
1039    case $ac_envvar in #(
1040      '' | [0-9]* | *[!_$as_cr_alnum]* )
1041      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1042    esac
1043    eval $ac_envvar=\$ac_optarg
1044    export $ac_envvar ;;
1045
1046  *)
1047    # FIXME: should be removed in autoconf 3.0.
1048    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1049    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
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}"
1052    ;;
1053
1054  esac
1055done
1056
1057if test -n "$ac_prev"; then
1058  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1059  as_fn_error $? "missing argument to $ac_option"
1060fi
1061
1062if 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
1068fi
1069
1070# Check all directory arguments for consistency.
1071for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
1072                datadir sysconfdir sharedstatedir localstatedir includedir \
1073                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1074                libdir localedir mandir
1075do
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.
1084  case $ac_val in
1085    [\\/$]* | ?:[\\/]* )  continue;;
1086    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1087  esac
1088  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1089done
1090
1091# There might be people who depend on the old broken behavior: `$host'
1092# used to hold the argument of --host etc.
1093# FIXME: To remove some day.
1094build=$build_alias
1095host=$host_alias
1096target=$target_alias
1097
1098# FIXME: To remove some day.
1099if test "x$host_alias" != x; then
1100  if test "x$build_alias" = x; then
1101    cross_compiling=maybe
1102  elif test "x$build_alias" != "x$host_alias"; then
1103    cross_compiling=yes
1104  fi
1105fi
1106
1107ac_tool_prefix=
1108test -n "$host_alias" && ac_tool_prefix=$host_alias-
1109
1110test "$silent" = yes && exec 6>/dev/null
1111
1112
1113ac_pwd=`pwd` && test -n "$ac_pwd" &&
1114ac_ls_di=`ls -di .` &&
1115ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1116  as_fn_error $? "working directory cannot be determined"
1117test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1118  as_fn_error $? "pwd does not report name of working directory"
1119
1120
1121# Find the source files, if location was not specified.
1122if test -z "$srcdir"; then
1123  ac_srcdir_defaulted=yes
1124  # Try the directory containing this script, then the parent directory.
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" |
1131    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1132            s//\1/
1133            q
1134          }
1135          /^X\(\/\/\)[^/].*/{
1136            s//\1/
1137            q
1138          }
1139          /^X\(\/\/\)$/{
1140            s//\1/
1141            q
1142          }
1143          /^X\(\/\).*/{
1144            s//\1/
1145            q
1146          }
1147          s/.*/./; q'`
1148  srcdir=$ac_confdir
1149  if test ! -r "$srcdir/$ac_unique_file"; then
1150    srcdir=..
1151  fi
1152else
1153  ac_srcdir_defaulted=no
1154fi
1155if test ! -r "$srcdir/$ac_unique_file"; then
1156  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1157  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1158fi
1159ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1160ac_abs_confdir=`(
1161        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1162        pwd)`
1163# When building in place, set srcdir=.
1164if test "$ac_abs_confdir" = "$ac_pwd"; then
1165  srcdir=.
1166fi
1167# Remove unnecessary trailing slashes from srcdir.
1168# Double slashes in file names in object file debugging info
1169# mess up M-x gdb in Emacs.
1170case $srcdir in
1171*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1172esac
1173for ac_var in $ac_precious_vars; do
1174  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1175  eval ac_env_${ac_var}_value=\$${ac_var}
1176  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1177  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1178done
1179
1180#
1181# Report the --help message.
1182#
1183if test "$ac_init_help" = "long"; then
1184  # Omit some internal or obsolete options to make the list less imposing.
1185  # This message is too long to be a string in the A/UX 3.1 sh.
1186  cat <<_ACEOF
1187\`configure' configures pbs-python 4.4.1 to adapt to many kinds of systems.
1188
1189Usage: $0 [OPTION]... [VAR=VALUE]...
1190
1191To assign environment variables (e.g., CC, CFLAGS...), specify them as
1192VAR=VALUE.  See below for descriptions of some of the useful variables.
1193
1194Defaults for the options are specified in brackets.
1195
1196Configuration:
1197  -h, --help              display this help and exit
1198      --help=short        display options specific to this package
1199      --help=recursive    display the short help of all the included packages
1200  -V, --version           display version information and exit
1201  -q, --quiet, --silent   do not print \`checking ...' messages
1202      --cache-file=FILE   cache test results in FILE [disabled]
1203  -C, --config-cache      alias for \`--cache-file=config.cache'
1204  -n, --no-create         do not create output files
1205      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1206
1207Installation directories:
1208  --prefix=PREFIX         install architecture-independent files in PREFIX
1209                          [$ac_default_prefix]
1210  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1211                          [PREFIX]
1212
1213By default, \`make install' will install all the files in
1214\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1215an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1216for instance \`--prefix=\$HOME'.
1217
1218For better control, use the options below.
1219
1220Fine tuning of the installation directories:
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/pbs-python]
1236  --htmldir=DIR           html documentation [DOCDIR]
1237  --dvidir=DIR            dvi documentation [DOCDIR]
1238  --pdfdir=DIR            pdf documentation [DOCDIR]
1239  --psdir=DIR             ps documentation [DOCDIR]
1240_ACEOF
1241
1242  cat <<\_ACEOF
1243_ACEOF
1244fi
1245
1246if test -n "$ac_init_help"; then
1247  case $ac_init_help in
1248     short | recursive ) echo "Configuration of pbs-python 4.4.1:";;
1249   esac
1250  cat <<\_ACEOF
1251
1252Optional Packages:
1253  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1254  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1255  --with-pbsdir=PATH    The torque/pbs install directory
1256
1257Report bugs to the package provider.
1258_ACEOF
1259ac_status=$?
1260fi
1261
1262if test "$ac_init_help" = "recursive"; then
1263  # If there are subdirs, report their specific --help.
1264  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1265    test -d "$ac_dir" ||
1266      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1267      continue
1268    ac_builddir=.
1269
1270case "$ac_dir" in
1271.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1272*)
1273  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1274  # A ".." for each directory in $ac_dir_suffix.
1275  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1276  case $ac_top_builddir_sub in
1277  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1278  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1279  esac ;;
1280esac
1281ac_abs_top_builddir=$ac_pwd
1282ac_abs_builddir=$ac_pwd$ac_dir_suffix
1283# for backward compatibility:
1284ac_top_builddir=$ac_top_build_prefix
1285
1286case $srcdir in
1287  .)  # We are building in place.
1288    ac_srcdir=.
1289    ac_top_srcdir=$ac_top_builddir_sub
1290    ac_abs_top_srcdir=$ac_pwd ;;
1291  [\\/]* | ?:[\\/]* )  # Absolute name.
1292    ac_srcdir=$srcdir$ac_dir_suffix;
1293    ac_top_srcdir=$srcdir
1294    ac_abs_top_srcdir=$srcdir ;;
1295  *) # Relative name.
1296    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1297    ac_top_srcdir=$ac_top_build_prefix$srcdir
1298    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1299esac
1300ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1301
1302    cd "$ac_dir" || { ac_status=$?; continue; }
1303    # Check for guested configure.
1304    if test -f "$ac_srcdir/configure.gnu"; then
1305      echo &&
1306      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1307    elif test -f "$ac_srcdir/configure"; then
1308      echo &&
1309      $SHELL "$ac_srcdir/configure" --help=recursive
1310    else
1311      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1312    fi || ac_status=$?
1313    cd "$ac_pwd" || { ac_status=$?; break; }
1314  done
1315fi
1316
1317test -n "$ac_init_help" && exit $ac_status
1318if $ac_init_version; then
1319  cat <<\_ACEOF
1320pbs-python configure 4.4.1
1321generated by GNU Autoconf 2.69
1322
1323Copyright (C) 2012 Free Software Foundation, Inc.
1324This configure script is free software; the Free Software Foundation
1325gives unlimited permission to copy, distribute and modify it.
1326_ACEOF
1327  exit
1328fi
1329
1330## ------------------------ ##
1331## Autoconf initialization. ##
1332## ------------------------ ##
1333cat >config.log <<_ACEOF
1334This file contains any messages produced by compilers while
1335running configure, to aid debugging if configure makes a mistake.
1336
1337It was created by pbs-python $as_me 4.4.1, which was
1338generated by GNU Autoconf 2.69.  Invocation command line was
1339
1340  $ $0 $@
1341
1342_ACEOF
1343exec 5>>config.log
1344{
1345cat <<_ASUNAME
1346## --------- ##
1347## Platform. ##
1348## --------- ##
1349
1350hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1351uname -m = `(uname -m) 2>/dev/null || echo unknown`
1352uname -r = `(uname -r) 2>/dev/null || echo unknown`
1353uname -s = `(uname -s) 2>/dev/null || echo unknown`
1354uname -v = `(uname -v) 2>/dev/null || echo unknown`
1355
1356/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1357/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1358
1359/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1360/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1361/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1362/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1363/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1364/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1365/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1366
1367_ASUNAME
1368
1369as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1370for as_dir in $PATH
1371do
1372  IFS=$as_save_IFS
1373  test -z "$as_dir" && as_dir=.
1374    $as_echo "PATH: $as_dir"
1375  done
1376IFS=$as_save_IFS
1377
1378} >&5
1379
1380cat >&5 <<_ACEOF
1381
1382
1383## ----------- ##
1384## Core tests. ##
1385## ----------- ##
1386
1387_ACEOF
1388
1389
1390# Keep a trace of the command line.
1391# Strip out --no-create and --no-recursion so they do not pile up.
1392# Strip out --silent because we don't want to record it for future runs.
1393# Also quote any args containing shell meta-characters.
1394# Make two passes to allow for proper duplicate-argument suppression.
1395ac_configure_args=
1396ac_configure_args0=
1397ac_configure_args1=
1398ac_must_keep_next=false
1399for ac_pass in 1 2
1400do
1401  for ac_arg
1402  do
1403    case $ac_arg in
1404    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1405    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1406    | -silent | --silent | --silen | --sile | --sil)
1407      continue ;;
1408    *\'*)
1409      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1410    esac
1411    case $ac_pass in
1412    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1413    2)
1414      as_fn_append ac_configure_args1 " '$ac_arg'"
1415      if test $ac_must_keep_next = true; then
1416        ac_must_keep_next=false # Got value, back to normal.
1417      else
1418        case $ac_arg in
1419          *=* | --config-cache | -C | -disable-* | --disable-* \
1420          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1421          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1422          | -with-* | --with-* | -without-* | --without-* | --x)
1423            case "$ac_configure_args0 " in
1424              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1425            esac
1426            ;;
1427          -* ) ac_must_keep_next=true ;;
1428        esac
1429      fi
1430      as_fn_append ac_configure_args " '$ac_arg'"
1431      ;;
1432    esac
1433  done
1434done
1435{ ac_configure_args0=; unset ac_configure_args0;}
1436{ ac_configure_args1=; unset ac_configure_args1;}
1437
1438# When interrupted or exit'd, cleanup temporary files, and complete
1439# config.log.  We remove comments because anyway the quotes in there
1440# would cause problems or look ugly.
1441# WARNING: Use '\'' to represent an apostrophe within the trap.
1442# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1443trap 'exit_status=$?
1444  # Save into config.log some information that might help in debugging.
1445  {
1446    echo
1447
1448    $as_echo "## ---------------- ##
1449## Cache variables. ##
1450## ---------------- ##"
1451    echo
1452    # The following way of writing the cache mishandles newlines in values,
1453(
1454  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1455    eval ac_val=\$$ac_var
1456    case $ac_val in #(
1457    *${as_nl}*)
1458      case $ac_var in #(
1459      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1460$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1461      esac
1462      case $ac_var in #(
1463      _ | IFS | as_nl) ;; #(
1464      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1465      *) { eval $ac_var=; unset $ac_var;} ;;
1466      esac ;;
1467    esac
1468  done
1469  (set) 2>&1 |
1470    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1471    *${as_nl}ac_space=\ *)
1472      sed -n \
1473        "s/'\''/'\''\\\\'\'''\''/g;
1474          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1475      ;; #(
1476    *)
1477      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1478      ;;
1479    esac |
1480    sort
1481)
1482    echo
1483
1484    $as_echo "## ----------------- ##
1485## Output variables. ##
1486## ----------------- ##"
1487    echo
1488    for ac_var in $ac_subst_vars
1489    do
1490      eval ac_val=\$$ac_var
1491      case $ac_val in
1492      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1493      esac
1494      $as_echo "$ac_var='\''$ac_val'\''"
1495    done | sort
1496    echo
1497
1498    if test -n "$ac_subst_files"; then
1499      $as_echo "## ------------------- ##
1500## File substitutions. ##
1501## ------------------- ##"
1502      echo
1503      for ac_var in $ac_subst_files
1504      do
1505        eval ac_val=\$$ac_var
1506        case $ac_val in
1507        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1508        esac
1509        $as_echo "$ac_var='\''$ac_val'\''"
1510      done | sort
1511      echo
1512    fi
1513
1514    if test -s confdefs.h; then
1515      $as_echo "## ----------- ##
1516## confdefs.h. ##
1517## ----------- ##"
1518      echo
1519      cat confdefs.h
1520      echo
1521    fi
1522    test "$ac_signal" != 0 &&
1523      $as_echo "$as_me: caught signal $ac_signal"
1524    $as_echo "$as_me: exit $exit_status"
1525  } >&5
1526  rm -f core *.core core.conftest.* &&
1527    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1528    exit $exit_status
1529' 0
1530for ac_signal in 1 2 13 15; do
1531  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1532done
1533ac_signal=0
1534
1535# confdefs.h avoids OS command line length limits that DEFS can exceed.
1536rm -f -r conftest* confdefs.h
1537
1538$as_echo "/* confdefs.h */" > confdefs.h
1539
1540# Predefined preprocessor variables.
1541
1542cat >>confdefs.h <<_ACEOF
1543#define PACKAGE_NAME "$PACKAGE_NAME"
1544_ACEOF
1545
1546cat >>confdefs.h <<_ACEOF
1547#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1548_ACEOF
1549
1550cat >>confdefs.h <<_ACEOF
1551#define PACKAGE_VERSION "$PACKAGE_VERSION"
1552_ACEOF
1553
1554cat >>confdefs.h <<_ACEOF
1555#define PACKAGE_STRING "$PACKAGE_STRING"
1556_ACEOF
1557
1558cat >>confdefs.h <<_ACEOF
1559#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1560_ACEOF
1561
1562cat >>confdefs.h <<_ACEOF
1563#define PACKAGE_URL "$PACKAGE_URL"
1564_ACEOF
1565
1566
1567# Let the site file select an alternate cache file if it wants to.
1568# Prefer an explicitly selected file to automatically selected ones.
1569ac_site_file1=NONE
1570ac_site_file2=NONE
1571if test -n "$CONFIG_SITE"; then
1572  # We do not want a PATH search for config.site.
1573  case $CONFIG_SITE in #((
1574    -*)  ac_site_file1=./$CONFIG_SITE;;
1575    */*) ac_site_file1=$CONFIG_SITE;;
1576    *)   ac_site_file1=./$CONFIG_SITE;;
1577  esac
1578elif test "x$prefix" != xNONE; then
1579  ac_site_file1=$prefix/share/config.site
1580  ac_site_file2=$prefix/etc/config.site
1581else
1582  ac_site_file1=$ac_default_prefix/share/config.site
1583  ac_site_file2=$ac_default_prefix/etc/config.site
1584fi
1585for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1586do
1587  test "x$ac_site_file" = xNONE && continue
1588  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1589    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1590$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1591    sed 's/^/| /' "$ac_site_file" >&5
1592    . "$ac_site_file" \
1593      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1594$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1595as_fn_error $? "failed to load site script $ac_site_file
1596See \`config.log' for more details" "$LINENO" 5; }
1597  fi
1598done
1599
1600if test -r "$cache_file"; then
1601  # Some versions of bash will fail to source /dev/null (special files
1602  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1603  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1604    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1605$as_echo "$as_me: loading cache $cache_file" >&6;}
1606    case $cache_file in
1607      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1608      *)                      . "./$cache_file";;
1609    esac
1610  fi
1611else
1612  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1613$as_echo "$as_me: creating cache $cache_file" >&6;}
1614  >$cache_file
1615fi
1616
1617# Check that the precious variables saved in the cache have kept the same
1618# value.
1619ac_cache_corrupted=false
1620for ac_var in $ac_precious_vars; do
1621  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1622  eval ac_new_set=\$ac_env_${ac_var}_set
1623  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1624  eval ac_new_val=\$ac_env_${ac_var}_value
1625  case $ac_old_set,$ac_new_set in
1626    set,)
1627      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1628$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1629      ac_cache_corrupted=: ;;
1630    ,set)
1631      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1632$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1633      ac_cache_corrupted=: ;;
1634    ,);;
1635    *)
1636      if test "x$ac_old_val" != "x$ac_new_val"; then
1637        # differences in whitespace do not lead to failure.
1638        ac_old_val_w=`echo x $ac_old_val`
1639        ac_new_val_w=`echo x $ac_new_val`
1640        if test "$ac_old_val_w" != "$ac_new_val_w"; then
1641          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1642$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1643          ac_cache_corrupted=:
1644        else
1645          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1646$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1647          eval $ac_var=\$ac_old_val
1648        fi
1649        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1650$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1651        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1652$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1653      fi;;
1654  esac
1655  # Pass precious variables to config.status.
1656  if test "$ac_new_set" = set; then
1657    case $ac_new_val in
1658    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1659    *) ac_arg=$ac_var=$ac_new_val ;;
1660    esac
1661    case " $ac_configure_args " in
1662      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1663      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1664    esac
1665  fi
1666done
1667if $ac_cache_corrupted; then
1668  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1669$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1670  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1671$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1672  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1673fi
1674## -------------------- ##
1675## Main body of script. ##
1676## -------------------- ##
1677
1678ac_ext=c
1679ac_cpp='$CPP $CPPFLAGS'
1680ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1681ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1682ac_compiler_gnu=$ac_cv_c_compiler_gnu
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692pbsdir_default=''
1693
1694# Check whether --with-pbsdir was given.
1695if test "${with_pbsdir+set}" = set; then :
1696  withval=$with_pbsdir; pbsdir=$withval
1697else
1698  pbsdir=$pbsdir_default
1699fi
1700
1701
1702
1703# Verify the PBS libs are there, but let Makefile handle including them
1704# on the link line.  First check for modern torque pbs-config program using
1705# $pbsdir and the rest of PATH, then fall back to looking around for the
1706# libraries by hand.
1707# Extract the first word of "pbs-config", so it can be a program name with args.
1708set dummy pbs-config; ac_word=$2
1709{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1710$as_echo_n "checking for $ac_word... " >&6; }
1711if ${ac_cv_path_PBSCONFIG+:} false; then :
1712  $as_echo_n "(cached) " >&6
1713else
1714  case $PBSCONFIG in
1715  [\\/]* | ?:[\\/]*)
1716  ac_cv_path_PBSCONFIG="$PBSCONFIG" # Let the user override the test with a path.
1717  ;;
1718  *)
1719  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720as_dummy="$pbsdir:$pbsdir/bin:$pbsdir/../bin:$PATH"
1721for as_dir in $as_dummy
1722do
1723  IFS=$as_save_IFS
1724  test -z "$as_dir" && as_dir=.
1725    for ac_exec_ext in '' $ac_executable_extensions; do
1726  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727    ac_cv_path_PBSCONFIG="$as_dir/$ac_word$ac_exec_ext"
1728    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1729    break 2
1730  fi
1731done
1732  done
1733IFS=$as_save_IFS
1734
1735  test -z "$ac_cv_path_PBSCONFIG" && ac_cv_path_PBSCONFIG="none"
1736  ;;
1737esac
1738fi
1739PBSCONFIG=$ac_cv_path_PBSCONFIG
1740if test -n "$PBSCONFIG"; then
1741  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PBSCONFIG" >&5
1742$as_echo "$PBSCONFIG" >&6; }
1743else
1744  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1745$as_echo "no" >&6; }
1746fi
1747
1748
1749if test "$PBSCONFIG" != "none"; then
1750  pbs_library_compile_line="`$PBSCONFIG --libs`"
1751  pbs_library_dir="`$PBSCONFIG --libdir`"
1752  pbs_version="`$PBSCONFIG --version`"
1753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found torque version: $pbs_version" >&5
1754$as_echo "Found torque version: $pbs_version" >&6; }
1755else
1756  as_fn_error $? "Failed to find program pbs-config" "$LINENO" 5
1757fi
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767        # Find any Python interpreter.
1768    for ac_prog in python python2 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5
1769do
1770  # Extract the first word of "$ac_prog", so it can be a program name with args.
1771set dummy $ac_prog; ac_word=$2
1772{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1773$as_echo_n "checking for $ac_word... " >&6; }
1774if ${ac_cv_path_PYTHON+:} false; then :
1775  $as_echo_n "(cached) " >&6
1776else
1777  case $PYTHON in
1778  [\\/]* | ?:[\\/]*)
1779  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1780  ;;
1781  *)
1782  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1783for as_dir in $PATH
1784do
1785  IFS=$as_save_IFS
1786  test -z "$as_dir" && as_dir=.
1787    for ac_exec_ext in '' $ac_executable_extensions; do
1788  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1789    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1790    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1791    break 2
1792  fi
1793done
1794  done
1795IFS=$as_save_IFS
1796
1797  ;;
1798esac
1799fi
1800PYTHON=$ac_cv_path_PYTHON
1801if test -n "$PYTHON"; then
1802  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
1803$as_echo "$PYTHON" >&6; }
1804else
1805  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1806$as_echo "no" >&6; }
1807fi
1808
1809
1810  test -n "$PYTHON" && break
1811done
1812
1813    am_display_PYTHON=python
1814
1815
1816
1817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
1818$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
1819if ${am_cv_python_version+:} false; then :
1820  $as_echo_n "(cached) " >&6
1821else
1822  am_cv_python_version=`$PYTHON -c "import sys; print sys.version[:3]"`
1823fi
1824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
1825$as_echo "$am_cv_python_version" >&6; }
1826  PYTHON_VERSION=$am_cv_python_version
1827
1828
1829
1830  PYTHON_PREFIX='${prefix}'
1831
1832  PYTHON_EXEC_PREFIX='${exec_prefix}'
1833
1834
1835
1836  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
1837$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
1838if ${am_cv_python_platform+:} false; then :
1839  $as_echo_n "(cached) " >&6
1840else
1841  am_cv_python_platform=`$PYTHON -c "import sys; print sys.platform"`
1842fi
1843{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
1844$as_echo "$am_cv_python_platform" >&6; }
1845  PYTHON_PLATFORM=$am_cv_python_platform
1846
1847
1848
1849
1850                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
1851$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
1852if ${am_cv_python_pythondir+:} false; then :
1853  $as_echo_n "(cached) " >&6
1854else
1855  am_cv_python_pythondir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(0,0,prefix='$PYTHON_PREFIX')" 2>/dev/null ||
1856     echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
1857fi
1858{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
1859$as_echo "$am_cv_python_pythondir" >&6; }
1860  pythondir=$am_cv_python_pythondir
1861
1862
1863
1864  pkgpythondir=\${pythondir}/$PACKAGE
1865
1866
1867            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
1868$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
1869if ${am_cv_python_pyexecdir+:} false; then :
1870  $as_echo_n "(cached) " >&6
1871else
1872  am_cv_python_pyexecdir=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib(1,0,prefix='$PYTHON_EXEC_PREFIX')" 2>/dev/null ||
1873     echo "${PYTHON_EXEC_PREFIX}/lib/python${PYTHON_VERSION}/site-packages"`
1874fi
1875{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
1876$as_echo "$am_cv_python_pyexecdir" >&6; }
1877  pyexecdir=$am_cv_python_pyexecdir
1878
1879
1880
1881  pkgpyexecdir=\${pyexecdir}/$PACKAGE
1882
1883
1884
1885ac_config_files="$ac_config_files Makefile setup.py"
1886
1887cat >confcache <<\_ACEOF
1888# This file is a shell script that caches the results of configure
1889# tests run on this system so they can be shared between configure
1890# scripts and configure runs, see configure's option --config-cache.
1891# It is not useful on other systems.  If it contains results you don't
1892# want to keep, you may remove or edit it.
1893#
1894# config.status only pays attention to the cache file if you give it
1895# the --recheck option to rerun configure.
1896#
1897# `ac_cv_env_foo' variables (set or unset) will be overridden when
1898# loading this file, other *unset* `ac_cv_foo' will be assigned the
1899# following values.
1900
1901_ACEOF
1902
1903# The following way of writing the cache mishandles newlines in values,
1904# but we know of no workaround that is simple, portable, and efficient.
1905# So, we kill variables containing newlines.
1906# Ultrix sh set writes to stderr and can't be redirected directly,
1907# and sets the high bit in the cache file unless we assign to the vars.
1908(
1909  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1910    eval ac_val=\$$ac_var
1911    case $ac_val in #(
1912    *${as_nl}*)
1913      case $ac_var in #(
1914      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1915$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1916      esac
1917      case $ac_var in #(
1918      _ | IFS | as_nl) ;; #(
1919      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1920      *) { eval $ac_var=; unset $ac_var;} ;;
1921      esac ;;
1922    esac
1923  done
1924
1925  (set) 2>&1 |
1926    case $as_nl`(ac_space=' '; set) 2>&1` in #(
1927    *${as_nl}ac_space=\ *)
1928      # `set' does not quote correctly, so add quotes: double-quote
1929      # substitution turns \\\\ into \\, and sed turns \\ into \.
1930      sed -n \
1931        "s/'/'\\\\''/g;
1932          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1933      ;; #(
1934    *)
1935      # `set' quotes correctly as required by POSIX, so do not add quotes.
1936      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1937      ;;
1938    esac |
1939    sort
1940) |
1941  sed '
1942     /^ac_cv_env_/b end
1943     t clear
1944     :clear
1945     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1946     t end
1947     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1948     :end' >>confcache
1949if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1950  if test -w "$cache_file"; then
1951    if test "x$cache_file" != "x/dev/null"; then
1952      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1953$as_echo "$as_me: updating cache $cache_file" >&6;}
1954      if test ! -f "$cache_file" || test -h "$cache_file"; then
1955        cat confcache >"$cache_file"
1956      else
1957        case $cache_file in #(
1958        */* | ?:*)
1959          mv -f confcache "$cache_file"$$ &&
1960          mv -f "$cache_file"$$ "$cache_file" ;; #(
1961        *)
1962          mv -f confcache "$cache_file" ;;
1963        esac
1964      fi
1965    fi
1966  else
1967    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1968$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1969  fi
1970fi
1971rm -f confcache
1972
1973test "x$prefix" = xNONE && prefix=$ac_default_prefix
1974# Let make expand exec_prefix.
1975test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1976
1977# Transform confdefs.h into DEFS.
1978# Protect against shell expansion while executing Makefile rules.
1979# Protect against Makefile macro expansion.
1980#
1981# If the first sed substitution is executed (which looks for macros that
1982# take arguments), then branch to the quote section.  Otherwise,
1983# look for a macro that doesn't take arguments.
1984ac_script='
1985:mline
1986/\\$/{
1987 N
1988 s,\\\n,,
1989 b mline
1990}
1991t clear
1992:clear
1993s/^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\)/-D\1=\2/g
1994t quote
1995s/^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)/-D\1=\2/g
1996t quote
1997b any
1998:quote
1999s/[      `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2000s/\[/\\&/g
2001s/\]/\\&/g
2002s/\$/$$/g
2003H
2004:any
2005${
2006        g
2007        s/^\n//
2008        s/\n/ /g
2009        p
2010}
2011'
2012DEFS=`sed -n "$ac_script" confdefs.h`
2013
2014
2015ac_libobjs=
2016ac_ltlibobjs=
2017U=
2018for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2019  # 1. Remove the extension, and $U if already installed.
2020  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2021  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2022  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2023  #    will be set to the directory where LIBOBJS objects are built.
2024  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2025  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2026done
2027LIBOBJS=$ac_libobjs
2028
2029LTLIBOBJS=$ac_ltlibobjs
2030
2031
2032
2033: "${CONFIG_STATUS=./config.status}"
2034ac_write_fail=0
2035ac_clean_files_save=$ac_clean_files
2036ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2037{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2038$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2039as_write_fail=0
2040cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2041#! $SHELL
2042# Generated by $as_me.
2043# Run this file to recreate the current configuration.
2044# Compiler output produced by configure, useful for debugging
2045# configure, is in config.log if it exists.
2046
2047debug=false
2048ac_cs_recheck=false
2049ac_cs_silent=false
2050
2051SHELL=\${CONFIG_SHELL-$SHELL}
2052export SHELL
2053_ASEOF
2054cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2055## -------------------- ##
2056## M4sh Initialization. ##
2057## -------------------- ##
2058
2059# Be more Bourne compatible
2060DUALCASE=1; export DUALCASE # for MKS sh
2061if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2062  emulate sh
2063  NULLCMD=:
2064  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2065  # is contrary to our usage.  Disable this feature.
2066  alias -g '${1+"$@"}'='"$@"'
2067  setopt NO_GLOB_SUBST
2068else
2069  case `(set -o) 2>/dev/null` in #(
2070  *posix*) :
2071    set -o posix ;; #(
2072  *) :
2073     ;;
2074esac
2075fi
2076
2077
2078as_nl='
2079'
2080export as_nl
2081# Printing a long string crashes Solaris 7 /usr/bin/printf.
2082as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2083as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2084as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2085# Prefer a ksh shell builtin over an external printf program on Solaris,
2086# but without wasting forks for bash or zsh.
2087if test -z "$BASH_VERSION$ZSH_VERSION" \
2088    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2089  as_echo='print -r --'
2090  as_echo_n='print -rn --'
2091elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2092  as_echo='printf %s\n'
2093  as_echo_n='printf %s'
2094else
2095  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2096    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2097    as_echo_n='/usr/ucb/echo -n'
2098  else
2099    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2100    as_echo_n_body='eval
2101      arg=$1;
2102      case $arg in #(
2103      *"$as_nl"*)
2104        expr "X$arg" : "X\\(.*\\)$as_nl";
2105        arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2106      esac;
2107      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2108    '
2109    export as_echo_n_body
2110    as_echo_n='sh -c $as_echo_n_body as_echo'
2111  fi
2112  export as_echo_body
2113  as_echo='sh -c $as_echo_body as_echo'
2114fi
2115
2116# The user is always right.
2117if test "${PATH_SEPARATOR+set}" != set; then
2118  PATH_SEPARATOR=:
2119  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2120    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2121      PATH_SEPARATOR=';'
2122  }
2123fi
2124
2125
2126# IFS
2127# We need space, tab and new line, in precisely that order.  Quoting is
2128# there to prevent editors from complaining about space-tab.
2129# (If _AS_PATH_WALK were called with IFS unset, it would disable word
2130# splitting by setting IFS to empty value.)
2131IFS=" ""        $as_nl"
2132
2133# Find who we are.  Look in the path if we contain no directory separator.
2134as_myself=
2135case $0 in #((
2136  *[\\/]* ) as_myself=$0 ;;
2137  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138for as_dir in $PATH
2139do
2140  IFS=$as_save_IFS
2141  test -z "$as_dir" && as_dir=.
2142    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2143  done
2144IFS=$as_save_IFS
2145
2146     ;;
2147esac
2148# We did not find ourselves, most probably we were run as `sh COMMAND'
2149# in which case we are not to be found in the path.
2150if test "x$as_myself" = x; then
2151  as_myself=$0
2152fi
2153if test ! -f "$as_myself"; then
2154  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2155  exit 1
2156fi
2157
2158# Unset variables that we do not need and which cause bugs (e.g. in
2159# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
2160# suppresses any "Segmentation fault" message there.  '((' could
2161# trigger a bug in pdksh 5.2.14.
2162for as_var in BASH_ENV ENV MAIL MAILPATH
2163do eval test x\${$as_var+set} = xset \
2164  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2165done
2166PS1='$ '
2167PS2='> '
2168PS4='+ '
2169
2170# NLS nuisances.
2171LC_ALL=C
2172export LC_ALL
2173LANGUAGE=C
2174export LANGUAGE
2175
2176# CDPATH.
2177(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2178
2179
2180# as_fn_error STATUS ERROR [LINENO LOG_FD]
2181# ----------------------------------------
2182# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2183# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2184# script with STATUS, using 1 if that was 0.
2185as_fn_error ()
2186{
2187  as_status=$1; test $as_status -eq 0 && as_status=1
2188  if test "$4"; then
2189    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2190    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2191  fi
2192  $as_echo "$as_me: error: $2" >&2
2193  as_fn_exit $as_status
2194} # as_fn_error
2195
2196
2197# as_fn_set_status STATUS
2198# -----------------------
2199# Set $? to STATUS, without forking.
2200as_fn_set_status ()
2201{
2202  return $1
2203} # as_fn_set_status
2204
2205# as_fn_exit STATUS
2206# -----------------
2207# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2208as_fn_exit ()
2209{
2210  set +e
2211  as_fn_set_status $1
2212  exit $1
2213} # as_fn_exit
2214
2215# as_fn_unset VAR
2216# ---------------
2217# Portably unset VAR.
2218as_fn_unset ()
2219{
2220  { eval $1=; unset $1;}
2221}
2222as_unset=as_fn_unset
2223# as_fn_append VAR VALUE
2224# ----------------------
2225# Append the text in VALUE to the end of the definition contained in VAR. Take
2226# advantage of any shell optimizations that allow amortized linear growth over
2227# repeated appends, instead of the typical quadratic growth present in naive
2228# implementations.
2229if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2230  eval 'as_fn_append ()
2231  {
2232    eval $1+=\$2
2233  }'
2234else
2235  as_fn_append ()
2236  {
2237    eval $1=\$$1\$2
2238  }
2239fi # as_fn_append
2240
2241# as_fn_arith ARG...
2242# ------------------
2243# Perform arithmetic evaluation on the ARGs, and store the result in the
2244# global $as_val. Take advantage of shells that can avoid forks. The arguments
2245# must be portable across $(()) and expr.
2246if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2247  eval 'as_fn_arith ()
2248  {
2249    as_val=$(( $* ))
2250  }'
2251else
2252  as_fn_arith ()
2253  {
2254    as_val=`expr "$@" || test $? -eq 1`
2255  }
2256fi # as_fn_arith
2257
2258
2259if expr a : '\(a\)' >/dev/null 2>&1 &&
2260   test "X`expr 00001 : '.*\(...\)'`" = X001; then
2261  as_expr=expr
2262else
2263  as_expr=false
2264fi
2265
2266if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2267  as_basename=basename
2268else
2269  as_basename=false
2270fi
2271
2272if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2273  as_dirname=dirname
2274else
2275  as_dirname=false
2276fi
2277
2278as_me=`$as_basename -- "$0" ||
2279$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2280         X"$0" : 'X\(//\)$' \| \
2281         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2282$as_echo X/"$0" |
2283    sed '/^.*\/\([^/][^/]*\)\/*$/{
2284            s//\1/
2285            q
2286          }
2287          /^X\/\(\/\/\)$/{
2288            s//\1/
2289            q
2290          }
2291          /^X\/\(\/\).*/{
2292            s//\1/
2293            q
2294          }
2295          s/.*/./; q'`
2296
2297# Avoid depending upon Character Ranges.
2298as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2299as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2300as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2301as_cr_digits='0123456789'
2302as_cr_alnum=$as_cr_Letters$as_cr_digits
2303
2304ECHO_C= ECHO_N= ECHO_T=
2305case `echo -n x` in #(((((
2306-n*)
2307  case `echo 'xy\c'` in
2308  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
2309  xy)  ECHO_C='\c';;
2310  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
2311       ECHO_T=' ';;
2312  esac;;
2313*)
2314  ECHO_N='-n';;
2315esac
2316
2317rm -f conf$$ conf$$.exe conf$$.file
2318if test -d conf$$.dir; then
2319  rm -f conf$$.dir/conf$$.file
2320else
2321  rm -f conf$$.dir
2322  mkdir conf$$.dir 2>/dev/null
2323fi
2324if (echo >conf$$.file) 2>/dev/null; then
2325  if ln -s conf$$.file conf$$ 2>/dev/null; then
2326    as_ln_s='ln -s'
2327    # ... but there are two gotchas:
2328    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2329    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2330    # In both cases, we have to default to `cp -pR'.
2331    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2332      as_ln_s='cp -pR'
2333  elif ln conf$$.file conf$$ 2>/dev/null; then
2334    as_ln_s=ln
2335  else
2336    as_ln_s='cp -pR'
2337  fi
2338else
2339  as_ln_s='cp -pR'
2340fi
2341rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2342rmdir conf$$.dir 2>/dev/null
2343
2344
2345# as_fn_mkdir_p
2346# -------------
2347# Create "$as_dir" as a directory, including parents if necessary.
2348as_fn_mkdir_p ()
2349{
2350
2351  case $as_dir in #(
2352  -*) as_dir=./$as_dir;;
2353  esac
2354  test -d "$as_dir" || eval $as_mkdir_p || {
2355    as_dirs=
2356    while :; do
2357      case $as_dir in #(
2358      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2359      *) as_qdir=$as_dir;;
2360      esac
2361      as_dirs="'$as_qdir' $as_dirs"
2362      as_dir=`$as_dirname -- "$as_dir" ||
2363$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2364         X"$as_dir" : 'X\(//\)[^/]' \| \
2365         X"$as_dir" : 'X\(//\)$' \| \
2366         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2367$as_echo X"$as_dir" |
2368    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2369            s//\1/
2370            q
2371          }
2372          /^X\(\/\/\)[^/].*/{
2373            s//\1/
2374            q
2375          }
2376          /^X\(\/\/\)$/{
2377            s//\1/
2378            q
2379          }
2380          /^X\(\/\).*/{
2381            s//\1/
2382            q
2383          }
2384          s/.*/./; q'`
2385      test -d "$as_dir" && break
2386    done
2387    test -z "$as_dirs" || eval "mkdir $as_dirs"
2388  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2389
2390
2391} # as_fn_mkdir_p
2392if mkdir -p . 2>/dev/null; then
2393  as_mkdir_p='mkdir -p "$as_dir"'
2394else
2395  test -d ./-p && rmdir ./-p
2396  as_mkdir_p=false
2397fi
2398
2399
2400# as_fn_executable_p FILE
2401# -----------------------
2402# Test if FILE is an executable regular file.
2403as_fn_executable_p ()
2404{
2405  test -f "$1" && test -x "$1"
2406} # as_fn_executable_p
2407as_test_x='test -x'
2408as_executable_p=as_fn_executable_p
2409
2410# Sed expression to map a string onto a valid CPP name.
2411as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2412
2413# Sed expression to map a string onto a valid variable name.
2414as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2415
2416
2417exec 6>&1
2418## ----------------------------------- ##
2419## Main body of $CONFIG_STATUS script. ##
2420## ----------------------------------- ##
2421_ASEOF
2422test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2423
2424cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2425# Save the log message, to keep $0 and so on meaningful, and to
2426# report actual input values of CONFIG_FILES etc. instead of their
2427# values after options handling.
2428ac_log="
2429This file was extended by pbs-python $as_me 4.4.1, which was
2430generated by GNU Autoconf 2.69.  Invocation command line was
2431
2432  CONFIG_FILES    = $CONFIG_FILES
2433  CONFIG_HEADERS  = $CONFIG_HEADERS
2434  CONFIG_LINKS    = $CONFIG_LINKS
2435  CONFIG_COMMANDS = $CONFIG_COMMANDS
2436  $ $0 $@
2437
2438on `(hostname || uname -n) 2>/dev/null | sed 1q`
2439"
2440
2441_ACEOF
2442
2443case $ac_config_files in *"
2444"*) set x $ac_config_files; shift; ac_config_files=$*;;
2445esac
2446
2447
2448
2449cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2450# Files that config.status was made for.
2451config_files="$ac_config_files"
2452
2453_ACEOF
2454
2455cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2456ac_cs_usage="\
2457\`$as_me' instantiates files and other configuration actions
2458from templates according to the current configuration.  Unless the files
2459and actions are specified as TAGs, all are instantiated by default.
2460
2461Usage: $0 [OPTION]... [TAG]...
2462
2463  -h, --help       print this help, then exit
2464  -V, --version    print version number and configuration settings, then exit
2465      --config     print configuration, then exit
2466  -q, --quiet, --silent
2467                   do not print progress messages
2468  -d, --debug      don't remove temporary files
2469      --recheck    update $as_me by reconfiguring in the same conditions
2470      --file=FILE[:TEMPLATE]
2471                   instantiate the configuration file FILE
2472
2473Configuration files:
2474$config_files
2475
2476Report bugs to the package provider."
2477
2478_ACEOF
2479cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2480ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
2481ac_cs_version="\\
2482pbs-python config.status 4.4.1
2483configured by $0, generated by GNU Autoconf 2.69,
2484  with options \\"\$ac_cs_config\\"
2485
2486Copyright (C) 2012 Free Software Foundation, Inc.
2487This config.status script is free software; the Free Software Foundation
2488gives unlimited permission to copy, distribute and modify it."
2489
2490ac_pwd='$ac_pwd'
2491srcdir='$srcdir'
2492test -n "\$AWK" || AWK=awk
2493_ACEOF
2494
2495cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2496# The default lists apply if the user does not specify any file.
2497ac_need_defaults=:
2498while test $# != 0
2499do
2500  case $1 in
2501  --*=?*)
2502    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2503    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2504    ac_shift=:
2505    ;;
2506  --*=)
2507    ac_option=`expr "X$1" : 'X\([^=]*\)='`
2508    ac_optarg=
2509    ac_shift=:
2510    ;;
2511  *)
2512    ac_option=$1
2513    ac_optarg=$2
2514    ac_shift=shift
2515    ;;
2516  esac
2517
2518  case $ac_option in
2519  # Handling of the options.
2520  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2521    ac_cs_recheck=: ;;
2522  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2523    $as_echo "$ac_cs_version"; exit ;;
2524  --config | --confi | --conf | --con | --co | --c )
2525    $as_echo "$ac_cs_config"; exit ;;
2526  --debug | --debu | --deb | --de | --d | -d )
2527    debug=: ;;
2528  --file | --fil | --fi | --f )
2529    $ac_shift
2530    case $ac_optarg in
2531    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2532    '') as_fn_error $? "missing file argument" ;;
2533    esac
2534    as_fn_append CONFIG_FILES " '$ac_optarg'"
2535    ac_need_defaults=false;;
2536  --he | --h |  --help | --hel | -h )
2537    $as_echo "$ac_cs_usage"; exit ;;
2538  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2539  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2540    ac_cs_silent=: ;;
2541
2542  # This is an error.
2543  -*) as_fn_error $? "unrecognized option: \`$1'
2544Try \`$0 --help' for more information." ;;
2545
2546  *) as_fn_append ac_config_targets " $1"
2547     ac_need_defaults=false ;;
2548
2549  esac
2550  shift
2551done
2552
2553ac_configure_extra_args=
2554
2555if $ac_cs_silent; then
2556  exec 6>/dev/null
2557  ac_configure_extra_args="$ac_configure_extra_args --silent"
2558fi
2559
2560_ACEOF
2561cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2562if \$ac_cs_recheck; then
2563  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2564  shift
2565  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2566  CONFIG_SHELL='$SHELL'
2567  export CONFIG_SHELL
2568  exec "\$@"
2569fi
2570
2571_ACEOF
2572cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2573exec 5>>config.log
2574{
2575  echo
2576  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2577## Running $as_me. ##
2578_ASBOX
2579  $as_echo "$ac_log"
2580} >&5
2581
2582_ACEOF
2583cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2584_ACEOF
2585
2586cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2587
2588# Handling of arguments.
2589for ac_config_target in $ac_config_targets
2590do
2591  case $ac_config_target in
2592    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2593    "setup.py") CONFIG_FILES="$CONFIG_FILES setup.py" ;;
2594
2595  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2596  esac
2597done
2598
2599
2600# If the user did not use the arguments to specify the items to instantiate,
2601# then the envvar interface is used.  Set only those that are not.
2602# We use the long form for the default assignment because of an extremely
2603# bizarre bug on SunOS 4.1.3.
2604if $ac_need_defaults; then
2605  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2606fi
2607
2608# Have a temporary directory for convenience.  Make it in the build tree
2609# simply because there is no reason against having it here, and in addition,
2610# creating and moving files from /tmp can sometimes cause problems.
2611# Hook for its removal unless debugging.
2612# Note that there is a small window in which the directory will not be cleaned:
2613# after its creation but before its name has been assigned to `$tmp'.
2614$debug ||
2615{
2616  tmp= ac_tmp=
2617  trap 'exit_status=$?
2618  : "${ac_tmp:=$tmp}"
2619  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
2620' 0
2621  trap 'as_fn_exit 1' 1 2 13 15
2622}
2623# Create a (secure) tmp directory for tmp files.
2624
2625{
2626  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2627  test -d "$tmp"
2628}  ||
2629{
2630  tmp=./conf$$-$RANDOM
2631  (umask 077 && mkdir "$tmp")
2632} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
2633ac_tmp=$tmp
2634
2635# Set up the scripts for CONFIG_FILES section.
2636# No need to generate them if there are no CONFIG_FILES.
2637# This happens for instance with `./config.status config.h'.
2638if test -n "$CONFIG_FILES"; then
2639
2640
2641ac_cr=`echo X | tr X '\015'`
2642# On cygwin, bash can eat \r inside `` if the user requested igncr.
2643# But we know of no other shell where ac_cr would be empty at this
2644# point, so we can use a bashism as a fallback.
2645if test "x$ac_cr" = x; then
2646  eval ac_cr=\$\'\\r\'
2647fi
2648ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2649if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2650  ac_cs_awk_cr='\\r'
2651else
2652  ac_cs_awk_cr=$ac_cr
2653fi
2654
2655echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
2656_ACEOF
2657
2658
2659{
2660  echo "cat >conf$$subs.awk <<_ACEOF" &&
2661  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2662  echo "_ACEOF"
2663} >conf$$subs.sh ||
2664  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2665ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2666ac_delim='%!_!# '
2667for ac_last_try in false false false false false :; do
2668  . ./conf$$subs.sh ||
2669    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2670
2671  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2672  if test $ac_delim_n = $ac_delim_num; then
2673    break
2674  elif $ac_last_try; then
2675    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2676  else
2677    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2678  fi
2679done
2680rm -f conf$$subs.sh
2681
2682cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2683cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
2684_ACEOF
2685sed -n '
2686h
2687s/^/S["/; s/!.*/"]=/
2688p
2689g
2690s/^[^!]*!//
2691:repl
2692t repl
2693s/'"$ac_delim"'$//
2694t delim
2695:nl
2696h
2697s/\(.\{148\}\)..*/\1/
2698t more1
2699s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2700p
2701n
2702b repl
2703:more1
2704s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2705p
2706g
2707s/.\{148\}//
2708t nl
2709:delim
2710h
2711s/\(.\{148\}\)..*/\1/
2712t more2
2713s/["\\]/\\&/g; s/^/"/; s/$/"/
2714p
2715b
2716:more2
2717s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2718p
2719g
2720s/.\{148\}//
2721t delim
2722' <conf$$subs.awk | sed '
2723/^[^""]/{
2724  N
2725  s/\n//
2726}
2727' >>$CONFIG_STATUS || ac_write_fail=1
2728rm -f conf$$subs.awk
2729cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2730_ACAWK
2731cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
2732  for (key in S) S_is_set[key] = 1
2733  FS = ""
2734
2735}
2736{
2737  line = $ 0
2738  nfields = split(line, field, "@")
2739  substed = 0
2740  len = length(field[1])
2741  for (i = 2; i < nfields; i++) {
2742    key = field[i]
2743    keylen = length(key)
2744    if (S_is_set[key]) {
2745      value = S[key]
2746      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2747      len += length(value) + length(field[++i])
2748      substed = 1
2749    } else
2750      len += 1 + keylen
2751  }
2752
2753  print line
2754}
2755
2756_ACAWK
2757_ACEOF
2758cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2759if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2760  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2761else
2762  cat
2763fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
2764  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
2765_ACEOF
2766
2767# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
2768# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2769# trailing colons and then remove the whole line if VPATH becomes empty
2770# (actually we leave an empty line to preserve line numbers).
2771if test "x$srcdir" = x.; then
2772  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
2773h
2774s///
2775s/^/:/
2776s/[      ]*$/:/
2777s/:\$(srcdir):/:/g
2778s/:\${srcdir}:/:/g
2779s/:@srcdir@:/:/g
2780s/^:*//
2781s/:*$//
2782x
2783s/\(=[   ]*\).*/\1/
2784G
2785s/\n//
2786s/^[^=]*=[       ]*$//
2787}'
2788fi
2789
2790cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2791fi # test -n "$CONFIG_FILES"
2792
2793
2794eval set X "  :F $CONFIG_FILES      "
2795shift
2796for ac_tag
2797do
2798  case $ac_tag in
2799  :[FHLC]) ac_mode=$ac_tag; continue;;
2800  esac
2801  case $ac_mode$ac_tag in
2802  :[FHL]*:*);;
2803  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
2804  :[FH]-) ac_tag=-:-;;
2805  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2806  esac
2807  ac_save_IFS=$IFS
2808  IFS=:
2809  set x $ac_tag
2810  IFS=$ac_save_IFS
2811  shift
2812  ac_file=$1
2813  shift
2814
2815  case $ac_mode in
2816  :L) ac_source=$1;;
2817  :[FH])
2818    ac_file_inputs=
2819    for ac_f
2820    do
2821      case $ac_f in
2822      -) ac_f="$ac_tmp/stdin";;
2823      *) # Look for the file first in the build tree, then in the source tree
2824         # (if the path is not absolute).  The absolute path cannot be DOS-style,
2825         # because $ac_f cannot contain `:'.
2826         test -f "$ac_f" ||
2827           case $ac_f in
2828           [\\/$]*) false;;
2829           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2830           esac ||
2831           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2832      esac
2833      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2834      as_fn_append ac_file_inputs " '$ac_f'"
2835    done
2836
2837    # Let's still pretend it is `configure' which instantiates (i.e., don't
2838    # use $as_me), people would be surprised to read:
2839    #    /* config.h.  Generated by config.status.  */
2840    configure_input='Generated from '`
2841          $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2842        `' by configure.'
2843    if test x"$ac_file" != x-; then
2844      configure_input="$ac_file.  $configure_input"
2845      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2846$as_echo "$as_me: creating $ac_file" >&6;}
2847    fi
2848    # Neutralize special characters interpreted by sed in replacement strings.
2849    case $configure_input in #(
2850    *\&* | *\|* | *\\* )
2851       ac_sed_conf_input=`$as_echo "$configure_input" |
2852       sed 's/[\\\\&|]/\\\\&/g'`;; #(
2853    *) ac_sed_conf_input=$configure_input;;
2854    esac
2855
2856    case $ac_tag in
2857    *:-:* | *:-) cat >"$ac_tmp/stdin" \
2858      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
2859    esac
2860    ;;
2861  esac
2862
2863  ac_dir=`$as_dirname -- "$ac_file" ||
2864$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2865         X"$ac_file" : 'X\(//\)[^/]' \| \
2866         X"$ac_file" : 'X\(//\)$' \| \
2867         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2868$as_echo X"$ac_file" |
2869    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2870            s//\1/
2871            q
2872          }
2873          /^X\(\/\/\)[^/].*/{
2874            s//\1/
2875            q
2876          }
2877          /^X\(\/\/\)$/{
2878            s//\1/
2879            q
2880          }
2881          /^X\(\/\).*/{
2882            s//\1/
2883            q
2884          }
2885          s/.*/./; q'`
2886  as_dir="$ac_dir"; as_fn_mkdir_p
2887  ac_builddir=.
2888
2889case "$ac_dir" in
2890.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2891*)
2892  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2893  # A ".." for each directory in $ac_dir_suffix.
2894  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2895  case $ac_top_builddir_sub in
2896  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2897  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2898  esac ;;
2899esac
2900ac_abs_top_builddir=$ac_pwd
2901ac_abs_builddir=$ac_pwd$ac_dir_suffix
2902# for backward compatibility:
2903ac_top_builddir=$ac_top_build_prefix
2904
2905case $srcdir in
2906  .)  # We are building in place.
2907    ac_srcdir=.
2908    ac_top_srcdir=$ac_top_builddir_sub
2909    ac_abs_top_srcdir=$ac_pwd ;;
2910  [\\/]* | ?:[\\/]* )  # Absolute name.
2911    ac_srcdir=$srcdir$ac_dir_suffix;
2912    ac_top_srcdir=$srcdir
2913    ac_abs_top_srcdir=$srcdir ;;
2914  *) # Relative name.
2915    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2916    ac_top_srcdir=$ac_top_build_prefix$srcdir
2917    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2918esac
2919ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2920
2921
2922  case $ac_mode in
2923  :F)
2924  #
2925  # CONFIG_FILE
2926  #
2927
2928_ACEOF
2929
2930cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2931# If the template does not know about datarootdir, expand it.
2932# FIXME: This hack should be removed a few years after 2.60.
2933ac_datarootdir_hack=; ac_datarootdir_seen=
2934ac_sed_dataroot='
2935/datarootdir/ {
2936  p
2937  q
2938}
2939/@datadir@/p
2940/@docdir@/p
2941/@infodir@/p
2942/@localedir@/p
2943/@mandir@/p'
2944case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2945*datarootdir*) ac_datarootdir_seen=yes;;
2946*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2947  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2948$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2949_ACEOF
2950cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2951  ac_datarootdir_hack='
2952  s&@datadir@&$datadir&g
2953  s&@docdir@&$docdir&g
2954  s&@infodir@&$infodir&g
2955  s&@localedir@&$localedir&g
2956  s&@mandir@&$mandir&g
2957  s&\\\${datarootdir}&$datarootdir&g' ;;
2958esac
2959_ACEOF
2960
2961# Neutralize VPATH when `$srcdir' = `.'.
2962# Shell code in configure.ac might set extrasub.
2963# FIXME: do we really want to maintain this feature?
2964cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2965ac_sed_extra="$ac_vpsub
2966$extrasub
2967_ACEOF
2968cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2969:t
2970/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2971s|@configure_input@|$ac_sed_conf_input|;t t
2972s&@top_builddir@&$ac_top_builddir_sub&;t t
2973s&@top_build_prefix@&$ac_top_build_prefix&;t t
2974s&@srcdir@&$ac_srcdir&;t t
2975s&@abs_srcdir@&$ac_abs_srcdir&;t t
2976s&@top_srcdir@&$ac_top_srcdir&;t t
2977s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2978s&@builddir@&$ac_builddir&;t t
2979s&@abs_builddir@&$ac_abs_builddir&;t t
2980s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2981$ac_datarootdir_hack
2982"
2983eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
2984  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
2985
2986test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2987  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
2988  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
2989      "$ac_tmp/out"`; test -z "$ac_out"; } &&
2990  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2991which seems to be undefined.  Please make sure it is defined" >&5
2992$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2993which seems to be undefined.  Please make sure it is defined" >&2;}
2994
2995  rm -f "$ac_tmp/stdin"
2996  case $ac_file in
2997  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
2998  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
2999  esac \
3000  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3001 ;;
3002
3003
3004
3005  esac
3006
3007done # for ac_tag
3008
3009
3010as_fn_exit 0
3011_ACEOF
3012ac_clean_files=$ac_clean_files_save
3013
3014test $ac_write_fail = 0 ||
3015  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3016
3017
3018# configure is writing to config.log, and then calls config.status.
3019# config.status does its own redirection, appending to config.log.
3020# Unfortunately, on DOS this fails, as config.log is still kept open
3021# by configure, so config.status won't be able to write to it; its
3022# output is simply discarded.  So we exec the FD to /dev/null,
3023# effectively closing config.log, so it can be properly (re)opened and
3024# appended to by config.status.  When coming back to configure, we
3025# need to make the FD available again.
3026if test "$no_create" != yes; then
3027  ac_cs_success=:
3028  ac_config_status_args=
3029  test "$silent" = yes &&
3030    ac_config_status_args="$ac_config_status_args --quiet"
3031  exec 5>/dev/null
3032  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3033  exec 5>>config.log
3034  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3035  # would make configure fail if this is the last instruction.
3036  $ac_cs_success || as_fn_exit 1
3037fi
3038if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3039  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3040$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3041fi
3042
Note: See TracBrowser for help on using the repository browser.