Show
Ignore:
Timestamp:
05/10/07 16:43:36 (20 months ago)
Author:
matthiasm
Message:

Added a new target to the Make system called 'libnewt' which creates a static newt library in 'build/libnewt.a'. This is verified to work on Ubuntu/Linux.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • NEWT0/trunk/configure.in

    r81 r102  
    201201AC_SUBST(LIBREGEX) 
    202202 
     203dnl 
     204dnl How to create static libraries 
     205dnl 
     206AC_PROG_RANLIB 
     207AC_PATH_PROG(AR, ar) 
     208if test "x$AR" = "x:"; then 
     209    AC_MSG_ERROR(Configure could not find the library archiver, aborting.) 
     210fi 
     211if test "x$RANLIB" != "x:"; then 
     212    LIBCOMMAND="$AR cr" 
     213else 
     214    LIBCOMMAND="$AR crs" 
     215fi 
     216AC_SUBST(LIBCOMMAND) 
     217LIBEXT=".a" 
     218AC_SUBST(LIBEXT) 
     219 
     220 
    203221AC_CONFIG_FILES([Makefile 
    204222                 ext/protoFILE/Makefile