aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2003-07-14 02:21:29 +0000
committerStefan Monnier2003-07-14 02:21:29 +0000
commit28127e4724fd089cc6dcb755c3598a72ae95a3d6 (patch)
tree194c987dac8c1a49e744a852b4e0649820cbd58a
parent0c8b2afa5b1d6b5b3fedde4e7c100961cc714921 (diff)
downloademacs-28127e4724fd089cc6dcb755c3598a72ae95a3d6.tar.gz
emacs-28127e4724fd089cc6dcb755c3598a72ae95a3d6.zip
Check for posix_memalign.
-rwxr-xr-xconfigure12
-rw-r--r--configure.in2
2 files changed, 10 insertions, 4 deletions
diff --git a/configure b/configure
index 19cd5774fa7..7bc83b969f0 100755
--- a/configure
+++ b/configure
@@ -1662,6 +1662,10 @@ case "${canonical}" in
1662 ## NetBSD ports 1662 ## NetBSD ports
1663 *-*-netbsd* ) 1663 *-*-netbsd* )
1664 opsys=netbsd 1664 opsys=netbsd
1665 if test -f /usr/lib/crti.o; then
1666 AC_DEFINE(HAVE_CRTIN)
1667 fi
1668
1665 case "${canonical}" in 1669 case "${canonical}" in
1666 alpha*-*-netbsd*) machine=alpha ;; 1670 alpha*-*-netbsd*) machine=alpha ;;
1667 i[3456]86-*-netbsd*) machine=intel386 ;; 1671 i[3456]86-*-netbsd*) machine=intel386 ;;
@@ -3396,7 +3400,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3396 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3397 (exit $ac_status); }; }; then 3401 (exit $ac_status); }; }; then
3398 for ac_declaration in \ 3402 for ac_declaration in \
3399 '' \ 3403 ''\
3404 '#include <stdlib.h>' \
3400 'extern "C" void std::exit (int) throw (); using std::exit;' \ 3405 'extern "C" void std::exit (int) throw (); using std::exit;' \
3401 'extern "C" void std::exit (int); using std::exit;' \ 3406 'extern "C" void std::exit (int); using std::exit;' \
3402 'extern "C" void exit (int) throw ();' \ 3407 'extern "C" void exit (int) throw ();' \
@@ -3410,8 +3415,8 @@ _ACEOF
3410cat confdefs.h >>conftest.$ac_ext 3415cat confdefs.h >>conftest.$ac_ext
3411cat >>conftest.$ac_ext <<_ACEOF 3416cat >>conftest.$ac_ext <<_ACEOF
3412/* end confdefs.h. */ 3417/* end confdefs.h. */
3413$ac_declaration
3414#include <stdlib.h> 3418#include <stdlib.h>
3419$ac_declaration
3415int 3420int
3416main () 3421main ()
3417{ 3422{
@@ -11341,6 +11346,7 @@ done
11341 11346
11342 11347
11343 11348
11349
11344for ac_func in gethostname getdomainname dup2 \ 11350for ac_func in gethostname getdomainname dup2 \
11345rename closedir mkdir rmdir sysinfo \ 11351rename closedir mkdir rmdir sysinfo \
11346random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \ 11352random lrand48 bcopy bcmp logb frexp fmod rint cbrt ftime res_init setsid \
@@ -11349,7 +11355,7 @@ utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
11349__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 11355__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
11350sendto recvfrom getsockopt setsockopt getsockname getpeername \ 11356sendto recvfrom getsockopt setsockopt getsockname getpeername \
11351gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ 11357gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
11352memset memcmp memmove difftime memcpy mempcpy mblen mbrlen 11358memset memcmp memmove difftime memcpy mempcpy mblen mbrlen posix_memalign
11353do 11359do
11354as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 11360as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11355echo "$as_me:$LINENO: checking for $ac_func" >&5 11361echo "$as_me:$LINENO: checking for $ac_func" >&5
diff --git a/configure.in b/configure.in
index 6bc0130055b..769e8e61592 100644
--- a/configure.in
+++ b/configure.in
@@ -2264,7 +2264,7 @@ utimes setrlimit setpgid getcwd getwd shutdown getaddrinfo \
2264__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \ 2264__fpending mblen mbrlen mbsinit strsignal setitimer ualarm index rindex \
2265sendto recvfrom getsockopt setsockopt getsockname getpeername \ 2265sendto recvfrom getsockopt setsockopt getsockname getpeername \
2266gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \ 2266gai_strerror mkstemp getline getdelim mremap memmove fsync bzero \
2267memset memcmp memmove difftime memcpy mempcpy mblen mbrlen) 2267memset memcmp memmove difftime memcpy mempcpy mblen mbrlen posix_memalign)
2268 2268
2269AC_CHECK_HEADERS(sys/un.h) 2269AC_CHECK_HEADERS(sys/un.h)
2270 2270