Opened 12 years ago

Closed 12 years ago

#2277 closed Bug (fixed)

configure.ac: check for function 'daemon' just once

Reported by: stdisease Owned by: stdisease
Priority: Lowest Milestone: 1.73
Component: Transmission Version: 1.72+
Severity: Trivial Keywords:
Cc:

Description

AC_CHECK_FUNCS in configure.ac checks or daemon twice, remove the second occurrence.

Index: configure.ac
===================================================================
--- configure.ac	(revision 8813)
+++ configure.ac	(working copy)
@@ -81,7 +81,7 @@
 AC_HEADER_STDC
 AC_HEADER_TIME
 
-AC_CHECK_FUNCS([lrintf strlcpy daemon dirname basename daemon strcasecmp localtime_r posix_fallocate memmem])
+AC_CHECK_FUNCS([lrintf strlcpy daemon dirname basename strcasecmp localtime_r posix_fallocate memmem])
 AC_PROG_INSTALL
 AC_PROG_MAKE_SET
 ACX_PTHREAD

Attachments (1)

trans-conf-f-check.patch (468 bytes) - added by stdisease 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by stdisease

comment:1 Changed 12 years ago by livings124

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.