# -*- Autoconf -*- # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) AC_INIT([FULL-PACKAGE-NAME], [VERSION], [BUG-REPORT-ADDRESS]) AC_CONFIG_SRCDIR([src/Fl_ClockC.h]) AC_CONFIG_HEADERS([config.h]) # Checks for programs. AC_PROG_CXX AC_PROG_CC # Checks for libraries. # FIXME: Replace `main' with a function in `-lGL': AC_CHECK_LIB([GL], [main]) # FIXME: Replace `main' with a function in `-lGLU': AC_CHECK_LIB([GLU], [main]) # FIXME: Replace `main' with a function in `-lX11': AC_CHECK_LIB([X11], [main]) # FIXME: Replace `main' with a function in `-lXext': AC_CHECK_LIB([Xext], [main]) # FIXME: Replace `main' with a function in `-lXft': AC_CHECK_LIB([Xft], [main]) # FIXME: Replace `main' with a function in `-lXinerama': AC_CHECK_LIB([Xinerama], [main]) # FIXME: Replace `main' with a function in `-ldl': AC_CHECK_LIB([dl], [main]) # FIXME: Replace `main' with a function in `-lfltk': AC_CHECK_LIB([fltk], [main]) # FIXME: Replace `main' with a function in `-lfltk_gl': AC_CHECK_LIB([fltk_gl], [main]) # FIXME: Replace `main' with a function in `-lfltk_images': AC_CHECK_LIB([fltk_images], [main]) # FIXME: Replace `main' with a function in `-lfontconfig': AC_CHECK_LIB([fontconfig], [main]) # FIXME: Replace `main' with a function in `-ljpeg': AC_CHECK_LIB([jpeg], [main]) # FIXME: Replace `main' with a function in `-lm': AC_CHECK_LIB([m], [main]) # FIXME: Replace `main' with a function in `-lpng': AC_CHECK_LIB([png], [main]) # FIXME: Replace `main' with a function in `-lpthread': AC_CHECK_LIB([pthread], [main]) # FIXME: Replace `main' with a function in `-lz': AC_CHECK_LIB([z], [main]) # Checks for header files. AC_CHECK_HEADERS([stddef.h stdint.h stdlib.h string.h unistd.h]) # Checks for typedefs, structures, and compiler characteristics. AC_CHECK_HEADER_STDBOOL AC_TYPE_SIZE_T # Checks for library functions. AC_FUNC_MALLOC AC_CHECK_FUNCS([select strdup strerror strrchr strtol]) AC_CONFIG_FILES([Makefile]) AC_OUTPUT