diff options
| author | Russ Allbery <rra@stanford.edu> | 2008-04-24 02:02:49 +0000 | 
|---|---|---|
| committer | Russ Allbery <rra@stanford.edu> | 2008-04-24 02:02:49 +0000 | 
| commit | 92ff7f21ad0b167f8d742a9d7b5f93704a57619c (patch) | |
| tree | 7adae5f227b6463e07d5cd0f1dab82b7f1c6be47 /m4/snprintf.m4 | |
| parent | 34c58f9471b3df4fa8b719b3c3534940ba5cfe1b (diff) | |
Major coding style cleanup.  Updated all shared code from my other
projects.
The configure option requesting AFS kaserver support (and thus
building kasetkey) is now --with-kaserver instead of --with-afs.
If KRB5_CONFIG was explicitly set in the environment, don't use a
different krb5-config based on --with-krb4 or --with-krb5.  If
krb5-config isn't executable, don't use it.  This allows one to
force library probing by setting KRB5_CONFIG to point to a
nonexistent file.
Sanity-check the results of krb5-config before proceeding and error
out in configure if they don't work.
Stop setting Stanford-specific compile-time defaults for the wallet
server and port.
Diffstat (limited to 'm4/snprintf.m4')
| -rw-r--r-- | m4/snprintf.m4 | 12 | 
1 files changed, 5 insertions, 7 deletions
| diff --git a/m4/snprintf.m4 b/m4/snprintf.m4 index 335a937..8ab3689 100644 --- a/m4/snprintf.m4 +++ b/m4/snprintf.m4 @@ -11,7 +11,7 @@ dnl Provides RRA_FUNC_SNPRINTF, which adds snprintf.o to LIBOBJS unless a  dnl fully working snprintf is found.  dnl  dnl Written by Russ Allbery <rra@stanford.edu> -dnl Copyright 2006 Board of Trustees, Leland Stanford Jr. University +dnl Copyright 2006, 2008 Board of Trustees, Leland Stanford Jr. University  dnl See LICENSE for licensing terms.  dnl Source used by RRA_FUNC_SNPRINTF. @@ -47,9 +47,7 @@ AC_DEFUN([RRA_FUNC_SNPRINTF],          [rra_cv_func_snprintf_works=yes],          [rra_cv_func_snprintf_works=no],          [rra_cv_func_snprintf_works=no])]) -if test "$rra_cv_func_snprintf_works" = yes ; then -    AC_DEFINE([HAVE_SNPRINTF], 1, -        [Define if your system has a working snprintf function.]) -else -    AC_LIBOBJ([snprintf]) -fi]) +AS_IF([test "$rra_cv_func_snprintf_works" = yes], +    [AC_DEFINE([HAVE_SNPRINTF], 1, +        [Define if your system has a working snprintf function.])], +    [AC_LIBOBJ([snprintf])])]) | 
