mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-12-27 04:32:55 +00:00
- Add '--enable-debug' flag for ./configure which basicly
adds '-g' to CFLAGS if the compiler is gcc - Bump version to 1.4.3 while I'm here git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@704 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
parent
58c3dd47ce
commit
53feb898b9
19
configure.ac
19
configure.ac
@ -1,6 +1,6 @@
|
|||||||
AC_INIT([Conky],[1.4.2],[brenden1@users.sourceforge.net])
|
AC_INIT([Conky],[1.4.3],[brenden1@users.sourceforge.net])
|
||||||
|
|
||||||
AM_INIT_AUTOMAKE(conky, 1.4.2)
|
AM_INIT_AUTOMAKE(conky, 1.4.3)
|
||||||
AM_CONFIG_HEADER(src/config.h)
|
AM_CONFIG_HEADER(src/config.h)
|
||||||
dnl
|
dnl
|
||||||
dnl C Compiler
|
dnl C Compiler
|
||||||
@ -405,6 +405,18 @@ else
|
|||||||
LIBS="$LIBS $LIBICONV"
|
LIBS="$LIBS $LIBICONV"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
dnl
|
||||||
|
dnl debug
|
||||||
|
dnl
|
||||||
|
|
||||||
|
want_debug=no
|
||||||
|
AC_ARG_ENABLE(debug,
|
||||||
|
[ --enable-debug compile with debug symbols [[default=no]]],
|
||||||
|
[want_debug="$enableval"])
|
||||||
|
|
||||||
|
if test "x$want_debug" = "xyes" -a $ac_cv_c_compiler_gnu != no; then
|
||||||
|
CFLAGS="$CFLAGS -g3"
|
||||||
|
fi
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
dnl X
|
dnl X
|
||||||
@ -611,6 +623,9 @@ cat << EOF
|
|||||||
$PACKAGE $VERSION configured successfully:
|
$PACKAGE $VERSION configured successfully:
|
||||||
|
|
||||||
Installing into: $prefix
|
Installing into: $prefix
|
||||||
|
C compiler flags: $CFLAGS
|
||||||
|
Linker flags: $LDFLAGS
|
||||||
|
Libraries: $LIBS
|
||||||
|
|
||||||
* x11:
|
* x11:
|
||||||
x11 support: $want_x11
|
x11 support: $want_x11
|
||||||
|
Loading…
Reference in New Issue
Block a user