*** empty log message ***
[m17n/libotf.git] / configure.ac
index c90af0e..c09ca8a 100644 (file)
@@ -23,8 +23,8 @@ dnl License along with this library, in a file named COPYING; if not,
 dnl write to the Free Software Foundation, Inc., 59 Temple Place, Suite
 dnl 330, Boston, MA 02111-1307, USA.
 
-AC_INIT(libotf, 1.0, libotf@m17n.org)
-AM_INIT_AUTOMAKE(libotf, 1.0)
+AC_INIT(libotf, 0.9.1, handa@m17n.org)
+AM_INIT_AUTOMAKE(libotf, 0.9.1)
 AM_CONFIG_HEADER(src/config.h)
 
 # Checks for programs.
@@ -64,5 +64,17 @@ if test "x$HAVE_FREETYPE" != "xyes" ; then
   exit 1
 fi
 
+AC_CHECK_FUNC(scandir, HAVE_SCANDIR=yes, HAVE_SCANDIR=no)
+if test "x$HAVE_SCANDIR" = "xyes"; then
+  AC_DEFINE(HAVE_SCANDIR, 1,
+          [Define to 1 if you have scandir function.])
+fi
+
+AC_CHECK_FUNC(alphasort, HAVE_ALPHASORT=yes, HAVE_ALPHASORT=no)
+if test "x$HAVE_ALPHASORT" = "xyes"; then
+  AC_DEFINE(HAVE_ALPHASORT, 1,
+          [Define to 1 if you have alphasort function.])
+fi
+
 AC_CONFIG_FILES([Makefile src/Makefile example/Makefile libotf-config])
 AC_OUTPUT