Changeset 2952
- Timestamp:
- 2002-02-05T16:30:59+13:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/packages/configure
r2943 r2952 5 5 GSDLHOME=`pwd` 6 6 cd $PACKAGES 7 GSDLOS=`uname -s | 7 GSDLOS=`uname -s |tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'` 8 8 prefix="" 9 9 bindir="" … … 48 48 # where to install binaries to 49 49 bindir=`echo $1 | sed s/--bindir=//` 50 if test -d $bindir ; then 51 bindir=`cd $bindir ; pwd ` 50 # turn relative path into an absolute path 51 if test -d "$bindir" ; then 52 bindir=`cd "$bindir" ; pwd ` 52 53 cd "$PACKAGES" 53 54 elif test -z `echo $bindir | sed '/^\// p;D'` ; then 54 # turn relative path into an absolute path 55 rel_bindir=`echo $bindir | sed s@/.*@@` 56 cd $rel_bindir 57 bindir=`pwd`/`echo $bindir | sed s@^[^/]*/@@` 55 rel_bindir="`echo $bindir | sed s@/.*@@`" 56 cd "$rel_bindir" 57 bindir="`pwd`/`echo $bindir | sed s@^[^/]*/@@`" 58 58 cd "$PACKAGES" 59 59 else … … 84 84 ##fi 85 85 86 . $cache_file 86 # This loads the top configure's cache file, with variables already set. 87 if test -f "$cache_file" ; then 88 . $cache_file 89 fi 87 90 88 91 # we assume that gzip and tar are on the search path. 89 92 # non-GNU versions of tar don't take the -z option. 90 91 92 echo USE_CORBA = $USE_CORBA93 echo MICO_DIR = $MICO_DIR94 93 95 94 if test $USE_CORBA = true ; then … … 141 140 gzip -dc pdftohtml_gs.tar.gz | tar -xf - 142 141 cd pdftohtml_0_22 143 # following line is temporary...144 rm -f xpdf/config.h145 142 ./configure $CACHE_FILE --prefix="$prefix" --bindir="$bindir" $HOSTTARGETFLAGS 146 143
Note:
See TracChangeset
for help on using the changeset viewer.