Changeset ce35060
- Timestamp:
- Nov 6, 2010, 6:34:03 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- 9fc473a
- Parents:
- 6ad7bed
- git-author:
- Anders Kaseorg <andersk@mit.edu> (08/09/10 01:49:07)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (11/06/10 18:34:03)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.am
r12a6616 rce35060 1 1 ACLOCAL_AMFLAGS = -I m4 2 CFLAGS += $(EXTRA_CFLAGS)3 2 4 3 GIT_DESCRIPTION := $(if $(wildcard .git),$(shell git describe --match='barnowl-*' HEAD 2>/dev/null)) … … 33 32 TESTS=runtests.sh 34 33 35 CPPFLAGS = -I$(top_srcdir)/ \34 AM_CPPFLAGS = -I$(top_srcdir)/ \ 36 35 -I$(top_srcdir)/libfaim/ \ 37 36 -DDATADIR='"$(pkgdatadir)"' \ … … 77 76 # For emacs flymake-mode 78 77 check-syntax: proto 79 $(C C) $(CFLAGS) -Wall -Wextra -pedantic -fsyntax-only $(CHK_SOURCES)78 $(COMPILE) -Wall -Wextra -pedantic -fsyntax-only $(CHK_SOURCES) 80 79 81 80 install-data-local: -
configure.ac
r12a6616 rce35060 17 17 AS_IF([test "x$with_stack_protector" != xno], 18 18 [AX_C_CHECK_FLAG([-fstack-protector],[],[], 19 [ CFLAGS="$CFLAGS -fstack-protector"],19 [AM_CFLAGS="$AM_CFLAGS -fstack-protector"], 20 20 [if test "x$with_stack_protector" != xcheck; then 21 21 AC_MSG_FAILURE([--with-stack-protector selected, but gcc does support it.]) … … 45 45 [AC_MSG_RESULT([yes]) 46 46 AC_DEFINE([HAVE_KERBEROS_IV], [1], [Define if you have kerberos IV]) 47 CFLAGS="${CFLAGS} `krb5-config krb4 --cflags`"47 AM_CFLAGS="${AM_CFLAGS} `krb5-config krb4 --cflags`" 48 48 LIBS="${LIBS} `krb5-config krb4 --libs`" 49 49 ], … … 52 52 [AC_MSG_ERROR([Kerberos IV requested but not found])]) 53 53 PKG_CHECK_MODULES([LIBCRYPTO], [libcrypto]) 54 CFLAGS="${CFLAGS} ${LIBCRYPTO_CFLAGS}"54 AM_CFLAGS="${AM_CFLAGS} ${LIBCRYPTO_CFLAGS}" 55 55 LIBS="${LIBS} ${LIBCRYPTO_LIBS}" 56 56 ])]) … … 86 86 PERL_CFLAGS=`perl -MExtUtils::Embed -e ccopts` 87 87 AC_MSG_NOTICE([Adding perl CFLAGS ${PERL_CFLAGS}]) 88 CFLAGS="${CFLAGS} ${PERL_CFLAGS}"88 AM_CFLAGS="${AM_CFLAGS} ${PERL_CFLAGS}" 89 89 90 90 dnl Find the location of perl XSUBPP … … 118 118 119 119 AC_MSG_NOTICE([Adding glib-2.0 CFLAGS ${GLIB_CFLAGS}]) 120 CFLAGS="${GLIB_CFLAGS} ${CFLAGS}"120 AM_CFLAGS="${GLIB_CFLAGS} ${AM_CFLAGS}" 121 121 AC_MSG_NOTICE([Adding glib-2.0 LDFLAGS ${GLIB_LIBS}]) 122 LDFLAGS="${GLIB_LIBS} ${LDFLAGS}"122 AM_LDFLAGS="${GLIB_LIBS} ${AM_LDFLAGS}" 123 123 124 124 if test "x${prefix}" = "xNONE"; then … … 128 128 dnl Checks for typedefs, structures, and compiler characteristics. 129 129 130 AX_CFLAGS_WARN_ALL 131 AX_CFLAGS_STRICT_PROTOTYPES 130 AX_CFLAGS_WARN_ALL([AM_CFLAGS]) 131 AX_CFLAGS_STRICT_PROTOTYPES([AM_CFLAGS]) 132 132 133 133 AX_C_CHECK_FLAG([-Wno-pointer-sign],[],[], … … 138 138 test "$HAVE_DES_ECB_ENCRYPT"]) 139 139 140 CFLAGS="$CFLAGS -D_XOPEN_SOURCE"140 AM_CFLAGS="$AM_CFLAGS -D_XOPEN_SOURCE" 141 141 dnl __EXTENSIONS__ is needed for struct timeval on Solaris when 142 142 dnl _XOPEN_SOURCE is defined. 143 CFLAGS="$CFLAGS -D__EXTENSIONS__"143 AM_CFLAGS="$AM_CFLAGS -D__EXTENSIONS__" 144 144 145 AC_SUBST([AM_CFLAGS]) 146 AC_SUBST([AM_LDFLAGS]) 145 147 AC_SUBST([LIBFAIM_CFLAGS]) 146 148
Note: See TracChangeset
for help on using the changeset viewer.