-
Notifications
You must be signed in to change notification settings - Fork 21
/
configure-gmp
21 lines (18 loc) · 1.31 KB
/
configure-gmp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh
#*=====================================================================*/
#* serrano/prgm/project/bigloo/bigloo/gmp/configure-gmp */
#* ------------------------------------------------------------- */
#* Author : Manuel Serrano */
#* Creation : Mon Sep 7 09:49:25 2009 */
#* Last change : Wed Dec 11 08:47:56 2019 (serrano) */
#* Copyright : 2009-19 Manuel Serrano */
#* ------------------------------------------------------------- */
#* Ad-hoc configuration for GMP. */
#*=====================================================================*/
echo "configure gmp with \"CC=$cc ./configure --libdir=$libdir/$fildir --includedir=$libdir/fildir --bindir=$bootdir/BGLINSTALLTMP --docdir=$docdir --mandir=$mandir --infodir=$infodir $gmpconfigureopt\"" >> ../configure.log
src=$gmpversion
(cd $src && \
export CC=$cc && \
./configure --libdir=$libdir/$fildir --includedir=$libdir/$fildir --bindir=$bootdir/BGLINSTALLTMP --docdir=$docdir --mandir=$mandir --infodir=$infodir $gmpconfigureopt 2>&1 >> ../../configure.log && \
cp gmp.h $bootdir/lib/bigloo/$release || \
(echo "configure gmp fail, see configure.log file." && exit 1)) || exit 1