Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
CLHEP
CLHEP
Commits
52898c4b
Commit
52898c4b
authored
Jun 06, 2011
by
Lynn Garren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
allow for relocating clhep
parent
3c544b6a
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
289 additions
and
49 deletions
+289
-49
Cast/Cast-config.in
Cast/Cast-config.in
+20
-3
ChangeLog
ChangeLog
+14
-0
Evaluator/Evaluator-config.in
Evaluator/Evaluator-config.in
+20
-3
Exceptions/Exceptions-config.in
Exceptions/Exceptions-config.in
+20
-3
Fields/Fields-config.in
Fields/Fields-config.in
+20
-3
GenericFunctions/GenericFunctions-config.in
GenericFunctions/GenericFunctions-config.in
+20
-3
Geometry/Geometry-config.in
Geometry/Geometry-config.in
+20
-3
Matrix/Matrix-config.in
Matrix/Matrix-config.in
+20
-3
Random/Random-config.in
Random/Random-config.in
+20
-3
RandomObjects/RandomObjects-config.in
RandomObjects/RandomObjects-config.in
+20
-3
RefCount/RefCount-config.in
RefCount/RefCount-config.in
+20
-3
Units/Units-config.in
Units/Units-config.in
+20
-3
Utility/Utility-config.in
Utility/Utility-config.in
+20
-3
Vector/Vector-config.in
Vector/Vector-config.in
+20
-3
clhep-config.in
clhep-config.in
+15
-10
No files found.
Cast/Cast-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
ChangeLog
View file @
52898c4b
2011-06-06 Lynn Garren <garren@fnal.gov>
* clhep-config: Since the clhep installation may have been relocated,
use the full path to clhep-config to get the install prefix.
Note that this presumes that bin, lib, and include are all under
the same $prefix.
2011-05-27 Mark Fischler <mf@fnal.gov> and Lynn Garren <garren@fnal.gov>
* Random/Random/RandSkewNormal.h, Random/Random/RandSkewNormal.icc,
Random/src/RandSkewNormal.cc: An implementation of the Azzalini
skew-normal distribution, as requested in bug #75534
==============================
11.11.10 Release CLHEP-2.1.0.1
==============================
...
...
Evaluator/Evaluator-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Exceptions/Exceptions-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Fields/Fields-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
GenericFunctions/GenericFunctions-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Geometry/Geometry-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Matrix/Matrix-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Random/Random-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
RandomObjects/RandomObjects-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
RefCount/RefCount-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Units/Units-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Utility/Utility-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
Vector/Vector-config.in
View file @
52898c4b
...
...
@@ -2,9 +2,26 @@
# @configure_input@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
binpath
=
${
newpath
}
fi
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
clhep-config.in
View file @
52898c4b
#! /bin/sh
# @configure_input@
# we include the paths of the original install directories for reference
orig_prefix
=
@prefix@
orig_exec_prefix
=
@exec_prefix@
orig_includedir
=
@includedir@
prefix
=
@prefix@
exec_prefix
=
@exec_prefix@
includedir
=
@includedir@
# use the full name of this script to get the current path
configpath
=
`
dirname
${
0
}
`
# check for a leading slash to determine if this is a relative path
firstc
=
`
expr
${
configpath
}
: /
>
/dev/null
`
if
[
!
${
firstc
}
]
then
prefix
=
${
configpath
}
binpath
=
${
configpath
}
else
cd
${
calldir
}
/
${
configpath
}
;
newpath
=
`
pwd
`
prefix
=
${
newpath
}
binpath
=
${
newpath
}
fi
echo
"prefix is
${
configpath
}
"
# OK - now we have to strip the trailing "/bin" out of the path
prefix
=
`
dirname
${
binpath
}
`
includedir
=
${
prefix
}
/include
libdir
=
${
prefix
}
/lib
usage
()
{
...
...
@@ -54,7 +59,7 @@ while test $# -gt 0; do
case
"
$1
"
in
--prefix
)
echo
@
prefix
@
echo
${
prefix
}
;;
--version
)
...
...
@@ -75,7 +80,7 @@ while test $# -gt 0; do
;;
--include
)
echo
-I
@prefix@/
include
echo
-I
${
include
dir
}
;;
--ldflags
)
...
...
@@ -83,7 +88,7 @@ while test $# -gt 0; do
;;
--libs
)
echo
-L
@prefix@/lib
-lCLHEP-
@VERSION@ @LIBS@
echo
-L
${
libdir
}
-lCLHEP-
@VERSION@ @LIBS@
;;
*
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment