"Fossies" - the Fresh Open Source Software Archive

Member "bed-3.1.1/configure.ac" (20 May 2021, 13073 Bytes) of package /linux/misc/bed-3.1.1.src.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "configure.ac": 3.1.0_vs_3.1.1.

    1 AC_INIT([bed],[3.1.1],[binaryeditor@gmx.com])
    2 #AC_INIT([bed],[$VERSION],[binaryeditor@gmx.com])
    3 AC_CONFIG_HEADERS([src/confdefines.h])
    4 . ./settings
    5 AC_CANONICAL_HOST
    6 AC_CANONICAL_BUILD
    7 
    8 AC_PROG_CC
    9 AC_PROG_CXX
   10 AC_CHECK_TOOL([STRIP],[strip])
   11 if $STRIP -V|grep  GNU
   12 then
   13     GNUSTRIP=yes
   14 else
   15     GNUSTRIP=no
   16 fi
   17 AC_PATH_PROG(MAN2HTML,man2html)
   18 if test .$MAN2HTML != . && $MAN2HTML -Hwww.test.org -M /a/path/ < man2html/man2html.1|grep -q '<B><A HREF="http://www.test.org/a/path/?1+man">man</A></B>(1)'
   19 then
   20     echo found, use system version.
   21 else
   22     MAN2HTML=../man2html/man2html
   23     echo not found, use included version.
   24 fi
   25 
   26 CYGWIN=no
   27 SOLARIS=no
   28 case $host_os in
   29     *android*) SYSTEM=Android;;
   30     *linux* ) SYSTEM=Linux;;
   31     *freebsd* ) SYSTEM=FreeBSD;;
   32     *solaris* ) SYSTEM=SunOS;SOLARIS=yes;;
   33     *cygwin* ) CYGWIN=yes;SYSTEM=CYGWIN;;
   34 esac
   35 echo Host os for bed $host_os
   36 echo Host cpu $host_cpu
   37 if test .$SOLARIS = .yes
   38 then
   39 export LDFLAGS="-L/usr/gnu/lib -R/usr/gnu/lib"
   40 CONFIG_LINKINPLUGINS=n
   41 else
   42 CONFIG_LINKINPLUGINS=y
   43 fi
   44 
   45 if test .$CYGWIN = .yes
   46 then
   47 CYGWINDLL=2000
   48 if test .$cross_compiling = .no
   49 then
   50 AC_RUN_IFELSE([AC_LANG_SOURCE([[
   51 #include <stdio.h>
   52 #include <sys/cygwin.h>
   53 #include <cygwin/version.h>
   54 int main(void) {
   55     int get= CYGWIN_VERSION_DLL_MAJOR;
   56     FILE *file=fopen("conftest.printzd","w");
   57     if(!file)
   58         return(2);
   59     fprintf(file,"%d\n",get);
   60     fclose(file);
   61     return(0);
   62 }
   63 ]])],[CYGWINDLL=`cat conftest.printzd` ],[],[])
   64 echo CYGWIN_VERSION_DLL_MAJOR=$CYGWINDLL
   65 else
   66 echo "cross compiling, assume CYGWIN_VERSION_DLL_MAJOR > 1007"
   67 fi # cross
   68 
   69 fi # CYGWIN
   70 
   71 AC_LANG(C)
   72 AC_LANG(C++)
   73 #AC_PROG_CPP
   74 #AC_PROG_CXXCPP
   75 AC_PROG_EGREP
   76 #AC_PROG_INSTALL
   77 
   78 AC_CHECK_SIZEOF(long)
   79 AC_CHECK_TYPES([off64_t,__off64_t])
   80 
   81 #OLDLIBS=$LIBS
   82 #AC_CHECK_FUNC(GetWindowsDirectoryA ,WINDOWS=yes,WINDOWS=no)
   83 AC_CHECK_FUNC(GetStdHandle,WINDOWS=yes,WINDOWS=no)
   84 if test .$WINDOWS = .no
   85 then
   86 AC_CHECK_LIB(kernel32,GetStdHandle,WINDOWS=yes,WINDOWS=no)
   87 if test .$WINDOWS = .no
   88 then
   89 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <windows.h>
   90 ]], [[{
   91 GetStdHandle(STD_OUTPUT_HANDLE) ;
   92 }]])],[WINDOWS=yes],[WINDOWS=no])
   93 fi
   94 
   95 fi
   96 
   97 AC_CHECK_FUNCS(strchrnul setenv ftruncate64 truncate64 open64 stat64 fstat64 glob stpcpy sendfile sendfile64 bzero sigsuspend sigaddset memccpy kill  tcsetattr)
   98 
   99 
  100 
  101 AC_CHECK_HEADERS(curses.h ncurses.h ncurses/ncurses.h gnuregex.h regex.h float.h sys/errno.h errno.h sys/ioctl.h dirent.h sys/wait.h termios.h sys/mman.h re2/re2.h)
  102 
  103 
  104 AC_CHECK_LIB(magic, magic_buffer, HAVE_MAGIC_H=1)
  105 if test   .$HAVE_MAGIC_H != .1
  106 then
  107     AC_CHECK_LIB(z, magic_buffer,HAVE_MAGIC_H=1; LIBS+=-lz,true,-lmagic)
  108 fi
  109 if test .$HAVE_MAGIC_H = .1
  110 then
  111         AC_SUBST(HAVE_MAGIC_H,1)
  112 fi
  113 
  114 #AC_CHECK_HEADER(magic.h,HAVE_MAGIC_H=1)
  115 #if test .$HAVE_MAGIC_H = .1
  116 #   then
  117 #       AC_SUBST(HAVE_MAGIC_H)
  118 #       AC_DEFINE(HAVE_MAGIC_H)
  119 #   fi
  120 AC_EGREP_HEADER(tigetstr,$CURSESLIB.h,HAS_TIGETSTR_HEADER=1,unset HAS_TIGETSTR_HEADER)
  121 
  122 AC_CHECK_LIB($CURSESLIB,PDC_ungetch,AC_DEFINE(USE_KEYPAD) AC_DEFINE(PDCURSES) PDCURSES=1,)
  123 AC_CHECK_LIB($CURSESLIB,assume_default_colors,true,AC_DEFINE(NODEFAULTCOLORS))
  124 AC_CHECK_LIB($CURSESLIB,delscreen,AC_DEFINE(HASDELSCREEN),)
  125 AC_CHECK_LIB($CURSESLIB,curs_set,AC_DEFINE(HAS_CURS_SET),)
  126 AC_CHECK_LIB($CURSESLIB,start_color,CONFIG_COLOR=y,CONFIG_COLOR=n)
  127 AC_CHECK_LIB($CURSESLIB,wresize,AC_DEFINE(HAS_WRESIZE),)
  128 AC_CHECK_LIB($CURSESLIB,tigetstr,[
  129 if test $HAS_TIGETSTR_HEADER
  130 then
  131 echo HAS_TIGETSTR_HEADER and HAS_TIGETSTR
  132 AC_DEFINE(HAS_TIGETSTR)
  133 fi
  134 ],)
  135 #AC_FUNC_MMAP
  136 OLDLIBS=$LIBS
  137 AC_SEARCH_LIBS(dlopen,dl, CONFIG_PLUGIN=y,CONFIG_PLUGIN=n)
  138 LIBS=""
  139 AC_CHECK_LIB(dl,dlopen)
  140 DLLIBS=$LIBS
  141 AC_SEARCH_LIBS(lseek64,c,CONFIG_LARGEFILES=y;AC_DEFINE(HAS_LSEEK64),CONFIG_LARGEFILES=n)
  142 echo -n "Checking for sigsetjmp ... "
  143 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <setjmp.h>
  144 ]], [[{
  145 sigjmp_buf  jmp;
  146 if(sigsetjmp(jmp,2)==4) { }
  147 }]])],[echo yes;AC_DEFINE(HAS_SIGSETJMP)],[echo no]) 
  148 #AC_SEARCH_LIBS(__sigsetjmp,c gcc_s ,AC_DEFINE(HAS_SIGSETJMP))
  149 
  150 AC_CHECK_SIZEOF(off_t)
  151 if test .$CONFIG_LARGEFILES = .n
  152 then
  153 
  154 EXTRAFLAGS="$EXTRAFLAGS -DSIZEOF_OFF_T=$ac_cv_sizeof_off_t" 
  155 
  156 if test -n $ac_cv_sizeof_off_t
  157 then
  158     AC_SUBST(SIZEOF_OFF_T)
  159     if test $ac_cv_sizeof_off_t -ge 8
  160     then
  161     CONFIG_LARGEFILES=y
  162     fi
  163 fi
  164 fi
  165 
  166 AC_CHECK_SIZEOF(ssize_t)
  167 AC_CHECK_SIZEOF(long double)
  168 
  169 #m4_include([m4-ax_printf_size_t.m4])
  170 
  171 #AX_PRINTF_SIZE_T
  172 
  173 
  174 AC_EGREP_CPP(yes234,
  175      [
  176 #include <sys/mman.h>
  177 #if defined(MAP_FAILED)
  178        yes234
  179      #endif
  180      ], AC_DEFINE(HAS_MAP_FAILED))
  181 
  182 AC_SEARCH_LIBS(mremap,c,AC_DEFINE(HAS_MREMAP))
  183 AC_SEARCH_LIBS(mkstemp,c,AC_DEFINE(HAS_MKSTEMP))
  184 AC_SEARCH_LIBS(strnlen,c,AC_DEFINE(HAS_STRNLEN))
  185 AC_CHECK_LIB(c,getusershell,AC_DEFINE(HAS_GETUSERSHELL),)
  186 AC_CHECK_LIB(c,gmtime_r,AC_DEFINE(HAS_GMTIME_R))
  187 AC_CHECK_LIB(c,localtime_r,AC_DEFINE(HAS_LOCALTIME_R))
  188 AC_CHECK_LIB(c,strtoll,AC_DEFINE(HAS_STRTOLL),)
  189 AC_CHECK_LIB(c,pread,AC_DEFINE(HAS_PREAD),)
  190 #AC_CHECK_LIB(c,copy_file_range,AC_DEFINE(HAS_COPY_FILE_RANGE),)
  191 
  192 if test .$SYSTEM != .Android
  193 then
  194     AC_CHECK_LIB(c,ttyname_r,AC_DEFINE(HAS_TTYNAME_R),)
  195 fi
  196 AC_CHECK_LIB(c,realpath,AC_DEFINE(HAS_REALPATH),)
  197 
  198 
  199 AC_CHECK_FUNCS_ONCE(timegm)
  200 
  201 echo -n 'Checking for tm_gmtoff... '
  202 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>
  203 #include <time.h>
  204 ]], [[{
  205 struct tm tim;
  206 printf("%d",tim.tm_gmtoff);
  207 }
  208  ]])],[echo yes],[echo no;TIMEZONENEEDED=1; AC_DEFINE(TIMEZONENEEDED)])
  209 if test .$TIMEZONENEEDED = .1
  210 then
  211 echo -n 'Checking for int timezone... '
  212 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>
  213 #include <stdio.h>
  214 ]], [[{
  215 time_t x;
  216 x+=timezone;
  217 }
  218 ]])],[echo yes;AC_DEFINE(NOTIMEZONE)],[echo no])
  219 fi
  220 
  221 AC_LANG(C++)
  222 AC_CHECK_LIB(c,strptime,,AC_DEFINE(OWNTRANSTIME))
  223 
  224 
  225 #AC_COMPILE_IFELSE( #define _XOPEN_SOURCE   #include <time.h> int main(void) { struct tm uit;   char formal[100]; strptime(formal,"%a %b %e %H:%M:%S " , &uit); return 0; } ,,AC_DEFINE(OWNTRANSTIME)) 
  226 
  227 
  228 
  229 
  230 AC_SEARCH_LIBS(clock_gettime,rt,AC_DEFINE(HAVE_CLOCK_GETTIME))
  231 LIBS=$OLDLIBS
  232 AC_SEARCH_LIBS(xre_search_2,iberty,HAS_RE_SEARCH=y,HAS_RE_SEARCH=n)
  233 #AC_SEARCH_LIBS(re_search_2,gnuregex,HAS_RE_SEARCH=y,HAS_RE_SEARCH=n)
  234 if test $HAS_RE_SEARCH = n
  235 then
  236 if test -d regex-0.13
  237 then
  238 AC_CONFIG_SUBDIRS([regex-0.13])
  239 fi
  240 fi
  241 OLDLIBS=$LIBS
  242 LIBS=""
  243 AC_SEARCH_LIBS(hs_scan_stream ,hs , USE_HYPERSCAN=1 )
  244 LIBHS=$LIBS
  245 #AC_CHECK_HEADER(re2/re2.h,USE_RE2=1 )
  246 
  247 LIBS=""
  248 AC_SEARCH_LIBS(_ZN3re23RE213PartialMatchNERKNS_11StringPieceERKS0_PKPKNS0_3ArgEi ,re2 , HAVE_RE2_RE2_H=1 )
  249 LIBRE2=$LIBS
  250 LIBS=""
  251 AC_SEARCH_LIBS(pthread_create,pthread c_r,CONFIG_THREADS=y,CONFIG_THREADS=n)
  252 echo  CONFIG_THREADS=$CONFIG_THREADS 
  253 if test $CONFIG_THREADS = y
  254 then
  255 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>
  256 ]], [[{
  257     pthread_mutexattr_t mut;
  258     pthread_mutexattr_init(&mut);
  259     pthread_mutexattr_settype(&mut,PTHREAD_MUTEX_ERRORCHECK);
  260     }
  261 ]])],[AC_DEFINE(MY_PTHREAD_MUTEX_ERRORCHECK,PTHREAD_MUTEX_ERRORCHECK)],[])
  262 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <pthread.h>
  263 ]], [[{
  264     pthread_mutexattr_t mut;
  265     pthread_mutexattr_init(&mut);
  266     pthread_mutexattr_settype(&mut,PTHREAD_MUTEX_ERRORCHECK_NP);
  267     }
  268 ]])],[AC_DEFINE(MY_PTHREAD_MUTEX_ERRORCHECK,PTHREAD_MUTEX_ERRORCHECK_NP)],[])
  269 
  270 AC_SEARCH_LIBS(sem_wait,pthread c_r,AC_DEFINE(HAS_SEMAPHORE))
  271 AC_SEARCH_LIBS(sem_getvalue,pthread c_r,AC_DEFINE(HAS_GETVALUE))
  272 
  273 fi
  274 
  275 THREADSLIB=$LIBS
  276 LIBS=$OLDLIBS
  277 
  278 
  279 echo -n 'checking for sysconf(_SC_AVPHYS_PAGES)... '
  280 AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <unistd.h>
  281 ]], [[long psize;
  282 long av;
  283 long max;
  284 psize=sysconf(_SC_PAGESIZE);
  285 max=sysconf(_SC_PHYS_PAGES);
  286 av=sysconf(_SC_AVPHYS_PAGES);
  287 return(0);
  288  ]])],[echo yes;AC_DEFINE(SYSCONF_MEM)],[echo no])
  289 
  290 AC_SEARCH_LIBS(log,m)
  291 
  292 
  293 RXVTS="rxvt rxvt.bin rxvt.sh rxvt-xpm rxvt-xterm"
  294 RXVT=""
  295 NRXVT=""
  296 CONFIG_XBED=n
  297 if test .$PDCURSES != .1
  298 then
  299 for i in $RXVTS
  300 do
  301     if $i -h 2>&1 | grep -qi menubar
  302     then
  303         CONFIG_XBED=y
  304         RXVT="$RXVT $i"
  305     else
  306         NRXVT="$NRXVT $i"
  307     fi
  308 done
  309 if test .$CONFIG_XBED != .y
  310 then
  311         RXVT=rxvt
  312 fi
  313 fi
  314 AC_CHECK_PROG(CONFIG_PROGMAN,update-menus,y,n)
  315 AC_CHECK_PROG(HAS_FILE,file,y,n)
  316 AC_CHECK_PROG(HAS_NROFF,nroff,y,n)
  317 if test .$HAS_FILE = .y
  318 then
  319 echo $CC $CPPFLAGS $CFLAGS $LDFLAGS conftest.c -o conftest
  320 echo -n "Checking ELF format ..."
  321 cat > conftest.c <<!
  322 int main(void)      {
  323 }
  324 !
  325 ELFSIZE=unknown
  326 $CC $CPPFLAGS $CFLAGS $LDFLAGS conftest.c -o conftest
  327 ELFFILEUIT=`file conftest`
  328 case "$ELFFILEUIT" in 
  329   *[[^A-Za-z]]ELF[[^A-Za-z]]*)   # double [[ because of autoconf
  330     echo -n ' yes '
  331     USES_ELF=y
  332     case "$ELFFILEUIT" in 
  333      *\(x86_\)*)
  334        ;&
  335      *\(ARM\)*)
  336        ;&
  337       *[[^0-9]]32[[^0-9]]*)
  338         ELFSIZE=32
  339         ;;
  340       *[[^0-9]]64[[^0-9]]*)
  341         ELFSIZE=64
  342         ;;
  343         esac
  344     echo $ELFSIZE bits
  345     ;;
  346     *)
  347     echo no
  348     USES_ELF=n
  349 esac
  350 rm -f conftest
  351 fi
  352 #if test .$SYSTEM = .Linux
  353 #then
  354 #   AC_DEFINE(PROCARRAY)
  355 #fi
  356 
  357 #   AC_DEFINE(NOSTOPANDTHREADS)
  358 AC_PROG_LN_S
  359 if $LN_S -fr $0 conftest 
  360 then
  361 rm conftest
  362 AC_SUBST(HAVE_LN_R,y)
  363 else
  364 AC_SUBST(HAVE_LN_R,n)
  365 fi
  366 AC_PATH_XTRA
  367 echo nox: $no_x
  368 if test .$no_x = .yes
  369 then
  370     HAS_X=n
  371 else
  372     HAS_X=y
  373 fi
  374 AC_LANG([C++])
  375 
  376 
  377 AC_LANG(C++)
  378 #m4_include([ax_cxx_check_lib.m4])
  379 #AX_CXX_CHECK_LIB(stdc++,[Std::set_new_handler],  AC_DEFINE(HAS_SETNEWHANDLER))
  380 #AX_CXX_CHECK_LIB(c,[Std::set_new_handler],  AC_DEFINE(HAS_SETNEWHANDLER))
  381 #AX_CXX_CHECK_LIB(gcc_s,[Std::set_new_handler],  AC_DEFINE(HAS_SETNEWHANDLER))
  382 #AC_LANG(C++)
  383 #AC_SEARCH_LIBS(Std::set_new_handler, stdc++ c gcc_s, AC_DEFINE(HAS_SETNEWHANDLER))
  384 
  385 
  386 AC_CHECK_HEADER(new,AC_DEFINE(HAVE_NEW))
  387 if test "x$ac_cv_header_new" = xyes
  388  then 
  389 echo -n "Checking for std::set_new_handler ... "
  390 cat > conftest.cc <<!
  391 #include <new>
  392 
  393 void mynewhandler(void) {
  394         }
  395 
  396 int main(void)
  397  {
  398 std::set_new_handler(mynewhandler);
  399 return(0);
  400 }
  401 !
  402 else
  403 echo -n "Checking for set_new_handler ... "
  404 cat > conftest.cc <<!
  405 #include <new.h>
  406 void mynewhandler(void) {
  407     }
  408 int main(void)
  409  {
  410 set_new_handler(mynewhandler);
  411 return(0);
  412 !
  413 fi
  414 if $CXX $CPPFLAGS $CXXFLAGS  $LDFLAGS conftest.cc -o conftest
  415 then
  416 AC_DEFINE(HAS_SETNEWHANDLER)
  417 echo yes
  418 else
  419 echo no
  420 fi
  421 
  422 
  423 
  424 rm conftest.cc conftest
  425 # Don't use c++14 because of "warning: taking sizeof array of runtime bound [-Wvla]"
  426 # and sizeof returns 1
  427 for GXXVERSION in c++20 c++2a c++17 c++1z gnu++1z c++14 c++1y gnu++14 gnu++1y c++11
  428 do
  429 echo -n "$GXXVERSION: "
  430 if  test -z "`$CXX -std=$GXXVERSION -x c++ - 2>&1 <<!
  431 int main(void) {
  432     int x=20;
  433     char  buf[[x]];
  434     return sizeof(buf);
  435     }
  436 !
  437 `"
  438 then
  439 break
  440 fi
  441 done
  442 echo take $GXXVERSION 
  443 
  444 
  445 function findprogenk() {
  446     try=g$prog
  447     if hash $try
  448     then 
  449         retval=$try
  450     else
  451         if test "$iscpp" = "+"
  452         then
  453             retval=clang++  
  454         else
  455             retval=clang
  456         fi
  457     
  458     fi
  459     }
  460 function  findprog() {
  461     prog=$1
  462     iscpp="${prog:1:1}"
  463     if test -z "$build_alias"
  464     then
  465         findprogenk 
  466     else
  467         if test "$iscpp" = "+"
  468         then
  469             try=$build_alias-c$prog
  470         else
  471             try=$build_alias-$prog
  472         fi  
  473         if hash $try
  474         then
  475                 retval=$try
  476         else
  477             try=$build_alias-g$prog
  478             if hash $try
  479             then
  480                     retval=$try
  481             else
  482                 findprogenk
  483             fi
  484         fi
  485     fi
  486     echo FOR BUILD ARCH $retval
  487     }
  488 
  489 
  490 
  491 
  492 
  493 AC_CHECK_HEADER(features.h,,echo fea;EXTRAFLAGS="$EXTRAFLAGS -I\$(BEDSRCDIR)/utils")
  494 AC_CHECK_HEADER(alloca.h,,echo allo;EXTRAFLAGS="$EXTRAFLAGS -I\$(BEDSRCDIR)/x11")
  495 
  496 HOSTCONF="conf-$host_alias.h"
  497 AC_SUBST(CROSS_COMPILING,$cross_compiling)
  498 AC_DEFINE_UNQUOTED(HOST_ALIAS,"$host_alias")
  499 AC_DEFINE_UNQUOTED(BUILD_ALIAS,"$build_alias")
  500 AC_DEFINE_UNQUOTED(HOSTCONF,"$HOSTCONF")
  501 AC_SUBST(HOSTCONF)
  502 AC_SUBST(HOST_ALIAS,$host_alias)
  503 AC_SUBST(HOST_OS,$host_os)
  504 AC_SUBST(GXXVERSION)
  505 
  506 
  507 findprog cc
  508 AC_SUBST(TOBUILDCC,$retval)
  509 findprog ++
  510 AC_SUBST(TOBUILDCXX,$retval)
  511 
  512 
  513 AC_SUBST(host_cpu)
  514 AC_SUBST(SIZEOF_SSIZE_T)
  515 AC_SUBST(PRI_SIZE_T_MODIFIER)
  516 AC_SUBST(HAS_APPLICATIONS)
  517 AC_SUBST(HAVE_OFF64_T)
  518 AC_SUBST(HAS_X)
  519 AC_SUBST(X_CFLAGS)
  520 AC_SUBST(X_EXTRA_LIB)
  521 AC_SUBST(X_PRE_LIBS)
  522 AC_SUBST(X_LIBS)
  523 AC_SUBST(SYSTEM)
  524 AC_SUBST(WINDOWS)
  525 AC_SUBST(USES_ELF)
  526 AC_SUBST(ELFSIZE)
  527 AC_SUBST(HAS_FILE)
  528 #AC_SUBST(HAS_MAKEDEPEND)
  529 AC_SUBST(CONFIG_XBED)
  530 AC_SUBST(RXVT)
  531 AC_SUBST(NRXVT)
  532 AC_SUBST(CONFIG_PROGMAN)
  533 AC_SUBST(HAS_RE_SEARCH)
  534 AC_SUBST(CONFIG_PLUGIN)
  535 AC_SUBST(CONFIG_THREADS)
  536 AC_SUBST(USE_HYPERSCAN)
  537 AC_SUBST(LIBHS)
  538 AC_SUBST(LIBRE2)
  539 AC_SUBST(USE_RE2,$HAVE_RE2_RE2_H)
  540 AC_SUBST(CONFIG_LARGEFILES)
  541 AC_SUBST(CONFIG_COLOR)
  542 AC_SUBST(DYNAMICCURSES)
  543 AC_SUBST(STATICCURSES)
  544 AC_SUBST(CURSESLIB)
  545 AC_SUBST(EXTRALIBS)
  546 #AC_SUBST(VERSION)
  547 #AC_SUBST(LOWVERSION)
  548 #AC_SUBST(MIDVERSION)
  549 #AC_SUBST(UPVERSION)
  550 AC_SUBST(PROGRAMC)
  551 AC_SUBST(PROGRAMLD)
  552 AC_SUBST(CXX)
  553 AC_SUBST(CC)
  554 AC_SUBST(CXX)
  555 AC_SUBST(LIBS)
  556 AC_SUBST(DLLIBS)
  557 AC_SUBST(THREADSLIB)
  558 AC_SUBST(EXTRAFLAGS)
  559 AC_SUBST(CYGWIN)
  560 AC_SUBST(GNUSTRIP)
  561 AC_SUBST(CYGWINDLL)
  562 AC_SUBST(PDCURSES)
  563 AC_SUBST(CONFIG_LINKINPLUGINS)
  564 AC_SUBST(MAN2HTML)
  565 AC_CONFIG_FILES([config pkg/Makefile man2html/Makefile])
  566 AC_OUTPUT
  567 
  568 ./buildinfo/configure
  569 echo $CXX  $PROGRAMC $CPPFLAGS $CXXFLAGS  $PROGRAMLD $LDFLAGS hosttest.cc reversetime.cc -o hosttest
  570 $CXX  $PROGRAMC $CPPFLAGS $CXXFLAGS  $PROGRAMLD $LDFLAGS hosttest.cc reversetime.cc -o hosttest
  571 
  572 if test .$cross_compiling != .no
  573 then
  574 echo "****Cross Compiling: certain information about future host of bed not known. Run ./hosttest on the host to get this information.  ****"
  575 echo "****information will be saved in $HOSTCONF                                        ****"
  576 echo "****put the generated file $HOSTCONF in  directory ./src                              ****"
  577 else
  578 cd src;../hosttest
  579 fi
  580