diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2008-03-03 16:59:53 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2008-03-03 16:59:53 +0000 |
commit | 40bcf4c780c82c8a7bca0f9f665690b18bb30eb9 (patch) | |
tree | c0610f315b9da61adb4e258033002f62baaca532 /configure | |
parent | e7a5e2f6266903b797cf01d34b7f93eb39ccc855 (diff) | |
download | ffmpeg-40bcf4c780c82c8a7bca0f9f665690b18bb30eb9.tar.gz |
Support setting the debuglevel (-g level) with --enable-debug=#
Originally committed as revision 12298 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1066,6 +1066,8 @@ for opt do ;; --disable-devices) disable $INDEV_LIST $OUTDEV_LIST ;; + --enable-debug=*) debuglevel="$optval" + ;; --enable-*=*|--disable-*=*) eval `echo "$opt" | sed 's/=/-/;s/--/action=/;s/-/ thing=/;s/-/ name=/'` case "$thing" in @@ -1795,7 +1797,7 @@ check_header X11/extensions/XShm.h && check_func XOpenDisplay -lX11 && check_func XShmCreateImage -lX11 -lXext -enabled debug && add_cflags -g +enabled debug && add_cflags -g"$debuglevel" # add some useful compiler flags if supported check_cflags -Wdeclaration-after-statement |