remove @libname@

This commit is contained in:
rlar 2011-12-29 14:32:47 +00:00
parent 69031273fb
commit 1fdee871b1
2 changed files with 6 additions and 10 deletions

View File

@ -1,3 +1,8 @@
2011-12-29 Robert Larice
* configure.ac :
remove @libname@
has been replaced by $(pkglibdir)
2011-12-29 Robert Larice
* configure.ac ,
* src/Makefile.am ,

View File

@ -807,7 +807,7 @@ AC_CHECK_PROGS(YACC, 'bison -y' byacc yacc)
################# XSPICE ##################################################
dnl Add new code models to the build by pointing to them here.
libname="lib"
if test "$enable_xspice" = "yes"; then
if test -z "${YACC}" ; then
AC_MSG_ERROR([XSPICE build requires bison, byacc or yacc parser generator])
@ -839,14 +839,6 @@ dnl Define variables for LEX
XSPICEINIT=""
AC_CHECK_FUNCS([modf])
AC_CHECK_HEADERS([libintl.h malloc.h])
dnl Find the library directory (lib or lib64) for XSPICE libs
if test -n $libdir ; then
libtest=`expr $libdir : '.*\/lib64$'`
if test $libtest -gt 5 ; then
libname="lib64"
fi
echo XSPICE libraries in directory $libname
fi
else
XSPICEINIT="*"
@ -856,7 +848,6 @@ else
fi
AC_SUBST(XSPICEINIT)
AC_SUBST(XSPICEDLLIBS)
AC_SUBST(libname)
AM_CONDITIONAL([XSPICE_WANTED], [test "$enable_xspice" = "yes"])