浏览代码

* configure.ac:

+ Moved optimization flags and warning triggers here.
    + Updated the snapshot timestamp.
tags/v0.99.beta14
Sam Hocevar sam 21 年前
父节点
当前提交
7ede4ebb4f
共有 4 个文件被更改,包括 7 次插入17 次删除
  1. +7
    -2
      configure.ac
  2. +0
    -5
      libee/Makefile.am
  3. +0
    -5
      src/Makefile.am
  4. +0
    -5
      test/Makefile.am

+ 7
- 2
configure.ac 查看文件

@@ -1,13 +1,13 @@
# $Id$

AC_INIT(ttyvaders,0.0cvs-20021223)
AC_INIT(ttyvaders,0.0cvs-20031110)

AC_PREREQ(2.50)
AC_CONFIG_SRCDIR(src/main.c)
AC_CONFIG_AUX_DIR(autotools)
AC_CANONICAL_SYSTEM

AM_INIT_AUTOMAKE(ttyvaders,0.0cvs-20021223)
AM_INIT_AUTOMAKE(ttyvaders,0.0cvs-20031110)
AM_CONFIG_HEADER(config.h)

AM_PROG_CC_C_O
@@ -36,6 +36,11 @@ fi
AM_CONDITIONAL(USE_SLANG, ${USE_SLANG})
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([
Makefile
libee/Makefile


+ 0
- 5
libee/Makefile.am 查看文件

@@ -2,11 +2,6 @@
# 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
libee_a_SOURCES = \
ee.c \


+ 0
- 5
src/Makefile.am 查看文件

@@ -2,11 +2,6 @@
# 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
LDFLAGS_slang = -lslang
endif


+ 0
- 5
test/Makefile.am 查看文件

@@ -2,11 +2,6 @@
# 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
LDFLAGS_slang = -lslang
endif


正在加载...
取消
保存