SHA256
1
0
forked from pool/libupnp
libupnp/libupnp-configure.patch

38 lines
1017 B
Diff
Raw Normal View History

Index: libupnp-1.6.25/configure.ac
===================================================================
--- libupnp-1.6.25.orig/configure.ac 2018-02-10 15:26:39.000000000 +0100
+++ libupnp-1.6.25/configure.ac 2018-04-13 10:53:41.920947961 +0200
@@ -7,7 +7,7 @@
# (C) Copyright 2005-2007 Rémi Turboult <r3mi@users.sourceforge.net>
#
-AC_PREREQ(2.60)
+AC_PREREQ([2.60])
AC_INIT([libupnp], [1.6.25], [mroberto@users.sourceforge.net])
dnl ############################################################################
@@ -594,10 +594,12 @@ AC_MSG_RESULT($docdir)
#
# Checks for programs
#
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AM_PROG_CC_C_O
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-AC_PROG_LIBTOOL
+LT_INIT
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_EGREP
@@ -637,8 +639,6 @@ echo "----------------------------------
#
AC_TYPE_SIZE_T
AC_TYPE_OFF_T
-AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
-AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
#