Skip to content

Commit

Permalink
Tidy up config.m4 file
Browse files Browse the repository at this point in the history
  • Loading branch information
tpunt committed Feb 8, 2018
1 parent 5d7084f commit ccb4b37
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@ PHP_ARG_ENABLE(pht, whether to enable pht support,
[ --enable-pht Enable pht support])

if test "$PHP_PHT" != "no"; then
PHP_NEW_EXTENSION(pht, pht.c src/pht_copy.c src/pht_zend.c src/pht_entry.c src/pht_general.c src/ds/pht_queue.c src/ds/pht_hashtable.c src/ds/pht_vector.c src/classes/thread.c src/classes/threaded.c src/classes/runnable.c src/classes/queue.c src/classes/hashtable.c src/classes/vector.c src/classes/atomic_integer.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
PHP_NEW_EXTENSION(pht, pht.c \
src/pht_copy.c \
src/pht_zend.c \
src/pht_entry.c \
src/pht_general.c \
src/ds/pht_queue.c \
src/ds/pht_hashtable.c \
src/ds/pht_vector.c \
src/classes/thread.c \
src/classes/threaded.c \
src/classes/runnable.c \
src/classes/queue.c \
src/classes/hashtable.c \
src/classes/vector.c \
src/classes/atomic_integer.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)

EXTRA_CFLAGS="$EXTRA_CFLAGS -std=gnu99"
PHP_SUBST(EXTRA_CFLAGS)
EXTRA_CFLAGS="$EXTRA_CFLAGS -std=gnu99"
PHP_SUBST(EXTRA_CFLAGS)
fi

0 comments on commit ccb4b37

Please sign in to comment.