forked from php/php-src
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
58 additions
and
9 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
## process this file with automake to produce Makefile.am | ||
AUTOMAKE_OPTIONS=foreign | ||
lib_LIBRARIES=libtsrm.a | ||
libtsrm_a_SOURCES = TSRM.c |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#undef PTHREADS | ||
|
||
#ifdef DEFINE_TSRM_VERSION | ||
# undef PACKAGE | ||
# undef VERSION | ||
#endif | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
|
||
mv aclocal.m4 aclocal.m4.old 2>/dev/null | ||
aclocal | ||
if cmp aclocal.m4.old aclocal.m4 > /dev/null 2>&1; then | ||
echo keeping ${1}aclocal.m4 | ||
mv aclocal.m4.old aclocal.m4 | ||
else | ||
echo created or modified ${1}aclocal.m4 | ||
fi | ||
|
||
autoheader | ||
|
||
automake --add-missing --include-deps | ||
|
||
mv configure configure.old 2>/dev/null | ||
autoconf | ||
if cmp configure.old configure > /dev/null 2>&1; then | ||
echo keeping ${1}configure | ||
mv configure.old configure | ||
else | ||
echo created or modified ${1}configure | ||
fi | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
dnl $Id$ | ||
dnl | ||
dnl Minimalistic configure.in for TSRM. | ||
dnl | ||
|
||
AC_INIT(TSRM.c) | ||
AM_INIT_AUTOMAKE(TSRM, 1.0) | ||
AM_CONFIG_HEADER(tsrm_config.h) | ||
|
||
AC_PROG_CC | ||
AC_PROG_CC_C_O | ||
AC_PROG_RANLIB | ||
|
||
AC_CHECK_LIB(pthread, pthread_create, [ | ||
AC_DEFINE(PTHREADS) | ||
LIBS="$LIBS -lpthread" | ||
],[ | ||
AC_MSG_ERROR(You need pthreads to build TSRM.) | ||
]) | ||
|
||
AC_OUTPUT(Makefile) |