blob: 8042b8ad9bb71f9f1bd1793705ac86e9454a775f [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
594SKY130_OSU_PATH
595SKY130_SRAM_MACROS_PATH
Tim Edwards1168a8b2021-02-10 22:06:54 -0500596XSCHEM_SKY130_PATH
Tim Edwards8292c902020-12-24 16:25:25 -0500597SKY130_ML_XX_HD_PATH
Ahmed Ghazy32385482021-01-19 20:38:14 +0200598PATCH
Tim Edwards8292c902020-12-24 16:25:25 -0500599MAGIC
Tim Edwards1168a8b2021-02-10 22:06:54 -0500600XSCHEM_DISABLED
Tim Edwardsccaea722020-12-24 10:59:42 -0500601QFLOW_DISABLED
602OPENLANE_DISABLED
Tim Edwards367711e2021-01-27 10:35:12 -0500603IRSIM_DISABLED
Tim Edwardsccaea722020-12-24 10:59:42 -0500604NETGEN_DISABLED
605MAGIC_DISABLED
606KLAYOUT_DISABLED
Tim Edwards7cbaaba2020-08-05 12:19:18 -0400607SKY130_SOURCE_PATH
Tim Edwards8292c902020-12-24 16:25:25 -0500608SKY130_LINK_TARGETS
Tim Edwards665c3fd2021-05-02 20:20:27 -0400609SED
Tim Edwards66e53e52021-01-24 21:21:36 -0500610pkgpyexecdir
611pyexecdir
612pkgpythondir
613pythondir
614PYTHON_PLATFORM
615PYTHON_EXEC_PREFIX
616PYTHON_PREFIX
617PYTHON_VERSION
618PYTHON
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200619target_alias
620host_alias
621build_alias
622LIBS
623ECHO_T
624ECHO_N
625ECHO_C
626DEFS
627mandir
628localedir
629libdir
630psdir
631pdfdir
632dvidir
633htmldir
634infodir
635docdir
636oldincludedir
637includedir
638localstatedir
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
672enable_osu_sky130
673enable_osu_t12_sky130
674enable_osu_t15_sky130
675enable_osu_t18_sky130
Tim Edwards7cbaaba2020-08-05 12:19:18 -0400676with_ef_style
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +0200677'
678 ac_precious_vars='build_alias
679host_alias
680target_alias
681PYTHON'
682
683
684# Initialize some variables set by options.
685ac_init_help=
686ac_init_version=false
687ac_unrecognized_opts=
688ac_unrecognized_sep=
689# The variables have the same names as the options, with
690# dashes changed to underlines.
691cache_file=/dev/null
692exec_prefix=NONE
693no_create=
694no_recursion=
695prefix=NONE
696program_prefix=NONE
697program_suffix=NONE
698program_transform_name=s,x,x,
699silent=
700site=
701srcdir=
702verbose=
703x_includes=NONE
704x_libraries=NONE
705
706# Installation directory options.
707# These are left unexpanded so users can "make install exec_prefix=/foo"
708# and all the variables that are supposed to be based on exec_prefix
709# by default will actually change.
710# Use braces instead of parens because sh, perl, etc. also accept them.
711# (The list follows the same order as the GNU Coding Standards.)
712bindir='${exec_prefix}/bin'
713sbindir='${exec_prefix}/sbin'
714libexecdir='${exec_prefix}/libexec'
715datarootdir='${prefix}/share'
716datadir='${datarootdir}'
717sysconfdir='${prefix}/etc'
718sharedstatedir='${prefix}/com'
719localstatedir='${prefix}/var'
720includedir='${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
972 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
973 ac_prev=sbindir ;;
974 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
975 | --sbi=* | --sb=*)
976 sbindir=$ac_optarg ;;
977
978 -sharedstatedir | --sharedstatedir | --sharedstatedi \
979 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
980 | --sharedst | --shareds | --shared | --share | --shar \
981 | --sha | --sh)
982 ac_prev=sharedstatedir ;;
983 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
984 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
985 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
986 | --sha=* | --sh=*)
987 sharedstatedir=$ac_optarg ;;
988
989 -site | --site | --sit)
990 ac_prev=site ;;
991 -site=* | --site=* | --sit=*)
992 site=$ac_optarg ;;
993
994 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
995 ac_prev=srcdir ;;
996 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
997 srcdir=$ac_optarg ;;
998
999 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1000 | --syscon | --sysco | --sysc | --sys | --sy)
1001 ac_prev=sysconfdir ;;
1002 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1003 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1004 sysconfdir=$ac_optarg ;;
1005
1006 -target | --target | --targe | --targ | --tar | --ta | --t)
1007 ac_prev=target_alias ;;
1008 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1009 target_alias=$ac_optarg ;;
1010
1011 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1012 verbose=yes ;;
1013
1014 -version | --version | --versio | --versi | --vers | -V)
1015 ac_init_version=: ;;
1016
1017 -with-* | --with-*)
1018 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error $? "invalid package name: $ac_useropt"
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1025 *"
1026"with_$ac_useropt"
1027"*) ;;
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1030 esac
1031 eval with_$ac_useropt=\$ac_optarg ;;
1032
1033 -without-* | --without-*)
1034 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1035 # Reject names that are not valid shell variable names.
1036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1037 as_fn_error $? "invalid package name: $ac_useropt"
1038 ac_useropt_orig=$ac_useropt
1039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1040 case $ac_user_opts in
1041 *"
1042"with_$ac_useropt"
1043"*) ;;
1044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1045 ac_unrecognized_sep=', ';;
1046 esac
1047 eval with_$ac_useropt=no ;;
1048
1049 --x)
1050 # Obsolete; use --with-x.
1051 with_x=yes ;;
1052
1053 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1054 | --x-incl | --x-inc | --x-in | --x-i)
1055 ac_prev=x_includes ;;
1056 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1057 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1058 x_includes=$ac_optarg ;;
1059
1060 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1061 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1062 ac_prev=x_libraries ;;
1063 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1064 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1065 x_libraries=$ac_optarg ;;
1066
1067 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1068Try \`$0 --help' for more information"
1069 ;;
1070
1071 *=*)
1072 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1073 # Reject names that are not valid shell variable names.
1074 case $ac_envvar in #(
1075 '' | [0-9]* | *[!_$as_cr_alnum]* )
1076 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1077 esac
1078 eval $ac_envvar=\$ac_optarg
1079 export $ac_envvar ;;
1080
1081 *)
1082 # FIXME: should be removed in autoconf 3.0.
1083 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1084 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1085 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1086 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1087 ;;
1088
1089 esac
1090done
1091
1092if test -n "$ac_prev"; then
1093 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1094 as_fn_error $? "missing argument to $ac_option"
1095fi
1096
1097if test -n "$ac_unrecognized_opts"; then
1098 case $enable_option_checking in
1099 no) ;;
1100 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1101 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102 esac
1103fi
1104
1105# Check all directory arguments for consistency.
1106for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1107 datadir sysconfdir sharedstatedir localstatedir includedir \
1108 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
Tim Edwards8a4b1602021-08-20 14:05:53 -04001109 libdir localedir mandir
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001110do
1111 eval ac_val=\$$ac_var
1112 # Remove trailing slashes.
1113 case $ac_val in
1114 */ )
1115 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1116 eval $ac_var=\$ac_val;;
1117 esac
1118 # Be sure to have absolute directory names.
1119 case $ac_val in
1120 [\\/$]* | ?:[\\/]* ) continue;;
1121 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1122 esac
1123 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1124done
1125
1126# There might be people who depend on the old broken behavior: `$host'
1127# used to hold the argument of --host etc.
1128# FIXME: To remove some day.
1129build=$build_alias
1130host=$host_alias
1131target=$target_alias
1132
1133# FIXME: To remove some day.
1134if test "x$host_alias" != x; then
1135 if test "x$build_alias" = x; then
1136 cross_compiling=maybe
1137 elif test "x$build_alias" != "x$host_alias"; then
1138 cross_compiling=yes
1139 fi
1140fi
1141
1142ac_tool_prefix=
1143test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144
1145test "$silent" = yes && exec 6>/dev/null
1146
1147
1148ac_pwd=`pwd` && test -n "$ac_pwd" &&
1149ac_ls_di=`ls -di .` &&
1150ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1151 as_fn_error $? "working directory cannot be determined"
1152test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1153 as_fn_error $? "pwd does not report name of working directory"
1154
1155
1156# Find the source files, if location was not specified.
1157if test -z "$srcdir"; then
1158 ac_srcdir_defaulted=yes
1159 # Try the directory containing this script, then the parent directory.
1160 ac_confdir=`$as_dirname -- "$as_myself" ||
1161$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1162 X"$as_myself" : 'X\(//\)[^/]' \| \
1163 X"$as_myself" : 'X\(//\)$' \| \
1164 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1165$as_echo X"$as_myself" |
1166 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1167 s//\1/
1168 q
1169 }
1170 /^X\(\/\/\)[^/].*/{
1171 s//\1/
1172 q
1173 }
1174 /^X\(\/\/\)$/{
1175 s//\1/
1176 q
1177 }
1178 /^X\(\/\).*/{
1179 s//\1/
1180 q
1181 }
1182 s/.*/./; q'`
1183 srcdir=$ac_confdir
1184 if test ! -r "$srcdir/$ac_unique_file"; then
1185 srcdir=..
1186 fi
1187else
1188 ac_srcdir_defaulted=no
1189fi
1190if test ! -r "$srcdir/$ac_unique_file"; then
1191 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1192 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1193fi
1194ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195ac_abs_confdir=`(
1196 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1197 pwd)`
1198# When building in place, set srcdir=.
1199if test "$ac_abs_confdir" = "$ac_pwd"; then
1200 srcdir=.
1201fi
1202# Remove unnecessary trailing slashes from srcdir.
1203# Double slashes in file names in object file debugging info
1204# mess up M-x gdb in Emacs.
1205case $srcdir in
1206*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207esac
1208for ac_var in $ac_precious_vars; do
1209 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1210 eval ac_env_${ac_var}_value=\$${ac_var}
1211 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1212 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1213done
1214
1215#
1216# Report the --help message.
1217#
1218if test "$ac_init_help" = "long"; then
1219 # Omit some internal or obsolete options to make the list less imposing.
1220 # This message is too long to be a string in the A/UX 3.1 sh.
1221 cat <<_ACEOF
1222\`configure' configures open_pdks 1.0 to adapt to many kinds of systems.
1223
1224Usage: $0 [OPTION]... [VAR=VALUE]...
1225
1226To assign environment variables (e.g., CC, CFLAGS...), specify them as
1227VAR=VALUE. See below for descriptions of some of the useful variables.
1228
1229Defaults for the options are specified in brackets.
1230
1231Configuration:
1232 -h, --help display this help and exit
1233 --help=short display options specific to this package
1234 --help=recursive display the short help of all the included packages
1235 -V, --version display version information and exit
1236 -q, --quiet, --silent do not print \`checking ...' messages
1237 --cache-file=FILE cache test results in FILE [disabled]
1238 -C, --config-cache alias for \`--cache-file=config.cache'
1239 -n, --no-create do not create output files
1240 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241
1242Installation directories:
1243 --prefix=PREFIX install architecture-independent files in PREFIX
1244 [$ac_default_prefix]
1245 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1246 [PREFIX]
1247
1248By default, \`make install' will install all the files in
1249\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1250an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1251for instance \`--prefix=\$HOME'.
1252
1253For better control, use the options below.
1254
1255Fine tuning of the installation directories:
1256 --bindir=DIR user executables [EPREFIX/bin]
1257 --sbindir=DIR system admin executables [EPREFIX/sbin]
1258 --libexecdir=DIR program executables [EPREFIX/libexec]
1259 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1260 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1261 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/open_pdks]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1275_ACEOF
1276
1277 cat <<\_ACEOF
1278_ACEOF
1279fi
1280
1281if test -n "$ac_init_help"; then
1282 case $ac_init_help in
1283 short | recursive ) echo "Configuration of open_pdks 1.0:";;
1284 esac
1285 cat <<\_ACEOF
1286
Tim Edwardsccaea722020-12-24 10:59:42 -05001287Optional Features:
1288 --disable-option-checking ignore unrecognized --enable/--with options
1289 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1290 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
Tim Edwards8292c902020-12-24 16:25:25 -05001291 --enable-sky130-pdk=[/path/to/sky130/] --disable-sky130-pdk
1292 "location of the source files for the sky130 (pdks
Ahmed Ghazy32385482021-01-19 20:38:14 +02001293 with a pdk_url file can automatically download them
Tim Edwards8292c902020-12-24 16:25:25 -05001294 if the path is omitted)"
1295 --enable-klayout
Tim Edwards1168a8b2021-02-10 22:06:54 -05001296 Enable or disable klayout setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001297
1298
1299 --enable-magic
Tim Edwards1168a8b2021-02-10 22:06:54 -05001300 Enable or disable magic setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001301
1302
1303 --enable-netgen
Tim Edwards1168a8b2021-02-10 22:06:54 -05001304 Enable or disable netgen setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001305
1306
Tim Edwards367711e2021-01-27 10:35:12 -05001307 --enable-irsim
Tim Edwards1168a8b2021-02-10 22:06:54 -05001308 Enable or disable irsim setup [default=enabled]
Tim Edwards367711e2021-01-27 10:35:12 -05001309
1310
Tim Edwards8292c902020-12-24 16:25:25 -05001311 --enable-openlane
Tim Edwards1168a8b2021-02-10 22:06:54 -05001312 Enable or disable openlane setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001313
1314
1315 --enable-qflow
Tim Edwards1168a8b2021-02-10 22:06:54 -05001316 Enable or disable qflow setup [default=enabled]
Tim Edwards8292c902020-12-24 16:25:25 -05001317
1318
Tim Edwards1168a8b2021-02-10 22:06:54 -05001319 --enable-xschem
1320 Enable or disable xschem setup [default=enabled]
1321
1322
1323 --enable-alpha-sky130[=path]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001324 Install sky130_ml_xx_hd. If path is omitted, the repository
1325 will be downloaded. [default=enabled]
Tim Edwards1168a8b2021-02-10 22:06:54 -05001326 --enable-xschem-sky130[=path]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001327 Install xschem_sky130. If path is omitted, the repository
1328 will be downloaded. [default=enabled]
1329 --enable-sram-sky130[=path]
1330 Install sky130_sram_macros. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001331 will be downloaded. [default=disabled]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001332 --enable-osu-sky130[=path]
1333 Install sky130_osu. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001334 will be downloaded. [default=disabled]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001335 --enable-osu-t12-sky130[=path]
1336 Install sky130_osu_t12. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001337 will be downloaded. [default=disabled]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001338 --enable-osu-t15-sky130[=path]
1339 Install sky130_osu_t15. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001340 will be downloaded. [default=disabled]
Tim Edwardscdfec5e2021-04-22 20:59:13 -04001341 --enable-osu-t18-sky130[=path]
1342 Install sky130_osu_t18. If path is omitted, the repository
Tim Edwards980e8f32021-04-28 10:37:56 -04001343 will be downloaded. [default=disabled]
Tim Edwardsccaea722020-12-24 10:59:42 -05001344
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001345Optional Packages:
1346 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1347 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
Tim Edwards7cbaaba2020-08-05 12:19:18 -04001348 --with-sky130-link-targets=none|source
1349 "make symbolic links to existing files
1350 [default=none]"
1351 --with-ef-style Use efabless style file system structure
1352 [default=no]
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001353
1354Some influential environment variables:
1355 PYTHON the Python interpreter
1356
1357Use these variables to override the choices made by `configure' or to help
1358it to find libraries and programs with nonstandard names/locations.
1359
1360Report bugs to <github.com/RTimothyEdwards/open_pdks>.
1361_ACEOF
1362ac_status=$?
1363fi
1364
1365if test "$ac_init_help" = "recursive"; then
1366 # If there are subdirs, report their specific --help.
1367 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1368 test -d "$ac_dir" ||
1369 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1370 continue
1371 ac_builddir=.
1372
1373case "$ac_dir" in
1374.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1375*)
1376 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1377 # A ".." for each directory in $ac_dir_suffix.
1378 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1379 case $ac_top_builddir_sub in
1380 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1381 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1382 esac ;;
1383esac
1384ac_abs_top_builddir=$ac_pwd
1385ac_abs_builddir=$ac_pwd$ac_dir_suffix
1386# for backward compatibility:
1387ac_top_builddir=$ac_top_build_prefix
1388
1389case $srcdir in
1390 .) # We are building in place.
1391 ac_srcdir=.
1392 ac_top_srcdir=$ac_top_builddir_sub
1393 ac_abs_top_srcdir=$ac_pwd ;;
1394 [\\/]* | ?:[\\/]* ) # Absolute name.
1395 ac_srcdir=$srcdir$ac_dir_suffix;
1396 ac_top_srcdir=$srcdir
1397 ac_abs_top_srcdir=$srcdir ;;
1398 *) # Relative name.
1399 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1400 ac_top_srcdir=$ac_top_build_prefix$srcdir
1401 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1402esac
1403ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1404
1405 cd "$ac_dir" || { ac_status=$?; continue; }
1406 # Check for guested configure.
1407 if test -f "$ac_srcdir/configure.gnu"; then
1408 echo &&
1409 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1410 elif test -f "$ac_srcdir/configure"; then
1411 echo &&
1412 $SHELL "$ac_srcdir/configure" --help=recursive
1413 else
1414 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1415 fi || ac_status=$?
1416 cd "$ac_pwd" || { ac_status=$?; break; }
1417 done
1418fi
1419
1420test -n "$ac_init_help" && exit $ac_status
1421if $ac_init_version; then
1422 cat <<\_ACEOF
1423open_pdks configure 1.0
1424generated by GNU Autoconf 2.69
1425
1426Copyright (C) 2012 Free Software Foundation, Inc.
1427This configure script is free software; the Free Software Foundation
1428gives unlimited permission to copy, distribute and modify it.
1429_ACEOF
1430 exit
1431fi
1432
1433## ------------------------ ##
1434## Autoconf initialization. ##
1435## ------------------------ ##
1436cat >config.log <<_ACEOF
1437This file contains any messages produced by compilers while
1438running configure, to aid debugging if configure makes a mistake.
1439
1440It was created by open_pdks $as_me 1.0, which was
1441generated by GNU Autoconf 2.69. Invocation command line was
1442
1443 $ $0 $@
1444
1445_ACEOF
1446exec 5>>config.log
1447{
1448cat <<_ASUNAME
1449## --------- ##
1450## Platform. ##
1451## --------- ##
1452
1453hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1454uname -m = `(uname -m) 2>/dev/null || echo unknown`
1455uname -r = `(uname -r) 2>/dev/null || echo unknown`
1456uname -s = `(uname -s) 2>/dev/null || echo unknown`
1457uname -v = `(uname -v) 2>/dev/null || echo unknown`
1458
1459/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1460/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1461
1462/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1463/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1464/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1465/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1466/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1467/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1468/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1469
1470_ASUNAME
1471
1472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1473for as_dir in $PATH
1474do
1475 IFS=$as_save_IFS
1476 test -z "$as_dir" && as_dir=.
1477 $as_echo "PATH: $as_dir"
1478 done
1479IFS=$as_save_IFS
1480
1481} >&5
1482
1483cat >&5 <<_ACEOF
1484
1485
1486## ----------- ##
1487## Core tests. ##
1488## ----------- ##
1489
1490_ACEOF
1491
1492
1493# Keep a trace of the command line.
1494# Strip out --no-create and --no-recursion so they do not pile up.
1495# Strip out --silent because we don't want to record it for future runs.
1496# Also quote any args containing shell meta-characters.
1497# Make two passes to allow for proper duplicate-argument suppression.
1498ac_configure_args=
1499ac_configure_args0=
1500ac_configure_args1=
1501ac_must_keep_next=false
1502for ac_pass in 1 2
1503do
1504 for ac_arg
1505 do
1506 case $ac_arg in
1507 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1508 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1509 | -silent | --silent | --silen | --sile | --sil)
1510 continue ;;
1511 *\'*)
1512 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1513 esac
1514 case $ac_pass in
1515 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1516 2)
1517 as_fn_append ac_configure_args1 " '$ac_arg'"
1518 if test $ac_must_keep_next = true; then
1519 ac_must_keep_next=false # Got value, back to normal.
1520 else
1521 case $ac_arg in
1522 *=* | --config-cache | -C | -disable-* | --disable-* \
1523 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1524 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1525 | -with-* | --with-* | -without-* | --without-* | --x)
1526 case "$ac_configure_args0 " in
1527 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1528 esac
1529 ;;
1530 -* ) ac_must_keep_next=true ;;
1531 esac
1532 fi
1533 as_fn_append ac_configure_args " '$ac_arg'"
1534 ;;
1535 esac
1536 done
1537done
1538{ ac_configure_args0=; unset ac_configure_args0;}
1539{ ac_configure_args1=; unset ac_configure_args1;}
1540
1541# When interrupted or exit'd, cleanup temporary files, and complete
1542# config.log. We remove comments because anyway the quotes in there
1543# would cause problems or look ugly.
1544# WARNING: Use '\'' to represent an apostrophe within the trap.
1545# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1546trap 'exit_status=$?
1547 # Save into config.log some information that might help in debugging.
1548 {
1549 echo
1550
1551 $as_echo "## ---------------- ##
1552## Cache variables. ##
1553## ---------------- ##"
1554 echo
1555 # The following way of writing the cache mishandles newlines in values,
1556(
1557 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1558 eval ac_val=\$$ac_var
1559 case $ac_val in #(
1560 *${as_nl}*)
1561 case $ac_var in #(
1562 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1563$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1564 esac
1565 case $ac_var in #(
1566 _ | IFS | as_nl) ;; #(
1567 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1568 *) { eval $ac_var=; unset $ac_var;} ;;
1569 esac ;;
1570 esac
1571 done
1572 (set) 2>&1 |
1573 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1574 *${as_nl}ac_space=\ *)
1575 sed -n \
1576 "s/'\''/'\''\\\\'\'''\''/g;
1577 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1578 ;; #(
1579 *)
1580 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1581 ;;
1582 esac |
1583 sort
1584)
1585 echo
1586
1587 $as_echo "## ----------------- ##
1588## Output variables. ##
1589## ----------------- ##"
1590 echo
1591 for ac_var in $ac_subst_vars
1592 do
1593 eval ac_val=\$$ac_var
1594 case $ac_val in
1595 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1596 esac
1597 $as_echo "$ac_var='\''$ac_val'\''"
1598 done | sort
1599 echo
1600
1601 if test -n "$ac_subst_files"; then
1602 $as_echo "## ------------------- ##
1603## File substitutions. ##
1604## ------------------- ##"
1605 echo
1606 for ac_var in $ac_subst_files
1607 do
1608 eval ac_val=\$$ac_var
1609 case $ac_val in
1610 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1611 esac
1612 $as_echo "$ac_var='\''$ac_val'\''"
1613 done | sort
1614 echo
1615 fi
1616
1617 if test -s confdefs.h; then
1618 $as_echo "## ----------- ##
1619## confdefs.h. ##
1620## ----------- ##"
1621 echo
1622 cat confdefs.h
1623 echo
1624 fi
1625 test "$ac_signal" != 0 &&
1626 $as_echo "$as_me: caught signal $ac_signal"
1627 $as_echo "$as_me: exit $exit_status"
1628 } >&5
1629 rm -f core *.core core.conftest.* &&
1630 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1631 exit $exit_status
1632' 0
1633for ac_signal in 1 2 13 15; do
1634 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1635done
1636ac_signal=0
1637
1638# confdefs.h avoids OS command line length limits that DEFS can exceed.
1639rm -f -r conftest* confdefs.h
1640
1641$as_echo "/* confdefs.h */" > confdefs.h
1642
1643# Predefined preprocessor variables.
1644
1645cat >>confdefs.h <<_ACEOF
1646#define PACKAGE_NAME "$PACKAGE_NAME"
1647_ACEOF
1648
1649cat >>confdefs.h <<_ACEOF
1650#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1651_ACEOF
1652
1653cat >>confdefs.h <<_ACEOF
1654#define PACKAGE_VERSION "$PACKAGE_VERSION"
1655_ACEOF
1656
1657cat >>confdefs.h <<_ACEOF
1658#define PACKAGE_STRING "$PACKAGE_STRING"
1659_ACEOF
1660
1661cat >>confdefs.h <<_ACEOF
1662#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1663_ACEOF
1664
1665cat >>confdefs.h <<_ACEOF
1666#define PACKAGE_URL "$PACKAGE_URL"
1667_ACEOF
1668
1669
1670# Let the site file select an alternate cache file if it wants to.
1671# Prefer an explicitly selected file to automatically selected ones.
1672ac_site_file1=NONE
1673ac_site_file2=NONE
1674if test -n "$CONFIG_SITE"; then
1675 # We do not want a PATH search for config.site.
1676 case $CONFIG_SITE in #((
1677 -*) ac_site_file1=./$CONFIG_SITE;;
1678 */*) ac_site_file1=$CONFIG_SITE;;
1679 *) ac_site_file1=./$CONFIG_SITE;;
1680 esac
1681elif test "x$prefix" != xNONE; then
1682 ac_site_file1=$prefix/share/config.site
1683 ac_site_file2=$prefix/etc/config.site
1684else
1685 ac_site_file1=$ac_default_prefix/share/config.site
1686 ac_site_file2=$ac_default_prefix/etc/config.site
1687fi
1688for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1689do
1690 test "x$ac_site_file" = xNONE && continue
1691 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1693$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1694 sed 's/^/| /' "$ac_site_file" >&5
1695 . "$ac_site_file" \
1696 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1697$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1698as_fn_error $? "failed to load site script $ac_site_file
1699See \`config.log' for more details" "$LINENO" 5; }
1700 fi
1701done
1702
1703if test -r "$cache_file"; then
1704 # Some versions of bash will fail to source /dev/null (special files
1705 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1706 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1707 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1708$as_echo "$as_me: loading cache $cache_file" >&6;}
1709 case $cache_file in
1710 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1711 *) . "./$cache_file";;
1712 esac
1713 fi
1714else
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1716$as_echo "$as_me: creating cache $cache_file" >&6;}
1717 >$cache_file
1718fi
1719
1720# Check that the precious variables saved in the cache have kept the same
1721# value.
1722ac_cache_corrupted=false
1723for ac_var in $ac_precious_vars; do
1724 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1725 eval ac_new_set=\$ac_env_${ac_var}_set
1726 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1727 eval ac_new_val=\$ac_env_${ac_var}_value
1728 case $ac_old_set,$ac_new_set in
1729 set,)
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1731$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1732 ac_cache_corrupted=: ;;
1733 ,set)
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1735$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1736 ac_cache_corrupted=: ;;
1737 ,);;
1738 *)
1739 if test "x$ac_old_val" != "x$ac_new_val"; then
1740 # differences in whitespace do not lead to failure.
1741 ac_old_val_w=`echo x $ac_old_val`
1742 ac_new_val_w=`echo x $ac_new_val`
1743 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1745$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1746 ac_cache_corrupted=:
1747 else
1748 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1749$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1750 eval $ac_var=\$ac_old_val
1751 fi
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1753$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1755$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1756 fi;;
1757 esac
1758 # Pass precious variables to config.status.
1759 if test "$ac_new_set" = set; then
1760 case $ac_new_val in
1761 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1762 *) ac_arg=$ac_var=$ac_new_val ;;
1763 esac
1764 case " $ac_configure_args " in
1765 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1766 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1767 esac
1768 fi
1769done
1770if $ac_cache_corrupted; then
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1772$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1773 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1774$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1775 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1776fi
1777## -------------------- ##
1778## Main body of script. ##
1779## -------------------- ##
1780
1781ac_ext=c
1782ac_cpp='$CPP $CPPFLAGS'
1783ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1784ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1785ac_compiler_gnu=$ac_cv_c_compiler_gnu
1786
1787
1788
Tim Edwardsd09355e2021-08-23 16:25:31 -04001789# AC_PREFIX_DEFAULT(/usr)
Tim Edwards053cff32021-03-13 17:17:36 -05001790
Tim Edwards8a4b1602021-08-20 14:05:53 -04001791
Tim Edwardsccaea722020-12-24 10:59:42 -05001792## REQUIRES: https://www.gnu.org/software/autoconf-archive/ax_python_module.html#ax_python_module
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001793
1794
1795
1796
1797
1798
1799 if test -n "$PYTHON"; then
1800 # If the user set $PYTHON, use it and don't search something else.
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $PYTHON version is >= 3.4" >&5
1802$as_echo_n "checking whether $PYTHON version is >= 3.4... " >&6; }
1803 prog="import sys
1804# split strings by '.' and convert to numeric. Append some zeros
1805# because we need at least 4 digits for the hex conversion.
1806# map returns an iterator in Python 3.0 and a list in 2.x
1807minver = list(map(int, '3.4'.split('.'))) + [0, 0, 0]
1808minverhex = 0
1809# xrange is not present in Python 3.0 and range returns an iterator
1810for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
1811sys.exit(sys.hexversion < minverhex)"
1812 if { echo "$as_me:$LINENO: $PYTHON -c "$prog"" >&5
1813 ($PYTHON -c "$prog") >&5 2>&5
1814 ac_status=$?
1815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1816 (exit $ac_status); }; then :
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1818$as_echo "yes" >&6; }
1819else
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1821$as_echo "no" >&6; }
1822 as_fn_error $? "Python interpreter is too old" "$LINENO" 5
1823fi
1824 am_display_PYTHON=$PYTHON
1825 else
1826 # Otherwise, try each interpreter until we find one that satisfies
1827 # VERSION.
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a Python interpreter with version >= 3.4" >&5
1829$as_echo_n "checking for a Python interpreter with version >= 3.4... " >&6; }
1830if ${am_cv_pathless_PYTHON+:} false; then :
1831 $as_echo_n "(cached) " >&6
1832else
1833
Tim Edwards8a4b1602021-08-20 14:05:53 -04001834 for am_cv_pathless_PYTHON in python python2 python3 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 +02001835 test "$am_cv_pathless_PYTHON" = none && break
1836 prog="import sys
1837# split strings by '.' and convert to numeric. Append some zeros
1838# because we need at least 4 digits for the hex conversion.
1839# map returns an iterator in Python 3.0 and a list in 2.x
1840minver = list(map(int, '3.4'.split('.'))) + [0, 0, 0]
1841minverhex = 0
1842# xrange is not present in Python 3.0 and range returns an iterator
1843for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
1844sys.exit(sys.hexversion < minverhex)"
1845 if { echo "$as_me:$LINENO: $am_cv_pathless_PYTHON -c "$prog"" >&5
1846 ($am_cv_pathless_PYTHON -c "$prog") >&5 2>&5
1847 ac_status=$?
1848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1849 (exit $ac_status); }; then :
1850 break
1851fi
1852 done
1853fi
1854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_pathless_PYTHON" >&5
1855$as_echo "$am_cv_pathless_PYTHON" >&6; }
1856 # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON.
1857 if test "$am_cv_pathless_PYTHON" = none; then
1858 PYTHON=:
1859 else
1860 # Extract the first word of "$am_cv_pathless_PYTHON", so it can be a program name with args.
1861set dummy $am_cv_pathless_PYTHON; ac_word=$2
1862{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1863$as_echo_n "checking for $ac_word... " >&6; }
1864if ${ac_cv_path_PYTHON+:} false; then :
1865 $as_echo_n "(cached) " >&6
1866else
1867 case $PYTHON in
1868 [\\/]* | ?:[\\/]*)
1869 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
1870 ;;
1871 *)
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873for as_dir in $PATH
1874do
1875 IFS=$as_save_IFS
1876 test -z "$as_dir" && as_dir=.
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
1880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1881 break 2
1882 fi
1883done
1884 done
1885IFS=$as_save_IFS
1886
1887 ;;
1888esac
1889fi
1890PYTHON=$ac_cv_path_PYTHON
1891if test -n "$PYTHON"; then
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
1893$as_echo "$PYTHON" >&6; }
1894else
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1896$as_echo "no" >&6; }
1897fi
1898
1899
1900 fi
1901 am_display_PYTHON=$am_cv_pathless_PYTHON
1902 fi
1903
1904
1905 if test "$PYTHON" = :; then
1906 as_fn_error $? "no suitable Python interpreter found" "$LINENO" 5
1907 else
1908
1909
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON version" >&5
1911$as_echo_n "checking for $am_display_PYTHON version... " >&6; }
1912if ${am_cv_python_version+:} false; then :
1913 $as_echo_n "(cached) " >&6
1914else
Tim Edwards8a4b1602021-08-20 14:05:53 -04001915 am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[:3])"`
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001916fi
1917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_version" >&5
1918$as_echo "$am_cv_python_version" >&6; }
1919 PYTHON_VERSION=$am_cv_python_version
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02001920
1921 PYTHON_PREFIX='${prefix}'
1922
1923 PYTHON_EXEC_PREFIX='${exec_prefix}'
1924
1925
1926
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON platform" >&5
1928$as_echo_n "checking for $am_display_PYTHON platform... " >&6; }
1929if ${am_cv_python_platform+:} false; then :
1930 $as_echo_n "(cached) " >&6
1931else
1932 am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`
1933fi
1934{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_platform" >&5
1935$as_echo "$am_cv_python_platform" >&6; }
1936 PYTHON_PLATFORM=$am_cv_python_platform
1937
1938
1939 # Just factor out some code duplication.
1940 am_python_setup_sysconfig="\
1941import sys
1942# Prefer sysconfig over distutils.sysconfig, for better compatibility
1943# with python 3.x. See automake bug#10227.
1944try:
1945 import sysconfig
1946except ImportError:
1947 can_use_sysconfig = 0
1948else:
1949 can_use_sysconfig = 1
1950# Can't use sysconfig in CPython 2.7, since it's broken in virtualenvs:
1951# <https://github.com/pypa/virtualenv/issues/118>
1952try:
1953 from platform import python_implementation
1954 if python_implementation() == 'CPython' and sys.version[:3] == '2.7':
1955 can_use_sysconfig = 0
1956except ImportError:
1957 pass"
1958
1959
1960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON script directory" >&5
1961$as_echo_n "checking for $am_display_PYTHON script directory... " >&6; }
1962if ${am_cv_python_pythondir+:} false; then :
1963 $as_echo_n "(cached) " >&6
1964else
1965 if test "x$prefix" = xNONE
1966 then
1967 am_py_prefix=$ac_default_prefix
1968 else
1969 am_py_prefix=$prefix
1970 fi
1971 am_cv_python_pythondir=`$PYTHON -c "
1972$am_python_setup_sysconfig
1973if can_use_sysconfig:
1974 sitedir = sysconfig.get_path('purelib', vars={'base':'$am_py_prefix'})
1975else:
1976 from distutils import sysconfig
1977 sitedir = sysconfig.get_python_lib(0, 0, prefix='$am_py_prefix')
1978sys.stdout.write(sitedir)"`
1979 case $am_cv_python_pythondir in
1980 $am_py_prefix*)
1981 am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`
1982 am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"`
1983 ;;
1984 *)
1985 case $am_py_prefix in
1986 /usr|/System*) ;;
1987 *)
1988 am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
1989 ;;
1990 esac
1991 ;;
1992 esac
1993
1994fi
1995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pythondir" >&5
1996$as_echo "$am_cv_python_pythondir" >&6; }
1997 pythondir=$am_cv_python_pythondir
1998
1999
2000
2001 pkgpythondir=\${pythondir}/$PACKAGE
2002
2003
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $am_display_PYTHON extension module directory" >&5
2005$as_echo_n "checking for $am_display_PYTHON extension module directory... " >&6; }
2006if ${am_cv_python_pyexecdir+:} false; then :
2007 $as_echo_n "(cached) " >&6
2008else
2009 if test "x$exec_prefix" = xNONE
2010 then
2011 am_py_exec_prefix=$am_py_prefix
2012 else
2013 am_py_exec_prefix=$exec_prefix
2014 fi
2015 am_cv_python_pyexecdir=`$PYTHON -c "
2016$am_python_setup_sysconfig
2017if can_use_sysconfig:
2018 sitedir = sysconfig.get_path('platlib', vars={'platbase':'$am_py_prefix'})
2019else:
2020 from distutils import sysconfig
2021 sitedir = sysconfig.get_python_lib(1, 0, prefix='$am_py_prefix')
2022sys.stdout.write(sitedir)"`
2023 case $am_cv_python_pyexecdir in
2024 $am_py_exec_prefix*)
2025 am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'`
2026 am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"`
2027 ;;
2028 *)
2029 case $am_py_exec_prefix in
2030 /usr|/System*) ;;
2031 *)
2032 am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
2033 ;;
2034 esac
2035 ;;
2036 esac
2037
2038fi
2039{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_python_pyexecdir" >&5
2040$as_echo "$am_cv_python_pyexecdir" >&6; }
2041 pyexecdir=$am_cv_python_pyexecdir
2042
2043
2044
2045 pkgpyexecdir=\${pyexecdir}/$PACKAGE
2046
2047
2048
2049 fi
2050
2051
2052
2053 if test -z $PYTHON;
2054 then
Tim Edwards238499f2021-05-17 16:34:13 -04002055 if test -z "";
2056 then
2057 PYTHON="python3"
2058 else
2059 PYTHON=""
2060 fi
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002061 fi
2062 PYTHON_NAME=`basename $PYTHON`
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $PYTHON_NAME module: distutils" >&5
2064$as_echo_n "checking $PYTHON_NAME module: distutils... " >&6; }
Tim Edwards238499f2021-05-17 16:34:13 -04002065 $PYTHON -c "import distutils" 2>/dev/null
2066 if test $? -eq 0;
2067 then
2068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002069$as_echo "yes" >&6; }
Tim Edwards238499f2021-05-17 16:34:13 -04002070 eval HAVE_PYMOD_DISTUTILS=yes
2071 else
2072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002073$as_echo "no" >&6; }
Tim Edwards238499f2021-05-17 16:34:13 -04002074 eval HAVE_PYMOD_DISTUTILS=no
2075 #
2076 if test -n ""
2077 then
2078 as_fn_error $? "failed to find required module distutils" "$LINENO" 5
2079 exit 1
2080 fi
2081 fi
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002082
2083
Tim Edwards665c3fd2021-05-02 20:20:27 -04002084# Check for Mac OS X gsed vs. sed
2085
2086
2087{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
2088$as_echo_n "checking for a sed that does not truncate output... " >&6; }
2089if ${ac_cv_path_SED+:} false; then :
2090 $as_echo_n "(cached) " >&6
2091else
2092 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
2093 for ac_i in 1 2 3 4 5 6 7; do
2094 ac_script="$ac_script$as_nl$ac_script"
2095 done
2096 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
2097 { ac_script=; unset ac_script;}
2098 if test -z "$SED"; then
2099 ac_path_SED_found=false
2100 # Loop through the user's path and test for each of PROGNAME-LIST
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102for as_dir in $PATH
2103do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_prog in sed gsed; do
2107 for ac_exec_ext in '' $ac_executable_extensions; do
2108 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
2109 as_fn_executable_p "$ac_path_SED" || continue
2110# Check for GNU ac_path_SED and select it if it is found.
2111 # Check for GNU $ac_path_SED
2112case `"$ac_path_SED" --version 2>&1` in
2113*GNU*)
2114 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
2115*)
2116 ac_count=0
2117 $as_echo_n 0123456789 >"conftest.in"
2118 while :
2119 do
2120 cat "conftest.in" "conftest.in" >"conftest.tmp"
2121 mv "conftest.tmp" "conftest.in"
2122 cp "conftest.in" "conftest.nl"
2123 $as_echo '' >> "conftest.nl"
2124 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
2125 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2126 as_fn_arith $ac_count + 1 && ac_count=$as_val
2127 if test $ac_count -gt ${ac_path_SED_max-0}; then
2128 # Best one so far, save it but keep looking for a better one
2129 ac_cv_path_SED="$ac_path_SED"
2130 ac_path_SED_max=$ac_count
2131 fi
2132 # 10*(2^10) chars as input seems more than enough
2133 test $ac_count -gt 10 && break
2134 done
2135 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2136esac
2137
2138 $ac_path_SED_found && break 3
2139 done
2140 done
2141 done
2142IFS=$as_save_IFS
2143 if test -z "$ac_cv_path_SED"; then
2144 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
2145 fi
2146else
2147 ac_cv_path_SED=$SED
2148fi
2149
2150fi
2151{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
2152$as_echo "$ac_cv_path_SED" >&6; }
2153 SED="$ac_cv_path_SED"
2154 rm -f conftest.sed
2155
2156
2157
Tim Edwards66e53e52021-01-24 21:21:36 -05002158realpath() {
2159 # Cross-platform, handles ~
2160 python3 -c 'import os,sys;print(os.path.realpath(os.path.expanduser(sys.argv[1])))' $1
2161}
2162
2163# detect PDKs based on directories that include Makefile.in files
2164
2165
2166# define tools
2167# define tools to install setup files for. This does not imply that the tools are
2168# available on the system; just that open_pdks will install the setup files for them.
Tim Edwards66e53e52021-01-24 21:21:36 -05002169
2170
Tim Edwards66e53e52021-01-24 21:21:36 -05002171# check for the source and install paths for each PDK.
2172
2173
2174{ $as_echo "$as_me:${as_lineno-$LINENO}: Found technology directories: sky130" >&5
2175$as_echo "$as_me: Found technology directories: sky130" >&6;}
2176
2177
2178
2179 # --enable-pdk-[pdk]=/path/to/pdk
2180
Tim Edwards1168a8b2021-02-10 22:06:54 -05002181 echo "Checking technology sky130..."
Tim Edwards66e53e52021-01-24 21:21:36 -05002182
2183
2184 SKY130_SOURCE_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002185 SKY130_LINK_TARGETS="none"
Tim Edwards7e0a6442021-02-11 15:37:42 -05002186 SKY130_AUTO="0"
Tim Edwards66e53e52021-01-24 21:21:36 -05002187
2188 # Check whether --enable-sky130-sky130 was given.
2189if test "${enable_sky130_pdk+set}" = set; then :
2190 enableval=$enable_sky130_pdk;
2191 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002192 export SKY130_SOURCE_PATH=../sources/sky130-pdk
2193 SKY130_AUTO="1"
Tim Edwards66e53e52021-01-24 21:21:36 -05002194 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2195 echo "Disabling sky130..."
2196 else
2197 SKY130_SOURCE_PATH=$enableval
2198 fi
2199
Tim Edwards66e53e52021-01-24 21:21:36 -05002200fi
2201
Tim Edwards66e53e52021-01-24 21:21:36 -05002202
2203 if [ "$SKY130_SOURCE_PATH" != "" ]; then
2204 SKY130_SOURCE_PATH=`realpath $SKY130_SOURCE_PATH`
2205 SKY130_BASENAME=`basename $SKY130_SOURCE_PATH`
2206 if [ "$SKY130_BASENAME" = "libraries" ]; then
2207 SKY130_SOURCE_PATH=`dirname $SKY130_SOURCE_PATH`
2208 fi
Tim Edwards6ee11532021-02-11 12:29:33 -05002209 # Basic check that the PDK path exists, unless depending on Makefile
2210 # to download it automatically.
Tim Edwards7e0a6442021-02-11 15:37:42 -05002211 if [ "$SKY130_AUTO" = "0" ]; then
Tim Edwards6ee11532021-02-11 12:29:33 -05002212 { $as_echo "$as_me:${as_lineno-$LINENO}: Checking specified path for 'sky130' at $SKY130_SOURCE_PATH" >&5
Tim Edwards66e53e52021-01-24 21:21:36 -05002213$as_echo "$as_me: Checking specified path for 'sky130' at $SKY130_SOURCE_PATH" >&6;}
Tim Edwards6ee11532021-02-11 12:29:33 -05002214 as_ac_File=`$as_echo "ac_cv_file_$SKY130_SOURCE_PATH" | $as_tr_sh`
Tim Edwards66e53e52021-01-24 21:21:36 -05002215{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $SKY130_SOURCE_PATH" >&5
2216$as_echo_n "checking for $SKY130_SOURCE_PATH... " >&6; }
2217if eval \${$as_ac_File+:} false; then :
2218 $as_echo_n "(cached) " >&6
2219else
2220 test "$cross_compiling" = yes &&
2221 as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
2222if test -r "$SKY130_SOURCE_PATH"; then
2223 eval "$as_ac_File=yes"
2224else
2225 eval "$as_ac_File=no"
2226fi
2227fi
2228eval ac_res=\$$as_ac_File
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2230$as_echo "$ac_res" >&6; }
2231if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
2232
Tim Edwards6ee11532021-02-11 12:29:33 -05002233 { $as_echo "$as_me:${as_lineno-$LINENO}: 'sky130' source path found at $SKY130_SOURCE_PATH" >&5
Tim Edwards66e53e52021-01-24 21:21:36 -05002234$as_echo "$as_me: 'sky130' source path found at $SKY130_SOURCE_PATH" >&6;}
2235
2236else
2237
Tim Edwards6ee11532021-02-11 12:29:33 -05002238 as_fn_error $? "Specified path for 'sky130' at $SKY130_SOURCE_PATH not found" "$LINENO" 5
Tim Edwards66e53e52021-01-24 21:21:36 -05002239
2240fi
2241
Tim Edwards6ee11532021-02-11 12:29:33 -05002242 else
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: PDK 'sky130' will be downloaded automatically during make." >&5
2244$as_echo "$as_me: PDK 'sky130' will be downloaded automatically during make." >&6;}
2245 fi
Tim Edwards66e53e52021-01-24 21:21:36 -05002246
Tim Edwards66e53e52021-01-24 21:21:36 -05002247 # --with-pdk-link-targets=PDK_LINK_TARGETS
2248
2249# Check whether --with-sky130-link-targets was given.
2250if test "${with_sky130_link_targets+set}" = set; then :
2251 withval=$with_sky130_link_targets; SKY130_LINK_TARGETS=$with_sky130_link_targets
2252
2253fi
2254
2255
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: Link targets set to $SKY130_LINK_TARGETS" >&5
2257$as_echo "$as_me: Link targets set to $SKY130_LINK_TARGETS" >&6;}
2258 fi
2259
2260
2261
2262
2263
2264
Tim Edwards66e53e52021-01-24 21:21:36 -05002265# Set variables for tool setups
2266
2267
Tim Edwards1168a8b2021-02-10 22:06:54 -05002268{ $as_echo "$as_me:${as_lineno-$LINENO}: Found tools: klayout magic netgen irsim openlane qflow xschem" >&5
2269$as_echo "$as_me: Found tools: klayout magic netgen irsim openlane qflow xschem" >&6;}
Tim Edwards66e53e52021-01-24 21:21:36 -05002270
2271
2272
2273
2274
2275 KLAYOUT_DISABLED=0
2276 # Check whether --enable-klayout was given.
2277if test "${enable_klayout+set}" = set; then :
2278 enableval=$enable_klayout;
2279 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2280 KLAYOUT_DISABLED=1
2281 fi
2282
2283
2284fi
2285
2286
2287
2288
2289
2290 MAGIC_DISABLED=0
2291 # Check whether --enable-magic was given.
2292if test "${enable_magic+set}" = set; then :
2293 enableval=$enable_magic;
2294 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2295 MAGIC_DISABLED=1
2296 fi
2297
2298
2299fi
2300
2301
2302
2303
2304
2305 NETGEN_DISABLED=0
2306 # Check whether --enable-netgen was given.
2307if test "${enable_netgen+set}" = set; then :
2308 enableval=$enable_netgen;
2309 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2310 NETGEN_DISABLED=1
2311 fi
2312
2313
2314fi
2315
2316
2317
2318
2319
Tim Edwards367711e2021-01-27 10:35:12 -05002320 IRSIM_DISABLED=0
2321 # Check whether --enable-irsim was given.
2322if test "${enable_irsim+set}" = set; then :
2323 enableval=$enable_irsim;
2324 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2325 IRSIM_DISABLED=1
2326 fi
2327
2328
2329fi
2330
2331
2332
2333
2334
Tim Edwards66e53e52021-01-24 21:21:36 -05002335 OPENLANE_DISABLED=0
2336 # Check whether --enable-openlane was given.
2337if test "${enable_openlane+set}" = set; then :
2338 enableval=$enable_openlane;
2339 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2340 OPENLANE_DISABLED=1
2341 fi
2342
2343
2344fi
2345
2346
2347
2348
2349
2350 QFLOW_DISABLED=0
2351 # Check whether --enable-qflow was given.
2352if test "${enable_qflow+set}" = set; then :
2353 enableval=$enable_qflow;
2354 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2355 QFLOW_DISABLED=1
2356 fi
2357
2358
2359fi
2360
2361
2362
2363
2364
Tim Edwards1168a8b2021-02-10 22:06:54 -05002365 XSCHEM_DISABLED=0
2366 # Check whether --enable-xschem was given.
2367if test "${enable_xschem+set}" = set; then :
2368 enableval=$enable_xschem;
2369 if test "$enableval" == "no" -o "$enableval" == "NO"; then
2370 XSCHEM_DISABLED=1
2371 fi
2372
2373
2374fi
2375
2376
2377
2378
2379
Tim Edwards66e53e52021-01-24 21:21:36 -05002380# Magic
2381# Extract the first word of "magic", so it can be a program name with args.
2382set dummy magic; ac_word=$2
2383{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2384$as_echo_n "checking for $ac_word... " >&6; }
2385if ${ac_cv_path_MAGIC+:} false; then :
2386 $as_echo_n "(cached) " >&6
2387else
2388 case $MAGIC in
2389 [\\/]* | ?:[\\/]*)
2390 ac_cv_path_MAGIC="$MAGIC" # Let the user override the test with a path.
2391 ;;
2392 *)
2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394for as_dir in $PATH
2395do
2396 IFS=$as_save_IFS
2397 test -z "$as_dir" && as_dir=.
2398 for ac_exec_ext in '' $ac_executable_extensions; do
2399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2400 ac_cv_path_MAGIC="$as_dir/$ac_word$ac_exec_ext"
2401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2402 break 2
2403 fi
2404done
2405 done
2406IFS=$as_save_IFS
2407
2408 ;;
2409esac
2410fi
2411MAGIC=$ac_cv_path_MAGIC
2412if test -n "$MAGIC"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC" >&5
2414$as_echo "$MAGIC" >&6; }
2415else
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2417$as_echo "no" >&6; }
2418fi
2419
2420
2421if test -z "$MAGIC"; then
2422 as_fn_error $? "You need 'magic' to generate the needed various cell views." "$LINENO" 5
2423fi
2424# Extract the first word of "patch", so it can be a program name with args.
2425set dummy patch; ac_word=$2
2426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2427$as_echo_n "checking for $ac_word... " >&6; }
2428if ${ac_cv_path_PATCH+:} false; then :
2429 $as_echo_n "(cached) " >&6
2430else
2431 case $PATCH in
2432 [\\/]* | ?:[\\/]*)
2433 ac_cv_path_PATCH="$PATCH" # Let the user override the test with a path.
2434 ;;
2435 *)
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2437for as_dir in $PATH
2438do
2439 IFS=$as_save_IFS
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2443 ac_cv_path_PATCH="$as_dir/$ac_word$ac_exec_ext"
2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2445 break 2
2446 fi
2447done
2448 done
2449IFS=$as_save_IFS
2450
2451 ;;
2452esac
2453fi
2454PATCH=$ac_cv_path_PATCH
2455if test -n "$PATCH"; then
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATCH" >&5
2457$as_echo "$PATCH" >&6; }
2458else
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2460$as_echo "no" >&6; }
2461fi
2462
2463
2464if test -z "$PATCH"; then
2465 as_fn_error $? "You need 'patch' to apply patches." "$LINENO" 5
2466fi
2467
2468# Other installations (libraries or tools if applicable)
Tim Edwards66e53e52021-01-24 21:21:36 -05002469
2470
Tim Edwardscdfec5e2021-04-22 20:59:13 -04002471# Optional installations (like the above, but disabled by default)
Tim Edwardscfe970c2021-02-26 14:35:51 -05002472
2473
2474
2475
2476
2477
2478
2479
2480 # echo target targetvar flag location
2481
Tim Edwards66e53e52021-01-24 21:21:36 -05002482 SKY130_ML_XX_HD_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002483
Tim Edwards1168a8b2021-02-10 22:06:54 -05002484 # Check whether --enable-alpha-sky130 was given.
2485if test "${enable_alpha_sky130+set}" = set; then :
2486 enableval=$enable_alpha_sky130;
Tim Edwards66e53e52021-01-24 21:21:36 -05002487 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002488 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&5
2489$as_echo "$as_me: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&6;}
Tim Edwards6ee11532021-02-11 12:29:33 -05002490 export SKY130_ML_XX_HD_PATH=../sources/sky130_ml_xx_hd
Tim Edwards66e53e52021-01-24 21:21:36 -05002491 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002492 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_ml_xx_hd'" >&5
2493$as_echo "$as_me: Disabling package 'sky130_ml_xx_hd'" >&6;}
2494 export SKY130_ML_XX_HD_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002495 else
2496 SKY130_ML_XX_HD_PATH=$enableval
Tim Edwards7e0a6442021-02-11 15:37:42 -05002497 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_ml_xx_hd' at $SKY130_ML_XX_HD_PATH" >&5
2498$as_echo "$as_me: Enabling package 'sky130_ml_xx_hd' at $SKY130_ML_XX_HD_PATH" >&6;}
Tim Edwards66e53e52021-01-24 21:21:36 -05002499 fi
2500 SKY130_ML_XX_HD_PATH=`realpath $SKY130_ML_XX_HD_PATH`
2501
Tim Edwards7e0a6442021-02-11 15:37:42 -05002502else
2503
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&5
2505$as_echo "$as_me: Package 'sky130_ml_xx_hd' will be installed automatically during make." >&6;}
2506 SKY130_ML_XX_HD_PATH=../sources/sky130_ml_xx_hd
2507
2508
Tim Edwards66e53e52021-01-24 21:21:36 -05002509fi
2510
2511
2512
2513
2514
2515
2516
Tim Edwards66e53e52021-01-24 21:21:36 -05002517
2518
2519
2520
2521
Tim Edwards6ee11532021-02-11 12:29:33 -05002522 # echo target targetvar flag location
Tim Edwards66e53e52021-01-24 21:21:36 -05002523
Tim Edwards1168a8b2021-02-10 22:06:54 -05002524 XSCHEM_SKY130_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002525
Tim Edwards1168a8b2021-02-10 22:06:54 -05002526 # Check whether --enable-xschem-sky130 was given.
2527if test "${enable_xschem_sky130+set}" = set; then :
2528 enableval=$enable_xschem_sky130;
Tim Edwards66e53e52021-01-24 21:21:36 -05002529 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002530 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'xschem_sky130' will be installed automatically during make." >&5
2531$as_echo "$as_me: Package 'xschem_sky130' will be installed automatically during make." >&6;}
Tim Edwards6ee11532021-02-11 12:29:33 -05002532 export XSCHEM_SKY130_PATH=../sources/xschem_sky130
Tim Edwards66e53e52021-01-24 21:21:36 -05002533 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
Tim Edwards7e0a6442021-02-11 15:37:42 -05002534 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'xschem_sky130'" >&5
2535$as_echo "$as_me: Disabling package 'xschem_sky130'" >&6;}
2536 export XSCHEM_SKY130_PATH=""
Tim Edwards66e53e52021-01-24 21:21:36 -05002537 else
Tim Edwards1168a8b2021-02-10 22:06:54 -05002538 XSCHEM_SKY130_PATH=$enableval
Tim Edwards7e0a6442021-02-11 15:37:42 -05002539 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'xschem_sky130' at $XSCHEM_SKY130_PATH" >&5
2540$as_echo "$as_me: Enabling package 'xschem_sky130' at $XSCHEM_SKY130_PATH" >&6;}
Tim Edwards66e53e52021-01-24 21:21:36 -05002541 fi
Tim Edwards1168a8b2021-02-10 22:06:54 -05002542 XSCHEM_SKY130_PATH=`realpath $XSCHEM_SKY130_PATH`
Tim Edwards66e53e52021-01-24 21:21:36 -05002543
Tim Edwards7e0a6442021-02-11 15:37:42 -05002544else
2545
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'xschem_sky130' will be installed automatically during make." >&5
2547$as_echo "$as_me: Package 'xschem_sky130' will be installed automatically during make." >&6;}
2548 XSCHEM_SKY130_PATH=../sources/xschem_sky130
2549
2550
Tim Edwards66e53e52021-01-24 21:21:36 -05002551fi
2552
2553
2554
2555
2556
Tim Edwards66e53e52021-01-24 21:21:36 -05002557
2558
2559
2560
Tim Edwardscdfec5e2021-04-22 20:59:13 -04002561
2562
2563
2564
2565 # echo target targetvar flag location
2566
2567 SKY130_SRAM_MACROS_PATH=""
2568
2569 # Check whether --enable-sram-sky130 was given.
2570if test "${enable_sram_sky130+set}" = set; then :
2571 enableval=$enable_sram_sky130;
2572 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_sram_macros' will be installed automatically during make." >&5
2574$as_echo "$as_me: Package 'sky130_sram_macros' will be installed automatically during make." >&6;}
2575 export SKY130_SRAM_MACROS_PATH=../sources/sky130_sram_macros
2576 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_sram_macros'" >&5
2578$as_echo "$as_me: Disabling package 'sky130_sram_macros'" >&6;}
2579 export SKY130_SRAM_MACROS_PATH=""
2580 else
2581 SKY130_SRAM_MACROS_PATH=$enableval
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_sram_macros' at $SKY130_SRAM_MACROS_PATH" >&5
2583$as_echo "$as_me: Enabling package 'sky130_sram_macros' at $SKY130_SRAM_MACROS_PATH" >&6;}
2584 fi
2585 SKY130_SRAM_MACROS_PATH=`realpath $SKY130_SRAM_MACROS_PATH`
2586
2587else
2588
2589 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_sram_macros' will not be installed." >&5
2590$as_echo "$as_me: Package 'sky130_sram_macros' will not be installed." >&6;}
2591
2592
2593fi
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606 # echo target targetvar flag location
2607
2608 SKY130_OSU_PATH=""
2609
2610 # Check whether --enable-osu-sky130 was given.
2611if test "${enable_osu_sky130+set}" = set; then :
2612 enableval=$enable_osu_sky130;
2613 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2614 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu' will be installed automatically during make." >&5
2615$as_echo "$as_me: Package 'sky130_osu' will be installed automatically during make." >&6;}
2616 export SKY130_OSU_PATH=../sources/sky130_osu
2617 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_osu'" >&5
2619$as_echo "$as_me: Disabling package 'sky130_osu'" >&6;}
2620 export SKY130_OSU_PATH=""
2621 else
2622 SKY130_OSU_PATH=$enableval
2623 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_osu' at $SKY130_OSU_PATH" >&5
2624$as_echo "$as_me: Enabling package 'sky130_osu' at $SKY130_OSU_PATH" >&6;}
2625 fi
2626 SKY130_OSU_PATH=`realpath $SKY130_OSU_PATH`
2627
2628else
2629
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu' will not be installed." >&5
2631$as_echo "$as_me: Package 'sky130_osu' will not be installed." >&6;}
2632
2633
2634fi
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647 # echo target targetvar flag location
2648
2649 SKY130_OSU_T12_PATH=""
2650
2651 # Check whether --enable-osu-t12-sky130 was given.
2652if test "${enable_osu_t12_sky130+set}" = set; then :
2653 enableval=$enable_osu_t12_sky130;
2654 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2655 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t12' will be installed automatically during make." >&5
2656$as_echo "$as_me: Package 'sky130_osu_t12' will be installed automatically during make." >&6;}
2657 export SKY130_OSU_T12_PATH=../sources/sky130_osu_t12
2658 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_osu_t12'" >&5
2660$as_echo "$as_me: Disabling package 'sky130_osu_t12'" >&6;}
2661 export SKY130_OSU_T12_PATH=""
2662 else
2663 SKY130_OSU_T12_PATH=$enableval
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_osu_t12' at $SKY130_OSU_T12_PATH" >&5
2665$as_echo "$as_me: Enabling package 'sky130_osu_t12' at $SKY130_OSU_T12_PATH" >&6;}
2666 fi
2667 SKY130_OSU_T12_PATH=`realpath $SKY130_OSU_T12_PATH`
2668
2669else
2670
2671 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t12' will not be installed." >&5
2672$as_echo "$as_me: Package 'sky130_osu_t12' will not be installed." >&6;}
2673
2674
2675fi
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688 # echo target targetvar flag location
2689
2690 SKY130_OSU_T15_PATH=""
2691
2692 # Check whether --enable-osu-t15-sky130 was given.
2693if test "${enable_osu_t15_sky130+set}" = set; then :
2694 enableval=$enable_osu_t15_sky130;
2695 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t15' will be installed automatically during make." >&5
2697$as_echo "$as_me: Package 'sky130_osu_t15' will be installed automatically during make." >&6;}
2698 export SKY130_OSU_T15_PATH=../sources/sky130_osu_t15
2699 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_osu_t15'" >&5
2701$as_echo "$as_me: Disabling package 'sky130_osu_t15'" >&6;}
2702 export SKY130_OSU_T15_PATH=""
2703 else
2704 SKY130_OSU_T15_PATH=$enableval
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_osu_t15' at $SKY130_OSU_T15_PATH" >&5
2706$as_echo "$as_me: Enabling package 'sky130_osu_t15' at $SKY130_OSU_T15_PATH" >&6;}
2707 fi
2708 SKY130_OSU_T15_PATH=`realpath $SKY130_OSU_T15_PATH`
2709
2710else
2711
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t15' will not be installed." >&5
2713$as_echo "$as_me: Package 'sky130_osu_t15' will not be installed." >&6;}
2714
2715
2716fi
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729 # echo target targetvar flag location
2730
2731 SKY130_OSU_T18_PATH=""
2732
2733 # Check whether --enable-osu-t18-sky130 was given.
2734if test "${enable_osu_t18_sky130+set}" = set; then :
2735 enableval=$enable_osu_t18_sky130;
2736 if test "$enableval" == "yes" -o "$enableval" == "YES"; then
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t18' will be installed automatically during make." >&5
2738$as_echo "$as_me: Package 'sky130_osu_t18' will be installed automatically during make." >&6;}
2739 export SKY130_OSU_T18_PATH=../sources/sky130_osu_t18
2740 elif test "$enableval" == "no" -o "$enableval" == "NO"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling package 'sky130_osu_t18'" >&5
2742$as_echo "$as_me: Disabling package 'sky130_osu_t18'" >&6;}
2743 export SKY130_OSU_T18_PATH=""
2744 else
2745 SKY130_OSU_T18_PATH=$enableval
2746 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling package 'sky130_osu_t18' at $SKY130_OSU_T18_PATH" >&5
2747$as_echo "$as_me: Enabling package 'sky130_osu_t18' at $SKY130_OSU_T18_PATH" >&6;}
2748 fi
2749 SKY130_OSU_T18_PATH=`realpath $SKY130_OSU_T18_PATH`
2750
2751else
2752
2753 { $as_echo "$as_me:${as_lineno-$LINENO}: Package 'sky130_osu_t18' will not be installed." >&5
2754$as_echo "$as_me: Package 'sky130_osu_t18' will not be installed." >&6;}
2755
2756
2757fi
2758
2759
2760
2761
2762
2763
2764
2765
2766
Tim Edwards1168a8b2021-02-10 22:06:54 -05002767{ $as_echo "$as_me:${as_lineno-$LINENO}: Tools enabled for PDK setup installation: klayout magic netgen irsim openlane qflow xschem" >&5
2768$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 -05002769
Tim Edwards7cbaaba2020-08-05 12:19:18 -04002770# Check for "--with-ef-style"
2771EF_STYLE=0
2772
2773# Check whether --with-ef-style was given.
2774if test "${with_ef_style+set}" = set; then :
2775 withval=$with_ef_style;
Tim Edwards8292c902020-12-24 16:25:25 -05002776 pdks_ef_style=$withval
2777 if test "$withval" == "yes" -o "$withval" == "YES"; then
2778 EF_STYLE=1
2779 fi
Tim Edwards7cbaaba2020-08-05 12:19:18 -04002780
2781fi
2782
2783
Ahmed Ghazy6dc7ebf2020-07-29 16:52:14 +02002784
2785
2786MAKEFILES=$(find .. -name "Makefile.in" | sed 's/\(.*\)\.in/\1/g')
2787ac_config_files="$ac_config_files $MAKEFILES"
2788
2789
2790cat >confcache <<\_ACEOF
2791# This file is a shell script that caches the results of configure
2792# tests run on this system so they can be shared between configure
2793# scripts and configure runs, see configure's option --config-cache.
2794# It is not useful on other systems. If it contains results you don't
2795# want to keep, you may remove or edit it.
2796#
2797# config.status only pays attention to the cache file if you give it
2798# the --recheck option to rerun configure.
2799#
2800# `ac_cv_env_foo' variables (set or unset) will be overridden when
2801# loading this file, other *unset* `ac_cv_foo' will be assigned the
2802# following values.
2803
2804_ACEOF
2805
2806# The following way of writing the cache mishandles newlines in values,
2807# but we know of no workaround that is simple, portable, and efficient.
2808# So, we kill variables containing newlines.
2809# Ultrix sh set writes to stderr and can't be redirected directly,
2810# and sets the high bit in the cache file unless we assign to the vars.
2811(
2812 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2813 eval ac_val=\$$ac_var
2814 case $ac_val in #(
2815 *${as_nl}*)
2816 case $ac_var in #(
2817 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2818$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2819 esac
2820 case $ac_var in #(
2821 _ | IFS | as_nl) ;; #(
2822 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2823 *) { eval $ac_var=; unset $ac_var;} ;;
2824 esac ;;
2825 esac
2826 done
2827
2828 (set) 2>&1 |
2829 case $as_nl`(ac_space=' '; set) 2>&1` in #(
2830 *${as_nl}ac_space=\ *)
2831 # `set' does not quote correctly, so add quotes: double-quote
2832 # substitution turns \\\\ into \\, and sed turns \\ into \.
2833 sed -n \
2834 "s/'/'\\\\''/g;
2835 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2836 ;; #(
2837 *)
2838 # `set' quotes correctly as required by POSIX, so do not add quotes.
2839 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2840 ;;
2841 esac |
2842 sort
2843) |
2844 sed '
2845 /^ac_cv_env_/b end
2846 t clear
2847 :clear
2848 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2849 t end
2850 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2851 :end' >>confcache
2852if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2853 if test -w "$cache_file"; then
2854 if test "x$cache_file" != "x/dev/null"; then
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2856$as_echo "$as_me: updating cache $cache_file" >&6;}
2857 if test ! -f "$cache_file" || test -h "$cache_file"; then
2858 cat confcache >"$cache_file"
2859 else
2860 case $cache_file in #(
2861 */* | ?:*)
2862 mv -f confcache "$cache_file"$$ &&
2863 mv -f "$cache_file"$$ "$cache_file" ;; #(
2864 *)
2865 mv -f confcache "$cache_file" ;;
2866 esac
2867 fi
2868 fi
2869 else
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2871$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2872 fi
2873fi
2874rm -f confcache
2875
2876test "x$prefix" = xNONE && prefix=$ac_default_prefix
2877# Let make expand exec_prefix.
2878test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2879
2880# Transform confdefs.h into DEFS.
2881# Protect against shell expansion while executing Makefile rules.
2882# Protect against Makefile macro expansion.
2883#
2884# If the first sed substitution is executed (which looks for macros that
2885# take arguments), then branch to the quote section. Otherwise,
2886# look for a macro that doesn't take arguments.
2887ac_script='
2888:mline
2889/\\$/{
2890 N
2891 s,\\\n,,
2892 b mline
2893}
2894t clear
2895:clear
2896s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
2897t quote
2898s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
2899t quote
2900b any
2901:quote
2902s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
2903s/\[/\\&/g
2904s/\]/\\&/g
2905s/\$/$$/g
2906H
2907:any
2908${
2909 g
2910 s/^\n//
2911 s/\n/ /g
2912 p
2913}
2914'
2915DEFS=`sed -n "$ac_script" confdefs.h`
2916
2917
2918ac_libobjs=
2919ac_ltlibobjs=
2920U=
2921for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2922 # 1. Remove the extension, and $U if already installed.
2923 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2924 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2925 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2926 # will be set to the directory where LIBOBJS objects are built.
2927 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2928 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2929done
2930LIBOBJS=$ac_libobjs
2931
2932LTLIBOBJS=$ac_ltlibobjs
2933
2934
2935
2936: "${CONFIG_STATUS=./config.status}"
2937ac_write_fail=0
2938ac_clean_files_save=$ac_clean_files
2939ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2940{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2941$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2942as_write_fail=0
2943cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
2944#! $SHELL
2945# Generated by $as_me.
2946# Run this file to recreate the current configuration.
2947# Compiler output produced by configure, useful for debugging
2948# configure, is in config.log if it exists.
2949
2950debug=false
2951ac_cs_recheck=false
2952ac_cs_silent=false
2953
2954SHELL=\${CONFIG_SHELL-$SHELL}
2955export SHELL
2956_ASEOF
2957cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2958## -------------------- ##
2959## M4sh Initialization. ##
2960## -------------------- ##
2961
2962# Be more Bourne compatible
2963DUALCASE=1; export DUALCASE # for MKS sh
2964if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2965 emulate sh
2966 NULLCMD=:
2967 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2968 # is contrary to our usage. Disable this feature.
2969 alias -g '${1+"$@"}'='"$@"'
2970 setopt NO_GLOB_SUBST
2971else
2972 case `(set -o) 2>/dev/null` in #(
2973 *posix*) :
2974 set -o posix ;; #(
2975 *) :
2976 ;;
2977esac
2978fi
2979
2980
2981as_nl='
2982'
2983export as_nl
2984# Printing a long string crashes Solaris 7 /usr/bin/printf.
2985as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2986as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2987as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2988# Prefer a ksh shell builtin over an external printf program on Solaris,
2989# but without wasting forks for bash or zsh.
2990if test -z "$BASH_VERSION$ZSH_VERSION" \
2991 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2992 as_echo='print -r --'
2993 as_echo_n='print -rn --'
2994elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2995 as_echo='printf %s\n'
2996 as_echo_n='printf %s'
2997else
2998 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2999 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3000 as_echo_n='/usr/ucb/echo -n'
3001 else
3002 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3003 as_echo_n_body='eval
3004 arg=$1;
3005 case $arg in #(
3006 *"$as_nl"*)
3007 expr "X$arg" : "X\\(.*\\)$as_nl";
3008 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3009 esac;
3010 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3011 '
3012 export as_echo_n_body
3013 as_echo_n='sh -c $as_echo_n_body as_echo'
3014 fi
3015 export as_echo_body
3016 as_echo='sh -c $as_echo_body as_echo'
3017fi
3018
3019# The user is always right.
3020if test "${PATH_SEPARATOR+set}" != set; then
3021 PATH_SEPARATOR=:
3022 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3023 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3024 PATH_SEPARATOR=';'
3025 }
3026fi
3027
3028
3029# IFS
3030# We need space, tab and new line, in precisely that order. Quoting is
3031# there to prevent editors from complaining about space-tab.
3032# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3033# splitting by setting IFS to empty value.)
3034IFS=" "" $as_nl"
3035
3036# Find who we are. Look in the path if we contain no directory separator.
3037as_myself=
3038case $0 in #((
3039 *[\\/]* ) as_myself=$0 ;;
3040 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3041for as_dir in $PATH
3042do
3043 IFS=$as_save_IFS
3044 test -z "$as_dir" && as_dir=.
3045 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3046 done
3047IFS=$as_save_IFS
3048
3049 ;;
3050esac
3051# We did not find ourselves, most probably we were run as `sh COMMAND'
3052# in which case we are not to be found in the path.
3053if test "x$as_myself" = x; then
3054 as_myself=$0
3055fi
3056if test ! -f "$as_myself"; then
3057 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3058 exit 1
3059fi
3060
3061# Unset variables that we do not need and which cause bugs (e.g. in
3062# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3063# suppresses any "Segmentation fault" message there. '((' could
3064# trigger a bug in pdksh 5.2.14.
3065for as_var in BASH_ENV ENV MAIL MAILPATH
3066do eval test x\${$as_var+set} = xset \
3067 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3068done
3069PS1='$ '
3070PS2='> '
3071PS4='+ '
3072
3073# NLS nuisances.
3074LC_ALL=C
3075export LC_ALL
3076LANGUAGE=C
3077export LANGUAGE
3078
3079# CDPATH.
3080(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3081
3082
3083# as_fn_error STATUS ERROR [LINENO LOG_FD]
3084# ----------------------------------------
3085# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3086# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3087# script with STATUS, using 1 if that was 0.
3088as_fn_error ()
3089{
3090 as_status=$1; test $as_status -eq 0 && as_status=1
3091 if test "$4"; then
3092 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3093 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3094 fi
3095 $as_echo "$as_me: error: $2" >&2
3096 as_fn_exit $as_status
3097} # as_fn_error
3098
3099
3100# as_fn_set_status STATUS
3101# -----------------------
3102# Set $? to STATUS, without forking.
3103as_fn_set_status ()
3104{
3105 return $1
3106} # as_fn_set_status
3107
3108# as_fn_exit STATUS
3109# -----------------
3110# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3111as_fn_exit ()
3112{
3113 set +e
3114 as_fn_set_status $1
3115 exit $1
3116} # as_fn_exit
3117
3118# as_fn_unset VAR
3119# ---------------
3120# Portably unset VAR.
3121as_fn_unset ()
3122{
3123 { eval $1=; unset $1;}
3124}
3125as_unset=as_fn_unset
3126# as_fn_append VAR VALUE
3127# ----------------------
3128# Append the text in VALUE to the end of the definition contained in VAR. Take
3129# advantage of any shell optimizations that allow amortized linear growth over
3130# repeated appends, instead of the typical quadratic growth present in naive
3131# implementations.
3132if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3133 eval 'as_fn_append ()
3134 {
3135 eval $1+=\$2
3136 }'
3137else
3138 as_fn_append ()
3139 {
3140 eval $1=\$$1\$2
3141 }
3142fi # as_fn_append
3143
3144# as_fn_arith ARG...
3145# ------------------
3146# Perform arithmetic evaluation on the ARGs, and store the result in the
3147# global $as_val. Take advantage of shells that can avoid forks. The arguments
3148# must be portable across $(()) and expr.
3149if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3150 eval 'as_fn_arith ()
3151 {
3152 as_val=$(( $* ))
3153 }'
3154else
3155 as_fn_arith ()
3156 {
3157 as_val=`expr "$@" || test $? -eq 1`
3158 }
3159fi # as_fn_arith
3160
3161
3162if expr a : '\(a\)' >/dev/null 2>&1 &&
3163 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3164 as_expr=expr
3165else
3166 as_expr=false
3167fi
3168
3169if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3170 as_basename=basename
3171else
3172 as_basename=false
3173fi
3174
3175if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3176 as_dirname=dirname
3177else
3178 as_dirname=false
3179fi
3180
3181as_me=`$as_basename -- "$0" ||
3182$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3183 X"$0" : 'X\(//\)$' \| \
3184 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3185$as_echo X/"$0" |
3186 sed '/^.*\/\([^/][^/]*\)\/*$/{
3187 s//\1/
3188 q
3189 }
3190 /^X\/\(\/\/\)$/{
3191 s//\1/
3192 q
3193 }
3194 /^X\/\(\/\).*/{
3195 s//\1/
3196 q
3197 }
3198 s/.*/./; q'`
3199
3200# Avoid depending upon Character Ranges.
3201as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3202as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3203as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3204as_cr_digits='0123456789'
3205as_cr_alnum=$as_cr_Letters$as_cr_digits
3206
3207ECHO_C= ECHO_N= ECHO_T=
3208case `echo -n x` in #(((((
3209-n*)
3210 case `echo 'xy\c'` in
3211 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3212 xy) ECHO_C='\c';;
3213 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3214 ECHO_T=' ';;
3215 esac;;
3216*)
3217 ECHO_N='-n';;
3218esac
3219
3220rm -f conf$$ conf$$.exe conf$$.file
3221if test -d conf$$.dir; then
3222 rm -f conf$$.dir/conf$$.file
3223else
3224 rm -f conf$$.dir
3225 mkdir conf$$.dir 2>/dev/null
3226fi
3227if (echo >conf$$.file) 2>/dev/null; then
3228 if ln -s conf$$.file conf$$ 2>/dev/null; then
3229 as_ln_s='ln -s'
3230 # ... but there are two gotchas:
3231 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3232 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3233 # In both cases, we have to default to `cp -pR'.
3234 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3235 as_ln_s='cp -pR'
3236 elif ln conf$$.file conf$$ 2>/dev/null; then
3237 as_ln_s=ln
3238 else
3239 as_ln_s='cp -pR'
3240 fi
3241else
3242 as_ln_s='cp -pR'
3243fi
3244rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3245rmdir conf$$.dir 2>/dev/null
3246
3247
3248# as_fn_mkdir_p
3249# -------------
3250# Create "$as_dir" as a directory, including parents if necessary.
3251as_fn_mkdir_p ()
3252{
3253
3254 case $as_dir in #(
3255 -*) as_dir=./$as_dir;;
3256 esac
3257 test -d "$as_dir" || eval $as_mkdir_p || {
3258 as_dirs=
3259 while :; do
3260 case $as_dir in #(
3261 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3262 *) as_qdir=$as_dir;;
3263 esac
3264 as_dirs="'$as_qdir' $as_dirs"
3265 as_dir=`$as_dirname -- "$as_dir" ||
3266$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3267 X"$as_dir" : 'X\(//\)[^/]' \| \
3268 X"$as_dir" : 'X\(//\)$' \| \
3269 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3270$as_echo X"$as_dir" |
3271 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3272 s//\1/
3273 q
3274 }
3275 /^X\(\/\/\)[^/].*/{
3276 s//\1/
3277 q
3278 }
3279 /^X\(\/\/\)$/{
3280 s//\1/
3281 q
3282 }
3283 /^X\(\/\).*/{
3284 s//\1/
3285 q
3286 }
3287 s/.*/./; q'`
3288 test -d "$as_dir" && break
3289 done
3290 test -z "$as_dirs" || eval "mkdir $as_dirs"
3291 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3292
3293
3294} # as_fn_mkdir_p
3295if mkdir -p . 2>/dev/null; then
3296 as_mkdir_p='mkdir -p "$as_dir"'
3297else
3298 test -d ./-p && rmdir ./-p
3299 as_mkdir_p=false
3300fi
3301
3302
3303# as_fn_executable_p FILE
3304# -----------------------
3305# Test if FILE is an executable regular file.
3306as_fn_executable_p ()
3307{
3308 test -f "$1" && test -x "$1"
3309} # as_fn_executable_p
3310as_test_x='test -x'
3311as_executable_p=as_fn_executable_p
3312
3313# Sed expression to map a string onto a valid CPP name.
3314as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3315
3316# Sed expression to map a string onto a valid variable name.
3317as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3318
3319
3320exec 6>&1
3321## ----------------------------------- ##
3322## Main body of $CONFIG_STATUS script. ##
3323## ----------------------------------- ##
3324_ASEOF
3325test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3326
3327cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3328# Save the log message, to keep $0 and so on meaningful, and to
3329# report actual input values of CONFIG_FILES etc. instead of their
3330# values after options handling.
3331ac_log="
3332This file was extended by open_pdks $as_me 1.0, which was
3333generated by GNU Autoconf 2.69. Invocation command line was
3334
3335 CONFIG_FILES = $CONFIG_FILES
3336 CONFIG_HEADERS = $CONFIG_HEADERS
3337 CONFIG_LINKS = $CONFIG_LINKS
3338 CONFIG_COMMANDS = $CONFIG_COMMANDS
3339 $ $0 $@
3340
3341on `(hostname || uname -n) 2>/dev/null | sed 1q`
3342"
3343
3344_ACEOF
3345
3346case $ac_config_files in *"
3347"*) set x $ac_config_files; shift; ac_config_files=$*;;
3348esac
3349
3350
3351
3352cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3353# Files that config.status was made for.
3354config_files="$ac_config_files"
3355
3356_ACEOF
3357
3358cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3359ac_cs_usage="\
3360\`$as_me' instantiates files and other configuration actions
3361from templates according to the current configuration. Unless the files
3362and actions are specified as TAGs, all are instantiated by default.
3363
3364Usage: $0 [OPTION]... [TAG]...
3365
3366 -h, --help print this help, then exit
3367 -V, --version print version number and configuration settings, then exit
3368 --config print configuration, then exit
3369 -q, --quiet, --silent
3370 do not print progress messages
3371 -d, --debug don't remove temporary files
3372 --recheck update $as_me by reconfiguring in the same conditions
3373 --file=FILE[:TEMPLATE]
3374 instantiate the configuration file FILE
3375
3376Configuration files:
3377$config_files
3378
3379Report bugs to <github.com/RTimothyEdwards/open_pdks>."
3380
3381_ACEOF
3382cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3383ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3384ac_cs_version="\\
3385open_pdks config.status 1.0
3386configured by $0, generated by GNU Autoconf 2.69,
3387 with options \\"\$ac_cs_config\\"
3388
3389Copyright (C) 2012 Free Software Foundation, Inc.
3390This config.status script is free software; the Free Software Foundation
3391gives unlimited permission to copy, distribute and modify it."
3392
3393ac_pwd='$ac_pwd'
3394srcdir='$srcdir'
3395test -n "\$AWK" || AWK=awk
3396_ACEOF
3397
3398cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3399# The default lists apply if the user does not specify any file.
3400ac_need_defaults=:
3401while test $# != 0
3402do
3403 case $1 in
3404 --*=?*)
3405 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3406 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3407 ac_shift=:
3408 ;;
3409 --*=)
3410 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3411 ac_optarg=
3412 ac_shift=:
3413 ;;
3414 *)
3415 ac_option=$1
3416 ac_optarg=$2
3417 ac_shift=shift
3418 ;;
3419 esac
3420
3421 case $ac_option in
3422 # Handling of the options.
3423 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3424 ac_cs_recheck=: ;;
3425 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3426 $as_echo "$ac_cs_version"; exit ;;
3427 --config | --confi | --conf | --con | --co | --c )
3428 $as_echo "$ac_cs_config"; exit ;;
3429 --debug | --debu | --deb | --de | --d | -d )
3430 debug=: ;;
3431 --file | --fil | --fi | --f )
3432 $ac_shift
3433 case $ac_optarg in
3434 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3435 '') as_fn_error $? "missing file argument" ;;
3436 esac
3437 as_fn_append CONFIG_FILES " '$ac_optarg'"
3438 ac_need_defaults=false;;
3439 --he | --h | --help | --hel | -h )
3440 $as_echo "$ac_cs_usage"; exit ;;
3441 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3442 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3443 ac_cs_silent=: ;;
3444
3445 # This is an error.
3446 -*) as_fn_error $? "unrecognized option: \`$1'
3447Try \`$0 --help' for more information." ;;
3448
3449 *) as_fn_append ac_config_targets " $1"
3450 ac_need_defaults=false ;;
3451
3452 esac
3453 shift
3454done
3455
3456ac_configure_extra_args=
3457
3458if $ac_cs_silent; then
3459 exec 6>/dev/null
3460 ac_configure_extra_args="$ac_configure_extra_args --silent"
3461fi
3462
3463_ACEOF
3464cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3465if \$ac_cs_recheck; then
3466 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3467 shift
3468 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3469 CONFIG_SHELL='$SHELL'
3470 export CONFIG_SHELL
3471 exec "\$@"
3472fi
3473
3474_ACEOF
3475cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3476exec 5>>config.log
3477{
3478 echo
3479 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3480## Running $as_me. ##
3481_ASBOX
3482 $as_echo "$ac_log"
3483} >&5
3484
3485_ACEOF
3486cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3487_ACEOF
3488
3489cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3490
3491# Handling of arguments.
3492for ac_config_target in $ac_config_targets
3493do
3494 case $ac_config_target in
3495 "$MAKEFILES") CONFIG_FILES="$CONFIG_FILES $MAKEFILES" ;;
3496
3497 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3498 esac
3499done
3500
3501
3502# If the user did not use the arguments to specify the items to instantiate,
3503# then the envvar interface is used. Set only those that are not.
3504# We use the long form for the default assignment because of an extremely
3505# bizarre bug on SunOS 4.1.3.
3506if $ac_need_defaults; then
3507 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3508fi
3509
3510# Have a temporary directory for convenience. Make it in the build tree
3511# simply because there is no reason against having it here, and in addition,
3512# creating and moving files from /tmp can sometimes cause problems.
3513# Hook for its removal unless debugging.
3514# Note that there is a small window in which the directory will not be cleaned:
3515# after its creation but before its name has been assigned to `$tmp'.
3516$debug ||
3517{
3518 tmp= ac_tmp=
3519 trap 'exit_status=$?
3520 : "${ac_tmp:=$tmp}"
3521 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3522' 0
3523 trap 'as_fn_exit 1' 1 2 13 15
3524}
3525# Create a (secure) tmp directory for tmp files.
3526
3527{
3528 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3529 test -d "$tmp"
3530} ||
3531{
3532 tmp=./conf$$-$RANDOM
3533 (umask 077 && mkdir "$tmp")
3534} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3535ac_tmp=$tmp
3536
3537# Set up the scripts for CONFIG_FILES section.
3538# No need to generate them if there are no CONFIG_FILES.
3539# This happens for instance with `./config.status config.h'.
3540if test -n "$CONFIG_FILES"; then
3541
3542
3543ac_cr=`echo X | tr X '\015'`
3544# On cygwin, bash can eat \r inside `` if the user requested igncr.
3545# But we know of no other shell where ac_cr would be empty at this
3546# point, so we can use a bashism as a fallback.
3547if test "x$ac_cr" = x; then
3548 eval ac_cr=\$\'\\r\'
3549fi
3550ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3551if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3552 ac_cs_awk_cr='\\r'
3553else
3554 ac_cs_awk_cr=$ac_cr
3555fi
3556
3557echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3558_ACEOF
3559
3560
3561{
3562 echo "cat >conf$$subs.awk <<_ACEOF" &&
3563 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3564 echo "_ACEOF"
3565} >conf$$subs.sh ||
3566 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3567ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3568ac_delim='%!_!# '
3569for ac_last_try in false false false false false :; do
3570 . ./conf$$subs.sh ||
3571 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3572
3573 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3574 if test $ac_delim_n = $ac_delim_num; then
3575 break
3576 elif $ac_last_try; then
3577 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3578 else
3579 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3580 fi
3581done
3582rm -f conf$$subs.sh
3583
3584cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3585cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3586_ACEOF
3587sed -n '
3588h
3589s/^/S["/; s/!.*/"]=/
3590p
3591g
3592s/^[^!]*!//
3593:repl
3594t repl
3595s/'"$ac_delim"'$//
3596t delim
3597:nl
3598h
3599s/\(.\{148\}\)..*/\1/
3600t more1
3601s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3602p
3603n
3604b repl
3605:more1
3606s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3607p
3608g
3609s/.\{148\}//
3610t nl
3611:delim
3612h
3613s/\(.\{148\}\)..*/\1/
3614t more2
3615s/["\\]/\\&/g; s/^/"/; s/$/"/
3616p
3617b
3618:more2
3619s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3620p
3621g
3622s/.\{148\}//
3623t delim
3624' <conf$$subs.awk | sed '
3625/^[^""]/{
3626 N
3627 s/\n//
3628}
3629' >>$CONFIG_STATUS || ac_write_fail=1
3630rm -f conf$$subs.awk
3631cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3632_ACAWK
3633cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3634 for (key in S) S_is_set[key] = 1
3635 FS = ""
3636
3637}
3638{
3639 line = $ 0
3640 nfields = split(line, field, "@")
3641 substed = 0
3642 len = length(field[1])
3643 for (i = 2; i < nfields; i++) {
3644 key = field[i]
3645 keylen = length(key)
3646 if (S_is_set[key]) {
3647 value = S[key]
3648 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3649 len += length(value) + length(field[++i])
3650 substed = 1
3651 } else
3652 len += 1 + keylen
3653 }
3654
3655 print line
3656}
3657
3658_ACAWK
3659_ACEOF
3660cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3661if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3662 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3663else
3664 cat
3665fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3666 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3667_ACEOF
3668
3669# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3670# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3671# trailing colons and then remove the whole line if VPATH becomes empty
3672# (actually we leave an empty line to preserve line numbers).
3673if test "x$srcdir" = x.; then
3674 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3675h
3676s///
3677s/^/:/
3678s/[ ]*$/:/
3679s/:\$(srcdir):/:/g
3680s/:\${srcdir}:/:/g
3681s/:@srcdir@:/:/g
3682s/^:*//
3683s/:*$//
3684x
3685s/\(=[ ]*\).*/\1/
3686G
3687s/\n//
3688s/^[^=]*=[ ]*$//
3689}'
3690fi
3691
3692cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3693fi # test -n "$CONFIG_FILES"
3694
3695
3696eval set X " :F $CONFIG_FILES "
3697shift
3698for ac_tag
3699do
3700 case $ac_tag in
3701 :[FHLC]) ac_mode=$ac_tag; continue;;
3702 esac
3703 case $ac_mode$ac_tag in
3704 :[FHL]*:*);;
3705 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
3706 :[FH]-) ac_tag=-:-;;
3707 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3708 esac
3709 ac_save_IFS=$IFS
3710 IFS=:
3711 set x $ac_tag
3712 IFS=$ac_save_IFS
3713 shift
3714 ac_file=$1
3715 shift
3716
3717 case $ac_mode in
3718 :L) ac_source=$1;;
3719 :[FH])
3720 ac_file_inputs=
3721 for ac_f
3722 do
3723 case $ac_f in
3724 -) ac_f="$ac_tmp/stdin";;
3725 *) # Look for the file first in the build tree, then in the source tree
3726 # (if the path is not absolute). The absolute path cannot be DOS-style,
3727 # because $ac_f cannot contain `:'.
3728 test -f "$ac_f" ||
3729 case $ac_f in
3730 [\\/$]*) false;;
3731 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3732 esac ||
3733 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3734 esac
3735 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3736 as_fn_append ac_file_inputs " '$ac_f'"
3737 done
3738
3739 # Let's still pretend it is `configure' which instantiates (i.e., don't
3740 # use $as_me), people would be surprised to read:
3741 # /* config.h. Generated by config.status. */
3742 configure_input='Generated from '`
3743 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3744 `' by configure.'
3745 if test x"$ac_file" != x-; then
3746 configure_input="$ac_file. $configure_input"
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3748$as_echo "$as_me: creating $ac_file" >&6;}
3749 fi
3750 # Neutralize special characters interpreted by sed in replacement strings.
3751 case $configure_input in #(
3752 *\&* | *\|* | *\\* )
3753 ac_sed_conf_input=`$as_echo "$configure_input" |
3754 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3755 *) ac_sed_conf_input=$configure_input;;
3756 esac
3757
3758 case $ac_tag in
3759 *:-:* | *:-) cat >"$ac_tmp/stdin" \
3760 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3761 esac
3762 ;;
3763 esac
3764
3765 ac_dir=`$as_dirname -- "$ac_file" ||
3766$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3767 X"$ac_file" : 'X\(//\)[^/]' \| \
3768 X"$ac_file" : 'X\(//\)$' \| \
3769 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3770$as_echo X"$ac_file" |
3771 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3772 s//\1/
3773 q
3774 }
3775 /^X\(\/\/\)[^/].*/{
3776 s//\1/
3777 q
3778 }
3779 /^X\(\/\/\)$/{
3780 s//\1/
3781 q
3782 }
3783 /^X\(\/\).*/{
3784 s//\1/
3785 q
3786 }
3787 s/.*/./; q'`
3788 as_dir="$ac_dir"; as_fn_mkdir_p
3789 ac_builddir=.
3790
3791case "$ac_dir" in
3792.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3793*)
3794 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3795 # A ".." for each directory in $ac_dir_suffix.
3796 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3797 case $ac_top_builddir_sub in
3798 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3799 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3800 esac ;;
3801esac
3802ac_abs_top_builddir=$ac_pwd
3803ac_abs_builddir=$ac_pwd$ac_dir_suffix
3804# for backward compatibility:
3805ac_top_builddir=$ac_top_build_prefix
3806
3807case $srcdir in
3808 .) # We are building in place.
3809 ac_srcdir=.
3810 ac_top_srcdir=$ac_top_builddir_sub
3811 ac_abs_top_srcdir=$ac_pwd ;;
3812 [\\/]* | ?:[\\/]* ) # Absolute name.
3813 ac_srcdir=$srcdir$ac_dir_suffix;
3814 ac_top_srcdir=$srcdir
3815 ac_abs_top_srcdir=$srcdir ;;
3816 *) # Relative name.
3817 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3818 ac_top_srcdir=$ac_top_build_prefix$srcdir
3819 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3820esac
3821ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3822
3823
3824 case $ac_mode in
3825 :F)
3826 #
3827 # CONFIG_FILE
3828 #
3829
3830_ACEOF
3831
3832cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3833# If the template does not know about datarootdir, expand it.
3834# FIXME: This hack should be removed a few years after 2.60.
3835ac_datarootdir_hack=; ac_datarootdir_seen=
3836ac_sed_dataroot='
3837/datarootdir/ {
3838 p
3839 q
3840}
3841/@datadir@/p
3842/@docdir@/p
3843/@infodir@/p
3844/@localedir@/p
3845/@mandir@/p'
3846case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
3847*datarootdir*) ac_datarootdir_seen=yes;;
3848*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
3850$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
3851_ACEOF
3852cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3853 ac_datarootdir_hack='
3854 s&@datadir@&$datadir&g
3855 s&@docdir@&$docdir&g
3856 s&@infodir@&$infodir&g
3857 s&@localedir@&$localedir&g
3858 s&@mandir@&$mandir&g
3859 s&\\\${datarootdir}&$datarootdir&g' ;;
3860esac
3861_ACEOF
3862
3863# Neutralize VPATH when `$srcdir' = `.'.
3864# Shell code in configure.ac might set extrasub.
3865# FIXME: do we really want to maintain this feature?
3866cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3867ac_sed_extra="$ac_vpsub
3868$extrasub
3869_ACEOF
3870cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3871:t
3872/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3873s|@configure_input@|$ac_sed_conf_input|;t t
3874s&@top_builddir@&$ac_top_builddir_sub&;t t
3875s&@top_build_prefix@&$ac_top_build_prefix&;t t
3876s&@srcdir@&$ac_srcdir&;t t
3877s&@abs_srcdir@&$ac_abs_srcdir&;t t
3878s&@top_srcdir@&$ac_top_srcdir&;t t
3879s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
3880s&@builddir@&$ac_builddir&;t t
3881s&@abs_builddir@&$ac_abs_builddir&;t t
3882s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
3883$ac_datarootdir_hack
3884"
3885eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
3886 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3887
3888test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
3889 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
3890 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
3891 "$ac_tmp/out"`; test -z "$ac_out"; } &&
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3893which seems to be undefined. Please make sure it is defined" >&5
3894$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
3895which seems to be undefined. Please make sure it is defined" >&2;}
3896
3897 rm -f "$ac_tmp/stdin"
3898 case $ac_file in
3899 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
3900 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
3901 esac \
3902 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3903 ;;
3904
3905
3906
3907 esac
3908
3909done # for ac_tag
3910
3911
3912as_fn_exit 0
3913_ACEOF
3914ac_clean_files=$ac_clean_files_save
3915
3916test $ac_write_fail = 0 ||
3917 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3918
3919
3920# configure is writing to config.log, and then calls config.status.
3921# config.status does its own redirection, appending to config.log.
3922# Unfortunately, on DOS this fails, as config.log is still kept open
3923# by configure, so config.status won't be able to write to it; its
3924# output is simply discarded. So we exec the FD to /dev/null,
3925# effectively closing config.log, so it can be properly (re)opened and
3926# appended to by config.status. When coming back to configure, we
3927# need to make the FD available again.
3928if test "$no_create" != yes; then
3929 ac_cs_success=:
3930 ac_config_status_args=
3931 test "$silent" = yes &&
3932 ac_config_status_args="$ac_config_status_args --quiet"
3933 exec 5>/dev/null
3934 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3935 exec 5>>config.log
3936 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3937 # would make configure fail if this is the last instruction.
3938 $ac_cs_success || as_fn_exit 1
3939fi
3940if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3942$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3943fi
3944
3945
3946{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Build configured successfully" >&5
3947$as_echo "Build configured successfully" >&6; }