Displaying 2 results from an estimated 2 matches for "ac_func_smmap".
Did you mean:
a_func_smmap
2001 Mar 17
1
ogg123: shared memory by mmap()
...1
+++ acinclude.m4 Sat Mar 17 17:39:58 2001
@@ -300,3 +300,65 @@
AC_SUBST(AO_LIBS)
rm -f conf.aotest
])
+
+dnl Shamelessly stolen from Joerg Schilling's star.
+dnl Copyright 1998 J. Schilling
+
+dnl Checks if mmap() works to get shared memory
+dnl Defines HAVE_SMMAP on success.
+AC_DEFUN(AC_FUNC_SMMAP,
+[AC_CACHE_CHECK([if mmap works to get shared memory], ac_cv_func_smmap,
+ [AC_TRY_RUN([
+#include <sys/types.h>
+#include <sys/mman.h>
+
+char *
+mkshare()
+{
+ int size = 8192;
+ int f;
+ char *addr;
+
+ if ((f = open("/dev/z...
2001 Sep 30
3
UTF-8 stuff
...you have <langinfo.h> and nl_langinfo(CODESET).])
+ fi
+])
diff -ru xiph.orig/vorbis-tools/configure.in xiph/vorbis-tools/configure.in
--- xiph.orig/vorbis-tools/configure.in Mon Sep 24 23:42:12 2001
+++ xiph/vorbis-tools/configure.in Sun Sep 30 19:14:19 2001
@@ -111,6 +111,7 @@
AM_ICONV
AC_FUNC_SMMAP
+AM_LANGINFO_CODESET
dnl --------------------------------------------------
dnl Work around FHS stupidity
diff -ru xiph.orig/vorbis-tools/include/utf8.h xiph/vorbis-tools/include/utf8.h
--- xiph.orig/vorbis-tools/include/utf8.h Sat Sep 22 23:49:49 2001
+++ xiph/vorbis-tools/include/utf8.h Sun S...