comparison configure.in @ 107575:dbd787c249c5

Remove all uses of C_DEBUG_SWITCH and LIBS_DEBUG. * s/usg5-4.h (LIBS_DEBUG): * s/irix6-5.h (C_DEBUG_SWITCH): * s/gnu-linux.h (LIBS_DEBUG): * s/darwin.h (LIBS_DEBUG): * s/bsd-common.h (LIBS_DEBUG): * s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH): * m/iris4d.h (LIBS_DEBUG): * m/hp800.h (LIBS_DEBUG): Remove definitions. * Makefile.in (LIBES): Remove reference to LIBS_DEBUG. (LIBS_DEBUG): Remove definition. * configure.in: Remove all references to C_DEBUG_SWITCH.
author Dan Nicolaescu <dann@ics.uci.edu>
date Mon, 29 Mar 2010 19:47:23 -0700
parents a83a89ef11ef
children 1f5000fd5ff7 28a8c62b8ee7
comparison
equal deleted inserted replaced
107574:2628198e4d2a 107575:dbd787c249c5
886 configure___ use_mmap_for_buffers=yes 886 configure___ use_mmap_for_buffers=yes
887 #else 887 #else
888 configure___ use_mmap_for_buffers=no 888 configure___ use_mmap_for_buffers=no
889 #endif 889 #endif
890 890
891 #ifndef C_DEBUG_SWITCH
892 #define C_DEBUG_SWITCH -g
893 #endif
894
895 #ifndef C_OPTIMIZE_SWITCH 891 #ifndef C_OPTIMIZE_SWITCH
896 #ifdef __GNUC__ 892 #ifdef __GNUC__
897 #define C_OPTIMIZE_SWITCH -O2 893 #define C_OPTIMIZE_SWITCH -O2
898 #else 894 #else
899 #define C_OPTIMIZE_SWITCH -O 895 #define C_OPTIMIZE_SWITCH -O
921 917
922 #ifdef THIS_IS_CONFIGURE 918 #ifdef THIS_IS_CONFIGURE
923 919
924 /* Get the CFLAGS for tests in configure. */ 920 /* Get the CFLAGS for tests in configure. */
925 #ifdef __GNUC__ 921 #ifdef __GNUC__
926 configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' 922 configure___ CFLAGS=C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}'
927 #else 923 #else
928 configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' 924 configure___ CFLAGS='${SPECIFIED_CFLAGS}'
929 #endif 925 #endif
930 926
931 #else /* not THIS_IS_CONFIGURE */ 927 #else /* not THIS_IS_CONFIGURE */
932 928
933 /* Get the CFLAGS for real compilation. */ 929 /* Get the CFLAGS for real compilation. */
934 #ifdef __GNUC__ 930 #ifdef __GNUC__
935 configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}' 931 configure___ REAL_CFLAGS=C_OPTIMIZE_SWITCH C_WARNINGS_SWITCH ${PROFILING_CFLAGS} '${SPECIFIED_CFLAGS}'
936 #else 932 #else
937 configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' 933 configure___ REAL_CFLAGS='${SPECIFIED_CFLAGS}'
938 #endif 934 #endif
939 935
940 #endif /* not THIS_IS_CONFIGURE */ 936 #endif /* not THIS_IS_CONFIGURE */
941 ' > ${tempcname} 937 ' > ${tempcname}
942 938