JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
gnu autoconf docs say input should be named configure.ac
authorJason Woofenden <jason@jasonwoof.com>
Mon, 22 Jun 2009 19:31:21 +0000 (15:31 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Wed, 2 Sep 2009 05:33:57 +0000 (01:33 -0400)
.gitignore
configure.ac [new file with mode: 0644]
configure.in [deleted file]

index 84971a6..3fe8d7d 100644 (file)
@@ -10,3 +10,8 @@ data/life.png
 data/font.png
 tags
 log
+config.h
+configure
+config.status
+config.log
+autom4te.cache
diff --git a/configure.ac b/configure.ac
new file mode 100644 (file)
index 0000000..1804a30
--- /dev/null
@@ -0,0 +1,41 @@
+#                                               -*- Autoconf -*-
+# Process this file with autoconf to produce a configure script.
+
+AC_PREREQ([2.63])
+AC_INIT(VoR, 0.5.4, jason@jasonwoof.com, vor)
+AC_CONFIG_SRCDIR([config.h.in])
+AC_CONFIG_HEADERS([config.h])
+
+# Checks for programs.
+AC_PROG_CC
+AC_PROG_INSTALL
+AC_PROG_MAKE_SET
+
+# Checks for libraries.
+AC_CHECK_LIB([SDL_image], [IMG_LoadPNG_RW])
+AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])
+
+SDL_VERSION=1.2.0
+AM_PATH_SDL($SDL_VERSION,
+            :,
+            AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
+)
+
+# Checks for header files.
+AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])
+
+# Checks for typedefs, structures, and compiler characteristics.
+AC_HEADER_STDBOOL
+AC_C_INLINE
+AC_TYPE_INT8_T
+AC_TYPE_SIZE_T
+AC_TYPE_UINT16_T
+AC_TYPE_UINT32_T
+AC_TYPE_UINT8_T
+
+# Checks for library functions.
+AC_FUNC_MALLOC
+AC_CHECK_FUNCS([atexit memset sqrt strdup])
+
+AC_CONFIG_FILES([Makefile])
+AC_OUTPUT
diff --git a/configure.in b/configure.in
deleted file mode 100644 (file)
index 1804a30..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#                                               -*- Autoconf -*-
-# Process this file with autoconf to produce a configure script.
-
-AC_PREREQ([2.63])
-AC_INIT(VoR, 0.5.4, jason@jasonwoof.com, vor)
-AC_CONFIG_SRCDIR([config.h.in])
-AC_CONFIG_HEADERS([config.h])
-
-# Checks for programs.
-AC_PROG_CC
-AC_PROG_INSTALL
-AC_PROG_MAKE_SET
-
-# Checks for libraries.
-AC_CHECK_LIB([SDL_image], [IMG_LoadPNG_RW])
-AC_CHECK_LIB([SDL_mixer], [Mix_OpenAudio])
-
-SDL_VERSION=1.2.0
-AM_PATH_SDL($SDL_VERSION,
-            :,
-            AC_MSG_ERROR([*** SDL version $SDL_VERSION not found!])
-)
-
-# Checks for header files.
-AC_CHECK_HEADERS([inttypes.h stddef.h stdlib.h string.h unistd.h])
-
-# Checks for typedefs, structures, and compiler characteristics.
-AC_HEADER_STDBOOL
-AC_C_INLINE
-AC_TYPE_INT8_T
-AC_TYPE_SIZE_T
-AC_TYPE_UINT16_T
-AC_TYPE_UINT32_T
-AC_TYPE_UINT8_T
-
-# Checks for library functions.
-AC_FUNC_MALLOC
-AC_CHECK_FUNCS([atexit memset sqrt strdup])
-
-AC_CONFIG_FILES([Makefile])
-AC_OUTPUT