shiyilei / protobuf-c

Automatically exported from code.google.com/p/protobuf-c
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Request: configure script switch to build libprotobuf_c only #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Trying to build libprotobuf_c only in a cross-compilation setting for an
embedded target for which there is no interest in building the compiler. 

Would like to have a switch to configure script, e.g. --libonly, which then
doesn't check for availability of protobuf compiler etc.

What version of the product are you using? On what operating system?
libprotobuf-c-0.11 on Fedora core 10 host system. Target is OpenWRT which
runs on several embedded systems.

Please provide any additional information below.
A patch for configure, which solves the problem in a haphazardly way, is
attached. Not the correct solution I'm afraid. I'm not autoconf-proficient
enough to provide the correct solution...

Original issue reported on code.google.com by fatbob.s...@gmail.com on 7 Jan 2010 at 8:39

Attachments:

GoogleCodeExporter commented 8 years ago
In subversion (headed for protobuf-c 0.13) I added a configure option 
--disable-protoc 
which does what you want. (hopefully)

Original comment by lahike...@gmail.com on 5 Feb 2010 at 12:33

GoogleCodeExporter commented 8 years ago
Great! I did a quick test and it seems to work as intended. Thanks!

Original comment by fatbob.s...@gmail.com on 8 Feb 2010 at 7:52

GoogleCodeExporter commented 8 years ago

Original comment by lahike...@gmail.com on 18 Mar 2010 at 2:44