Author: anthm Date: Mon Feb 18 14:58:29 2008 New Revision: 7673 Modified: freeswitch/trunk/src/mod/Makefile.am Log: update Modified: freeswitch/trunk/src/mod/Makefile.am ============================================================================== --- freeswitch/trunk/src/mod/Makefile.am (original) +++ freeswitch/trunk/src/mod/Makefile.am Mon Feb 18 14:58:29 2008 @@ -15,7 +15,8 @@ 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 \