summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-06-17 07:55:45 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2011-06-17 07:55:45 +0200
commit11bb8270c256eb874096a3a08c60cc8ef0399274 (patch)
treed9298ea1e53719a13483dcade21ee8e09115f38e /configure.ac
parent9c77ce1c8121eb035384e9811f3f828fe9ea1a31 (diff)
update configure.ac to avoid a warning with autoconf 2.68
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 8 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 9796c49..0d9eec5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,8 +1,8 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_PREREQ(2.59)
-AC_INIT([testdisk],[6.12],[grenier@cgsecurity.org])
+AC_PREREQ([2.59])
+AC_INIT([testdisk],[6.13-WIP],[grenier@cgsecurity.org])
sinclude(acx_pthread.m4)
TESTDISKDATE="May 2011"
AC_SUBST(TESTDISKDATE)
@@ -283,8 +283,8 @@ AC_CHECK_HEADERS([byteswap.h curses.h cygwin/fs.h cygwin/version.h dal/file_dal.
# compiles and links without any extra flags).
if test -z "${use_iconv}"; then
AC_MSG_CHECKING(iconv support)
-AC_LINK_IFELSE([[#include <iconv.h>
-int main(int argc,char **argv) { iconv_open("foo","bar"); }]]
+AC_LINK_IFELSE([AC_LANG_SOURCE([#include <iconv.h>
+int main(int argc,char **argv) { iconv_open("foo","bar"); }])]
,
# libc has a working iconv.
AC_DEFINE(HAVE_ICONV,1, [Define if you have this function])
@@ -304,8 +304,8 @@ if test $found_iconv = no ; then
else
LIBS="$LIBS ${iconv_lib_a}"
fi
- AC_LINK_IFELSE([[#include <iconv.h>
- int main(int argc,char **argv) { iconv_open("foo","bar"); }]]
+ AC_LINK_IFELSE([AC_LANG_SOURCE([#include <iconv.h>
+ int main(int argc,char **argv) { iconv_open("foo","bar"); }])]
,
# -liconv works.
AC_DEFINE(HAVE_ICONV,1, [Define if you have this function])
@@ -326,8 +326,8 @@ if test $found_iconv = no ; then
else
LIBS="$LIBS ${giconv_lib_a}"
fi
- AC_LINK_IFELSE([[#include <giconv.h>
- int main(int argc,char **argv) { iconv_open("foo","bar"); }]]
+ AC_LINK_IFELSE([AC_LANG_SOURCE([#include <giconv.h>
+ int main(int argc,char **argv) { iconv_open("foo","bar"); }])]
,
AC_DEFINE(HAVE_ICONV,1, [Define if you have this function])
AC_DEFINE(HAVE_GICONV,1, [Define if you have this function])