Changeset 8baa37 in git for libpolys/libpolys-config.in
- Timestamp:
- Jan 24, 2014, 1:39:15 PM (10 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- ee5e11e63c911034966a67782a24e7326c52abb1
- Parents:
- 5c8e18ff3dc32f83461ed21cad1151a77366ed567661e1502f806195a6458595ba7e711664a932bb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/libpolys-config.in
r7661e1 r8baa37 1 1 #! /bin/bash 2 2 3 C="$0" 4 C=`readlink -f "$C"` 5 C=`dirname "$C"` 6 C=`ls -d1 "$C"` 7 8 prefix="$C/../" 3 #C="$0" 4 #O=`pwd` 5 # 6 ###C=`readlink -f "$C"`::: 7 #cd `dirname "$C"` 8 #C=`basename "$C"` 9 # 10 ## Iterate down a (possible) chain of symlinks 11 #while [ -L "$C" ] 12 #do 13 # C=`readlink "$C"` 14 # cd `dirname "$C"` 15 # C=`basename "$C"` 16 #done 17 # 18 #cd `dirname "$C"` 19 #C=`pwd` 20 #C=`dirname "$C"` 21 #C=`ls -d1 "$C"` 22 # 23 #cd "$O" 9 24 10 25 # NOTE: if you moved this config please either use the above or 11 26 # make sure the following variables are up to date 12 #prefix=@prefix@ 27 #prefix="$C" 28 #exec_prefix=${prefix} 29 #includedir=${prefix}/include 30 #libdir=${exec_prefix}/lib 13 31 32 prefix=@prefix@ 14 33 exec_prefix=@exec_prefix@ 34 15 35 includedir=@includedir@ 16 36 libdir=@libdir@ … … 27 47 28 48 --prefix show libpolys installation prefix 29 --libsg print library linking information (with debug)30 --cflagsg print pre-processor and compiler flags (with debug)31 49 --libs print library linking information 32 50 --cflags print pre-processor and compiler flags … … 70 88 ;; 71 89 72 --cflagsg)73 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@"74 ;;75 76 90 --cflags) 77 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@ -DNDEBUG -DOM_NDEBUG" 78 ;; 79 80 --libsg) 81 ${ECHOn} " -L${libdir} -L${libdir}/singular -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g @FACTORY_LIBS@ -lomalloc_g -lresources_g @NTL_LIBS@ @USEPPROCSDYNAMICLD@ @GMP_LIBS@" 91 ${ECHOn} " -I${includedir} -I${includedir}/singular @SINGULAR_CFLAGS@ @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@ " 82 92 ;; 83 93 84 94 --libs) 85 ${ECHOn} " -L${libdir} - L${libdir}/singular -lpolys -lcoeffs -lreporter -lmisc @FACTORY_LIBS@ -lomalloc -lresources @NTL_LIBS@ @USEPPROCSDYNAMICLD@ @GMP_LIBS@"95 ${ECHOn} " -L${libdir} -lpolys" 86 96 ;; 87 97
Note: See TracChangeset
for help on using the changeset viewer.