bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Little problem in configure


From: Yury Umanets
Subject: Re: Little problem in configure
Date: Sun, 08 Sep 2002 13:25:55 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

Pierre wrote:

Hi,

If you do a  ./configure --help  you will see :

[...]
  --enable-shared=PKGS  build shared libraries default=yes
  --enable-shared=PKGS  build shared libraries default=no
[...]

I think only one should be there, isn't it ?

Of course, you are right.

AM_ENABLE_SHARED
if test "$OS" = linux -a $ac_cv_sizeof_off_t -lt 8; then
       dnl Need to disable shared libraries, to get llseek() to work.  Long
       dnl story.  The short story is: lseek() isn't in glibc, so a syscall
dnl must be made. syscalls can't be made from within shared libraries,
       dnl because of a bug (?) in gcc.
       AC_MSG_WARN(
off_t is less than 8 bytes.  Using llseek syscall, and disabling shared
libraries.)
       AM_DISABLE_SHARED
fi


As you can see we have both AM_ENABLE_SHARED and AM_DISABLE_SHARED mactro is use.

Because of they you have two options simultaneously




Regards,

Pierre.


_______________________________________________
Bug-parted mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-parted




--
Yury Umanets






reply via email to

[Prev in Thread] Current Thread [Next in Thread]