libmikmod/libmikmod-3.1.12-autotools.diff

35 lines
1.1 KiB
Diff
Raw Normal View History

Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -134,9 +134,8 @@ AC_PROG_CC
AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
-AM_PROG_LIBTOOL
AC_PROG_MAKE_SET
-AC_PROG_RANLIB
+AC_PROG_LIBTOOL
# Check if makeinfo support html output. If it doesn't, pretend it's missing
# rather than failing rebuilding the documentation.
@@ -377,7 +376,7 @@ fi
AC_CHECK_FUNCS(setenv snprintf srandom)
AC_REPLACE_FUNCS(strcasecmp strdup strstr)
# Change extension, as we use libtool
-LIBOBJS="`echo $LIBOBJS|sed -e 's/\.o/\.lo/g'`"
+# LIBOBJS="`echo $LIBOBJS|sed -e 's/\.o/\.lo/g'`"
AC_HEADER_EGREP(srandom,math.h,AC_DEFINE(SRANDOM_IN_MATH_H))
Index: include/Makefile.am
===================================================================
--- include/Makefile.am.orig
+++ include/Makefile.am
@@ -1,3 +1,4 @@
### This @#!&*%$@ autoconf wants to have a mikmod_build.h.in file !!!
EXTRA_DIST = mikmod_internals.h mikmod_build.h.in
-include_HEADERS = mikmod.h
+include_HEADERS = mikmod.h mikmod_internals.h mikmod_build.h
+