1
0
mirror of git://sigrok.org/libserialport synced 2023-08-10 21:13:24 +03:00

Build: Include config.h first in all source files

This commit is contained in:
Daniel Elstner
2015-09-13 20:04:31 +02:00
parent 962143bc5c
commit 1a584c45b0
9 changed files with 6 additions and 7 deletions

View File

@ -33,16 +33,11 @@ AC_CONFIG_HEADERS([config.h libserialport.h])
AC_CONFIG_MACRO_DIR([autostuff])
AC_CONFIG_AUX_DIR([autostuff])
AH_TOP([#ifndef SP_CONFIG_H
#define SP_CONFIG_H])
AH_BOTTOM([#if HAVE_STRUCT_TERMIOS_C_ISPEED && HAVE_STRUCT_TERMIOS_C_OSPEED
# define HAVE_TERMIOS_SPEED 1
#endif
#if HAVE_STRUCT_TERMIOS2_C_ISPEED && HAVE_STRUCT_TERMIOS2_C_OSPEED
# define HAVE_TERMIOS2_SPEED 1
#endif
#endif])
# We require at least automake 1.11 (needed for 'silent rules').