From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS22989 209.51.188.0/24 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 326181F461 for ; Sat, 18 May 2019 23:15:24 +0000 (UTC) Received: from localhost ([127.0.0.1]:39705 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hS8Xy-0005oG-Lu for normalperson@yhbt.net; Sat, 18 May 2019 19:15:22 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57099) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hS8Xu-0005nL-Cv for bug-gnulib@gnu.org; Sat, 18 May 2019 19:15:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hS8Xt-0006ul-46 for bug-gnulib@gnu.org; Sat, 18 May 2019 19:15:18 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::4]:24542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hS8Xr-0006ai-U2 for bug-gnulib@gnu.org; Sat, 18 May 2019 19:15:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1558221298; s=strato-dkim-0002; d=clisp.org; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=HVTY+NvaLQAIhAI1mWNkHOim9AQ7JlWJFhHwkM2hbXQ=; b=AFg2NX+umIYiDzdsJGdADr0K8a03qJyjUzHE/X7r8GLo2nO8F9eid4qyOR0tVEsroF tk0EcAE7v3EtbGVNT27/Hc0M1f0OP8UFHP35Q6Ko2GZ5w+xScV3h8w5SitRPb1oifWAN gBLyf4Ve6m389GbbZ+58qTuF7dF/X7Lz0BaHbTYmr2MUf1Y1foBtkR+HKLF2Pn8v4QoQ wBQf4+IVSlcYCReuUmvYjC7bPOBurZv+Z3HNSf96/Vw+UqjESJ1g13lVQmdw5v6iS3rs TOyQ6lJY4qKQHlVWXdmepopVw0mY7n/bA5lS9Pjbbn8EGlNvgyNIC0mA6rTx2nURQ2g5 kvDg== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH+AHjwLuWOGaf0y5RW" X-RZG-CLASS-ID: mo00 Received: from bruno.haible.de by smtp.strato.de (RZmta 44.18 DYNA|AUTH) with ESMTPSA id m03afev4INEt7vY (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate); Sun, 19 May 2019 01:14:55 +0200 (CEST) From: Bruno Haible To: Mohammad Akhlaghi Subject: Re: getgroups.c failes to compile Date: Sun, 19 May 2019 01:14:54 +0200 Message-ID: <15279857.vTerWvMteT@omega> User-Agent: KMail/5.1.3 (Linux/4.4.0-145-generic; KDE/5.18.0; x86_64; ; ) In-Reply-To: References: <851aa96e-c6e9-e368-385c-460b8264b151@akhlaghi.org> <2712988.umiRIUVLac@omega> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a01:238:20a:202:5300::4 X-BeenThere: bug-gnulib@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Gnulib discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: bug-gnulib@gnu.org, Elham Saremi Errors-To: bug-gnulib-bounces+normalperson=yhbt.net@gnu.org Sender: "bug-gnulib" Mohammad Akhlaghi wrote: > > It is be possible to search libraries using AC_RUN_IFELSE instead of > > AC_LINK_IFELSE, and add -rpath options as needed. The AC_LIB_LINKFLAGS > > macro from gnulib does this. It appears that you used the stock Autoconf > > macro, which does not do this. > > You are right, so far we are just using `AC_SEARCH_LIBS'. Thank you very > much for this recommendation. I just defined it as a task [1]. We'll > look into it and hopefully implement it in Gnuastro soon. Here's the relevant documentation: https://www.gnu.org/software/gnulib/manual/html_node/Searching-for-Libraries.html#Locating-Libraries Bruno