blob: 4b226b2b640b9beb4f8979b3e0b765af21022682 [file] [log] [blame]
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69 for open_pdks 1.0.
4#
5# Report bugs to <github.com/RTimothyEdwards/open_pdks>.
6#
7#
8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9#
10#
11# This configure script is free software; the Free Software Foundation
12# gives unlimited permission to copy, distribute and modify it.
13## -------------------- ##
14## M4sh Initialization. ##
15## -------------------- ##
16
17# Be more Bourne compatible
18DUALCASE=1; export DUALCASE # for MKS sh
19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32esac
33fi
34
35
36as_nl='
37'
38export as_nl
39# Printing a long string crashes Solaris 7 /usr/bin/printf.
40as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43# Prefer a ksh shell builtin over an external printf program on Solaris,
44# but without wasting forks for bash or zsh.
45if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72fi
73
74# The user is always right.
75if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81fi
82
83
84# IFS
85# We need space, tab and new line, in precisely that order. Quoting is
86# there to prevent editors from complaining about space-tab.
87# (If _AS_PATH_WALK were called with IFS unset, it would disable word
88# splitting by setting IFS to empty value.)
89IFS=" "" $as_nl"
90
91# Find who we are. Look in the path if we contain no directory separator.
92as_myself=
93case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96for as_dir in $PATH
97do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102IFS=$as_save_IFS
103
104 ;;
105esac
106# We did not find ourselves, most probably we were run as `sh COMMAND'
107# in which case we are not to be found in the path.
108if test "x$as_myself" = x; then
109 as_myself=$0
110fi
111if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114fi
115
116# Unset variables that we do not need and which cause bugs (e.g. in
117# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118# suppresses any "Segmentation fault" message there. '((' could
119# trigger a bug in pdksh 5.2.14.
120for as_var in BASH_ENV ENV MAIL MAILPATH
121do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123done
124PS1='$ '
125PS2='> '
126PS4='+ '
127
128# NLS nuisances.
129LC_ALL=C
130export LC_ALL
131LANGUAGE=C
132export LANGUAGE
133
134# CDPATH.
135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137# Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142# neutralization value for shells without unset; and this also
143# works around shells that cannot unset nonexistent variables.
144# Preserve -v and -x to the replacement shell.
145BASH_ENV=/dev/null
146ENV=/dev/null
147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153esac
154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155# Admittedly, this is quite paranoid, since all the known shells bail
156# out after a failed `exec'.
157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158as_fn_exit 255
159 fi
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
175 ;;
176esac
177fi
178"
179 as_required="as_fn_return () { (exit \$1); }
180as_fn_success () { as_fn_return 0; }
181as_fn_failure () { as_fn_return 1; }
182as_fn_ret_success () { return 0; }
183as_fn_ret_failure () { return 1; }
184
185exitcode=0
186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191
192else
193 exitcode=1; echo positional parameters were not saved.
194fi
195test x\$exitcode = x0 || exit 1
196test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
Tim Edwards665c3fd2021-05-02 20:20:27 -0400200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201test \$(( 1 + 1 )) = 2 || exit 1"
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204else
205 as_have_required=no
206fi
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208
209else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211as_found=false
212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213do
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
218 /*)
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
227fi
228fi
229 done;;
230 esac
231 as_found=false
232done
233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236fi; }
237IFS=$as_save_IFS
238
239
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243# neutralization value for shells without unset; and this also
244# works around shells that cannot unset nonexistent variables.
245# Preserve -v and -x to the replacement shell.
246BASH_ENV=/dev/null
247ENV=/dev/null
248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254esac
255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256# Admittedly, this is quite paranoid, since all the known shells bail
257# out after a failed `exec'.
258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259exit 255
260fi
261
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270$0: github.com/RTimothyEdwards/open_pdks about your system,
271$0: including any error possibly output before this
272$0: message. Then install a modern shell, or manually run
273$0: the script under such a shell if you do have one."
274 fi
275 exit 1
276fi
277fi
278fi
279SHELL=${CONFIG_SHELL-/bin/sh}
280export SHELL
281# Unset more variables known to interfere with behavior of common tools.
282CLICOLOR_FORCE= GREP_OPTIONS=
283unset CLICOLOR_FORCE GREP_OPTIONS
284
285## --------------------- ##
286## M4sh Shell Functions. ##
287## --------------------- ##
288# as_fn_unset VAR
289# ---------------
290# Portably unset VAR.
291as_fn_unset ()
292{
293 { eval $1=; unset $1;}
294}
295as_unset=as_fn_unset
296
297# as_fn_set_status STATUS
298# -----------------------
299# Set $? to STATUS, without forking.
300as_fn_set_status ()
301{
302 return $1
303} # as_fn_set_status
304
305# as_fn_exit STATUS
306# -----------------
307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308as_fn_exit ()
309{
310 set +e
311 as_fn_set_status $1
312 exit $1
313} # as_fn_exit
314
315# as_fn_mkdir_p
316# -------------
317# Create "$as_dir" as a directory, including parents if necessary.
318as_fn_mkdir_p ()
319{
320
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337$as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
340 q
341 }
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
344 q
345 }
346 /^X\(\/\/\)$/{
347 s//\1/
348 q
349 }
350 /^X\(\/\).*/{
351 s//\1/
352 q
353 }
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359
360
361} # as_fn_mkdir_p
362
363# as_fn_executable_p FILE
364# -----------------------
365# Test if FILE is an executable regular file.
366as_fn_executable_p ()
367{
368 test -f "$1" && test -x "$1"
369} # as_fn_executable_p
370# as_fn_append VAR VALUE
371# ----------------------
372# Append the text in VALUE to the end of the definition contained in VAR. Take
373# advantage of any shell optimizations that allow amortized linear growth over
374# repeated appends, instead of the typical quadratic growth present in naive
375# implementations.
376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
378 {
379 eval $1+=\$2
380 }'
381else
382 as_fn_append ()
383 {
384 eval $1=\$$1\$2
385 }
386fi # as_fn_append
387
388# as_fn_arith ARG...
389# ------------------
390# Perform arithmetic evaluation on the ARGs, and store the result in the
391# global $as_val. Take advantage of shells that can avoid forks. The arguments
392# must be portable across $(()) and expr.
393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
395 {
396 as_val=$(( $* ))
397 }'
398else
399 as_fn_arith ()
400 {
401 as_val=`expr "$@" || test $? -eq 1`
402 }
403fi # as_fn_arith
404
405
406# as_fn_error STATUS ERROR [LINENO LOG_FD]
407# ----------------------------------------
408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410# script with STATUS, using 1 if that was 0.
411as_fn_error ()
412{
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
417 fi
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420} # as_fn_error
421
422if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425else
426 as_expr=false
427fi
428
429if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431else
432 as_basename=false
433fi
434
435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437else
438 as_dirname=false
439fi
440
441as_me=`$as_basename -- "$0" ||
442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445$as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
448 q
449 }
450 /^X\/\(\/\/\)$/{
451 s//\1/
452 q
453 }
454 /^X\/\(\/\).*/{
455 s//\1/
456 q
457 }
458 s/.*/./; q'`
459
460# Avoid depending upon Character Ranges.
461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464as_cr_digits='0123456789'
465as_cr_alnum=$as_cr_Letters$as_cr_digits
466
467
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
474 p
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
480 b
481 :lineno
482 N
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
490
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
501}
502
503ECHO_C= ECHO_N= ECHO_T=
504case `echo -n x` in #(((((
505-n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
512*)
513 ECHO_N='-n';;
514esac
515
516rm -f conf$$ conf$$.exe conf$$.file
517if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
522fi
523if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
536 fi
537else
538 as_ln_s='cp -pR'
539fi
540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541rmdir conf$$.dir 2>/dev/null
542
543if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
548fi
549
550as_test_x='test -x'
551as_executable_p=as_fn_executable_p
552
553# Sed expression to map a string onto a valid CPP name.
554as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
555
556# Sed expression to map a string onto a valid variable name.
557as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
558
559
560test -n "$DJDIR" || exec 7<&0 </dev/null
561exec 6>&1
562
563# Name of the host.
564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565# so uname gets run too.
566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567
568#
569# Initializations.
570#
571ac_default_prefix=/usr/local
572ac_clean_files=
573ac_config_libobj_dir=.
574LIBOBJS=
575cross_compiling=no
576subdirs=
577MFLAGS=
578MAKEFLAGS=
579
580# Identity of this package.
581PACKAGE_NAME='open_pdks'
582PACKAGE_TARNAME='open_pdks'
583PACKAGE_VERSION='1.0'
584PACKAGE_STRING='open_pdks 1.0'
585PACKAGE_BUGREPORT='github.com/RTimothyEdwards/open_pdks'
586PACKAGE_URL=''
587
588ac_subst_vars='LTLIBOBJS
589LIBOBJS
Tim Edwards7cbaaba2020-08-05 12:19:18 -0400590EF_STYLE
Tim Edwardscdfec5e2021-04-22 20:59:13 -0400591SKY130_OSU_T18_PATH
592SKY130_OSU_T15_PATH
593SKY130_OSU_T12_PATH
Tim Edwardscdfec5e2021-04-22 20:59:13 -0400594SKY130_SRAM_MACROS_PATH
Tim Edwards1168a8b2021-02-10 22:06:54 -0500595XSCHEM_SKY130_PATH
Tim Edwards8292c902020-12-24 16:25:25 -0500596SKY130_ML_XX_HD_PATH
Ahmed Ghazy32385482021-01-19 20:38:14 +0200597PATCH
Tim Edwards8292c902020-12-24 16:25:25 -0500598MAGIC
Tim Edwards1168a8b2021-02-10 22:06:54 -0500599XSCHEM_DISABLED
Tim Edwardsccaea722020-12-24 10:59:42 -0500600QFLOW_DISABLED
601OPENLANE_DISABLED
Tim Edwards367711e2021-01-27 10:35:12 -0500602IRSIM_DISABLED
Tim Edwardsccaea722020-12-24 10:59:42 -0500603NETGEN_DISABLED
604MAGIC_DISABLED
605KLAYOUT_DISABLED
Tim Edwards7cbaaba2020-08-05 12:19:18 -0400606SKY130_SOURCE_PATH
Tim Edwards8292c902020-12-24 16:25:25 -0500607SKY130_LINK_TARGETS
Tim Edwards665c3fd2021-05-02 20:20:27 -0400608SED
Tim Edwards66e53e52021-01-24 21:21:36 -0500609pkgpyexecdir
610pyexecdir
611pkgpythondir
612pythondir
613PYTHON_PLATFORM
614PYTHON_EXEC_PREFIX
615PYTHON_PREFIX
616PYTHON_VERSION
617PYTHON
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200618target_alias
619host_alias
620build_alias
621LIBS
622ECHO_T
623ECHO_N
624ECHO_C
625DEFS
626mandir
627localedir
628libdir
629psdir
630pdfdir
631dvidir
632htmldir
633infodir
634docdir
635oldincludedir
636includedir
Tim Edwards0b8fd2f2021-09-14 10:19:16 -0400637runstatedir
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200638localstatedir
639sharedstatedir
640sysconfdir
641datadir
642datarootdir
643libexecdir
644sbindir
645bindir
646program_transform_name
647prefix
648exec_prefix
649PACKAGE_URL
650PACKAGE_BUGREPORT
651PACKAGE_STRING
652PACKAGE_VERSION
653PACKAGE_TARNAME
654PACKAGE_NAME
655PATH_SEPARATOR
656SHELL'
657ac_subst_files=''
658ac_user_opts='
659enable_option_checking
Tim Edwards8292c902020-12-24 16:25:25 -0500660enable_sky130_pdk
Tim Edwards7cbaaba2020-08-05 12:19:18 -0400661with_sky130_link_targets
Tim Edwardsccaea722020-12-24 10:59:42 -0500662enable_klayout
663enable_magic
664enable_netgen
Tim Edwards367711e2021-01-27 10:35:12 -0500665enable_irsim
Tim Edwardsccaea722020-12-24 10:59:42 -0500666enable_openlane
667enable_qflow
Tim Edwards8292c902020-12-24 16:25:25 -0500668enable_xschem
Tim Edwards1168a8b2021-02-10 22:06:54 -0500669enable_alpha_sky130
670enable_xschem_sky130
Tim Edwardscdfec5e2021-04-22 20:59:13 -0400671enable_sram_sky130
Tim Edwardscdfec5e2021-04-22 20:59:13 -0400672enable_osu_t12_sky130
673enable_osu_t15_sky130
674enable_osu_t18_sky130
Tim Edwards7cbaaba2020-08-05 12:19:18 -0400675with_ef_style
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200676'
677 ac_precious_vars='build_alias
678host_alias
679target_alias
680PYTHON'
681
682
683# Initialize some variables set by options.
684ac_init_help=
685ac_init_version=false
686ac_unrecognized_opts=
687ac_unrecognized_sep=
688# The variables have the same names as the options, with
689# dashes changed to underlines.
690cache_file=/dev/null
691exec_prefix=NONE
692no_create=
693no_recursion=
694prefix=NONE
695program_prefix=NONE
696program_suffix=NONE
697program_transform_name=s,x,x,
698silent=
699site=
700srcdir=
701verbose=
702x_includes=NONE
703x_libraries=NONE
704
705# Installation directory options.
706# These are left unexpanded so users can "make install exec_prefix=/foo"
707# and all the variables that are supposed to be based on exec_prefix
708# by default will actually change.
709# Use braces instead of parens because sh, perl, etc. also accept them.
710# (The list follows the same order as the GNU Coding Standards.)
711bindir='${exec_prefix}/bin'
712sbindir='${exec_prefix}/sbin'
713libexecdir='${exec_prefix}/libexec'
714datarootdir='${prefix}/share'
715datadir='${datarootdir}'
716sysconfdir='${prefix}/etc'
717sharedstatedir='${prefix}/com'
718localstatedir='${prefix}/var'
Tim Edwards0b8fd2f2021-09-14 10:19:16 -0400719runstatedir='${localstatedir}/run'
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200720includedir='${prefix}/include'
721oldincludedir='/usr/include'
722docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
723infodir='${datarootdir}/info'
724htmldir='${docdir}'
725dvidir='${docdir}'
726pdfdir='${docdir}'
727psdir='${docdir}'
728libdir='${exec_prefix}/lib'
729localedir='${datarootdir}/locale'
730mandir='${datarootdir}/man'
731
732ac_prev=
733ac_dashdash=
734for ac_option
735do
736 # If the previous option needs an argument, assign it.
737 if test -n "$ac_prev"; then
738 eval $ac_prev=\$ac_option
739 ac_prev=
740 continue
741 fi
742
743 case $ac_option in
744 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
745 *=) ac_optarg= ;;
746 *) ac_optarg=yes ;;
747 esac
748
749 # Accept the important Cygnus configure options, so we can diagnose typos.
750
751 case $ac_dashdash$ac_option in
752 --)
753 ac_dashdash=yes ;;
754
755 -bindir | --bindir | --bindi | --bind | --bin | --bi)
756 ac_prev=bindir ;;
757 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
758 bindir=$ac_optarg ;;
759
760 -build | --build | --buil | --bui | --bu)
761 ac_prev=build_alias ;;
762 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
763 build_alias=$ac_optarg ;;
764
765 -cache-file | --cache-file | --cache-fil | --cache-fi \
766 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
767 ac_prev=cache_file ;;
768 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
769 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
770 cache_file=$ac_optarg ;;
771
772 --config-cache | -C)
773 cache_file=config.cache ;;
774
775 -datadir | --datadir | --datadi | --datad)
776 ac_prev=datadir ;;
777 -datadir=* | --datadir=* | --datadi=* | --datad=*)
778 datadir=$ac_optarg ;;
779
780 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
781 | --dataroo | --dataro | --datar)
782 ac_prev=datarootdir ;;
783 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
784 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
785 datarootdir=$ac_optarg ;;
786
787 -disable-* | --disable-*)
788 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
789 # Reject names that are not valid shell variable names.
790 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
791 as_fn_error $? "invalid feature name: $ac_useropt"
792 ac_useropt_orig=$ac_useropt
793 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
794 case $ac_user_opts in
795 *"
796"enable_$ac_useropt"
797"*) ;;
798 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
799 ac_unrecognized_sep=', ';;
800 esac
801 eval enable_$ac_useropt=no ;;
802
803 -docdir | --docdir | --docdi | --doc | --do)
804 ac_prev=docdir ;;
805 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
806 docdir=$ac_optarg ;;
807
808 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
809 ac_prev=dvidir ;;
810 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
811 dvidir=$ac_optarg ;;
812
813 -enable-* | --enable-*)
814 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
815 # Reject names that are not valid shell variable names.
816 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
817 as_fn_error $? "invalid feature name: $ac_useropt"
818 ac_useropt_orig=$ac_useropt
819 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
820 case $ac_user_opts in
821 *"
822"enable_$ac_useropt"
823"*) ;;
824 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
825 ac_unrecognized_sep=', ';;
826 esac
827 eval enable_$ac_useropt=\$ac_optarg ;;
828
829 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
830 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
831 | --exec | --exe | --ex)
832 ac_prev=exec_prefix ;;
833 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
834 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
835 | --exec=* | --exe=* | --ex=*)
836 exec_prefix=$ac_optarg ;;
837
838 -gas | --gas | --ga | --g)
839 # Obsolete; use --with-gas.
840 with_gas=yes ;;
841
842 -help | --help | --hel | --he | -h)
843 ac_init_help=long ;;
844 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
845 ac_init_help=recursive ;;
846 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
847 ac_init_help=short ;;
848
849 -host | --host | --hos | --ho)
850 ac_prev=host_alias ;;
851 -host=* | --host=* | --hos=* | --ho=*)
852 host_alias=$ac_optarg ;;
853
854 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
855 ac_prev=htmldir ;;
856 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
857 | --ht=*)
858 htmldir=$ac_optarg ;;
859
860 -includedir | --includedir | --includedi | --included | --include \
861 | --includ | --inclu | --incl | --inc)
862 ac_prev=includedir ;;
863 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
864 | --includ=* | --inclu=* | --incl=* | --inc=*)
865 includedir=$ac_optarg ;;
866
867 -infodir | --infodir | --infodi | --infod | --info | --inf)
868 ac_prev=infodir ;;
869 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
870 infodir=$ac_optarg ;;
871
872 -libdir | --libdir | --libdi | --libd)
873 ac_prev=libdir ;;
874 -libdir=* | --libdir=* | --libdi=* | --libd=*)
875 libdir=$ac_optarg ;;
876
877 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
878 | --libexe | --libex | --libe)
879 ac_prev=libexecdir ;;
880 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
881 | --libexe=* | --libex=* | --libe=*)
882 libexecdir=$ac_optarg ;;
883
884 -localedir | --localedir | --localedi | --localed | --locale)
885 ac_prev=localedir ;;
886 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
887 localedir=$ac_optarg ;;
888
889 -localstatedir | --localstatedir | --localstatedi | --localstated \
890 | --localstate | --localstat | --localsta | --localst | --locals)
891 ac_prev=localstatedir ;;
892 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
893 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
894 localstatedir=$ac_optarg ;;
895
896 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
897 ac_prev=mandir ;;
898 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
899 mandir=$ac_optarg ;;
900
901 -nfp | --nfp | --nf)
902 # Obsolete; use --without-fp.
903 with_fp=no ;;
904
905 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
906 | --no-cr | --no-c | -n)
907 no_create=yes ;;
908
909 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
910 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
911 no_recursion=yes ;;
912
913 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
914 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
915 | --oldin | --oldi | --old | --ol | --o)
916 ac_prev=oldincludedir ;;
917 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
918 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
919 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
920 oldincludedir=$ac_optarg ;;
921
922 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
923 ac_prev=prefix ;;
924 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
925 prefix=$ac_optarg ;;
926
927 -program-prefix | --program-prefix | --program-prefi | --program-pref \
928 | --program-pre | --program-pr | --program-p)
929 ac_prev=program_prefix ;;
930 -program-prefix=* | --program-prefix=* | --program-prefi=* \
931 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
932 program_prefix=$ac_optarg ;;
933
934 -program-suffix | --program-suffix | --program-suffi | --program-suff \
935 | --program-suf | --program-su | --program-s)
936 ac_prev=program_suffix ;;
937 -program-suffix=* | --program-suffix=* | --program-suffi=* \
938 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
939 program_suffix=$ac_optarg ;;
940
941 -program-transform-name | --program-transform-name \
942 | --program-transform-nam | --program-transform-na \
943 | --program-transform-n | --program-transform- \
944 | --program-transform | --program-transfor \
945 | --program-transfo | --program-transf \
946 | --program-trans | --program-tran \
947 | --progr-tra | --program-tr | --program-t)
948 ac_prev=program_transform_name ;;
949 -program-transform-name=* | --program-transform-name=* \
950 | --program-transform-nam=* | --program-transform-na=* \
951 | --program-transform-n=* | --program-transform-=* \
952 | --program-transform=* | --program-transfor=* \
953 | --program-transfo=* | --program-transf=* \
954 | --program-trans=* | --program-tran=* \
955 | --progr-tra=* | --program-tr=* | --program-t=*)
956 program_transform_name=$ac_optarg ;;
957
958 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
959 ac_prev=pdfdir ;;
960 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
961 pdfdir=$ac_optarg ;;
962
963 -psdir | --psdir | --psdi | --psd | --ps)
964 ac_prev=psdir ;;
965 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
966 psdir=$ac_optarg ;;
967
968 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
969 | -silent | --silent | --silen | --sile | --sil)
970 silent=yes ;;
971
Tim Edwards0b8fd2f2021-09-14 10:19:16 -0400972 -runstatedir | --runstatedir | --runstatedi | --runstated \
973 | --runstate | --runstat | --runsta | --runst | --runs \
974 | --run | --ru | --r)
975 ac_prev=runstatedir ;;
976 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
977 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
978 | --run=* | --ru=* | --r=*)
979 runstatedir=$ac_optarg ;;
980
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200981 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
982 ac_prev=sbindir ;;
983 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
984 | --sbi=* | --sb=*)
985 sbindir=$ac_optarg ;;
986
987 -sharedstatedir | --sharedstatedir | --sharedstatedi \
988 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
989 | --sharedst | --shareds | --shared | --share | --shar \
990 | --sha | --sh)
991 ac_prev=sharedstatedir ;;
992 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
993 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
994 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
995 | --sha=* | --sh=*)
996 sharedstatedir=$ac_optarg ;;
997
998 -site | --site | --sit)
999 ac_prev=site ;;
1000 -site=* | --site=* | --sit=*)
1001 site=$ac_optarg ;;
1002
1003 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1004 ac_prev=srcdir ;;
1005 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1006 srcdir=$ac_optarg ;;
1007
1008 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1009 | --syscon | --sysco | --sysc | --sys | --sy)
1010 ac_prev=sysconfdir ;;
1011 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1012 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1013 sysconfdir=$ac_optarg ;;
1014
1015 -target | --target | --targe | --targ | --tar | --ta | --t)
1016 ac_prev=target_alias ;;
1017 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1018 target_alias=$ac_optarg ;;
1019
1020 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1021 verbose=yes ;;
1022
1023 -version | --version | --versio | --versi | --vers | -V)
1024 ac_init_version=: ;;
1025
1026 -with-* | --with-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error $? "invalid package name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1034 *"
1035"with_$ac_useropt"
1036"*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval with_$ac_useropt=\$ac_optarg ;;
1041
1042 -without-* | --without-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error $? "invalid package name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1050 *"
1051"with_$ac_useropt"
1052"*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval with_$ac_useropt=no ;;
1057
1058 --x)
1059 # Obsolete; use --with-x.
1060 with_x=yes ;;
1061
1062 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1063 | --x-incl | --x-inc | --x-in | --x-i)
1064 ac_prev=x_includes ;;
1065 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1066 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1067 x_includes=$ac_optarg ;;
1068
1069 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1070 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1071 ac_prev=x_libraries ;;
1072 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1073 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1074 x_libraries=$ac_optarg ;;
1075
1076 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1077Try \`$0 --help' for more information"
1078 ;;
1079
1080 *=*)
1081 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1082 # Reject names that are not valid shell variable names.
1083 case $ac_envvar in #(
1084 '' | [0-9]* | *[!_$as_cr_alnum]* )
1085 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1086 esac
1087 eval $ac_envvar=\$ac_optarg
1088 export $ac_envvar ;;
1089
1090 *)
1091 # FIXME: should be removed in autoconf 3.0.
1092 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1093 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1094 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1095 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1096 ;;
1097
1098 esac
1099done
1100
1101if test -n "$ac_prev"; then
1102 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1103 as_fn_error $? "missing argument to $ac_option"
1104fi
1105
1106if test -n "$ac_unrecognized_opts"; then
1107 case $enable_option_checking in
1108 no) ;;
1109 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1110 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1111 esac
1112fi
1113
1114# Check all directory arguments for consistency.
1115for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1116 datadir sysconfdir sharedstatedir localstatedir includedir \
1117 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
Tim Edwards0b8fd2f2021-09-14 10:19:16 -04001118 libdir localedir mandir runstatedir
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001119do
1120 eval ac_val=\$$ac_var
1121 # Remove trailing slashes.
1122 case $ac_val in
1123 */ )
1124 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1125 eval $ac_var=\$ac_val;;
1126 esac
1127 # Be sure to have absolute directory names.
1128 case $ac_val in
1129 [\\/$]* | ?:[\\/]* ) continue;;
1130 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1131 esac
1132 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1133done
1134
1135# There might be people who depend on the old broken behavior: `$host'
1136# used to hold the argument of --host etc.
1137# FIXME: To remove some day.
1138build=$build_alias
1139host=$host_alias
1140target=$target_alias
1141
1142# FIXME: To remove some day.
1143if test "x$host_alias" != x; then
1144 if test "x$build_alias" = x; then
1145 cross_compiling=maybe
1146 elif test "x$build_alias" != "x$host_alias"; then
1147 cross_compiling=yes
1148 fi
1149fi
1150
1151ac_tool_prefix=
1152test -n "$host_alias" && ac_tool_prefix=$host_alias-
1153
1154test "$silent" = yes && exec 6>/dev/null
1155
1156
1157ac_pwd=`pwd` && test -n "$ac_pwd" &&
1158ac_ls_di=`ls -di .` &&
1159ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1160 as_fn_error $? "working directory cannot be determined"
1161test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1162 as_fn_error $? "pwd does not report name of working directory"
1163
1164
1165# Find the source files, if location was not specified.
1166if test -z "$srcdir"; then
1167 ac_srcdir_defaulted=yes
1168 # Try the directory containing this script, then the parent directory.
1169 ac_confdir=`$as_dirname -- "$as_myself" ||
1170$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1171 X"$as_myself" : 'X\(//\)[^/]' \| \
1172 X"$as_myself" : 'X\(//\)$' \| \
1173 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1174$as_echo X"$as_myself" |
1175 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1176 s//\1/
1177 q
1178 }
1179 /^X\(\/\/\)[^/].*/{
1180 s//\1/
1181 q
1182 }
1183 /^X\(\/\/\)$/{
1184 s//\1/
1185 q
1186 }
1187 /^X\(\/\).*/{
1188 s//\1/
1189 q
1190 }
1191 s/.*/./; q'`
1192 srcdir=$ac_confdir
1193 if test ! -r "$srcdir/$ac_unique_file"; then
1194 srcdir=..
1195 fi
1196else
1197 ac_srcdir_defaulted=no
1198fi
1199if test ! -r "$srcdir/$ac_unique_file"; then
1200 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1201 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1202fi
1203ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1204ac_abs_confdir=`(
1205 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1206 pwd)`
1207# When building in place, set srcdir=.
1208if test "$ac_abs_confdir" = "$ac_pwd"; then
1209 srcdir=.
1210fi
1211# Remove unnecessary trailing slashes from srcdir.
1212# Double slashes in file names in object file debugging info
1213# mess up M-x gdb in Emacs.
1214case $srcdir in
1215*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1216esac
1217for ac_var in $ac_precious_vars; do
1218 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1219 eval ac_env_${ac_var}_value=\$${ac_var}
1220 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1221 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1222done
1223
1224#
1225# Report the --help message.
1226#
1227if test "$ac_init_help" = "long"; then
1228 # Omit some internal or obsolete options to make the list less imposing.
1229 # This message is too long to be a string in the A/UX 3.1 sh.
1230 cat <<_ACEOF
1231\`configure' configures open_pdks 1.0 to adapt to many kinds of systems.
1232
1233Usage: $0 [OPTION]... [VAR=VALUE]...
1234
1235To assign environment variables (e.g., CC, CFLAGS...), specify them as
1236VAR=VALUE. See below for descriptions of some of the useful variables.
1237
1238Defaults for the options are specified in brackets.
1239
1240Configuration:
1241 -h, --help display this help and exit
1242 --help=short display options specific to this package
1243 --help=recursive display the short help of all the included packages
1244 -V, --version display version information and exit
1245 -q, --quiet, --silent do not print \`checking ...' messages
1246 --cache-file=FILE cache test results in FILE [disabled]
1247 -C, --config-cache alias for \`--cache-file=config.cache'
1248 -n, --no-create do not create output files
1249 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1250
1251Installation directories:
1252 --prefix=PREFIX install architecture-independent files in PREFIX
1253 [$ac_default_prefix]
1254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1255 [PREFIX]
1256
1257By default, \`make install' will install all the files in
1258\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1259an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1260for instance \`--prefix=\$HOME'.
1261
1262For better control, use the options below.
1263
1264Fine tuning of the installation directories:
1265 --bindir=DIR user executables [EPREFIX/bin]
1266 --sbindir=DIR system admin executables [EPREFIX/sbin]
1267 --libexecdir=DIR program executables [EPREFIX/libexec]
1268 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1269 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1270 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
Tim Edwards0b8fd2f2021-09-14 10:19:16 -04001271 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001272 --libdir=DIR object code libraries [EPREFIX/lib]
1273 --includedir=DIR C header files [PREFIX/include]
1274 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1275 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1276 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1277 --infodir=DIR info documentation [DATAROOTDIR/info]
1278 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1279 --mandir=DIR man documentation [DATAROOTDIR/man]
1280 --docdir=DIR documentation root [DATAROOTDIR/doc/open_pdks]
1281 --htmldir=DIR html documentation [DOCDIR]
1282 --dvidir=DIR dvi documentation [DOCDIR]
1283 --pdfdir=DIR pdf documentation [DOCDIR]
1284 --psdir=DIR ps documentation [DOCDIR]
1285_ACEOF
1286
1287 cat <<\_ACEOF
1288_ACEOF
1289fi
1290
1291if test -n "$ac_init_help"; then
1292 case $ac_init_help in
1293 short | recursive ) echo "Configuration of open_pdks 1.0:";;
1294 esac
1295 cat <<\_ACEOF
1296
Tim Edwardsccaea722020-12-24 10:59:42 -05001297Optional Features:
1298 --disable-option-checking ignore unrecognized --enable/--with options
1299 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1300 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
Tim Edwards8292c902020-12-24 16:25:25 -05001301 --enable-sky130-pdk=[/path/to/sky130/] --disable-sky130-pdk
1302 "location of the source files for the sky130 (pdks
Ahmed Ghazy32385482021-01-19 20:38:14 +02001303 with a pdk_url file can automatically download them
Tim Edwards8292c902020-12-24 16:25:25 -05001304 if the path is omitted)"
1305 --enable-klayout
Tim Edwards1168a8b2021-02-10 22:06:54 -05001306 Enable or disable klayout setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001307
1308
1309 --enable-magic
Tim Edwards1168a8b2021-02-10 22:06:54 -05001310 Enable or disable magic setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001311
1312
1313 --enable-netgen
Tim Edwards1168a8b2021-02-10 22:06:54 -05001314 Enable or disable netgen setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001315
1316
Tim Edwards367711e2021-01-27 10:35:12 -05001317 --enable-irsim
Tim Edwards1168a8b2021-02-10 22:06:54 -05001318 Enable or disable irsim setup [default=enabled]
Tim Edwards367711e2021-01-27 10:35:12 -05001319
1320
Tim Edwards8292c902020-12-24 16:25:25 -05001321 --enable-openlane
Tim Edwards1168a8b2021-02-10 22:06:54 -05001322 Enable or disable openlane setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001323
1324
1325 --enable-qflow
Tim Edwards1168a8b2021-02-10 22:06:54 -05001326 Enable or disable qflow setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001327
1328
Tim Edwards1168a8b2021-02-10 22:06:54 -05001329 --enable-xschem
1330 Enable or disable xschem setup [default=enabled]
1331
1332
1333 --enable-alpha-sky130[=path]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001334 Install sky130_ml_xx_hd. If path is omitted, the repository
1335 will be downloaded. [default=enabled]
Tim Edwards1168a8b2021-02-10 22:06:54 -05001336 --enable-xschem-sky130[=path]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001337 Install xschem_sky130. If path is omitted, the repository
1338 will be downloaded. [default=enabled]
1339 --enable-sram-sky130[=path]
1340 Install sky130_sram_macros. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001341 will be downloaded. [default=disabled]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001342 --enable-osu-t12-sky130[=path]
1343 Install sky130_osu_t12. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001344 will be downloaded. [default=disabled]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001345 --enable-osu-t15-sky130[=path]
1346 Install sky130_osu_t15. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001347 will be downloaded. [default=disabled]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001348 --enable-osu-t18-sky130[=path]
1349 Install sky130_osu_t18. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001350 will be downloaded. [default=disabled]
Tim Edwardsccaea722020-12-24 10:59:42 -05001351
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001352Optional Packages:
1353 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1354 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
Tim Edwards7cbaaba2020-08-05 12:19:18 -04001355 --with-sky130-link-targets=none|source
1356 "make symbolic links to existing files
1357 [default=none]"
1358 --with-ef-style Use efabless style file system structure
1359 [default=no]
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001360
1361Some influential environment variables:
1362 PYTHON the Python interpreter
1363
1364Use these variables to override the choices made by `configure' or to help
1365it to find libraries and programs with nonstandard names/locations.
1366
1367Report bugs to <github.com/RTimothyEdwards/open_pdks>.
1368_ACEOF
1369ac_status=$?
1370fi
1371
1372if test "$ac_init_help" = "recursive"; then
1373 # If there are subdirs, report their specific --help.
1374 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1375 test -d "$ac_dir" ||
1376 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1377 continue
1378 ac_builddir=.
1379
1380case "$ac_dir" in
1381.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382*)
1383 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1384 # A ".." for each directory in $ac_dir_suffix.
1385 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1386 case $ac_top_builddir_sub in
1387 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1388 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1389 esac ;;
1390esac
1391ac_abs_top_builddir=$ac_pwd
1392ac_abs_builddir=$ac_pwd$ac_dir_suffix
1393# for backward compatibility:
1394ac_top_builddir=$ac_top_build_prefix
1395
1396case $srcdir in
1397 .) # We are building in place.
1398 ac_srcdir=.
1399 ac_top_srcdir=$ac_top_builddir_sub
1400 ac_abs_top_srcdir=$ac_pwd ;;
1401 [\\/]* | ?:[\\/]* ) # Absolute name.
1402 ac_srcdir=$srcdir$ac_dir_suffix;
1403 ac_top_srcdir=$srcdir
1404 ac_abs_top_srcdir=$srcdir ;;
1405 *) # Relative name.
1406 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1407 ac_top_srcdir=$ac_top_build_prefix$srcdir
1408 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1409esac
1410ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1411
1412 cd "$ac_dir" || { ac_status=$?; continue; }
1413 # Check for guested configure.
1414 if test -f "$ac_srcdir/configure.gnu"; then
1415 echo &&
1416 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1417 elif test -f "$ac_srcdir/configure"; then
1418 echo &&
1419 $SHELL "$ac_srcdir/configure" --help=recursive
1420 else
1421 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1422 fi || ac_status=$?
1423 cd "$ac_pwd" || { ac_status=$?; break; }
1424 done
1425fi
1426
1427test -n "$ac_init_help" && exit $ac_status
1428if $ac_init_version; then
1429 cat <<\_ACEOF
1430open_pdks configure 1.0
1431generated by GNU Autoconf 2.69
1432
1433Copyright (C) 2012 Free Software Foundation, Inc.
1434This configure script is free software; the Free Software Foundation
1435gives unlimited permission to copy, distribute and modify it.
1436_ACEOF
1437 exit
1438fi
1439
1440## ------------------------ ##
1441## Autoconf initialization. ##
1442## ------------------------ ##
1443cat >config.log <<_ACEOF
1444This file contains any messages produced by compilers while
1445running configure, to aid debugging if configure makes a mistake.
1446
1447It was created by open_pdks $as_me 1.0, which was
1448generated by GNU Autoconf 2.69. Invocation command line was
1449
1450 $ $0 $@
1451
1452_ACEOF
1453exec 5>>config.log
1454{
1455cat <<_ASUNAME
1456## --------- ##
1457## Platform. ##
1458## --------- ##
1459
1460hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1461uname -m = `(uname -m) 2>/dev/null || echo unknown`
1462uname -r = `(uname -r) 2>/dev/null || echo unknown`
1463uname -s = `(uname -s) 2>/dev/null || echo unknown`
1464uname -v = `(uname -v) 2>/dev/null || echo unknown`
1465
1466/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1467/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1468
1469/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1470/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1471/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1472/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1473/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1474/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1475/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1476
1477_ASUNAME
1478
1479as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1480for as_dir in $PATH
1481do
1482 IFS=$as_save_IFS
1483 test -z "$as_dir" && as_dir=.
1484 $as_echo "PATH: $as_dir"
1485 done
1486IFS=$as_save_IFS
1487
1488} >&5
1489
1490cat >&5 <<_ACEOF
1491
1492
1493## ----------- ##
1494## Core tests. ##
1495## ----------- ##
1496
1497_ACEOF
1498
1499
1500# Keep a trace of the command line.
1501# Strip out --no-create and --no-recursion so they do not pile up.
1502# Strip out --silent because we don't want to record it for future runs.
1503# Also quote any args containing shell meta-characters.
1504# Make two passes to allow for proper duplicate-argument suppression.
1505ac_configure_args=
1506ac_configure_args0=
1507ac_configure_args1=
1508ac_must_keep_next=false
1509for ac_pass in 1 2
1510do
1511 for ac_arg
1512 do
1513 case $ac_arg in
1514 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1516 | -silent | --silent | --silen | --sile | --sil)
1517 continue ;;
1518 *\'*)
1519 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1520 esac
1521 case $ac_pass in
1522 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1523 2)
1524 as_fn_append ac_configure_args1 " '$ac_arg'"
1525 if test $ac_must_keep_next = true; then
1526 ac_must_keep_next=false # Got value, back to normal.
1527 else
1528 case $ac_arg in
1529 *=* | --config-cache | -C | -disable-* | --disable-* \
1530 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1531 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1532 | -with-* | --with-* | -without-* | --without-* | --x)
1533 case "$ac_configure_args0 " in
1534 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1535 esac
1536 ;;
1537 -* ) ac_must_keep_next=true ;;
1538 esac
1539 fi
1540 as_fn_append ac_configure_args " '$ac_arg'"
1541 ;;
1542 esac
1543 done
1544done
1545{ ac_configure_args0=; unset ac_configure_args0;}
1546{ ac_configure_args1=; unset ac_configure_args1;}
1547
1548# When interrupted or exit'd, cleanup temporary files, and complete
1549# config.log. We remove comments because anyway the quotes in there
1550# would cause problems or look ugly.
1551# WARNING: Use '\'' to represent an apostrophe within the trap.
1552# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1553trap 'exit_status=$?
1554 # Save into config.log some information that might help in debugging.
1555 {
1556 echo
1557
1558 $as_echo "## ---------------- ##
1559## Cache variables. ##
1560## ---------------- ##"
1561 echo
1562 # The following way of writing the cache mishandles newlines in values,
1563(
1564 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1565 eval ac_val=\$$ac_var
1566 case $ac_val in #(
1567 *${as_nl}*)
1568 case $ac_var in #(
1569 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1570$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1571 esac
1572 case $ac_var in #(
1573 _ | IFS | as_nl) ;; #(
1574 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1575 *) { eval $ac_var=; unset $ac_var;} ;;
1576 esac ;;
1577 esac
1578 done
1579 (set) 2>&1 |
1580 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1581 *${as_nl}ac_space=\ *)
1582 sed -n \
1583 "s/'\''/'\''\\\\'\'''\''/g;
1584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1585 ;; #(
1586 *)
1587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1588 ;;
1589 esac |
1590 sort
1591)
1592 echo
1593
1594 $as_echo "## ----------------- ##
1595## Output variables. ##
1596## ----------------- ##"
1597 echo
1598 for ac_var in $ac_subst_vars
1599 do
1600 eval ac_val=\$$ac_var
1601 case $ac_val in
1602 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1603 esac
1604 $as_echo "$ac_var='\''$ac_val'\''"
1605 done | sort
1606 echo
1607
1608 if test -n "$ac_subst_files"; then
1609 $as_echo "## ------------------- ##
1610## File substitutions. ##
1611## ------------------- ##"
1612 echo
1613 for ac_var in $ac_subst_files
1614 do
1615 eval ac_val=\$$ac_var
1616 case $ac_val in
1617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 esac
1619 $as_echo "$ac_var='\''$ac_val'\''"
1620 done | sort
1621 echo
1622 fi
1623
1624 if test -s confdefs.h; then
1625 $as_echo "## ----------- ##
1626## confdefs.h. ##
1627## ----------- ##"
1628 echo
1629 cat confdefs.h
1630 echo
1631 fi
1632 test "$ac_signal" != 0 &&
1633 $as_echo "$as_me: caught signal $ac_signal"
1634 $as_echo "$as_me: exit $exit_status"
1635 } >&5
1636 rm -f core *.core core.conftest.* &&
1637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1638 exit $exit_status
1639' 0
1640for ac_signal in 1 2 13 15; do
1641 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1642done
1643ac_signal=0
1644
1645# confdefs.h avoids OS command line length limits that DEFS can exceed.
1646rm -f -r conftest* confdefs.h
1647
1648$as_echo "/* confdefs.h */" > confdefs.h
1649
1650# Predefined preprocessor variables.
1651
1652cat >>confdefs.h <<_ACEOF
1653#define PACKAGE_NAME "$PACKAGE_NAME"
1654_ACEOF
1655
1656cat >>confdefs.h <<_ACEOF
1657#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1658_ACEOF
1659
1660cat >>confdefs.h <<_ACEOF
1661#define PACKAGE_VERSION "$PACKAGE_VERSION"
1662_ACEOF
1663
1664cat >>confdefs.h <<_ACEOF
1665#define PACKAGE_STRING "$PACKAGE_STRING"
1666_ACEOF
1667
1668cat >>confdefs.h <<_ACEOF
1669#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1670_ACEOF
1671
1672cat >>confdefs.h <<_ACEOF
1673#define PACKAGE_URL "$PACKAGE_URL"
1674_ACEOF
1675
1676
1677# Let the site file select an alternate cache file if it wants to.
1678# Prefer an explicitly selected file to automatically selected ones.
1679ac_site_file1=NONE
1680ac_site_file2=NONE
1681if test -n "$CONFIG_SITE"; then
1682 # We do not want a PATH search for config.site.
1683 case $CONFIG_SITE in #((
1684 -*) ac_site_file1=./$CONFIG_SITE;;
1685 */*) ac_site_file1=$CONFIG_SITE;;
1686 *) ac_site_file1=./$CONFIG_SITE;;
1687 esac
1688elif test "x$prefix" != xNONE; then
1689 ac_site_file1=$prefix/share/config.site
1690 ac_site_file2=$prefix/etc/config.site
1691else
1692 ac_site_file1=$ac_default_prefix/share/config.site
1693 ac_site_file2=$ac_default_prefix/etc/config.site
1694fi
1695for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1696do
1697 test "x$ac_site_file" = xNONE && continue
1698 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1699 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1700$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1701 sed 's/^/| /' "$ac_site_file" >&5
1702 . "$ac_site_file" \
1703 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1704$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1705as_fn_error $? "failed to load site script $ac_site_file
1706See \`config.log' for more details" "$LINENO" 5; }
1707 fi
1708done
1709
1710if test -r "$cache_file"; then
1711 # Some versions of bash will fail to source /dev/null (special files
1712 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1713 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1715$as_echo "$as_me: loading cache $cache_file" >&6;}
1716 case $cache_file in
1717 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1718 *) . "./$cache_file";;
1719 esac
1720 fi
1721else
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1723$as_echo "$as_me: creating cache $cache_file" >&6;}
1724 >$cache_file
1725fi
1726
1727# Check that the precious variables saved in the cache have kept the same
1728# value.
1729ac_cache_corrupted=false
1730for ac_var in $ac_precious_vars; do
1731 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1732 eval ac_new_set=\$ac_env_${ac_var}_set
1733 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1734 eval ac_new_val=\$ac_env_${ac_var}_value
1735 case $ac_old_set,$ac_new_set in
1736 set,)
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1738$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1739 ac_cache_corrupted=: ;;
1740 ,set)
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1742$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1743 ac_cache_corrupted=: ;;
1744 ,);;
1745 *)
1746 if test "x$ac_old_val" != "x$ac_new_val"; then
1747 # differences in whitespace do not lead to failure.
1748 ac_old_val_w=`echo x $ac_old_val`
1749 ac_new_val_w=`echo x $ac_new_val`
1750 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1752$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1753 ac_cache_corrupted=:
1754 else
1755 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1756$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1757 eval $ac_var=\$ac_old_val
1758 fi
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1760$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1762$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1763 fi;;
1764 esac
1765 # Pass precious variables to config.status.
1766 if test "$ac_new_set" = set; then
1767 case $ac_new_val in
1768 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1769 *) ac_arg=$ac_var=$ac_new_val ;;
1770 esac
1771 case " $ac_configure_args " in
1772 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1773 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1774 esac
1775 fi
1776done
1777if $ac_cache_corrupted; then
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1779$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1781$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1782 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1783fi
1784## -------------------- ##
1785## Main body of script. ##
1786## -------------------- ##
1787
1788ac_ext=c
1789ac_cpp='$CPP $CPPFLAGS'
1790ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1791ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1792ac_compiler_gnu=$ac_cv_c_compiler_gnu
1793
1794
1795
Tim Edwardsd09355e2021-08-23 16:25:31 -04001796# AC_PREFIX_DEFAULT(/usr)
Tim Edwards053cff32021-03-13 17:17:36 -05001797
Tim Edwards8a4b1602021-08-20 14:05:53 -04001798
Tim Edwardsccaea722020-12-24 10:59:42 -05001799## REQUIRES: https://www.gnu.org/software/autoconf-archive/ax_python_module.html#ax_python_module
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001800
1801
1802
1803
1804
1805
1806 if test -n "$PYTHON"; then
1807 # If the user set $PYTHON, use it and don't search something else.
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.4" >&5
1809$as_echo_n "checking whether $PYTHON version is >= 3.4... " >&6; }
1810 prog="import sys
1811# split strings by '.' and convert to numeric. Append some zeros
1812# because we need at least 4 digits for the hex conversion.
1813# map returns an iterator in Python 3.0 and a list in 2.x
1814minver = list(map(int, '3.4'.split('.'))) + [0, 0, 0]
1815minverhex = 0
1816# xrange is not present in Python 3.0 and range returns an iterator
1817for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
1818sys.exit(sys.hexversion < minverhex)"
1819 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
1820 ($PYTHON -c "$prog") >&5 2>&5
1821 ac_status=$?
1822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1823 (exit $ac_status); }; then :
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1825$as_echo "yes" >&6; }
1826else
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1828$as_echo "no" >&6; }
1829 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
1830fi
1831 am_display_PYTHON=$PYTHON
1832 else
1833 # Otherwise, try each interpreter until we find one that satisfies
1834 # VERSION.
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.4" >&5
1836$as_echo_n "checking for a Python interpreter with version >= 3.4... " >&6; }
1837if ${am_cv_pathless_PYTHON+:} false; then :
1838 $as_echo_n "(cached) " >&6
1839else
1840
Tim Edwards0b8fd2f2021-09-14 10:19:16 -04001841 for am_cv_pathless_PYTHON in python python2 python3 python3.9 python3.8 python3.7 python3.6 python3.5 python3.4 python3.3 python3.2 python3.1 python3.0 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001842 test "$am_cv_pathless_PYTHON" = none && break
1843 prog="import sys
1844# split strings by '.' and convert to numeric. Append some zeros
1845# because we need at least 4 digits for the hex conversion.
1846# map returns an iterator in Python 3.0 and a list in 2.x
1847minver = list(map(int, '3.4'.split('.'))) + [0, 0, 0]
1848minverhex = 0
1849# xrange is not present in Python 3.0 and range returns an iterator
1850for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
1851sys.exit(sys.hexversion < minverhex)"
1852 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
1853 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
1854 ac_status=$?
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }; then :
1857 break
1858fi
1859 done
1860fi
1861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
1862$as_echo "$am_cv_pathless_PYTHON" >&6; }
1863 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1864 if test "$am_cv_pathless_PYTHON" = none; then
1865 PYTHON=:
1866 else
1867 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
1868set dummy $am_cv_pathless_PYTHON; ac_word=$2
1869{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1870$as_echo_n "checking for $ac_word... " >&6; }
1871if ${ac_cv_path_PYTHON+:} false; then :
1872 $as_echo_n "(cached) " >&6
1873else
1874 case $PYTHON in
1875 [\\/]* | ?:[\\/]*)
1876 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1877 ;;
1878 *)
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880for as_dir in $PATH
1881do
1882 IFS=$as_save_IFS
1883 test -z "$as_dir" && as_dir=.
1884 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1886 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 break 2
1889 fi
1890done
1891 done
1892IFS=$as_save_IFS
1893
1894 ;;
1895esac
1896fi
1897PYTHON=$ac_cv_path_PYTHON
1898if test -n "$PYTHON"; then
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
1900$as_echo "$PYTHON" >&6; }
1901else
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1903$as_echo "no" >&6; }
1904fi
1905
1906
1907 fi
1908 am_display_PYTHON=$am_cv_pathless_PYTHON
1909 fi
1910
1911
1912 if test "$PYTHON" = :; then
1913 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
1914 else
1915
1916
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
1918$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
1919if ${am_cv_python_version+:} false; then :
1920 $as_echo_n "(cached) " >&6
1921else
Tim Edwards8a4b1602021-08-20 14:05:53 -04001922 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001923fi
1924{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
1925$as_echo "$am_cv_python_version" >&6; }
1926 PYTHON_VERSION=$am_cv_python_version
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001927
Tim Edwards0b8fd2f2021-09-14 10:19:16 -04001928
1929
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001930 PYTHON_PREFIX='${prefix}'
1931
1932 PYTHON_EXEC_PREFIX='${exec_prefix}'
1933
1934
1935
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
1937$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
1938if ${am_cv_python_platform+:} false; then :
1939 $as_echo_n "(cached) " >&6
1940else
1941 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
1942fi
1943{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
1944$as_echo "$am_cv_python_platform" >&6; }
1945 PYTHON_PLATFORM=$am_cv_python_platform
1946
1947
1948 # Just factor out some code duplication.
1949 am_python_setup_sysconfig="\
1950import sys
1951# Prefer sysconfig over distutils.sysconfig, for better compatibility
1952# with python 3.x. See automake bug#10227.
1953try:
1954 import sysconfig
1955except ImportError:
1956 can_use_sysconfig = 0
1957else:
1958 can_use_sysconfig = 1
1959# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
1960# <https://github.com/pypa/virtualenv/issues/118>
1961try:
1962 from platform import python_implementation
1963 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
1964 can_use_sysconfig = 0
1965except ImportError:
1966 pass"
1967
1968
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
1970$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
1971if ${am_cv_python_pythondir+:} false; then :
1972 $as_echo_n "(cached) " >&6
1973else
1974 if test "x$prefix" = xNONE
1975 then
1976 am_py_prefix=$ac_default_prefix
1977 else
1978 am_py_prefix=$prefix
1979 fi
1980 am_cv_python_pythondir=`$PYTHON -c "
1981$am_python_setup_sysconfig
1982if can_use_sysconfig:
1983 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
1984else:
1985 from distutils import sysconfig
1986 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
1987sys.stdout.write(sitedir)"`
1988 case $am_cv_python_pythondir in
1989 $am_py_prefix*)
1990 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1991 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
1992 ;;
1993 *)
1994 case $am_py_prefix in
1995 /usr|/System*) ;;
1996 *)
1997 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
1998 ;;
1999 esac
2000 ;;
2001 esac
2002
2003fi
2004{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
2005$as_echo "$am_cv_python_pythondir" >&6; }
2006 pythondir=$am_cv_python_pythondir
2007
2008
2009
2010 pkgpythondir=\${pythondir}/$PACKAGE
2011
2012
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
2014$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
2015if ${am_cv_python_pyexecdir+:} false; then :
2016 $as_echo_n "(cached) " >&6
2017else
2018 if test "x$exec_prefix" = xNONE
2019 then
2020 am_py_exec_prefix=$am_py_prefix
2021 else
2022 am_py_exec_prefix=$exec_prefix
2023 fi
2024 am_cv_python_pyexecdir=`$PYTHON -c "
2025$am_python_setup_sysconfig
2026if can_use_sysconfig:
2027 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
2028else:
2029 from distutils import sysconfig
2030 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
2031sys.stdout.write(sitedir)"`
2032 case $am_cv_python_pyexecdir in
2033 $am_py_exec_prefix*)
2034 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
2035 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
2036 ;;
2037 *)
2038 case $am_py_exec_prefix in
2039 /usr|/System*) ;;
2040 *)
2041 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
2042 ;;
2043 esac
2044 ;;
2045 esac
2046
2047fi
2048{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
2049$as_echo "$am_cv_python_pyexecdir" >&6; }
2050 pyexecdir=$am_cv_python_pyexecdir
2051
2052
2053
2054 pkgpyexecdir=\${pyexecdir}/$PACKAGE
2055
2056
2057
2058 fi
2059
2060
2061
2062 if test -z $PYTHON;
2063 then
Tim Edwards238499f2021-05-17 16:34:13 -04002064 if test -z "";
2065 then
2066 PYTHON="python3"
2067 else
2068 PYTHON=""
2069 fi
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002070 fi
2071 PYTHON_NAME=`basename $PYTHON`
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: distutils" >&5
2073$as_echo_n "checking $PYTHON_NAME module: distutils... " >&6; }
Tim Edwards238499f2021-05-17 16:34:13 -04002074 $PYTHON -c "import distutils" 2>/dev/null
2075 if test $? -eq 0;
2076 then
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002078$as_echo "yes" >&6; }
Tim Edwards238499f2021-05-17 16:34:13 -04002079 eval HAVE_PYMOD_DISTUTILS=yes
2080 else
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002082$as_echo "no" >&6; }
Tim Edwards238499f2021-05-17 16:34:13 -04002083 eval HAVE_PYMOD_DISTUTILS=no
2084 #
2085 if test -n ""
2086 then
2087 as_fn_error $? "failed to find required module distutils" "$LINENO" 5
2088 exit 1
2089 fi
2090 fi
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002091
2092
Tim Edwards665c3fd2021-05-02 20:20:27 -04002093# Check for Mac OS X gsed vs. sed
2094
2095
2096{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2097$as_echo_n "checking for a sed that does not truncate output... " >&6; }
2098if ${ac_cv_path_SED+:} false; then :
2099 $as_echo_n "(cached) " >&6
2100else
2101 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2102 for ac_i in 1 2 3 4 5 6 7; do
2103 ac_script="$ac_script$as_nl$ac_script"
2104 done
2105 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2106 { ac_script=; unset ac_script;}
2107 if test -z "$SED"; then
2108 ac_path_SED_found=false
2109 # Loop through the user's path and test for each of PROGNAME-LIST
2110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2111for as_dir in $PATH
2112do
2113 IFS=$as_save_IFS
2114 test -z "$as_dir" && as_dir=.
2115 for ac_prog in sed gsed; do
2116 for ac_exec_ext in '' $ac_executable_extensions; do
2117 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2118 as_fn_executable_p "$ac_path_SED" || continue
2119# Check for GNU ac_path_SED and select it if it is found.
2120 # Check for GNU $ac_path_SED
2121case `"$ac_path_SED" --version 2>&1` in
2122*GNU*)
2123 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2124*)
2125 ac_count=0
2126 $as_echo_n 0123456789 >"conftest.in"
2127 while :
2128 do
2129 cat "conftest.in" "conftest.in" >"conftest.tmp"
2130 mv "conftest.tmp" "conftest.in"
2131 cp "conftest.in" "conftest.nl"
2132 $as_echo '' >> "conftest.nl"
2133 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2134 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2135 as_fn_arith $ac_count + 1 && ac_count=$as_val
2136 if test $ac_count -gt ${ac_path_SED_max-0}; then
2137 # Best one so far, save it but keep looking for a better one
2138 ac_cv_path_SED="$ac_path_SED"
2139 ac_path_SED_max=$ac_count
2140 fi
2141 # 10*(2^10) chars as input seems more than enough
2142 test $ac_count -gt 10 && break
2143 done
2144 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2145esac
2146
2147 $ac_path_SED_found && break 3
2148 done
2149 done
2150 done
2151IFS=$as_save_IFS
2152 if test -z "$ac_cv_path_SED"; then
2153 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2154 fi
2155else
2156 ac_cv_path_SED=$SED
2157fi
2158
2159fi
2160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2161$as_echo "$ac_cv_path_SED" >&6; }
2162 SED="$ac_cv_path_SED"
2163 rm -f conftest.sed
2164
2165
2166
Tim Edwards66e53e52021-01-24 21:21:36 -05002167realpath() {
2168 # Cross-platform, handles ~
2169 python3 -c 'import os,sys;print(os.path.realpath(os.path.expanduser(sys.argv[1])))' $1
2170}
2171
2172# detect PDKs based on directories that include Makefile.in files
2173
2174
2175# define tools
2176# define tools to install setup files for. This does not imply that the tools are
2177# available on the system; just that open_pdks will install the setup files for them.
Tim Edwards66e53e52021-01-24 21:21:36 -05002178
2179
Tim Edwards66e53e52021-01-24 21:21:36 -05002180# check for the source and install paths for each PDK.
2181
2182
2183{ $as_echo "$as_me:${as_lineno-$LINENO}: Found technology directories: sky130" >&5
2184$as_echo "$as_me: Found technology directories: sky130" >&6;}
2185
2186
2187
2188 # --enable-pdk-[pdk]=/path/to/pdk
2189
Tim Edwards1168a8b2021-02-10 22:06:54 -05002190 echo "Checking technology sky130..."
Tim Edwards66e53e52021-01-24 21:21:36 -05002191
2192
2193 SKY130_SOURCE_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002194 SKY130_LINK_TARGETS="none"
Tim Edwards7e0a6442021-02-11 15:37:42 -05002195 SKY130_AUTO="0"
Tim Edwards66e53e52021-01-24 21:21:36 -05002196
2197 # Check whether --enable-sky130-sky130 was given.
2198if test "${enable_sky130_pdk+set}" = set; then :
2199 enableval=$enable_sky130_pdk;
2200 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002201 export SKY130_SOURCE_PATH=../sources/sky130-pdk
2202 SKY130_AUTO="1"
Tim Edwards66e53e52021-01-24 21:21:36 -05002203 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2204 echo "Disabling sky130..."
2205 else
2206 SKY130_SOURCE_PATH=$enableval
2207 fi
2208
Tim Edwards66e53e52021-01-24 21:21:36 -05002209fi
2210
Tim Edwards66e53e52021-01-24 21:21:36 -05002211
2212 if [ "$SKY130_SOURCE_PATH" != "" ]; then
2213 SKY130_SOURCE_PATH=`realpath $SKY130_SOURCE_PATH`
2214 SKY130_BASENAME=`basename $SKY130_SOURCE_PATH`
2215 if [ "$SKY130_BASENAME" = "libraries" ]; then
2216 SKY130_SOURCE_PATH=`dirname $SKY130_SOURCE_PATH`
2217 fi
Tim Edwards6ee11532021-02-11 12:29:33 -05002218 # Basic check that the PDK path exists, unless depending on Makefile
2219 # to download it automatically.
Tim Edwards7e0a6442021-02-11 15:37:42 -05002220 if [ "$SKY130_AUTO" = "0" ]; then
Tim Edwards6ee11532021-02-11 12:29:33 -05002221 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking specified path for 'sky130' at $SKY130_SOURCE_PATH" >&5
Tim Edwards66e53e52021-01-24 21:21:36 -05002222$as_echo "$as_me: Checking specified path for 'sky130' at $SKY130_SOURCE_PATH" >&6;}
Tim Edwards6ee11532021-02-11 12:29:33 -05002223 as_ac_File=`$as_echo "ac_cv_file_$SKY130_SOURCE_PATH" | $as_tr_sh`
Tim Edwards66e53e52021-01-24 21:21:36 -05002224{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SKY130_SOURCE_PATH" >&5
2225$as_echo_n "checking for $SKY130_SOURCE_PATH... " >&6; }
2226if eval \${$as_ac_File+:} false; then :
2227 $as_echo_n "(cached) " >&6
2228else
2229 test "$cross_compiling" = yes &&
2230 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2231if test -r "$SKY130_SOURCE_PATH"; then
2232 eval "$as_ac_File=yes"
2233else
2234 eval "$as_ac_File=no"
2235fi
2236fi
2237eval ac_res=\$$as_ac_File
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2239$as_echo "$ac_res" >&6; }
2240if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2241
Tim Edwards6ee11532021-02-11 12:29:33 -05002242 { $as_echo "$as_me:${as_lineno-$LINENO}: 'sky130' source path found at $SKY130_SOURCE_PATH" >&5
Tim Edwards66e53e52021-01-24 21:21:36 -05002243$as_echo "$as_me: 'sky130' source path found at $SKY130_SOURCE_PATH" >&6;}
2244
2245else
2246
Tim Edwards6ee11532021-02-11 12:29:33 -05002247 as_fn_error $? "Specified path for 'sky130' at $SKY130_SOURCE_PATH not found" "$LINENO" 5
Tim Edwards66e53e52021-01-24 21:21:36 -05002248
2249fi
2250
Tim Edwards6ee11532021-02-11 12:29:33 -05002251 else
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: PDK 'sky130' will be downloaded automatically during make." >&5
2253$as_echo "$as_me: PDK 'sky130' will be downloaded automatically during make." >&6;}
2254 fi
Tim Edwards66e53e52021-01-24 21:21:36 -05002255
Tim Edwards66e53e52021-01-24 21:21:36 -05002256 # --with-pdk-link-targets=PDK_LINK_TARGETS
2257
2258# Check whether --with-sky130-link-targets was given.
2259if test "${with_sky130_link_targets+set}" = set; then :
2260 withval=$with_sky130_link_targets; SKY130_LINK_TARGETS=$with_sky130_link_targets
2261
2262fi
2263
2264
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: Link targets set to $SKY130_LINK_TARGETS" >&5
2266$as_echo "$as_me: Link targets set to $SKY130_LINK_TARGETS" >&6;}
2267 fi
2268
2269
2270
2271
2272
2273
Tim Edwards66e53e52021-01-24 21:21:36 -05002274# Set variables for tool setups
2275
2276
Tim Edwards1168a8b2021-02-10 22:06:54 -05002277{ $as_echo "$as_me:${as_lineno-$LINENO}: Found tools: klayout magic netgen irsim openlane qflow xschem" >&5
2278$as_echo "$as_me: Found tools: klayout magic netgen irsim openlane qflow xschem" >&6;}
Tim Edwards66e53e52021-01-24 21:21:36 -05002279
2280
2281
2282
2283
2284 KLAYOUT_DISABLED=0
2285 # Check whether --enable-klayout was given.
2286if test "${enable_klayout+set}" = set; then :
2287 enableval=$enable_klayout;
2288 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2289 KLAYOUT_DISABLED=1
2290 fi
2291
2292
2293fi
2294
2295
2296
2297
2298
2299 MAGIC_DISABLED=0
2300 # Check whether --enable-magic was given.
2301if test "${enable_magic+set}" = set; then :
2302 enableval=$enable_magic;
2303 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2304 MAGIC_DISABLED=1
2305 fi
2306
2307
2308fi
2309
2310
2311
2312
2313
2314 NETGEN_DISABLED=0
2315 # Check whether --enable-netgen was given.
2316if test "${enable_netgen+set}" = set; then :
2317 enableval=$enable_netgen;
2318 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2319 NETGEN_DISABLED=1
2320 fi
2321
2322
2323fi
2324
2325
2326
2327
2328
Tim Edwards367711e2021-01-27 10:35:12 -05002329 IRSIM_DISABLED=0
2330 # Check whether --enable-irsim was given.
2331if test "${enable_irsim+set}" = set; then :
2332 enableval=$enable_irsim;
2333 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2334 IRSIM_DISABLED=1
2335 fi
2336
2337
2338fi
2339
2340
2341
2342
2343
Tim Edwards66e53e52021-01-24 21:21:36 -05002344 OPENLANE_DISABLED=0
2345 # Check whether --enable-openlane was given.
2346if test "${enable_openlane+set}" = set; then :
2347 enableval=$enable_openlane;
2348 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2349 OPENLANE_DISABLED=1
2350 fi
2351
2352
2353fi
2354
2355
2356
2357
2358
2359 QFLOW_DISABLED=0
2360 # Check whether --enable-qflow was given.
2361if test "${enable_qflow+set}" = set; then :
2362 enableval=$enable_qflow;
2363 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2364 QFLOW_DISABLED=1
2365 fi
2366
2367
2368fi
2369
2370
2371
2372
2373
Tim Edwards1168a8b2021-02-10 22:06:54 -05002374 XSCHEM_DISABLED=0
2375 # Check whether --enable-xschem was given.
2376if test "${enable_xschem+set}" = set; then :
2377 enableval=$enable_xschem;
2378 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2379 XSCHEM_DISABLED=1
2380 fi
2381
2382
2383fi
2384
2385
2386
2387
2388
Tim Edwards66e53e52021-01-24 21:21:36 -05002389# Magic
2390# Extract the first word of "magic", so it can be a program name with args.
2391set dummy magic; ac_word=$2
2392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2393$as_echo_n "checking for $ac_word... " >&6; }
2394if ${ac_cv_path_MAGIC+:} false; then :
2395 $as_echo_n "(cached) " >&6
2396else
2397 case $MAGIC in
2398 [\\/]* | ?:[\\/]*)
2399 ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
2400 ;;
2401 *)
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2403for as_dir in $PATH
2404do
2405 IFS=$as_save_IFS
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_path_MAGIC="$as_dir/$ac_word$ac_exec_ext"
2410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2411 break 2
2412 fi
2413done
2414 done
2415IFS=$as_save_IFS
2416
2417 ;;
2418esac
2419fi
2420MAGIC=$ac_cv_path_MAGIC
2421if test -n "$MAGIC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC" >&5
2423$as_echo "$MAGIC" >&6; }
2424else
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426$as_echo "no" >&6; }
2427fi
2428
2429
2430if test -z "$MAGIC"; then
2431 as_fn_error $? "You need 'magic' to generate the needed various cell views." "$LINENO" 5
2432fi
2433# Extract the first word of "patch", so it can be a program name with args.
2434set dummy patch; ac_word=$2
2435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436$as_echo_n "checking for $ac_word... " >&6; }
2437if ${ac_cv_path_PATCH+:} false; then :
2438 $as_echo_n "(cached) " >&6
2439else
2440 case $PATCH in
2441 [\\/]* | ?:[\\/]*)
2442 ac_cv_path_PATCH="$PATCH" # Let the user override the test with a path.
2443 ;;
2444 *)
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2446for as_dir in $PATH
2447do
2448 IFS=$as_save_IFS
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2452 ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext"
2453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 break 2
2455 fi
2456done
2457 done
2458IFS=$as_save_IFS
2459
2460 ;;
2461esac
2462fi
2463PATCH=$ac_cv_path_PATCH
2464if test -n "$PATCH"; then
2465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
2466$as_echo "$PATCH" >&6; }
2467else
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2469$as_echo "no" >&6; }
2470fi
2471
2472
2473if test -z "$PATCH"; then
2474 as_fn_error $? "You need 'patch' to apply patches." "$LINENO" 5
2475fi
2476
2477# Other installations (libraries or tools if applicable)
Tim Edwards66e53e52021-01-24 21:21:36 -05002478
2479
Tim Edwardscdfec5e2021-04-22 20:59:13 -04002480# Optional installations (like the above, but disabled by default)
Tim Edwardscfe970c2021-02-26 14:35:51 -05002481
2482
2483
2484
2485
2486
2487
2488
2489 # echo target targetvar flag location
2490
Tim Edwards66e53e52021-01-24 21:21:36 -05002491 SKY130_ML_XX_HD_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002492
Tim Edwards1168a8b2021-02-10 22:06:54 -05002493 # Check whether --enable-alpha-sky130 was given.
2494if test "${enable_alpha_sky130+set}" = set; then :
2495 enableval=$enable_alpha_sky130;
Tim Edwards66e53e52021-01-24 21:21:36 -05002496 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002497 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&5
2498$as_echo "$as_me: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&6;}
Tim Edwards6ee11532021-02-11 12:29:33 -05002499 export SKY130_ML_XX_HD_PATH=../sources/sky130_ml_xx_hd
Tim Edwards66e53e52021-01-24 21:21:36 -05002500 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002501 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_ml_xx_hd'" >&5
2502$as_echo "$as_me: Disabling package 'sky130_ml_xx_hd'" >&6;}
2503 export SKY130_ML_XX_HD_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002504 else
2505 SKY130_ML_XX_HD_PATH=$enableval
Tim Edwards7e0a6442021-02-11 15:37:42 -05002506 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_ml_xx_hd' at $SKY130_ML_XX_HD_PATH" >&5
2507$as_echo "$as_me: Enabling package 'sky130_ml_xx_hd' at $SKY130_ML_XX_HD_PATH" >&6;}
Tim Edwards66e53e52021-01-24 21:21:36 -05002508 fi
2509 SKY130_ML_XX_HD_PATH=`realpath $SKY130_ML_XX_HD_PATH`
2510
Tim Edwards7e0a6442021-02-11 15:37:42 -05002511else
2512
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&5
2514$as_echo "$as_me: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&6;}
2515 SKY130_ML_XX_HD_PATH=../sources/sky130_ml_xx_hd
2516
2517
Tim Edwards66e53e52021-01-24 21:21:36 -05002518fi
2519
2520
2521
2522
2523
2524
2525
Tim Edwards66e53e52021-01-24 21:21:36 -05002526
2527
2528
2529
2530
Tim Edwards6ee11532021-02-11 12:29:33 -05002531 # echo target targetvar flag location
Tim Edwards66e53e52021-01-24 21:21:36 -05002532
Tim Edwards1168a8b2021-02-10 22:06:54 -05002533 XSCHEM_SKY130_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002534
Tim Edwards1168a8b2021-02-10 22:06:54 -05002535 # Check whether --enable-xschem-sky130 was given.
2536if test "${enable_xschem_sky130+set}" = set; then :
2537 enableval=$enable_xschem_sky130;
Tim Edwards66e53e52021-01-24 21:21:36 -05002538 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002539 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'xschem_sky130' will be installed automatically during make." >&5
2540$as_echo "$as_me: Package 'xschem_sky130' will be installed automatically during make." >&6;}
Tim Edwards6ee11532021-02-11 12:29:33 -05002541 export XSCHEM_SKY130_PATH=../sources/xschem_sky130
Tim Edwards66e53e52021-01-24 21:21:36 -05002542 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002543 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'xschem_sky130'" >&5
2544$as_echo "$as_me: Disabling package 'xschem_sky130'" >&6;}
2545 export XSCHEM_SKY130_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002546 else
Tim Edwards1168a8b2021-02-10 22:06:54 -05002547 XSCHEM_SKY130_PATH=$enableval
Tim Edwards7e0a6442021-02-11 15:37:42 -05002548 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'xschem_sky130' at $XSCHEM_SKY130_PATH" >&5
2549$as_echo "$as_me: Enabling package 'xschem_sky130' at $XSCHEM_SKY130_PATH" >&6;}
Tim Edwards66e53e52021-01-24 21:21:36 -05002550 fi
Tim Edwards1168a8b2021-02-10 22:06:54 -05002551 XSCHEM_SKY130_PATH=`realpath $XSCHEM_SKY130_PATH`
Tim Edwards66e53e52021-01-24 21:21:36 -05002552
Tim Edwards7e0a6442021-02-11 15:37:42 -05002553else
2554
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'xschem_sky130' will be installed automatically during make." >&5
2556$as_echo "$as_me: Package 'xschem_sky130' will be installed automatically during make." >&6;}
2557 XSCHEM_SKY130_PATH=../sources/xschem_sky130
2558
2559
Tim Edwards66e53e52021-01-24 21:21:36 -05002560fi
2561
2562
2563
2564
2565
Tim Edwards66e53e52021-01-24 21:21:36 -05002566
2567
2568
2569
Tim Edwardscdfec5e2021-04-22 20:59:13 -04002570
2571
2572
2573
2574 # echo target targetvar flag location
2575
2576 SKY130_SRAM_MACROS_PATH=""
2577
2578 # Check whether --enable-sram-sky130 was given.
2579if test "${enable_sram_sky130+set}" = set; then :
2580 enableval=$enable_sram_sky130;
2581 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_sram_macros' will be installed automatically during make." >&5
2583$as_echo "$as_me: Package 'sky130_sram_macros' will be installed automatically during make." >&6;}
2584 export SKY130_SRAM_MACROS_PATH=../sources/sky130_sram_macros
2585 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_sram_macros'" >&5
2587$as_echo "$as_me: Disabling package 'sky130_sram_macros'" >&6;}
2588 export SKY130_SRAM_MACROS_PATH=""
2589 else
2590 SKY130_SRAM_MACROS_PATH=$enableval
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_sram_macros' at $SKY130_SRAM_MACROS_PATH" >&5
2592$as_echo "$as_me: Enabling package 'sky130_sram_macros' at $SKY130_SRAM_MACROS_PATH" >&6;}
2593 fi
2594 SKY130_SRAM_MACROS_PATH=`realpath $SKY130_SRAM_MACROS_PATH`
2595
2596else
2597
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_sram_macros' will not be installed." >&5
2599$as_echo "$as_me: Package 'sky130_sram_macros' will not be installed." >&6;}
2600
2601
2602fi
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615 # echo target targetvar flag location
2616
Tim Edwardscdfec5e2021-04-22 20:59:13 -04002617 SKY130_OSU_T12_PATH=""
2618
2619 # Check whether --enable-osu-t12-sky130 was given.
2620if test "${enable_osu_t12_sky130+set}" = set; then :
2621 enableval=$enable_osu_t12_sky130;
2622 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t12' will be installed automatically during make." >&5
2624$as_echo "$as_me: Package 'sky130_osu_t12' will be installed automatically during make." >&6;}
2625 export SKY130_OSU_T12_PATH=../sources/sky130_osu_t12
2626 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_osu_t12'" >&5
2628$as_echo "$as_me: Disabling package 'sky130_osu_t12'" >&6;}
2629 export SKY130_OSU_T12_PATH=""
2630 else
2631 SKY130_OSU_T12_PATH=$enableval
2632 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_osu_t12' at $SKY130_OSU_T12_PATH" >&5
2633$as_echo "$as_me: Enabling package 'sky130_osu_t12' at $SKY130_OSU_T12_PATH" >&6;}
2634 fi
2635 SKY130_OSU_T12_PATH=`realpath $SKY130_OSU_T12_PATH`
2636
2637else
2638
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t12' will not be installed." >&5
2640$as_echo "$as_me: Package 'sky130_osu_t12' will not be installed." >&6;}
2641
2642
2643fi
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656 # echo target targetvar flag location
2657
2658 SKY130_OSU_T15_PATH=""
2659
2660 # Check whether --enable-osu-t15-sky130 was given.
2661if test "${enable_osu_t15_sky130+set}" = set; then :
2662 enableval=$enable_osu_t15_sky130;
2663 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t15' will be installed automatically during make." >&5
2665$as_echo "$as_me: Package 'sky130_osu_t15' will be installed automatically during make." >&6;}
2666 export SKY130_OSU_T15_PATH=../sources/sky130_osu_t15
2667 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_osu_t15'" >&5
2669$as_echo "$as_me: Disabling package 'sky130_osu_t15'" >&6;}
2670 export SKY130_OSU_T15_PATH=""
2671 else
2672 SKY130_OSU_T15_PATH=$enableval
2673 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_osu_t15' at $SKY130_OSU_T15_PATH" >&5
2674$as_echo "$as_me: Enabling package 'sky130_osu_t15' at $SKY130_OSU_T15_PATH" >&6;}
2675 fi
2676 SKY130_OSU_T15_PATH=`realpath $SKY130_OSU_T15_PATH`
2677
2678else
2679
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t15' will not be installed." >&5
2681$as_echo "$as_me: Package 'sky130_osu_t15' will not be installed." >&6;}
2682
2683
2684fi
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697 # echo target targetvar flag location
2698
2699 SKY130_OSU_T18_PATH=""
2700
2701 # Check whether --enable-osu-t18-sky130 was given.
2702if test "${enable_osu_t18_sky130+set}" = set; then :
2703 enableval=$enable_osu_t18_sky130;
2704 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t18' will be installed automatically during make." >&5
2706$as_echo "$as_me: Package 'sky130_osu_t18' will be installed automatically during make." >&6;}
2707 export SKY130_OSU_T18_PATH=../sources/sky130_osu_t18
2708 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2709 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_osu_t18'" >&5
2710$as_echo "$as_me: Disabling package 'sky130_osu_t18'" >&6;}
2711 export SKY130_OSU_T18_PATH=""
2712 else
2713 SKY130_OSU_T18_PATH=$enableval
2714 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_osu_t18' at $SKY130_OSU_T18_PATH" >&5
2715$as_echo "$as_me: Enabling package 'sky130_osu_t18' at $SKY130_OSU_T18_PATH" >&6;}
2716 fi
2717 SKY130_OSU_T18_PATH=`realpath $SKY130_OSU_T18_PATH`
2718
2719else
2720
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t18' will not be installed." >&5
2722$as_echo "$as_me: Package 'sky130_osu_t18' will not be installed." >&6;}
2723
2724
2725fi
2726
2727
2728
2729
2730
2731
2732
2733
2734
Tim Edwards1168a8b2021-02-10 22:06:54 -05002735{ $as_echo "$as_me:${as_lineno-$LINENO}: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem" >&5
2736$as_echo "$as_me: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem" >&6;}
Tim Edwards66e53e52021-01-24 21:21:36 -05002737
Tim Edwards7cbaaba2020-08-05 12:19:18 -04002738# Check for "--with-ef-style"
2739EF_STYLE=0
2740
2741# Check whether --with-ef-style was given.
2742if test "${with_ef_style+set}" = set; then :
2743 withval=$with_ef_style;
Tim Edwards8292c902020-12-24 16:25:25 -05002744 pdks_ef_style=$withval
2745 if test "$withval" == "yes" -o "$withval" == "YES"; then
2746 EF_STYLE=1
2747 fi
Tim Edwards7cbaaba2020-08-05 12:19:18 -04002748
2749fi
2750
2751
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002752
2753
2754MAKEFILES=$(find .. -name "Makefile.in" | sed 's/\(.*\)\.in/\1/g')
2755ac_config_files="$ac_config_files $MAKEFILES"
2756
2757
2758cat >confcache <<\_ACEOF
2759# This file is a shell script that caches the results of configure
2760# tests run on this system so they can be shared between configure
2761# scripts and configure runs, see configure's option --config-cache.
2762# It is not useful on other systems. If it contains results you don't
2763# want to keep, you may remove or edit it.
2764#
2765# config.status only pays attention to the cache file if you give it
2766# the --recheck option to rerun configure.
2767#
2768# `ac_cv_env_foo' variables (set or unset) will be overridden when
2769# loading this file, other *unset* `ac_cv_foo' will be assigned the
2770# following values.
2771
2772_ACEOF
2773
2774# The following way of writing the cache mishandles newlines in values,
2775# but we know of no workaround that is simple, portable, and efficient.
2776# So, we kill variables containing newlines.
2777# Ultrix sh set writes to stderr and can't be redirected directly,
2778# and sets the high bit in the cache file unless we assign to the vars.
2779(
2780 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2781 eval ac_val=\$$ac_var
2782 case $ac_val in #(
2783 *${as_nl}*)
2784 case $ac_var in #(
2785 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2786$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2787 esac
2788 case $ac_var in #(
2789 _ | IFS | as_nl) ;; #(
2790 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2791 *) { eval $ac_var=; unset $ac_var;} ;;
2792 esac ;;
2793 esac
2794 done
2795
2796 (set) 2>&1 |
2797 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2798 *${as_nl}ac_space=\ *)
2799 # `set' does not quote correctly, so add quotes: double-quote
2800 # substitution turns \\\\ into \\, and sed turns \\ into \.
2801 sed -n \
2802 "s/'/'\\\\''/g;
2803 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2804 ;; #(
2805 *)
2806 # `set' quotes correctly as required by POSIX, so do not add quotes.
2807 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2808 ;;
2809 esac |
2810 sort
2811) |
2812 sed '
2813 /^ac_cv_env_/b end
2814 t clear
2815 :clear
2816 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2817 t end
2818 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2819 :end' >>confcache
2820if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2821 if test -w "$cache_file"; then
2822 if test "x$cache_file" != "x/dev/null"; then
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2824$as_echo "$as_me: updating cache $cache_file" >&6;}
2825 if test ! -f "$cache_file" || test -h "$cache_file"; then
2826 cat confcache >"$cache_file"
2827 else
2828 case $cache_file in #(
2829 */* | ?:*)
2830 mv -f confcache "$cache_file"$$ &&
2831 mv -f "$cache_file"$$ "$cache_file" ;; #(
2832 *)
2833 mv -f confcache "$cache_file" ;;
2834 esac
2835 fi
2836 fi
2837 else
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2839$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2840 fi
2841fi
2842rm -f confcache
2843
2844test "x$prefix" = xNONE && prefix=$ac_default_prefix
2845# Let make expand exec_prefix.
2846test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2847
2848# Transform confdefs.h into DEFS.
2849# Protect against shell expansion while executing Makefile rules.
2850# Protect against Makefile macro expansion.
2851#
2852# If the first sed substitution is executed (which looks for macros that
2853# take arguments), then branch to the quote section. Otherwise,
2854# look for a macro that doesn't take arguments.
2855ac_script='
2856:mline
2857/\\$/{
2858 N
2859 s,\\\n,,
2860 b mline
2861}
2862t clear
2863:clear
2864s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2865t quote
2866s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2867t quote
2868b any
2869:quote
2870s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2871s/\[/\\&/g
2872s/\]/\\&/g
2873s/\$/$$/g
2874H
2875:any
2876${
2877 g
2878 s/^\n//
2879 s/\n/ /g
2880 p
2881}
2882'
2883DEFS=`sed -n "$ac_script" confdefs.h`
2884
2885
2886ac_libobjs=
2887ac_ltlibobjs=
2888U=
2889for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2890 # 1. Remove the extension, and $U if already installed.
2891 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2892 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2893 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2894 # will be set to the directory where LIBOBJS objects are built.
2895 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2896 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2897done
2898LIBOBJS=$ac_libobjs
2899
2900LTLIBOBJS=$ac_ltlibobjs
2901
2902
2903
2904: "${CONFIG_STATUS=./config.status}"
2905ac_write_fail=0
2906ac_clean_files_save=$ac_clean_files
2907ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2908{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2909$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2910as_write_fail=0
2911cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2912#! $SHELL
2913# Generated by $as_me.
2914# Run this file to recreate the current configuration.
2915# Compiler output produced by configure, useful for debugging
2916# configure, is in config.log if it exists.
2917
2918debug=false
2919ac_cs_recheck=false
2920ac_cs_silent=false
2921
2922SHELL=\${CONFIG_SHELL-$SHELL}
2923export SHELL
2924_ASEOF
2925cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2926## -------------------- ##
2927## M4sh Initialization. ##
2928## -------------------- ##
2929
2930# Be more Bourne compatible
2931DUALCASE=1; export DUALCASE # for MKS sh
2932if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2933 emulate sh
2934 NULLCMD=:
2935 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2936 # is contrary to our usage. Disable this feature.
2937 alias -g '${1+"$@"}'='"$@"'
2938 setopt NO_GLOB_SUBST
2939else
2940 case `(set -o) 2>/dev/null` in #(
2941 *posix*) :
2942 set -o posix ;; #(
2943 *) :
2944 ;;
2945esac
2946fi
2947
2948
2949as_nl='
2950'
2951export as_nl
2952# Printing a long string crashes Solaris 7 /usr/bin/printf.
2953as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2954as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2955as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2956# Prefer a ksh shell builtin over an external printf program on Solaris,
2957# but without wasting forks for bash or zsh.
2958if test -z "$BASH_VERSION$ZSH_VERSION" \
2959 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2960 as_echo='print -r --'
2961 as_echo_n='print -rn --'
2962elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2963 as_echo='printf %s\n'
2964 as_echo_n='printf %s'
2965else
2966 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2967 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2968 as_echo_n='/usr/ucb/echo -n'
2969 else
2970 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2971 as_echo_n_body='eval
2972 arg=$1;
2973 case $arg in #(
2974 *"$as_nl"*)
2975 expr "X$arg" : "X\\(.*\\)$as_nl";
2976 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2977 esac;
2978 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2979 '
2980 export as_echo_n_body
2981 as_echo_n='sh -c $as_echo_n_body as_echo'
2982 fi
2983 export as_echo_body
2984 as_echo='sh -c $as_echo_body as_echo'
2985fi
2986
2987# The user is always right.
2988if test "${PATH_SEPARATOR+set}" != set; then
2989 PATH_SEPARATOR=:
2990 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2991 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2992 PATH_SEPARATOR=';'
2993 }
2994fi
2995
2996
2997# IFS
2998# We need space, tab and new line, in precisely that order. Quoting is
2999# there to prevent editors from complaining about space-tab.
3000# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3001# splitting by setting IFS to empty value.)
3002IFS=" "" $as_nl"
3003
3004# Find who we are. Look in the path if we contain no directory separator.
3005as_myself=
3006case $0 in #((
3007 *[\\/]* ) as_myself=$0 ;;
3008 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009for as_dir in $PATH
3010do
3011 IFS=$as_save_IFS
3012 test -z "$as_dir" && as_dir=.
3013 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3014 done
3015IFS=$as_save_IFS
3016
3017 ;;
3018esac
3019# We did not find ourselves, most probably we were run as `sh COMMAND'
3020# in which case we are not to be found in the path.
3021if test "x$as_myself" = x; then
3022 as_myself=$0
3023fi
3024if test ! -f "$as_myself"; then
3025 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3026 exit 1
3027fi
3028
3029# Unset variables that we do not need and which cause bugs (e.g. in
3030# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3031# suppresses any "Segmentation fault" message there. '((' could
3032# trigger a bug in pdksh 5.2.14.
3033for as_var in BASH_ENV ENV MAIL MAILPATH
3034do eval test x\${$as_var+set} = xset \
3035 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3036done
3037PS1='$ '
3038PS2='> '
3039PS4='+ '
3040
3041# NLS nuisances.
3042LC_ALL=C
3043export LC_ALL
3044LANGUAGE=C
3045export LANGUAGE
3046
3047# CDPATH.
3048(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3049
3050
3051# as_fn_error STATUS ERROR [LINENO LOG_FD]
3052# ----------------------------------------
3053# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3054# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3055# script with STATUS, using 1 if that was 0.
3056as_fn_error ()
3057{
3058 as_status=$1; test $as_status -eq 0 && as_status=1
3059 if test "$4"; then
3060 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3061 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3062 fi
3063 $as_echo "$as_me: error: $2" >&2
3064 as_fn_exit $as_status
3065} # as_fn_error
3066
3067
3068# as_fn_set_status STATUS
3069# -----------------------
3070# Set $? to STATUS, without forking.
3071as_fn_set_status ()
3072{
3073 return $1
3074} # as_fn_set_status
3075
3076# as_fn_exit STATUS
3077# -----------------
3078# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3079as_fn_exit ()
3080{
3081 set +e
3082 as_fn_set_status $1
3083 exit $1
3084} # as_fn_exit
3085
3086# as_fn_unset VAR
3087# ---------------
3088# Portably unset VAR.
3089as_fn_unset ()
3090{
3091 { eval $1=; unset $1;}
3092}
3093as_unset=as_fn_unset
3094# as_fn_append VAR VALUE
3095# ----------------------
3096# Append the text in VALUE to the end of the definition contained in VAR. Take
3097# advantage of any shell optimizations that allow amortized linear growth over
3098# repeated appends, instead of the typical quadratic growth present in naive
3099# implementations.
3100if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3101 eval 'as_fn_append ()
3102 {
3103 eval $1+=\$2
3104 }'
3105else
3106 as_fn_append ()
3107 {
3108 eval $1=\$$1\$2
3109 }
3110fi # as_fn_append
3111
3112# as_fn_arith ARG...
3113# ------------------
3114# Perform arithmetic evaluation on the ARGs, and store the result in the
3115# global $as_val. Take advantage of shells that can avoid forks. The arguments
3116# must be portable across $(()) and expr.
3117if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3118 eval 'as_fn_arith ()
3119 {
3120 as_val=$(( $* ))
3121 }'
3122else
3123 as_fn_arith ()
3124 {
3125 as_val=`expr "$@" || test $? -eq 1`
3126 }
3127fi # as_fn_arith
3128
3129
3130if expr a : '\(a\)' >/dev/null 2>&1 &&
3131 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3132 as_expr=expr
3133else
3134 as_expr=false
3135fi
3136
3137if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3138 as_basename=basename
3139else
3140 as_basename=false
3141fi
3142
3143if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3144 as_dirname=dirname
3145else
3146 as_dirname=false
3147fi
3148
3149as_me=`$as_basename -- "$0" ||
3150$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3151 X"$0" : 'X\(//\)$' \| \
3152 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3153$as_echo X/"$0" |
3154 sed '/^.*\/\([^/][^/]*\)\/*$/{
3155 s//\1/
3156 q
3157 }
3158 /^X\/\(\/\/\)$/{
3159 s//\1/
3160 q
3161 }
3162 /^X\/\(\/\).*/{
3163 s//\1/
3164 q
3165 }
3166 s/.*/./; q'`
3167
3168# Avoid depending upon Character Ranges.
3169as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3170as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3171as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3172as_cr_digits='0123456789'
3173as_cr_alnum=$as_cr_Letters$as_cr_digits
3174
3175ECHO_C= ECHO_N= ECHO_T=
3176case `echo -n x` in #(((((
3177-n*)
3178 case `echo 'xy\c'` in
3179 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3180 xy) ECHO_C='\c';;
3181 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3182 ECHO_T=' ';;
3183 esac;;
3184*)
3185 ECHO_N='-n';;
3186esac
3187
3188rm -f conf$$ conf$$.exe conf$$.file
3189if test -d conf$$.dir; then
3190 rm -f conf$$.dir/conf$$.file
3191else
3192 rm -f conf$$.dir
3193 mkdir conf$$.dir 2>/dev/null
3194fi
3195if (echo >conf$$.file) 2>/dev/null; then
3196 if ln -s conf$$.file conf$$ 2>/dev/null; then
3197 as_ln_s='ln -s'
3198 # ... but there are two gotchas:
3199 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3200 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3201 # In both cases, we have to default to `cp -pR'.
3202 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3203 as_ln_s='cp -pR'
3204 elif ln conf$$.file conf$$ 2>/dev/null; then
3205 as_ln_s=ln
3206 else
3207 as_ln_s='cp -pR'
3208 fi
3209else
3210 as_ln_s='cp -pR'
3211fi
3212rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3213rmdir conf$$.dir 2>/dev/null
3214
3215
3216# as_fn_mkdir_p
3217# -------------
3218# Create "$as_dir" as a directory, including parents if necessary.
3219as_fn_mkdir_p ()
3220{
3221
3222 case $as_dir in #(
3223 -*) as_dir=./$as_dir;;
3224 esac
3225 test -d "$as_dir" || eval $as_mkdir_p || {
3226 as_dirs=
3227 while :; do
3228 case $as_dir in #(
3229 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3230 *) as_qdir=$as_dir;;
3231 esac
3232 as_dirs="'$as_qdir' $as_dirs"
3233 as_dir=`$as_dirname -- "$as_dir" ||
3234$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3235 X"$as_dir" : 'X\(//\)[^/]' \| \
3236 X"$as_dir" : 'X\(//\)$' \| \
3237 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3238$as_echo X"$as_dir" |
3239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3240 s//\1/
3241 q
3242 }
3243 /^X\(\/\/\)[^/].*/{
3244 s//\1/
3245 q
3246 }
3247 /^X\(\/\/\)$/{
3248 s//\1/
3249 q
3250 }
3251 /^X\(\/\).*/{
3252 s//\1/
3253 q
3254 }
3255 s/.*/./; q'`
3256 test -d "$as_dir" && break
3257 done
3258 test -z "$as_dirs" || eval "mkdir $as_dirs"
3259 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3260
3261
3262} # as_fn_mkdir_p
3263if mkdir -p . 2>/dev/null; then
3264 as_mkdir_p='mkdir -p "$as_dir"'
3265else
3266 test -d ./-p && rmdir ./-p
3267 as_mkdir_p=false
3268fi
3269
3270
3271# as_fn_executable_p FILE
3272# -----------------------
3273# Test if FILE is an executable regular file.
3274as_fn_executable_p ()
3275{
3276 test -f "$1" && test -x "$1"
3277} # as_fn_executable_p
3278as_test_x='test -x'
3279as_executable_p=as_fn_executable_p
3280
3281# Sed expression to map a string onto a valid CPP name.
3282as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3283
3284# Sed expression to map a string onto a valid variable name.
3285as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3286
3287
3288exec 6>&1
3289## ----------------------------------- ##
3290## Main body of $CONFIG_STATUS script. ##
3291## ----------------------------------- ##
3292_ASEOF
3293test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3294
3295cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3296# Save the log message, to keep $0 and so on meaningful, and to
3297# report actual input values of CONFIG_FILES etc. instead of their
3298# values after options handling.
3299ac_log="
3300This file was extended by open_pdks $as_me 1.0, which was
3301generated by GNU Autoconf 2.69. Invocation command line was
3302
3303 CONFIG_FILES = $CONFIG_FILES
3304 CONFIG_HEADERS = $CONFIG_HEADERS
3305 CONFIG_LINKS = $CONFIG_LINKS
3306 CONFIG_COMMANDS = $CONFIG_COMMANDS
3307 $ $0 $@
3308
3309on `(hostname || uname -n) 2>/dev/null | sed 1q`
3310"
3311
3312_ACEOF
3313
3314case $ac_config_files in *"
3315"*) set x $ac_config_files; shift; ac_config_files=$*;;
3316esac
3317
3318
3319
3320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3321# Files that config.status was made for.
3322config_files="$ac_config_files"
3323
3324_ACEOF
3325
3326cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3327ac_cs_usage="\
3328\`$as_me' instantiates files and other configuration actions
3329from templates according to the current configuration. Unless the files
3330and actions are specified as TAGs, all are instantiated by default.
3331
3332Usage: $0 [OPTION]... [TAG]...
3333
3334 -h, --help print this help, then exit
3335 -V, --version print version number and configuration settings, then exit
3336 --config print configuration, then exit
3337 -q, --quiet, --silent
3338 do not print progress messages
3339 -d, --debug don't remove temporary files
3340 --recheck update $as_me by reconfiguring in the same conditions
3341 --file=FILE[:TEMPLATE]
3342 instantiate the configuration file FILE
3343
3344Configuration files:
3345$config_files
3346
3347Report bugs to <github.com/RTimothyEdwards/open_pdks>."
3348
3349_ACEOF
3350cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3351ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3352ac_cs_version="\\
3353open_pdks config.status 1.0
3354configured by $0, generated by GNU Autoconf 2.69,
3355 with options \\"\$ac_cs_config\\"
3356
3357Copyright (C) 2012 Free Software Foundation, Inc.
3358This config.status script is free software; the Free Software Foundation
3359gives unlimited permission to copy, distribute and modify it."
3360
3361ac_pwd='$ac_pwd'
3362srcdir='$srcdir'
3363test -n "\$AWK" || AWK=awk
3364_ACEOF
3365
3366cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3367# The default lists apply if the user does not specify any file.
3368ac_need_defaults=:
3369while test $# != 0
3370do
3371 case $1 in
3372 --*=?*)
3373 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3374 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3375 ac_shift=:
3376 ;;
3377 --*=)
3378 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3379 ac_optarg=
3380 ac_shift=:
3381 ;;
3382 *)
3383 ac_option=$1
3384 ac_optarg=$2
3385 ac_shift=shift
3386 ;;
3387 esac
3388
3389 case $ac_option in
3390 # Handling of the options.
3391 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3392 ac_cs_recheck=: ;;
3393 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3394 $as_echo "$ac_cs_version"; exit ;;
3395 --config | --confi | --conf | --con | --co | --c )
3396 $as_echo "$ac_cs_config"; exit ;;
3397 --debug | --debu | --deb | --de | --d | -d )
3398 debug=: ;;
3399 --file | --fil | --fi | --f )
3400 $ac_shift
3401 case $ac_optarg in
3402 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3403 '') as_fn_error $? "missing file argument" ;;
3404 esac
3405 as_fn_append CONFIG_FILES " '$ac_optarg'"
3406 ac_need_defaults=false;;
3407 --he | --h | --help | --hel | -h )
3408 $as_echo "$ac_cs_usage"; exit ;;
3409 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3410 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3411 ac_cs_silent=: ;;
3412
3413 # This is an error.
3414 -*) as_fn_error $? "unrecognized option: \`$1'
3415Try \`$0 --help' for more information." ;;
3416
3417 *) as_fn_append ac_config_targets " $1"
3418 ac_need_defaults=false ;;
3419
3420 esac
3421 shift
3422done
3423
3424ac_configure_extra_args=
3425
3426if $ac_cs_silent; then
3427 exec 6>/dev/null
3428 ac_configure_extra_args="$ac_configure_extra_args --silent"
3429fi
3430
3431_ACEOF
3432cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3433if \$ac_cs_recheck; then
3434 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3435 shift
3436 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3437 CONFIG_SHELL='$SHELL'
3438 export CONFIG_SHELL
3439 exec "\$@"
3440fi
3441
3442_ACEOF
3443cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3444exec 5>>config.log
3445{
3446 echo
3447 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3448## Running $as_me. ##
3449_ASBOX
3450 $as_echo "$ac_log"
3451} >&5
3452
3453_ACEOF
3454cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3455_ACEOF
3456
3457cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3458
3459# Handling of arguments.
3460for ac_config_target in $ac_config_targets
3461do
3462 case $ac_config_target in
3463 "$MAKEFILES") CONFIG_FILES="$CONFIG_FILES $MAKEFILES" ;;
3464
3465 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3466 esac
3467done
3468
3469
3470# If the user did not use the arguments to specify the items to instantiate,
3471# then the envvar interface is used. Set only those that are not.
3472# We use the long form for the default assignment because of an extremely
3473# bizarre bug on SunOS 4.1.3.
3474if $ac_need_defaults; then
3475 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3476fi
3477
3478# Have a temporary directory for convenience. Make it in the build tree
3479# simply because there is no reason against having it here, and in addition,
3480# creating and moving files from /tmp can sometimes cause problems.
3481# Hook for its removal unless debugging.
3482# Note that there is a small window in which the directory will not be cleaned:
3483# after its creation but before its name has been assigned to `$tmp'.
3484$debug ||
3485{
3486 tmp= ac_tmp=
3487 trap 'exit_status=$?
3488 : "${ac_tmp:=$tmp}"
3489 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3490' 0
3491 trap 'as_fn_exit 1' 1 2 13 15
3492}
3493# Create a (secure) tmp directory for tmp files.
3494
3495{
3496 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3497 test -d "$tmp"
3498} ||
3499{
3500 tmp=./conf$$-$RANDOM
3501 (umask 077 && mkdir "$tmp")
3502} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3503ac_tmp=$tmp
3504
3505# Set up the scripts for CONFIG_FILES section.
3506# No need to generate them if there are no CONFIG_FILES.
3507# This happens for instance with `./config.status config.h'.
3508if test -n "$CONFIG_FILES"; then
3509
3510
3511ac_cr=`echo X | tr X '\015'`
3512# On cygwin, bash can eat \r inside `` if the user requested igncr.
3513# But we know of no other shell where ac_cr would be empty at this
3514# point, so we can use a bashism as a fallback.
3515if test "x$ac_cr" = x; then
3516 eval ac_cr=\$\'\\r\'
3517fi
3518ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3519if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3520 ac_cs_awk_cr='\\r'
3521else
3522 ac_cs_awk_cr=$ac_cr
3523fi
3524
3525echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3526_ACEOF
3527
3528
3529{
3530 echo "cat >conf$$subs.awk <<_ACEOF" &&
3531 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3532 echo "_ACEOF"
3533} >conf$$subs.sh ||
3534 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3535ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3536ac_delim='%!_!# '
3537for ac_last_try in false false false false false :; do
3538 . ./conf$$subs.sh ||
3539 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3540
3541 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3542 if test $ac_delim_n = $ac_delim_num; then
3543 break
3544 elif $ac_last_try; then
3545 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3546 else
3547 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3548 fi
3549done
3550rm -f conf$$subs.sh
3551
3552cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3553cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3554_ACEOF
3555sed -n '
3556h
3557s/^/S["/; s/!.*/"]=/
3558p
3559g
3560s/^[^!]*!//
3561:repl
3562t repl
3563s/'"$ac_delim"'$//
3564t delim
3565:nl
3566h
3567s/\(.\{148\}\)..*/\1/
3568t more1
3569s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3570p
3571n
3572b repl
3573:more1
3574s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3575p
3576g
3577s/.\{148\}//
3578t nl
3579:delim
3580h
3581s/\(.\{148\}\)..*/\1/
3582t more2
3583s/["\\]/\\&/g; s/^/"/; s/$/"/
3584p
3585b
3586:more2
3587s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3588p
3589g
3590s/.\{148\}//
3591t delim
3592' <conf$$subs.awk | sed '
3593/^[^""]/{
3594 N
3595 s/\n//
3596}
3597' >>$CONFIG_STATUS || ac_write_fail=1
3598rm -f conf$$subs.awk
3599cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3600_ACAWK
3601cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3602 for (key in S) S_is_set[key] = 1
3603 FS = ""
3604
3605}
3606{
3607 line = $ 0
3608 nfields = split(line, field, "@")
3609 substed = 0
3610 len = length(field[1])
3611 for (i = 2; i < nfields; i++) {
3612 key = field[i]
3613 keylen = length(key)
3614 if (S_is_set[key]) {
3615 value = S[key]
3616 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3617 len += length(value) + length(field[++i])
3618 substed = 1
3619 } else
3620 len += 1 + keylen
3621 }
3622
3623 print line
3624}
3625
3626_ACAWK
3627_ACEOF
3628cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3629if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3630 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3631else
3632 cat
3633fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3634 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3635_ACEOF
3636
3637# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3638# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3639# trailing colons and then remove the whole line if VPATH becomes empty
3640# (actually we leave an empty line to preserve line numbers).
3641if test "x$srcdir" = x.; then
3642 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3643h
3644s///
3645s/^/:/
3646s/[ ]*$/:/
3647s/:\$(srcdir):/:/g
3648s/:\${srcdir}:/:/g
3649s/:@srcdir@:/:/g
3650s/^:*//
3651s/:*$//
3652x
3653s/\(=[ ]*\).*/\1/
3654G
3655s/\n//
3656s/^[^=]*=[ ]*$//
3657}'
3658fi
3659
3660cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3661fi # test -n "$CONFIG_FILES"
3662
3663
3664eval set X " :F $CONFIG_FILES "
3665shift
3666for ac_tag
3667do
3668 case $ac_tag in
3669 :[FHLC]) ac_mode=$ac_tag; continue;;
3670 esac
3671 case $ac_mode$ac_tag in
3672 :[FHL]*:*);;
3673 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3674 :[FH]-) ac_tag=-:-;;
3675 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3676 esac
3677 ac_save_IFS=$IFS
3678 IFS=:
3679 set x $ac_tag
3680 IFS=$ac_save_IFS
3681 shift
3682 ac_file=$1
3683 shift
3684
3685 case $ac_mode in
3686 :L) ac_source=$1;;
3687 :[FH])
3688 ac_file_inputs=
3689 for ac_f
3690 do
3691 case $ac_f in
3692 -) ac_f="$ac_tmp/stdin";;
3693 *) # Look for the file first in the build tree, then in the source tree
3694 # (if the path is not absolute). The absolute path cannot be DOS-style,
3695 # because $ac_f cannot contain `:'.
3696 test -f "$ac_f" ||
3697 case $ac_f in
3698 [\\/$]*) false;;
3699 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3700 esac ||
3701 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3702 esac
3703 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3704 as_fn_append ac_file_inputs " '$ac_f'"
3705 done
3706
3707 # Let's still pretend it is `configure' which instantiates (i.e., don't
3708 # use $as_me), people would be surprised to read:
3709 # /* config.h. Generated by config.status. */
3710 configure_input='Generated from '`
3711 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3712 `' by configure.'
3713 if test x"$ac_file" != x-; then
3714 configure_input="$ac_file. $configure_input"
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3716$as_echo "$as_me: creating $ac_file" >&6;}
3717 fi
3718 # Neutralize special characters interpreted by sed in replacement strings.
3719 case $configure_input in #(
3720 *\&* | *\|* | *\\* )
3721 ac_sed_conf_input=`$as_echo "$configure_input" |
3722 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3723 *) ac_sed_conf_input=$configure_input;;
3724 esac
3725
3726 case $ac_tag in
3727 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3728 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3729 esac
3730 ;;
3731 esac
3732
3733 ac_dir=`$as_dirname -- "$ac_file" ||
3734$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3735 X"$ac_file" : 'X\(//\)[^/]' \| \
3736 X"$ac_file" : 'X\(//\)$' \| \
3737 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3738$as_echo X"$ac_file" |
3739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3740 s//\1/
3741 q
3742 }
3743 /^X\(\/\/\)[^/].*/{
3744 s//\1/
3745 q
3746 }
3747 /^X\(\/\/\)$/{
3748 s//\1/
3749 q
3750 }
3751 /^X\(\/\).*/{
3752 s//\1/
3753 q
3754 }
3755 s/.*/./; q'`
3756 as_dir="$ac_dir"; as_fn_mkdir_p
3757 ac_builddir=.
3758
3759case "$ac_dir" in
3760.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3761*)
3762 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3763 # A ".." for each directory in $ac_dir_suffix.
3764 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3765 case $ac_top_builddir_sub in
3766 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3767 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3768 esac ;;
3769esac
3770ac_abs_top_builddir=$ac_pwd
3771ac_abs_builddir=$ac_pwd$ac_dir_suffix
3772# for backward compatibility:
3773ac_top_builddir=$ac_top_build_prefix
3774
3775case $srcdir in
3776 .) # We are building in place.
3777 ac_srcdir=.
3778 ac_top_srcdir=$ac_top_builddir_sub
3779 ac_abs_top_srcdir=$ac_pwd ;;
3780 [\\/]* | ?:[\\/]* ) # Absolute name.
3781 ac_srcdir=$srcdir$ac_dir_suffix;
3782 ac_top_srcdir=$srcdir
3783 ac_abs_top_srcdir=$srcdir ;;
3784 *) # Relative name.
3785 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3786 ac_top_srcdir=$ac_top_build_prefix$srcdir
3787 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3788esac
3789ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3790
3791
3792 case $ac_mode in
3793 :F)
3794 #
3795 # CONFIG_FILE
3796 #
3797
3798_ACEOF
3799
3800cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3801# If the template does not know about datarootdir, expand it.
3802# FIXME: This hack should be removed a few years after 2.60.
3803ac_datarootdir_hack=; ac_datarootdir_seen=
3804ac_sed_dataroot='
3805/datarootdir/ {
3806 p
3807 q
3808}
3809/@datadir@/p
3810/@docdir@/p
3811/@infodir@/p
3812/@localedir@/p
3813/@mandir@/p'
3814case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3815*datarootdir*) ac_datarootdir_seen=yes;;
3816*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3818$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3819_ACEOF
3820cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3821 ac_datarootdir_hack='
3822 s&@datadir@&$datadir&g
3823 s&@docdir@&$docdir&g
3824 s&@infodir@&$infodir&g
3825 s&@localedir@&$localedir&g
3826 s&@mandir@&$mandir&g
3827 s&\\\${datarootdir}&$datarootdir&g' ;;
3828esac
3829_ACEOF
3830
3831# Neutralize VPATH when `$srcdir' = `.'.
3832# Shell code in configure.ac might set extrasub.
3833# FIXME: do we really want to maintain this feature?
3834cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3835ac_sed_extra="$ac_vpsub
3836$extrasub
3837_ACEOF
3838cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3839:t
3840/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3841s|@configure_input@|$ac_sed_conf_input|;t t
3842s&@top_builddir@&$ac_top_builddir_sub&;t t
3843s&@top_build_prefix@&$ac_top_build_prefix&;t t
3844s&@srcdir@&$ac_srcdir&;t t
3845s&@abs_srcdir@&$ac_abs_srcdir&;t t
3846s&@top_srcdir@&$ac_top_srcdir&;t t
3847s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3848s&@builddir@&$ac_builddir&;t t
3849s&@abs_builddir@&$ac_abs_builddir&;t t
3850s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3851$ac_datarootdir_hack
3852"
3853eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3854 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3855
3856test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3857 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3858 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3859 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3861which seems to be undefined. Please make sure it is defined" >&5
3862$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3863which seems to be undefined. Please make sure it is defined" >&2;}
3864
3865 rm -f "$ac_tmp/stdin"
3866 case $ac_file in
3867 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3868 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3869 esac \
3870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3871 ;;
3872
3873
3874
3875 esac
3876
3877done # for ac_tag
3878
3879
3880as_fn_exit 0
3881_ACEOF
3882ac_clean_files=$ac_clean_files_save
3883
3884test $ac_write_fail = 0 ||
3885 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3886
3887
3888# configure is writing to config.log, and then calls config.status.
3889# config.status does its own redirection, appending to config.log.
3890# Unfortunately, on DOS this fails, as config.log is still kept open
3891# by configure, so config.status won't be able to write to it; its
3892# output is simply discarded. So we exec the FD to /dev/null,
3893# effectively closing config.log, so it can be properly (re)opened and
3894# appended to by config.status. When coming back to configure, we
3895# need to make the FD available again.
3896if test "$no_create" != yes; then
3897 ac_cs_success=:
3898 ac_config_status_args=
3899 test "$silent" = yes &&
3900 ac_config_status_args="$ac_config_status_args --quiet"
3901 exec 5>/dev/null
3902 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3903 exec 5>>config.log
3904 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3905 # would make configure fail if this is the last instruction.
3906 $ac_cs_success || as_fn_exit 1
3907fi
3908if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3910$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3911fi
3912
3913
3914{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Build configured successfully" >&5
3915$as_echo "Build configured successfully" >&6; }