search for: ac_try_run

Displaying 20 results from an estimated 45 matches for "ac_try_run".

2000 Dec 18
2
cross compiling configure errors
...olution then adding "if test "$cross_compiling" = no; then fi" around the failing tests? I feel that there must be more people doing cross compiling out there? I can't find anything in the FAQ or in the mail archives. When running autoconf I get: configure.in:337: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:446: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:492: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:955: warning: Cannot check for file existence when cross compiling...
2002 Apr 03
2
cross compilation?
...hed is a patch that *might* make the right paranoid assumptions, but I am not positive. -- bryan --- configure.ac.orig Tue Feb 26 22:12:35 2002 +++ configure.ac Wed Mar 27 14:28:02 2002 @@ -437,20 +437,6 @@ ] ) -AC_MSG_CHECKING([whether struct dirent allocates space for d_name]) -AC_TRY_RUN( - [ -#include <sys/types.h> -#include <dirent.h> -int main(void){struct dirent d;return(sizeof(d.d_name)<=sizeof(char));} - ], - [AC_MSG_RESULT(yes)], - [ - AC_MSG_RESULT(no) - AC_DEFINE(BROKEN_ONE_BYTE_DIRENT_D_NAME) - ] -) - # Check whether user wants S/Key support SKEY_...
2004 Sep 10
1
automake 1.5
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available Url : http://lists.xiph.org/pipermail/flac-dev/attachments/20011018/019c9936/attachment.pgp
2002 Jun 29
0
[Bug 321] New: configure does not work when cross compiling
...rm: MIPS OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Build system AssignedTo: openssh-unix-dev at mindrot.org ReportedBy: chua at ayrnetworks.com configure does not work when cross compiling because of the AC_TRY_RUN macro without cross-compilation parameters. Most of these can be resolved by relatively safe guesses, changing them to AC_TRY_LINK, or runtime detection. Attached is a patch that allows Openssh 3.4p1 to cross-compile. --- openssh-3.4p1/configure.ac Tue Jun 25 15:35:16 2002 +++ openssh-3.4p1.ayr/...
1999 Nov 13
0
patches for alpha
...t; - #if defined(_FPU_DEFAULT) && defined(_FPU_IEEE) +# include <fpu_control.h> +# if defined(_FPU_DEFAULT) && defined(_FPU_IEEE) return(_FPU_DEFAULT != _FPU_IEEE); - #endif +# endif return(0); } >>, @@ -527,7 +527,7 @@ AC_TRY_RUN( changequote(<<, >>)dnl << - #include <stdlib.h> +# include <stdlib.h> int main () { int *p = calloc(0, sizeof(int)); return(p == 0); @@ -550,14 +550,14 @@ AC_TRY_RUN( changequote(<<, >>)dnl << - #include <math.h> -...
2009 Mar 10
1
Error crosscompiling
Hi, I was trying to crosscompile dovecot, but I got some error: --with-notify=inotify don't work, as it try to run a test program to verify if inotify is supported in the building platform. Solved with --with-notify=dnotify. Ihmo, is more a hack than a solution. | checking whether posix_fallocate() works... configure: error: cannot run test program while cross compiling I can't
2001 Mar 17
2
ao: Sun audio plug-in
Here's the promised Sun audio system plug-in. I have tested this on OpenBSD. It should work without changes on NetBSD, too. Jeremy, could you please verify this? After a few minor tweaks it now also compiles on Solaris 2.7. Alas, I can't verify whether it actually plays anything there. I guess this could also with little effort be made to work on SunOS4. Attached: - Diff to
2004 Sep 10
5
autoheader failing?
With these versions: ii autoconf 2.54-2 automatic configure script builder ii automake1.6 1.6.3-2 A tool for generating GNU Standards-complian I am unable to build the autoconfiscations. autoheader gives: autoheader2.50: error: AC_CONFIG_HEADERS not found in configure.in What versions are you using? (btw, I do think it would be a very good idea to start using
2004 Dec 27
0
[patch] some buildsystem fixes for crosscompiling
..." + AC_SUBST(LD) AC_C_INLINE diff -ruN openssh-3.9p1.orig/configure.ac openssh-3.9p1/configure.ac --- openssh-3.9p1.orig/configure.ac Tue Dec 14 07:41:04 2004 +++ openssh-3.9p1/configure.ac Tue Dec 14 07:41:50 2004 @@ -642,34 +642,7 @@ ] ) -AC_MSG_CHECKING(for zlib 1.1.4 or greater) -AC_TRY_RUN([ -#include <zlib.h> -int main() -{ - int a, b, c, v; - if (sscanf(ZLIB_VERSION, "%d.%d.%d", &a, &b, &c) != 3) - exit(1); - v = a*1000000 + b*1000 + c; - if (v >= 1001004) - exit(0); - exit(2); -} - ], - AC_MSG_RESULT(yes), - [ AC_MSG_RESULT(no) - if test -z &quot...
2001 May 11
2
artifact bug status? / compiling under OpenBSD 2.8
...but I couldn't find the solution. Please tell me a date to look after, if it's been there already. Thanks! Compiling ao/ from the CVS snapshot: autogen.sh also finished, but I get the following warnings: configure.in: 26: required file `./ltconfig' not found configure.in:92: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:93: warning: AC_TRY_RUN called without default to allow cross compiling configure.in:94: warning: AC_TRY_RUN called without default to allow cross compiling Under Linux, I had to manually create a symlink to /usr/lib/libtool/ltconfig in...
2007 Dec 12
0
Patch to make libogg detection a bit smarter
...What I want is to be able cross-compile Speex without OGG - right now it is not possible without som hacking of Speex build scripts, because if cross-compiling enabled speex silently assume that you have libogg compiled and installed. Such behaviour was used (as far as I could imagine) because with AC_TRY_RUN() syntax it is the simplest way. My patch try to link with libogg with AC_TRY_LINK() first and only if it succeed it go with AC_TRY_RUN(). So, if you do not have libogg compiled and installed, test will fail. In other cases it should behave the same way as before. -- Regards, Alexander Chemeris....
2005 Sep 30
4
[Bug 1097] Cross-compile fixes
http://bugzilla.mindrot.org/show_bug.cgi?id=1097 Summary: Cross-compile fixes Product: Portable OpenSSH Version: -current Platform: Other OS/Version: All Status: NEW Severity: minor Priority: P2 Component: Build system AssignedTo: bitbucket at mindrot.org ReportedBy: dtucker at zip.com.au
2001 Oct 24
1
Borken dirname on Solaris 2.5.1
...nssh/configure.in,v retrieving revision 1.5 diff -u -r1.5 configure.in --- configure.in 2001/10/23 16:26:00 1.5 +++ configure.in 2001/10/24 15:09:49 @@ -531,6 +531,23 @@ ) fi +# Check for broken dirname (Solaris 2.5.1) +AC_MSG_CHECKING([whether dirname works correctly for the root directory]) +AC_TRY_RUN( + [ +#include <string.h> +#ifdef HAVE_LIBGEN_H +#include <libgen.h> +#endif +int main(void){char buf[5];strcpy(buf,"/usr");return strlen(dirname(buf))==0;} + ], + [AC_MSG_RESULT(yes)], + [ + AC_MSG_RESULT(no) + AC_DEFINE(BROKEN_DIRNAME) + ] +) + AC_FUNC_GETPGRP # Check...
2004 Jun 22
8
[Bug 321] configure does not work when cross compiling
http://bugzilla.mindrot.org/show_bug.cgi?id=321 ------- Additional Comments From astrand at lysator.liu.se 2004-06-22 20:45 ------- Created an attachment (id=655) --> (http://bugzilla.mindrot.org/attachment.cgi?id=655&action=view) Patch to configure.ac (3.7p1) This new patch is for 3.7p1. It only modifies configure.ac; no C source. Can someone *please* apply? ------- You are
2000 Mar 11
3
TEST RELEASE: openssh-1.2.3pre1
I have just uploaded a test release of 1.2.3. It includes numerous fixes from the OpenBSD team and should fix the stupid configure bugs of 1.2.2p1. http://violet.ibs.com.au/openssh/files/test/ A detailed ChangeLog is in the directory. Please report successes and failures. Regards, Damien Miller -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller -
2004 Oct 21
3
1.0-test51
http://dovecot.org/test/ This release is built with autoconf 2.59 and libtool 1.9. We'll see how it works out :) The required changes were done by Matthias Andree. - The last fix for connection hanging made IDLE use 100% CPU - We don't use Maildir/.INBOX/ directory anymore, indexes are stored in Maildir-root - Don't crash with FETCH BODY[n.MIME] - Changed %p (protocol)
2002 Jul 07
5
[Bug 335] OpenSSL headers do not match your library
http://bugzilla.mindrot.org/show_bug.cgi?id=335 dyw at iohk.com changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal Keywords| |help-wanted OS/Version|Linux |BSDI
2002 Jun 25
2
Linux 2.2 + borken mmap() round 1
...6:49 -0000 1.69 +++ configure.ac 25 Jun 2002 00:16:06 -0000 @@ -574,6 +574,30 @@ socketpair strerror strlcat strlcpy strmode strsep sysconf tcgetpgrp \ truncate utimes vhangup vsnprintf waitpid __b64_ntop _getpty) +if test $ac_cv_func_mmap = yes ; then +AC_MSG_CHECKING([for mmap anon shared]) +AC_TRY_RUN( + [ +#include <stdio.h> +#include <sys/mman.h> +#if !defined(MAP_ANON) && defined(MAP_ANONYMOUS) +#define MAP_ANON MAP_ANONYMOUS +#endif +main() { char *p; +p = (char *) mmap(NULL, 10, PROT_WRITE|PROT_READ, MAP_ANON|MAP_SHARED, -1, 0); +if (p == (char *)-1) + exit(1); +exit(0);...
2001 Feb 13
1
configure.in reorder patch
...DEFINE(HAVE_GETPAGESIZE)], - [AC_CHECK_LIB(ucb, getpagesize, [LIBS="$LIBS -lucb"; AC_DEFINE(HAVE_GETPAGESIZE)])] -) - -# Check for broken snprintf -if test "x$ac_cv_func_snprintf" = "xyes" ; then - AC_MSG_CHECKING([whether snprintf correctly terminates long strings]) - AC_TRY_RUN( - [ -#include <stdio.h> -int main(void){char b[5];snprintf(b,5,"123456789");return(b[4]!='\0');} - ], - [AC_MSG_RESULT(yes)], - [ - AC_MSG_RESULT(no) - AC_DEFINE(BROKEN_SNPRINTF) - AC_MSG_WARN([****** Your snprintf() function is broken, complain to your vendor])...
2001 Oct 23
4
Problems compiling under OS X
While trying to compile libao 0.8.0 under OS X 10.1, I got the following problems: > [localhost:ecc/Sources/libao-0.8.0] root# ./configure > creating cache ./config.cache > checking for a BSD compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking whether make sets ${MAKE}... yes > checking for working aclocal... found >