Skip to content

Commit

Permalink
automake: Removing Darwin support & Setting foreign strictness
Browse files Browse the repository at this point in the history
  • Loading branch information
Shuotian Cheng committed May 10, 2016
1 parent 924237a commit 870387f
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 17 deletions.
9 changes: 0 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,6 @@ debian/libsairedis/
debian/syncd/
debian/tmp/

# autogen.sh Files #
####################
AUTHORS
COPYING
ChangeLog
INSTALL
NEWS
README

aclocal.m4
autom4te.cache/
config.h
Expand Down
Empty file removed AUTHORS
Empty file.
Empty file removed ChangeLog
Empty file.
Empty file removed NEWS
Empty file.
Empty file removed README
Empty file.
8 changes: 1 addition & 7 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
#!/bin/bash

if [ `uname` == "Darwin" ]; then
LIBTOOLIZE=glibtoolize
else
LIBTOOLIZE=libtoolize
fi

$LIBTOOLIZE --force --copy &&
libtoolize --force --copy &&
autoreconf --force --install -I m4
rm -Rf autom4te.cache

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([])
AC_CONFIG_AUX_DIR(config)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE([subdir-objects])
AM_INIT_AUTOMAKE([subdir-objects foreign])
AC_LANG_C
AC_LANG([C++])
AC_PROG_CC
Expand Down

0 comments on commit 870387f

Please sign in to comment.