Changeset f329034d6271b357923b38673256b75908e56f7b

Show
Ignore:
Timestamp:
02/07/08 03:35:48 (6 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1202355348 +0000
git-parent:

[5b6ccbe33a8c64fc04d428ee186befdbf4e5a378]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1202355348 +0000
Message:

some extra autoconf wizardry for libedit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • configure.in

    rbafab25 rf329034  
    7474AC_MSG_RESULT([$SERFLIBS]) 
    7575 
     76AC_TRY_LINK([], 
     77        [ issetugid(); ], 
     78        [ ac_cv_libc_defines_issetugid="yes" ], 
     79        [ ac_cv_libc_defines_issetugid="no" ] 
     80) 
     81if test "x$ac_cv_libc_defines_issetugid" = "xyes" ; then 
     82        AC_DEFINE(HAVE_ISSETUGID) 
     83fi 
     84 
    7685AC_MSG_CHECKING([whether sem_init works]) 
    7786AC_TRY_RUN( 
     
    9099AC_CHECK_LIB(rt, sem_init, , ) 
    91100AC_FUNC_STRFTIME 
     101AC_CHECK_FUNC(ssetugid strlcpy) 
    92102 
    93103# Checks for header files. 
  • src/noit_config.h.in

    rbafab25 rf329034  
    4242 
    4343#undef HAVE_FCNTL_H 
     44#undef HAVE_UNISTD_H 
    4445#undef HAVE_SYS_TYPES_H 
    4546#undef HAVE_TERM_H 
     
    8687#endif 
    8788 
     89#undef HAVE_ISSETUGID 
     90#undef HAVE_STRLCPY 
     91 
    8892/* Kernel kqueue() support */ 
    8993#undef HAVE_KQUEUE