better version of last patch

This commit is contained in:
Anthony Minessale 2011-09-16 13:27:38 -05:00
parent 81575eadb5
commit 7bc6e8f183
5 changed files with 8 additions and 5 deletions

View File

@ -107,7 +107,10 @@ case "$host" in
;; ;;
esac esac
DEFAULT_INCLUDES="-I. -I./src/include -I$(srcdir)"
AC_SUBST(SOLINK) AC_SUBST(SOLINK)
AC_SUBST(DEFAULT_INCLUDES)
AC_SUBST(DYNAMIC_LIB_EXTEN) AC_SUBST(DYNAMIC_LIB_EXTEN)
AC_CHECK_LIB([dl], [dlopen]) AC_CHECK_LIB([dl], [dlopen])

View File

@ -1,5 +1,5 @@
//#include "openzap.h" //#include "openzap.h"
#include "../openzap/src/include/libteletone_detect.h" #include "libteletone_detect.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {

View File

@ -136,8 +136,8 @@ typedef __int16 int16_t;
#endif #endif
#endif #endif
#include "libteletone_generate.h" #include <libteletone_generate.h>
#include "libteletone_detect.h" #include <libteletone_detect.h>
#ifdef HAVE_STRING_H #ifdef HAVE_STRING_H
#include <string.h> #include <string.h>

View File

@ -57,7 +57,7 @@
* *
*/ */
#include "../openzap/src/include/libteletone_detect.h" #include <libteletone_detect.h>
#ifndef _MSC_VER #ifndef _MSC_VER
#include <stdint.h> #include <stdint.h>

View File

@ -33,7 +33,7 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "../openzap/src/include/libteletone.h" #include <libteletone.h>
#define SMAX 32767 #define SMAX 32767
#define SMIN -32768 #define SMIN -32768