Differences From Artifact [36f8180a01]:
- File
configure.ac
— part of check-in
[1d8122fbc9]
at
2013-12-14 03:07:06
on branch trunk
— configure.ac: Fix -Wcast-align check.
There was a warning (resulting in an error) that no root class was
specified, causing the test to fail when it shouldn't, as warnings about
missing root classes were enabled recently. (user: js, size: 23503) [annotate] [blame] [check-ins using]
To Artifact [264690facc]:
- File configure.ac — part of check-in [87b56ba86f] at 2013-12-15 14:35:16 on branch trunk — configure.ac: Move host-specific flags. (user: js, size: 23498) [annotate] [blame] [check-ins using]
1 2 3 | AC_INIT(ObjFW, 0.8-dev, js@webkeks.org) AC_CONFIG_SRCDIR(src) | < < < < < < < < < < < < < < < < < < < | | | | | > | < < < < | | | > > > > > > > | > > > > > > > > > > > > > > > | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | AC_INIT(ObjFW, 0.8-dev, js@webkeks.org) AC_CONFIG_SRCDIR(src) AC_CANONICAL_HOST case "$host" in *-msdosdjgpp*) enable_shared="no" enable_threads="no" enable_sockets="no" ;; *-psp-*) AS_IF([test x"$DEVKITPSP" = x""], [ AC_MSG_ERROR( [DEVKITPSP is not set! Please set DEVKITPSP.]) ]) OBJCFLAGS="$OBJCFLAGS -G0" CPPFLAGS="$CPPFLAGS -I$DEVKITPSP/psp/sdk/include" LDFLAGS="$LDFLAGS -G0" LIBS="$LIBS -L$DEVKITPSP/psp/sdk/lib -lpspdebug -lpspdisplay" LIBS="$LIBS -lpspge -lpspctrl -lpspsdk -lc -lpspnet" LIBS="$LIBS -lpspnet_inet -lpspnet_apctl -lpspnet_resolver" LIBS="$LIBS -lpsputility -lpspuser -lpspkernel" enable_shared="no" enable_threads="no" # TODO enable_sockets="no" # TODO AC_SUBST(MAP_LDFLAGS, ['-Wl,-Map,$@.map']) ;; esac AC_ARG_WITH(wii, AS_HELP_STRING([--with-wii], [build for Wii])) AS_IF([test x"$with_wii" = x"yes"], [ AS_IF([test x"$DEVKITPRO" = x""], [ AC_MSG_ERROR([DEVKITPRO is not set! Please set DEVKITPRO.]) ]) OBJCFLAGS="$OBJCFLAGS -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float" CPPFLAGS="$CPPFLAGS -I$DEVKITPRO/libogc/include" LDFLAGS="$LDFLAGS -mrvl -mcpu=750 -meabi -mhard-float" LIBS="$LIBS -L$DEVKITPRO/libogc/lib/wii -lfat -logc" TESTS_LIBS="$TESTS_LIBS -lwiiuse -lbte" enable_shared="no" enable_threads="no" # TODO AC_SUBST(MAP_LDFLAGS, ['-Wl,-Map,$@.map']) ]) AC_LANG([Objective C]) AC_PROG_OBJC([clang gcc]) AC_PROG_OBJCPP AC_PROG_LN_S AC_PROG_INSTALL AC_PROG_EGREP CPP="$OBJCPP" CPPFLAGS="$CPPFLAGS $OBJCPPFLAGS" OBJCFLAGS="$OBJCFLAGS -Wall -fexceptions -fobjc-exceptions -funwind-tables" OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstantString" AX_CHECK_COMPILER_FLAGS(-std=gnu11, [ OBJCFLAGS="$OBJCFLAGS -std=gnu11" ], [ AX_CHECK_COMPILER_FLAGS(-std=gnu99, [OBJCFLAGS="$OBJCFLAGS -std=gnu99"]) ]) |
︙ | ︙ |