~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Open Mash Cross Reference
mash/conf/configure.in.crypt

Component: ~ [ mash ] ~ [ apps ] ~ [ gsm ] ~ [ lib ] ~ [ otcl ] ~ [ srm ] ~ [ tcl8.3 ] ~ [ tclcl ] ~ [ tk8.3 ] ~ [ tutorials ] ~

  1 dnl configure.in.des --
  2 dnl
  3 dnl     'autoconf' input file to look for des library
  4 dnl
  5 dnl Copyright (c) 2000-2002 The Regents of the University of California.
  6 dnl All rights reserved.
  7 dnl
  8 dnl Redistribution and use in source and binary forms, with or without
  9 dnl modification, are permitted provided that the following conditions are met:
 10 dnl
 11 dnl A. Redistributions of source code must retain the above copyright notice,
 12 dnl    this list of conditions and the following disclaimer.
 13 dnl B. Redistributions in binary form must reproduce the above copyright
 14 dnl    notice, this list of conditions and the following disclaimer in the
 15 dnl    documentation and/or other materials provided with the distribution.
 16 dnl C. Neither the names of the copyright holders nor the names of its
 17 dnl    contributors may be used to endorse or promote products derived from
 18 dnl    this software without specific prior written permission.
 19 dnl
 20 dnl THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
 21 dnl IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 22 dnl THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 23 dnl PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
 24 dnl LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 25 dnl CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 26 dnl SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 27 dnl INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 28 dnl CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 29 dnl ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 30 dnl POSSIBILITY OF SUCH DAMAGE.
 31 dnl
 32 dnl $Header: /usr/mash/src/repository/conf/configure.in.crypt,v 1.4 2003/06/24 19:12:10 aswan Exp $
 33 
 34 
 35 AC_ARG_ENABLE(rijndael, [  --enable-rijndael            enable Rijndael compilation], use_rijndael=$enableval, use_rijndael="no")
 36 AC_ARG_ENABLE(des, [  --enable-des              enable desCore compilation], use_des=$enableval, use_des="no")
 37 
 38 
 39 V_OBJ_CRYPT=""
 40 
 41 if test "$use_rijndael" != "no" ; then
 42         V_OBJ_CRYPT="$V_OBJ_CRYPT crypt/crypt-rijndael.o crypt/rijndael/rijndael-api-fst.o crypt/rijndael/rijndael-alg-fst.o"
 43 fi
 44 
 45 if test "$use_des" != "no" ; then
 46         places="desCore.a \
 47                 /usr/src/local/desCore/desCore.a \
 48                 ../desCore/desCore.a"
 49         found=0
 50         for f in $places; do
 51                 if test -f $f ; then
 52                         V_LIB="$V_LIB $f"
 53                         V_OBJ_CRYPT="$V_OBJ_CRYPT crypt/crypt-des.o"
 54                         found=1
 55                         break
 56                 fi
 57         done
 58         if test "$found" = 0 ; then
 59                 AC_MSG_ERROR([DES was enabled but cannot find desCore.a library])
 60         fi
 61 fi

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.