source: trunk/configure @ 368

Last change on this file since 368 was 368, checked in by bas, 5 years ago

sara_nodes also displays NHC offline notes,

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