initial revision
[swftools.git] / configure.in
index 1c31bff..337863f 100644 (file)
@@ -1,6 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
 AC_INIT(src/)
-AC_ARG_PROGRAM
 
 export PACKAGE=swftools
 export VERSION=0.2.0
@@ -41,6 +40,11 @@ dnl Checks for libraries.
  MISSINGLIBS="${MISSINGLIBS} T1lib"
  )
 
+SWF_CHECK_BYTEORDER
+AC_SUBST(WORDS_BIGENDIAN)
+
+AC_ARG_PROGRAM
+
 dnl do we need those?
 dnl AC_CHECK_LIB(pthread, pthread_create)
 dnl AC_CHECK_LIB(X11, XFlush)
@@ -92,7 +96,7 @@ dnl Checks for library functions.
  AC_FUNC_MEMCMP
  AC_FUNC_MMAP
  AC_FUNC_VPRINTF
- AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr)
+ AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr lrand48 rand srand48 srand)
 
 if test "x${UNCOMPRESS}" = "xgzip"; then
     AC_DEFINE_UNQUOTED(USE_GZIP, 1)