diff options
author | sabetts <sabetts> | 2001-03-02 10:04:05 +0000 |
---|---|---|
committer | sabetts <sabetts> | 2001-03-02 10:04:05 +0000 |
commit | 2219b80064e74cceec53226920bcd9f2b6c1be3f (patch) | |
tree | f24332c5b7cb9d896c57df751fffafd421751ecc /configure.in | |
parent | 5cdbfa14957f5935692dd92d2d11dcad72e4f3d0 (diff) | |
download | ratpoison-2219b80064e74cceec53226920bcd9f2b6c1be3f.zip |
* configure.in: adds -g to CFLAGS when debugging is turned on.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 1c0d6be..daf2e81 100644 --- a/configure.in +++ b/configure.in @@ -17,7 +17,7 @@ dnl You should have received a copy of the GNU General Public License dnl along with this program; if not, write to the Free Software dnl Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA dnl -dnl $Id: configure.in,v 1.15 2001/03/02 09:40:59 sabetts Exp $ +dnl $Id: configure.in,v 1.16 2001/03/02 10:04:05 sabetts Exp $ AC_INIT(src/main.c) AM_INIT_AUTOMAKE(ratpoison, 0.0.6-cvs) @@ -34,6 +34,7 @@ AC_ARG_ENABLE(debug, [if test "x$enableval" != "xno"; then AC_DEFINE_UNQUOTED(DEBUG, 1, Define this to enable debugging messages) AC_MSG_RESULT(yes) + CFLAGS="$CFLAGS -g" else AC_MSG_RESULT(no) fi],[AC_MSG_RESULT(no)]) @@ -43,7 +44,7 @@ term_prog=$withval, term_prog="xterm") AC_DEFINE_UNQUOTED(TERM_PROG,"$term_prog") dnl Checks for programs. -CFLAGS="$CFLAGS -Wall -g" +CFLAGS="$CFLAGS -Wall" AC_CHECK_TOOL(CC, gcc) AC_PROG_CC |