Make source compilable via GNU autotools which are part of RHEL 5.


git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3676 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/common/configure.ac b/common/configure.ac
index fea4eca..634c14f 100644
--- a/common/configure.ac
+++ b/common/configure.ac
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.61])
+AC_PREREQ([2.57])
 AC_INIT([librfb], [0.0.90], [http://www.tigervnc.org])
 
 AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
@@ -72,10 +72,10 @@
 AM_CONDITIONAL([INCLUDED_JPEG], [ test "x$INCLUDED_JPEG" = xyes ])
 AC_CONFIG_SUBDIRS([jpeg])
 
-AC_CHECK_FUNCS_ONCE([vsnprintf snprintf strcasecmp strncasecmp])
+AC_CHECK_FUNCS([vsnprintf snprintf strcasecmp strncasecmp])
 
 # IPv6 related functions
-AC_CHECK_FUNCS_ONCE([inet_ntop getaddrinfo])
+AC_CHECK_FUNCS([inet_ntop getaddrinfo])
 
 AC_CHECK_TYPES([socklen_t])
 
diff --git a/common/jpeg/configure.ac b/common/jpeg/configure.ac
index 683ca7e..ea03c74 100644
--- a/common/jpeg/configure.ac
+++ b/common/jpeg/configure.ac
@@ -1,7 +1,7 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-AC_PREREQ([2.61])
+AC_PREREQ([2.57])
 AC_INIT([libjpeg], [6.b])
 
 AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
diff --git a/common/zlib/configure.ac b/common/zlib/configure.ac
index 2befc77..532012a 100644
--- a/common/zlib/configure.ac
+++ b/common/zlib/configure.ac
@@ -1,7 +1,7 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 
-AC_PREREQ([2.61])
+AC_PREREQ([2.57])
 AC_INIT([zlib], [1.1.4])
 AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])
 
diff --git a/unix/configure.ac b/unix/configure.ac
index 058218d..dd2b633 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_PREREQ([2.61])
+AC_PREREQ([2.57])
 AC_INIT([tigervnc], [0.0.90], [http://www.tigervnc.org])
 AM_INIT_AUTOMAKE([-Wall foreign dist-bzip2])