Stay in GETCOORDS if there are more coord prompts.
[geda-gaf/berndj.git] / examples / configure.ac
blob9bd65f8cc80216034f268a1d90c8622cd3a9681e
1 # Process this file with autoconf to produce a configure script.
2 AC_INIT
3 AC_CONFIG_SRCDIR([gTAG/gTAG.sch])
4 AC_PREREQ(2.54)
6 PACKAGE=geda-examples
7 DOTTED_VERSION=1.5.0
8 DATE_VERSION=20080706
9 echo Configuring $PACKAGE version $DOTTED_VERSION.$DATE_VERSION
11 # Initialize automake 
12 AM_INIT_AUTOMAKE($PACKAGE, $DOTTED_VERSION, no-define)
15 # Expand the prefix variable
16 # I don't like the way this is done, but it works (I hope).
17 if eval "test x$prefix = xNONE"; then
18  dprefix=$ac_default_prefix
19 else
20  dprefix=$prefix
23 gedadocdir=$dprefix/share/doc/geda-doc
24 # --with-docdir : tells where to store documentation if not default
25 AC_ARG_WITH(docdir,
26     [  --with-docdir      Where to store documentation if not default.],
27         gedadocdir=$withval)
28 expandgedadocdir=`echo $gedadocdir`
29 GEDADOCDIR=$expandgedadocdir
30 AC_SUBST(GEDADOCDIR)
32 AC_SUBST(DATE_VERSION)
33 AC_SUBST(DOTTED_VERSION)
35 AC_CONFIG_FILES([ 
36         Makefile 
37         gTAG/Makefile 
38         lightning_detector/Makefile 
39         lightning_detector/sym/Makefile 
40         RF_Amp/Makefile 
41         RF_Amp/model/Makefile 
42         RF_Amp/sym/Makefile 
43         TwoStageAmp/Makefile 
44         TwoStageAmp/models/Makefile 
45         TwoStageAmp/sym/Makefile ])
47 AC_OUTPUT 
49 AC_MSG_RESULT([
50 ** Configuration complete for $PACKAGE $DOTTED_VERSION.$DATE_VERSION