DragonFly BSD
DragonFly kernel List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

GNU Autotools


From: Craig Dooley <xlnxminusx@xxxxxxxxx>
Date: Wed, 15 Dec 2004 12:40:40 -0500

In order to stop patching individual packages, and using the UNAME
hacks, i was looking to update the ports for the autotools.  While
working on autoconf, I found that if GNU_CONFIGURE is defined, the
FreeBSD ports makefiles copy their own version of config.sub and
config.guess to any ports that use them.  As long as we are using
their system, this will happen (I'm not looking to start a war on
package management).  For now, could we get them to supply a modified
version of config.guess and config.sub in ports/Templates that will
recognize dragonfly?  We also need to get the GNU people to update
their config.sub and config.guess.

-Craig

--- config.guess        2003-10-23 10:28:51.000000000 -0400
+++ config.guess   2004-12-15 12:25:04.000000000 -0500
@@ -751,6 +751,9 @@
     *:BSD/OS:*:*)
        echo ${UNAME_MACHINE}-unknown-bsdi${UNAME_RELEASE}
        exit 0 ;;
+    *:DragonFly:*:*)
+       echo ${UNAME_MACHINE}-unknown-dragonfly`echo
${UNAME_RELEASE}|sed -e 's/[-(].*//'`
+       exit 0 ;;
     *:FreeBSD:*:*|*:GNU/FreeBSD:*:*)
        # Determine whether the default compiler uses glibc.
        eval $set_cc_for_build

--- config.sub  2003-10-23 10:28:51.000000000 -0400
+++config.sub     2004-12-15 12:25:39.000000000 -0500
@@ -1131,7 +1128,7 @@
              | -aos* \
              | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
              | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
-             | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd*
| -freebsd* | -riscix* \
+             | -hiux* | -386bsd* | -netbsd* | -openbsd* | -kfreebsd*
| -freebsd* | -dragonfly* | -riscix* \
              | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* |
-elf* | -oabi* \
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
              | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \

-- 
-----------------------------------------------------------------------
Craig Dooley <xlnxminusx@xxxxxxxxx>



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