1 --- allegro-4.1.12/configure.in.orig 2003-11-11 21:59:10.385928944 +0100
2 +++ allegro-4.1.12/configure.in 2003-11-11 22:02:54.074923048 +0100
5 dnl How to compile C and asm files.
7 - if test "X$allegro_strict_warnings" = "Xyes"; then
8 - WFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused -Werror"
10 - WFLAGS="-Wall -Wno-unused"
12 - if test "X$allegro_cv_processor_type" = "Xi386"; then
13 - if test "$allegro_exclusive_optimizations" != none; then
14 - TARGET_ARCH="-march=$allegro_exclusive_optimizations"
16 - TARGET_ARCH="-mcpu=$allegro_optimizations"
21 - if test "X$allegro_cv_can_use_pipe" = "Xyes"; then
22 - CFLAGS="$CFLAGS -pipe"
24 - dnl Allow to specify additional flags.
25 - CFLAGS="$CFLAGS $XCFLAGS"
26 - WFLAGS="$WFLAGS $WCFLAGS"
27 - dnl In this order...
28 + WFLAGS="-Wall -Wno-unused"
29 ALLEGRO_DEBUG_CFLAGS="$CFLAGS -g $WFLAGS -DDEBUGMODE"
30 if test "X$allegro_debug_with_fortify" = "Xyes"; then
31 ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY"
33 - ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
34 - if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
35 - CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
37 - CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
39 + CFLAGS="$CFLAGS $TARGET_ARCH"
40 + ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
41 ALLEGRO_SFLAGS="-x assembler-with-cpp"
42 ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"