Browse Source

(Hopefully) fix some issues with older version of autotools

Bart van Strien 13 years ago
parent
commit
c4133f2489
2 changed files with 2 additions and 2 deletions
  1. 1 1
      platform/unix/automagic
  2. 1 1
      platform/unix/configure.ac

+ 1 - 1
platform/unix/automagic

@@ -18,7 +18,7 @@ AUTOMAKE=$(which automake)
 [[ -x ${AUTOMAKE} ]]   || die "Could not find automake."
 [[ -x ${AUTOMAKE} ]]   || die "Could not find automake."
 
 
 automagic() {
 automagic() {
-	cp platform/unix/configure.in .
+	cp platform/unix/configure.ac .
 	cp platform/unix/Makefile.am .
 	cp platform/unix/Makefile.am .
 
 
 	if ! sh platform/unix/gen-makefile; then
 	if ! sh platform/unix/gen-makefile; then

+ 1 - 1
platform/unix/configure.in → platform/unix/configure.ac

@@ -6,7 +6,7 @@ AC_CONFIG_SRCDIR([src/love.cpp])
 AM_INIT_AUTOMAKE([foreign -Wall foreign tar-ustar silent-rules])
 AM_INIT_AUTOMAKE([foreign -Wall foreign tar-ustar silent-rules])
 AM_SILENT_RULES
 AM_SILENT_RULES
 AC_PREFIX_DEFAULT([/usr])
 AC_PREFIX_DEFAULT([/usr])
-AM_PROG_AR
+m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
 AC_PROG_LIBTOOL
 AC_PROG_LIBTOOL
 AC_PROG_CC
 AC_PROG_CC
 AC_PROG_CXX
 AC_PROG_CXX