Ignore:
Timestamp:
2004-08-26T05:55:40+12:00 (20 years ago)
Author:
kjdon
Message:

added in some new library checks to match the things that were added to config.h.in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/indexers/mgpp/configure.in

    r7882 r8059  
    5252
    5353dnl Checks for libraries.
     54dnl Replace `main' with a function in -lg:
     55AC_CHECK_LIB(g, main)
    5456dnl Replace `main' with a function in -lm:
    5557AC_CHECK_LIB(m, main)
     58dnl Replace `main' with a function in -lstdc++:
     59AC_CHECK_LIB(stdc++, main)
     60dnl Replace `main' with a function in -lcrypt:
     61AC_CHECK_LIB(crypt, main)
    5662
    5763dnl Checks for header files.
    5864AC_HEADER_DIRENT
    5965AC_HEADER_STDC
    60 AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h string.h memory.h sys/procfs.h)
     66AC_CHECK_HEADERS(fcntl.h limits.h sys/time.h unistd.h crypt.h string.h memory.h sys/procfs.h)
    6167AC_EGREP_HEADER(fread, stdio.h, AC_DEFINE(HAVE_FREAD_DECL))
    6268AC_EGREP_HEADER(fgetc, stdio.h, AC_DEFINE(HAVE_FGETC_DECL))
     
    7177AC_REPLACE_FUNCS(ftruncate strstr strcasecmp)
    7278
     79
     80dnl see if gettext is in libc. (try the textdomain() function).
     81AC_CHECK_FUNC( textdomain , AC_DEFINE(ENABLE_NLS ,1) )
    7382
    7483# *** Custom checking (based on GNU tar configure.in) ***
Note: See TracChangeset for help on using the changeset viewer.