9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
AC_PROG_LN_S
AC_PROG_EGREP
CFLAGS="$CFLAGS -Wall"
OBJCFLAGS="$OBJCFLAGS -Wall -fobjc-exceptions"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstString"
LIBS="$LIBS -lobjc"
AX_CHECK_COMPILER_FLAGS(-pipe, [
CFLAGS="$CFLAGS -pipe"
OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings,
[OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"])
|
>
>
>
>
>
|
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
AC_PROG_LN_S
AC_PROG_EGREP
CFLAGS="$CFLAGS -Wall"
OBJCFLAGS="$OBJCFLAGS -Wall -fobjc-exceptions"
OBJCFLAGS="$OBJCFLAGS -fconstant-string-class=OFConstString"
LIBS="$LIBS -lobjc"
if test x"$GCC" = x"yes"; then
CFLAGS="$CFLAGS -Werror"
OBJCFLAGS="$OBJCFLAGS -Werror"
fi
AX_CHECK_COMPILER_FLAGS(-pipe, [
CFLAGS="$CFLAGS -pipe"
OBJCFLAGS="$OBJCFLAGS -pipe"])
AX_CHECK_COMPILER_FLAGS(-fno-constant-cfstrings,
[OBJCFLAGS="$OBJCFLAGS -fno-constant-cfstrings"])
|