/usr/bin/ple-config is in code-saturne-bin 2.1.0-4ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | #!/bin/sh
# This file is generated by the configure script.
# use debugging code: false
# MPI (Message Passing Interface) support: yes
# C compiler used for build: gcc (Ubuntu/Linaro 4.6.2-12ubuntu1) 4.6.2
# --------------------------
# Using built-in specs.
# COLLECT_GCC=gcc
# COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper
# Target: x86_64-linux-gnu
# Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.2-12ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
# Thread model: posix
# gcc version 4.6.2 (Ubuntu/Linaro 4.6.2-12ubuntu1)
cc=gcc
# Package Version
#----------------
version="1.0.0"
# Installation directories
#-------------------------
prefix="/usr"
exec_prefix="${prefix}"
includedir="${prefix}/include"
libdir="${exec_prefix}/lib"
cppflags=""
cflags=""
ldflags=""
libs=""
build_cppflags=""
build_cflags="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall"
build_ldflags=""
build_libs=""
mpi_cppflags="-I/usr/include/mpi -DOMPI_SKIP_MPICXX"
mpi_cflags=""
mpi_ldflags=""
mpi_libs="-lmpi "
# Output info depending on command-line options
#----------------------------------------------
if test $# -eq 0; then
show_help=yes
else
for opt in $*
do
case $opt in
--prefix)
output="${output} $prefix"
;;
--exec-prefix)
if test "$exec_prefix" != "" ; then
output="${output} $exec_prefix"
else
output="${output} $prefix/bin"
fi
;;
--includedir)
if test "$includedir" != "" ; then
output="${output} $includedir"
else
output="${output} $prefix/include"
fi
;;
--version)
output="${output} $version"
;;
--cppflags)
echo_cppflags=yes
;;
--cflags)
echo_cflags=yes
;;
--ldflags)
echo_ldflags=yes
;;
--libs)
echo_libs=yes
;;
--cc)
output="${output} $cc"
;;
-*)
show_help=yes
;;
*)
scope=$opt
;;
esac
done
fi
if test "$show_help" = "yes"; then
cat <<EOF
Usage: ple-config options scope
Options:
--prefix installation path prefix
--exec-prefix system-dependent path prefix
--includedir C header files path
--version library version
--cppflags C preprocessor flags (e.g. -D<macro>, ...)
--cflags C flags (e.g. -O, -g, ...)
--ldflags linker flags (e.g. -g, -L<path>, ...)
--libs librairies used (e.g. -l<libname>)
--cc C compiler used for build
Scope:
use (default) Options required for user code
build Options used for build
mpi
EOF
exit 1
fi
case "$scope" in
build)
cppflags=$build_cppflags
cflags=$build_cflags
ldflags=$build_ldflags
libs=$build_libs
;;
mpi)
cppflags=$mpi_cppflags
cflags=$mpi_cflags
ldflags=$mpi_ldflags
libs=$mpi_libs
;;
esac
if test "$echo_cppflags" = "yes" ; then
output="${output} $cppflags"
fi
if test "$echo_cflags" = "yes" ; then
output="${output} $cflags"
fi
if test "$echo_ldflags" = "yes" ; then
output="${output} $ldflags"
fi
if test "$echo_libs" = "yes" ; then
output="${output} $libs"
fi
if test "$output" != "" ; then
echo $output
fi
|