]> git.sesse.net Git - ffmpeg/commitdiff
build: fix iconv detection on some systems.
authorClément Bœsch <ubitux@gmail.com>
Wed, 27 Feb 2013 19:58:48 +0000 (20:58 +0100)
committerClément Bœsch <ubitux@gmail.com>
Wed, 27 Feb 2013 20:00:38 +0000 (21:00 +0100)
This at least fix the build on CentOS.

configure

index f44271511b724bd508153f0d864f135ccad5ecd2..2f8a532125c5d1dc28ce33ad36dfb35f6b035373 100755 (executable)
--- a/configure
+++ b/configure
@@ -3765,7 +3765,7 @@ check_func  getopt
 check_func  getrusage
 check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss
 check_func  gettimeofday
-check_func  iconv || check_lib2 iconv.h iconv -liconv
+check_func_headers iconv.h iconv || check_lib2 iconv.h iconv -liconv
 check_func  inet_aton $network_extralibs
 check_func  isatty
 check_func  localtime_r