1 |
mocchiut |
6.1 |
#!/bin/bash --norc |
2 |
|
|
THISDIR=`pwd` |
3 |
|
|
echo "cd $THISDIR" > $THISDIR/paminstall.exe |
4 |
mocchiut |
6.2 |
echo "aclocal" >> $THISDIR/paminstall.exe |
5 |
mocchiut |
6.1 |
echo "autoheader" >> $THISDIR/paminstall.exe |
6 |
|
|
echo "libtoolize --force" >> $THISDIR/paminstall.exe |
7 |
mocchiut |
6.3 |
echo "export CFLAGS=\"-g -O4 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\"" >> $THISDIR/paminstall.exe |
8 |
mocchiut |
6.4 |
echo "export FFLAGS=\"-g -O0 -keepC -fPIC\"" >> $THISDIR/paminstall.exe |
9 |
mocchiut |
6.3 |
echo "export CXXFLAGS=\"-g -O4 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\"" >> $THISDIR/paminstall.exe |
10 |
mocchiut |
6.1 |
echo "aclocal" >> $THISDIR/paminstall.exe |
11 |
|
|
echo "automake -a" >> $THISDIR/paminstall.exe |
12 |
|
|
echo "autoconf" >> $THISDIR/paminstall.exe |
13 |
|
|
echo "./configure --prefix="$PAM_YODA" --with-log4cxx="$PAM_YODA" --enable-gprof=no " >> $THISDIR/paminstall.exe |
14 |
|
|
echo "make" >> $THISDIR/paminstall.exe |
15 |
|
|
echo "make install" >> $THISDIR/paminstall.exe |
16 |
|
|
# |
17 |
|
|
ln -sf $PAM_YODA/inc $PAM_YODA/include |
18 |
|
|
# |
19 |
|
|
unset ARCH |
20 |
|
|
export ARCH=`uname` |
21 |
|
|
chmod a+x $THISDIR/paminstall.exe |
22 |
|
|
$THISDIR/paminstall.exe |
23 |
|
|
cd $THISDIR &>/dev/null |