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

Modernize build scripts #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ versionedpkglib_LTLIBRARIES = libsnack_sndfile_ext.la
libsnack_sndfile_ext_la_SOURCES = \
snack_sndfile_ext.c
libsnack_sndfile_ext_la_CFLAGS = @SNACK_INCLUDE_SPEC@ @TCL_INCLUDE_SPEC@ @SNDFILE_CFLAGS@
libsnack_sndfile_ext_la_LDFLAGS = -version-info 0:0:0 @SNACK_LIB_SPEC@ @TCL_LIB_SPEC@ @SNDFILE_LIBS@
libsnack_sndfile_ext_la_LDFLAGS = -version-info 0:0:0 -no-undefined @SNACK_LIB_SPEC@ @TCL_LIB_SPEC@ @SNDFILE_LIBS@
# TCL_STUB_LIB_FLAG
# TCL_STUB_LIB_SPEC
# TCL_STUB_LIB_FILE
8 changes: 3 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ AM_MAINTAINER_MODE
dnl Checks for programs.
AC_PROG_CC

AC_LIBTOOL_WIN32_DLL
AC_PROG_LIBTOOL
LT_INIT([disable-static win32-dll])

SC_PATH_TCLCONFIG
dnl SC_PATH_TKCONFIG
Expand Down Expand Up @@ -72,8 +71,7 @@ AC_SUBST(CFLAGS)
AC_SUBST(TCL_LIB_SPEC)
AC_SUBST(SNACK_LIB_SPEC)
dnl Checks for header files.
AC_CHECK_HEADERS(string.h math.h locale.h)
AC_HEADER_STDC
AC_CHECK_HEADERS([string.h math.h locale.h], [], [], [AC_INCLUDES_DEFAULT])
dnl Checks for compiler characteristics.
dnl AC_ISC_POSIX
AC_C_INLINE
Expand All @@ -84,4 +82,4 @@ Makefile
pkgIndex.tcl
])

AC_OUTPUT([])
AC_OUTPUT
2 changes: 1 addition & 1 deletion test.tcl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
# the next line restarts using wish \
exec wish8.4 "$0" "$@"
exec wish "$0" "$@"

# 'info sharedlibext' returns '.dll' on Windows and '.so' on most Unix systems

Expand Down