Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: update autotools #488

Merged
merged 1 commit into from Jun 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 1 addition & 2 deletions configure.ac
Expand Up @@ -34,7 +34,7 @@ AC_PREFIX_DEFAULT('${abs_top_builddir}/../../bin/')
dnl ##
dnl ## Set the language
dnl ##
AC_PROG_CC_C99
AC_PROG_CC
AC_PROG_CXX
AC_LANG([C++])

Expand Down Expand Up @@ -134,7 +134,6 @@ AS_IF([test "x$with_intrinsics" == "xno" ],

AS_IF([test "x$with_intrinsics" != "xno"],
[AX_CHECK_COMPILE_FLAG(-march=native, AX_APPEND_FLAG(-march=native))
AX_CHECK_COMPILE_FLAG(-mpopcnt, AX_APPEND_FLAG(-mpopcnt))
])

dnl compiler builtins
Expand Down
@@ -1,3 +1,5 @@
ACLOCAL_AMFLAGS = -I m4

lib_LTLIBRARIES = libplanarity.la

libplanarity_la_SOURCES = \
Expand Down
@@ -1,5 +1,6 @@
AC_INIT(planarity, 3.0.1.0, jboyer@acm.org)
AC_INIT([planarity],[3.0.1.0],[jboyer@acm.org])
AM_INIT_AUTOMAKE([subdir-objects] [foreign])
AC_CONFIG_MACRO_DIRS([m4])
AC_CONFIG_SRCDIR([c/])

# The version of the libtool library is of the form current:revision:age
Expand All @@ -21,9 +22,10 @@ AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)

AC_PROG_CC
AC_PROG_LIBTOOL
AC_PROG_INSTALL
LT_INIT

AC_CHECK_HEADERS([ctype.h stdio.h stdlib.h string.h time.h unistd.h])

AC_OUTPUT(Makefile)
AC_CONFIG_FILES([Makefile])
AC_OUTPUT