1 diff -urN aa/allegro-4.1.14/configure.in allegro-4.1.14/configure.in
2 --- aa/allegro-4.1.14/configure.in 2004-04-27 13:53:02.000000000 +0200
3 +++ allegro-4.1.14/configure.in 2004-05-23 21:18:36.478313632 +0200
6 dnl How to compile C and asm files.
8 - if test "X$allegro_strict_warnings" = "Xyes"; then
9 - WFLAGS="-Wall -W -Wstrict-prototypes -Wno-unused -Werror"
11 - WFLAGS="-Wall -Wno-unused"
13 - if test "X$allegro_cv_processor_type" = "Xi386"; then
14 - if test "$allegro_exclusive_optimizations" != none; then
15 - TARGET_ARCH="-march=$allegro_exclusive_optimizations"
16 - elif test "X$allegro_cv_support_i386_mtune" = "Xyes"; then
17 - TARGET_ARCH="-mtune=$allegro_optimizations"
19 - TARGET_ARCH="-mcpu=$allegro_optimizations"
24 - if test "X$allegro_cv_can_use_pipe" = "Xyes"; then
25 - CFLAGS="$CFLAGS -pipe"
27 - dnl Allow to specify additional flags.
28 - CFLAGS="$CFLAGS $XCFLAGS"
29 - WFLAGS="$WFLAGS $WCFLAGS"
30 - dnl In this order...
31 + WFLAGS="-Wall -Wno-unused"
32 ALLEGRO_DEBUG_CFLAGS="$CFLAGS -g $WFLAGS -DDEBUGMODE"
33 if test "X$allegro_debug_with_fortify" = "Xyes"; then
34 ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DFORTIFY"
36 if test "X$allegro_debug_with_dmalloc" = "Xyes"; then
37 ALLEGRO_DEBUG_CFLAGS="$ALLEGRO_DEBUG_CFLAGS -DDMALLOC"
39 - ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
40 - if test "X$allegro_cv_support_fomit_frame_pointer" = "Xyes"; then
41 - CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math -fomit-frame-pointer $WFLAGS"
43 - CFLAGS="$CFLAGS $TARGET_ARCH -O2 -funroll-loops -ffast-math $WFLAGS"
45 + CFLAGS="$CFLAGS $TARGET_ARCH"
46 + ALLEGRO_PROFILE_CFLAGS="$CFLAGS -pg $WFLAGS"
47 ALLEGRO_SFLAGS="-x assembler-with-cpp"
48 ALLEGRO_SHAREDLIB_CFLAGS="-fPIC -DALLEGRO_SHARED"