Skip to content

Commit

Permalink
fix DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
clowwindy committed Aug 7, 2014
1 parent fe965b2 commit ab16cbf
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions config.h.in
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/* config.h.in. Generated from configure.ac by autoheader. */

/* Define to 1 if you want debug. */
#undef DEBUG

/* Define to 1 if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H

Expand Down Expand Up @@ -125,4 +122,3 @@
/* Define to the type of an unsigned integer type of width exactly 16 bits if
such a type exists and the standard includes do not define it. */
#undef uint16_t

2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ AC_CHECK_FUNCS([inet_ntoa memset select socket strchr strdup strrchr])

AC_ARG_ENABLE([debug],
[ --enable-debug build with additional debugging code],
[CFLAGS='-g';AC_DEFINE([DEBUG])])
[CFLAGS='-g -DDEBUG'])

AM_CONDITIONAL(DEBUG, test x"$debug" = x"true")

Expand Down

0 comments on commit ab16cbf

Please sign in to comment.