~ubuntu-branches/debian/stretch/alpine/stretch

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Bazaar Package Importer
  • Author(s): Asheesh Laroia
  • Date: 2008-09-23 12:17:56 UTC
  • mfrom: (2.1.8 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080923121756-6u4x8bwq89qlzt32
Tags: 2.00+dfsg-2
Update to package description: note that Alpine is no longer in
alpha. (Closes: #499640)

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
 
15
15
AC_PREREQ([2.57])
16
16
 
17
 
AC_REVISION([$Id: configure.ac 961 2008-03-14 18:15:38Z mikes@u.washington.edu $])
 
17
AC_REVISION([$Id: configure.ac 1128 2008-08-08 17:11:31Z hubert@u.washington.edu $])
18
18
 
19
19
dnl Alpine Version Number is in $srcdir/VERSION
20
20
AC_INIT(alpine, m4_normalize(m4_include([VERSION])), [alpine-contact@u.washington.edu])
540
540
PINEVAR(default-local-address, DF_LOCAL_ADDRESS, [postmaster], [Default local support address])
541
541
PINEVAR(default-keyboard-lock-count, DF_KBLOCK_PASSWD_COUNT, [1], [Default keyboard lock count])
542
542
PINEVAR(default-remote-addressbook-history, DF_REMOTE_ABOOK_HISTORY, [3], [Default address book history count])
 
543
PINEVAR(smime-public-cert-directory, DF_PUBLICCERT_DIR, [.alpine-smime/public], [Default Public Cert Directory])
 
544
PINEVAR(smime-private-key-directory, DF_PRIVATEKEY_DIR, [.alpine-smime/private], [Default Private Key Directory])
 
545
PINEVAR(smime-cacert-directory, DF_CACERT_DIR, [.alpine-smime/ca], [Default Cert Authority Directory])
543
546
PINEVAR_UNQUOTED(default-printer, DF_DEFAULT_PRINTER, [ANSI_PRINTER], [Default printer])
544
547
 
545
548
dnl set PASSFILE?
594
597
else
595
598
  dnl preload c-client default locations/options
596
599
  case $host in
597
 
    *-linux-gnu*)
 
600
    *-linux-gnu)
598
601
      if test -f /etc/fedora-release -o -f /etc/redhat-release -o -f /etc/redhat_version ; then  
599
602
        alpine_SSLTYPE="nopwd"
600
603
        if test -d /etc/pki/tls ; then  
766
769
    ])
767
770
fi
768
771
 
 
772
dnl Include SMIME?
 
773
AC_ARG_WITH(smime,
 
774
  AC_HELP_STRING([--without-smime],[Disable S/MIME]),
 
775
  [ with_smime=$withval ])
 
776
 
769
777
dnl Include TCL?
770
778
AC_ARG_WITH(tcl,
771
779
  AC_HELP_STRING([--without-tcl],[Disable TCL, thus Web Alpine support]),
1263
1271
dnl build from c-client.  Most of this will go away when c-client
1264
1272
dnl adopts configure
1265
1273
case "$host" in
1266
 
  *-linux-gnu*)
 
1274
  *-linux-gnu*|*-k*bsd*-gnu*)
1267
1275
    alpine_path_delim="/"
1268
1276
    alpine_mode_readonly="(0600)"
1269
1277
    if test -f /etc/fedora-release ; then  
1484
1492
    AC_MSG_NOTICE([SSL Problem: certificate directory not found])
1485
1493
  fi
1486
1494
 
 
1495
  if test "x$with_smime" != "xno" ; then
 
1496
    if test -n "$certdir" ; then
 
1497
      AC_DEFINE([SMIME], [], [Enable S/MIME code])
 
1498
      AC_DEFINE_UNQUOTED([SMIME_SSLCERTS],"$certdir",[Directory where S/MIME CACerts are located])
 
1499
    fi
 
1500
  fi
 
1501
 
1487
1502
  if test ! -f ${certdir}/factory.pem ; then
1488
1503
    AC_MSG_NOTICE([* * * SSL file "${certdir}/factory.pem" is missing.])
1489
1504
    AC_MSG_NOTICE([* * *   This might indicate that CA certs did not get properly])