Changeset 130633c for configure.ac
- Timestamp:
- Jul 17, 2009, 9:46:45 PM (15 years ago)
- Branches:
- master, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 2f2a643, f9c93cd
- Parents:
- a52d13a (diff), c08a725 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r4097723 r130633c 1 1 dnl $Id$ 2 2 dnl Process this file with autoconf to produce a configure script. 3 AC_INIT(owl.c) 3 AC_INIT([BarnOwl],[1.3],[bug-barnowl@mit.edu]) 4 AM_INIT_AUTOMAKE([-Wall foreign]) 4 5 5 AC_CONFIG_HEADER( config.h)6 AC_CONFIG_HEADER([config.h]) 6 7 7 8 AC_PROG_CC 8 9 dnl If we're using GCC, enable all warnings10 if test "$GCC" = yes; then11 CFLAGS="$CFLAGS -Wall -g";12 fi13 9 14 10 dnl Check for Athena … … 97 93 ])]) 98 94 99 AC_ARG_ENABLE([athstatic], AS_HELP_STRING([--enable-athstatic],100 [Statically link libraries in /usr/athena/lib]),101 [ATHSTATIC=./athstatic],102 [ATHSTATIC=])103 104 95 AC_CHECK_FUNCS(use_default_colors resizeterm des_string_to_key des_key_sched des_ecb_encrypt) 105 96 AC_CHECK_FUNCS( DES_string_to_key DES_ecb_encrypt DES_key_sched) … … 143 134 dnl Add LDFLAGS for embedded perl 144 135 FOO=`perl -MExtUtils::Embed -e ldopts` 145 AC_MSG_NOTICE([Adding perl L DFLAGS ${FOO}])146 L DFLAGS=${LDFLAGS}\ ${FOO}136 AC_MSG_NOTICE([Adding perl LIBS ${FOO}]) 137 LIBS=${LIBS}\ ${FOO} 147 138 148 139 dnl Add CFLAGS and LDFLAGS for glib-2.0 … … 154 145 LDFLAGS="${GLIB_LIBS} ${LDFLAGS}" 155 146 147 if test "x${prefix}" = "xNONE"; then 148 prefix="${ac_default_prefix}" 149 fi 150 151 AC_DEFINE_UNQUOTED([DATADIR],["${prefix}/share/${PACKAGE}"], 152 [Package data directory]) 153 156 154 dnl Checks for typedefs, structures, and compiler characteristics. 157 158 dnl Support --program-{prefix,suffix,transform}159 AC_ARG_PROGRAM160 155 161 156 AC_SUBST(XSUBPPDIR) 162 157 AC_SUBST(XSUBPPFLAGS) 163 AC_SUBST(ATHSTATIC)164 158 165 159 AC_PROG_INSTALL 160 AC_PROG_RANLIB 166 161 167 AC_CONFIG_SUBDIRS(libfaim) 168 169 AC_OUTPUT(Makefile) 162 AC_CONFIG_FILES([Makefile libfaim/Makefile]) 163 AC_OUTPUT([perl/modules/Makefile])
Note: See TracChangeset
for help on using the changeset viewer.