#!/bin/bash --norc THISDIR=`pwd` echo "cd $THISDIR" > $THISDIR/paminstall.exe echo "aclocal" >> $THISDIR/paminstall.exe echo "autoheader" >> $THISDIR/paminstall.exe echo "libtoolize --force" >> $THISDIR/paminstall.exe echo "export CFLAGS=\"-g -O4 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\"" >> $THISDIR/paminstall.exe echo "export FFLAGS=\"-g -O0 -keepC -fPIC\"" >> $THISDIR/paminstall.exe echo "export CXXFLAGS=\"-g -O4 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64\"" >> $THISDIR/paminstall.exe echo "aclocal" >> $THISDIR/paminstall.exe echo "automake -a" >> $THISDIR/paminstall.exe echo "autoconf" >> $THISDIR/paminstall.exe echo "./configure --prefix="$PAM_YODA" --with-log4cxx="$PAM_YODA" --enable-gprof=no " >> $THISDIR/paminstall.exe echo "make" >> $THISDIR/paminstall.exe echo "make install" >> $THISDIR/paminstall.exe # ln -sf $PAM_YODA/inc $PAM_YODA/include # unset ARCH export ARCH=`uname` chmod a+x $THISDIR/paminstall.exe $THISDIR/paminstall.exe cd $THISDIR &>/dev/null