Branch: Tag:

2005-01-03

2005-01-03 13:17:07 by Marcus Agehall <agehall@gmail.com>

Added configure test for dlinit() which doesn't exist on many platforms.

Rev: src/configure.in:1.865
Rev: src/main.c:1.223
Rev: src/pike_embed.h:1.5

2:   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: main.c,v 1.222 2005/01/01 17:35:54 grubba Exp $ + || $Id: main.c,v 1.223 2005/01/03 13:17:07 agehall Exp $   */      #include "global.h"
250:    find_lib_dir(argc, argv);      #ifdef LIBPIKE + #ifdef HAVE_DLINIT    if (!dlinit()) {    fprintf(stderr, "dlinit failed.\n");    exit(1);    } -  + #endif /* HAVE_DLINIT */       if (!(libpike = dlopen(libpike_name, RTLD_NOW))) {    const char *err = dlerror();