3 # The idea to this kind of setup info script was stolen from numerous
4 # other packages, such as neon, libxml and gnome.
7 exec_prefix
=@exec_prefix@
8 includedir
=@includedir@
15 echo "Usage: regina-config [OPTION]"
17 echo "Available values for OPTION include:"
19 echo " --help display this help and exit"
20 echo " --cflags pre-processor and compiler flags"
21 echo " [-I$includedir]"
22 echo " --multithread yes; if thread-safe library is available; no otherwise"
23 echo " [@REGINAMULTITHREAD@]"
24 echo " --libs library linking information"
25 echo " [-L$libdir -l@SHLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@ @MH_FUNC_LIBS@]"
26 echo " --libs_ts library linking information for thread-safe library"
27 echo " [-L$libdir -l@SHLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@]"
28 echo " --libs32 library linking information for specific 32bit build"
29 echo " [-L$libdir32 -l@SHLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@ @MH_FUNC_LIBS@]"
30 echo " --libs64 library linking information for specific 64bit build"
31 echo " [-L$libdir64 -l@SHLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@ @MH_FUNC_LIBS@]"
32 echo " --prefix Regina install prefix"
34 echo " --version output version information"
39 if test $# -eq 0; then
43 while test $# -gt 0; do
45 # this deals with options in the style
46 # --option=value and extracts the value part
47 # [not currently used]
48 -*=*) value
=`echo "$1" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
58 echo @REGINAMULTITHREAD@
75 echo -L$libdir -l@SHLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@ @MH_FUNC_LIBS@
79 echo -L$libdir -l@TSLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@
83 echo -L$libdir32 -l@SHLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@ @MH_FUNC_LIBS@
87 echo -L$libdir64 -l@SHLFILE@ @BOTHLIBS@ @SHLIBS@ @DLFCNLIBDIR@ @THREADING_LINK@ @MH_FUNC_LIBS@