summaryrefslogtreecommitdiffstats
path: root/scilab/modules/dynamic_link/src/scripts/compilerDetection.sh
blob: cba21c5d9f21dc3228b078dfa2b304c746fd25af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

PROGNAME="$0"
PATHTOCONFIGURE=`dirname "$PROGNAME"`
cd $PATHTOCONFIGURE

# Relaunch configure if files are missing
if test ! -s Makefile.orig -o ! -s libtool; then 
	echo "Detection of C/C++/Fortran Compilers"
	./configure --disable-static --disable-dependency-tracking "$@"
	mv Makefile Makefile.orig
else 
	echo "Detection of compilers already done"
fi