Skip to content

Instantly share code, notes, and snippets.

@IngwiePhoenix
Created October 9, 2013 09:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IngwiePhoenix/6898541 to your computer and use it in GitHub Desktop.
Save IngwiePhoenix/6898541 to your computer and use it in GitHub Desktop.
PHP_ARG_ENABLE(easywsclient,
[Whether to enable the "easywsclient" extension],
[ --enable-easywsclient Enable easywsclient.])
if test $PHP_EASYWSCLIENT != "no"; then
PHP_REQUIRE_CXX()
PHP_SUBST(EASYWSCLIENT_SHARED_LIBADD)
PHP_ADD_LIBRARY(stdc++, 1, EASYWSCLIENT_SHARED_LIBADD)
PHP_NEW_EXTENSION(easywsclient, easywsclient.cpp easywsclient_wrap.c, $ext_shared)
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment