chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autogen.sh: add CFLAGS and print entire line, so that mouse copy/paste works
[elogind.git]
/
autogen.sh
diff --git
a/autogen.sh
b/autogen.sh
index fdbff66c48b9e675cfe9ff646e22273be223c7c1..d32f41df9be0b1e1ed8fb43629abbdfcdf294c27 100755
(executable)
--- a/
autogen.sh
+++ b/
autogen.sh
@@
-1,7
+1,13
@@
-#!/
usr/bin/env
sh
+#!/
bin/
sh
set -e
set -e
+if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
+ cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \
+ chmod +x .git/hooks/pre-commit && \
+ echo "Activated pre-commit hook."
+fi
+
gtkdocize
autoreconf --install --symlink
gtkdocize
autoreconf --install --symlink
@@
-22,9
+28,9
@@
args="\
--enable-gtk-doc"
echo
--enable-gtk-doc"
echo
-echo "----------------------------------------------------------------
-----
"
-echo "Initialized
udev
build system. For a common configuration please run:"
-echo "----------------------------------------------------------------
-----
"
+echo "----------------------------------------------------------------"
+echo "Initialized build system. For a common configuration please run:"
+echo "----------------------------------------------------------------"
echo
echo
-echo "
# ./configure
$args"
+echo "
./configure CFLAGS='-g -O0'
$args"
echo
echo