source: trunk/configure @ 352

Last change on this file since 352 was 352, checked in by dennis, 9 years ago

The version number is somewhat automated, next step is actually to combine Makefile Makefile.rpm and force the user to use the pbs_python.spec file or the debian way.

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