From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Wed, 18 Jan 2012 11:23:31 +0100 References: <1326745642-53929-1-git-send-email-bernhard@bwalle.de> <201201181105.11155.jbe@pengutronix.de> <4F169A2D.9070404@bwalle.de> In-Reply-To: <4F169A2D.9070404@bwalle.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201201181123.31333.jbe@pengutronix.de> Subject: Re: [ptxdist] [PATCH] sitecopy: Fix build on non-Linux hosts Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Bernhard Walle Cc: ptxdist@pengutronix.de Hi Bernhard, Bernhard Walle wrote: > Am 18.01.2012 11:05, schrieb Juergen Beisert: > > Can you send me the "config.log" file of the sitecopy package, after > > *preparing* (prepare stage) it? Please run it one times without your > > patch shown above. > > I have no other system than Linux here, to check what the autotools > > really detecting on different systems. > > Will do in the evening, Thanks. > but as I remember, it was the '-no-cpp-precomp' > compiler flag that caused the compilation failure: > > > (from configure:) > > if test "$ne_cv_os_uname" = "Darwin"; then > CPPFLAGS="$CPPFLAGS -no-cpp-precomp" > LDFLAGS="$LDFLAGS -flat_namespace" > # poll has various issues in various Darwin releases > if test x${ac_cv_func_poll+set} != xset; then > ac_cv_func_poll=no > fi > fi The correct fix should be something like if test "$host_os" = "Darwin"; then I guess. Testing the "ne_cv_os_uname" variable is for the build host only. But that's why I asked you for the 'config.log' file. I want to see what the autotools do on your system. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de