使用autotools自动生成Makefile并在此之上使用dh-make生成可发布的deb程序包(二)

2014-11-24 02:33:48 · 作者: · 浏览: 9
所要产生的文件。我们最终期望产生Makefile


AC_OUTPUT



所以,经过修改后,我们的configure.in文件是:
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ([2.69])
AC_INIT([beep], [0.1], [reaper888@yeah.net])
AC_CONFIG_SRCDIR([hello.c])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE
# Checks for programs.
AC_PROG_CC

# Checks for libraries.

# Checks for header files.

# Checks for typedefs, structures, and compiler characteristics.

# Checks for library functions.

AC_CONFIG_FILES([Makefile])
AC_OUTPUT


相关阅读