*/*) cd `expr X$0 : 'X\(.*\)/'` ;;
esac
+if test -f config_h.SH -a ! -f config.h; then
+ . ./config_h.SH
+ CONFIG_H=already-done
+fi
+
warn=''
# Add -Wall for the core modules iff gcc and not already -Wall
'') ;;
[12]*) ;; # gcc versions 1 (gasp!) and 2 are not good for this.
Intel*) ;; # # Is that you, Intel C++?
-*) for opt in -ansi -pedantic -std=c89 -W -Wextra -Wdeclaration-after-statement -Wendif-labels
+*) for opt in -ansi -pedantic -std=c89 -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat
do
case " $ccflags " in
*" $opt "*) ;; # Skip if already there.
# but then whined about.
for f in -Wdeclaration-after-statement -std=c89
do
- ccflags="`echo $ccflags|sed 's/$f/ /'`"
+ ccflags=`echo $ccflags|sed 's/$f/ /'`
done
;;
esac