Debian Codegraph @

configure

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 #!/bin/shscip-shell filesystem . . `/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="`pwdscip-shell system . . pwd.`/src"
14 [scip-shell system . . `[`. "x$buildir" = "x" ] && buildir=build
15 export buildir
16
17 if [scip-shell system . . `[`. ! -d ${buildir} ] ; then
18 echoscip-shell system . . echo. Creating directory "\`${buildir}'"
19 mkdirscip-shell system . . mkdir. ${buildir}
20 fi
21
22 echoscip-shell system . . 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 ( echoscip-shell system . . echo. $* | grepscip-shell system . . grep. guess-host-cflags ); then
29 echoscip-shell system . . echo. ****
30 echoscip-shell system . . echo. **** The flag --enable-guest-host-cflags has been removed. Instead try
31 echoscip-shell system . . echo. **** $* --enable-slow-conf
32 echoscip-shell system . . echo. ****
33 exit 1
34 fi
35
36 cd ${buildir}
•37 "${srcdir}/configure" --srcdir="${srcdir}" $*
38
39 echoscip-shell system . . echo. Configuration complete. To build ECL, issue 'make' in this directory.