]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
update
authorAnthony Minessale <anthony.minessale@gmail.com>
Mon, 18 Feb 2008 19:58:29 +0000 (19:58 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Mon, 18 Feb 2008 19:58:29 +0000 (19:58 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7673 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/Makefile.am

index c1fff7e35bc8ed68b2f26016db94bc54f179e5b3..838f304f80edb6401b28c80623f2f9e6cdcecf1a 100644 (file)
@@ -15,7 +15,8 @@ $(OUR_MODULES) $(OUR_CLEAN_MODULES) $(OUR_INSTALL_MODULES) $(OUR_UNINSTALL_MODUL
                fi ; \
        fi ; \
        if test -z "$$target" ; then target="all" ; fi ; \
-       if ! test -d "$$moddir" ; then echo ; echo "WARNING $$moddir does not exist, skipping" ; else \
+       if ! test -f $$moddir/$$modname.c && ! test -f $$moddir/$$modname.cpp ; \
+       then echo ; echo "WARNING $$modname is not a valid FreeSWITCH module dir, skipping it....." ; else \
                echo ;\
                echo making $$target $$modname ;\
                (if test -f "$$moddir/Makefile" ; then \