Last active
December 11, 2015 04:19
-
-
Save emersonmx/4544106 to your computer and use it in GitHub Desktop.
Arquivos de configuração para projeto usando autotools.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
mkdir -p m4 | |
set -e | |
autoreconf --install --force | |
rm -rf autom4te.cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Prelude | |
AC_INIT([project], [1.0], [emersonmx@gmail.com]) | |
AC_CONFIG_AUX_DIR([build-aux]) | |
AM_INIT_AUTOMAKE([-Wall]) | |
AC_CONFIG_MACRO_DIR([m4]) | |
# Checks for programs. | |
# AC_PROG_CC | |
AC_PROG_CXX | |
# Checks for libraries. | |
# Checks for header files. | |
# Checks for typedefs, structures and compiler characteristics. | |
# Checks for library functions. | |
# Output files. | |
AC_CONFIG_HEADERS([config.h]) | |
AC_CONFIG_FILES([ | |
Makefile | |
]) | |
AC_OUTPUT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACLOCAL_AMFLAGS = -I m4 | |
SUBDIRS = src |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment