dryman / opic

Fast serialization framework for C
GNU Lesser General Public License v3.0
225 stars 21 forks source link

std detection in CFLAGS #30

Closed dryman closed 7 years ago

dryman commented 7 years ago

We should set std=gnu11 by default. But if user want to opt-in other c dialect it should be an option. Environment variables CSTD and CXXSTD should do.

Or should we just use standard CFLAGS and CXXFLAGS?

Or write our own AC_PROG_C11...