automake备忘
生成configure.scan
加上:
AC_INIT(ProjectName, Version, Email)
AM_INIT_AUTOMAKE(ProjectName, Version)
AC_CONFIG_FILES([Makefile
subdir1/Makefile
subdir2/Makefile])
AC_OUTPUTAUTOMAKE_OPTIONS = foreign
bin_PROGRAMS = ProgramName
ProgramName_SOURCES = main.cpp other.c#!/bin/sh
aclocal
autoconf # generate configure
#autoheader
automake --foreign --add-missing --copy # generate Makefile.in根据项目选择否需要autoheader