Changeset 80d7b44 for configure.ac


Ignore:
Timestamp:
Jun 20, 2013, 6:22:52 AM (8 years ago)
Author:
Alex Dehnert <adehnert@mit.edu>
Branches:
master
Children:
10c32c9, 36c89aa, 553fd38, 2b4122c, 6f3d6b4
Parents:
41779bf
git-author:
Alex Dehnert <adehnert@mit.edu> (05/29/13 01:42:24)
git-committer:
Alex Dehnert <adehnert@mit.edu> (06/20/13 06:22:52)
Message:
Update and make configurable the default format

- Rather than http://zephyr.1ts.org/wiki/df, use http://mit.edu/df, which is
  shorter
- Rather than a bare URL, prefix "Config error: see " to make it clearer what
  is going on
- Make the default format configurable using ./configure, to aid users with
  particularly severe length constraints
File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r0625919 r80d7b44  
    1010AC_PROG_CC
    1111AC_PROG_CC_C99
     12
     13AC_ARG_WITH([zephyr-default-format],
     14    [AS_HELP_STRING([--with-zephyr-default-format],
     15                    [value for the default format zephyrgram field])],
     16    [
     17        case $withval in
     18            yes) withval='Config error: see http://mit.edu/df';;
     19            no) withval='';;
     20        esac
     21        zephyr_default_format=$withval
     22    ],
     23    [zephyr_default_format='Config error: see http://mit.edu/df'])
     24AC_DEFINE_UNQUOTED(
     25    [ZEPHYR_DEFAULT_FORMAT], ["$zephyr_default_format"],
     26    [Value for the default format zephyrgram field]
     27)
    1228
    1329AC_ARG_WITH([stack-protector],
Note: See TracChangeset for help on using the changeset viewer.