From d226b09b2cdfaad0face62079a586ae877355dd9 Mon Sep 17 00:00:00 2001 From: diego Date: Tue, 6 Apr 2010 10:08:19 +0000 Subject: Generate dependency information as a sideeffect of compilation. This speeds up compilation times, simplifies the code and fixes dependency file generation in libav*. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31026 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'configure') diff --git a/configure b/configure index 30077230f4..da9edf35c3 100755 --- a/configure +++ b/configure @@ -2513,6 +2513,7 @@ else fi cc_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer" +cc_check -MD -MP && CFLAGS="-MD -MP $CFLAGS" if test -n "$LDFLAGS" ; then @@ -8472,9 +8473,6 @@ EXTRALIBS = $extra_ldflags $_ld_static $_ld_lm $extra_libs EXTRALIBS_MPLAYER = $libs_mplayer EXTRALIBS_MENCODER = $libs_mencoder -MPDEPEND_CMD = \$(CC) -MM -MP \$(CFLAGS) \$(filter-out %.xpm,\$(filter-out %.h,$^)) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," -MPDEPEND_CMD_CXX = \$(CC) -MM -MP \$(CXXFLAGS) \$(filter-out %.hh,\$(filter-out %.h,$^)) | sed -e "s,[0-9a-z._-]*: \([a-z0-9/]*/\)[^/]* ,\1&," -e "s,\(.*\)\.o: ,\1.d &," - GETCH = $_getch HELP_FILE = $_mp_help TIMER = $_timer -- cgit v1.2.3