1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
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
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME=
579PACKAGE_TARNAME=
580PACKAGE_VERSION=
581PACKAGE_STRING=
582PACKAGE_BUGREPORT=
583PACKAGE_URL=
584
585ac_unique_file="VERSION"
586ac_unique_file="Makefile.in"
587ac_subst_vars='LTLIBOBJS
588LIBOBJS
589HAVE_QROUTER
590HAVE_REPLACE
591HAVE_GRAYWOLF
592HAVE_OPENSTA
593HAVE_OPENTIMER
594HAVE_NETGEN
595HAVE_MAGIC
596HAVE_YOSYS
597DIST_DIR
598STDLIBS
599LD
600QFLOW_LIB_DIR
601QFLOW_BIN_DIR
602QFLOW_NTUPLACE4_PATH
603QFLOW_NTUPLACE3_PATH
604QFLOW_REPLACE_PATH
605QFLOW_OPENSTA_PATH
606QFLOW_OPENTIMER_PATH
607QFLOW_YOSYS_PATH
608QFLOW_GRAYWOLF_PATH
609QFLOW_QROUTER_PATH
610QFLOW_NETGEN_PATH
611QFLOW_MAGIC_PATH
612TCLSH_PATH
613ENV_PATH
614EGREP
615GREP
616HAVE_PYTHON3
617RM
618CP
619AUTOCONF
620RANLIB
621INSTALL_DATA
622INSTALL_SCRIPT
623INSTALL_PROGRAM
624CPP
625OBJEXT
626EXEEXT
627ac_ct_CC
628CPPFLAGS
629LDFLAGS
630CFLAGS
631CC
632REVISION
633VERSION
634host_os
635host_vendor
636host_cpu
637host
638build_os
639build_vendor
640build_cpu
641build
642target_alias
643host_alias
644build_alias
645LIBS
646ECHO_T
647ECHO_N
648ECHO_C
649DEFS
650mandir
651localedir
652libdir
653psdir
654pdfdir
655dvidir
656htmldir
657infodir
658docdir
659oldincludedir
660includedir
661localstatedir
662sharedstatedir
663sysconfdir
664datadir
665datarootdir
666libexecdir
667sbindir
668bindir
669program_transform_name
670prefix
671exec_prefix
672PACKAGE_URL
673PACKAGE_BUGREPORT
674PACKAGE_STRING
675PACKAGE_VERSION
676PACKAGE_TARNAME
677PACKAGE_NAME
678PATH_SEPARATOR
679SHELL'
680ac_subst_files=''
681ac_user_opts='
682enable_option_checking
683with_tclsh
684with_magic
685with_netgen
686with_qrouter
687with_graywolf
688with_yosys
689with_opentimer
690with_opensta
691with_replace
692with_libdir
693with_bindir
694with_distdir
695'
696      ac_precious_vars='build_alias
697host_alias
698target_alias
699CC
700CFLAGS
701LDFLAGS
702LIBS
703CPPFLAGS
704CPP'
705
706
707# Initialize some variables set by options.
708ac_init_help=
709ac_init_version=false
710ac_unrecognized_opts=
711ac_unrecognized_sep=
712# The variables have the same names as the options, with
713# dashes changed to underlines.
714cache_file=/dev/null
715exec_prefix=NONE
716no_create=
717no_recursion=
718prefix=NONE
719program_prefix=NONE
720program_suffix=NONE
721program_transform_name=s,x,x,
722silent=
723site=
724srcdir=
725verbose=
726x_includes=NONE
727x_libraries=NONE
728
729# Installation directory options.
730# These are left unexpanded so users can "make install exec_prefix=/foo"
731# and all the variables that are supposed to be based on exec_prefix
732# by default will actually change.
733# Use braces instead of parens because sh, perl, etc. also accept them.
734# (The list follows the same order as the GNU Coding Standards.)
735bindir='${exec_prefix}/bin'
736sbindir='${exec_prefix}/sbin'
737libexecdir='${exec_prefix}/libexec'
738datarootdir='${prefix}/share'
739datadir='${datarootdir}'
740sysconfdir='${prefix}/etc'
741sharedstatedir='${prefix}/com'
742localstatedir='${prefix}/var'
743includedir='${prefix}/include'
744oldincludedir='/usr/include'
745docdir='${datarootdir}/doc/${PACKAGE}'
746infodir='${datarootdir}/info'
747htmldir='${docdir}'
748dvidir='${docdir}'
749pdfdir='${docdir}'
750psdir='${docdir}'
751libdir='${exec_prefix}/lib'
752localedir='${datarootdir}/locale'
753mandir='${datarootdir}/man'
754
755ac_prev=
756ac_dashdash=
757for ac_option
758do
759  # If the previous option needs an argument, assign it.
760  if test -n "$ac_prev"; then
761    eval $ac_prev=\$ac_option
762    ac_prev=
763    continue
764  fi
765
766  case $ac_option in
767  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
768  *=)   ac_optarg= ;;
769  *)    ac_optarg=yes ;;
770  esac
771
772  # Accept the important Cygnus configure options, so we can diagnose typos.
773
774  case $ac_dashdash$ac_option in
775  --)
776    ac_dashdash=yes ;;
777
778  -bindir | --bindir | --bindi | --bind | --bin | --bi)
779    ac_prev=bindir ;;
780  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
781    bindir=$ac_optarg ;;
782
783  -build | --build | --buil | --bui | --bu)
784    ac_prev=build_alias ;;
785  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
786    build_alias=$ac_optarg ;;
787
788  -cache-file | --cache-file | --cache-fil | --cache-fi \
789  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
790    ac_prev=cache_file ;;
791  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
792  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
793    cache_file=$ac_optarg ;;
794
795  --config-cache | -C)
796    cache_file=config.cache ;;
797
798  -datadir | --datadir | --datadi | --datad)
799    ac_prev=datadir ;;
800  -datadir=* | --datadir=* | --datadi=* | --datad=*)
801    datadir=$ac_optarg ;;
802
803  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
804  | --dataroo | --dataro | --datar)
805    ac_prev=datarootdir ;;
806  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
807  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
808    datarootdir=$ac_optarg ;;
809
810  -disable-* | --disable-*)
811    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
812    # Reject names that are not valid shell variable names.
813    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
814      as_fn_error $? "invalid feature name: $ac_useropt"
815    ac_useropt_orig=$ac_useropt
816    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817    case $ac_user_opts in
818      *"
819"enable_$ac_useropt"
820"*) ;;
821      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
822	 ac_unrecognized_sep=', ';;
823    esac
824    eval enable_$ac_useropt=no ;;
825
826  -docdir | --docdir | --docdi | --doc | --do)
827    ac_prev=docdir ;;
828  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
829    docdir=$ac_optarg ;;
830
831  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
832    ac_prev=dvidir ;;
833  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
834    dvidir=$ac_optarg ;;
835
836  -enable-* | --enable-*)
837    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
838    # Reject names that are not valid shell variable names.
839    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
840      as_fn_error $? "invalid feature name: $ac_useropt"
841    ac_useropt_orig=$ac_useropt
842    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
843    case $ac_user_opts in
844      *"
845"enable_$ac_useropt"
846"*) ;;
847      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
848	 ac_unrecognized_sep=', ';;
849    esac
850    eval enable_$ac_useropt=\$ac_optarg ;;
851
852  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
853  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
854  | --exec | --exe | --ex)
855    ac_prev=exec_prefix ;;
856  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
857  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
858  | --exec=* | --exe=* | --ex=*)
859    exec_prefix=$ac_optarg ;;
860
861  -gas | --gas | --ga | --g)
862    # Obsolete; use --with-gas.
863    with_gas=yes ;;
864
865  -help | --help | --hel | --he | -h)
866    ac_init_help=long ;;
867  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
868    ac_init_help=recursive ;;
869  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
870    ac_init_help=short ;;
871
872  -host | --host | --hos | --ho)
873    ac_prev=host_alias ;;
874  -host=* | --host=* | --hos=* | --ho=*)
875    host_alias=$ac_optarg ;;
876
877  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
878    ac_prev=htmldir ;;
879  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
880  | --ht=*)
881    htmldir=$ac_optarg ;;
882
883  -includedir | --includedir | --includedi | --included | --include \
884  | --includ | --inclu | --incl | --inc)
885    ac_prev=includedir ;;
886  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
887  | --includ=* | --inclu=* | --incl=* | --inc=*)
888    includedir=$ac_optarg ;;
889
890  -infodir | --infodir | --infodi | --infod | --info | --inf)
891    ac_prev=infodir ;;
892  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
893    infodir=$ac_optarg ;;
894
895  -libdir | --libdir | --libdi | --libd)
896    ac_prev=libdir ;;
897  -libdir=* | --libdir=* | --libdi=* | --libd=*)
898    libdir=$ac_optarg ;;
899
900  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
901  | --libexe | --libex | --libe)
902    ac_prev=libexecdir ;;
903  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
904  | --libexe=* | --libex=* | --libe=*)
905    libexecdir=$ac_optarg ;;
906
907  -localedir | --localedir | --localedi | --localed | --locale)
908    ac_prev=localedir ;;
909  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
910    localedir=$ac_optarg ;;
911
912  -localstatedir | --localstatedir | --localstatedi | --localstated \
913  | --localstate | --localstat | --localsta | --localst | --locals)
914    ac_prev=localstatedir ;;
915  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
916  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
917    localstatedir=$ac_optarg ;;
918
919  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
920    ac_prev=mandir ;;
921  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
922    mandir=$ac_optarg ;;
923
924  -nfp | --nfp | --nf)
925    # Obsolete; use --without-fp.
926    with_fp=no ;;
927
928  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
929  | --no-cr | --no-c | -n)
930    no_create=yes ;;
931
932  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
933  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
934    no_recursion=yes ;;
935
936  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
937  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
938  | --oldin | --oldi | --old | --ol | --o)
939    ac_prev=oldincludedir ;;
940  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
941  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
942  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
943    oldincludedir=$ac_optarg ;;
944
945  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
946    ac_prev=prefix ;;
947  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
948    prefix=$ac_optarg ;;
949
950  -program-prefix | --program-prefix | --program-prefi | --program-pref \
951  | --program-pre | --program-pr | --program-p)
952    ac_prev=program_prefix ;;
953  -program-prefix=* | --program-prefix=* | --program-prefi=* \
954  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
955    program_prefix=$ac_optarg ;;
956
957  -program-suffix | --program-suffix | --program-suffi | --program-suff \
958  | --program-suf | --program-su | --program-s)
959    ac_prev=program_suffix ;;
960  -program-suffix=* | --program-suffix=* | --program-suffi=* \
961  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
962    program_suffix=$ac_optarg ;;
963
964  -program-transform-name | --program-transform-name \
965  | --program-transform-nam | --program-transform-na \
966  | --program-transform-n | --program-transform- \
967  | --program-transform | --program-transfor \
968  | --program-transfo | --program-transf \
969  | --program-trans | --program-tran \
970  | --progr-tra | --program-tr | --program-t)
971    ac_prev=program_transform_name ;;
972  -program-transform-name=* | --program-transform-name=* \
973  | --program-transform-nam=* | --program-transform-na=* \
974  | --program-transform-n=* | --program-transform-=* \
975  | --program-transform=* | --program-transfor=* \
976  | --program-transfo=* | --program-transf=* \
977  | --program-trans=* | --program-tran=* \
978  | --progr-tra=* | --program-tr=* | --program-t=*)
979    program_transform_name=$ac_optarg ;;
980
981  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
982    ac_prev=pdfdir ;;
983  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
984    pdfdir=$ac_optarg ;;
985
986  -psdir | --psdir | --psdi | --psd | --ps)
987    ac_prev=psdir ;;
988  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
989    psdir=$ac_optarg ;;
990
991  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
992  | -silent | --silent | --silen | --sile | --sil)
993    silent=yes ;;
994
995  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
996    ac_prev=sbindir ;;
997  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
998  | --sbi=* | --sb=*)
999    sbindir=$ac_optarg ;;
1000
1001  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1002  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1003  | --sharedst | --shareds | --shared | --share | --shar \
1004  | --sha | --sh)
1005    ac_prev=sharedstatedir ;;
1006  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1007  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1008  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1009  | --sha=* | --sh=*)
1010    sharedstatedir=$ac_optarg ;;
1011
1012  -site | --site | --sit)
1013    ac_prev=site ;;
1014  -site=* | --site=* | --sit=*)
1015    site=$ac_optarg ;;
1016
1017  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1018    ac_prev=srcdir ;;
1019  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1020    srcdir=$ac_optarg ;;
1021
1022  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1023  | --syscon | --sysco | --sysc | --sys | --sy)
1024    ac_prev=sysconfdir ;;
1025  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1026  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1027    sysconfdir=$ac_optarg ;;
1028
1029  -target | --target | --targe | --targ | --tar | --ta | --t)
1030    ac_prev=target_alias ;;
1031  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1032    target_alias=$ac_optarg ;;
1033
1034  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1035    verbose=yes ;;
1036
1037  -version | --version | --versio | --versi | --vers | -V)
1038    ac_init_version=: ;;
1039
1040  -with-* | --with-*)
1041    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1042    # Reject names that are not valid shell variable names.
1043    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1044      as_fn_error $? "invalid package name: $ac_useropt"
1045    ac_useropt_orig=$ac_useropt
1046    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1047    case $ac_user_opts in
1048      *"
1049"with_$ac_useropt"
1050"*) ;;
1051      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1052	 ac_unrecognized_sep=', ';;
1053    esac
1054    eval with_$ac_useropt=\$ac_optarg ;;
1055
1056  -without-* | --without-*)
1057    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1058    # Reject names that are not valid shell variable names.
1059    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1060      as_fn_error $? "invalid package name: $ac_useropt"
1061    ac_useropt_orig=$ac_useropt
1062    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1063    case $ac_user_opts in
1064      *"
1065"with_$ac_useropt"
1066"*) ;;
1067      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1068	 ac_unrecognized_sep=', ';;
1069    esac
1070    eval with_$ac_useropt=no ;;
1071
1072  --x)
1073    # Obsolete; use --with-x.
1074    with_x=yes ;;
1075
1076  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1077  | --x-incl | --x-inc | --x-in | --x-i)
1078    ac_prev=x_includes ;;
1079  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1080  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1081    x_includes=$ac_optarg ;;
1082
1083  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1084  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1085    ac_prev=x_libraries ;;
1086  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1087  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1088    x_libraries=$ac_optarg ;;
1089
1090  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1091Try \`$0 --help' for more information"
1092    ;;
1093
1094  *=*)
1095    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1096    # Reject names that are not valid shell variable names.
1097    case $ac_envvar in #(
1098      '' | [0-9]* | *[!_$as_cr_alnum]* )
1099      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1100    esac
1101    eval $ac_envvar=\$ac_optarg
1102    export $ac_envvar ;;
1103
1104  *)
1105    # FIXME: should be removed in autoconf 3.0.
1106    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1107    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1108      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1109    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1110    ;;
1111
1112  esac
1113done
1114
1115if test -n "$ac_prev"; then
1116  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1117  as_fn_error $? "missing argument to $ac_option"
1118fi
1119
1120if test -n "$ac_unrecognized_opts"; then
1121  case $enable_option_checking in
1122    no) ;;
1123    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1124    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1125  esac
1126fi
1127
1128# Check all directory arguments for consistency.
1129for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1130		datadir sysconfdir sharedstatedir localstatedir includedir \
1131		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1132		libdir localedir mandir
1133do
1134  eval ac_val=\$$ac_var
1135  # Remove trailing slashes.
1136  case $ac_val in
1137    */ )
1138      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1139      eval $ac_var=\$ac_val;;
1140  esac
1141  # Be sure to have absolute directory names.
1142  case $ac_val in
1143    [\\/$]* | ?:[\\/]* )  continue;;
1144    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1145  esac
1146  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1147done
1148
1149# There might be people who depend on the old broken behavior: `$host'
1150# used to hold the argument of --host etc.
1151# FIXME: To remove some day.
1152build=$build_alias
1153host=$host_alias
1154target=$target_alias
1155
1156# FIXME: To remove some day.
1157if test "x$host_alias" != x; then
1158  if test "x$build_alias" = x; then
1159    cross_compiling=maybe
1160  elif test "x$build_alias" != "x$host_alias"; then
1161    cross_compiling=yes
1162  fi
1163fi
1164
1165ac_tool_prefix=
1166test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167
1168test "$silent" = yes && exec 6>/dev/null
1169
1170
1171ac_pwd=`pwd` && test -n "$ac_pwd" &&
1172ac_ls_di=`ls -di .` &&
1173ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1174  as_fn_error $? "working directory cannot be determined"
1175test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176  as_fn_error $? "pwd does not report name of working directory"
1177
1178
1179# Find the source files, if location was not specified.
1180if test -z "$srcdir"; then
1181  ac_srcdir_defaulted=yes
1182  # Try the directory containing this script, then the parent directory.
1183  ac_confdir=`$as_dirname -- "$as_myself" ||
1184$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1185	 X"$as_myself" : 'X\(//\)[^/]' \| \
1186	 X"$as_myself" : 'X\(//\)$' \| \
1187	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1188$as_echo X"$as_myself" |
1189    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190	    s//\1/
1191	    q
1192	  }
1193	  /^X\(\/\/\)[^/].*/{
1194	    s//\1/
1195	    q
1196	  }
1197	  /^X\(\/\/\)$/{
1198	    s//\1/
1199	    q
1200	  }
1201	  /^X\(\/\).*/{
1202	    s//\1/
1203	    q
1204	  }
1205	  s/.*/./; q'`
1206  srcdir=$ac_confdir
1207  if test ! -r "$srcdir/$ac_unique_file"; then
1208    srcdir=..
1209  fi
1210else
1211  ac_srcdir_defaulted=no
1212fi
1213if test ! -r "$srcdir/$ac_unique_file"; then
1214  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1215  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1216fi
1217ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1218ac_abs_confdir=`(
1219	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1220	pwd)`
1221# When building in place, set srcdir=.
1222if test "$ac_abs_confdir" = "$ac_pwd"; then
1223  srcdir=.
1224fi
1225# Remove unnecessary trailing slashes from srcdir.
1226# Double slashes in file names in object file debugging info
1227# mess up M-x gdb in Emacs.
1228case $srcdir in
1229*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1230esac
1231for ac_var in $ac_precious_vars; do
1232  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1233  eval ac_env_${ac_var}_value=\$${ac_var}
1234  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1235  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1236done
1237
1238#
1239# Report the --help message.
1240#
1241if test "$ac_init_help" = "long"; then
1242  # Omit some internal or obsolete options to make the list less imposing.
1243  # This message is too long to be a string in the A/UX 3.1 sh.
1244  cat <<_ACEOF
1245\`configure' configures this package to adapt to many kinds of systems.
1246
1247Usage: $0 [OPTION]... [VAR=VALUE]...
1248
1249To assign environment variables (e.g., CC, CFLAGS...), specify them as
1250VAR=VALUE.  See below for descriptions of some of the useful variables.
1251
1252Defaults for the options are specified in brackets.
1253
1254Configuration:
1255  -h, --help              display this help and exit
1256      --help=short        display options specific to this package
1257      --help=recursive    display the short help of all the included packages
1258  -V, --version           display version information and exit
1259  -q, --quiet, --silent   do not print \`checking ...' messages
1260      --cache-file=FILE   cache test results in FILE [disabled]
1261  -C, --config-cache      alias for \`--cache-file=config.cache'
1262  -n, --no-create         do not create output files
1263      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1264
1265Installation directories:
1266  --prefix=PREFIX         install architecture-independent files in PREFIX
1267                          [$ac_default_prefix]
1268  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1269                          [PREFIX]
1270
1271By default, \`make install' will install all the files in
1272\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1273an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1274for instance \`--prefix=\$HOME'.
1275
1276For better control, use the options below.
1277
1278Fine tuning of the installation directories:
1279  --bindir=DIR            user executables [EPREFIX/bin]
1280  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1281  --libexecdir=DIR        program executables [EPREFIX/libexec]
1282  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1283  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1284  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1285  --libdir=DIR            object code libraries [EPREFIX/lib]
1286  --includedir=DIR        C header files [PREFIX/include]
1287  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1288  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1289  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1290  --infodir=DIR           info documentation [DATAROOTDIR/info]
1291  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1292  --mandir=DIR            man documentation [DATAROOTDIR/man]
1293  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1294  --htmldir=DIR           html documentation [DOCDIR]
1295  --dvidir=DIR            dvi documentation [DOCDIR]
1296  --pdfdir=DIR            pdf documentation [DOCDIR]
1297  --psdir=DIR             ps documentation [DOCDIR]
1298_ACEOF
1299
1300  cat <<\_ACEOF
1301
1302Program names:
1303  --program-prefix=PREFIX            prepend PREFIX to installed program names
1304  --program-suffix=SUFFIX            append SUFFIX to installed program names
1305  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
1306
1307System types:
1308  --build=BUILD     configure for building on BUILD [guessed]
1309  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
1310_ACEOF
1311fi
1312
1313if test -n "$ac_init_help"; then
1314
1315  cat <<\_ACEOF
1316
1317Optional Packages:
1318  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1319  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1320  --with-tclsh=DIR		path to tclsh
1321  --with-magic=DIR		path to magic-8.X
1322  --with-netgen=DIR		path to netgen
1323  --with-qrouter=DIR		path to qrouter
1324  --with-graywolf=DIR		path to graywolf
1325  --with-yosys=DIR		path to yosys
1326  --with-opentimer=DIR		path to ot-shell
1327  --with-opensta=DIR		path to sta
1328  --with-replace=DIR		path to RePlAce
1329  --with-libdir=DIR			path to qflow runtime files
1330  --with-bindir=DIR			path to qflow launch script
1331  --with-distdir=DIR       install into location DIR for distribution
1332
1333Some influential environment variables:
1334  CC          C compiler command
1335  CFLAGS      C compiler flags
1336  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1337              nonstandard directory <lib dir>
1338  LIBS        libraries to pass to the linker, e.g. -l<library>
1339  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1340              you have headers in a nonstandard directory <include dir>
1341  CPP         C preprocessor
1342
1343Use these variables to override the choices made by `configure' or to help
1344it to find libraries and programs with nonstandard names/locations.
1345
1346Report bugs to the package provider.
1347_ACEOF
1348ac_status=$?
1349fi
1350
1351if test "$ac_init_help" = "recursive"; then
1352  # If there are subdirs, report their specific --help.
1353  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1354    test -d "$ac_dir" ||
1355      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1356      continue
1357    ac_builddir=.
1358
1359case "$ac_dir" in
1360.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1361*)
1362  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1363  # A ".." for each directory in $ac_dir_suffix.
1364  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1365  case $ac_top_builddir_sub in
1366  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1367  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1368  esac ;;
1369esac
1370ac_abs_top_builddir=$ac_pwd
1371ac_abs_builddir=$ac_pwd$ac_dir_suffix
1372# for backward compatibility:
1373ac_top_builddir=$ac_top_build_prefix
1374
1375case $srcdir in
1376  .)  # We are building in place.
1377    ac_srcdir=.
1378    ac_top_srcdir=$ac_top_builddir_sub
1379    ac_abs_top_srcdir=$ac_pwd ;;
1380  [\\/]* | ?:[\\/]* )  # Absolute name.
1381    ac_srcdir=$srcdir$ac_dir_suffix;
1382    ac_top_srcdir=$srcdir
1383    ac_abs_top_srcdir=$srcdir ;;
1384  *) # Relative name.
1385    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1386    ac_top_srcdir=$ac_top_build_prefix$srcdir
1387    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1388esac
1389ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1390
1391    cd "$ac_dir" || { ac_status=$?; continue; }
1392    # Check for guested configure.
1393    if test -f "$ac_srcdir/configure.gnu"; then
1394      echo &&
1395      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1396    elif test -f "$ac_srcdir/configure"; then
1397      echo &&
1398      $SHELL "$ac_srcdir/configure" --help=recursive
1399    else
1400      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1401    fi || ac_status=$?
1402    cd "$ac_pwd" || { ac_status=$?; break; }
1403  done
1404fi
1405
1406test -n "$ac_init_help" && exit $ac_status
1407if $ac_init_version; then
1408  cat <<\_ACEOF
1409configure
1410generated by GNU Autoconf 2.69
1411
1412Copyright (C) 2012 Free Software Foundation, Inc.
1413This configure script is free software; the Free Software Foundation
1414gives unlimited permission to copy, distribute and modify it.
1415_ACEOF
1416  exit
1417fi
1418
1419## ------------------------ ##
1420## Autoconf initialization. ##
1421## ------------------------ ##
1422
1423# ac_fn_c_try_compile LINENO
1424# --------------------------
1425# Try to compile conftest.$ac_ext, and return whether this succeeded.
1426ac_fn_c_try_compile ()
1427{
1428  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1429  rm -f conftest.$ac_objext
1430  if { { ac_try="$ac_compile"
1431case "(($ac_try" in
1432  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1433  *) ac_try_echo=$ac_try;;
1434esac
1435eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1436$as_echo "$ac_try_echo"; } >&5
1437  (eval "$ac_compile") 2>conftest.err
1438  ac_status=$?
1439  if test -s conftest.err; then
1440    grep -v '^ *+' conftest.err >conftest.er1
1441    cat conftest.er1 >&5
1442    mv -f conftest.er1 conftest.err
1443  fi
1444  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1445  test $ac_status = 0; } && {
1446	 test -z "$ac_c_werror_flag" ||
1447	 test ! -s conftest.err
1448       } && test -s conftest.$ac_objext; then :
1449  ac_retval=0
1450else
1451  $as_echo "$as_me: failed program was:" >&5
1452sed 's/^/| /' conftest.$ac_ext >&5
1453
1454	ac_retval=1
1455fi
1456  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1457  as_fn_set_status $ac_retval
1458
1459} # ac_fn_c_try_compile
1460
1461# ac_fn_c_try_cpp LINENO
1462# ----------------------
1463# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1464ac_fn_c_try_cpp ()
1465{
1466  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1467  if { { ac_try="$ac_cpp conftest.$ac_ext"
1468case "(($ac_try" in
1469  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1470  *) ac_try_echo=$ac_try;;
1471esac
1472eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1473$as_echo "$ac_try_echo"; } >&5
1474  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1475  ac_status=$?
1476  if test -s conftest.err; then
1477    grep -v '^ *+' conftest.err >conftest.er1
1478    cat conftest.er1 >&5
1479    mv -f conftest.er1 conftest.err
1480  fi
1481  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1482  test $ac_status = 0; } > conftest.i && {
1483	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1484	 test ! -s conftest.err
1485       }; then :
1486  ac_retval=0
1487else
1488  $as_echo "$as_me: failed program was:" >&5
1489sed 's/^/| /' conftest.$ac_ext >&5
1490
1491    ac_retval=1
1492fi
1493  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1494  as_fn_set_status $ac_retval
1495
1496} # ac_fn_c_try_cpp
1497
1498# ac_fn_c_try_link LINENO
1499# -----------------------
1500# Try to link conftest.$ac_ext, and return whether this succeeded.
1501ac_fn_c_try_link ()
1502{
1503  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1504  rm -f conftest.$ac_objext conftest$ac_exeext
1505  if { { ac_try="$ac_link"
1506case "(($ac_try" in
1507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1508  *) ac_try_echo=$ac_try;;
1509esac
1510eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1511$as_echo "$ac_try_echo"; } >&5
1512  (eval "$ac_link") 2>conftest.err
1513  ac_status=$?
1514  if test -s conftest.err; then
1515    grep -v '^ *+' conftest.err >conftest.er1
1516    cat conftest.er1 >&5
1517    mv -f conftest.er1 conftest.err
1518  fi
1519  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1520  test $ac_status = 0; } && {
1521	 test -z "$ac_c_werror_flag" ||
1522	 test ! -s conftest.err
1523       } && test -s conftest$ac_exeext && {
1524	 test "$cross_compiling" = yes ||
1525	 test -x conftest$ac_exeext
1526       }; then :
1527  ac_retval=0
1528else
1529  $as_echo "$as_me: failed program was:" >&5
1530sed 's/^/| /' conftest.$ac_ext >&5
1531
1532	ac_retval=1
1533fi
1534  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1535  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1536  # interfere with the next link command; also delete a directory that is
1537  # left behind by Apple's compiler.  We do this before executing the actions.
1538  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1539  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540  as_fn_set_status $ac_retval
1541
1542} # ac_fn_c_try_link
1543
1544# ac_fn_c_try_run LINENO
1545# ----------------------
1546# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1547# that executables *can* be run.
1548ac_fn_c_try_run ()
1549{
1550  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1551  if { { ac_try="$ac_link"
1552case "(($ac_try" in
1553  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1554  *) ac_try_echo=$ac_try;;
1555esac
1556eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1557$as_echo "$ac_try_echo"; } >&5
1558  (eval "$ac_link") 2>&5
1559  ac_status=$?
1560  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1561  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1562  { { case "(($ac_try" in
1563  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564  *) ac_try_echo=$ac_try;;
1565esac
1566eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567$as_echo "$ac_try_echo"; } >&5
1568  (eval "$ac_try") 2>&5
1569  ac_status=$?
1570  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1571  test $ac_status = 0; }; }; then :
1572  ac_retval=0
1573else
1574  $as_echo "$as_me: program exited with status $ac_status" >&5
1575       $as_echo "$as_me: failed program was:" >&5
1576sed 's/^/| /' conftest.$ac_ext >&5
1577
1578       ac_retval=$ac_status
1579fi
1580  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1581  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582  as_fn_set_status $ac_retval
1583
1584} # ac_fn_c_try_run
1585
1586# ac_fn_c_check_func LINENO FUNC VAR
1587# ----------------------------------
1588# Tests whether FUNC exists, setting the cache variable VAR accordingly
1589ac_fn_c_check_func ()
1590{
1591  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1593$as_echo_n "checking for $2... " >&6; }
1594if eval \${$3+:} false; then :
1595  $as_echo_n "(cached) " >&6
1596else
1597  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1598/* end confdefs.h.  */
1599/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1600   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1601#define $2 innocuous_$2
1602
1603/* System header to define __stub macros and hopefully few prototypes,
1604    which can conflict with char $2 (); below.
1605    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1606    <limits.h> exists even on freestanding compilers.  */
1607
1608#ifdef __STDC__
1609# include <limits.h>
1610#else
1611# include <assert.h>
1612#endif
1613
1614#undef $2
1615
1616/* Override any GCC internal prototype to avoid an error.
1617   Use char because int might match the return type of a GCC
1618   builtin and then its argument prototype would still apply.  */
1619#ifdef __cplusplus
1620extern "C"
1621#endif
1622char $2 ();
1623/* The GNU C library defines this for functions which it implements
1624    to always fail with ENOSYS.  Some functions are actually named
1625    something starting with __ and the normal name is an alias.  */
1626#if defined __stub_$2 || defined __stub___$2
1627choke me
1628#endif
1629
1630int
1631main ()
1632{
1633return $2 ();
1634  ;
1635  return 0;
1636}
1637_ACEOF
1638if ac_fn_c_try_link "$LINENO"; then :
1639  eval "$3=yes"
1640else
1641  eval "$3=no"
1642fi
1643rm -f core conftest.err conftest.$ac_objext \
1644    conftest$ac_exeext conftest.$ac_ext
1645fi
1646eval ac_res=\$$3
1647	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1648$as_echo "$ac_res" >&6; }
1649  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650
1651} # ac_fn_c_check_func
1652cat >config.log <<_ACEOF
1653This file contains any messages produced by compilers while
1654running configure, to aid debugging if configure makes a mistake.
1655
1656It was created by $as_me, which was
1657generated by GNU Autoconf 2.69.  Invocation command line was
1658
1659  $ $0 $@
1660
1661_ACEOF
1662exec 5>>config.log
1663{
1664cat <<_ASUNAME
1665## --------- ##
1666## Platform. ##
1667## --------- ##
1668
1669hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1670uname -m = `(uname -m) 2>/dev/null || echo unknown`
1671uname -r = `(uname -r) 2>/dev/null || echo unknown`
1672uname -s = `(uname -s) 2>/dev/null || echo unknown`
1673uname -v = `(uname -v) 2>/dev/null || echo unknown`
1674
1675/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1676/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1677
1678/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
1679/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
1680/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1681/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
1682/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
1683/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
1684/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
1685
1686_ASUNAME
1687
1688as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1689for as_dir in $PATH
1690do
1691  IFS=$as_save_IFS
1692  test -z "$as_dir" && as_dir=.
1693    $as_echo "PATH: $as_dir"
1694  done
1695IFS=$as_save_IFS
1696
1697} >&5
1698
1699cat >&5 <<_ACEOF
1700
1701
1702## ----------- ##
1703## Core tests. ##
1704## ----------- ##
1705
1706_ACEOF
1707
1708
1709# Keep a trace of the command line.
1710# Strip out --no-create and --no-recursion so they do not pile up.
1711# Strip out --silent because we don't want to record it for future runs.
1712# Also quote any args containing shell meta-characters.
1713# Make two passes to allow for proper duplicate-argument suppression.
1714ac_configure_args=
1715ac_configure_args0=
1716ac_configure_args1=
1717ac_must_keep_next=false
1718for ac_pass in 1 2
1719do
1720  for ac_arg
1721  do
1722    case $ac_arg in
1723    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1724    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1725    | -silent | --silent | --silen | --sile | --sil)
1726      continue ;;
1727    *\'*)
1728      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1729    esac
1730    case $ac_pass in
1731    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1732    2)
1733      as_fn_append ac_configure_args1 " '$ac_arg'"
1734      if test $ac_must_keep_next = true; then
1735	ac_must_keep_next=false # Got value, back to normal.
1736      else
1737	case $ac_arg in
1738	  *=* | --config-cache | -C | -disable-* | --disable-* \
1739	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1740	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1741	  | -with-* | --with-* | -without-* | --without-* | --x)
1742	    case "$ac_configure_args0 " in
1743	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1744	    esac
1745	    ;;
1746	  -* ) ac_must_keep_next=true ;;
1747	esac
1748      fi
1749      as_fn_append ac_configure_args " '$ac_arg'"
1750      ;;
1751    esac
1752  done
1753done
1754{ ac_configure_args0=; unset ac_configure_args0;}
1755{ ac_configure_args1=; unset ac_configure_args1;}
1756
1757# When interrupted or exit'd, cleanup temporary files, and complete
1758# config.log.  We remove comments because anyway the quotes in there
1759# would cause problems or look ugly.
1760# WARNING: Use '\'' to represent an apostrophe within the trap.
1761# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1762trap 'exit_status=$?
1763  # Save into config.log some information that might help in debugging.
1764  {
1765    echo
1766
1767    $as_echo "## ---------------- ##
1768## Cache variables. ##
1769## ---------------- ##"
1770    echo
1771    # The following way of writing the cache mishandles newlines in values,
1772(
1773  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1774    eval ac_val=\$$ac_var
1775    case $ac_val in #(
1776    *${as_nl}*)
1777      case $ac_var in #(
1778      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1779$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1780      esac
1781      case $ac_var in #(
1782      _ | IFS | as_nl) ;; #(
1783      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1784      *) { eval $ac_var=; unset $ac_var;} ;;
1785      esac ;;
1786    esac
1787  done
1788  (set) 2>&1 |
1789    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1790    *${as_nl}ac_space=\ *)
1791      sed -n \
1792	"s/'\''/'\''\\\\'\'''\''/g;
1793	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1794      ;; #(
1795    *)
1796      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1797      ;;
1798    esac |
1799    sort
1800)
1801    echo
1802
1803    $as_echo "## ----------------- ##
1804## Output variables. ##
1805## ----------------- ##"
1806    echo
1807    for ac_var in $ac_subst_vars
1808    do
1809      eval ac_val=\$$ac_var
1810      case $ac_val in
1811      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1812      esac
1813      $as_echo "$ac_var='\''$ac_val'\''"
1814    done | sort
1815    echo
1816
1817    if test -n "$ac_subst_files"; then
1818      $as_echo "## ------------------- ##
1819## File substitutions. ##
1820## ------------------- ##"
1821      echo
1822      for ac_var in $ac_subst_files
1823      do
1824	eval ac_val=\$$ac_var
1825	case $ac_val in
1826	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1827	esac
1828	$as_echo "$ac_var='\''$ac_val'\''"
1829      done | sort
1830      echo
1831    fi
1832
1833    if test -s confdefs.h; then
1834      $as_echo "## ----------- ##
1835## confdefs.h. ##
1836## ----------- ##"
1837      echo
1838      cat confdefs.h
1839      echo
1840    fi
1841    test "$ac_signal" != 0 &&
1842      $as_echo "$as_me: caught signal $ac_signal"
1843    $as_echo "$as_me: exit $exit_status"
1844  } >&5
1845  rm -f core *.core core.conftest.* &&
1846    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1847    exit $exit_status
1848' 0
1849for ac_signal in 1 2 13 15; do
1850  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1851done
1852ac_signal=0
1853
1854# confdefs.h avoids OS command line length limits that DEFS can exceed.
1855rm -f -r conftest* confdefs.h
1856
1857$as_echo "/* confdefs.h */" > confdefs.h
1858
1859# Predefined preprocessor variables.
1860
1861cat >>confdefs.h <<_ACEOF
1862#define PACKAGE_NAME "$PACKAGE_NAME"
1863_ACEOF
1864
1865cat >>confdefs.h <<_ACEOF
1866#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1867_ACEOF
1868
1869cat >>confdefs.h <<_ACEOF
1870#define PACKAGE_VERSION "$PACKAGE_VERSION"
1871_ACEOF
1872
1873cat >>confdefs.h <<_ACEOF
1874#define PACKAGE_STRING "$PACKAGE_STRING"
1875_ACEOF
1876
1877cat >>confdefs.h <<_ACEOF
1878#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1879_ACEOF
1880
1881cat >>confdefs.h <<_ACEOF
1882#define PACKAGE_URL "$PACKAGE_URL"
1883_ACEOF
1884
1885
1886# Let the site file select an alternate cache file if it wants to.
1887# Prefer an explicitly selected file to automatically selected ones.
1888ac_site_file1=NONE
1889ac_site_file2=NONE
1890if test -n "$CONFIG_SITE"; then
1891  # We do not want a PATH search for config.site.
1892  case $CONFIG_SITE in #((
1893    -*)  ac_site_file1=./$CONFIG_SITE;;
1894    */*) ac_site_file1=$CONFIG_SITE;;
1895    *)   ac_site_file1=./$CONFIG_SITE;;
1896  esac
1897elif test "x$prefix" != xNONE; then
1898  ac_site_file1=$prefix/share/config.site
1899  ac_site_file2=$prefix/etc/config.site
1900else
1901  ac_site_file1=$ac_default_prefix/share/config.site
1902  ac_site_file2=$ac_default_prefix/etc/config.site
1903fi
1904for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1905do
1906  test "x$ac_site_file" = xNONE && continue
1907  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1908    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1909$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1910    sed 's/^/| /' "$ac_site_file" >&5
1911    . "$ac_site_file" \
1912      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1913$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1914as_fn_error $? "failed to load site script $ac_site_file
1915See \`config.log' for more details" "$LINENO" 5; }
1916  fi
1917done
1918
1919if test -r "$cache_file"; then
1920  # Some versions of bash will fail to source /dev/null (special files
1921  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
1922  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1923    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1924$as_echo "$as_me: loading cache $cache_file" >&6;}
1925    case $cache_file in
1926      [\\/]* | ?:[\\/]* ) . "$cache_file";;
1927      *)                      . "./$cache_file";;
1928    esac
1929  fi
1930else
1931  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1932$as_echo "$as_me: creating cache $cache_file" >&6;}
1933  >$cache_file
1934fi
1935
1936# Check that the precious variables saved in the cache have kept the same
1937# value.
1938ac_cache_corrupted=false
1939for ac_var in $ac_precious_vars; do
1940  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1941  eval ac_new_set=\$ac_env_${ac_var}_set
1942  eval ac_old_val=\$ac_cv_env_${ac_var}_value
1943  eval ac_new_val=\$ac_env_${ac_var}_value
1944  case $ac_old_set,$ac_new_set in
1945    set,)
1946      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1947$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1948      ac_cache_corrupted=: ;;
1949    ,set)
1950      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1951$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1952      ac_cache_corrupted=: ;;
1953    ,);;
1954    *)
1955      if test "x$ac_old_val" != "x$ac_new_val"; then
1956	# differences in whitespace do not lead to failure.
1957	ac_old_val_w=`echo x $ac_old_val`
1958	ac_new_val_w=`echo x $ac_new_val`
1959	if test "$ac_old_val_w" != "$ac_new_val_w"; then
1960	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1961$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1962	  ac_cache_corrupted=:
1963	else
1964	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1965$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1966	  eval $ac_var=\$ac_old_val
1967	fi
1968	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
1969$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
1970	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
1971$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
1972      fi;;
1973  esac
1974  # Pass precious variables to config.status.
1975  if test "$ac_new_set" = set; then
1976    case $ac_new_val in
1977    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1978    *) ac_arg=$ac_var=$ac_new_val ;;
1979    esac
1980    case " $ac_configure_args " in
1981      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1982      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1983    esac
1984  fi
1985done
1986if $ac_cache_corrupted; then
1987  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1988$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1989  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1990$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1991  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1992fi
1993## -------------------- ##
1994## Main body of script. ##
1995## -------------------- ##
1996
1997ac_ext=c
1998ac_cpp='$CPP $CPPFLAGS'
1999ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2000ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2001ac_compiler_gnu=$ac_cv_c_compiler_gnu
2002
2003
2004
2005
2006
2007# Determine the host and build type.
2008# ===========================================================================
2009ac_aux_dir=
2010for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2011  if test -f "$ac_dir/install-sh"; then
2012    ac_aux_dir=$ac_dir
2013    ac_install_sh="$ac_aux_dir/install-sh -c"
2014    break
2015  elif test -f "$ac_dir/install.sh"; then
2016    ac_aux_dir=$ac_dir
2017    ac_install_sh="$ac_aux_dir/install.sh -c"
2018    break
2019  elif test -f "$ac_dir/shtool"; then
2020    ac_aux_dir=$ac_dir
2021    ac_install_sh="$ac_aux_dir/shtool install -c"
2022    break
2023  fi
2024done
2025if test -z "$ac_aux_dir"; then
2026  as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2027fi
2028
2029# These three variables are undocumented and unsupported,
2030# and are intended to be withdrawn in a future Autoconf release.
2031# They can cause serious problems if a builder's source tree is in a directory
2032# whose full name contains unusual characters.
2033ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
2034ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
2035ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2036
2037
2038# Make sure we can run config.sub.
2039$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2040  as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2041
2042{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2043$as_echo_n "checking build system type... " >&6; }
2044if ${ac_cv_build+:} false; then :
2045  $as_echo_n "(cached) " >&6
2046else
2047  ac_build_alias=$build_alias
2048test "x$ac_build_alias" = x &&
2049  ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2050test "x$ac_build_alias" = x &&
2051  as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
2052ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2053  as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2054
2055fi
2056{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2057$as_echo "$ac_cv_build" >&6; }
2058case $ac_cv_build in
2059*-*-*) ;;
2060*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
2061esac
2062build=$ac_cv_build
2063ac_save_IFS=$IFS; IFS='-'
2064set x $ac_cv_build
2065shift
2066build_cpu=$1
2067build_vendor=$2
2068shift; shift
2069# Remember, the first character of IFS is used to create $*,
2070# except with old shells:
2071build_os=$*
2072IFS=$ac_save_IFS
2073case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2074
2075
2076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2077$as_echo_n "checking host system type... " >&6; }
2078if ${ac_cv_host+:} false; then :
2079  $as_echo_n "(cached) " >&6
2080else
2081  if test "x$host_alias" = x; then
2082  ac_cv_host=$ac_cv_build
2083else
2084  ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2085    as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2086fi
2087
2088fi
2089{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2090$as_echo "$ac_cv_host" >&6; }
2091case $ac_cv_host in
2092*-*-*) ;;
2093*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
2094esac
2095host=$ac_cv_host
2096ac_save_IFS=$IFS; IFS='-'
2097set x $ac_cv_host
2098shift
2099host_cpu=$1
2100host_vendor=$2
2101shift; shift
2102# Remember, the first character of IFS is used to create $*,
2103# except with old shells:
2104host_os=$*
2105IFS=$ac_save_IFS
2106case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2107
2108
2109
2110PACKAGE=qflow
2111VERSION=`cat ./VERSION | cut -d. -f1-2`
2112REVISION=`cat ./VERSION | cut -d. -f3`
2113
2114
2115
2116test "$program_prefix" != NONE &&
2117  program_transform_name="s&^&$program_prefix&;$program_transform_name"
2118# Use a double $ so make ignores it.
2119test "$program_suffix" != NONE &&
2120  program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2121# Double any \ or $.
2122# By default was `s,x,x', remove it if useless.
2123ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2124program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2125
2126
2127# Required programs
2128# ===========================================================================
2129ac_ext=c
2130ac_cpp='$CPP $CPPFLAGS'
2131ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2132ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2133ac_compiler_gnu=$ac_cv_c_compiler_gnu
2134if test -n "$ac_tool_prefix"; then
2135  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2136set dummy ${ac_tool_prefix}gcc; ac_word=$2
2137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2138$as_echo_n "checking for $ac_word... " >&6; }
2139if ${ac_cv_prog_CC+:} false; then :
2140  $as_echo_n "(cached) " >&6
2141else
2142  if test -n "$CC"; then
2143  ac_cv_prog_CC="$CC" # Let the user override the test.
2144else
2145as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146for as_dir in $PATH
2147do
2148  IFS=$as_save_IFS
2149  test -z "$as_dir" && as_dir=.
2150    for ac_exec_ext in '' $ac_executable_extensions; do
2151  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2154    break 2
2155  fi
2156done
2157  done
2158IFS=$as_save_IFS
2159
2160fi
2161fi
2162CC=$ac_cv_prog_CC
2163if test -n "$CC"; then
2164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2165$as_echo "$CC" >&6; }
2166else
2167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2168$as_echo "no" >&6; }
2169fi
2170
2171
2172fi
2173if test -z "$ac_cv_prog_CC"; then
2174  ac_ct_CC=$CC
2175  # Extract the first word of "gcc", so it can be a program name with args.
2176set dummy gcc; ac_word=$2
2177{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2178$as_echo_n "checking for $ac_word... " >&6; }
2179if ${ac_cv_prog_ac_ct_CC+:} false; then :
2180  $as_echo_n "(cached) " >&6
2181else
2182  if test -n "$ac_ct_CC"; then
2183  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2184else
2185as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2186for as_dir in $PATH
2187do
2188  IFS=$as_save_IFS
2189  test -z "$as_dir" && as_dir=.
2190    for ac_exec_ext in '' $ac_executable_extensions; do
2191  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2192    ac_cv_prog_ac_ct_CC="gcc"
2193    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2194    break 2
2195  fi
2196done
2197  done
2198IFS=$as_save_IFS
2199
2200fi
2201fi
2202ac_ct_CC=$ac_cv_prog_ac_ct_CC
2203if test -n "$ac_ct_CC"; then
2204  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2205$as_echo "$ac_ct_CC" >&6; }
2206else
2207  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2208$as_echo "no" >&6; }
2209fi
2210
2211  if test "x$ac_ct_CC" = x; then
2212    CC=""
2213  else
2214    case $cross_compiling:$ac_tool_warned in
2215yes:)
2216{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2217$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2218ac_tool_warned=yes ;;
2219esac
2220    CC=$ac_ct_CC
2221  fi
2222else
2223  CC="$ac_cv_prog_CC"
2224fi
2225
2226if test -z "$CC"; then
2227          if test -n "$ac_tool_prefix"; then
2228    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2229set dummy ${ac_tool_prefix}cc; ac_word=$2
2230{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2231$as_echo_n "checking for $ac_word... " >&6; }
2232if ${ac_cv_prog_CC+:} false; then :
2233  $as_echo_n "(cached) " >&6
2234else
2235  if test -n "$CC"; then
2236  ac_cv_prog_CC="$CC" # Let the user override the test.
2237else
2238as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2239for as_dir in $PATH
2240do
2241  IFS=$as_save_IFS
2242  test -z "$as_dir" && as_dir=.
2243    for ac_exec_ext in '' $ac_executable_extensions; do
2244  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2245    ac_cv_prog_CC="${ac_tool_prefix}cc"
2246    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2247    break 2
2248  fi
2249done
2250  done
2251IFS=$as_save_IFS
2252
2253fi
2254fi
2255CC=$ac_cv_prog_CC
2256if test -n "$CC"; then
2257  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2258$as_echo "$CC" >&6; }
2259else
2260  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2261$as_echo "no" >&6; }
2262fi
2263
2264
2265  fi
2266fi
2267if test -z "$CC"; then
2268  # Extract the first word of "cc", so it can be a program name with args.
2269set dummy cc; ac_word=$2
2270{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2271$as_echo_n "checking for $ac_word... " >&6; }
2272if ${ac_cv_prog_CC+:} false; then :
2273  $as_echo_n "(cached) " >&6
2274else
2275  if test -n "$CC"; then
2276  ac_cv_prog_CC="$CC" # Let the user override the test.
2277else
2278  ac_prog_rejected=no
2279as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280for as_dir in $PATH
2281do
2282  IFS=$as_save_IFS
2283  test -z "$as_dir" && as_dir=.
2284    for ac_exec_ext in '' $ac_executable_extensions; do
2285  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2286    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2287       ac_prog_rejected=yes
2288       continue
2289     fi
2290    ac_cv_prog_CC="cc"
2291    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292    break 2
2293  fi
2294done
2295  done
2296IFS=$as_save_IFS
2297
2298if test $ac_prog_rejected = yes; then
2299  # We found a bogon in the path, so make sure we never use it.
2300  set dummy $ac_cv_prog_CC
2301  shift
2302  if test $# != 0; then
2303    # We chose a different compiler from the bogus one.
2304    # However, it has the same basename, so the bogon will be chosen
2305    # first if we set CC to just the basename; use the full file name.
2306    shift
2307    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2308  fi
2309fi
2310fi
2311fi
2312CC=$ac_cv_prog_CC
2313if test -n "$CC"; then
2314  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2315$as_echo "$CC" >&6; }
2316else
2317  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2318$as_echo "no" >&6; }
2319fi
2320
2321
2322fi
2323if test -z "$CC"; then
2324  if test -n "$ac_tool_prefix"; then
2325  for ac_prog in cl.exe
2326  do
2327    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2328set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2330$as_echo_n "checking for $ac_word... " >&6; }
2331if ${ac_cv_prog_CC+:} false; then :
2332  $as_echo_n "(cached) " >&6
2333else
2334  if test -n "$CC"; then
2335  ac_cv_prog_CC="$CC" # Let the user override the test.
2336else
2337as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338for as_dir in $PATH
2339do
2340  IFS=$as_save_IFS
2341  test -z "$as_dir" && as_dir=.
2342    for ac_exec_ext in '' $ac_executable_extensions; do
2343  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2345    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346    break 2
2347  fi
2348done
2349  done
2350IFS=$as_save_IFS
2351
2352fi
2353fi
2354CC=$ac_cv_prog_CC
2355if test -n "$CC"; then
2356  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2357$as_echo "$CC" >&6; }
2358else
2359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2360$as_echo "no" >&6; }
2361fi
2362
2363
2364    test -n "$CC" && break
2365  done
2366fi
2367if test -z "$CC"; then
2368  ac_ct_CC=$CC
2369  for ac_prog in cl.exe
2370do
2371  # Extract the first word of "$ac_prog", so it can be a program name with args.
2372set dummy $ac_prog; ac_word=$2
2373{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2374$as_echo_n "checking for $ac_word... " >&6; }
2375if ${ac_cv_prog_ac_ct_CC+:} false; then :
2376  $as_echo_n "(cached) " >&6
2377else
2378  if test -n "$ac_ct_CC"; then
2379  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2380else
2381as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2382for as_dir in $PATH
2383do
2384  IFS=$as_save_IFS
2385  test -z "$as_dir" && as_dir=.
2386    for ac_exec_ext in '' $ac_executable_extensions; do
2387  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2388    ac_cv_prog_ac_ct_CC="$ac_prog"
2389    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2390    break 2
2391  fi
2392done
2393  done
2394IFS=$as_save_IFS
2395
2396fi
2397fi
2398ac_ct_CC=$ac_cv_prog_ac_ct_CC
2399if test -n "$ac_ct_CC"; then
2400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2401$as_echo "$ac_ct_CC" >&6; }
2402else
2403  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2404$as_echo "no" >&6; }
2405fi
2406
2407
2408  test -n "$ac_ct_CC" && break
2409done
2410
2411  if test "x$ac_ct_CC" = x; then
2412    CC=""
2413  else
2414    case $cross_compiling:$ac_tool_warned in
2415yes:)
2416{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2417$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2418ac_tool_warned=yes ;;
2419esac
2420    CC=$ac_ct_CC
2421  fi
2422fi
2423
2424fi
2425
2426
2427test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2428$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2429as_fn_error $? "no acceptable C compiler found in \$PATH
2430See \`config.log' for more details" "$LINENO" 5; }
2431
2432# Provide some information about the compiler.
2433$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2434set X $ac_compile
2435ac_compiler=$2
2436for ac_option in --version -v -V -qversion; do
2437  { { ac_try="$ac_compiler $ac_option >&5"
2438case "(($ac_try" in
2439  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2440  *) ac_try_echo=$ac_try;;
2441esac
2442eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2443$as_echo "$ac_try_echo"; } >&5
2444  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2445  ac_status=$?
2446  if test -s conftest.err; then
2447    sed '10a\
2448... rest of stderr output deleted ...
2449         10q' conftest.err >conftest.er1
2450    cat conftest.er1 >&5
2451  fi
2452  rm -f conftest.er1 conftest.err
2453  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2454  test $ac_status = 0; }
2455done
2456
2457cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2458/* end confdefs.h.  */
2459
2460int
2461main ()
2462{
2463
2464  ;
2465  return 0;
2466}
2467_ACEOF
2468ac_clean_files_save=$ac_clean_files
2469ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2470# Try to create an executable without -o first, disregard a.out.
2471# It will help us diagnose broken compilers, and finding out an intuition
2472# of exeext.
2473{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2474$as_echo_n "checking whether the C compiler works... " >&6; }
2475ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2476
2477# The possible output files:
2478ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2479
2480ac_rmfiles=
2481for ac_file in $ac_files
2482do
2483  case $ac_file in
2484    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2485    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2486  esac
2487done
2488rm -f $ac_rmfiles
2489
2490if { { ac_try="$ac_link_default"
2491case "(($ac_try" in
2492  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2493  *) ac_try_echo=$ac_try;;
2494esac
2495eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2496$as_echo "$ac_try_echo"; } >&5
2497  (eval "$ac_link_default") 2>&5
2498  ac_status=$?
2499  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2500  test $ac_status = 0; }; then :
2501  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2502# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2503# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2504# so that the user can short-circuit this test for compilers unknown to
2505# Autoconf.
2506for ac_file in $ac_files ''
2507do
2508  test -f "$ac_file" || continue
2509  case $ac_file in
2510    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2511	;;
2512    [ab].out )
2513	# We found the default executable, but exeext='' is most
2514	# certainly right.
2515	break;;
2516    *.* )
2517	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2518	then :; else
2519	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2520	fi
2521	# We set ac_cv_exeext here because the later test for it is not
2522	# safe: cross compilers may not add the suffix if given an `-o'
2523	# argument, so we may need to know it at that point already.
2524	# Even if this section looks crufty: it has the advantage of
2525	# actually working.
2526	break;;
2527    * )
2528	break;;
2529  esac
2530done
2531test "$ac_cv_exeext" = no && ac_cv_exeext=
2532
2533else
2534  ac_file=''
2535fi
2536if test -z "$ac_file"; then :
2537  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2538$as_echo "no" >&6; }
2539$as_echo "$as_me: failed program was:" >&5
2540sed 's/^/| /' conftest.$ac_ext >&5
2541
2542{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2543$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2544as_fn_error 77 "C compiler cannot create executables
2545See \`config.log' for more details" "$LINENO" 5; }
2546else
2547  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2548$as_echo "yes" >&6; }
2549fi
2550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2551$as_echo_n "checking for C compiler default output file name... " >&6; }
2552{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2553$as_echo "$ac_file" >&6; }
2554ac_exeext=$ac_cv_exeext
2555
2556rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2557ac_clean_files=$ac_clean_files_save
2558{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2559$as_echo_n "checking for suffix of executables... " >&6; }
2560if { { ac_try="$ac_link"
2561case "(($ac_try" in
2562  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2563  *) ac_try_echo=$ac_try;;
2564esac
2565eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2566$as_echo "$ac_try_echo"; } >&5
2567  (eval "$ac_link") 2>&5
2568  ac_status=$?
2569  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2570  test $ac_status = 0; }; then :
2571  # If both `conftest.exe' and `conftest' are `present' (well, observable)
2572# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
2573# work properly (i.e., refer to `conftest.exe'), while it won't with
2574# `rm'.
2575for ac_file in conftest.exe conftest conftest.*; do
2576  test -f "$ac_file" || continue
2577  case $ac_file in
2578    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2579    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2580	  break;;
2581    * ) break;;
2582  esac
2583done
2584else
2585  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2586$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2587as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2588See \`config.log' for more details" "$LINENO" 5; }
2589fi
2590rm -f conftest conftest$ac_cv_exeext
2591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2592$as_echo "$ac_cv_exeext" >&6; }
2593
2594rm -f conftest.$ac_ext
2595EXEEXT=$ac_cv_exeext
2596ac_exeext=$EXEEXT
2597cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2598/* end confdefs.h.  */
2599#include <stdio.h>
2600int
2601main ()
2602{
2603FILE *f = fopen ("conftest.out", "w");
2604 return ferror (f) || fclose (f) != 0;
2605
2606  ;
2607  return 0;
2608}
2609_ACEOF
2610ac_clean_files="$ac_clean_files conftest.out"
2611# Check that the compiler produces executables we can run.  If not, either
2612# the compiler is broken, or we cross compile.
2613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2614$as_echo_n "checking whether we are cross compiling... " >&6; }
2615if test "$cross_compiling" != yes; then
2616  { { ac_try="$ac_link"
2617case "(($ac_try" in
2618  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2619  *) ac_try_echo=$ac_try;;
2620esac
2621eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2622$as_echo "$ac_try_echo"; } >&5
2623  (eval "$ac_link") 2>&5
2624  ac_status=$?
2625  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2626  test $ac_status = 0; }
2627  if { ac_try='./conftest$ac_cv_exeext'
2628  { { case "(($ac_try" in
2629  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2630  *) ac_try_echo=$ac_try;;
2631esac
2632eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2633$as_echo "$ac_try_echo"; } >&5
2634  (eval "$ac_try") 2>&5
2635  ac_status=$?
2636  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2637  test $ac_status = 0; }; }; then
2638    cross_compiling=no
2639  else
2640    if test "$cross_compiling" = maybe; then
2641	cross_compiling=yes
2642    else
2643	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2644$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2645as_fn_error $? "cannot run C compiled programs.
2646If you meant to cross compile, use \`--host'.
2647See \`config.log' for more details" "$LINENO" 5; }
2648    fi
2649  fi
2650fi
2651{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2652$as_echo "$cross_compiling" >&6; }
2653
2654rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2655ac_clean_files=$ac_clean_files_save
2656{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2657$as_echo_n "checking for suffix of object files... " >&6; }
2658if ${ac_cv_objext+:} false; then :
2659  $as_echo_n "(cached) " >&6
2660else
2661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2662/* end confdefs.h.  */
2663
2664int
2665main ()
2666{
2667
2668  ;
2669  return 0;
2670}
2671_ACEOF
2672rm -f conftest.o conftest.obj
2673if { { ac_try="$ac_compile"
2674case "(($ac_try" in
2675  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2676  *) ac_try_echo=$ac_try;;
2677esac
2678eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2679$as_echo "$ac_try_echo"; } >&5
2680  (eval "$ac_compile") 2>&5
2681  ac_status=$?
2682  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2683  test $ac_status = 0; }; then :
2684  for ac_file in conftest.o conftest.obj conftest.*; do
2685  test -f "$ac_file" || continue;
2686  case $ac_file in
2687    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2688    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2689       break;;
2690  esac
2691done
2692else
2693  $as_echo "$as_me: failed program was:" >&5
2694sed 's/^/| /' conftest.$ac_ext >&5
2695
2696{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2698as_fn_error $? "cannot compute suffix of object files: cannot compile
2699See \`config.log' for more details" "$LINENO" 5; }
2700fi
2701rm -f conftest.$ac_cv_objext conftest.$ac_ext
2702fi
2703{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2704$as_echo "$ac_cv_objext" >&6; }
2705OBJEXT=$ac_cv_objext
2706ac_objext=$OBJEXT
2707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2708$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2709if ${ac_cv_c_compiler_gnu+:} false; then :
2710  $as_echo_n "(cached) " >&6
2711else
2712  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2713/* end confdefs.h.  */
2714
2715int
2716main ()
2717{
2718#ifndef __GNUC__
2719       choke me
2720#endif
2721
2722  ;
2723  return 0;
2724}
2725_ACEOF
2726if ac_fn_c_try_compile "$LINENO"; then :
2727  ac_compiler_gnu=yes
2728else
2729  ac_compiler_gnu=no
2730fi
2731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2732ac_cv_c_compiler_gnu=$ac_compiler_gnu
2733
2734fi
2735{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2736$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2737if test $ac_compiler_gnu = yes; then
2738  GCC=yes
2739else
2740  GCC=
2741fi
2742ac_test_CFLAGS=${CFLAGS+set}
2743ac_save_CFLAGS=$CFLAGS
2744{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2745$as_echo_n "checking whether $CC accepts -g... " >&6; }
2746if ${ac_cv_prog_cc_g+:} false; then :
2747  $as_echo_n "(cached) " >&6
2748else
2749  ac_save_c_werror_flag=$ac_c_werror_flag
2750   ac_c_werror_flag=yes
2751   ac_cv_prog_cc_g=no
2752   CFLAGS="-g"
2753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2754/* end confdefs.h.  */
2755
2756int
2757main ()
2758{
2759
2760  ;
2761  return 0;
2762}
2763_ACEOF
2764if ac_fn_c_try_compile "$LINENO"; then :
2765  ac_cv_prog_cc_g=yes
2766else
2767  CFLAGS=""
2768      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2769/* end confdefs.h.  */
2770
2771int
2772main ()
2773{
2774
2775  ;
2776  return 0;
2777}
2778_ACEOF
2779if ac_fn_c_try_compile "$LINENO"; then :
2780
2781else
2782  ac_c_werror_flag=$ac_save_c_werror_flag
2783	 CFLAGS="-g"
2784	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785/* end confdefs.h.  */
2786
2787int
2788main ()
2789{
2790
2791  ;
2792  return 0;
2793}
2794_ACEOF
2795if ac_fn_c_try_compile "$LINENO"; then :
2796  ac_cv_prog_cc_g=yes
2797fi
2798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2799fi
2800rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2801fi
2802rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2803   ac_c_werror_flag=$ac_save_c_werror_flag
2804fi
2805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2806$as_echo "$ac_cv_prog_cc_g" >&6; }
2807if test "$ac_test_CFLAGS" = set; then
2808  CFLAGS=$ac_save_CFLAGS
2809elif test $ac_cv_prog_cc_g = yes; then
2810  if test "$GCC" = yes; then
2811    CFLAGS="-g -O2"
2812  else
2813    CFLAGS="-g"
2814  fi
2815else
2816  if test "$GCC" = yes; then
2817    CFLAGS="-O2"
2818  else
2819    CFLAGS=
2820  fi
2821fi
2822{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2823$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2824if ${ac_cv_prog_cc_c89+:} false; then :
2825  $as_echo_n "(cached) " >&6
2826else
2827  ac_cv_prog_cc_c89=no
2828ac_save_CC=$CC
2829cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2830/* end confdefs.h.  */
2831#include <stdarg.h>
2832#include <stdio.h>
2833struct stat;
2834/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
2835struct buf { int x; };
2836FILE * (*rcsopen) (struct buf *, struct stat *, int);
2837static char *e (p, i)
2838     char **p;
2839     int i;
2840{
2841  return p[i];
2842}
2843static char *f (char * (*g) (char **, int), char **p, ...)
2844{
2845  char *s;
2846  va_list v;
2847  va_start (v,p);
2848  s = g (p, va_arg (v,int));
2849  va_end (v);
2850  return s;
2851}
2852
2853/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
2854   function prototypes and stuff, but not '\xHH' hex character constants.
2855   These don't provoke an error unfortunately, instead are silently treated
2856   as 'x'.  The following induces an error, until -std is added to get
2857   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
2858   array size at least.  It's necessary to write '\x00'==0 to get something
2859   that's true only with -std.  */
2860int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2861
2862/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2863   inside strings and character constants.  */
2864#define FOO(x) 'x'
2865int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2866
2867int test (int i, double x);
2868struct s1 {int (*f) (int a);};
2869struct s2 {int (*f) (double a);};
2870int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2871int argc;
2872char **argv;
2873int
2874main ()
2875{
2876return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
2877  ;
2878  return 0;
2879}
2880_ACEOF
2881for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2882	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2883do
2884  CC="$ac_save_CC $ac_arg"
2885  if ac_fn_c_try_compile "$LINENO"; then :
2886  ac_cv_prog_cc_c89=$ac_arg
2887fi
2888rm -f core conftest.err conftest.$ac_objext
2889  test "x$ac_cv_prog_cc_c89" != "xno" && break
2890done
2891rm -f conftest.$ac_ext
2892CC=$ac_save_CC
2893
2894fi
2895# AC_CACHE_VAL
2896case "x$ac_cv_prog_cc_c89" in
2897  x)
2898    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2899$as_echo "none needed" >&6; } ;;
2900  xno)
2901    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2902$as_echo "unsupported" >&6; } ;;
2903  *)
2904    CC="$CC $ac_cv_prog_cc_c89"
2905    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2906$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2907esac
2908if test "x$ac_cv_prog_cc_c89" != xno; then :
2909
2910fi
2911
2912ac_ext=c
2913ac_cpp='$CPP $CPPFLAGS'
2914ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2915ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2916ac_compiler_gnu=$ac_cv_c_compiler_gnu
2917
2918ac_ext=c
2919ac_cpp='$CPP $CPPFLAGS'
2920ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2921ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2922ac_compiler_gnu=$ac_cv_c_compiler_gnu
2923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2924$as_echo_n "checking how to run the C preprocessor... " >&6; }
2925# On Suns, sometimes $CPP names a directory.
2926if test -n "$CPP" && test -d "$CPP"; then
2927  CPP=
2928fi
2929if test -z "$CPP"; then
2930  if ${ac_cv_prog_CPP+:} false; then :
2931  $as_echo_n "(cached) " >&6
2932else
2933      # Double quotes because CPP needs to be expanded
2934    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2935    do
2936      ac_preproc_ok=false
2937for ac_c_preproc_warn_flag in '' yes
2938do
2939  # Use a header file that comes with gcc, so configuring glibc
2940  # with a fresh cross-compiler works.
2941  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2942  # <limits.h> exists even on freestanding compilers.
2943  # On the NeXT, cc -E runs the code through the compiler's parser,
2944  # not just through cpp. "Syntax error" is here to catch this case.
2945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2946/* end confdefs.h.  */
2947#ifdef __STDC__
2948# include <limits.h>
2949#else
2950# include <assert.h>
2951#endif
2952		     Syntax error
2953_ACEOF
2954if ac_fn_c_try_cpp "$LINENO"; then :
2955
2956else
2957  # Broken: fails on valid input.
2958continue
2959fi
2960rm -f conftest.err conftest.i conftest.$ac_ext
2961
2962  # OK, works on sane cases.  Now check whether nonexistent headers
2963  # can be detected and how.
2964  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965/* end confdefs.h.  */
2966#include <ac_nonexistent.h>
2967_ACEOF
2968if ac_fn_c_try_cpp "$LINENO"; then :
2969  # Broken: success on invalid input.
2970continue
2971else
2972  # Passes both tests.
2973ac_preproc_ok=:
2974break
2975fi
2976rm -f conftest.err conftest.i conftest.$ac_ext
2977
2978done
2979# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2980rm -f conftest.i conftest.err conftest.$ac_ext
2981if $ac_preproc_ok; then :
2982  break
2983fi
2984
2985    done
2986    ac_cv_prog_CPP=$CPP
2987
2988fi
2989  CPP=$ac_cv_prog_CPP
2990else
2991  ac_cv_prog_CPP=$CPP
2992fi
2993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2994$as_echo "$CPP" >&6; }
2995ac_preproc_ok=false
2996for ac_c_preproc_warn_flag in '' yes
2997do
2998  # Use a header file that comes with gcc, so configuring glibc
2999  # with a fresh cross-compiler works.
3000  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3001  # <limits.h> exists even on freestanding compilers.
3002  # On the NeXT, cc -E runs the code through the compiler's parser,
3003  # not just through cpp. "Syntax error" is here to catch this case.
3004  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005/* end confdefs.h.  */
3006#ifdef __STDC__
3007# include <limits.h>
3008#else
3009# include <assert.h>
3010#endif
3011		     Syntax error
3012_ACEOF
3013if ac_fn_c_try_cpp "$LINENO"; then :
3014
3015else
3016  # Broken: fails on valid input.
3017continue
3018fi
3019rm -f conftest.err conftest.i conftest.$ac_ext
3020
3021  # OK, works on sane cases.  Now check whether nonexistent headers
3022  # can be detected and how.
3023  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3024/* end confdefs.h.  */
3025#include <ac_nonexistent.h>
3026_ACEOF
3027if ac_fn_c_try_cpp "$LINENO"; then :
3028  # Broken: success on invalid input.
3029continue
3030else
3031  # Passes both tests.
3032ac_preproc_ok=:
3033break
3034fi
3035rm -f conftest.err conftest.i conftest.$ac_ext
3036
3037done
3038# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3039rm -f conftest.i conftest.err conftest.$ac_ext
3040if $ac_preproc_ok; then :
3041
3042else
3043  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3044$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3045as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3046See \`config.log' for more details" "$LINENO" 5; }
3047fi
3048
3049ac_ext=c
3050ac_cpp='$CPP $CPPFLAGS'
3051ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054
3055
3056{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
3057$as_echo_n "checking for library containing strerror... " >&6; }
3058if ${ac_cv_search_strerror+:} false; then :
3059  $as_echo_n "(cached) " >&6
3060else
3061  ac_func_search_save_LIBS=$LIBS
3062cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063/* end confdefs.h.  */
3064
3065/* Override any GCC internal prototype to avoid an error.
3066   Use char because int might match the return type of a GCC
3067   builtin and then its argument prototype would still apply.  */
3068#ifdef __cplusplus
3069extern "C"
3070#endif
3071char strerror ();
3072int
3073main ()
3074{
3075return strerror ();
3076  ;
3077  return 0;
3078}
3079_ACEOF
3080for ac_lib in '' cposix; do
3081  if test -z "$ac_lib"; then
3082    ac_res="none required"
3083  else
3084    ac_res=-l$ac_lib
3085    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
3086  fi
3087  if ac_fn_c_try_link "$LINENO"; then :
3088  ac_cv_search_strerror=$ac_res
3089fi
3090rm -f core conftest.err conftest.$ac_objext \
3091    conftest$ac_exeext
3092  if ${ac_cv_search_strerror+:} false; then :
3093  break
3094fi
3095done
3096if ${ac_cv_search_strerror+:} false; then :
3097
3098else
3099  ac_cv_search_strerror=no
3100fi
3101rm conftest.$ac_ext
3102LIBS=$ac_func_search_save_LIBS
3103fi
3104{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3105$as_echo "$ac_cv_search_strerror" >&6; }
3106ac_res=$ac_cv_search_strerror
3107if test "$ac_res" != no; then :
3108  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3109
3110fi
3111
3112if test "x$U" != "x"; then
3113  as_fn_error $? "Compiler not ANSI compliant" "$LINENO" 5
3114fi
3115# Find a good install program.  We prefer a C program (faster),
3116# so one script is as good as another.  But avoid the broken or
3117# incompatible versions:
3118# SysV /etc/install, /usr/sbin/install
3119# SunOS /usr/etc/install
3120# IRIX /sbin/install
3121# AIX /bin/install
3122# AmigaOS /C/install, which installs bootblocks on floppy discs
3123# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3124# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3125# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3126# OS/2's system install, which has a completely different semantic
3127# ./install, which can be erroneously created by make from ./install.sh.
3128# Reject install programs that cannot install multiple files.
3129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3130$as_echo_n "checking for a BSD-compatible install... " >&6; }
3131if test -z "$INSTALL"; then
3132if ${ac_cv_path_install+:} false; then :
3133  $as_echo_n "(cached) " >&6
3134else
3135  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3136for as_dir in $PATH
3137do
3138  IFS=$as_save_IFS
3139  test -z "$as_dir" && as_dir=.
3140    # Account for people who put trailing slashes in PATH elements.
3141case $as_dir/ in #((
3142  ./ | .// | /[cC]/* | \
3143  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3144  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3145  /usr/ucb/* ) ;;
3146  *)
3147    # OSF1 and SCO ODT 3.0 have their own names for install.
3148    # Don't use installbsd from OSF since it installs stuff as root
3149    # by default.
3150    for ac_prog in ginstall scoinst install; do
3151      for ac_exec_ext in '' $ac_executable_extensions; do
3152	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3153	  if test $ac_prog = install &&
3154	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3155	    # AIX install.  It has an incompatible calling convention.
3156	    :
3157	  elif test $ac_prog = install &&
3158	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3159	    # program-specific install script used by HP pwplus--don't use.
3160	    :
3161	  else
3162	    rm -rf conftest.one conftest.two conftest.dir
3163	    echo one > conftest.one
3164	    echo two > conftest.two
3165	    mkdir conftest.dir
3166	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3167	      test -s conftest.one && test -s conftest.two &&
3168	      test -s conftest.dir/conftest.one &&
3169	      test -s conftest.dir/conftest.two
3170	    then
3171	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3172	      break 3
3173	    fi
3174	  fi
3175	fi
3176      done
3177    done
3178    ;;
3179esac
3180
3181  done
3182IFS=$as_save_IFS
3183
3184rm -rf conftest.one conftest.two conftest.dir
3185
3186fi
3187  if test "${ac_cv_path_install+set}" = set; then
3188    INSTALL=$ac_cv_path_install
3189  else
3190    # As a last resort, use the slow shell script.  Don't cache a
3191    # value for INSTALL within a source directory, because that will
3192    # break other packages using the cache if that directory is
3193    # removed, or if the value is a relative name.
3194    INSTALL=$ac_install_sh
3195  fi
3196fi
3197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3198$as_echo "$INSTALL" >&6; }
3199
3200# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3201# It thinks the first close brace ends the variable substitution.
3202test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3203
3204test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3205
3206test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3207
3208if test -n "$ac_tool_prefix"; then
3209  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3210set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3211{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3212$as_echo_n "checking for $ac_word... " >&6; }
3213if ${ac_cv_prog_RANLIB+:} false; then :
3214  $as_echo_n "(cached) " >&6
3215else
3216  if test -n "$RANLIB"; then
3217  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3218else
3219as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3220for as_dir in $PATH
3221do
3222  IFS=$as_save_IFS
3223  test -z "$as_dir" && as_dir=.
3224    for ac_exec_ext in '' $ac_executable_extensions; do
3225  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3226    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3227    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3228    break 2
3229  fi
3230done
3231  done
3232IFS=$as_save_IFS
3233
3234fi
3235fi
3236RANLIB=$ac_cv_prog_RANLIB
3237if test -n "$RANLIB"; then
3238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3239$as_echo "$RANLIB" >&6; }
3240else
3241  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3242$as_echo "no" >&6; }
3243fi
3244
3245
3246fi
3247if test -z "$ac_cv_prog_RANLIB"; then
3248  ac_ct_RANLIB=$RANLIB
3249  # Extract the first word of "ranlib", so it can be a program name with args.
3250set dummy ranlib; ac_word=$2
3251{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3252$as_echo_n "checking for $ac_word... " >&6; }
3253if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3254  $as_echo_n "(cached) " >&6
3255else
3256  if test -n "$ac_ct_RANLIB"; then
3257  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3258else
3259as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3260for as_dir in $PATH
3261do
3262  IFS=$as_save_IFS
3263  test -z "$as_dir" && as_dir=.
3264    for ac_exec_ext in '' $ac_executable_extensions; do
3265  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3266    ac_cv_prog_ac_ct_RANLIB="ranlib"
3267    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3268    break 2
3269  fi
3270done
3271  done
3272IFS=$as_save_IFS
3273
3274fi
3275fi
3276ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3277if test -n "$ac_ct_RANLIB"; then
3278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3279$as_echo "$ac_ct_RANLIB" >&6; }
3280else
3281  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3282$as_echo "no" >&6; }
3283fi
3284
3285  if test "x$ac_ct_RANLIB" = x; then
3286    RANLIB=":"
3287  else
3288    case $cross_compiling:$ac_tool_warned in
3289yes:)
3290{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3291$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3292ac_tool_warned=yes ;;
3293esac
3294    RANLIB=$ac_ct_RANLIB
3295  fi
3296else
3297  RANLIB="$ac_cv_prog_RANLIB"
3298fi
3299
3300# Extract the first word of "autoconf", so it can be a program name with args.
3301set dummy autoconf; ac_word=$2
3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3303$as_echo_n "checking for $ac_word... " >&6; }
3304if ${ac_cv_prog_AUTOCONF+:} false; then :
3305  $as_echo_n "(cached) " >&6
3306else
3307  if test -n "$AUTOCONF"; then
3308  ac_cv_prog_AUTOCONF="$AUTOCONF" # Let the user override the test.
3309else
3310as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3311for as_dir in $PATH
3312do
3313  IFS=$as_save_IFS
3314  test -z "$as_dir" && as_dir=.
3315    for ac_exec_ext in '' $ac_executable_extensions; do
3316  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3317    ac_cv_prog_AUTOCONF="autoconf"
3318    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3319    break 2
3320  fi
3321done
3322  done
3323IFS=$as_save_IFS
3324
3325  test -z "$ac_cv_prog_AUTOCONF" && ac_cv_prog_AUTOCONF=":"
3326fi
3327fi
3328AUTOCONF=$ac_cv_prog_AUTOCONF
3329if test -n "$AUTOCONF"; then
3330  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUTOCONF" >&5
3331$as_echo "$AUTOCONF" >&6; }
3332else
3333  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334$as_echo "no" >&6; }
3335fi
3336
3337
3338# Extract the first word of "cp", so it can be a program name with args.
3339set dummy cp; ac_word=$2
3340{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3341$as_echo_n "checking for $ac_word... " >&6; }
3342if ${ac_cv_prog_CP+:} false; then :
3343  $as_echo_n "(cached) " >&6
3344else
3345  if test -n "$CP"; then
3346  ac_cv_prog_CP="$CP" # Let the user override the test.
3347else
3348as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3349for as_dir in $PATH
3350do
3351  IFS=$as_save_IFS
3352  test -z "$as_dir" && as_dir=.
3353    for ac_exec_ext in '' $ac_executable_extensions; do
3354  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3355    ac_cv_prog_CP="cp"
3356    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3357    break 2
3358  fi
3359done
3360  done
3361IFS=$as_save_IFS
3362
3363  test -z "$ac_cv_prog_CP" && ac_cv_prog_CP=":"
3364fi
3365fi
3366CP=$ac_cv_prog_CP
3367if test -n "$CP"; then
3368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CP" >&5
3369$as_echo "$CP" >&6; }
3370else
3371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3372$as_echo "no" >&6; }
3373fi
3374
3375
3376# Extract the first word of "rm", so it can be a program name with args.
3377set dummy rm; ac_word=$2
3378{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3379$as_echo_n "checking for $ac_word... " >&6; }
3380if ${ac_cv_prog_RM+:} false; then :
3381  $as_echo_n "(cached) " >&6
3382else
3383  if test -n "$RM"; then
3384  ac_cv_prog_RM="$RM" # Let the user override the test.
3385else
3386as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3387for as_dir in $PATH
3388do
3389  IFS=$as_save_IFS
3390  test -z "$as_dir" && as_dir=.
3391    for ac_exec_ext in '' $ac_executable_extensions; do
3392  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3393    ac_cv_prog_RM="rm"
3394    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3395    break 2
3396  fi
3397done
3398  done
3399IFS=$as_save_IFS
3400
3401  test -z "$ac_cv_prog_RM" && ac_cv_prog_RM=":"
3402fi
3403fi
3404RM=$ac_cv_prog_RM
3405if test -n "$RM"; then
3406  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RM" >&5
3407$as_echo "$RM" >&6; }
3408else
3409  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410$as_echo "no" >&6; }
3411fi
3412
3413
3414# Extract the first word of "python3", so it can be a program name with args.
3415set dummy python3; ac_word=$2
3416{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3417$as_echo_n "checking for $ac_word... " >&6; }
3418if ${ac_cv_prog_HAVE_PYTHON3+:} false; then :
3419  $as_echo_n "(cached) " >&6
3420else
3421  if test -n "$HAVE_PYTHON3"; then
3422  ac_cv_prog_HAVE_PYTHON3="$HAVE_PYTHON3" # Let the user override the test.
3423else
3424as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3425for as_dir in $PATH
3426do
3427  IFS=$as_save_IFS
3428  test -z "$as_dir" && as_dir=.
3429    for ac_exec_ext in '' $ac_executable_extensions; do
3430  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3431    ac_cv_prog_HAVE_PYTHON3="yes"
3432    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3433    break 2
3434  fi
3435done
3436  done
3437IFS=$as_save_IFS
3438
3439  test -z "$ac_cv_prog_HAVE_PYTHON3" && ac_cv_prog_HAVE_PYTHON3="no"
3440fi
3441fi
3442HAVE_PYTHON3=$ac_cv_prog_HAVE_PYTHON3
3443if test -n "$HAVE_PYTHON3"; then
3444  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_PYTHON3" >&5
3445$as_echo "$HAVE_PYTHON3" >&6; }
3446else
3447  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3448$as_echo "no" >&6; }
3449fi
3450
3451
3452
3453ac_ext=c
3454ac_cpp='$CPP $CPPFLAGS'
3455ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3456ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3457ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458
3459
3460{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3461$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3462if ${ac_cv_path_GREP+:} false; then :
3463  $as_echo_n "(cached) " >&6
3464else
3465  if test -z "$GREP"; then
3466  ac_path_GREP_found=false
3467  # Loop through the user's path and test for each of PROGNAME-LIST
3468  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3470do
3471  IFS=$as_save_IFS
3472  test -z "$as_dir" && as_dir=.
3473    for ac_prog in grep ggrep; do
3474    for ac_exec_ext in '' $ac_executable_extensions; do
3475      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3476      as_fn_executable_p "$ac_path_GREP" || continue
3477# Check for GNU ac_path_GREP and select it if it is found.
3478  # Check for GNU $ac_path_GREP
3479case `"$ac_path_GREP" --version 2>&1` in
3480*GNU*)
3481  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3482*)
3483  ac_count=0
3484  $as_echo_n 0123456789 >"conftest.in"
3485  while :
3486  do
3487    cat "conftest.in" "conftest.in" >"conftest.tmp"
3488    mv "conftest.tmp" "conftest.in"
3489    cp "conftest.in" "conftest.nl"
3490    $as_echo 'GREP' >> "conftest.nl"
3491    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3492    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3493    as_fn_arith $ac_count + 1 && ac_count=$as_val
3494    if test $ac_count -gt ${ac_path_GREP_max-0}; then
3495      # Best one so far, save it but keep looking for a better one
3496      ac_cv_path_GREP="$ac_path_GREP"
3497      ac_path_GREP_max=$ac_count
3498    fi
3499    # 10*(2^10) chars as input seems more than enough
3500    test $ac_count -gt 10 && break
3501  done
3502  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3503esac
3504
3505      $ac_path_GREP_found && break 3
3506    done
3507  done
3508  done
3509IFS=$as_save_IFS
3510  if test -z "$ac_cv_path_GREP"; then
3511    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3512  fi
3513else
3514  ac_cv_path_GREP=$GREP
3515fi
3516
3517fi
3518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3519$as_echo "$ac_cv_path_GREP" >&6; }
3520 GREP="$ac_cv_path_GREP"
3521
3522
3523{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3524$as_echo_n "checking for egrep... " >&6; }
3525if ${ac_cv_path_EGREP+:} false; then :
3526  $as_echo_n "(cached) " >&6
3527else
3528  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3529   then ac_cv_path_EGREP="$GREP -E"
3530   else
3531     if test -z "$EGREP"; then
3532  ac_path_EGREP_found=false
3533  # Loop through the user's path and test for each of PROGNAME-LIST
3534  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3536do
3537  IFS=$as_save_IFS
3538  test -z "$as_dir" && as_dir=.
3539    for ac_prog in egrep; do
3540    for ac_exec_ext in '' $ac_executable_extensions; do
3541      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3542      as_fn_executable_p "$ac_path_EGREP" || continue
3543# Check for GNU ac_path_EGREP and select it if it is found.
3544  # Check for GNU $ac_path_EGREP
3545case `"$ac_path_EGREP" --version 2>&1` in
3546*GNU*)
3547  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3548*)
3549  ac_count=0
3550  $as_echo_n 0123456789 >"conftest.in"
3551  while :
3552  do
3553    cat "conftest.in" "conftest.in" >"conftest.tmp"
3554    mv "conftest.tmp" "conftest.in"
3555    cp "conftest.in" "conftest.nl"
3556    $as_echo 'EGREP' >> "conftest.nl"
3557    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3558    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3559    as_fn_arith $ac_count + 1 && ac_count=$as_val
3560    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3561      # Best one so far, save it but keep looking for a better one
3562      ac_cv_path_EGREP="$ac_path_EGREP"
3563      ac_path_EGREP_max=$ac_count
3564    fi
3565    # 10*(2^10) chars as input seems more than enough
3566    test $ac_count -gt 10 && break
3567  done
3568  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3569esac
3570
3571      $ac_path_EGREP_found && break 3
3572    done
3573  done
3574  done
3575IFS=$as_save_IFS
3576  if test -z "$ac_cv_path_EGREP"; then
3577    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3578  fi
3579else
3580  ac_cv_path_EGREP=$EGREP
3581fi
3582
3583   fi
3584fi
3585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3586$as_echo "$ac_cv_path_EGREP" >&6; }
3587 EGREP="$ac_cv_path_EGREP"
3588
3589
3590{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3591$as_echo_n "checking for ANSI C header files... " >&6; }
3592if ${ac_cv_header_stdc+:} false; then :
3593  $as_echo_n "(cached) " >&6
3594else
3595  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596/* end confdefs.h.  */
3597#include <stdlib.h>
3598#include <stdarg.h>
3599#include <string.h>
3600#include <float.h>
3601
3602int
3603main ()
3604{
3605
3606  ;
3607  return 0;
3608}
3609_ACEOF
3610if ac_fn_c_try_compile "$LINENO"; then :
3611  ac_cv_header_stdc=yes
3612else
3613  ac_cv_header_stdc=no
3614fi
3615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3616
3617if test $ac_cv_header_stdc = yes; then
3618  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3619  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620/* end confdefs.h.  */
3621#include <string.h>
3622
3623_ACEOF
3624if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3625  $EGREP "memchr" >/dev/null 2>&1; then :
3626
3627else
3628  ac_cv_header_stdc=no
3629fi
3630rm -f conftest*
3631
3632fi
3633
3634if test $ac_cv_header_stdc = yes; then
3635  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3636  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3637/* end confdefs.h.  */
3638#include <stdlib.h>
3639
3640_ACEOF
3641if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3642  $EGREP "free" >/dev/null 2>&1; then :
3643
3644else
3645  ac_cv_header_stdc=no
3646fi
3647rm -f conftest*
3648
3649fi
3650
3651if test $ac_cv_header_stdc = yes; then
3652  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3653  if test "$cross_compiling" = yes; then :
3654  :
3655else
3656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657/* end confdefs.h.  */
3658#include <ctype.h>
3659#include <stdlib.h>
3660#if ((' ' & 0x0FF) == 0x020)
3661# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3662# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3663#else
3664# define ISLOWER(c) \
3665		   (('a' <= (c) && (c) <= 'i') \
3666		     || ('j' <= (c) && (c) <= 'r') \
3667		     || ('s' <= (c) && (c) <= 'z'))
3668# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3669#endif
3670
3671#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3672int
3673main ()
3674{
3675  int i;
3676  for (i = 0; i < 256; i++)
3677    if (XOR (islower (i), ISLOWER (i))
3678	|| toupper (i) != TOUPPER (i))
3679      return 2;
3680  return 0;
3681}
3682_ACEOF
3683if ac_fn_c_try_run "$LINENO"; then :
3684
3685else
3686  ac_cv_header_stdc=no
3687fi
3688rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3689  conftest.$ac_objext conftest.beam conftest.$ac_ext
3690fi
3691
3692fi
3693fi
3694{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3695$as_echo "$ac_cv_header_stdc" >&6; }
3696if test $ac_cv_header_stdc = yes; then
3697
3698$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3699
3700fi
3701
3702for ac_func in setenv putenv
3703do :
3704  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3705ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3706if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3707  cat >>confdefs.h <<_ACEOF
3708#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3709_ACEOF
3710
3711fi
3712done
3713
3714
3715# Extract the first word of "env", so it can be a program name with args.
3716set dummy env; ac_word=$2
3717{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3718$as_echo_n "checking for $ac_word... " >&6; }
3719if ${ac_cv_path_ENV_PATH+:} false; then :
3720  $as_echo_n "(cached) " >&6
3721else
3722  case $ENV_PATH in
3723  [\\/]* | ?:[\\/]*)
3724  ac_cv_path_ENV_PATH="$ENV_PATH" # Let the user override the test with a path.
3725  ;;
3726  *)
3727  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728for as_dir in $PATH
3729do
3730  IFS=$as_save_IFS
3731  test -z "$as_dir" && as_dir=.
3732    for ac_exec_ext in '' $ac_executable_extensions; do
3733  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3734    ac_cv_path_ENV_PATH="$as_dir/$ac_word$ac_exec_ext"
3735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3736    break 2
3737  fi
3738done
3739  done
3740IFS=$as_save_IFS
3741
3742  test -z "$ac_cv_path_ENV_PATH" && ac_cv_path_ENV_PATH="env"
3743  ;;
3744esac
3745fi
3746ENV_PATH=$ac_cv_path_ENV_PATH
3747if test -n "$ENV_PATH"; then
3748  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ENV_PATH" >&5
3749$as_echo "$ENV_PATH" >&6; }
3750else
3751  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752$as_echo "no" >&6; }
3753fi
3754
3755
3756
3757# Options
3758# =========================================
3759
3760
3761
3762# Check whether --with-tclsh was given.
3763if test "${with_tclsh+set}" = set; then :
3764  withval=$with_tclsh;
3765   if test -d "$withval"; then
3766      TCLSH_DIR=$withval
3767   elif test -f "$withval"; then
3768      # Path includes "/tclsh";  remove it
3769      TCLSH_DIR=${withval%/tclsh}
3770   else
3771      TCLSH_DIR=${PATH}
3772   fi
3773   # Extract the first word of "tclsh", so it can be a program name with args.
3774set dummy tclsh; ac_word=$2
3775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3776$as_echo_n "checking for $ac_word... " >&6; }
3777if ${ac_cv_path_TCLSH_PATH+:} false; then :
3778  $as_echo_n "(cached) " >&6
3779else
3780  case $TCLSH_PATH in
3781  [\\/]* | ?:[\\/]*)
3782  ac_cv_path_TCLSH_PATH="$TCLSH_PATH" # Let the user override the test with a path.
3783  ;;
3784  *)
3785  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3786for as_dir in $TCLSH_DIR
3787do
3788  IFS=$as_save_IFS
3789  test -z "$as_dir" && as_dir=.
3790    for ac_exec_ext in '' $ac_executable_extensions; do
3791  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3792    ac_cv_path_TCLSH_PATH="$as_dir/$ac_word$ac_exec_ext"
3793    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794    break 2
3795  fi
3796done
3797  done
3798IFS=$as_save_IFS
3799
3800  test -z "$ac_cv_path_TCLSH_PATH" && ac_cv_path_TCLSH_PATH="tclsh"
3801  ;;
3802esac
3803fi
3804TCLSH_PATH=$ac_cv_path_TCLSH_PATH
3805if test -n "$TCLSH_PATH"; then
3806  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_PATH" >&5
3807$as_echo "$TCLSH_PATH" >&6; }
3808else
3809  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810$as_echo "no" >&6; }
3811fi
3812
3813
3814
3815else
3816
3817   # Extract the first word of "tclsh", so it can be a program name with args.
3818set dummy tclsh; ac_word=$2
3819{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820$as_echo_n "checking for $ac_word... " >&6; }
3821if ${ac_cv_path_TCLSH_PATH+:} false; then :
3822  $as_echo_n "(cached) " >&6
3823else
3824  case $TCLSH_PATH in
3825  [\\/]* | ?:[\\/]*)
3826  ac_cv_path_TCLSH_PATH="$TCLSH_PATH" # Let the user override the test with a path.
3827  ;;
3828  *)
3829  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830for as_dir in $PATH
3831do
3832  IFS=$as_save_IFS
3833  test -z "$as_dir" && as_dir=.
3834    for ac_exec_ext in '' $ac_executable_extensions; do
3835  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3836    ac_cv_path_TCLSH_PATH="$as_dir/$ac_word$ac_exec_ext"
3837    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3838    break 2
3839  fi
3840done
3841  done
3842IFS=$as_save_IFS
3843
3844  test -z "$ac_cv_path_TCLSH_PATH" && ac_cv_path_TCLSH_PATH="tclsh"
3845  ;;
3846esac
3847fi
3848TCLSH_PATH=$ac_cv_path_TCLSH_PATH
3849if test -n "$TCLSH_PATH"; then
3850  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCLSH_PATH" >&5
3851$as_echo "$TCLSH_PATH" >&6; }
3852else
3853  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3854$as_echo "no" >&6; }
3855fi
3856
3857
3858fi
3859
3860cat >>confdefs.h <<_ACEOF
3861#define TCLSH_PATH "$TCLSH_PATH"
3862_ACEOF
3863
3864
3865
3866
3867# Check whether --with-magic was given.
3868if test "${with_magic+set}" = set; then :
3869  withval=$with_magic;
3870   if test -d "$withval"; then
3871      QFLOW_MAGIC_DIR=$withval
3872   elif test -f "$withval"; then
3873      # Path includes "/magic";  remove it
3874      QFLOW_MAGIC_DIR=${withval%/magic}
3875   else
3876      QFLOW_MAGIC_DIR=${PATH}
3877   fi
3878   # Extract the first word of "magic", so it can be a program name with args.
3879set dummy magic; ac_word=$2
3880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881$as_echo_n "checking for $ac_word... " >&6; }
3882if ${ac_cv_path_QFLOW_MAGIC_PATH+:} false; then :
3883  $as_echo_n "(cached) " >&6
3884else
3885  case $QFLOW_MAGIC_PATH in
3886  [\\/]* | ?:[\\/]*)
3887  ac_cv_path_QFLOW_MAGIC_PATH="$QFLOW_MAGIC_PATH" # Let the user override the test with a path.
3888  ;;
3889  *)
3890  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891for as_dir in $QFLOW_MAGIC_DIR
3892do
3893  IFS=$as_save_IFS
3894  test -z "$as_dir" && as_dir=.
3895    for ac_exec_ext in '' $ac_executable_extensions; do
3896  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897    ac_cv_path_QFLOW_MAGIC_PATH="$as_dir/$ac_word$ac_exec_ext"
3898    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3899    break 2
3900  fi
3901done
3902  done
3903IFS=$as_save_IFS
3904
3905  ;;
3906esac
3907fi
3908QFLOW_MAGIC_PATH=$ac_cv_path_QFLOW_MAGIC_PATH
3909if test -n "$QFLOW_MAGIC_PATH"; then
3910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_MAGIC_PATH" >&5
3911$as_echo "$QFLOW_MAGIC_PATH" >&6; }
3912else
3913  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914$as_echo "no" >&6; }
3915fi
3916
3917
3918
3919else
3920
3921   # Extract the first word of "magic", so it can be a program name with args.
3922set dummy magic; ac_word=$2
3923{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924$as_echo_n "checking for $ac_word... " >&6; }
3925if ${ac_cv_path_QFLOW_MAGIC_PATH+:} false; then :
3926  $as_echo_n "(cached) " >&6
3927else
3928  case $QFLOW_MAGIC_PATH in
3929  [\\/]* | ?:[\\/]*)
3930  ac_cv_path_QFLOW_MAGIC_PATH="$QFLOW_MAGIC_PATH" # Let the user override the test with a path.
3931  ;;
3932  *)
3933  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934for as_dir in $PATH
3935do
3936  IFS=$as_save_IFS
3937  test -z "$as_dir" && as_dir=.
3938    for ac_exec_ext in '' $ac_executable_extensions; do
3939  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3940    ac_cv_path_QFLOW_MAGIC_PATH="$as_dir/$ac_word$ac_exec_ext"
3941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3942    break 2
3943  fi
3944done
3945  done
3946IFS=$as_save_IFS
3947
3948  ;;
3949esac
3950fi
3951QFLOW_MAGIC_PATH=$ac_cv_path_QFLOW_MAGIC_PATH
3952if test -n "$QFLOW_MAGIC_PATH"; then
3953  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_MAGIC_PATH" >&5
3954$as_echo "$QFLOW_MAGIC_PATH" >&6; }
3955else
3956  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957$as_echo "no" >&6; }
3958fi
3959
3960
3961fi
3962
3963cat >>confdefs.h <<_ACEOF
3964#define QFLOW_MAGIC_PATH "$QFLOW_MAGIC_PATH"
3965_ACEOF
3966
3967
3968
3969
3970# Check whether --with-netgen was given.
3971if test "${with_netgen+set}" = set; then :
3972  withval=$with_netgen;
3973   if test -d "$withval"; then
3974      QFLOW_NETGEN_DIR=$withval
3975   elif test -f "$withval"; then
3976      # Path includes "/netgen";  remove it
3977      QFLOW_NETGEN_DIR=${withval%/netgen}
3978   else
3979      QFLOW_NETGEN_DIR=${PATH}
3980   fi
3981   # Extract the first word of "netgen", so it can be a program name with args.
3982set dummy netgen; ac_word=$2
3983{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984$as_echo_n "checking for $ac_word... " >&6; }
3985if ${ac_cv_path_QFLOW_NETGEN_PATH+:} false; then :
3986  $as_echo_n "(cached) " >&6
3987else
3988  case $QFLOW_NETGEN_PATH in
3989  [\\/]* | ?:[\\/]*)
3990  ac_cv_path_QFLOW_NETGEN_PATH="$QFLOW_NETGEN_PATH" # Let the user override the test with a path.
3991  ;;
3992  *)
3993  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994for as_dir in $QFLOW_NETGEN_DIR
3995do
3996  IFS=$as_save_IFS
3997  test -z "$as_dir" && as_dir=.
3998    for ac_exec_ext in '' $ac_executable_extensions; do
3999  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000    ac_cv_path_QFLOW_NETGEN_PATH="$as_dir/$ac_word$ac_exec_ext"
4001    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002    break 2
4003  fi
4004done
4005  done
4006IFS=$as_save_IFS
4007
4008  ;;
4009esac
4010fi
4011QFLOW_NETGEN_PATH=$ac_cv_path_QFLOW_NETGEN_PATH
4012if test -n "$QFLOW_NETGEN_PATH"; then
4013  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_NETGEN_PATH" >&5
4014$as_echo "$QFLOW_NETGEN_PATH" >&6; }
4015else
4016  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017$as_echo "no" >&6; }
4018fi
4019
4020
4021
4022else
4023
4024   # Extract the first word of "netgen", so it can be a program name with args.
4025set dummy netgen; ac_word=$2
4026{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4027$as_echo_n "checking for $ac_word... " >&6; }
4028if ${ac_cv_path_QFLOW_NETGEN_PATH+:} false; then :
4029  $as_echo_n "(cached) " >&6
4030else
4031  case $QFLOW_NETGEN_PATH in
4032  [\\/]* | ?:[\\/]*)
4033  ac_cv_path_QFLOW_NETGEN_PATH="$QFLOW_NETGEN_PATH" # Let the user override the test with a path.
4034  ;;
4035  *)
4036  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4037for as_dir in $PATH
4038do
4039  IFS=$as_save_IFS
4040  test -z "$as_dir" && as_dir=.
4041    for ac_exec_ext in '' $ac_executable_extensions; do
4042  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4043    ac_cv_path_QFLOW_NETGEN_PATH="$as_dir/$ac_word$ac_exec_ext"
4044    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045    break 2
4046  fi
4047done
4048  done
4049IFS=$as_save_IFS
4050
4051  ;;
4052esac
4053fi
4054QFLOW_NETGEN_PATH=$ac_cv_path_QFLOW_NETGEN_PATH
4055if test -n "$QFLOW_NETGEN_PATH"; then
4056  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_NETGEN_PATH" >&5
4057$as_echo "$QFLOW_NETGEN_PATH" >&6; }
4058else
4059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060$as_echo "no" >&6; }
4061fi
4062
4063
4064fi
4065
4066cat >>confdefs.h <<_ACEOF
4067#define QFLOW_NETGEN_PATH "$QFLOW_NETGEN_PATH"
4068_ACEOF
4069
4070
4071
4072
4073# Check whether --with-qrouter was given.
4074if test "${with_qrouter+set}" = set; then :
4075  withval=$with_qrouter;
4076   if test -d "$withval"; then
4077      QFLOW_QROUTER_DIR=$withval
4078   elif test -f "$withval"; then
4079      # Path includes "/qrouter";  remove it
4080      QFLOW_QROUTER_DIR=${withval%/qrouter}
4081   else
4082      QFLOW_QROUTER_DIR=${PATH}
4083   fi
4084   # Extract the first word of "qrouter", so it can be a program name with args.
4085set dummy qrouter; ac_word=$2
4086{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4087$as_echo_n "checking for $ac_word... " >&6; }
4088if ${ac_cv_path_QFLOW_QROUTER_PATH+:} false; then :
4089  $as_echo_n "(cached) " >&6
4090else
4091  case $QFLOW_QROUTER_PATH in
4092  [\\/]* | ?:[\\/]*)
4093  ac_cv_path_QFLOW_QROUTER_PATH="$QFLOW_QROUTER_PATH" # Let the user override the test with a path.
4094  ;;
4095  *)
4096  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4097for as_dir in $QFLOW_QROUTER_DIR
4098do
4099  IFS=$as_save_IFS
4100  test -z "$as_dir" && as_dir=.
4101    for ac_exec_ext in '' $ac_executable_extensions; do
4102  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4103    ac_cv_path_QFLOW_QROUTER_PATH="$as_dir/$ac_word$ac_exec_ext"
4104    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105    break 2
4106  fi
4107done
4108  done
4109IFS=$as_save_IFS
4110
4111  ;;
4112esac
4113fi
4114QFLOW_QROUTER_PATH=$ac_cv_path_QFLOW_QROUTER_PATH
4115if test -n "$QFLOW_QROUTER_PATH"; then
4116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_QROUTER_PATH" >&5
4117$as_echo "$QFLOW_QROUTER_PATH" >&6; }
4118else
4119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4120$as_echo "no" >&6; }
4121fi
4122
4123
4124
4125else
4126
4127   # Extract the first word of "qrouter", so it can be a program name with args.
4128set dummy qrouter; ac_word=$2
4129{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4130$as_echo_n "checking for $ac_word... " >&6; }
4131if ${ac_cv_path_QFLOW_QROUTER_PATH+:} false; then :
4132  $as_echo_n "(cached) " >&6
4133else
4134  case $QFLOW_QROUTER_PATH in
4135  [\\/]* | ?:[\\/]*)
4136  ac_cv_path_QFLOW_QROUTER_PATH="$QFLOW_QROUTER_PATH" # Let the user override the test with a path.
4137  ;;
4138  *)
4139  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4140for as_dir in $PATH
4141do
4142  IFS=$as_save_IFS
4143  test -z "$as_dir" && as_dir=.
4144    for ac_exec_ext in '' $ac_executable_extensions; do
4145  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4146    ac_cv_path_QFLOW_QROUTER_PATH="$as_dir/$ac_word$ac_exec_ext"
4147    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4148    break 2
4149  fi
4150done
4151  done
4152IFS=$as_save_IFS
4153
4154  ;;
4155esac
4156fi
4157QFLOW_QROUTER_PATH=$ac_cv_path_QFLOW_QROUTER_PATH
4158if test -n "$QFLOW_QROUTER_PATH"; then
4159  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_QROUTER_PATH" >&5
4160$as_echo "$QFLOW_QROUTER_PATH" >&6; }
4161else
4162  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4163$as_echo "no" >&6; }
4164fi
4165
4166
4167fi
4168
4169cat >>confdefs.h <<_ACEOF
4170#define QFLOW_QROUTER_PATH "$QFLOW_QROUTER_PATH"
4171_ACEOF
4172
4173
4174
4175
4176# Check whether --with-graywolf was given.
4177if test "${with_graywolf+set}" = set; then :
4178  withval=$with_graywolf;
4179   if test -d "$withval"; then
4180      QFLOW_GRAYWOLF_DIR=$withval
4181   elif test -f "$withval"; then
4182      # Path includes "/graywolf";  remove it
4183      QFLOW_GRAYWOLF_DIR=${withval%/graywolf}
4184   else
4185      QFLOW_GRAYWOLF_DIR=${PATH}
4186   fi
4187   # Extract the first word of "graywolf", so it can be a program name with args.
4188set dummy graywolf; ac_word=$2
4189{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190$as_echo_n "checking for $ac_word... " >&6; }
4191if ${ac_cv_path_QFLOW_GRAYWOLF_PATH+:} false; then :
4192  $as_echo_n "(cached) " >&6
4193else
4194  case $QFLOW_GRAYWOLF_PATH in
4195  [\\/]* | ?:[\\/]*)
4196  ac_cv_path_QFLOW_GRAYWOLF_PATH="$QFLOW_GRAYWOLF_PATH" # Let the user override the test with a path.
4197  ;;
4198  *)
4199  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4200for as_dir in $QFLOW_GRAYWOLF_DIR
4201do
4202  IFS=$as_save_IFS
4203  test -z "$as_dir" && as_dir=.
4204    for ac_exec_ext in '' $ac_executable_extensions; do
4205  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4206    ac_cv_path_QFLOW_GRAYWOLF_PATH="$as_dir/$ac_word$ac_exec_ext"
4207    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4208    break 2
4209  fi
4210done
4211  done
4212IFS=$as_save_IFS
4213
4214  ;;
4215esac
4216fi
4217QFLOW_GRAYWOLF_PATH=$ac_cv_path_QFLOW_GRAYWOLF_PATH
4218if test -n "$QFLOW_GRAYWOLF_PATH"; then
4219  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_GRAYWOLF_PATH" >&5
4220$as_echo "$QFLOW_GRAYWOLF_PATH" >&6; }
4221else
4222  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223$as_echo "no" >&6; }
4224fi
4225
4226
4227
4228else
4229
4230   # Extract the first word of "graywolf", so it can be a program name with args.
4231set dummy graywolf; ac_word=$2
4232{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233$as_echo_n "checking for $ac_word... " >&6; }
4234if ${ac_cv_path_QFLOW_GRAYWOLF_PATH+:} false; then :
4235  $as_echo_n "(cached) " >&6
4236else
4237  case $QFLOW_GRAYWOLF_PATH in
4238  [\\/]* | ?:[\\/]*)
4239  ac_cv_path_QFLOW_GRAYWOLF_PATH="$QFLOW_GRAYWOLF_PATH" # Let the user override the test with a path.
4240  ;;
4241  *)
4242  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4243for as_dir in $PATH
4244do
4245  IFS=$as_save_IFS
4246  test -z "$as_dir" && as_dir=.
4247    for ac_exec_ext in '' $ac_executable_extensions; do
4248  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4249    ac_cv_path_QFLOW_GRAYWOLF_PATH="$as_dir/$ac_word$ac_exec_ext"
4250    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4251    break 2
4252  fi
4253done
4254  done
4255IFS=$as_save_IFS
4256
4257  ;;
4258esac
4259fi
4260QFLOW_GRAYWOLF_PATH=$ac_cv_path_QFLOW_GRAYWOLF_PATH
4261if test -n "$QFLOW_GRAYWOLF_PATH"; then
4262  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_GRAYWOLF_PATH" >&5
4263$as_echo "$QFLOW_GRAYWOLF_PATH" >&6; }
4264else
4265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4266$as_echo "no" >&6; }
4267fi
4268
4269
4270fi
4271
4272cat >>confdefs.h <<_ACEOF
4273#define QFLOW_GRAYWOLF_PATH "$QFLOW_GRAYWOLF_PATH"
4274_ACEOF
4275
4276
4277
4278
4279# Check whether --with-yosys was given.
4280if test "${with_yosys+set}" = set; then :
4281  withval=$with_yosys;
4282   if test -d "$withval"; then
4283      QFLOW_YOSYS_DIR=$withval
4284   elif test -f "$withval"; then
4285      # Path includes "/yosys";  remove it
4286      QFLOW_YOSYS_DIR=${withval%/yosys}
4287   else
4288      QFLOW_YOSYS_DIR=${PATH}
4289   fi
4290   # Extract the first word of "yosys", so it can be a program name with args.
4291set dummy yosys; ac_word=$2
4292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4293$as_echo_n "checking for $ac_word... " >&6; }
4294if ${ac_cv_path_QFLOW_YOSYS_PATH+:} false; then :
4295  $as_echo_n "(cached) " >&6
4296else
4297  case $QFLOW_YOSYS_PATH in
4298  [\\/]* | ?:[\\/]*)
4299  ac_cv_path_QFLOW_YOSYS_PATH="$QFLOW_YOSYS_PATH" # Let the user override the test with a path.
4300  ;;
4301  *)
4302  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4303for as_dir in $QFLOW_YOSYS_DIR
4304do
4305  IFS=$as_save_IFS
4306  test -z "$as_dir" && as_dir=.
4307    for ac_exec_ext in '' $ac_executable_extensions; do
4308  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4309    ac_cv_path_QFLOW_YOSYS_PATH="$as_dir/$ac_word$ac_exec_ext"
4310    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4311    break 2
4312  fi
4313done
4314  done
4315IFS=$as_save_IFS
4316
4317  ;;
4318esac
4319fi
4320QFLOW_YOSYS_PATH=$ac_cv_path_QFLOW_YOSYS_PATH
4321if test -n "$QFLOW_YOSYS_PATH"; then
4322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_YOSYS_PATH" >&5
4323$as_echo "$QFLOW_YOSYS_PATH" >&6; }
4324else
4325  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326$as_echo "no" >&6; }
4327fi
4328
4329
4330
4331else
4332
4333   # Extract the first word of "yosys", so it can be a program name with args.
4334set dummy yosys; ac_word=$2
4335{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336$as_echo_n "checking for $ac_word... " >&6; }
4337if ${ac_cv_path_QFLOW_YOSYS_PATH+:} false; then :
4338  $as_echo_n "(cached) " >&6
4339else
4340  case $QFLOW_YOSYS_PATH in
4341  [\\/]* | ?:[\\/]*)
4342  ac_cv_path_QFLOW_YOSYS_PATH="$QFLOW_YOSYS_PATH" # Let the user override the test with a path.
4343  ;;
4344  *)
4345  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346for as_dir in $PATH
4347do
4348  IFS=$as_save_IFS
4349  test -z "$as_dir" && as_dir=.
4350    for ac_exec_ext in '' $ac_executable_extensions; do
4351  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4352    ac_cv_path_QFLOW_YOSYS_PATH="$as_dir/$ac_word$ac_exec_ext"
4353    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354    break 2
4355  fi
4356done
4357  done
4358IFS=$as_save_IFS
4359
4360  ;;
4361esac
4362fi
4363QFLOW_YOSYS_PATH=$ac_cv_path_QFLOW_YOSYS_PATH
4364if test -n "$QFLOW_YOSYS_PATH"; then
4365  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_YOSYS_PATH" >&5
4366$as_echo "$QFLOW_YOSYS_PATH" >&6; }
4367else
4368  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4369$as_echo "no" >&6; }
4370fi
4371
4372
4373fi
4374
4375cat >>confdefs.h <<_ACEOF
4376#define QFLOW_YOSYS_PATH "$QFLOW_YOSYS_PATH"
4377_ACEOF
4378
4379
4380
4381
4382# Check whether --with-opentimer was given.
4383if test "${with_opentimer+set}" = set; then :
4384  withval=$with_opentimer;
4385   if test -d "$withval"; then
4386      QFLOW_OPENTIMER_DIR=$withval
4387   elif test -f "$withval"; then
4388      # Path includes "ot-shell";  remove it
4389      QFLOW_OPENTIMER_DIR=${withval%/ot-shell}
4390   else
4391      QFLOW_OPENTIMER_DIR=${PATH}
4392   fi
4393   # Extract the first word of "ot-shell", so it can be a program name with args.
4394set dummy ot-shell; ac_word=$2
4395{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396$as_echo_n "checking for $ac_word... " >&6; }
4397if ${ac_cv_path_QFLOW_OPENTIMER_PATH+:} false; then :
4398  $as_echo_n "(cached) " >&6
4399else
4400  case $QFLOW_OPENTIMER_PATH in
4401  [\\/]* | ?:[\\/]*)
4402  ac_cv_path_QFLOW_OPENTIMER_PATH="$QFLOW_OPENTIMER_PATH" # Let the user override the test with a path.
4403  ;;
4404  *)
4405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4406for as_dir in $QFLOW_OPENTIMER_DIR
4407do
4408  IFS=$as_save_IFS
4409  test -z "$as_dir" && as_dir=.
4410    for ac_exec_ext in '' $ac_executable_extensions; do
4411  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4412    ac_cv_path_QFLOW_OPENTIMER_PATH="$as_dir/$ac_word$ac_exec_ext"
4413    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4414    break 2
4415  fi
4416done
4417  done
4418IFS=$as_save_IFS
4419
4420  ;;
4421esac
4422fi
4423QFLOW_OPENTIMER_PATH=$ac_cv_path_QFLOW_OPENTIMER_PATH
4424if test -n "$QFLOW_OPENTIMER_PATH"; then
4425  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_OPENTIMER_PATH" >&5
4426$as_echo "$QFLOW_OPENTIMER_PATH" >&6; }
4427else
4428  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4429$as_echo "no" >&6; }
4430fi
4431
4432
4433
4434else
4435
4436   # Extract the first word of "ot-shell", so it can be a program name with args.
4437set dummy ot-shell; ac_word=$2
4438{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4439$as_echo_n "checking for $ac_word... " >&6; }
4440if ${ac_cv_path_QFLOW_OPENTIMER_PATH+:} false; then :
4441  $as_echo_n "(cached) " >&6
4442else
4443  case $QFLOW_OPENTIMER_PATH in
4444  [\\/]* | ?:[\\/]*)
4445  ac_cv_path_QFLOW_OPENTIMER_PATH="$QFLOW_OPENTIMER_PATH" # Let the user override the test with a path.
4446  ;;
4447  *)
4448  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4449for as_dir in $PATH
4450do
4451  IFS=$as_save_IFS
4452  test -z "$as_dir" && as_dir=.
4453    for ac_exec_ext in '' $ac_executable_extensions; do
4454  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4455    ac_cv_path_QFLOW_OPENTIMER_PATH="$as_dir/$ac_word$ac_exec_ext"
4456    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4457    break 2
4458  fi
4459done
4460  done
4461IFS=$as_save_IFS
4462
4463  ;;
4464esac
4465fi
4466QFLOW_OPENTIMER_PATH=$ac_cv_path_QFLOW_OPENTIMER_PATH
4467if test -n "$QFLOW_OPENTIMER_PATH"; then
4468  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_OPENTIMER_PATH" >&5
4469$as_echo "$QFLOW_OPENTIMER_PATH" >&6; }
4470else
4471  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4472$as_echo "no" >&6; }
4473fi
4474
4475
4476fi
4477
4478cat >>confdefs.h <<_ACEOF
4479#define QFLOW_OPENTIMER_PATH "$QFLOW_OPENTIMER_PATH"
4480_ACEOF
4481
4482
4483
4484
4485# Check whether --with-opensta was given.
4486if test "${with_opensta+set}" = set; then :
4487  withval=$with_opensta;
4488   if test -d "$withval"; then
4489      QFLOW_OPENSTA_DIR=$withval
4490   elif test -f "$withval"; then
4491      # Path includes "sta";  remove it
4492      QFLOW_OPENSTA_DIR=${withval%/sta}
4493   else
4494      QFLOW_OPENSTA_DIR=${PATH}
4495   fi
4496   # Extract the first word of "sta", so it can be a program name with args.
4497set dummy sta; ac_word=$2
4498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4499$as_echo_n "checking for $ac_word... " >&6; }
4500if ${ac_cv_path_QFLOW_OPENSTA_PATH+:} false; then :
4501  $as_echo_n "(cached) " >&6
4502else
4503  case $QFLOW_OPENSTA_PATH in
4504  [\\/]* | ?:[\\/]*)
4505  ac_cv_path_QFLOW_OPENSTA_PATH="$QFLOW_OPENSTA_PATH" # Let the user override the test with a path.
4506  ;;
4507  *)
4508  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509for as_dir in $QFLOW_OPENSTA_DIR
4510do
4511  IFS=$as_save_IFS
4512  test -z "$as_dir" && as_dir=.
4513    for ac_exec_ext in '' $ac_executable_extensions; do
4514  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4515    ac_cv_path_QFLOW_OPENSTA_PATH="$as_dir/$ac_word$ac_exec_ext"
4516    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4517    break 2
4518  fi
4519done
4520  done
4521IFS=$as_save_IFS
4522
4523  ;;
4524esac
4525fi
4526QFLOW_OPENSTA_PATH=$ac_cv_path_QFLOW_OPENSTA_PATH
4527if test -n "$QFLOW_OPENSTA_PATH"; then
4528  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_OPENSTA_PATH" >&5
4529$as_echo "$QFLOW_OPENSTA_PATH" >&6; }
4530else
4531  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4532$as_echo "no" >&6; }
4533fi
4534
4535
4536
4537else
4538
4539   # Extract the first word of "sta", so it can be a program name with args.
4540set dummy sta; ac_word=$2
4541{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4542$as_echo_n "checking for $ac_word... " >&6; }
4543if ${ac_cv_path_QFLOW_OPENSTA_PATH+:} false; then :
4544  $as_echo_n "(cached) " >&6
4545else
4546  case $QFLOW_OPENSTA_PATH in
4547  [\\/]* | ?:[\\/]*)
4548  ac_cv_path_QFLOW_OPENSTA_PATH="$QFLOW_OPENSTA_PATH" # Let the user override the test with a path.
4549  ;;
4550  *)
4551  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4552for as_dir in $PATH
4553do
4554  IFS=$as_save_IFS
4555  test -z "$as_dir" && as_dir=.
4556    for ac_exec_ext in '' $ac_executable_extensions; do
4557  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4558    ac_cv_path_QFLOW_OPENSTA_PATH="$as_dir/$ac_word$ac_exec_ext"
4559    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560    break 2
4561  fi
4562done
4563  done
4564IFS=$as_save_IFS
4565
4566  ;;
4567esac
4568fi
4569QFLOW_OPENSTA_PATH=$ac_cv_path_QFLOW_OPENSTA_PATH
4570if test -n "$QFLOW_OPENSTA_PATH"; then
4571  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_OPENSTA_PATH" >&5
4572$as_echo "$QFLOW_OPENSTA_PATH" >&6; }
4573else
4574  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4575$as_echo "no" >&6; }
4576fi
4577
4578
4579fi
4580
4581cat >>confdefs.h <<_ACEOF
4582#define QFLOW_OPENSTA_PATH "$QFLOW_OPENSTA_PATH"
4583_ACEOF
4584
4585
4586
4587
4588# Check whether --with-replace was given.
4589if test "${with_replace+set}" = set; then :
4590  withval=$with_replace;
4591   if test -d "$withval"; then
4592      QFLOW_REPLACE_DIR=$withval
4593   elif test -f "$withval"; then
4594      # Path includes "/RePlAce";  remove it
4595      QFLOW_REPLACE_DIR=${withval%/RePlAce}
4596   else
4597      QFLOW_REPLACE_DIR=${PATH}
4598   fi
4599   # Extract the first word of "RePlAce", so it can be a program name with args.
4600set dummy RePlAce; ac_word=$2
4601{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602$as_echo_n "checking for $ac_word... " >&6; }
4603if ${ac_cv_path_QFLOW_REPLACE_PATH+:} false; then :
4604  $as_echo_n "(cached) " >&6
4605else
4606  case $QFLOW_REPLACE_PATH in
4607  [\\/]* | ?:[\\/]*)
4608  ac_cv_path_QFLOW_REPLACE_PATH="$QFLOW_REPLACE_PATH" # Let the user override the test with a path.
4609  ;;
4610  *)
4611  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612for as_dir in $QFLOW_REPLACE_DIR
4613do
4614  IFS=$as_save_IFS
4615  test -z "$as_dir" && as_dir=.
4616    for ac_exec_ext in '' $ac_executable_extensions; do
4617  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4618    ac_cv_path_QFLOW_REPLACE_PATH="$as_dir/$ac_word$ac_exec_ext"
4619    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4620    break 2
4621  fi
4622done
4623  done
4624IFS=$as_save_IFS
4625
4626  ;;
4627esac
4628fi
4629QFLOW_REPLACE_PATH=$ac_cv_path_QFLOW_REPLACE_PATH
4630if test -n "$QFLOW_REPLACE_PATH"; then
4631  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_REPLACE_PATH" >&5
4632$as_echo "$QFLOW_REPLACE_PATH" >&6; }
4633else
4634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4635$as_echo "no" >&6; }
4636fi
4637
4638
4639   # Extract the first word of "ntuplace3", so it can be a program name with args.
4640set dummy ntuplace3; ac_word=$2
4641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4642$as_echo_n "checking for $ac_word... " >&6; }
4643if ${ac_cv_path_QFLOW_NTUPLACE3_PATH+:} false; then :
4644  $as_echo_n "(cached) " >&6
4645else
4646  case $QFLOW_NTUPLACE3_PATH in
4647  [\\/]* | ?:[\\/]*)
4648  ac_cv_path_QFLOW_NTUPLACE3_PATH="$QFLOW_NTUPLACE3_PATH" # Let the user override the test with a path.
4649  ;;
4650  *)
4651  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4652for as_dir in ${QFLOW_REPLACE_DIR}/../ntuplace
4653do
4654  IFS=$as_save_IFS
4655  test -z "$as_dir" && as_dir=.
4656    for ac_exec_ext in '' $ac_executable_extensions; do
4657  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4658    ac_cv_path_QFLOW_NTUPLACE3_PATH="$as_dir/$ac_word$ac_exec_ext"
4659    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4660    break 2
4661  fi
4662done
4663  done
4664IFS=$as_save_IFS
4665
4666  ;;
4667esac
4668fi
4669QFLOW_NTUPLACE3_PATH=$ac_cv_path_QFLOW_NTUPLACE3_PATH
4670if test -n "$QFLOW_NTUPLACE3_PATH"; then
4671  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_NTUPLACE3_PATH" >&5
4672$as_echo "$QFLOW_NTUPLACE3_PATH" >&6; }
4673else
4674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675$as_echo "no" >&6; }
4676fi
4677
4678
4679   # Extract the first word of "ntuplace4h", so it can be a program name with args.
4680set dummy ntuplace4h; ac_word=$2
4681{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4682$as_echo_n "checking for $ac_word... " >&6; }
4683if ${ac_cv_path_QFLOW_NTUPLACE4_PATH+:} false; then :
4684  $as_echo_n "(cached) " >&6
4685else
4686  case $QFLOW_NTUPLACE4_PATH in
4687  [\\/]* | ?:[\\/]*)
4688  ac_cv_path_QFLOW_NTUPLACE4_PATH="$QFLOW_NTUPLACE4_PATH" # Let the user override the test with a path.
4689  ;;
4690  *)
4691  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4692for as_dir in ${QFLOW_REPLACE_DIR}/../ntuplace
4693do
4694  IFS=$as_save_IFS
4695  test -z "$as_dir" && as_dir=.
4696    for ac_exec_ext in '' $ac_executable_extensions; do
4697  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4698    ac_cv_path_QFLOW_NTUPLACE4_PATH="$as_dir/$ac_word$ac_exec_ext"
4699    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4700    break 2
4701  fi
4702done
4703  done
4704IFS=$as_save_IFS
4705
4706  ;;
4707esac
4708fi
4709QFLOW_NTUPLACE4_PATH=$ac_cv_path_QFLOW_NTUPLACE4_PATH
4710if test -n "$QFLOW_NTUPLACE4_PATH"; then
4711  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_NTUPLACE4_PATH" >&5
4712$as_echo "$QFLOW_NTUPLACE4_PATH" >&6; }
4713else
4714  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4715$as_echo "no" >&6; }
4716fi
4717
4718
4719
4720else
4721
4722   # Extract the first word of "RePlAce", so it can be a program name with args.
4723set dummy RePlAce; ac_word=$2
4724{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4725$as_echo_n "checking for $ac_word... " >&6; }
4726if ${ac_cv_path_QFLOW_REPLACE_PATH+:} false; then :
4727  $as_echo_n "(cached) " >&6
4728else
4729  case $QFLOW_REPLACE_PATH in
4730  [\\/]* | ?:[\\/]*)
4731  ac_cv_path_QFLOW_REPLACE_PATH="$QFLOW_REPLACE_PATH" # Let the user override the test with a path.
4732  ;;
4733  *)
4734  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4735for as_dir in $PATH
4736do
4737  IFS=$as_save_IFS
4738  test -z "$as_dir" && as_dir=.
4739    for ac_exec_ext in '' $ac_executable_extensions; do
4740  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4741    ac_cv_path_QFLOW_REPLACE_PATH="$as_dir/$ac_word$ac_exec_ext"
4742    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4743    break 2
4744  fi
4745done
4746  done
4747IFS=$as_save_IFS
4748
4749  ;;
4750esac
4751fi
4752QFLOW_REPLACE_PATH=$ac_cv_path_QFLOW_REPLACE_PATH
4753if test -n "$QFLOW_REPLACE_PATH"; then
4754  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_REPLACE_PATH" >&5
4755$as_echo "$QFLOW_REPLACE_PATH" >&6; }
4756else
4757  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758$as_echo "no" >&6; }
4759fi
4760
4761
4762   # Extract the first word of "ntuplace3", so it can be a program name with args.
4763set dummy ntuplace3; ac_word=$2
4764{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4765$as_echo_n "checking for $ac_word... " >&6; }
4766if ${ac_cv_path_QFLOW_NTUPLACE3_PATH+:} false; then :
4767  $as_echo_n "(cached) " >&6
4768else
4769  case $QFLOW_NTUPLACE3_PATH in
4770  [\\/]* | ?:[\\/]*)
4771  ac_cv_path_QFLOW_NTUPLACE3_PATH="$QFLOW_NTUPLACE3_PATH" # Let the user override the test with a path.
4772  ;;
4773  *)
4774  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4775for as_dir in $PATH
4776do
4777  IFS=$as_save_IFS
4778  test -z "$as_dir" && as_dir=.
4779    for ac_exec_ext in '' $ac_executable_extensions; do
4780  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4781    ac_cv_path_QFLOW_NTUPLACE3_PATH="$as_dir/$ac_word$ac_exec_ext"
4782    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4783    break 2
4784  fi
4785done
4786  done
4787IFS=$as_save_IFS
4788
4789  ;;
4790esac
4791fi
4792QFLOW_NTUPLACE3_PATH=$ac_cv_path_QFLOW_NTUPLACE3_PATH
4793if test -n "$QFLOW_NTUPLACE3_PATH"; then
4794  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_NTUPLACE3_PATH" >&5
4795$as_echo "$QFLOW_NTUPLACE3_PATH" >&6; }
4796else
4797  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4798$as_echo "no" >&6; }
4799fi
4800
4801
4802   # Extract the first word of "ntuplace4h", so it can be a program name with args.
4803set dummy ntuplace4h; ac_word=$2
4804{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805$as_echo_n "checking for $ac_word... " >&6; }
4806if ${ac_cv_path_QFLOW_NTUPLACE4_PATH+:} false; then :
4807  $as_echo_n "(cached) " >&6
4808else
4809  case $QFLOW_NTUPLACE4_PATH in
4810  [\\/]* | ?:[\\/]*)
4811  ac_cv_path_QFLOW_NTUPLACE4_PATH="$QFLOW_NTUPLACE4_PATH" # Let the user override the test with a path.
4812  ;;
4813  *)
4814  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4815for as_dir in $PATH
4816do
4817  IFS=$as_save_IFS
4818  test -z "$as_dir" && as_dir=.
4819    for ac_exec_ext in '' $ac_executable_extensions; do
4820  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4821    ac_cv_path_QFLOW_NTUPLACE4_PATH="$as_dir/$ac_word$ac_exec_ext"
4822    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4823    break 2
4824  fi
4825done
4826  done
4827IFS=$as_save_IFS
4828
4829  ;;
4830esac
4831fi
4832QFLOW_NTUPLACE4_PATH=$ac_cv_path_QFLOW_NTUPLACE4_PATH
4833if test -n "$QFLOW_NTUPLACE4_PATH"; then
4834  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $QFLOW_NTUPLACE4_PATH" >&5
4835$as_echo "$QFLOW_NTUPLACE4_PATH" >&6; }
4836else
4837  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4838$as_echo "no" >&6; }
4839fi
4840
4841
4842
4843fi
4844
4845cat >>confdefs.h <<_ACEOF
4846#define QFLOW_REPLACE_PATH "$QFLOW_REPLACE_PATH"
4847_ACEOF
4848
4849cat >>confdefs.h <<_ACEOF
4850#define QFLOW_NTUPLACE3_PATH "$QFLOW_NTUPLACE3_PATH"
4851_ACEOF
4852
4853cat >>confdefs.h <<_ACEOF
4854#define QFLOW_NTUPLACE4_PATH "$QFLOW_NTUPLACE4_PATH"
4855_ACEOF
4856
4857
4858
4859
4860# Check whether --with-libdir was given.
4861if test "${with_libdir+set}" = set; then :
4862  withval=$with_libdir;
4863   QFLOW_LIB_DIR=$withval
4864
4865else
4866
4867   QFLOW_LIB_DIR="\${prefix}/share/qflow"
4868
4869fi
4870
4871
4872
4873# Check whether --with-bindir was given.
4874if test "${with_bindir+set}" = set; then :
4875  withval=$with_bindir;
4876   QFLOW_BIN_DIR=$withval
4877
4878else
4879
4880   QFLOW_BIN_DIR="\${prefix}/bin"
4881
4882fi
4883
4884
4885# For distributed installs, where the run-time files are installed in a
4886# place that is a temporary staging area, like DESTDIR, but unlike DESTDIR,
4887# the prefix is replaced by the destination directory, rather than appended
4888# to it.
4889DIST_DIR="\${exec_prefix}"
4890
4891# Check whether --with-distdir was given.
4892if test "${with_distdir+set}" = set; then :
4893  withval=$with_distdir;
4894  if test "$withval" = "no" -o "$withval" = "NO" ; then
4895     DIST_DIR="\${exec_prefix}"
4896  else
4897     DIST_DIR=${withval}
4898  fi
4899
4900fi
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917if test "x${ac_cv_path_QFLOW_YOSYS_PATH}" == "x"; then
4918   HAVE_YOSYS=0
4919else
4920   HAVE_YOSYS=1
4921fi
4922
4923
4924
4925if test "x${ac_cv_path_QFLOW_MAGIC_PATH}" == "x"; then
4926   HAVE_MAGIC=0
4927else
4928   HAVE_MAGIC=1
4929fi
4930
4931
4932
4933if test "x${ac_cv_path_QFLOW_NETGEN_PATH}" == "x"; then
4934   HAVE_NETGEN=0
4935else
4936   HAVE_NETGEN=1
4937fi
4938
4939
4940
4941if test "x${ac_cv_path_QFLOW_OPENTIMER_PATH}" == "x"; then
4942   HAVE_OPENTIMER=0
4943else
4944   HAVE_OPENTIMER=1
4945fi
4946
4947
4948
4949if test "x${ac_cv_path_QFLOW_OPENSTA_PATH}" == "x"; then
4950   HAVE_OPENSTA=0
4951else
4952   HAVE_OPENSTA=1
4953fi
4954
4955
4956
4957if test "x${ac_cv_path_QFLOW_GRAYWOLF_PATH}" == "x"; then
4958   HAVE_GRAYWOLF=0
4959else
4960   HAVE_GRAYWOLF=1
4961fi
4962
4963
4964
4965if test "x${ac_cv_path_QFLOW_REPLACE_PATH}" == "x"; then
4966   HAVE_REPLACE=0
4967else
4968   HAVE_REPLACE=1
4969fi
4970
4971
4972
4973if test "x${ac_cv_path_QFLOW_QROUTER_PATH}" == "x"; then
4974   HAVE_QROUTER=0
4975else
4976   HAVE_QROUTER=1
4977fi
4978
4979
4980
4981ac_config_files="$ac_config_files Makefile scripts/Makefile src/Makefile tech/Makefile tech/osu050/Makefile tech/osu035/Makefile tech/osu035_redm4/Makefile tech/osu018/Makefile tech/gscl45nm/Makefile"
4982
4983cat >confcache <<\_ACEOF
4984# This file is a shell script that caches the results of configure
4985# tests run on this system so they can be shared between configure
4986# scripts and configure runs, see configure's option --config-cache.
4987# It is not useful on other systems.  If it contains results you don't
4988# want to keep, you may remove or edit it.
4989#
4990# config.status only pays attention to the cache file if you give it
4991# the --recheck option to rerun configure.
4992#
4993# `ac_cv_env_foo' variables (set or unset) will be overridden when
4994# loading this file, other *unset* `ac_cv_foo' will be assigned the
4995# following values.
4996
4997_ACEOF
4998
4999# The following way of writing the cache mishandles newlines in values,
5000# but we know of no workaround that is simple, portable, and efficient.
5001# So, we kill variables containing newlines.
5002# Ultrix sh set writes to stderr and can't be redirected directly,
5003# and sets the high bit in the cache file unless we assign to the vars.
5004(
5005  for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5006    eval ac_val=\$$ac_var
5007    case $ac_val in #(
5008    *${as_nl}*)
5009      case $ac_var in #(
5010      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5011$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5012      esac
5013      case $ac_var in #(
5014      _ | IFS | as_nl) ;; #(
5015      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5016      *) { eval $ac_var=; unset $ac_var;} ;;
5017      esac ;;
5018    esac
5019  done
5020
5021  (set) 2>&1 |
5022    case $as_nl`(ac_space=' '; set) 2>&1` in #(
5023    *${as_nl}ac_space=\ *)
5024      # `set' does not quote correctly, so add quotes: double-quote
5025      # substitution turns \\\\ into \\, and sed turns \\ into \.
5026      sed -n \
5027	"s/'/'\\\\''/g;
5028	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5029      ;; #(
5030    *)
5031      # `set' quotes correctly as required by POSIX, so do not add quotes.
5032      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5033      ;;
5034    esac |
5035    sort
5036) |
5037  sed '
5038     /^ac_cv_env_/b end
5039     t clear
5040     :clear
5041     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5042     t end
5043     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5044     :end' >>confcache
5045if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5046  if test -w "$cache_file"; then
5047    if test "x$cache_file" != "x/dev/null"; then
5048      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5049$as_echo "$as_me: updating cache $cache_file" >&6;}
5050      if test ! -f "$cache_file" || test -h "$cache_file"; then
5051	cat confcache >"$cache_file"
5052      else
5053        case $cache_file in #(
5054        */* | ?:*)
5055	  mv -f confcache "$cache_file"$$ &&
5056	  mv -f "$cache_file"$$ "$cache_file" ;; #(
5057        *)
5058	  mv -f confcache "$cache_file" ;;
5059	esac
5060      fi
5061    fi
5062  else
5063    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5064$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5065  fi
5066fi
5067rm -f confcache
5068
5069test "x$prefix" = xNONE && prefix=$ac_default_prefix
5070# Let make expand exec_prefix.
5071test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5072
5073# Transform confdefs.h into DEFS.
5074# Protect against shell expansion while executing Makefile rules.
5075# Protect against Makefile macro expansion.
5076#
5077# If the first sed substitution is executed (which looks for macros that
5078# take arguments), then branch to the quote section.  Otherwise,
5079# look for a macro that doesn't take arguments.
5080ac_script='
5081:mline
5082/\\$/{
5083 N
5084 s,\\\n,,
5085 b mline
5086}
5087t clear
5088:clear
5089s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*([^)]*)\)[	 ]*\(.*\)/-D\1=\2/g
5090t quote
5091s/^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)/-D\1=\2/g
5092t quote
5093b any
5094:quote
5095s/[	 `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5096s/\[/\\&/g
5097s/\]/\\&/g
5098s/\$/$$/g
5099H
5100:any
5101${
5102	g
5103	s/^\n//
5104	s/\n/ /g
5105	p
5106}
5107'
5108DEFS=`sed -n "$ac_script" confdefs.h`
5109
5110
5111ac_libobjs=
5112ac_ltlibobjs=
5113U=
5114for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5115  # 1. Remove the extension, and $U if already installed.
5116  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5117  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5118  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
5119  #    will be set to the directory where LIBOBJS objects are built.
5120  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5121  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5122done
5123LIBOBJS=$ac_libobjs
5124
5125LTLIBOBJS=$ac_ltlibobjs
5126
5127
5128
5129: "${CONFIG_STATUS=./config.status}"
5130ac_write_fail=0
5131ac_clean_files_save=$ac_clean_files
5132ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5133{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5134$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5135as_write_fail=0
5136cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5137#! $SHELL
5138# Generated by $as_me.
5139# Run this file to recreate the current configuration.
5140# Compiler output produced by configure, useful for debugging
5141# configure, is in config.log if it exists.
5142
5143debug=false
5144ac_cs_recheck=false
5145ac_cs_silent=false
5146
5147SHELL=\${CONFIG_SHELL-$SHELL}
5148export SHELL
5149_ASEOF
5150cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5151## -------------------- ##
5152## M4sh Initialization. ##
5153## -------------------- ##
5154
5155# Be more Bourne compatible
5156DUALCASE=1; export DUALCASE # for MKS sh
5157if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5158  emulate sh
5159  NULLCMD=:
5160  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5161  # is contrary to our usage.  Disable this feature.
5162  alias -g '${1+"$@"}'='"$@"'
5163  setopt NO_GLOB_SUBST
5164else
5165  case `(set -o) 2>/dev/null` in #(
5166  *posix*) :
5167    set -o posix ;; #(
5168  *) :
5169     ;;
5170esac
5171fi
5172
5173
5174as_nl='
5175'
5176export as_nl
5177# Printing a long string crashes Solaris 7 /usr/bin/printf.
5178as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5179as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5180as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5181# Prefer a ksh shell builtin over an external printf program on Solaris,
5182# but without wasting forks for bash or zsh.
5183if test -z "$BASH_VERSION$ZSH_VERSION" \
5184    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5185  as_echo='print -r --'
5186  as_echo_n='print -rn --'
5187elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5188  as_echo='printf %s\n'
5189  as_echo_n='printf %s'
5190else
5191  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5192    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5193    as_echo_n='/usr/ucb/echo -n'
5194  else
5195    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5196    as_echo_n_body='eval
5197      arg=$1;
5198      case $arg in #(
5199      *"$as_nl"*)
5200	expr "X$arg" : "X\\(.*\\)$as_nl";
5201	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5202      esac;
5203      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5204    '
5205    export as_echo_n_body
5206    as_echo_n='sh -c $as_echo_n_body as_echo'
5207  fi
5208  export as_echo_body
5209  as_echo='sh -c $as_echo_body as_echo'
5210fi
5211
5212# The user is always right.
5213if test "${PATH_SEPARATOR+set}" != set; then
5214  PATH_SEPARATOR=:
5215  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5216    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5217      PATH_SEPARATOR=';'
5218  }
5219fi
5220
5221
5222# IFS
5223# We need space, tab and new line, in precisely that order.  Quoting is
5224# there to prevent editors from complaining about space-tab.
5225# (If _AS_PATH_WALK were called with IFS unset, it would disable word
5226# splitting by setting IFS to empty value.)
5227IFS=" ""	$as_nl"
5228
5229# Find who we are.  Look in the path if we contain no directory separator.
5230as_myself=
5231case $0 in #((
5232  *[\\/]* ) as_myself=$0 ;;
5233  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5234for as_dir in $PATH
5235do
5236  IFS=$as_save_IFS
5237  test -z "$as_dir" && as_dir=.
5238    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5239  done
5240IFS=$as_save_IFS
5241
5242     ;;
5243esac
5244# We did not find ourselves, most probably we were run as `sh COMMAND'
5245# in which case we are not to be found in the path.
5246if test "x$as_myself" = x; then
5247  as_myself=$0
5248fi
5249if test ! -f "$as_myself"; then
5250  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5251  exit 1
5252fi
5253
5254# Unset variables that we do not need and which cause bugs (e.g. in
5255# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
5256# suppresses any "Segmentation fault" message there.  '((' could
5257# trigger a bug in pdksh 5.2.14.
5258for as_var in BASH_ENV ENV MAIL MAILPATH
5259do eval test x\${$as_var+set} = xset \
5260  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5261done
5262PS1='$ '
5263PS2='> '
5264PS4='+ '
5265
5266# NLS nuisances.
5267LC_ALL=C
5268export LC_ALL
5269LANGUAGE=C
5270export LANGUAGE
5271
5272# CDPATH.
5273(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5274
5275
5276# as_fn_error STATUS ERROR [LINENO LOG_FD]
5277# ----------------------------------------
5278# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5279# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5280# script with STATUS, using 1 if that was 0.
5281as_fn_error ()
5282{
5283  as_status=$1; test $as_status -eq 0 && as_status=1
5284  if test "$4"; then
5285    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5286    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5287  fi
5288  $as_echo "$as_me: error: $2" >&2
5289  as_fn_exit $as_status
5290} # as_fn_error
5291
5292
5293# as_fn_set_status STATUS
5294# -----------------------
5295# Set $? to STATUS, without forking.
5296as_fn_set_status ()
5297{
5298  return $1
5299} # as_fn_set_status
5300
5301# as_fn_exit STATUS
5302# -----------------
5303# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5304as_fn_exit ()
5305{
5306  set +e
5307  as_fn_set_status $1
5308  exit $1
5309} # as_fn_exit
5310
5311# as_fn_unset VAR
5312# ---------------
5313# Portably unset VAR.
5314as_fn_unset ()
5315{
5316  { eval $1=; unset $1;}
5317}
5318as_unset=as_fn_unset
5319# as_fn_append VAR VALUE
5320# ----------------------
5321# Append the text in VALUE to the end of the definition contained in VAR. Take
5322# advantage of any shell optimizations that allow amortized linear growth over
5323# repeated appends, instead of the typical quadratic growth present in naive
5324# implementations.
5325if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5326  eval 'as_fn_append ()
5327  {
5328    eval $1+=\$2
5329  }'
5330else
5331  as_fn_append ()
5332  {
5333    eval $1=\$$1\$2
5334  }
5335fi # as_fn_append
5336
5337# as_fn_arith ARG...
5338# ------------------
5339# Perform arithmetic evaluation on the ARGs, and store the result in the
5340# global $as_val. Take advantage of shells that can avoid forks. The arguments
5341# must be portable across $(()) and expr.
5342if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5343  eval 'as_fn_arith ()
5344  {
5345    as_val=$(( $* ))
5346  }'
5347else
5348  as_fn_arith ()
5349  {
5350    as_val=`expr "$@" || test $? -eq 1`
5351  }
5352fi # as_fn_arith
5353
5354
5355if expr a : '\(a\)' >/dev/null 2>&1 &&
5356   test "X`expr 00001 : '.*\(...\)'`" = X001; then
5357  as_expr=expr
5358else
5359  as_expr=false
5360fi
5361
5362if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5363  as_basename=basename
5364else
5365  as_basename=false
5366fi
5367
5368if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5369  as_dirname=dirname
5370else
5371  as_dirname=false
5372fi
5373
5374as_me=`$as_basename -- "$0" ||
5375$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5376	 X"$0" : 'X\(//\)$' \| \
5377	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5378$as_echo X/"$0" |
5379    sed '/^.*\/\([^/][^/]*\)\/*$/{
5380	    s//\1/
5381	    q
5382	  }
5383	  /^X\/\(\/\/\)$/{
5384	    s//\1/
5385	    q
5386	  }
5387	  /^X\/\(\/\).*/{
5388	    s//\1/
5389	    q
5390	  }
5391	  s/.*/./; q'`
5392
5393# Avoid depending upon Character Ranges.
5394as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5395as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5396as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5397as_cr_digits='0123456789'
5398as_cr_alnum=$as_cr_Letters$as_cr_digits
5399
5400ECHO_C= ECHO_N= ECHO_T=
5401case `echo -n x` in #(((((
5402-n*)
5403  case `echo 'xy\c'` in
5404  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
5405  xy)  ECHO_C='\c';;
5406  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
5407       ECHO_T='	';;
5408  esac;;
5409*)
5410  ECHO_N='-n';;
5411esac
5412
5413rm -f conf$$ conf$$.exe conf$$.file
5414if test -d conf$$.dir; then
5415  rm -f conf$$.dir/conf$$.file
5416else
5417  rm -f conf$$.dir
5418  mkdir conf$$.dir 2>/dev/null
5419fi
5420if (echo >conf$$.file) 2>/dev/null; then
5421  if ln -s conf$$.file conf$$ 2>/dev/null; then
5422    as_ln_s='ln -s'
5423    # ... but there are two gotchas:
5424    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5425    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5426    # In both cases, we have to default to `cp -pR'.
5427    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5428      as_ln_s='cp -pR'
5429  elif ln conf$$.file conf$$ 2>/dev/null; then
5430    as_ln_s=ln
5431  else
5432    as_ln_s='cp -pR'
5433  fi
5434else
5435  as_ln_s='cp -pR'
5436fi
5437rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5438rmdir conf$$.dir 2>/dev/null
5439
5440
5441# as_fn_mkdir_p
5442# -------------
5443# Create "$as_dir" as a directory, including parents if necessary.
5444as_fn_mkdir_p ()
5445{
5446
5447  case $as_dir in #(
5448  -*) as_dir=./$as_dir;;
5449  esac
5450  test -d "$as_dir" || eval $as_mkdir_p || {
5451    as_dirs=
5452    while :; do
5453      case $as_dir in #(
5454      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5455      *) as_qdir=$as_dir;;
5456      esac
5457      as_dirs="'$as_qdir' $as_dirs"
5458      as_dir=`$as_dirname -- "$as_dir" ||
5459$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5460	 X"$as_dir" : 'X\(//\)[^/]' \| \
5461	 X"$as_dir" : 'X\(//\)$' \| \
5462	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5463$as_echo X"$as_dir" |
5464    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5465	    s//\1/
5466	    q
5467	  }
5468	  /^X\(\/\/\)[^/].*/{
5469	    s//\1/
5470	    q
5471	  }
5472	  /^X\(\/\/\)$/{
5473	    s//\1/
5474	    q
5475	  }
5476	  /^X\(\/\).*/{
5477	    s//\1/
5478	    q
5479	  }
5480	  s/.*/./; q'`
5481      test -d "$as_dir" && break
5482    done
5483    test -z "$as_dirs" || eval "mkdir $as_dirs"
5484  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5485
5486
5487} # as_fn_mkdir_p
5488if mkdir -p . 2>/dev/null; then
5489  as_mkdir_p='mkdir -p "$as_dir"'
5490else
5491  test -d ./-p && rmdir ./-p
5492  as_mkdir_p=false
5493fi
5494
5495
5496# as_fn_executable_p FILE
5497# -----------------------
5498# Test if FILE is an executable regular file.
5499as_fn_executable_p ()
5500{
5501  test -f "$1" && test -x "$1"
5502} # as_fn_executable_p
5503as_test_x='test -x'
5504as_executable_p=as_fn_executable_p
5505
5506# Sed expression to map a string onto a valid CPP name.
5507as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5508
5509# Sed expression to map a string onto a valid variable name.
5510as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5511
5512
5513exec 6>&1
5514## ----------------------------------- ##
5515## Main body of $CONFIG_STATUS script. ##
5516## ----------------------------------- ##
5517_ASEOF
5518test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5519
5520cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5521# Save the log message, to keep $0 and so on meaningful, and to
5522# report actual input values of CONFIG_FILES etc. instead of their
5523# values after options handling.
5524ac_log="
5525This file was extended by $as_me, which was
5526generated by GNU Autoconf 2.69.  Invocation command line was
5527
5528  CONFIG_FILES    = $CONFIG_FILES
5529  CONFIG_HEADERS  = $CONFIG_HEADERS
5530  CONFIG_LINKS    = $CONFIG_LINKS
5531  CONFIG_COMMANDS = $CONFIG_COMMANDS
5532  $ $0 $@
5533
5534on `(hostname || uname -n) 2>/dev/null | sed 1q`
5535"
5536
5537_ACEOF
5538
5539case $ac_config_files in *"
5540"*) set x $ac_config_files; shift; ac_config_files=$*;;
5541esac
5542
5543
5544
5545cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5546# Files that config.status was made for.
5547config_files="$ac_config_files"
5548
5549_ACEOF
5550
5551cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5552ac_cs_usage="\
5553\`$as_me' instantiates files and other configuration actions
5554from templates according to the current configuration.  Unless the files
5555and actions are specified as TAGs, all are instantiated by default.
5556
5557Usage: $0 [OPTION]... [TAG]...
5558
5559  -h, --help       print this help, then exit
5560  -V, --version    print version number and configuration settings, then exit
5561      --config     print configuration, then exit
5562  -q, --quiet, --silent
5563                   do not print progress messages
5564  -d, --debug      don't remove temporary files
5565      --recheck    update $as_me by reconfiguring in the same conditions
5566      --file=FILE[:TEMPLATE]
5567                   instantiate the configuration file FILE
5568
5569Configuration files:
5570$config_files
5571
5572Report bugs to the package provider."
5573
5574_ACEOF
5575cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5576ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5577ac_cs_version="\\
5578config.status
5579configured by $0, generated by GNU Autoconf 2.69,
5580  with options \\"\$ac_cs_config\\"
5581
5582Copyright (C) 2012 Free Software Foundation, Inc.
5583This config.status script is free software; the Free Software Foundation
5584gives unlimited permission to copy, distribute and modify it."
5585
5586ac_pwd='$ac_pwd'
5587srcdir='$srcdir'
5588INSTALL='$INSTALL'
5589test -n "\$AWK" || AWK=awk
5590_ACEOF
5591
5592cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5593# The default lists apply if the user does not specify any file.
5594ac_need_defaults=:
5595while test $# != 0
5596do
5597  case $1 in
5598  --*=?*)
5599    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5600    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5601    ac_shift=:
5602    ;;
5603  --*=)
5604    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5605    ac_optarg=
5606    ac_shift=:
5607    ;;
5608  *)
5609    ac_option=$1
5610    ac_optarg=$2
5611    ac_shift=shift
5612    ;;
5613  esac
5614
5615  case $ac_option in
5616  # Handling of the options.
5617  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5618    ac_cs_recheck=: ;;
5619  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5620    $as_echo "$ac_cs_version"; exit ;;
5621  --config | --confi | --conf | --con | --co | --c )
5622    $as_echo "$ac_cs_config"; exit ;;
5623  --debug | --debu | --deb | --de | --d | -d )
5624    debug=: ;;
5625  --file | --fil | --fi | --f )
5626    $ac_shift
5627    case $ac_optarg in
5628    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5629    '') as_fn_error $? "missing file argument" ;;
5630    esac
5631    as_fn_append CONFIG_FILES " '$ac_optarg'"
5632    ac_need_defaults=false;;
5633  --he | --h |  --help | --hel | -h )
5634    $as_echo "$ac_cs_usage"; exit ;;
5635  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5636  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5637    ac_cs_silent=: ;;
5638
5639  # This is an error.
5640  -*) as_fn_error $? "unrecognized option: \`$1'
5641Try \`$0 --help' for more information." ;;
5642
5643  *) as_fn_append ac_config_targets " $1"
5644     ac_need_defaults=false ;;
5645
5646  esac
5647  shift
5648done
5649
5650ac_configure_extra_args=
5651
5652if $ac_cs_silent; then
5653  exec 6>/dev/null
5654  ac_configure_extra_args="$ac_configure_extra_args --silent"
5655fi
5656
5657_ACEOF
5658cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5659if \$ac_cs_recheck; then
5660  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5661  shift
5662  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5663  CONFIG_SHELL='$SHELL'
5664  export CONFIG_SHELL
5665  exec "\$@"
5666fi
5667
5668_ACEOF
5669cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5670exec 5>>config.log
5671{
5672  echo
5673  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5674## Running $as_me. ##
5675_ASBOX
5676  $as_echo "$ac_log"
5677} >&5
5678
5679_ACEOF
5680cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5681_ACEOF
5682
5683cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5684
5685# Handling of arguments.
5686for ac_config_target in $ac_config_targets
5687do
5688  case $ac_config_target in
5689    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5690    "scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
5691    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5692    "tech/Makefile") CONFIG_FILES="$CONFIG_FILES tech/Makefile" ;;
5693    "tech/osu050/Makefile") CONFIG_FILES="$CONFIG_FILES tech/osu050/Makefile" ;;
5694    "tech/osu035/Makefile") CONFIG_FILES="$CONFIG_FILES tech/osu035/Makefile" ;;
5695    "tech/osu035_redm4/Makefile") CONFIG_FILES="$CONFIG_FILES tech/osu035_redm4/Makefile" ;;
5696    "tech/osu018/Makefile") CONFIG_FILES="$CONFIG_FILES tech/osu018/Makefile" ;;
5697    "tech/gscl45nm/Makefile") CONFIG_FILES="$CONFIG_FILES tech/gscl45nm/Makefile" ;;
5698
5699  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5700  esac
5701done
5702
5703
5704# If the user did not use the arguments to specify the items to instantiate,
5705# then the envvar interface is used.  Set only those that are not.
5706# We use the long form for the default assignment because of an extremely
5707# bizarre bug on SunOS 4.1.3.
5708if $ac_need_defaults; then
5709  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5710fi
5711
5712# Have a temporary directory for convenience.  Make it in the build tree
5713# simply because there is no reason against having it here, and in addition,
5714# creating and moving files from /tmp can sometimes cause problems.
5715# Hook for its removal unless debugging.
5716# Note that there is a small window in which the directory will not be cleaned:
5717# after its creation but before its name has been assigned to `$tmp'.
5718$debug ||
5719{
5720  tmp= ac_tmp=
5721  trap 'exit_status=$?
5722  : "${ac_tmp:=$tmp}"
5723  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5724' 0
5725  trap 'as_fn_exit 1' 1 2 13 15
5726}
5727# Create a (secure) tmp directory for tmp files.
5728
5729{
5730  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5731  test -d "$tmp"
5732}  ||
5733{
5734  tmp=./conf$$-$RANDOM
5735  (umask 077 && mkdir "$tmp")
5736} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5737ac_tmp=$tmp
5738
5739# Set up the scripts for CONFIG_FILES section.
5740# No need to generate them if there are no CONFIG_FILES.
5741# This happens for instance with `./config.status config.h'.
5742if test -n "$CONFIG_FILES"; then
5743
5744
5745ac_cr=`echo X | tr X '\015'`
5746# On cygwin, bash can eat \r inside `` if the user requested igncr.
5747# But we know of no other shell where ac_cr would be empty at this
5748# point, so we can use a bashism as a fallback.
5749if test "x$ac_cr" = x; then
5750  eval ac_cr=\$\'\\r\'
5751fi
5752ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5753if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5754  ac_cs_awk_cr='\\r'
5755else
5756  ac_cs_awk_cr=$ac_cr
5757fi
5758
5759echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5760_ACEOF
5761
5762
5763{
5764  echo "cat >conf$$subs.awk <<_ACEOF" &&
5765  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5766  echo "_ACEOF"
5767} >conf$$subs.sh ||
5768  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5769ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5770ac_delim='%!_!# '
5771for ac_last_try in false false false false false :; do
5772  . ./conf$$subs.sh ||
5773    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5774
5775  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5776  if test $ac_delim_n = $ac_delim_num; then
5777    break
5778  elif $ac_last_try; then
5779    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5780  else
5781    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5782  fi
5783done
5784rm -f conf$$subs.sh
5785
5786cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5787cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5788_ACEOF
5789sed -n '
5790h
5791s/^/S["/; s/!.*/"]=/
5792p
5793g
5794s/^[^!]*!//
5795:repl
5796t repl
5797s/'"$ac_delim"'$//
5798t delim
5799:nl
5800h
5801s/\(.\{148\}\)..*/\1/
5802t more1
5803s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5804p
5805n
5806b repl
5807:more1
5808s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5809p
5810g
5811s/.\{148\}//
5812t nl
5813:delim
5814h
5815s/\(.\{148\}\)..*/\1/
5816t more2
5817s/["\\]/\\&/g; s/^/"/; s/$/"/
5818p
5819b
5820:more2
5821s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5822p
5823g
5824s/.\{148\}//
5825t delim
5826' <conf$$subs.awk | sed '
5827/^[^""]/{
5828  N
5829  s/\n//
5830}
5831' >>$CONFIG_STATUS || ac_write_fail=1
5832rm -f conf$$subs.awk
5833cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5834_ACAWK
5835cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5836  for (key in S) S_is_set[key] = 1
5837  FS = ""
5838
5839}
5840{
5841  line = $ 0
5842  nfields = split(line, field, "@")
5843  substed = 0
5844  len = length(field[1])
5845  for (i = 2; i < nfields; i++) {
5846    key = field[i]
5847    keylen = length(key)
5848    if (S_is_set[key]) {
5849      value = S[key]
5850      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5851      len += length(value) + length(field[++i])
5852      substed = 1
5853    } else
5854      len += 1 + keylen
5855  }
5856
5857  print line
5858}
5859
5860_ACAWK
5861_ACEOF
5862cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5863if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5864  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5865else
5866  cat
5867fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5868  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5869_ACEOF
5870
5871# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5872# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5873# trailing colons and then remove the whole line if VPATH becomes empty
5874# (actually we leave an empty line to preserve line numbers).
5875if test "x$srcdir" = x.; then
5876  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5877h
5878s///
5879s/^/:/
5880s/[	 ]*$/:/
5881s/:\$(srcdir):/:/g
5882s/:\${srcdir}:/:/g
5883s/:@srcdir@:/:/g
5884s/^:*//
5885s/:*$//
5886x
5887s/\(=[	 ]*\).*/\1/
5888G
5889s/\n//
5890s/^[^=]*=[	 ]*$//
5891}'
5892fi
5893
5894cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5895fi # test -n "$CONFIG_FILES"
5896
5897
5898eval set X "  :F $CONFIG_FILES      "
5899shift
5900for ac_tag
5901do
5902  case $ac_tag in
5903  :[FHLC]) ac_mode=$ac_tag; continue;;
5904  esac
5905  case $ac_mode$ac_tag in
5906  :[FHL]*:*);;
5907  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5908  :[FH]-) ac_tag=-:-;;
5909  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5910  esac
5911  ac_save_IFS=$IFS
5912  IFS=:
5913  set x $ac_tag
5914  IFS=$ac_save_IFS
5915  shift
5916  ac_file=$1
5917  shift
5918
5919  case $ac_mode in
5920  :L) ac_source=$1;;
5921  :[FH])
5922    ac_file_inputs=
5923    for ac_f
5924    do
5925      case $ac_f in
5926      -) ac_f="$ac_tmp/stdin";;
5927      *) # Look for the file first in the build tree, then in the source tree
5928	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5929	 # because $ac_f cannot contain `:'.
5930	 test -f "$ac_f" ||
5931	   case $ac_f in
5932	   [\\/$]*) false;;
5933	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5934	   esac ||
5935	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5936      esac
5937      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5938      as_fn_append ac_file_inputs " '$ac_f'"
5939    done
5940
5941    # Let's still pretend it is `configure' which instantiates (i.e., don't
5942    # use $as_me), people would be surprised to read:
5943    #    /* config.h.  Generated by config.status.  */
5944    configure_input='Generated from '`
5945	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5946	`' by configure.'
5947    if test x"$ac_file" != x-; then
5948      configure_input="$ac_file.  $configure_input"
5949      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5950$as_echo "$as_me: creating $ac_file" >&6;}
5951    fi
5952    # Neutralize special characters interpreted by sed in replacement strings.
5953    case $configure_input in #(
5954    *\&* | *\|* | *\\* )
5955       ac_sed_conf_input=`$as_echo "$configure_input" |
5956       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5957    *) ac_sed_conf_input=$configure_input;;
5958    esac
5959
5960    case $ac_tag in
5961    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5962      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5963    esac
5964    ;;
5965  esac
5966
5967  ac_dir=`$as_dirname -- "$ac_file" ||
5968$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5969	 X"$ac_file" : 'X\(//\)[^/]' \| \
5970	 X"$ac_file" : 'X\(//\)$' \| \
5971	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5972$as_echo X"$ac_file" |
5973    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5974	    s//\1/
5975	    q
5976	  }
5977	  /^X\(\/\/\)[^/].*/{
5978	    s//\1/
5979	    q
5980	  }
5981	  /^X\(\/\/\)$/{
5982	    s//\1/
5983	    q
5984	  }
5985	  /^X\(\/\).*/{
5986	    s//\1/
5987	    q
5988	  }
5989	  s/.*/./; q'`
5990  as_dir="$ac_dir"; as_fn_mkdir_p
5991  ac_builddir=.
5992
5993case "$ac_dir" in
5994.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5995*)
5996  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5997  # A ".." for each directory in $ac_dir_suffix.
5998  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5999  case $ac_top_builddir_sub in
6000  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6001  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6002  esac ;;
6003esac
6004ac_abs_top_builddir=$ac_pwd
6005ac_abs_builddir=$ac_pwd$ac_dir_suffix
6006# for backward compatibility:
6007ac_top_builddir=$ac_top_build_prefix
6008
6009case $srcdir in
6010  .)  # We are building in place.
6011    ac_srcdir=.
6012    ac_top_srcdir=$ac_top_builddir_sub
6013    ac_abs_top_srcdir=$ac_pwd ;;
6014  [\\/]* | ?:[\\/]* )  # Absolute name.
6015    ac_srcdir=$srcdir$ac_dir_suffix;
6016    ac_top_srcdir=$srcdir
6017    ac_abs_top_srcdir=$srcdir ;;
6018  *) # Relative name.
6019    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6020    ac_top_srcdir=$ac_top_build_prefix$srcdir
6021    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6022esac
6023ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6024
6025
6026  case $ac_mode in
6027  :F)
6028  #
6029  # CONFIG_FILE
6030  #
6031
6032  case $INSTALL in
6033  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6034  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6035  esac
6036_ACEOF
6037
6038cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6039# If the template does not know about datarootdir, expand it.
6040# FIXME: This hack should be removed a few years after 2.60.
6041ac_datarootdir_hack=; ac_datarootdir_seen=
6042ac_sed_dataroot='
6043/datarootdir/ {
6044  p
6045  q
6046}
6047/@datadir@/p
6048/@docdir@/p
6049/@infodir@/p
6050/@localedir@/p
6051/@mandir@/p'
6052case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6053*datarootdir*) ac_datarootdir_seen=yes;;
6054*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6055  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6056$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6057_ACEOF
6058cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6059  ac_datarootdir_hack='
6060  s&@datadir@&$datadir&g
6061  s&@docdir@&$docdir&g
6062  s&@infodir@&$infodir&g
6063  s&@localedir@&$localedir&g
6064  s&@mandir@&$mandir&g
6065  s&\\\${datarootdir}&$datarootdir&g' ;;
6066esac
6067_ACEOF
6068
6069# Neutralize VPATH when `$srcdir' = `.'.
6070# Shell code in configure.ac might set extrasub.
6071# FIXME: do we really want to maintain this feature?
6072cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6073ac_sed_extra="$ac_vpsub
6074$extrasub
6075_ACEOF
6076cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6077:t
6078/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6079s|@configure_input@|$ac_sed_conf_input|;t t
6080s&@top_builddir@&$ac_top_builddir_sub&;t t
6081s&@top_build_prefix@&$ac_top_build_prefix&;t t
6082s&@srcdir@&$ac_srcdir&;t t
6083s&@abs_srcdir@&$ac_abs_srcdir&;t t
6084s&@top_srcdir@&$ac_top_srcdir&;t t
6085s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6086s&@builddir@&$ac_builddir&;t t
6087s&@abs_builddir@&$ac_abs_builddir&;t t
6088s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6089s&@INSTALL@&$ac_INSTALL&;t t
6090$ac_datarootdir_hack
6091"
6092eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6093  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6094
6095test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6096  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6097  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
6098      "$ac_tmp/out"`; test -z "$ac_out"; } &&
6099  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6100which seems to be undefined.  Please make sure it is defined" >&5
6101$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6102which seems to be undefined.  Please make sure it is defined" >&2;}
6103
6104  rm -f "$ac_tmp/stdin"
6105  case $ac_file in
6106  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6107  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6108  esac \
6109  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6110 ;;
6111
6112
6113
6114  esac
6115
6116done # for ac_tag
6117
6118
6119as_fn_exit 0
6120_ACEOF
6121ac_clean_files=$ac_clean_files_save
6122
6123test $ac_write_fail = 0 ||
6124  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6125
6126
6127# configure is writing to config.log, and then calls config.status.
6128# config.status does its own redirection, appending to config.log.
6129# Unfortunately, on DOS this fails, as config.log is still kept open
6130# by configure, so config.status won't be able to write to it; its
6131# output is simply discarded.  So we exec the FD to /dev/null,
6132# effectively closing config.log, so it can be properly (re)opened and
6133# appended to by config.status.  When coming back to configure, we
6134# need to make the FD available again.
6135if test "$no_create" != yes; then
6136  ac_cs_success=:
6137  ac_config_status_args=
6138  test "$silent" = yes &&
6139    ac_config_status_args="$ac_config_status_args --quiet"
6140  exec 5>/dev/null
6141  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6142  exec 5>>config.log
6143  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6144  # would make configure fail if this is the last instruction.
6145  $ac_cs_success || as_fn_exit 1
6146fi
6147if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6148  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6149$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6150fi
6151
6152
6153echo ""
6154echo "Configuration results:"
6155echo "----------------------------------------------------"
6156echo ""
6157
6158FATAL=0
6159WARN=0
6160if test "x${ac_cv_path_QFLOW_YOSYS_PATH}" == "x"; then
6161   FATAL=1
6162   echo "ERROR: yosys not found.  Use --with-yosys=<DIR>"
6163else
6164   echo "Using yosys verilog synthesis tool at: ${ac_cv_path_QFLOW_YOSYS_PATH}"
6165fi
6166
6167# Make sure one placement tool exists
6168if test "x${ac_cv_path_QFLOW_GRAYWOLF_PATH}" == "x" -a "x${ac_cv_path_QFLOW_REPLACE_PATH}" == "x"; then
6169   FATAL=1
6170   echo "ERROR: No placement tool found.  Need either graywolf or RePlAce."
6171fi
6172
6173if test "x${ac_cv_path_QFLOW_GRAYWOLF_PATH}" == "x"; then
6174   echo "GrayWolf not found.  Use --with-graywolf=<DIR> (optional)"
6175else
6176   echo "Using graywolf placement tool at: ${ac_cv_path_QFLOW_GRAYWOLF_PATH}"
6177fi
6178
6179if test "x${ac_cv_path_QFLOW_REPLACE_PATH}" == "x"; then
6180   echo "RePlAce not found.  Use --with-replace=<DIR> (optional)"
6181else
6182   echo "Using RePlAce placement tool at: ${ac_cv_path_QFLOW_REPLACE_PATH}"
6183fi
6184
6185if test "x${ac_cv_path_QFLOW_QROUTER_PATH}" == "x"; then
6186   echo "ERROR: qrouter not found.  Use --with-qrouter=<DIR>"
6187   FATAL=1
6188else
6189   echo "Using qrouter detail route tool at: ${ac_cv_path_QFLOW_QROUTER_PATH}"
6190fi
6191
6192if test "x${ac_cv_path_QFLOW_MAGIC_PATH}" == "x"; then
6193   WARN=1
6194   echo "WARNING: Magic 8.X layout tool not found.  Use --with-magic=<DIR>"
6195else
6196   echo "Using Magic layout tool at: ${ac_cv_path_QFLOW_MAGIC_PATH}"
6197fi
6198
6199if test "x${ac_cv_path_QFLOW_NETGEN_PATH}" == "x"; then
6200   WARN=1
6201   echo "WARNING: Netgen LVS tool not found.  Use --with-netgen=<DIR>"
6202else
6203   echo "Using Netgen LVS tool at: ${ac_cv_path_QFLOW_NETGEN_PATH}"
6204fi
6205
6206echo "Using Vesta STA tool (internal)"
6207
6208if test "x${ac_cv_path_QFLOW_OPENTIMER_PATH}" == "x"; then
6209   echo "OpenTimer not found.  Use --with-opentimer=<DIR> (optional)"
6210else
6211   echo "Using OpenTimer static timing analysys tool at: ${ac_cv_path_QFLOW_OPENTIMER_PATH}"
6212fi
6213
6214if test "x${ac_cv_path_QFLOW_OPENSTA_PATH}" == "x"; then
6215   echo "OpenSTA not found.  Use --with-opensta=<DIR> (optional)"
6216else
6217   echo "Using OpenSTA static timing analysys tool at: ${ac_cv_path_QFLOW_OPENSTA_PATH}"
6218fi
6219
6220if test "x${HAVE_PYTHON3}" == "x"; then
6221   WARN=1
6222   echo "No python3 on system, will not install qflow GUI or spi2xspice.py"
6223fi
6224
6225echo "----------------------------------------------------"
6226
6227if test x$WARN = x1; then
6228   echo "Some tools needed for a complete flow were not found.  This will result in"
6229   echo "an incomplete synthesis flow."
6230   echo ""
6231fi
6232
6233if test x$FATAL = x1; then
6234   echo "One or more mandatory tools needed for a basic synthesis flow were not found."
6235   echo "This will result in an unusable synthesis flow.  Please check the configure"
6236   echo "options with \"./configure --help\" and ensure that all tools are available"
6237   echo "to qflow for a complete synthesis flow."
6238   echo ""
6239fi
6240
6241if test x$WARN = x0 -a x$FATAL = x0; then
6242   echo "All tools needed for complete flow have been found."
6243   echo "Run \"make\" followed by \"sudo make install\" to install qflow."
6244   echo ""
6245fi
6246
6247echo "----------------------------------------------------"
6248