1dnl Process this file with autoconf to produce a configure script 2AC_PREREQ(2.53) 3AC_INIT(O2-tools, 2.00, http://www.sc.isc.tohoku.ac.jp/~hgot/) 4 5AC_PREFIX_DEFAULT($HOME/O2) 6 7AM_INIT_AUTOMAKE([foreign]) 8 9test "x$CFLAGS" = "x" && CFLAGS="-O3 --unroll-loops" 10test "x$CXXFLAGS" = "x" && CXXFLAGS="-O3 --unroll-loops" 11AC_PROG_CC 12AC_PROG_CXX 13AC_PROG_RANLIB 14 15AC_CONFIG_FILES([Makefile]) 16AC_CONFIG_FILES([include/Makefile]) 17AC_CONFIG_FILES([man4/Makefile]) 18AC_CONFIG_FILES([libsrc/Makefile]) 19AC_CONFIG_FILES([libsrc/PS/Makefile \ 20 libsrc/libimgo/Makefile libsrc/libsgp/Makefile libsrc/libufp/Makefile \ 21 libsrc/objgrp/Makefile libsrc/siplib/Makefile libsrc/xiplib/Makefile]) 22AC_CONFIG_FILES([bmptopnm/Makefile \ 23 breduce/Makefile lpsmooth/Makefile \ 24 makecr/Makefile makepr/Makefile \ 25 prlst2ps/Makefile]) 26 27AC_OUTPUT 28 29