/usr/bin/ple-config is in code-saturne-bin 4.2.0+repack-1build1.
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: no
# MPI (Message Passing Interface) support: yes
# C compiler used for build: gcc (Ubuntu 5.3.1-8ubuntu2) 5.3.1 20160205
# --------------------------
# Using built-in specs.
# COLLECT_GCC=gcc
# COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
# Target: x86_64-linux-gnu
# Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.3.1-8ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --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 5.3.1 20160205 (Ubuntu 5.3.1-8ubuntu2)
cc=gcc
# Package Version
#----------------
version="2.0.2"
# Installation directories
#-------------------------
prefix="/usr"
exec_prefix="${prefix}"
includedir="${prefix}/include"
libdir="${exec_prefix}/lib"
cppflags=""
cflags=""
ldflags=""
libs=" -lm"
build_cppflags=" -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG"
build_cflags="-std=c99 -funsigned-char -pedantic -W -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wunused -fdiagnostics-color=auto -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall"
build_ldflags=" -Wl,-Bsymbolic-functions -Wl,-z,relro -O"
build_libs=" -lm"
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
|