Action_Thermostats
Add_AtomRandomPerturbation
Add_RotateAroundBondAction
Add_SelectAtomByNameAction
Adding_Graph_to_ChangeBondActions
Adding_MD_integration_tests
Adding_StructOpt_integration_tests
Automaking_mpqc_open
AutomationFragmentation_failures
Candidate_v1.6.0
Candidate_v1.6.1
ChangeBugEmailaddress
ChangingTestPorts
ChemicalSpaceEvaluator
Combining_Subpackages
Debian_Package_split
Debian_package_split_molecuildergui_only
Disabling_MemDebug
Docu_Python_wait
EmpiricalPotential_contain_HomologyGraph_documentation
Enable_parallel_make_install
Enhance_userguide
Enhanced_StructuralOptimization
Enhanced_StructuralOptimization_continued
Example_ManyWaysToTranslateAtom
Exclude_Hydrogens_annealWithBondGraph
FitPartialCharges_GlobalError
Fix_ChronosMutex
Fix_StatusMsg
Fix_StepWorldTime_single_argument
Fix_Verbose_Codepatterns
ForceAnnealing_goodresults
ForceAnnealing_oldresults
ForceAnnealing_tocheck
ForceAnnealing_with_BondGraph
ForceAnnealing_with_BondGraph_continued
ForceAnnealing_with_BondGraph_continued_betteresults
ForceAnnealing_with_BondGraph_contraction-expansion
GeometryObjects
Gui_displays_atomic_force_velocity
IndependentFragmentGrids_IntegrationTest
JobMarket_RobustOnKillsSegFaults
JobMarket_StableWorkerPool
JobMarket_unresolvable_hostname_fix
ODR_violation_mpqc_open
PartialCharges_OrthogonalSummation
PythonUI_with_named_parameters
QtGui_reactivate_TimeChanged_changes
Recreated_GuiChecks
RotateToPrincipalAxisSystem_UndoRedo
StoppableMakroAction
Subpackage_levmar
Subpackage_vmg
ThirdParty_MPQC_rebuilt_buildsystem
TremoloParser_IncreasedPrecision
TremoloParser_MultipleTimesteps
Ubuntu_1604_changes
stable
Rev | Line | |
---|
[0b990d] | 1 | #!/bin/sh
|
---|
| 2 |
|
---|
| 3 | prefix=@prefix@
|
---|
| 4 | exec_prefix=@exec_prefix@
|
---|
| 5 | libdir=@sclibdir@
|
---|
| 6 | includedir=@scincludedir@
|
---|
| 7 | LIBSUF=@LIBSUF@
|
---|
| 8 | exec_prefix_set=no
|
---|
| 9 | libs="@LIBDIRS@ @LIBS@ @FLIBS@"
|
---|
| 10 | all_sclibs="@SCLIBS@"
|
---|
| 11 | cppdefines="@DEFS@ @EXTRADEFINES@"
|
---|
| 12 | cxxflags="@CXXFLAGS@"
|
---|
| 13 | cppflags="@CPPFLAGS@"
|
---|
| 14 | cflags="@CFLAGS@"
|
---|
| 15 | f77flags="@FFLAGS@"
|
---|
| 16 | cxx="@CXX@"
|
---|
| 17 | cc="@CC@"
|
---|
| 18 | f77="@F77@"
|
---|
| 19 | version="@SC_VERSION@"
|
---|
| 20 | soversion="@SC_SO_VERSION@"
|
---|
| 21 | buildid="@BUILDID@"
|
---|
| 22 | scdatadir=@scdatadir@
|
---|
| 23 | enableshared=@ENABLESHARED@
|
---|
| 24 |
|
---|
| 25 | # set up libtool related variables
|
---|
| 26 | if [ X$enableshared = Xyes ]; then
|
---|
| 27 | libtool=@exec_prefix@/bin/sc-libtool
|
---|
| 28 | ltlink="$libtool --mode=link"
|
---|
| 29 | if [ -n "$buildid" ]; then
|
---|
| 30 | ltlinklibopts="-rpath $libdir -release $buildid -version-info $soversion"
|
---|
| 31 | else
|
---|
| 32 | ltlinklibopts="-rpath $libdir -version-info $soversion"
|
---|
| 33 | fi
|
---|
| 34 | ltlinkbinopts=
|
---|
| 35 | ltcomp="$libtool --mode=compile"
|
---|
| 36 | ltinst="$libtool --mode=install"
|
---|
| 37 | else
|
---|
| 38 | libtool=
|
---|
| 39 | ltlink=
|
---|
| 40 | ltlinklibopts=
|
---|
| 41 | ltlinkbinopts=
|
---|
| 42 | ltcomp=
|
---|
| 43 | ltinst=
|
---|
| 44 | fi
|
---|
| 45 |
|
---|
| 46 | sclibs=""
|
---|
| 47 | for i in $all_sclibs; do
|
---|
| 48 | if [ -f $libdir/$i ]; then
|
---|
| 49 | li=`echo $i | sed "s/^lib\([a-zA-Z0-9]*\).$LIBSUF/-l\1/g"`
|
---|
| 50 | sclibs="$sclibs $li"
|
---|
| 51 | fi
|
---|
| 52 | done
|
---|
| 53 |
|
---|
| 54 | usage="\
|
---|
| 55 | Usage: sc-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--buildid] [--so-version] [--datadir] [--libs] [--libdir] [--cppflags] [--cc] [--cflags] [--cxx] [--cxxflags] [--f77] [--f77flags] [--libtool] [--ltlink] [--ltlinklibopts] [--ltlinkbinopts] [--ltcomp] [--ltinst]"
|
---|
| 56 |
|
---|
| 57 | if test $# -eq 0; then
|
---|
| 58 | echo "${usage}" 1>&2
|
---|
| 59 | exit 1
|
---|
| 60 | fi
|
---|
| 61 |
|
---|
| 62 | if test ${includedir} != /usr/include ; then
|
---|
| 63 | includes=-I${includedir}
|
---|
| 64 | fi
|
---|
| 65 |
|
---|
| 66 | while test $# -gt 0; do
|
---|
| 67 | case "$1" in
|
---|
| 68 | -*=*) optarg=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
---|
| 69 | *) optarg= ;;
|
---|
| 70 | esac
|
---|
| 71 |
|
---|
| 72 | case $1 in
|
---|
| 73 | --prefix=*)
|
---|
| 74 | prefix=$optarg
|
---|
| 75 | if test $exec_prefix_set = no ; then
|
---|
| 76 | exec_prefix=$optarg
|
---|
| 77 | fi
|
---|
| 78 | ;;
|
---|
| 79 | --prefix)
|
---|
| 80 | echo $prefix
|
---|
| 81 | ;;
|
---|
| 82 | --exec-prefix=*)
|
---|
| 83 | exec_prefix=$optarg
|
---|
| 84 | exec_prefix_set=yes
|
---|
| 85 | ;;
|
---|
| 86 | --exec-prefix)
|
---|
| 87 | echo $exec_prefix
|
---|
| 88 | ;;
|
---|
| 89 | --version)
|
---|
| 90 | echo $version
|
---|
| 91 | ;;
|
---|
| 92 | --so-version)
|
---|
| 93 | echo $soversion | sed s/:/./g
|
---|
| 94 | ;;
|
---|
| 95 | --scdatadir)
|
---|
| 96 | echo $scdatadir
|
---|
| 97 | ;;
|
---|
| 98 | --buildid)
|
---|
| 99 | echo $buildid
|
---|
| 100 | ;;
|
---|
| 101 | --cppflags)
|
---|
| 102 | echo $includes $cppflags
|
---|
| 103 | ;;
|
---|
| 104 | --cflags)
|
---|
| 105 | echo $cflags
|
---|
| 106 | ;;
|
---|
| 107 | --cxxflags)
|
---|
| 108 | echo $cxxflags
|
---|
| 109 | ;;
|
---|
| 110 | --cc)
|
---|
| 111 | echo $cc
|
---|
| 112 | ;;
|
---|
| 113 | --f77flags)
|
---|
| 114 | echo $f77flags
|
---|
| 115 | ;;
|
---|
| 116 | --f77)
|
---|
| 117 | echo $f77
|
---|
| 118 | ;;
|
---|
| 119 | --cxx)
|
---|
| 120 | echo $cxx
|
---|
| 121 | ;;
|
---|
| 122 | --libdir)
|
---|
| 123 | echo $libdir
|
---|
| 124 | ;;
|
---|
| 125 | --libs)
|
---|
| 126 | echo -L${libdir} $sclibs $libs
|
---|
| 127 | ;;
|
---|
| 128 | --libtool)
|
---|
| 129 | echo $libtool
|
---|
| 130 | ;;
|
---|
| 131 | --ltlink)
|
---|
| 132 | echo $ltlink
|
---|
| 133 | ;;
|
---|
| 134 | --ltlinklibopts)
|
---|
| 135 | echo $ltlinklibopts
|
---|
| 136 | ;;
|
---|
| 137 | --ltlinkbinopts)
|
---|
| 138 | echo $ltlinkbinopts
|
---|
| 139 | ;;
|
---|
| 140 | --ltcomp)
|
---|
| 141 | echo $ltcomp
|
---|
| 142 | ;;
|
---|
| 143 | --ltinst)
|
---|
| 144 | echo $ltinst
|
---|
| 145 | ;;
|
---|
| 146 | *)
|
---|
| 147 | echo "${usage}" 1>&2
|
---|
| 148 | exit 1
|
---|
| 149 | ;;
|
---|
| 150 | esac
|
---|
| 151 | shift
|
---|
| 152 | done
|
---|
| 153 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.