| dnl |
| dnl Copyright (c) 1996-2001 by Guardsoft Pty Ltd. |
| dnl |
| dnl All rights reserved. This program and the accompanying materials |
| dnl are made available under the terms of the Eclipse Public License v1.0 |
| dnl which accompanies this distribution, and is available at |
| dnl http://www.eclipse.org/legal/epl-v10.html |
| dnl |
| |
| AC_PREREQ(2.50) |
| |
| AC_INIT(libmi, 1.0.0) |
| AM_INIT_AUTOMAKE |
| AC_CONFIG_HEADER(config.h) |
| |
| dnl Checks for programs. |
| AM_PROG_CC_C_O |
| AC_PROG_INSTALL |
| AC_PROG_MAKE_SET |
| AC_PROG_RANLIB |
| |
| dnl Checks for header files. |
| AC_HEADER_STDC |
| AC_CHECK_HEADERS(strings.h sys/time.h unistd.h) |
| |
| os=`uname -s` |
| if test "x$os" = "xAIX" ; then |
| CFLAGS="$CFLAGS -qinfo=gen -qcpluscmt" |
| AIX=1 |
| else |
| CFLAGS="$CFLAGS -Wall" |
| AIX=0 |
| fi |
| AM_CONDITIONAL([AIX], [test "$AIX" = 1]) |
| |
| dnl Checks for typedefs, structures, and compiler characteristics. |
| AC_HEADER_TIME |
| AC_STRUCT_TM |
| |
| dnl Checks for library functions. |
| AC_FUNC_MEMCMP |
| AC_FUNC_VPRINTF |
| AC_CHECK_FUNCS(strdup) |
| |
| AC_CONFIG_FILES([Makefile]) |
| AC_OUTPUT |