Changeset 1439
- Timestamp:
- Nov 1, 2009 2:51:52 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/Mumps/branches/BSPsplit/configure
r1435 r1439 21665 21665 21666 21666 21667 21667 21668 #check if user provided LIBS, CFLAGS, and DATA for module 21668 21669 if test $coin_has_blas != skipping; then … … 21674 21675 coin_has_blas=yes 21675 21676 BLAS_LIBS="$withval" 21677 ADDLIBS="$ADDLIBS $withval" 21678 21676 21679 fi; 21677 21680 … … 21707 21710 { (exit 1); exit 1; }; } 21708 21711 fi 21709 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$ PKG_CONFIG_PATH",21712 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/lib/ThirdParty/pkgconfig:$withval/lib/Data/pkgconfig:$PKG_CONFIG_PATH", 21710 21713 21711 21714 fi; … … 21721 21724 # check if directory $srcdir/../Blas exists and add ../Blas to the PKG_CONFIG_PATH 21722 21725 # this is for the classic setup where an uninstalled project can be found in ../Blas 21726 # we do the same for ThirdParty/Blas and Data/Blas; it's not nice but the only way I see to easily get around these nonstandard locations 21723 21727 if test -d $srcdir/../$pkgname; then 21724 21728 PKG_CONFIG_PATH="../$pkgname:$PKG_CONFIG_PATH" 21725 21729 fi 21730 if test -d $srcdir/../ThirdParty/$pkgname; then 21731 PKG_CONFIG_PATH="../ThirdParty/$pkgname$PKG_CONFIG_PATH" 21732 fi 21733 if test -d $srcdir/../Data/$pkgname; then 21734 PKG_CONFIG_PATH="../Data/$pkgname:$PKG_CONFIG_PATH" 21735 fi 21736 21726 21737 21727 21738 … … 21743 21754 if $PKG_CONFIG --exists "$module_content"; then 21744 21755 BLAS_VERSIONS="`$PKG_CONFIG --modversion $module_content 2>/dev/null`" 21745 BLAS_CFLAGS=`$PKG_CONFIG --cflags " blas" 2>/dev/null`21746 BLAS_LIBS=`$PKG_CONFIG --libs " blas" 2>/dev/null`21747 BLAS_DATA=`$PKG_CONFIG --variable=datadir " blas" 2>/dev/null`21756 BLAS_CFLAGS=`$PKG_CONFIG --cflags "$module_content" 2>/dev/null` 21757 BLAS_LIBS=`$PKG_CONFIG --libs "$module_content" 2>/dev/null` 21758 BLAS_DATA=`$PKG_CONFIG --variable=datadir "$module_content" 2>/dev/null` 21748 21759 coin_has_blas=yes 21749 21760 echo "$as_me:$LINENO: result: yes: $BLAS_VERSIONS" >&5 21750 21761 echo "${ECHO_T}yes: $BLAS_VERSIONS" >&6 21751 21762 REQUIREDPACKAGES="$REQUIREDPACKAGES $module_content" 21752 21753 21763 21754 21764 … … 21782 21792 if test $coin_has_blas != skipping && 21783 21793 test $coin_has_blas != notGiven ; then 21784 if test "x$BLAS_CFLAGS" != x; then21794 if test -n "$BLAS_CFLAGS" ; then 21785 21795 { echo "$as_me:$LINENO: Blas CFLAGS are $BLAS_CFLAGS" >&5 21786 21796 echo "$as_me: Blas CFLAGS are $BLAS_CFLAGS" >&6;} 21787 21797 fi 21788 if test "x$BLAS_LIBS" != x; then21798 if test -n "$BLAS_LIBS" ; then 21789 21799 { echo "$as_me:$LINENO: Blas LIBS are $BLAS_LIBS" >&5 21790 21800 echo "$as_me: Blas LIBS are $BLAS_LIBS" >&6;} 21791 21801 fi 21792 if test "x$BLAS_DATA" != x; then21802 if test -n "$BLAS_DATA" ; then 21793 21803 { echo "$as_me:$LINENO: Blas DATA is $BLAS_DATA" >&5 21794 21804 echo "$as_me: Blas DATA is $BLAS_DATA" >&6;} … … 21837 21847 21838 21848 21849 21839 21850 #check if user provided LIBS, CFLAGS, and DATA for module 21840 21851 if test $coin_has_metis != skipping; then … … 21846 21857 coin_has_metis=yes 21847 21858 METIS_LIBS="$withval" 21859 ADDLIBS="$ADDLIBS $withval" 21860 21848 21861 fi; 21849 21862 … … 21879 21892 { (exit 1); exit 1; }; } 21880 21893 fi 21881 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$ PKG_CONFIG_PATH",21894 PKG_CONFIG_PATH="$withval/lib/pkgconfig:$withval/lib/ThirdParty/pkgconfig:$withval/lib/Data/pkgconfig:$PKG_CONFIG_PATH", 21882 21895 21883 21896 fi; … … 21893 21906 # check if directory $srcdir/../Metis >= 4.0 exists and add ../Metis >= 4.0 to the PKG_CONFIG_PATH 21894 21907 # this is for the classic setup where an uninstalled project can be found in ../Metis >= 4.0 21908 # we do the same for ThirdParty/Metis >= 4.0 and Data/Metis >= 4.0; it's not nice but the only way I see to easily get around these nonstandard locations 21895 21909 if test -d $srcdir/../$pkgname; then 21896 21910 PKG_CONFIG_PATH="../$pkgname:$PKG_CONFIG_PATH" 21897 21911 fi 21912 if test -d $srcdir/../ThirdParty/$pkgname; then 21913 PKG_CONFIG_PATH="../ThirdParty/$pkgname$PKG_CONFIG_PATH" 21914 fi 21915 if test -d $srcdir/../Data/$pkgname; then 21916 PKG_CONFIG_PATH="../Data/$pkgname:$PKG_CONFIG_PATH" 21917 fi 21918 21898 21919 21899 21920 … … 21915 21936 if $PKG_CONFIG --exists "$module_content"; then 21916 21937 METIS_VERSIONS="`$PKG_CONFIG --modversion $module_content 2>/dev/null`" 21917 METIS_CFLAGS=`$PKG_CONFIG --cflags " metis" 2>/dev/null`21918 METIS_LIBS=`$PKG_CONFIG --libs " metis" 2>/dev/null`21919 METIS_DATA=`$PKG_CONFIG --variable=datadir " metis" 2>/dev/null`21938 METIS_CFLAGS=`$PKG_CONFIG --cflags "$module_content" 2>/dev/null` 21939 METIS_LIBS=`$PKG_CONFIG --libs "$module_content" 2>/dev/null` 21940 METIS_DATA=`$PKG_CONFIG --variable=datadir "$module_content" 2>/dev/null` 21920 21941 coin_has_metis=yes 21921 21942 echo "$as_me:$LINENO: result: yes: $METIS_VERSIONS" >&5 21922 21943 echo "${ECHO_T}yes: $METIS_VERSIONS" >&6 21923 21944 REQUIREDPACKAGES="$REQUIREDPACKAGES $module_content" 21924 21925 21945 21926 21946 … … 21954 21974 if test $coin_has_metis != skipping && 21955 21975 test $coin_has_metis != notGiven ; then 21956 if test "x$METIS_CFLAGS" != x; then21976 if test -n "$METIS_CFLAGS" ; then 21957 21977 { echo "$as_me:$LINENO: Metis CFLAGS are $METIS_CFLAGS" >&5 21958 21978 echo "$as_me: Metis CFLAGS are $METIS_CFLAGS" >&6;} 21959 21979 fi 21960 if test "x$METIS_LIBS" != x; then21980 if test -n "$METIS_LIBS" ; then 21961 21981 { echo "$as_me:$LINENO: Metis LIBS are $METIS_LIBS" >&5 21962 21982 echo "$as_me: Metis LIBS are $METIS_LIBS" >&6;} 21963 21983 fi 21964 if test "x$METIS_DATA" != x; then21984 if test -n "$METIS_DATA" ; then 21965 21985 { echo "$as_me:$LINENO: Metis DATA is $METIS_DATA" >&5 21966 21986 echo "$as_me: Metis DATA is $METIS_DATA" >&6;}
Note: See TracChangeset
for help on using the changeset viewer.