Changeset f329034d6271b357923b38673256b75908e56f7b
- Timestamp:
- 02/07/08 03:35:48
(5 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
| rbafab25 |
rf329034 |
|
| 74 | 74 | AC_MSG_RESULT([$SERFLIBS]) |
|---|
| 75 | 75 | |
|---|
| | 76 | AC_TRY_LINK([], |
|---|
| | 77 | [ issetugid(); ], |
|---|
| | 78 | [ ac_cv_libc_defines_issetugid="yes" ], |
|---|
| | 79 | [ ac_cv_libc_defines_issetugid="no" ] |
|---|
| | 80 | ) |
|---|
| | 81 | if test "x$ac_cv_libc_defines_issetugid" = "xyes" ; then |
|---|
| | 82 | AC_DEFINE(HAVE_ISSETUGID) |
|---|
| | 83 | fi |
|---|
| | 84 | |
|---|
| 76 | 85 | AC_MSG_CHECKING([whether sem_init works]) |
|---|
| 77 | 86 | AC_TRY_RUN( |
|---|
| … | … | |
| 90 | 99 | AC_CHECK_LIB(rt, sem_init, , ) |
|---|
| 91 | 100 | AC_FUNC_STRFTIME |
|---|
| | 101 | AC_CHECK_FUNC(ssetugid strlcpy) |
|---|
| 92 | 102 | |
|---|
| 93 | 103 | # Checks for header files. |
|---|
| rbafab25 |
rf329034 |
|
| 42 | 42 | |
|---|
| 43 | 43 | #undef HAVE_FCNTL_H |
|---|
| | 44 | #undef HAVE_UNISTD_H |
|---|
| 44 | 45 | #undef HAVE_SYS_TYPES_H |
|---|
| 45 | 46 | #undef HAVE_TERM_H |
|---|
| … | … | |
| 86 | 87 | #endif |
|---|
| 87 | 88 | |
|---|
| | 89 | #undef HAVE_ISSETUGID |
|---|
| | 90 | #undef HAVE_STRLCPY |
|---|
| | 91 | |
|---|
| 88 | 92 | /* Kernel kqueue() support */ |
|---|
| 89 | 93 | #undef HAVE_KQUEUE |
|---|