[svn-commits] qwell: branch 1.4 r259748 - in /branches/1.4: Makefile configure configure.ac

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Apr 28 14:17:42 CDT 2010


Author: qwell
Date: Wed Apr 28 14:17:38 2010
New Revision: 259748

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=259748
Log:
Remove usage of `id` since it isn't useful and was causing breakge.

Solaris `id` doesn't support the -u argument.  Instead of figuring out how to
fix this to work on Solaris, I decided to check why it was necessary and where
else it was used.  It was only used in one place, and it hasn't been needed
for a very long time (I question whether it was ever needed).

Modified:
    branches/1.4/Makefile
    branches/1.4/configure
    branches/1.4/configure.ac

Modified: branches/1.4/Makefile
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/Makefile?view=diff&rev=259748&r1=259747&r2=259748
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Wed Apr 28 14:17:38 2010
@@ -66,7 +66,6 @@
 export DOWNLOAD
 export AWK
 export GREP
-export ID
 export OSARCH
 export CURSES_DIR
 export NCURSES_DIR
@@ -414,9 +413,7 @@
 	rm -f build_tools/menuselect-deps
 
 datafiles: _all
-	if [ `$(ID) -u` = 0 ]; then \
-		CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig; \
-	fi
+	CFLAGS="$(_ASTCFLAGS) $(ASTCFLAGS)" build_tools/mkpkgconfig $(DESTDIR)/usr/lib/pkgconfig;
 # Should static HTTP be installed during make samples or even with its own target ala
 # webvoicemail?  There are portions here that *could* be customized but might also be
 # improved a lot.  I'll put it here for now.

Modified: branches/1.4/configure.ac
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/configure.ac?view=diff&rev=259748&r1=259747&r2=259748
==============================================================================
--- branches/1.4/configure.ac (original)
+++ branches/1.4/configure.ac Wed Apr 28 14:17:38 2010
@@ -148,7 +148,6 @@
 AC_PATH_PROG([FIND], [find], :)
 AC_PATH_PROG([COMPRESS], [compress], :)
 AC_PATH_PROG([BASENAME], [basename], :)
-AC_PATH_PROG([ID], [id], :)
 AC_PATH_PROG([DIRNAME], [dirname], :)
 AC_PATH_PROG([SHELL], [sh], :)
 AC_PATH_PROG([LN], [ln], :)




More information about the svn-commits mailing list