Switch to unified view

a/src/configure b/src/configure
...
...
2335
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2335
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2336
if test X$rcl_iconv_inbuf_const = X1 ; then
2336
if test X$rcl_iconv_inbuf_const = X1 ; then
2337
2337
2338
cat >>confdefs.h <<\_ACEOF
2338
cat >>confdefs.h <<\_ACEOF
2339
#define RCL_ICONV_INBUF_CONST 1
2339
#define RCL_ICONV_INBUF_CONST 1
2340
_ACEOF
2341
2342
fi
2343
2344
2345
echo "$as_me:$LINENO: checking for type of string parameter to putenv" >&5
2346
echo $ECHO_N "checking for type of string parameter to putenv... $ECHO_C" >&6
2347
cat >conftest.$ac_ext <<_ACEOF
2348
/* confdefs.h.  */
2349
_ACEOF
2350
cat confdefs.h >>conftest.$ac_ext
2351
cat >>conftest.$ac_ext <<_ACEOF
2352
/* end confdefs.h.  */
2353
2354
    #include <stdlib.h>
2355
2356
int
2357
main ()
2358
{
2359
2360
    putenv((const char *)0);
2361
2362
  ;
2363
  return 0;
2364
}
2365
_ACEOF
2366
rm -f conftest.$ac_objext
2367
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2368
  (eval $ac_compile) 2>conftest.er1
2369
  ac_status=$?
2370
  grep -v '^ *+' conftest.er1 >conftest.err
2371
  rm -f conftest.er1
2372
  cat conftest.err >&5
2373
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374
  (exit $ac_status); } &&
2375
   { ac_try='test -z "$ac_cxx_werror_flag"
2376
           || test ! -s conftest.err'
2377
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2378
  (eval $ac_try) 2>&5
2379
  ac_status=$?
2380
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381
  (exit $ac_status); }; } &&
2382
   { ac_try='test -s conftest.$ac_objext'
2383
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2384
  (eval $ac_try) 2>&5
2385
  ac_status=$?
2386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387
  (exit $ac_status); }; }; then
2388
  rcl_putenv_string_const="1"
2389
else
2390
  echo "$as_me: failed program was:" >&5
2391
sed 's/^/| /' conftest.$ac_ext >&5
2392
2393
rcl_putenv_string_const="0"
2394
fi
2395
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2396
if test X$rcl_putenv_string_const = X1 ; then
2397
2398
cat >>confdefs.h <<\_ACEOF
2399
#define PUTENV_ARG_CONST 1
2340
_ACEOF
2400
_ACEOF
2341
2401
2342
fi
2402
fi
2343
2403
2344
#### Look for Xapian
2404
#### Look for Xapian