comparison configure.ac @ 47:3907aac7df1c

no longer set CXXFLAGS
author Robert McIntyre <rlm@mit.edu>
date Thu, 21 Mar 2013 19:06:58 +0000
parents 858cb0e04ae5
children 67e88056ad4f
comparison
equal deleted inserted replaced
46:858cb0e04ae5 47:3907aac7df1c
1 AC_PREREQ([2.68]) 1 AC_PREREQ([2.69])
2 2
3 AC_INIT([VisualBoyAdvance], [1.7.2]) 3 AC_INIT([VBA-ReRecording], [1.7.2], [], [vba-rerecording],
4 [http://code.google.com/p/vba-rerecording/])
4 5
5 AC_CONFIG_AUX_DIR([build-aux]) 6 AC_CONFIG_AUX_DIR([build-aux])
6 7
7 AM_INIT_AUTOMAKE([foreign dist-bzip2]) 8 AM_INIT_AUTOMAKE([foreign dist-bzip2])
8 9
9 AC_CONFIG_SRCDIR([src/gb/GB.cpp]) 10 AC_CONFIG_SRCDIR([src/gb/GB.cpp])
10 11
11 AC_CONFIG_HEADERS([config.h]) 12 AC_CONFIG_HEADERS([config.h])
13
14
15 #AC_CANONICAL_TARGET
16
17 dnl AS_CASE([$target],
18 dnl [i?86-*-*], [VBA_USE_C_CORE=no; VBA_USE_MMX=yes]
19 dnl [*] , [VBA_USE_C_CORE=yes; VBA_USE_MMX=no])
12 20
13 # Checks for programs. 21 # Checks for programs.
14 AC_PROG_CXX 22 AC_PROG_CXX
15 AC_PROG_CC 23 AC_PROG_CC
16 AC_PROG_AWK 24 AC_PROG_AWK
79 src/filters/Makefile 87 src/filters/Makefile
80 src/prof/Makefile 88 src/prof/Makefile
81 src/sdl/Makefile]) 89 src/sdl/Makefile])
82 90
83 ### RLM: investigate this further 91 ### RLM: investigate this further
84 CXXFLAGS="$CXXFLAGS -DC_CORE" 92 AC_SUBST([AM_CXXFLAGS], [-DC_CORE])
93 #AC_SUBST([AM_CXXFLAGS], [-fno-exceptions])
94 #CXXFLAGS="$CXXFLAGS -DC_CORE"
95
96 echo "**************************"
97 echo $CXXFLAGS
85 98
86 AC_OUTPUT 99 AC_OUTPUT