delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/07/22/10:37:25

Date: Sat, 22 Jul 2000 18:54:16 +0600 (LKT)
From: Kalum Somaratna aka Grendel <kalum AT lintux DOT cx>
X-Sender: kalum AT roadrunner DOT grendel DOT net
To: djgpp AT delorie DOT com
Subject: Porting software using Autoconf? Easing the pain...
Message-ID: <Pine.LNX.4.21.0007221847330.1537-100000@roadrunner.grendel.net>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Greetings, 

While attemting to port some software written in DJGPP to other platforms
I came across the following problem.

Some functions like strdup are not available on some platforms.
So when GNU autoconf detects that it can set a particular #define, which
says that strdup is not on that system. Then you can supply your own
strdup function.

What I am specificaly interested in is wether anyone knows any code or
library which automatically would enable it's own strdup, strcpy etc
versions on compile time and would make porting of software much easier
using autoconf, rather than me writing all the replacement strdup, strcpy
and other missing functions etc...

Thanks,
Grendel


Hi, I'm a signature virus. plz set me as your signature and help me spread
:)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019