From: oetiker Date: Sun, 26 Oct 2008 15:16:35 +0000 (+0000) Subject: fix for osx porability ... the # in librrd.sym did not work well there X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=41241fc42b996b63698b210a42bdc71d12e5595d;p=rrdtool-all.git fix for osx porability ... the # in librrd.sym did not work well there git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.3@1631 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/src/Makefile.am b/program/src/Makefile.am index b9f98503..f91ae6cd 100644 --- a/program/src/Makefile.am +++ b/program/src/Makefile.am @@ -106,5 +106,7 @@ pkgconfig_DATA = librrd.pc # strftime is here because we do not usually need it. unices have propper # iso date support EXTRA_DIST= librrd.pc.in strftime.c strftime.h rrd_getopt.c rrd_getopt1.c rrd_getopt.h \ - win32comp.c rrd_thread_safe_nt.c get_ver.awk librrd.sym + win32comp.c rrd_thread_safe_nt.c get_ver.awk librrd.sym.in.in +librrd.sym: librrd.sym.in + grep -v LIBC_HAS_GETOPT_LONG librrd.sym.in >$@ diff --git a/program/src/librrd.sym.in b/program/src/librrd.sym.in deleted file mode 100644 index a178f554..00000000 --- a/program/src/librrd.sym.in +++ /dev/null @@ -1,51 +0,0 @@ -rrd_clear_error -rrd_close -rrd_create -rrd_create_r -rrd_dontneed -rrd_dump -rrd_dump_r -rrd_fetch -rrd_fetch_r -rrd_first -rrd_first_r -rrd_flush -rrd_free -rrd_free_context -rrd_freemem -rrd_get_context -rrd_get_error -rrd_graph -rrd_graph_v -rrd_info -rrd_info_free -rrd_info_print -rrd_info_push -rrd_init -rrd_last -rrd_last_r -rrd_lastupdate -rrd_lock -rrd_new_context -rrd_open -rrd_parsetime -rrd_proc_start_end -rrd_read -rrd_resize -rrd_restore -rrd_seek -rrd_set_error -rrd_set_to_DINF -rrd_set_to_DNAN -rrd_strerror -rrd_strversion -rrd_tell -rrd_test_error -rrd_tune -rrd_update -rrd_update_r -rrd_update_v -rrd_version -rrd_write -rrd_xport -@RRD_GETOPT_LONG@ diff --git a/program/src/librrd.sym.in.in b/program/src/librrd.sym.in.in new file mode 100644 index 00000000..a178f554 --- /dev/null +++ b/program/src/librrd.sym.in.in @@ -0,0 +1,51 @@ +rrd_clear_error +rrd_close +rrd_create +rrd_create_r +rrd_dontneed +rrd_dump +rrd_dump_r +rrd_fetch +rrd_fetch_r +rrd_first +rrd_first_r +rrd_flush +rrd_free +rrd_free_context +rrd_freemem +rrd_get_context +rrd_get_error +rrd_graph +rrd_graph_v +rrd_info +rrd_info_free +rrd_info_print +rrd_info_push +rrd_init +rrd_last +rrd_last_r +rrd_lastupdate +rrd_lock +rrd_new_context +rrd_open +rrd_parsetime +rrd_proc_start_end +rrd_read +rrd_resize +rrd_restore +rrd_seek +rrd_set_error +rrd_set_to_DINF +rrd_set_to_DNAN +rrd_strerror +rrd_strversion +rrd_tell +rrd_test_error +rrd_tune +rrd_update +rrd_update_r +rrd_update_v +rrd_version +rrd_write +rrd_xport +@RRD_GETOPT_LONG@