Macros by Category Revision History
Search:

ac_prompt_user

SYNOPSIS

AC_PROMPT_USER(VARIABLENAME,QUESTION,[DEFAULT])

DESCRIPTION

Asks a QUESTION and puts the results in VARIABLENAME with an optional DEFAULT value if the user merely hits return. Also calls AC_DEFINE_UNQUOTED() on the VARIABLENAME for VARIABLENAMEs that should be entered into the config.h file as well.

SOURCE CODE

http://autoconf-archive.cryp.to/ac_prompt_user.m4

LICENSE

Copyright © 2008 Wes Hardaker <wjhardaker@ucdavis.edu>

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.