/[ascend]/trunk/pygtk/interface/configure.in
ViewVC logotype

Contents of /trunk/pygtk/interface/configure.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 374 - (show annotations) (download)
Tue Mar 14 08:41:17 2006 UTC (14 years ago) by johnpye
File size: 1771 byte(s)
Fixing script
1 AC_INIT(simulation.h)
2 AC_CONFIG_AUX_DIR(../../base/autotools/config)
3
4 echo "user home: $HOME"
5 echo "current dir: $PWD"
6
7 ASCEND_INCDIR="$PWD/../../base/generic/lib"
8 ASCEND_LIBDIR="$PWD/../../base/jam/Release/linux"
9 ASCEND_TMPDIR="/tmp"
10 ASCEND_MAKEFILEDIR_1="$PWD"
11 ASCEND_MAKEFILEDIR="$PWD/../../base/generic/lib"
12
13 # Coverage testing
14 AC_ARG_ENABLE([coverage-testing],
15 AC_HELP_STRING([--enable-coverage-testing],
16 [Instrument files with gcov coverage testing code])
17 ,
18 if test $enableval; then
19 COVERAGE_FLAGS="-fprofile-arcs -ftest-coverage"
20 else
21 COVERAGE_FLAGS=""
22 fi
23 ,
24 COVERAGE_FLAGS=""
25 )
26
27 # Default library location
28 # can be overridden by a value in ~/.ascend.ini
29 ASCEND_DEFAULTLIBRARY="../../models"
30
31 # Where the final-installed documentation files are:
32 HELPROOT="$HOME/ascend-doc/"
33
34 # Where the online documentation is:
35 WEBHELPROOT="http://pye.dyndns.org/ascend/manual/"
36
37 GLADE_FILE="glade/ascend.glade"
38
39 AC_CANONICAL_TARGET
40
41 case $target in
42 *-*-cygwin*)
43 echo "CYGWIN BUILD"
44 PLATFORM_CPPFLAGS=-DPY_LONG_LONG="long long"
45 SO_SUFF=.dll
46 ASCEND_ICON=glade\ascend.png
47 ;;
48 *-*-mingw32*)
49 echo "MINGW BUILD"
50 PLATFORM_CPPFLAGS=
51 SO_SUFF=.dll
52 ASCEND_ICON=glade/ascend.png
53 ;;
54 *)
55 PLATFORM_CPPFLAGS=
56 SO_SUFF=.so
57 ASCEND_ICON=glade/ascend.svg
58 ;;
59 esac
60
61 AC_SUBST([MUMBLE_INIT])
62
63
64 AC_SUBST(ASCEND_INCDIR)
65 AC_SUBST(ASCEND_LIBDIR)
66 AC_SUBST(ASCEND_TMPDIR)
67 AC_SUBST(ASCEND_MAKEFILEDIR_1)
68 AC_SUBST(ASCEND_MAKEFILEDIR)
69 AC_SUBST(ASCEND_ICON)
70 AC_SUBST(HELPROOT)
71 AC_SUBST(WEBHELPROOT)
72 AC_SUBST(GLADE_FILE)
73 AC_SUBST(ASCEND_PREFFILE)
74 AC_SUBST(SO_SUFF)
75 AC_SUBST(PLATFORM_CPPFLAGS)
76 AC_SUBST(ASCEND_DEFAULTLIBRARY)
77 AC_SUBST(COVERAGE_FLAGS)
78
79 AC_OUTPUT(config.h:config.in config.py:configpy.in Makefile)

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22