[Plib-cvs] plib/tools configure.in,1.5,1.6
Brought to you by:
sjbaker
|
From: Sebastian U. <ud...@us...> - 2002-09-01 07:24:17
|
Update of /cvsroot/plib/plib/tools In directory usw-pr-cvs1:/tmp/cvs-serv11325 Modified Files: configure.in Log Message: Adopted a bunch of changes from the top-level configure.in Index: configure.in =================================================================== RCS file: /cvsroot/plib/plib/tools/configure.in,v retrieving revision 1.5 retrieving revision 1.6 diff -u -d -r1.5 -r1.6 --- configure.in 1 Jul 2002 01:14:35 -0000 1.5 +++ configure.in 1 Sep 2002 07:24:14 -0000 1.6 @@ -1,7 +1,7 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/af2rgb/af2rgb.cxx) -AM_INIT_AUTOMAKE(plib_tools, 1.5.2) +AM_INIT_AUTOMAKE(plib_tools, 1.6.0) dnl Checks for programs. AC_PROG_CC @@ -12,10 +12,13 @@ AC_LANG_CPLUSPLUS [...187 lines suppressed...] +WFLAG="-Wall" +case "$host" in +mips-sgi-irix*) + if test "x$CXX" = "xCC"; then + WFLAG="-fullwarn"; + fi + ;; +*) + if test "x$CXX" = "xicpc" || test "x$CXX" = "xicc"; then + WFLAG="-w1" + fi + ;; +esac + +CFLAGS="$CFLAGS $WFLAG" +CXXFLAGS="$CXXFLAGS $WFLAG" + AC_OUTPUT( \ Makefile \ |