# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ(2.59) AC_INIT(creGpioDae, 0.0.1) # builtin(include, [m4/ac_func_snprintf.m4])dnl # builtin(include, [m4/ac_func_scanf_can_malloc.m4])dnl AM_INIT_AUTOMAKE() # AC_CONFIG_HEADER([config.h]) AC_GNU_SOURCE # Checks for programs. AC_PROG_CC AC_PROG_INSTALL # Checks for header files. AC_HEADER_DIRENT AC_HEADER_STDC AC_CHECK_HEADERS([parser.h iniparser.h]) AC_CHECK_HEADERS([dictionary.h inistrings.h]) AC_CHECK_HEADERS([math.h stdio.h]) AC_CHECK_HEADERS([fcntl.h inttypes.h limits.h memory.h stddef.h stdint.h stdlib.h string.h strings.h unistd.h]) # AC_CHECK_HEADERS([libgen.h getopt.h]) # Checks for typedefs, structures, and compiler characteristics. AC_C_CONST # AC_TYPE_UID_T # AC_C_INLINE # AC_CHECK_TYPE(size_t, unsigned) # AC_CHECK_TYPE(ssize_t, signed) # AC_CHECK_MEMBERS([struct stat.st_rdev]) # Checks for library functions. # AC_CHECK_FUNCS([getopt_long getline strtof]) # AC_FUNC_SNPRINTF # AC_FUNC_SCANF_CAN_MALLOC AC_CONFIG_FILES([Makefile]) AC_OUTPUT # AC_OUTPUT([Makefile],[chmod a+x test-mount.sh test.sh])