範例 1
重點:AC_INIT會幫我們產生一些參數
configure.ac
AC_INIT(hello, 0.1, [email protected]) echo ciao $PACKAGE_NAME $PACKAGE_VERSION
產生且執行檔案
$ autoconf $ ./configure ciao hello 0.1
AC_INIT所產生的參數
AC_PACKAGE_NAME, PACKAGE_NAME
套件名稱。
AC_PACKAGE_TARNAME, PACKAGE_TARNAME
Exactly tarname.
AC_PACKAGE_VERSION, PACKAGE_VERSION
版本編號。
AC_PACKAGE_STRING, PACKAGE_STRING
Exactly `package version'.
AC_PACKAGE_BUGREPORT, PACKAGE_BUGREPORT
Bug Report的Email Address