Ignore:
Timestamp:
2004-07-07T15:59:42+12:00 (20 years ago)
Author:
kjdon
Message:

added in descriptions for the AC_DEFINES stuff - this means we can use autoheader to generate config.h.in from configure.ac

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/configure.ac

    r7708 r7714  
    55PACKAGE=gsdl3
    66VERSION=0.1
    7 AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
    8 AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
     7AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", Define to the name of the distribution.)
     8AC_DEFINE_UNQUOTED(VERSION, "$VERSION", Define to the version of the distribution.)
    99AC_SUBST(PACKAGE)
    1010AC_SUBST(VERSION)
    1111
     12AC_DEFINE(PROTOTYPES, "", Define to 1 if ANSI function prototypes are usable.)
    1213
    1314dnl Checks for programs.
     
    7374AC_HEADER_STDC
    7475AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h)
    75 AC_EGREP_HEADER(fread, stdio.h, AC_DEFINE(HAVE_FREAD_DECL))
    76 AC_EGREP_HEADER(fgetc, stdio.h, AC_DEFINE(HAVE_FGETC_DECL))
    77 AC_EGREP_HEADER(pr_brksize, sys/procfs.h, AC_DEFINE(HAVE_PR_BRKSIZE))
     76AC_EGREP_HEADER(fread, stdio.h, AC_DEFINE(HAVE_FREAD_DECL, "", Some braindead header files do not have the requ'd function declarations))
     77AC_EGREP_HEADER(fgetc, stdio.h, AC_DEFINE(HAVE_FGETC_DECL, "", Some braindead header files do not have the requ'd function declarations))
     78AC_EGREP_HEADER(pr_brksize, sys/procfs.h, AC_DEFINE(HAVE_PR_BRKSIZE, "", See if have this field in the prstatus_t structure. It stores the size of the process heap))
    7879
    7980dnl Checks for library functions.
     
    8687
    8788dnl see if gettext is in libc. (try the textdomain() function).
    88 AC_CHECK_FUNC( textdomain , AC_DEFINE(ENABLE_NLS ,1) )
     89
     90AC_CHECK_FUNC( textdomain, AC_DEFINE(ENABLE_NLS,1, Define if you have gettext (eg glibc)) )
    8991
    9092dnl
Note: See TracChangeset for help on using the changeset viewer.