X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=e569ee07f2dd296d8b4aa147929e8055f31efe15;hb=deef6e528cabe1858c2c3c5fa45f789f3d701366;hp=aa55d436951e97c373ed073683fd7a418473e8e2;hpb=3f2f48fc0101fe11dd6b3270474c1c2c9ed21e34;p=libserialport.git diff --git a/configure.ac b/configure.ac index aa55d43..e569ee0 100644 --- a/configure.ac +++ b/configure.ac @@ -42,9 +42,6 @@ AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) -# Enable more compiler warnings. -CFLAGS="$CFLAGS -std=c99 -Wall -Wextra -pedantic -Wmissing-prototypes -Wshadow" - # Checks for programs. AC_PROG_CC AC_PROG_CPP @@ -75,10 +72,6 @@ AC_SUBST(SP_LIB_LDFLAGS) # Checks for libraries. -# This variable collects the pkg-config names of all detected libs. -# It is then used to construct the "Requires.private:" field in the -# libserialport.pc file. -SP_PKGLIBS="" SP_LIBS="" case $host_os in @@ -93,7 +86,6 @@ case $host_os in AM_CONDITIONAL([WIN32], false) AM_CONDITIONAL([MACOSX], true) AM_CONDITIONAL([FREEBSD], false) - LDFLAGS="$LDFLAGS -Wl,-framework -Wl,IOKit -Wl,-framework -Wl,CoreFoundation" AC_CHECK_HEADER(IOKit/IOKitLib.h, [], [AC_MSG_ERROR([IOKit/IOKitLib.h not found])]) ;; mingw* | cygwin*) @@ -118,7 +110,6 @@ mingw* | cygwin*) AC_DEFINE(NO_PORT_METADATA,,[Port metadata is unavailable]) esac -AC_SUBST(SP_PKGLIBS) AC_SUBST(SP_LIBS) # Define size_t if not defined as standard.