cleaned up.
authorkramm <kramm>
Sat, 16 Feb 2002 19:51:44 +0000 (19:51 +0000)
committerkramm <kramm>
Sat, 16 Feb 2002 19:51:44 +0000 (19:51 +0000)
config.h.in
configure.in

index ef46f24..6cb3873 100644 (file)
@@ -4,15 +4,6 @@
 /* Define to empty if the keyword does not work.  */
 #undef const
 
-/* Define if you don't have vprintf but do have _doprnt.  */
-#undef HAVE_DOPRNT
-
-/* Define if you have a working `mmap' system call.  */
-#undef HAVE_MMAP
-
-/* Define if you have the vprintf function.  */
-#undef HAVE_VPRINTF
-
 /* Define as __inline if that's what the C compiler calls it.  */
 #undef inline
 
 /* Define to `unsigned' if <sys/types.h> doesn't define.  */
 #undef size_t
 
-/* Define to 1 if this machine has network byte order*/
-#undef WORDS_BIGENDIAN
-
 /* Define if you have the ANSI C header files.  */
 #undef STDC_HEADERS
 
 /* Define if your <sys/time.h> declares struct tm.  */
 #undef TM_IN_SYS_TIME
 
-/* Define if you have the getcwd function.  */
-#undef HAVE_GETCWD
-
-/* Define if you have the getpagesize function.  */
-#undef HAVE_GETPAGESIZE
-
-/* Define if you have the putenv function.  */
-#undef HAVE_PUTENV
-
-/* Define if you have the socket function.  */
-#undef HAVE_SOCKET
-
-/* Define if you have the strcspn function.  */
-#undef HAVE_STRCSPN
-
-/* Define if you have the strdup function.  */
-#undef HAVE_STRDUP
-
-/* Define if you have the strerror function.  */
-#undef HAVE_STRERROR
-
-/* Define if you have the strstr function.  */
-#undef HAVE_STRSTR
-
 /* Define if you have the lrand48 function.  */
 #undef HAVE_LRAND48
 
-/* Define if you have the lrand48 function.  */
+/* Define if you have the mkstemp function.  */
+#undef HAVE_MKSTEMP
+
+/* Define if you have the popen function.  */
+#undef HAVE_POPEN
+
+/* Define if you have the rand function.  */
 #undef HAVE_RAND
 
-/* Define if you have the lrand48 function.  */
+/* Define if you have the srand function.  */
+#undef HAVE_SRAND
+
+/* Define if you have the srand48 function.  */
 #undef HAVE_SRAND48
 
-/* Define if you have the lrand48 function.  */
-#undef HAVE_SRAND
+/* Define if you have the stat function.  */
+#undef HAVE_STAT
 
 /* Define if you have the <dirent.h> header file.  */
 #undef HAVE_DIRENT_H
 
-/* Define if you have the <fcntl.h> header file.  */
-#undef HAVE_FCNTL_H
-
 /* Define if you have the <jpeglib.h> header file.  */
 #undef HAVE_JPEGLIB_H
 
-/* Define if you have the <limits.h> header file.  */
-#undef HAVE_LIMITS_H
-
-/* Define if you have the <malloc.h> header file.  */
-#undef HAVE_MALLOC_H
-
-/* Define if you have the <math.h> header file.  */
-#undef HAVE_MATH_H
-
-/* Define if you have the <memory.h> header file.  */
-#undef HAVE_MEMORY_H
-
 /* Define if you have the <ndir.h> header file.  */
 #undef HAVE_NDIR_H
 
 /* Define if you have the <t1lib.h> header file.  */
 #undef HAVE_T1LIB_H
 
-/* Define if you have the <unistd.h> header file.  */
-#undef HAVE_UNISTD_H
-
 /* Define if you have the <zlib.h> header file.  */
 #undef HAVE_ZLIB_H
 
-/* Define if you have the X11 library (-lX11).  */
-#undef HAVE_LIBX11
-
 /* Define if you have the jpeg library (-ljpeg).  */
 #undef HAVE_LIBJPEG
 
 /* Define if you have the m library (-lm).  */
 #undef HAVE_LIBM
 
-/* Define if you have the pthread library (-lpthread).  */
-#undef HAVE_LIBPTHREAD
-
 /* Define if you have the t1 library (-lt1).  */
 #undef HAVE_LIBT1
 
 /* system() can handle command substitution */
 #undef SYSTEM_BACKTICKS
 
+/* Define to 1 if this machine has network byte order*/
+#undef WORDS_BIGENDIAN
+
 #endif
index a053999..26a2d08 100644 (file)
@@ -3,8 +3,8 @@ AC_INIT(src/)
 
 PACKAGE=swftools
 VERSION=0.2.2
-CFLAGS="-O2 -fomit-frame-pointer"
-CXXFLAGS="-O2 -fomit-frame-pointer"
+CFLAGS="-Wimplicit -Wreturn-type -O2 -fomit-frame-pointer"
+CXXFLAGS="-Wimplicit -Wreturn-type -O2 -fomit-frame-pointer"
 export PACKAGE VERSION CFLAGS CXXFLAGS
 
 dnl Checks for programs.
@@ -57,7 +57,7 @@ dnl AC_PATH_X
 dnl AC_PATH_XTRA
  AC_HEADER_DIRENT
  AC_HEADER_STDC
- AC_CHECK_HEADERS(math.h fcntl.h limits.h malloc.h unistd.h memory.h zlib.h jpeglib.h t1lib.h sys/stat.h sys/types.h)
+ AC_CHECK_HEADERS(zlib.h jpeglib.h t1lib.h sys/stat.h sys/types.h dirent.h sys/ndir.h sys/dir.h ndir.h)
 
 if test "x${ac_cv_header_jpeglib_h}" != "xyes"; then
  DISABLEPDF2SWF=true;
@@ -95,10 +95,7 @@ dnl Checks for typedefs, structures, and compiler characteristics.
  dnl AC_CHECK_TYPE(uint,unsigned long int)
 
 dnl Checks for library functions.
- AC_FUNC_MEMCMP
- AC_FUNC_MMAP
- AC_FUNC_VPRINTF
- AC_CHECK_FUNCS(getcwd putenv socket strcspn strdup strerror strstr lrand48 rand srand48 srand)
+ AC_CHECK_FUNCS(popen mkstemp stat lrand48 rand srand48 srand)
 
 if test "x${UNCOMPRESS}" = "xgzip"; then
     AC_DEFINE_UNQUOTED(USE_GZIP, 1)