+ Moved optimization flags and warning triggers here. + Updated the snapshot timestamp.tags/v0.99.beta14
@@ -1,13 +1,13 @@ | |||||
# $Id$ | # $Id$ | ||||
AC_INIT(ttyvaders,0.0cvs-20021223) | |||||
AC_INIT(ttyvaders,0.0cvs-20031110) | |||||
AC_PREREQ(2.50) | AC_PREREQ(2.50) | ||||
AC_CONFIG_SRCDIR(src/main.c) | AC_CONFIG_SRCDIR(src/main.c) | ||||
AC_CONFIG_AUX_DIR(autotools) | AC_CONFIG_AUX_DIR(autotools) | ||||
AC_CANONICAL_SYSTEM | AC_CANONICAL_SYSTEM | ||||
AM_INIT_AUTOMAKE(ttyvaders,0.0cvs-20021223) | |||||
AM_INIT_AUTOMAKE(ttyvaders,0.0cvs-20031110) | |||||
AM_CONFIG_HEADER(config.h) | AM_CONFIG_HEADER(config.h) | ||||
AM_PROG_CC_C_O | AM_PROG_CC_C_O | ||||
@@ -36,6 +36,11 @@ fi | |||||
AM_CONDITIONAL(USE_SLANG, ${USE_SLANG}) | AM_CONDITIONAL(USE_SLANG, ${USE_SLANG}) | ||||
AM_CONDITIONAL(USE_NCURSES, ${USE_NCURSES}) | AM_CONDITIONAL(USE_NCURSES, ${USE_NCURSES}) | ||||
# Optimizations | |||||
CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer" | |||||
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule | |||||
CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs" | |||||
AC_OUTPUT([ | AC_OUTPUT([ | ||||
Makefile | Makefile | ||||
libee/Makefile | libee/Makefile | ||||
@@ -2,11 +2,6 @@ | |||||
# Automake targets and declarations for libee | # Automake targets and declarations for libee | ||||
############################################################################### | ############################################################################### | ||||
AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer | |||||
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule | |||||
AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs | |||||
lib_LIBRARIES = libee.a | lib_LIBRARIES = libee.a | ||||
libee_a_SOURCES = \ | libee_a_SOURCES = \ | ||||
ee.c \ | ee.c \ | ||||
@@ -2,11 +2,6 @@ | |||||
# Automake targets and declarations for ttyvaders | # Automake targets and declarations for ttyvaders | ||||
############################################################################### | ############################################################################### | ||||
AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer | |||||
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule | |||||
AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs | |||||
if USE_SLANG | if USE_SLANG | ||||
LDFLAGS_slang = -lslang | LDFLAGS_slang = -lslang | ||||
endif | endif | ||||
@@ -2,11 +2,6 @@ | |||||
# Automake targets and declarations for libee tests | # Automake targets and declarations for libee tests | ||||
############################################################################### | ############################################################################### | ||||
AM_CFLAGS = -g -O2 -fno-strength-reduce -fomit-frame-pointer | |||||
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule | |||||
AM_CFLAGS += -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs | |||||
if USE_SLANG | if USE_SLANG | ||||
LDFLAGS_slang = -lslang | LDFLAGS_slang = -lslang | ||||
endif | endif | ||||