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