Applied fix for "Write image" seg fault found (and fixed) by Robert Fitzsimons.
[geda-gaf.git] / examples / configure.ac
blob1f702edbdc047134ca85aa608e4dfda832029d89
1 # Process this file with autoconf to produce a configure script.
2 AC_INIT
4 PACKAGE=geda-examples
5 VERSION=20070526
6 echo Configuring $PACKAGE version $VERSION
8 # Initialize automake 
9 AM_INIT_AUTOMAKE($PACKAGE, $VERSION, no-define)
12 # Expand the prefix variable
13 # I don't like the way this is done, but it works (I hope).
14 if eval "test x$prefix = xNONE"; then
15  dprefix=$ac_default_prefix
16 else
17  dprefix=$prefix
20 gedadocdir=$dprefix/share/doc/geda-doc
21 # --with-docdir : tells where to store documentation if not default
22 AC_ARG_WITH(docdir,
23     [  --with-docdir      Where to store documentation if not default.],
24         gedadocdir=$withval)
25 expandgedadocdir=`echo $gedadocdir`
26 GEDADOCDIR=$expandgedadocdir
27 AC_SUBST(GEDADOCDIR)
30 AC_CONFIG_FILES([ 
31         Makefile 
32         gTAG/Makefile 
33         lightning_detector/Makefile 
34         lightning_detector/sym/Makefile 
35         RF_Amp/Makefile 
36         RF_Amp/model/Makefile 
37         RF_Amp/sym/Makefile 
38         TwoStageAmp/Makefile 
39         TwoStageAmp/models/Makefile 
40         TwoStageAmp/sym/Makefile ])
42 AC_OUTPUT 
44 AC_MSG_RESULT([
45 ** Configuration complete for $PACKAGE $VERSION