autoconf260.m4 673 Bytes
Newer Older
1 2
# Replacements for autoconf 2.59 and older
# Please make official source tarballs with recent autoconf only.
3 4 5
# Copyright (C) 2006 Rémi Denis-Courmont.
# Distribution and usage of this file, verbatim or modified, is permitted
# with no limitations.
6

Christophe Mutricy's avatar
Typo  
Christophe Mutricy committed
7
AC_DEFUN([AC_PROG_CC_C99],
8
[ AC_REQUIRE([AC_PROG_CC])dnl
9
  CC="$CC -std=gnu99"
10
])
11

12 13 14 15 16 17 18 19
AC_DEFUN([AC_PROG_OBJC], [ 
 AC_MSG_CHECKING(for an Objective-C compiler) 	 	 
 OBJC="${CXX}" 	 	 
 AC_SUBST(OBJC) 	 	 
 OBJCFLAGS="${CXXFLAGS} -fgnu-runtime -fconstant-string-class=NSConstantString" 	 	 
 AC_SUBST(OBJCFLAGS)

])
20 21 22 23 24

AC_DEFUN([AC_USE_SYSTEM_EXTENSIONS],
[ AC_DEFINE([_GNU_SOURCE], [ ], [Enable lots of stuff with glibc.])
])