Changeset 882d5f in git
- Timestamp:
- Jan 6, 2014, 5:13:38 PM (10 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 17fe09de3facd16159d0da4c0fb5bd476fb4180d
- Parents:
- 934c1d24d97a62c26be02e824450fb11eeb550ea
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-06 17:13:38+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2014-01-06 17:19:38+01:00
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/libpolys-config.in
r934c1d r882d5f 2 2 3 3 C="$0" 4 C=`readlink -f "$C"` 4 5 O=`pwd` 6 7 ##C=`readlink -f "$C"`::: 8 cd `dirname "$C"` 9 C=`basename "$C"` 10 11 # Iterate down a (possible) chain of symlinks 12 while [ -L "$C" ] 13 do 14 C=`readlink "$C"` 15 cd `dirname "$C"` 16 C=`basename "$C"` 17 done 18 19 cd `dirname "$C"` 20 C=`pwd` 5 21 C=`dirname "$C"` 6 22 C=`ls -d1 "$C"` 7 23 8 prefix="$C/../"24 cd "$O" 9 25 10 26 # NOTE: if you moved this config please either use the above or 11 27 # make sure the following variables are up to date 28 29 prefix="$C" 30 exec_prefix=${prefix} 31 includedir=${prefix}/include 32 libdir=${exec_prefix}/lib 33 12 34 #prefix=@prefix@ 13 14 exec_prefix=@exec_prefix@ 15 includedir=@includedir@ 16 libdir=@libdir@ 35 #exec_prefix=@exec_prefix@ 36 #includedir=@includedir@ 37 #libdir=@libdir@ 17 38 18 39 ECHO="echo" … … 27 48 28 49 --prefix show libpolys installation prefix 29 --libsg print library linking information (with debug)30 --cflagsg print pre-processor and compiler flags (with debug)31 50 --libs print library linking information 32 51 --cflags print pre-processor and compiler flags … … 70 89 ;; 71 90 72 --cflagsg)73 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@"74 ;;75 76 91 --cflags) 77 92 ${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@"82 93 ;; 83 94 -
libsingular-config.in
r934c1d r882d5f 2 2 3 3 C="$0" 4 C=`readlink -f "$C"` 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` 5 20 C=`dirname "$C"` 6 21 C=`ls -d1 "$C"` 7 22 23 cd "$O" 24 8 25 # NOTE: if you moved this config please either use the above or 9 26 # make sure the following variables are up to date 10 prefix="$C/../" 27 prefix="$C" 28 exec_prefix=${prefix} 29 includedir=${prefix}/include 30 libdir=${exec_prefix}/lib 31 11 32 #prefix=@prefix@ 12 exec_prefix=@exec_prefix@13 includedir=@includedir@14 libdir=@libdir@33 #exec_prefix=@exec_prefix@ 34 #includedir=@includedir@ 35 #libdir=@libdir@ 15 36 16 37 ECHO="echo" … … 25 46 26 47 --prefix show libpolys installation prefix 27 --libsg print library linking information (with debug)28 --cflagsg print pre-processor and compiler flags (with debug)29 48 --libs print library linking information 30 49 --cflags print pre-processor and compiler flags … … 68 87 ;; 69 88 70 --cflagsg)71 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@"72 ;;73 74 89 --cflags) 75 90 ${ECHOn} " -I${includedir} -I${includedir}/singular @FACTORY_CFLAGS@ @NTL_CFLAGS@ @GMP_CFLAGS@ -DNDEBUG -DOM_NDEBUG" 76 ;;77 78 --libsg)79 ${ECHOn} " -L${libdir} -L${libdir}/singular -lSingular_g -lnumeric_g -lkernel_g -lpolys_g -lcoeffs_g -lreporter_g -lmisc_g @FACTORY_LIBS@ -lomalloc_g -lresources_g @NTL_LIBS@ @USEPPROCSDYNAMICLD@ @GMP_LIBS@"80 91 ;; 81 92
Note: See TracChangeset
for help on using the changeset viewer.