cvs commit: ALFS/nALFS bootstrap.configure

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Fri Feb 6 20:06:20 PST 2004


kpfleming    04/02/06 21:06:20

  Modified:    nALFS    bootstrap.configure
  Log:
  enable static build if ncurses has been built with --with-termlib
  
  Revision  Changes    Path
  1.14      +4 -1      ALFS/nALFS/bootstrap.configure
  
  Index: bootstrap.configure
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/bootstrap.configure,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- bootstrap.configure	30 Dec 2003 15:58:29 -0000	1.13
  +++ bootstrap.configure	7 Feb 2004 04:06:20 -0000	1.14
  @@ -48,7 +48,10 @@
   AC_SUBST([MAIN_LIBS])
   AM_CONDITIONAL(STATIC_BUILD, test x${enable_static} = xyes)
   AS_IF([test x${enable_static} = xyes],
  -      [AC_DEFINE([STATIC_BUILD], [1], [Define if the application is being built as a static executable.])],
  +      [AC_DEFINE([STATIC_BUILD], [1], [Define if the application is being built as a static executable.])
  +       AC_CHECK_LIB([ncurses], [tputs], [], [tinfo_needed=yes], [-static])
  +       AS_IF([test x${tinfo_needed} = xyes], AC_CHECK_LIB([tinfo], [tputs], [MAIN_LIBS="${MAIN_LIBS} -ltinfo"]))
  +      ],
         [AC_DEFINE_DIR([HANDLERS_DIRECTORY], [libdir/nALFS], [Define to location where the handler shared plugin files are installed.])])
   
   AC_ARG_ENABLE([inline], [AC_HELP_STRING([--enable-inline], [enable compiler inlining of most functions [[default=no]]])], [], [enable_inline=no])
  
  
  



More information about the alfs-log mailing list