Debian Codegraph @

configure

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 #!/bin/sh
2 #
3 # This is just a driver for configure, the real configure is in src.
4 # This script identifies the machine, and creates a directory for
5 # the installation, where it runs ${srcdir}/configure.
6 set -e
7
8 #if uname -a | grep -i 'mingw32' > /dev/null; then
9 # srcdir=`pwd -W`/src;
10 #else
11 # srcdir=`pwd`/src
12 #fi
13 srcdir=`pwd`/src
14 [ "x$buildir" = "x" ] && buildir=build
15 export buildir
16
17 if [ ! -d ${buildir} ] ; then
18 echo Creating directory "\`${buildir}'"
19 mkdir ${buildir}
20 fi
21
22 echo Switching to directory "\`${buildir}'" to continue configuration.
23
24 #
25 # There are two ways to configure ECL. If we use our own version of GMP,
26 # we let it configure itself and later on retrieve the appropiate flags
27 #
28 if ( echo $* | grep guess-host-cflags ); then
29 echo ****
30 echo **** The flag --enable-guest-host-cflags has been removed. Instead try
31 echo **** $* --enable-slow-conf
32 echo ****
33 exit 1
34 fi
35
36 cd ${buildir}
37 ${srcdir}/configure --srcdir=${srcdir} "$@"
38
39 echo Configuration complete. To build ECL, issue 'make' in this directory.