Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
CLHEP
CLHEP
Commits
b5f49927
Commit
b5f49927
authored
Aug 12, 2003
by
Lynn Garren
Browse files
choose g++ by default
get rid of unnecessary configure tests
parent
e9ff3a45
Changes
12
Hide whitespace changes
Inline
Side-by-side
Evaluator/configure.in
View file @
b5f49927
...
...
@@ -61,26 +61,13 @@ AH_BOTTOM([#endif // EVALUATOR_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -169,8 +156,6 @@ esac
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
...
...
@@ -181,8 +166,6 @@ AC_CHECK_HEADERS([string.h])
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_FUNC_STRTOD
AC_CHECK_FUNCS([pow sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
GenericFunctions/configure.in
View file @
b5f49927
...
...
@@ -62,26 +62,13 @@ AH_BOTTOM([#endif // GENERICFUNCTIONS_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -169,23 +156,17 @@ esac
# ----------------------------------------------------------------------
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_CHECK_FUNCS([floor pow sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
Geometry/configure.in
View file @
b5f49927
...
...
@@ -63,26 +63,13 @@ AH_BOTTOM([#endif // GEOMETRY_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -170,23 +157,17 @@ esac
# ----------------------------------------------------------------------
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_CHECK_FUNCS([sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
HepMC/configure.in
View file @
b5f49927
...
...
@@ -70,26 +70,13 @@ AH_BOTTOM([/* use correct std::ios_base or std::ios (old) */
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -178,17 +165,12 @@ esac
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([stdlib.h])
AC_CHECK_HEADERS([sstream])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_C_CONST
AC_C_INLINE
AC_CHECK_TYPES([ptrdiff_t])
AC_MSG_CHECKING([for ios_base])
...
...
@@ -203,7 +185,6 @@ AC_MSG_RESULT([$iosbase])
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_CHECK_FUNCS([pow sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
HepPDT/configure.in
View file @
b5f49927
...
...
@@ -65,26 +65,13 @@ AH_BOTTOM([#endif // VECTOR_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -172,9 +159,7 @@ esac
# ----------------------------------------------------------------------
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([stdlib.h])
AC_CHECK_HEADERS([sstream])
...
...
@@ -182,14 +167,11 @@ AC_CHECK_HEADERS([sstream])
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_CHECK_FUNCS([pow sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
Matrix/configure.in
View file @
b5f49927
...
...
@@ -62,26 +62,13 @@ AH_BOTTOM([#endif // MATRIX_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -170,23 +157,16 @@ esac
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([float.h string.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_FUNC_ERROR_AT_LINE
AC_CHECK_FUNCS([memset sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
Random/configure.in
View file @
b5f49927
...
...
@@ -68,26 +68,13 @@ AH_BOTTOM([#endif // RANDOM_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -176,22 +163,17 @@ esac
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([float.h string.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_CHECK_FUNCS([
floor pow sqrt
drand48])
AC_CHECK_FUNCS([drand48])
# ----------------------------------------------------------------------
# Finish up:
...
...
RandomObjects/configure.in
View file @
b5f49927
...
...
@@ -61,26 +61,13 @@ AH_BOTTOM([#endif // RANDOMOBJECTS_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -169,22 +156,16 @@ esac
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([float.h string.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_CHECK_FUNCS([floor pow sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
StdHep/configure.in
View file @
b5f49927
...
...
@@ -65,26 +65,13 @@ AH_BOTTOM([/* use correct std::ios_base or std::ios (old) */
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -172,18 +159,13 @@ esac
# ----------------------------------------------------------------------
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_HEADER_STDBOOL
AC_CHECK_HEADERS([string.h])
AC_CHECK_HEADERS([stdlib.h])
AC_CHECK_HEADERS([sstream])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_C_CONST
AC_C_INLINE
AC_CHECK_TYPES([ptrdiff_t])
AC_MSG_CHECKING([for ios_base])
...
...
@@ -198,7 +180,6 @@ AC_MSG_RESULT([$iosbase])
# Check for needed library functions:
# ----------------------------------------------------------------------
AC_CHECK_FUNCS([pow sqrt])
# ----------------------------------------------------------------------
# Finish up:
...
...
Units/configure.in
View file @
b5f49927
...
...
@@ -61,26 +61,13 @@ AH_BOTTOM([#endif // UNITS_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -168,17 +155,12 @@ esac
# ----------------------------------------------------------------------
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
...
...
Utilities/configure.in
View file @
b5f49927
...
...
@@ -55,26 +55,12 @@ AH_BOTTOM([#endif // UTILITIES_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
@@ -162,17 +148,12 @@ esac
# ----------------------------------------------------------------------
# Check for needed header files:
# ----------------------------------------------------------------------
AC_HEADER_STDC
AC_CHECK_HEADERS([stdlib.h])
# ----------------------------------------------------------------------
# Check for needed typedefs, structures, and compiler characteristics:
# ----------------------------------------------------------------------
AC_HEADER_STDBOOL
AC_C_CONST
AC_C_INLINE
# ----------------------------------------------------------------------
# Check for needed library functions:
...
...
Vector/configure.in
View file @
b5f49927
...
...
@@ -68,26 +68,12 @@ AH_BOTTOM([#endif // VECTOR_DEFS_H])
# Account for any user configuration options:
# ----------------------------------------------------------------------
# Determine whether optional thread support is requested:
AC_ARG_ENABLE(
threads,
[ --enable-threads Turn on thread support],
[case "${enableval}" in
yes) threads=true ;;
no) threads=false ;;
*) AC_MSG_ERROR(bad value ${enableval} for --enable-threads) ;;
esac],
[threads=false]
)
AM_CONDITIONAL(USE_THREADS, test x$threads = xtrue)
# ----------------------------------------------------------------------
# Check for needed programs:
# ----------------------------------------------------------------------
# Locate a C++ compiler:
AC_PROG_CXX(aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
g++ c++
gpp)
AC_PROG_CXX(
g++ c++
aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC gpp)
# Use it hereinafter:
AC_LANG(C++)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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