]> git.saurik.com Git - wxWidgets.git/commitdiff
don't create makefiles for nonexistent utils
authorVáclav Slavík <vslavik@fastmail.fm>
Fri, 15 Oct 2004 16:27:15 +0000 (16:27 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Fri, 15 Oct 2004 16:27:15 +0000 (16:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

configure
configure.in

index 7bd2376ca97fe639374c965208f3badd3a474e47..f583966940bafe9ffc84fea220509111d51fa57c 100755 (executable)
--- a/configure
+++ b/configure
@@ -39780,9 +39780,6 @@ fi
     BAKEFILE_BAKEFILE_M4_VERSION="0.1.4"
 
 
-
-
-
 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.1.4"
 
 
@@ -41552,10 +41549,14 @@ for subdir in `echo $SUBDIRS`; do
         else                                     if test ${subdir} = "samples"; then
                 makefiles="samples/Makefile.in samples/console/Makefile.in"
             elif test ${subdir} = "utils"; then
-                makefiles="utils/HelpGen/Makefile.in \
-                           utils/HelpGen/src/Makefile.in \
-                           utils/tex2rtf/Makefile.in \
-                           utils/tex2rtf/src/Makefile.in"
+                makefiles=""
+                for util in HelpGen tex2rtf ; do
+                    if test -d $srcdir/utils/$util ; then
+                        makefiles="utils/$util/Makefile.in \
+                                   utils/$util/src/Makefile.in \
+                                   $makefiles"
+                    fi
+                done
             else                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
             fi
         fi
index acf701009e42ba441c2b2196833c0fe1dd0754e2..aac7f2c4a3a2706b47b91f0d2217c8662f12d5bc 100644 (file)
@@ -6246,10 +6246,14 @@ for subdir in `echo $SUBDIRS`; do
             if test ${subdir} = "samples"; then
                 makefiles="samples/Makefile.in samples/console/Makefile.in"
             elif test ${subdir} = "utils"; then
-                makefiles="utils/HelpGen/Makefile.in \
-                           utils/HelpGen/src/Makefile.in \
-                           utils/tex2rtf/Makefile.in \
-                           utils/tex2rtf/src/Makefile.in"
+                makefiles=""
+                for util in HelpGen tex2rtf ; do
+                    if test -d $srcdir/utils/$util ; then
+                        makefiles="utils/$util/Makefile.in \
+                                   utils/$util/src/Makefile.in \
+                                   $makefiles"
+                    fi
+                done
             else dnl assume that everything compiles for tests
                 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
             fi